CN114374813A - Multimedia resource management method, recorder and server - Google Patents

Multimedia resource management method, recorder and server Download PDF

Info

Publication number
CN114374813A
CN114374813A CN202111521138.2A CN202111521138A CN114374813A CN 114374813 A CN114374813 A CN 114374813A CN 202111521138 A CN202111521138 A CN 202111521138A CN 114374813 A CN114374813 A CN 114374813A
Authority
CN
China
Prior art keywords
recording
multimedia resource
target scene
recorder
multimedia
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111521138.2A
Other languages
Chinese (zh)
Other versions
CN114374813B (en
Inventor
顾杨
张博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202111521138.2A priority Critical patent/CN114374813B/en
Publication of CN114374813A publication Critical patent/CN114374813A/en
Application granted granted Critical
Publication of CN114374813B publication Critical patent/CN114374813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/432Query formulation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/45Clustering; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The application relates to the technical field of information processing, and discloses a multimedia resource management method, a recorder and a server, which are used for solving the problems of rough management and low management efficiency of multimedia resources recorded by the recorder in the related technology. In the method, a plurality of scene identifiers are displayed by a recorder; then responding to the selection operation of a target scene identifier in the scene identifiers, and performing associated storage on the target scene identifier and the corresponding multimedia resource; and carrying the target scene identification, the multimedia resource, and the starting recording time and the ending recording time of the multimedia resource in a file uploading request and sending the file uploading request to a server. Therefore, when the user uses the recorder, the user can directly select the target scene identification to record the multimedia information, and the target scene identification and the corresponding multimedia resource are stored in an associated manner, so that the recorder can actively divide the multimedia information more accurately, and the subsequent accurate query of the multimedia information is facilitated.

Description

多媒体资源管理方法、记录仪及服务器Multimedia resource management method, recorder and server

技术领域technical field

本申请涉及信息处理技术领域,尤其涉及一种多媒体资源管理方法、记录仪及服务器。The present application relates to the technical field of information processing, and in particular, to a multimedia resource management method, a recorder and a server.

背景技术Background technique

记录仪是一种具有同步录音录像功能的便携式设备,能够自动记录各类事件。A recorder is a portable device with synchronous audio and video recording capabilities that can automatically record various events.

记录仪在使用中会记录大量的视频和照片等数据资源,这些数据资源的数据时长及信息量巨大,导致后续整理这些数据的难度很大。现有技术中,记录仪的数据维护可以根据时间点自动标记和管理数据资源,但是存在管理数据资源粗糙、管理效率低下的问题。The recorder will record a large number of data resources such as videos and photos during use. The data time and amount of information of these data resources are huge, which makes it very difficult to organize these data later. In the prior art, the data maintenance of the recorder can automatically mark and manage data resources according to time points, but there are problems of rough management of data resources and low management efficiency.

发明内容SUMMARY OF THE INVENTION

本申请的目的是提供一种多媒体资源管理方法、记录仪及服务器,用以解决现有技术中,记录仪根据时间点自动标记和管理数据资源,可能存在管理数据资源粗糙、管理效率低下的问题。The purpose of this application is to provide a multimedia resource management method, a recorder and a server to solve the problems in the prior art that the recorder automatically marks and manages data resources according to time points, which may have rough management data resources and low management efficiency. .

第一方面,本申请提供一种多媒体资源管理方法,应用于记录仪,所述方法包括:In a first aspect, the present application provides a multimedia resource management method, which is applied to a recorder, and the method includes:

展示多个场景标识;Display multiple scene identifiers;

响应于对所述多个场景标识中目标场景标识的选择操作,将所述目标场景标识和对应的多媒体资源进行关联存储;In response to the selection operation of the target scene identifier in the plurality of scene identifiers, the target scene identifier and the corresponding multimedia resource are associated and stored;

将所述目标场景标识、所述多媒体资源、所述多媒体资源的开始录制时间和结束录制时间携带在文件上传请求中发送给服务器。The target scene identifier, the multimedia resource, the start recording time and the end recording time of the multimedia resource are carried in the file upload request and sent to the server.

在一种可能的实施方式中,所述展示多个场景标识之前,所述方法还包括:In a possible implementation manner, before the displaying of the plurality of scene identifiers, the method further includes:

向服务器发送登录请求,所述登录请求中包括用户的登录信息;Send a login request to the server, where the login request includes the user's login information;

响应所述服务器对所述登录信息的验证通过结果,获取所述服务器发送的所述多个场景标识。The plurality of scene identifiers sent by the server are acquired in response to the successful result of the verification of the login information by the server.

在一种可能的实施方式中,所述响应于对所述多个场景标识中目标场景标识的选择操作,将所述目标场景标识和对应的多媒体资源进行关联存储,具体包括:In a possible implementation manner, in response to the selection operation of the target scene identifier among the plurality of scene identifiers, the target scene identifier and the corresponding multimedia resource are stored in association, specifically including:

响应于对多个场景标识中目标场景标识的选择操作,记录当前对目标场景标识的选择操作的开始时间以及所述目标场景标识对应的关键字;In response to the selection operation of the target scene identification among the plurality of scene identifications, recording the current start time of the selection operation for the target scene identification and the keyword corresponding to the target scene identification;

将所述用户的登录信息、所述当前对目标场景标识的选择操作的开始时间以及所述目标场景标识对应的关键字作为录制的多媒体资源的描述信息,生成含有所述描述信息的第一文件;Using the login information of the user, the start time of the current selection operation on the target scene identifier, and the keyword corresponding to the target scene identifier as the description information of the recorded multimedia resource, a first file containing the description information is generated. ;

将所述第一文件和所述多媒体资源关联存储。The first file is stored in association with the multimedia resource.

在一种可能的实施方式中,所述方法还包括:In a possible implementation, the method further includes:

响应于对所述目标场景标识的选择操作,启动录制功能以采集所述多媒体资源的图像数据并进行保存;In response to the selection operation of the target scene identifier, start a recording function to collect image data of the multimedia resource and save it;

响应于暂停录制的操作,将采集的图像数据进行预览并停止保存采集的图像数据。In response to the operation of pausing the recording, the acquired image data is previewed and the saving of the acquired image data is stopped.

在一种可能的实施方式中,所述将采集的图像数据进行预览并停止保存采集的图像数据之后,所述方法还包括:In a possible implementation manner, after previewing the collected image data and stopping saving the collected image data, the method further includes:

响应于开始录制的操作,记录当前录制的开始时间以及所述目标场景标识对应的关键字;In response to the operation of starting the recording, record the start time of the current recording and the keyword corresponding to the target scene identifier;

将所述用户的登录信息、所述录制的开始时间以及所述目标场景标识对应的关键字作为录制的多媒体资源的描述信息,生成含有所述描述信息的第二文件;Using the login information of the user, the start time of the recording and the keyword corresponding to the target scene identifier as the description information of the recorded multimedia resource, a second file containing the description information is generated;

将所述第二文件和所述多媒体资源关联存储。The second file is stored in association with the multimedia resource.

在一种可能的实施方式中,保存采集的所述多媒体资源的图像数据,具体包括:In a possible implementation manner, saving the collected image data of the multimedia resource specifically includes:

将采集的所述多媒体资源的图像数据分段存储。The collected image data of the multimedia resource is stored in segments.

在一种可能的实施方式中,所述方法还包括:In a possible implementation, the method further includes:

在录制所述多媒体资源的过程中,基于停止录制并切换到拍照功能的用户操作,显示拍照功能界面,并响应于拍照指示获取进行拍照获得图像;或者,In the process of recording the multimedia resource, based on the user operation of stopping recording and switching to the photographing function, the photographing function interface is displayed, and the photographing is performed in response to the photographing instruction to obtain the image; or,

在录制所述多媒体资源的过程中,响应截图指示进行截图操作获得图像;In the process of recording the multimedia resource, performing a screenshot operation in response to the screenshot instruction to obtain an image;

将所述目标场景标识和所述图像关联存储;storing the target scene identifier and the image in association;

将所述图像和所述目标场景标识发送给所述服务器。The image and the target scene identification are sent to the server.

在一种可能的实施方式中,所述方法还包括:In a possible implementation, the method further includes:

发送查询请求给所述服务器,所述查询请求中包括查询条件,所述查询条件中包括场景标识对应的关键字、录制的开始时间和录制的结束时间中的至少一种信息;Sending a query request to the server, where the query request includes query conditions, and the query conditions include at least one of the keywords corresponding to the scene identifier, the start time of recording, and the end time of recording;

接收所述服务器针对所述查询条件返回的多媒体资源并展示。Receive and display the multimedia resource returned by the server in response to the query condition.

第二方面,本申请提供了一种多媒体资源管理方法,应用于服务器,所述方法包括:In a second aspect, the present application provides a multimedia resource management method, which is applied to a server, and the method includes:

接收记录仪发送的文件上传请求,所述文件上传请求中包括目标场景标识对应的关键字、所述多媒体资源、所述多媒体资源录制的开始时间和录制的结束时间;Receive a file upload request sent by the recorder, where the file upload request includes a keyword corresponding to the target scene identifier, the multimedia resource, the start time of the multimedia resource recording, and the end time of the recording;

将所述目标场景标识、所述多媒体资源、所述多媒体资源录制的开始时间和录制的结束时间进行关联存储。The target scene identifier, the multimedia resource, the start time of recording of the multimedia resource, and the end time of recording are stored in association.

在一种可能的实施方式中,所述方法包括:In a possible implementation, the method includes:

接收终端设备发送的查询请求,所述查询请求中包括查询条件,所述查询条件中包括场景标识对应的关键字、录制的开始时间和录制的结束时间中的至少一种信息;Receive a query request sent by the terminal device, where the query request includes query conditions, and the query conditions include at least one of the keywords corresponding to the scene identifier, the start time of recording, and the end time of recording;

基于所述查询条件对存储的多媒体资源集合进行查询,并将查询结果发送给所述终端设备。Query the stored multimedia resource set based on the query condition, and send the query result to the terminal device.

第三方面,本申请提供了一种记录仪,包括:In a third aspect, the present application provides a recorder, including:

摄像头、显示器、处理器和存储器;cameras, displays, processors and memory;

所述摄像头,用于采集多媒体资源数据;The camera is used to collect multimedia resource data;

所述显示器,用于显示屏幕显示区域;the display is used to display the screen display area;

所述存储器,用于存储所述处理器可执行指令;the memory for storing the processor-executable instructions;

所述处理器被配置为执行所述指令,以实现如上述第一方面中任一项所述的多媒体资源管理方法。The processor is configured to execute the instructions to implement the multimedia resource management method according to any one of the above first aspects.

第四方面,本申请提供了一种服务器,包括:In a fourth aspect, the present application provides a server, including:

处理器;processor;

用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;

其中,所述处理器被配置为执行所述指令,以实现如上述第二方面中任一项所述的多媒体资源管理方法。Wherein, the processor is configured to execute the instructions to implement the multimedia resource management method according to any one of the second aspect above.

第五方面,本申请提供一种计算机可读存储介质,当所述计算机可读存储介质中的指令由记录仪或服务器执行时,使得所述记录仪或所述服务器能够执行如上述第一方面或第二方面中任一项所述的多媒体资源管理方法。In a fifth aspect, the present application provides a computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by a recorder or a server, the recorder or the server can perform the above-mentioned first aspect or the multimedia resource management method according to any one of the second aspects.

第六方面,本申请提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述第一方面或第二方面中任一项所述的多媒体资源管理方法。In a sixth aspect, the present application provides a computer program product, including a computer program, which implements the multimedia resource management method according to any one of the first aspect or the second aspect when the computer program is executed by a processor.

本申请实施例提供的方法应用于记录仪,展示多个场景标识;响应于对所述多个场景标识中目标场景标识的选择操作,将所述目标场景标识和对应的多媒体资源进行关联存储;将所述目标场景标识、所述多媒体资源、所述多媒体资源的开始录制时间和结束录制时间携带在文件上传请求中发送给服务器,从而使得记录仪可以拥有划分多媒体信息的主动权,用户使用记录仪时可以直接选择目标场景标识录制多媒体信息,能够结合记录场景对多媒体资源的管理,提高对多媒体资源的管理效率。The method provided by the embodiment of the present application is applied to a recorder to display a plurality of scene identifiers; in response to a selection operation of a target scene identifier among the plurality of scene identifiers, the target scene identifier and the corresponding multimedia resource are stored in association; The target scene identifier, the multimedia resource, the start recording time and the end recording time of the multimedia resource are carried in the file upload request and sent to the server, so that the recorder can have the initiative to divide the multimedia information, and the user uses the record. The instrument can directly select the target scene identifier to record multimedia information, which can combine the recording scene to manage the multimedia resources and improve the management efficiency of the multimedia resources.

通过本申请实施例提供的方法,记录仪也可以在录制另一多媒体信息时直接退出当前场景标识下多媒体信息的录制,选择对应的场景标识录制多媒体信息,以此实现记录仪对多媒体信息的主动划分以及将所述目标场景标识和对应的多媒体资源进行关联存储使得多媒体信息划分的更加准确,也便于后续对于多媒体信息的准确查询。从而提供了一种基于应用场景的多媒体资源管理方式,可提高管理效率。With the method provided in the embodiment of the present application, the recorder can also directly exit the recording of multimedia information under the current scene identifier when recording another multimedia information, and select the corresponding scene identifier to record the multimedia information, so as to realize the active recording of the multimedia information by the recorder. The division and the associated storage of the target scene identifier and the corresponding multimedia resource makes the division of the multimedia information more accurate, and facilitates subsequent accurate query of the multimedia information. Thus, a multimedia resource management method based on an application scenario is provided, which can improve management efficiency.

本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description, claims, and drawings.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单地介绍,显而易见地,下面所介绍的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the drawings that need to be used in the embodiments of the present application. Obviously, the drawings introduced below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1为本申请实施例提供的一种记录仪的结构示意图;1 is a schematic structural diagram of a recorder according to an embodiment of the present application;

图2为本申请实施例提供的记录仪的软件结构框图;2 is a block diagram of a software structure of a recorder provided by an embodiment of the present application;

图3为本申请实施例提供的多媒体资源管理方法的应用场景示意图;3 is a schematic diagram of an application scenario of the multimedia resource management method provided by the embodiment of the present application;

图4为本申请实施例提供的一种多媒体资源管理方法的流程示意图;4 is a schematic flowchart of a multimedia resource management method provided by an embodiment of the present application;

图5A为本申请实施例提供的多个场景标识的界面示意图;5A is a schematic interface diagram of multiple scene identifiers provided by an embodiment of the present application;

图5B为本申请实施例提供的生成文件的示意图;5B is a schematic diagram of a generated file provided by an embodiment of the present application;

图5C为本申请实施例提供的字段内容变化的示意图;5C is a schematic diagram of field content changes provided by an embodiment of the present application;

图5D为本申请实施例提供的退出目标场景标识的界面示意图;5D is a schematic interface diagram of an exit target scene identification provided by an embodiment of the present application;

图5E为本申请实施例提供的一条完整的数据链的示意图;FIG. 5E is a schematic diagram of a complete data chain provided by an embodiment of the present application;

图5F为本申请实施例提供的拍照采集多媒体资源的示意图;FIG. 5F is a schematic diagram of collecting multimedia resources by photographing according to an embodiment of the present application;

图5G为本申请实施例提供的截图采集多媒体资源的示意图;FIG. 5G is a schematic diagram of capturing multimedia resources with screenshots provided by an embodiment of the present application;

图5H为本申请实施例提供的分段存储多媒体资源的示意图;5H is a schematic diagram of segmented storage multimedia resources provided by an embodiment of the present application;

图6为本申请实施例提供的文件自动上传的流程示意图;6 is a schematic flowchart of automatic file uploading according to an embodiment of the present application;

图7为本申请实施例提供的记录仪录制多媒体资源的流程示意图;7 is a schematic flowchart of a recorder recording multimedia resources provided by an embodiment of the present application;

图8A为本申请实施例提供的将多个文件展示给用户的示意图;8A is a schematic diagram of displaying multiple files to a user according to an embodiment of the present application;

图8B为本申请实施例提供的一种服务器的结构示意图。FIG. 8B is a schematic structural diagram of a server according to an embodiment of the present application.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。其中,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application. The described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

并且,在本申请实施例的描述中,除非另有说明,″/″表示或的意思,例如,A/B可以表示A或B;文本中的″和/或″仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,另外,在本申请实施例的描述中,″多个″是指两个或多于两个。In addition, in the description of the embodiments of the present application, unless otherwise specified, "/" means or means, for example, A/B can mean A or B; "and/or" in the text is only a description of the associated object The association relationship indicates that there can be three kinds of relationships, for example, A and/or B can indicate that A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of this application , "plurality" means two or more.

以下,术语″第一″、″第二″仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有″第一″、″第二″、的特征可以明示或者隐含地包括一个或者更多个特征,在本申请实施例的描述中,除非另有说明,″多个″的含义是两个或两个以上。Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as implying or implying relative importance or implying the number of indicated technical features. Therefore, the features defined as "first", "second", may expressly or implicitly include one or more features, and in the description of the embodiments of the present application, unless otherwise specified, "multiple" The meaning is two or more.

记录仪是一种具有同步录音录像功能的便携式设备,能够自动记录各类事件。A recorder is a portable device with synchronous audio and video recording capabilities that can automatically record various events.

记录仪在使用中会记录大量的视频和照片等数据资源,这些数据资源的数据时长及信息量巨大,导致后续整理这些数据的难度很大。现有技术中,记录仪的数据维护可以根据时间点自动标记和管理数据资源,但是存在管理数据资源粗糙、管理效率低下的问题。The recorder will record a large number of data resources such as videos and photos during use. The data time and amount of information of these data resources are huge, which makes it very difficult to organize these data later. In the prior art, the data maintenance of the recorder can automatically mark and manage data resources according to time points, but there are problems of rough management of data resources and low management efficiency.

有鉴于此,本申请实施例提供了一种多媒体资源管理方法、记录仪及服务器,用以解决现有技术中,记录仪根据时间点自动标记和管理数据资源,可能存在管理数据资源粗糙、管理效率低下的问题。下面将结合实施例对本申请提供的多媒体资源管理方法进行介绍。In view of this, the embodiments of the present application provide a multimedia resource management method, a recorder, and a server to solve the problem that in the prior art, the recorder automatically marks and manages data resources according to time points, and there may be rough management of data resources and management of data resources. problem of inefficiency. The multimedia resource management method provided by the present application will be introduced below with reference to the embodiments.

本申请的发明构思可概括为:记录仪可以展示多个场景标识;并响应于对所述多个场景标识中目标场景标识的选择操作,将所述目标场景标识和对应的多媒体资源进行关联存储;进一步的,可将所述目标场景标识、所述多媒体资源、所述多媒体资源的开始录制时间和结束录制时间携带在文件上传请求中发送给服务器。由此,本申请中记录仪可以拥有划分多媒体信息的主动权,使得用户使用记录仪时可以直接选择目标场景标识录制多媒体信息,也可以在录制另一多媒体信息时直接退出当前场景标识下多媒体信息的录制,选择对应的场景标识录制多媒体信息,以此实现记录仪对多媒体信息的主动划分以及将所述目标场景标识和对应的多媒体资源进行关联存储使得多媒体信息划分的更加准确,也便于后续对于多媒体信息的准确查询,进而提高多媒体资源的管理效率。The inventive concept of the present application can be summarized as follows: the recorder can display multiple scene identifiers; and in response to the selection operation of the target scene identifier among the multiple scene identifiers, the target scene identifier and the corresponding multimedia resources are stored in association with each other. ; Further, the target scene identifier, the multimedia resource, the start recording time and the end recording time of the multimedia resource can be carried in the file upload request and sent to the server. Thus, in the present application, the recorder can have the initiative to divide the multimedia information, so that the user can directly select the target scene identifier to record the multimedia information when using the recorder, and can also directly exit the multimedia information under the current scene identifier when recording another multimedia information. Select the corresponding scene identifier to record the multimedia information, so as to realize the active division of the multimedia information by the recorder and the associated storage of the target scene identifier and the corresponding multimedia resources, so that the multimedia information can be divided more accurately, and it is also convenient for subsequent Accurate query of multimedia information, thereby improving the management efficiency of multimedia resources.

在介绍完本申请的发明构思之后,下面先对本申请提供的记录仪进行说明。图1示出了一种记录仪100的结构示意图。应该理解的是,图1所示记录仪100仅是一个范例,并且记录仪100可以具有比图1中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。After introducing the inventive concept of the present application, the recorder provided by the present application will be described below. FIG. 1 shows a schematic structural diagram of a recorder 100 . It should be understood that the recorder 100 shown in FIG. 1 is merely an example, and the recorder 100 may have more or fewer components than those shown in FIG. 1, two or more components may be combined, or Different component configurations are possible. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.

图1中示例性示出了根据示例性实施例中记录仪100的硬件配置框图。如图1所示,记录仪100包括:射频(radio frequency,RF)电路110、存储器120、显示单元130、摄像头140、传感器150、音频电路160、无线保真(Wireless Fidelity,Wi-Fi)模块170、处理器180、蓝牙模块181、以及电源190等部件。FIG. 1 exemplarily shows a hardware configuration block diagram of the recorder 100 according to the exemplary embodiment. As shown in FIG. 1 , the recorder 100 includes: a radio frequency (RF) circuit 110 , a memory 120 , a display unit 130 , a camera 140 , a sensor 150 , an audio circuit 160 , and a Wireless Fidelity (Wi-Fi) module 170 , the processor 180 , the Bluetooth module 181 , and the power supply 190 and other components.

RF电路110可用于在收发多媒体信息过程中信号的接收和发送,可以接收基站的下行数据后交给处理器180处理;可以将上行数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等器件。The RF circuit 110 can be used for signal reception and transmission in the process of sending and receiving multimedia information, can receive downlink data from the base station and then hand it over to the processor 180 for processing; and can send uplink data to the base station. Typically, RF circuits include, but are not limited to, antennas, at least one amplifier, transceivers, couplers, low noise amplifiers, duplexers, and the like.

存储器120可用于存储软件程序及数据。处理器180通过运行存储在存储器120的软件程序或数据,从而执行记录仪100的各种功能以及数据处理。存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。存储器120存储有使得记录仪100能运行的操作系统。本申请中存储器120可以存储操作系统及各种应用程序,还可以存储执行本申请实施例所述多媒体资源管理方法的程序代码。Memory 120 may be used to store software programs and data. The processor 180 executes various functions of the recorder 100 and data processing by executing software programs or data stored in the memory 120 . Memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 120 stores an operating system that enables the recorder 100 to operate. In this application, the memory 120 may store an operating system and various application programs, and may also store program codes for executing the multimedia resource management methods described in the embodiments of this application.

显示单元130可用于接收输入的数字或字符等多媒体信息,产生与记录仪100的用户设置以及功能控制有关的信号输入,具体地,显示单元130可以包括设置在记录仪100正面的触摸屏131。The display unit 130 can be used to receive input multimedia information such as numbers or characters, and generate signal input related to user settings and function control of the recorder 100 .

显示单元130还可用于显示由用户输入的信息或提供给用户的信息以及记录仪100的各种菜单的图形用户界面(graphical user interface,GUI)。具体地,显示单元130可以包括设置在记录仪100正面的显示屏132。其中,显示屏132可以采用液晶显示器、发光二极管等形式来配置。显示单元130可以用于显示本申请中记录仪的屏幕显示界面的多个场景标识,对采集的多媒体数据进行预览。The display unit 130 may also be used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the recorder 100 . Specifically, the display unit 130 may include a display screen 132 disposed on the front of the recorder 100 . The display screen 132 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 can be used to display multiple scene identifiers of the screen display interface of the recorder in the present application, and preview the collected multimedia data.

其中,触摸屏131可以覆盖在显示屏132之上,也可以将触摸屏131与显示屏132集成而实现记录仪100的输入和输出功能,集成后可以简称触摸显示屏。本申请中显示单元130可以显示应用程序以及对应的操作步骤。The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to realize the input and output functions of the recorder 100, which may be referred to as touch screen after integration. In this application, the display unit 130 can display application programs and corresponding operation steps.

摄像头140可用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给处理器180转换成数字图像信号。Camera 140 may be used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the processor 180 for conversion into a digital image signal.

记录仪100还可以包括至少一种传感器150,比如加速度传感器151、距离传感器152、指纹传感器153、温度传感器154。记录仪100还可配置有陀螺仪、气压计、湿度计、温度计、红外线传感器、光传感器、运动传感器等其他传感器。The recorder 100 may further include at least one sensor 150 , such as an acceleration sensor 151 , a distance sensor 152 , a fingerprint sensor 153 , and a temperature sensor 154 . The recorder 100 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a light sensor, a motion sensor, and the like.

音频电路160、扬声器161、麦克风162可提供用户与记录仪100之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出。记录仪100还可配置音量按钮,用于调节声音信号的音量,还可以用于组合其他按钮执行相应的操作。另一方面,麦克风162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出至RF电路110以发送给比如另一记录仪,或者将音频数据输出至存储器120以便进一步处理。Audio circuitry 160 , speaker 161 , and microphone 162 may provide an audio interface between the user and recorder 100 . The audio circuit 160 can transmit the electrical signal converted from the received audio data to the speaker 161, and the speaker 161 converts it into a sound signal and outputs it. The recorder 100 can also be configured with volume buttons for adjusting the volume of the sound signal, and can also be used in combination with other buttons to perform corresponding operations. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then outputs the audio data to the RF circuit 110 for transmission to, for example, another recorder, or outputs the audio data to memory 120 for further processing.

Wi-Fi属于短距离无线传输技术,记录仪100可以通过Wi-Fi模块170帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。Wi-Fi is a short-distance wireless transmission technology, and the recorder 100 can help users to send and receive emails, browse web pages, access streaming media, etc. through the Wi-Fi module 170, which provides users with wireless broadband Internet access.

处理器180是记录仪100的控制中心,利用各种接口和线路连接整个记录仪的各个部分,通过运行或执行存储在存储器120内的软件程序,以及调用存储在存储器120内的数据,执行记录仪100的各种功能和处理数据。在一些实施例中,处理器180可包括一个或多个处理单元;处理器180还可以集成应用处理器和基带处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,基带处理器主要处理无线通信。可以理解的是,上述基带处理器也可以不集成到处理器180中。本申请中处理器180可以运行操作系统、应用程序、用户界面显示及触控响应,以及本申请实施例所述的多媒体资源管理方法。另外,处理器180与显示单元130耦接。The processor 180 is the control center of the recorder 100, uses various interfaces and lines to connect various parts of the entire recorder, and executes recording by running or executing the software programs stored in the memory 120 and calling the data stored in the memory 120. Various functions of the meter 100 and processing data. In some embodiments, the processor 180 may include one or more processing units; the processor 180 may also integrate an application processor and a baseband processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the baseband The processor mainly handles wireless communication. It can be understood that, the above-mentioned baseband processor may not be integrated into the processor 180 . In this application, the processor 180 may run an operating system, an application program, user interface display and touch response, and the multimedia resource management method described in the embodiments of this application. In addition, the processor 180 is coupled to the display unit 130 .

蓝牙模块181,用于通过蓝牙协议来与其他具有蓝牙模块的蓝牙设备进行信息交互。例如,记录仪100可以通过蓝牙模块181与同样具备蓝牙模块的可穿戴电子设备(例如智能手表)建立蓝牙连接,从而进行数据交互。The bluetooth module 181 is used to exchange information with other bluetooth devices having bluetooth modules through the bluetooth protocol. For example, the recorder 100 can establish a Bluetooth connection with a wearable electronic device (such as a smart watch) that also has a Bluetooth module through the Bluetooth module 181, so as to perform data interaction.

记录仪100还包括给各个部件供电的电源190(比如电池)。电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电以及功耗等功能。记录仪100还可配置有电源按钮,用于记录仪的开机和关机,以及锁屏等功能。The recorder 100 also includes a power source 190 (eg, a battery) for powering the various components. The power supply can be logically connected to the processor 180 through a power management system, so that functions such as managing charging, discharging, and power consumption are implemented through the power management system. The recorder 100 can also be configured with a power button, which is used to turn on and off the recorder, and lock the screen and other functions.

图2是本申请实施例的记录仪100的软件结构框图。FIG. 2 is a block diagram of the software structure of the recorder 100 according to the embodiment of the present application.

分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,可将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system can be divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and system libraries, and a kernel layer.

应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.

如图2所示,应用程序包可以包括摄像机,图库,日历,通话,地图,导航,WLAN,蓝牙,视频,录音等应用程序。As shown in Figure 2, the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, video, recording, etc.

应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for the applications of the application layer. The application framework layer includes some predefined functions.

如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 2, the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.

窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.

内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿、短信息等。Content providers are used to store and retrieve data and make these data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, short messages, and the like.

视图系统包括可视控件,例如摄像机的用户界面,该用户界面可包括显示文字的控件,显示图片的控件、选择场景标识的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信息通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图、选择场景标识的视图。The view system includes visual controls, such as a user interface of a camera, which may include controls for displaying text, controls for displaying pictures, controls for selecting scene identifiers, and the like. View systems can be used to build applications. A display interface can consist of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text, a view for displaying pictures, and a view for selecting scene identifiers.

网络管理器用于提供记录仪100的通信功能,以及提供网络(包括数据和Wifi)的连接状态和传输接口,例如判断网络是否可用以及通过传输接口接收和发送数据包等。The network manager is used to provide the communication function of the recorder 100, as well as the connection status and transmission interface of the network (including data and Wifi), such as judging whether the network is available and receiving and sending data packets through the transmission interface.

资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等。The resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files, etc.

通知管理器使应用程序可以在状态栏中显示通知信息(例如短信息的消息摘要,消息内容、场景标识有更新的通知),可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,记录仪振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar (such as the message summary of the short message, the message content, the notification with the update of the scene ID), which can be used to convey the notification type message, and can disappear automatically after a short stay, without the need for User interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the recorder vibrates, and the indicator light flashes.

Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.

应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.

系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL) and so on.

表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.

媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

2D(一种动画方式)图形引擎是2D绘图的绘图引擎。A 2D (a way of animation) graphics engine is a drawing engine for 2D drawing.

内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.

在介绍完本申请实施例的记录仪之后,下面对本申请实施例的技术方案能够适用的应用场景做一些简单介绍,需要说明的是,以下介绍的应用场景仅用于说明本申请实施例而非限定。在具体实施时,可以根据实际需要灵活地应用本申请实施例提供的技术方案。After introducing the recorder of the embodiments of the present application, the following briefly introduces some application scenarios to which the technical solutions of the embodiments of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and not limited. During specific implementation, the technical solutions provided by the embodiments of the present application may be flexibly applied according to actual needs.

参考图3,其为本申请实施例提供的多媒体资源管理方法的应用场景示意图。该应用场景包括记录仪100、服务器101。Referring to FIG. 3 , it is a schematic diagram of an application scenario of the multimedia resource management method provided by the embodiment of the present application. The application scenario includes the recorder 100 and the server 101 .

其中,记录仪100、服务器101之间通过无线或有线网络连接,服务器101提供场景标识给记录仪100展示。The recorder 100 and the server 101 are connected through a wireless or wired network, and the server 101 provides a scene identifier for the recorder 100 to display.

其中,本申请实施例中服务器101可以是一台服务器、若干台服务器组成的服务器集群或云计算中心。服务器101可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、以及大数据和人工智能平台等基础云计算服务的云服务器。The server 101 in this embodiment of the present application may be a server, a server cluster composed of several servers, or a cloud computing center. The server 101 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or may provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, Cloud servers for basic cloud computing services such as middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

当然,本申请实施例提供的方法并不限于图3所示的应用场景,还可以用于其它可能的应用场景,本申请实施例并不进行限制。对于图3所示的应用场景的各个设备所能实现的功能将在后续的方法实施例中一并进行描述,在此先不过多赘述。Of course, the method provided by the embodiment of the present application is not limited to the application scenario shown in FIG. 3 , and can also be used in other possible application scenarios, which is not limited by the embodiment of the present application. The functions that can be implemented by each device in the application scenario shown in FIG. 3 will be described together in the subsequent method embodiments, which will not be repeated here.

为了便于理解本申请实施例提供的多媒体资源管理方法,下面结合附图对此进行进一步说明。In order to facilitate understanding of the multimedia resource management method provided by the embodiments of the present application, this is further described below with reference to the accompanying drawings.

图4为本申请实施例提供的一种多媒体资源管理方法的流程示意图。如图4所示,该方法应用于记录仪,具体包括以下步骤:FIG. 4 is a schematic flowchart of a multimedia resource management method provided by an embodiment of the present application. As shown in Figure 4, the method is applied to the recorder, and specifically includes the following steps:

在步骤401中,展示多个场景标识。In step 401, multiple scene identifiers are displayed.

在一种可能的实施方式中,服务器具备账户管理功能,因此为了保证记录仪的信息安全以及确定登录用户的使用权限,本申请中用户使用记录仪时,可通过网络和服务器通信,使用登录信息登录记录仪。因此在所述展示多个场景标识之前,本申请中记录仪可向服务器发送登录请求,所述登录请求中包括用户的登录信息;同时响应所述服务器对所述登录信息的验证通过结果,获取所述服务器发送的所述多个场景标识。In a possible implementation, the server has an account management function, so in order to ensure the information security of the recorder and determine the use authority of the logged-in user, in this application, when the user uses the recorder, he can communicate with the server through the network and use the login information Log in to the recorder. Therefore, before the multiple scene identifiers are displayed, the recorder in this application can send a login request to the server, and the login request includes the user's login information; the plurality of scene identifiers sent by the server.

由此服务器可以根据登录请求中的用户登录信息验证使用记录仪的用户信息的正确性以及登录记录仪的用户的使用权限,从而根据验证通过的结果,下发登录记录仪的用户能够使用的多个场景标识,并可以如图5A所示,展示在记录仪的界面中供用户选择。可以保证记录仪的信息安全,避免不法用户登录带来的信息安全问题。例如,图5A中的默认场景为违法场景,例如包括:场景1为车祸,场景2为闯红灯,场景3为酒驾、场景4为逆行、场景5为打架、场景6为无证驾驶、场景7为走访、场景8为检查站检查。也可以根据实际使用情况进行更加细致划分,或根据实际情况设置其余场景,本申请实施例对此不做限制。In this way, the server can verify the correctness of the user information using the recorder and the use authority of the user who logs in the recorder according to the user login information in the login request, so that according to the verification result, the user who logs in the recorder can use more A scene identifier can be displayed on the interface of the recorder for the user to select, as shown in FIG. 5A . It can ensure the information security of the recorder and avoid the information security problems caused by illegal user login. For example, the default scene in FIG. 5A is an illegal scene, for example including: scene 1 is a car accident, scene 2 is running a red light, scene 3 is drunk driving, scene 4 is retrograde, scene 5 is fighting, scene 6 is driving without a license, and scene 7 is Visit, scene 8 is a checkpoint inspection. It is also possible to perform more detailed division according to the actual usage situation, or set other scenarios according to the actual situation, which is not limited in this embodiment of the present application.

在另一个实施例中,记录仪也可以本地存储多个场景标识,然后定期和服务器同步场景标识,以便于场景标识更新时可用。更新的时机也可以是用户选择某个场景标识时,和服务器的场景标识版本比对,如果需要更新时,使用服务器的场景标识版本进行更新。In another embodiment, the recorder may also store multiple scene identifiers locally, and then periodically synchronize the scene identifiers with the server so that the scene identifiers are available when the scene identifiers are updated. The update timing can also be when the user selects a scene ID, compares it with the server's version of the scene ID, and uses the server's version of the scene ID to update if it needs to be updated.

在步骤402中,响应于对所述多个场景标识中目标场景标识的选择操作,将所述目标场景标识和对应的多媒体资源进行关联存储。In step 402, in response to the selection operation of the target scene identifier among the plurality of scene identifiers, the target scene identifier and the corresponding multimedia resource are associated and stored.

在一种可能的实施方式中,用户根据实际需要在图5A所示的界面中选择一个场景,选择的场景的场景标识作为目标场景标识,记录仪即可将采集的多媒体资源数据和该目标场景标识进行关联存储。由此,可实现基于场景对多个多媒体资源进行分类存储和管理。In a possible implementation, the user selects a scene in the interface shown in FIG. 5A according to actual needs, and the scene identifier of the selected scene is used as the target scene identifier, and the recorder can record the collected multimedia resource data and the target scene. Identity for associative storage. Thereby, classification, storage and management of multiple multimedia resources based on the scene can be realized.

在一些实施例中,为了进一步精细化管理多媒体数据,提高管理效率。记录仪还可以响应于对多个场景标识中目标场景标识的选择操作,记录当前对目标场景标识的选择操作的开始时间以及所述目标场景标识对应的关键字;然后将所述用户的登录信息、所述当前对目标场景标识的选择操作的开始时间以及所述目标场景标识对应的关键字作为录制的多媒体资源的描述信息,生成合有所述描述信息的第一文件;将所述第一文件和所述多媒体资源关联存储。由此,对多媒体资源的管理结合了场景类别、用户登录信息还结合了时间信息能够从多个信息维度对多媒体资源进行存储和管理。In some embodiments, in order to further refine the management of multimedia data, the management efficiency is improved. The recorder can also record the start time of the current selection operation on the target scene identifier and the keyword corresponding to the target scene identifier in response to the selection operation of the target scene identifier among the multiple scene identifiers; and then record the user's login information. , the start time of the current selection operation of the target scene identification and the keyword corresponding to the target scene identification are used as the description information of the recorded multimedia resources, and the first file containing the description information is generated; The file is stored in association with the multimedia resource. Therefore, the management of multimedia resources combines scene categories, user login information and time information, so that multimedia resources can be stored and managed from multiple information dimensions.

示例性的,如图5B所示,用户选择图5A中的场景1作为目标场景,则场景1的场景标识为目标场景标识。记录仪响应于用户对场景1的场景标识的选择之后,会生成场景1的关键字、选择场景1的时间以及用户的登录信息,并以此作为即将生成的文件的描述信息,该描述信可实施为例如文件的文件名,存放在存储器中,然后将录制好的多媒体资源作为该文件的内容,由此得到一个具有多媒体资源的文件。例如场景1为车祸,则场景1的关键字可能为CH,若用户A在17:20:30选择场景1,则此时生成文件1的文件名为CH:A:17:20:30,然后将录制的车祸视频存储在该文件中。Exemplarily, as shown in FIG. 5B , the user selects the scene 1 in FIG. 5A as the target scene, and the scene identifier of the scene 1 is the target scene identifier. After the recorder responds to the user's selection of the scene ID of the scene 1, it will generate the keyword of the scene 1, the time of selecting the scene 1 and the user's login information, and use this as the description information of the file to be generated. For example, it is implemented as the file name of the file, which is stored in the memory, and then the recorded multimedia resource is used as the content of the file, thereby obtaining a file with the multimedia resource. For example, if the scene 1 is a car accident, the keyword of the scene 1 may be CH. If user A selects the scene 1 at 17:20:30, the file name of the generated file 1 will be CH:A:17:20:30, and then Store the recorded car crash video in this file.

其中,对目标场景标识的选择操作的开始时间为用户在此目标场景标识下第一次录制的开始时间;目标场景标识对应的关键字可以根据实际情况进行设置,例如可以是目标场景标识的拼音首字母,也可以是目标场景标识的英文翻译首字母,由此可实现基于字母的模糊搜索或基于字母的简单搜索,提高后期查询多媒体资源的便捷性。具体的关键字可根据实际需求设置,只要能够标识场景标识均适用于本申请实施例,本申请对此不做限制。Wherein, the start time of the selection operation on the target scene identifier is the start time of the first recording by the user under the target scene identifier; the keyword corresponding to the target scene identifier can be set according to the actual situation, for example, it can be the pinyin of the target scene identifier The first letter can also be the first letter of the English translation of the target scene identifier, so that fuzzy search based on letters or simple search based on letters can be realized, and the convenience of querying multimedia resources in the later stage can be improved. The specific keywords may be set according to actual needs, and as long as the scene identifier can be identified, the embodiment of the present application is applicable, which is not limited in the present application.

在一种可能的实施方式中,生成含有描述信息的文件的同时可采集多媒体资源并保存在此文件中,因此在本申请中采集多媒体资源数据的时机可以是响应于对所述目标场景标识的选择操作,启动录制功能。由此开始采集的所述多媒体资源的图像数据并进行保存。In a possible implementation manner, multimedia resources can be collected and stored in the file while the file containing the description information is generated. Therefore, the timing of collecting multimedia resource data in this application may be in response to the identification of the target scene. Select Action to start the recording function. The image data of the multimedia resource is thus collected and saved.

当遇到特殊情况,可以暂时不录制时,用户可以暂停录制。同时为了便于预览,可以响应于暂停录制的操作,则将采集的图像数据进行预览但停止保存采集的图像数据。When encountering special circumstances, the user can temporarily stop recording, and the user can pause the recording. Meanwhile, in order to facilitate the preview, in response to the operation of pausing the recording, preview the collected image data but stop saving the collected image data.

由此,启动录制功能到暂停录制之间采集并保存的图像数据为对应文件下的多媒体资源。无需录制时,也可以暂停录制,仅预览但不保存数据,由此可节约处理资源和存储资源。Thus, the image data collected and saved between the start of the recording function and the pause of the recording are multimedia resources under the corresponding file. When recording is not needed, recording can also be paused to preview without saving data, thus saving processing and storage resources.

例如用户在录制的过程中可能遇到和目标场景标识所需要的多媒体资源不相关的资源时,为了节省内存,需要在目标场景标识中暂停录制,但是不退出此目标场景标识对应的场景,在重新遇到目标场景标识下的多媒体资源时在此目标场景标识中重新开始录制。保留当前选择的目标场景标识,能够避免用户再次选择场景标识的操作。本申请中因暂停录制停止保存采集的图像数据之后,还可以支持用户重新开始录制,继续采用当前的目标场景标识和重新录制的数据进行关联存储。可实施为响应于开始录制的操作,记录当前录制的开始时间以及所述目标场景标识对应的关键字;将所述用户的登录信息、所述录制的开始时间以及所述目标场景标识对应的关键字作为录制的多媒体资源的描述信息,生成含有所述描述信息的第二文件;将所述第二文件和所述多媒体资源关联存储。For example, when the user may encounter resources that are not related to the multimedia resources required by the target scene identifier during the recording process, in order to save memory, it is necessary to pause the recording in the target scene identifier, but do not exit the scene corresponding to the target scene identifier. Restart recording in the target scene ID when re-encountering the multimedia resource under the target scene ID. Retaining the currently selected target scene identifier can avoid the user's operation of selecting the scene identifier again. In this application, after stopping the saving of the collected image data due to the suspension of the recording, the user can also be supported to restart the recording, and continue to use the current target scene identifier and the re-recorded data for associated storage. It can be implemented to record the start time of the current recording and the keyword corresponding to the target scene identifier in response to the operation of starting the recording; The word is used as the description information of the recorded multimedia resource, and a second file containing the description information is generated; the second file and the multimedia resource are associated and stored.

示例性的,在图5B所示的场景1中,假设场景1为车祸,则场景1的关键字可能为CH,若用户A在17:20:30选择场景1,则此时生成文件1的文件名为CH:A:17:20:30,然后将录制的车祸视频存储在该文件1中,这样这段车祸视频的名称就是这个文件1的文件名,若用户在17:25:30时遇到和车祸不相关的资源,例如在17:25:30到17:30:30这段时间帮助老人,此时可以在17:25:30先暂停录制车祸视频,在17:30:30记录开始时间,生成文件2的文件名为CH:A:17:30:30,然后继续录制车祸视频,将录制的车祸视频存储在该文件2中,这样这段车祸视频的名称就是这个文件2的文件名CH:A:17:30:30。Exemplarily, in the scene 1 shown in FIG. 5B , assuming that the scene 1 is a car accident, the keyword of the scene 1 may be CH. If the user A selects the scene 1 at 17:20:30, the file 1 will be generated at this time. The file name is CH:A:17:20:30, and then the recorded car accident video is stored in this file 1, so that the name of this car accident video is the file name of this file 1. If the user is at 17:25:30 When encountering resources not related to car accidents, such as helping the elderly from 17:25:30 to 17:30:30, you can pause the recording of the car accident video at 17:25:30 and record it at 17:30:30 Start time, the file name of the generated file 2 is CH:A:17:30:30, and then continue to record the car accident video, and store the recorded car accident video in this file 2, so that the name of this car accident video is the name of this file 2 Filename CH:A:17:30:30.

实施时可以提供一个字段M,该字段M的字段值为当前选择的场景标识。例如图5C中用户在T1时刻选择场景标识B,则字段M的字段值为场景标识B的关键字CH1。在T1-T2时刻这个时间段内,用户不退出场景标识B的当前场景,即使暂停录制该字段M的字段值仍是当前场景标识B的CH1。无论何时录制都可以读取该字段M中的场景标识B的CH1用于合成到录制的视频中。若在T2时刻用户退出当前场景B并重新选择场景标识C时,该字段M的字段值更新为当前选择的场景标识C的关键字CH2,而后的录制都基于该场景标识C进行。当然,字段M为空时,表示用户未选择目标场景标识,可提醒用户选择目标场景标识。During implementation, a field M may be provided, and the field value of the field M is the currently selected scene identifier. For example, in FIG. 5C , the user selects the scene identifier B at time T1, and the field value of the field M is the keyword CH1 of the scene identifier B. During the time period of time T1-T2, the user does not exit the current scene of the scene identifier B, even if the recording is paused, the field value of the field M is still CH1 of the current scene identifier B. The CH1 of the scene identification B in this field M can be read whenever recording is used for compositing into the recorded video. If the user exits the current scene B and reselects the scene identifier C at time T2, the field value of the field M is updated to the keyword CH2 of the currently selected scene identifier C, and subsequent recordings are performed based on the scene identifier C. Of course, when the field M is empty, it means that the user has not selected the target scene identifier, and the user can be reminded to select the target scene identifier.

其中,一个目标场景标识下如果录制一个视频文件,会由于视频文件过长过大导致录制失败。有鉴于此,本申请中可以对一个场景标识下录制的视频文件进行分段。需要说明的是,场景标识A在选择后如果不改变的情况下录制生成的所有文件为一个场景标识的视频文件。如果重新选择场景标识B,而后又选择之前选择的同一场景标识A时,两次的场景标识A下录制的视频文件仍属于不同场景标识的视频文件。同一场景标识的视频文件包括多个文件,虽然每个文件的文件名和包含的内容不相同,但是所有的文件都是和同一目标场景标识A相关的文件。若用户在停止录制后通过如图5D中所示的返回场景按钮退出目标场景标识A,则可以认为此目标场景标识A下的录制结束,从对所述目标场景标识A的选择操作到停止录制后退出目标场景标识A的过程中生成的所有文件进行统一保存,将所有文件视为目标场景标识A的一条完整的数据链。Among them, if a video file is recorded under a target scene identifier, the recording will fail because the video file is too long and too large. In view of this, in this application, a video file recorded under a scene identifier can be segmented. It should be noted that, if the scene identifier A is not changed after selection, all files generated by recording are video files with one scene identifier. If scene identification B is re-selected, and then the same scene identification A selected before is selected, the video files recorded under the scene identification A twice still belong to video files with different scene identifications. A video file with the same scene identifier includes multiple files, and although the file name and content of each file are different, all the files are files related to the same target scene identifier A. If the user exits the target scene identification A through the back to scene button as shown in FIG. 5D after stopping the recording, it can be considered that the recording under the target scene identification A is over, from the selection operation of the target scene identification A to stopping the recording All files generated in the process of exiting the target scene identification A are stored uniformly, and all files are regarded as a complete data chain of the target scene identification A.

示例性的,在图5B所示的场景1中,假设场景1为车祸,场景1的关键字可能为CH,若在图5E中,用户A在17:20:30选择场景1,则此时生成文件1的文件名为CH:A:17:20:30,然后将录制的车祸资源存储在该文件中。这样这段车祸资源的名称就是这个文件1的文件名CH:A:17:20:30。若中间在17:30:30暂停录制之后,在17:45:30重新录制,直至17:50:30通过如图5D中所示的返回场景按钮退出场景1的录制,则此时生成文件2的文件名为CH:A:17:45:30,然后将17:45:30到17:50:30期间录制的车祸资源存储在该文件2中,这样这段车祸资源的还包括这个文件2的文件名CH:A:17:45:30,在17:50:30通过如图5D中所示的返回场景按钮退出场景1的录制后,文件名为CH:A:17:20:30的文件1和文件名为CH:A:17:45:30的文件2共同构成一个完整的数据链。Exemplarily, in the scene 1 shown in FIG. 5B , assuming that the scene 1 is a car accident, the keyword of the scene 1 may be CH. If in FIG. 5E , user A selects the scene 1 at 17:20:30, then at this time The file name of the generated file 1 is CH:A:17:20:30, and then the recorded car accident resources are stored in this file. In this way, the name of this car accident resource is the file name CH:A:17:20:30 of this file 1. If the recording is paused at 17:30:30 in the middle, the recording is re-recorded at 17:45:30 until 17:50:30, and the recording of scene 1 is exited through the back to scene button as shown in Figure 5D, then file 2 will be generated at this time. The file name is CH:A:17:45:30, and then the car accident resources recorded from 17:45:30 to 17:50:30 are stored in this file 2, so that this car accident resource also includes this file 2 The file name is CH:A:17:45:30, after exiting the recording of scene 1 through the back to scene button as shown in Figure 5D at 17:50:30, the file name is CH:A:17:20:30 File 1 and file 2 with file name CH:A:17:45:30 together constitute a complete data chain.

在一种可能的实施方式中,在录制过程中或暂停录制都有可能遇到需要拍照和截图的情况,本申请中还可以:在录制所述多媒体资源的过程中,基于停止录制并切换到拍照功能的用户操作,显示拍照功能界面,并响应于拍照指示获取进行拍照获得图像;或者,在录制所述多媒体资源的过程中,响应截图指示进行截图操作获得图像,将所述目标场景标识和所述图像关联存储;然后将所述图像和所述目标场景标识发送给服务器。其中,预览所述多媒体资源可以是暂停录制后预览,也可以是录制过程中,边录制边预览。In a possible implementation manner, during the recording process or when the recording is paused, it may be necessary to take pictures and screenshots. In this application, it is also possible to: in the process of recording the multimedia resources, based on stopping the recording and switching to The user operation of the photographing function, displaying the photographing function interface, and taking a photograph to obtain an image in response to the photographing instruction; or, in the process of recording the multimedia resource, performing a screenshot operation in response to the screenshot instruction to obtain an image, and identifying the target scene and the target scene. The image is associated with storage; and then the image and the target scene identification are sent to the server. The previewing of the multimedia resource may be previewing after pausing recording, or previewing while recording is in progress.

其中,记录仪中的功能可包括拍照功能和录制功能,拍照功能用于获取静态图像,录制功能用户录制视频。基于拍照指示采集的图像可以是对当前预览的多媒体资源截图获取的图像,也可以是暂停录制后采用拍照功能获得的图像。示例性的,图5F中选择场景1作为目标场景标识后,开始录制视频,在录制过程中若遇到一个需要拍照的画面,则可以通过图5F中左图的开始或停止录制按钮,暂停录制视频,并将录制的视频保存在文件1中,然后退出录制功能进入右图中的拍照功能界面,通过点击拍照按钮进行拍照操作,并将采集的照片保存在文件2,之后可以退出拍照功能再次进入左图中的录制视频界面,通过点击开始或停止录制按钮继续进行录制视频。Among them, the functions in the recorder may include a photographing function and a recording function, the photographing function is used to obtain a static image, and the recording function is used to record a video. The image collected based on the photographing instruction may be an image obtained by taking a screenshot of the currently previewed multimedia resource, or may be an image obtained by using the photographing function after pausing the recording. Exemplarily, after selecting scene 1 as the target scene identification in Fig. 5F, start recording video, if encountering a picture that needs to be photographed during the recording process, you can pause the recording through the start or stop recording button on the left in Fig. 5F. video, and save the recorded video in file 1, then exit the recording function and enter the camera function interface in the right picture, click the camera button to take a picture, and save the collected photos in file 2, then you can exit the camera function again. Enter the video recording interface in the left picture, and continue to record video by clicking the start or stop recording button.

在另一种实施例中,录制功能的预览界面中提供截屏控件,如选择场景1作为目标场景标识后,开始录制视频,在录制过程中若遇到一个需要拍照的画面,则可以继续录制视频,并通过图5G中右上角的截图按钮,将对录制的视频通过截图保存在文件2中,在截图期间可以继续录制视频,直至退出场景1将视频保存在文件1中。In another embodiment, a screen capture control is provided in the preview interface of the recording function. For example, after selecting scene 1 as the target scene identifier, the video recording starts. If a picture that needs to be photographed is encountered during the recording process, the video recording can be continued. , and through the screenshot button in the upper right corner of Figure 5G, the recorded video will be saved in file 2 through a screenshot. During the screenshot, you can continue to record the video until you exit scene 1 and save the video in file 1.

其中,获取截图的方式不限于图5G中的截图按钮,还可以包括手势操作、语音控制截图等,手势操作例如从上往下滑动、从左往右滑动、从下往上滑动、从右往上滑动,以及从两边向中间滑动,只要能够实现截图功能的操作均适用于本申请实施例。Among them, the method of obtaining screenshots is not limited to the screenshot button in FIG. 5G, but may also include gesture operations, voice control screenshots, etc., gesture operations such as sliding from top to bottom, sliding from left to right, sliding from bottom to top, and sliding from right to Sliding up and sliding from both sides to the middle are applicable to the embodiments of the present application as long as the screenshot function can be achieved.

其中,将场景描述和多媒体资源关联的方式可以是将场景标识的相关信息写入文件中如前文所述的文件名,然后将所述图像存储在相应的文件中,也可以是将场景标识和对应的图像的名称写入数据库表,然后根据数据库表搜索相应的场景标识的关键字对应的图像的名称,本申请实施例对进行关联存储的方式不做限制。The method of associating the scene description with the multimedia resource may be to write the relevant information of the scene identifier into the file with the file name as described above, and then store the image in the corresponding file, or it may be to combine the scene identifier and the The name of the corresponding image is written into the database table, and then the name of the image corresponding to the keyword of the corresponding scene identifier is searched according to the database table. The embodiment of the present application does not limit the manner of performing associative storage.

在一种可能的实施方式中,无论是录制视频得到的多媒体资源还是拍照得到的多媒体资源,对应文件的文件名都可以设置为以用户信息、开始时间和选择的场景标识对应的关键字命名。文件中若为录制视频得到的多媒体资源,则以视频的格式保存文件,若为拍照得到的多媒体资源,则以图片格式保存文件,这样用户可以根据文件的格式进行分类保存和查询,得到相应的视频或者照片。其中,从选择目标场景标识,到退出同一目标场景标识期间获取的所有文件(包括视频和图片)属于同一条完整的数据链。In a possible implementation, whether it is a multimedia resource obtained by recording a video or a multimedia resource obtained by taking a photo, the file name of the corresponding file can be set to be named after the keyword corresponding to the user information, the start time and the selected scene identifier. If the file is a multimedia resource obtained by recording a video, save the file in the video format; if it is a multimedia resource obtained by taking a photo, save the file in the image format, so that users can classify, save and query according to the file format, and get the corresponding video or photo. Wherein, all files (including videos and pictures) acquired during the period from selecting the target scene identification to exiting the same target scene identification belong to the same complete data chain.

在一种可能的实施方式中,为了避免录制过程中发生的网络异常或者设备异常等情况造成的大量多媒体资源的损坏,本申请中可以将采集的所述多媒体资源的图像数据分段存储。其中,将多媒体资源进行分段存储时,可实施为手动进行结束录制和开始录制,从而对录制的视频流划分视频段进行保存,也可以实施为在录制过程中设置固定的时间间隔进行自动结束录制和开始录制,从而对录制的视频流实现自动划分视频段进行保存,每次自动开始录制和结束录制之间的多媒体资源数据可以单独保存一份文件。In a possible implementation manner, in order to avoid damage to a large number of multimedia resources caused by network abnormalities or device abnormalities during the recording process, the application may store the collected image data of the multimedia resources in segments. Among them, when the multimedia resources are stored in segments, it can be implemented to manually end the recording and start the recording, so that the recorded video stream is divided into video segments and saved, or it can be implemented to automatically end the recording process by setting a fixed time interval Record and start recording, so that the recorded video stream can be automatically divided into video segments and saved. The multimedia resource data between the automatic start and end of recording each time can be saved as a separate file.

示例性的,可以设置每10分钟录制一段视频,假设在图5B所示的场景1中,若场景1为车祸,则场景1的关键字可能为CH,在图5H中,用户A在17:20:30选择场景1,则此时生成文件名为CH:A:17:20:30的文件1,10分钟后,也即在17:30:30停止录制文件1,然后将录制的车祸资源存储在该文件1中,并同时在17:30:30生成文件名为CH:A:17:30:30的文件2,并开始录制,10分钟后,也即在17:40:30停止录制,然后将录制的车祸资源存储在该文件2中,并将这样这段车祸资源的名称就是这个文件的文件名CH:A:17:30:30。当通过如图5D中所示的返回场景按钮退出场景1的录制时,文件名为CH:A:17:20:30的文件1和文件名为CH:A:17:30:30的文件2共同构成一条完整的数据链。Exemplarily, a video can be set to be recorded every 10 minutes. Assuming that in the scene 1 shown in FIG. 5B, if the scene 1 is a car accident, the keyword of the scene 1 may be CH. In FIG. 5H, the user A is at 17: Select scene 1 at 20:30, then file 1 with the file name CH:A:17:20:30 will be generated. After 10 minutes, that is, stop recording file 1 at 17:30:30, and then record the car accident resource. Store in this file 1, and at the same time generate a file 2 with the file name CH:A:17:30:30 at 17:30:30, and start recording, 10 minutes later, that is, stop recording at 17:40:30 , and then store the recorded car accident resource in the file 2, so that the name of this car accident resource is the file name of this file CH:A:17:30:30. When the recording of scene 1 is exited by the back to scene button as shown in Fig. 5D, file 1 with file name CH:A:17:20:30 and file 2 with file name CH:A:17:30:30 Together they form a complete data chain.

通过分段存储可以避免录制过程中发生的网络异常或者设备异常等情况造成的大量多媒体资源的损坏,也可以支持根据录制的开始时间和录制的结束时间更加准确的进行多媒体资源查询。Segmented storage can avoid damage to a large number of multimedia resources caused by network abnormalities or device abnormalities during the recording process, and can also support more accurate multimedia resource query based on the recording start time and recording end time.

在步骤403中,将所述目标场景标识、所述多媒体资源、所述多媒体资源的开始录制时间和结束录制时间携带在文件上传请求中发送给服务器。In step 403, the target scene identifier, the multimedia resource, the start recording time and the end recording time of the multimedia resource are carried in the file upload request and sent to the server.

其中,目标场景标识中的所有文件可以根据文件的类型或者文件的录制时间进行分类。展示时可以将所有文件根据文件名中的开始时间进行排序,然后根据排序顺序进行目标场景标识编号,最后按照目标场景标识的编号进行分类展示,如场景标识1下的第一个文件可以编号为1-1、场景标识1下的第二个文件可以编号为1-2,其余的文件可以根据相同的方法进行编号并展示。例如,场景1为车祸,关键字为CH,现在有5个文件,文件名分别为CH:A:17:20:30、CH:A:17:30:30、CH:A:17:25:30、CH:A:17:48:30、CH:A:17:35:30,可以根据文件名自行识别这五个文件都为场景1中的数据,此时可以根据文件名中包含的开始时间进行排序,并将这五个文件进行编号:文件名为CH:A:17:20:30的文件编号为1-1、CH:A:17:25:30的文件编号为1-2、CH:A:17:30:30的文件编号为1-3、CH:A:17:35:30的文件编号为1-4、CH:A:17:48:30的文件编号为1-5,开始时间早的文件编号在前。Wherein, all files in the target scene identifier can be classified according to the type of the file or the recording time of the file. When displaying, all files can be sorted according to the start time in the file name, and then the target scene identification number is carried out according to the sorting order, and finally the display is classified according to the number of the target scene identification. For example, the first file under scene identification 1 can be numbered as 1-1. The second file under scene ID 1 can be numbered 1-2, and the rest of the files can be numbered and displayed according to the same method. For example, scene 1 is a car accident, the keyword is CH, and now there are 5 files, the file names are CH:A:17:20:30, CH:A:17:30:30, CH:A:17:25: 30. CH:A:17:48:30, CH:A:17:35:30, you can identify these five files as the data in scene 1 according to the file name. Sort the time and number the five files: the file with the file name CH:A:17:20:30 is numbered 1-1, the file with CH:A:17:25:30 is numbered 1-2, CH:A:17:30:30 has file numbers 1-3, CH:A:17:35:30 has file numbers 1-4, CH:A:17:48:30 has file numbers 1-5 , the file with the earlier start time is numbered first.

其中,发送文件上传请求的时机可以是在同一目标场景标识下的所有文件全部录制多媒体资源完毕后再将全部文件上传,也可以是在每一个文件录制多媒体资源完毕后,即各个文件逐个上传,在上传的同时需要将该文件所在的目标场景标识对应的关键字和对该文件所在的目标场景标识的选择操作的开始时间一起上传。The timing for sending the file upload request may be uploading all the files after the multimedia resources are all recorded for all files under the same target scene identifier, or after the multimedia resources are recorded for each file, that is, uploading each file one by one. When uploading, the keyword corresponding to the target scene identifier where the file is located needs to be uploaded together with the start time of the selection operation for the target scene identifier where the file is located.

在一种可能的实施方式中,文件上传的策略可以配置为自动上传,也可以是人工上传。当被配置为自动上传时,在网络正常的情况下可以将已完成录制的文件在后台自动上传至服务器,如图6所示,为本申请实施例提供的文件自动上传的流程示意图,文件自动上传时可具体实施为以下步骤:In a possible implementation manner, the policy for file uploading may be configured as automatic uploading or manual uploading. When it is configured to upload automatically, the recorded files can be automatically uploaded to the server in the background when the network is normal. As shown in FIG. The upload can be implemented as the following steps:

在步骤601中,基于目标场景标识,开始录制多媒体资源。In step 601, recording of multimedia resources is started based on the target scene identification.

在步骤602中,判断文件中多媒体资源是否录制完成,若未完成,继续执行步骤601,若完成,在步骤603中,判断网络是否可用,若不可用,在步骤604中,等待网络变化,直至网络可用,若网络可用则在步骤605中,发送文件上传请求并上传文件。In step 602, it is judged whether the recording of the multimedia resources in the file is completed, if not, proceed to step 601, if completed, in step 603, determine whether the network is available, if not, in step 604, wait for the network to change until The network is available. If the network is available, in step 605, a file upload request is sent and the file is uploaded.

如图7所示,为本申请实施例提供的记录仪录制多媒体资源的流程示意图。根据前文描述,记录仪录制多媒体资源的过程可具体执行为图7所示出的步骤:As shown in FIG. 7 , it is a schematic flowchart of a recorder recording a multimedia resource provided by an embodiment of the present application. According to the foregoing description, the process of recording multimedia resources by the recorder can be specifically performed as the steps shown in FIG. 7 :

在步骤701中,获取场景标识数据。In step 701, scene identification data is acquired.

在步骤702中,选择目标场景标识。In step 702, a target scene identifier is selected.

在步骤703中,预览采集的多媒体数据,并生成对应的文件并录制多媒体资源。In step 703, the collected multimedia data is previewed, a corresponding file is generated, and the multimedia resource is recorded.

在步骤704中,判断是否停止录制,若不停止录制,继续执行步骤703,若停止录制,在步骤705中,预览录制的多媒体资源。In step 704, it is judged whether to stop recording, if not, proceed to step 703, if the recording is stopped, in step 705, preview the recorded multimedia resources.

在步骤706中,判断是否继续录制,若继续录制,返回执行步骤703,若不继续录制,在步骤707中,判断是否退出目标场景录制,若不退出,返回执行步骤705,若退出,在步骤708中,上传文件。In step 706, it is judged whether to continue recording, if it continues to record, go back to step 703, if not, in step 707, judge whether to quit the recording of the target scene, if not, go back to step 705, if quit, go to step 705 In 708, the file is uploaded.

其中,若点击返回场景按钮则认为退出目标场景录制,若没有点击返回场景按钮则认为不退出目标场景录制。Among them, if the back to scene button is clicked, it is considered to exit the target scene recording, and if the back to scene button is not clicked, it is considered that the target scene recording is not exited.

由此,记录仪完成登录到生成一条完整的数据链的全部过程。当一条完整的数据链中具有多个文件时,可以如图8A所示进行排序展示给用户。Thus, the recorder completes the entire process of logging in to generate a complete data chain. When there are multiple files in a complete data chain, they can be sorted and displayed to the user as shown in FIG. 8A .

在一种可能的实施方式中,记录仪还可以从数据库的大量多媒体资源中查询需要的多媒体资源,因此,本申请中所述方法还包括:终端设备(包括记录仪、手机端、电脑端)可发送查询请求给所述服务器,所述查询请求中包括查询条件,然后接收所述服务器针对所述查询条件返回的多媒体资源并展示,所述查询条件中包括场景标识对应的关键字、录制的开始时间和录制的结束时间中的至少一种信息。In a possible implementation, the recorder can also query the required multimedia resources from a large number of multimedia resources in the database. Therefore, the method described in this application further includes: terminal equipment (including recorders, mobile phones, and computers) A query request can be sent to the server, and the query request includes query conditions, and then the multimedia resources returned by the server for the query conditions are received and displayed, and the query conditions include keywords corresponding to the scene identifiers, recorded At least one of the start time and the end time of the recording.

其中,用户可以根据用户的登录信息、录制的开始时间、录制的结束时间、场景标识对应的关键字、文件的格式任一条件进行查询,也可以根据上述条件中任意条件的组合进行查询,查询的条件设置得越多,查询得到的结果越准确。例如,可以根据用户的登录信息和录制的开始时间的组合查询,得到该用户在此时间开始录制的多媒体资源,也可以根据用户的登录信息和场景标识对应的关键字的组合查询,可以得到该用户在此场景标识下的多媒体资源。Among them, the user can query according to any condition of the user's login information, the start time of the recording, the end time of the recording, the keyword corresponding to the scene identifier, and the format of the file, or according to any combination of the above conditions. The more conditions you set, the more accurate the query results will be. For example, it is possible to obtain the multimedia resources that the user started recording at this time according to the combination of the user's login information and the recording start time, or to obtain the user's login information and the combination of keywords corresponding to the scene identifier. The user's multimedia resources under this scene ID.

由此,实现记录仪对多媒体信息的主动划分以及将所述目标场景标识和对应的多媒体资源进行关联存储使得多媒体信息划分的更加准确,使得后续根据相应的查询条件查询多媒体资源时更加的准确。Therefore, the active division of the multimedia information by the recorder and the associated storage of the target scene identifier and the corresponding multimedia resources are realized, so that the division of the multimedia information is more accurate, and the subsequent query of the multimedia resources according to the corresponding query conditions is more accurate.

基于相同的发明构思,本申请提供了一种多媒体资源管理方法,应用于服务器,所述方法包括:接收记录仪发送的文件上传请求,所述文件上传请求中包括目标场景标识、所述多媒体资源、所述多媒体资源录制的开始时间和录制的结束时间;将所述目标场景标识对应的关键字、所述多媒体资源、所述多媒体资源录制的开始时间和录制的结束时间进行关联存储。Based on the same inventive concept, the present application provides a multimedia resource management method, which is applied to a server. The method includes: receiving a file upload request sent by a recorder, where the file upload request includes a target scene identifier, the multimedia resource , the start time of the multimedia resource recording and the end time of the recording; associate and store the keyword corresponding to the target scene identifier, the multimedia resource, the start time of the multimedia resource recording and the end time of the recording.

在一种可能的实施方式中,所述方法包括:接收终端设备发送的查询请求,所述查询请求中包括查询条件,所述查询条件中包括场景标识对应的关键字、录制的开始时间和录制的结束时间中的至少一种信息;基于所述查询条件对存储的多媒体资源集合进行查询,并将查询结果发送给所述终端设备。In a possible implementation manner, the method includes: receiving a query request sent by a terminal device, where the query request includes query conditions, and the query conditions include keywords corresponding to the scene identifier, recording start time and recording at least one kind of information in the end time of the stored multimedia resource set based on the query condition, and send the query result to the terminal device.

其中,终端设备可以为包括但不限于记录仪、移动终端、桌面计算机、移动电脑、平板电脑、服务器等电子设备。Wherein, the terminal device may be an electronic device including but not limited to a recorder, a mobile terminal, a desktop computer, a mobile computer, a tablet computer, a server, and the like.

可实施为,服务器在接收到记录仪上传的文件时,将所述文件对应的目标场景标识对应的关键字、所述多媒体资源、所述多媒体资源录制的开始时间和录制的结束时间进行关联存储,并保存在数据库中,当接收到记录仪发送的查询请求时,根据查询请求中带的查询条件,从数据库中进行查询,并将查询结果反馈到记录仪中,使得用户可以查看相应文件中的多媒体资源。It can be implemented that, when receiving the file uploaded by the recorder, the server associates and stores the keyword corresponding to the target scene identifier corresponding to the file, the multimedia resource, the start time of the multimedia resource recording, and the end time of the recording. , and save it in the database, when receiving the query request sent by the recorder, according to the query conditions in the query request, query from the database, and feed back the query results to the recorder, so that the user can view the corresponding file. multimedia resources.

基于前文的描述,本申请实施例通过展示多个场景标识;响应于对所述多个场景标识中目标场景标识的选择操作,将所述目标场景标识和对应的多媒体资源进行关联存储;将所述目标场景标识、所述多媒体资源、所述多媒体资源的开始录制时间和结束录制时间携带在文件上传请求中发送给服务器,从而使得记录仪可以拥有划分多媒体信息的主动权,用户使用记录仪时可以直接选择目标场景标识录制多媒体信息,也可以在录制另一多媒体信息时直接退出当前场景标识下多媒体信息的录制,选择对应的场景标识录制多媒体信息,以此实现记录仪对多媒体信息的主动划分以及将所述目标场景标识和对应的多媒体资源进行关联存储使得多媒体信息划分的更加准确,也便于后续对于多媒体信息的准确查询。Based on the foregoing description, the embodiment of the present application displays multiple scene identifiers; in response to the selection operation of the target scene identifier among the multiple scene identifiers, the target scene identifier and the corresponding multimedia resource are stored in association; The target scene identifier, the multimedia resource, the start recording time and the end recording time of the multimedia resource are carried in the file upload request and sent to the server, so that the recorder can have the initiative to divide the multimedia information. When the user uses the recorder You can directly select the target scene logo to record multimedia information, or you can directly exit the multimedia information recording under the current scene logo when recording another multimedia information, and select the corresponding scene logo to record the multimedia information, so as to realize the active division of the multimedia information by the recorder. And the target scene identifier and the corresponding multimedia resource are stored in association, so that the multimedia information can be divided more accurately, and the subsequent accurate query of the multimedia information is facilitated.

本申请提供的实施例之间的相似部分相互参见即可,以上提供的具体实施方式只是本申请总的构思下的几个示例,并不构成本申请保护范围的限定。对于本领域的技术人员而言,在不付出创造性劳动的前提下依据本申请方案所扩展出的任何其他实施方式都属于本申请的保护范围。Similar parts between the embodiments provided in the present application may be referred to each other. The specific embodiments provided above are just a few examples under the general concept of the present application, and do not constitute a limitation on the protection scope of the present application. For those skilled in the art, any other implementations expanded according to the solution of the present application without creative work fall within the protection scope of the present application.

在介绍了本申请示例性实施方式的多媒体资源管理方法之后,接下来,介绍根据本申请实施例提供的服务器。After the multimedia resource management method of the exemplary embodiment of the present application is introduced, next, the server provided according to the embodiment of the present application is introduced.

在一些可能的实施方式中,根据本申请的服务器可以至少包括至少一个处理器、以及至少一个存储器。其中,存储器存储有程序代码,当程序代码被处理器执行时,使得处理器执行本说明书上述描述的根据本申请各种示例性实施方式的多媒体资源管理方法。例如,处理器可以执行如多媒体资源管理方法中的步骤。In some possible implementations, a server according to the present application may include at least one processor and at least one memory. The memory stores program codes, which, when executed by the processor, cause the processor to execute the multimedia resource management methods described above in this specification according to various exemplary embodiments of the present application. For example, the processor may perform steps as in the multimedia resource management method.

下面参照图8B来描述根据本申请的这种实施方式的服务器101。图8B显示的服务器101仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。The server 101 according to this embodiment of the present application is described below with reference to FIG. 8B . The server 101 shown in FIG. 8B is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present application.

如图8B所示,服务器101以通用服务器的形式表现。服务器101的组件可以包括但不限于:上述至少一个处理器801、上述至少一个存储器802、连接不同系统组件(包括存储器802和处理器801)的总线803。As shown in FIG. 8B, the server 101 is represented in the form of a general server. Components of the server 101 may include, but are not limited to: the above-mentioned at least one processor 801 , the above-mentioned at least one memory 802 , and a bus 803 connecting different system components (including the memory 802 and the processor 801 ).

总线803表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器、外围总线、处理器或者使用多种总线结构中的任意总线结构的局域总线。Bus 803 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus structures.

存储器802可以包括易失性存储器形式的可读介质,例如随机存取存储器(RAM)8021和/或高速缓存存储器8022,还可以进一步包括只读存储器(ROM)8023。Memory 802 may include readable media in the form of volatile memory, such as random access memory (RAM) 8021 and/or cache memory 8022 , and may further include read only memory (ROM) 8023 .

存储器802还可以包括具有一组(至少一个)程序模块8024的程序/实用工具8025,这样的程序模块8024包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The memory 802 may also include a program/utility 8025 having a set (at least one) of program modules 8024 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, which An implementation of a network environment may be included in each or some combination of the examples.

服务器101也可以与一个或多个外部设备804(例如键盘、指向设备等)通信,还可与一个或者多个使得用户能与服务器101交互的设备通信和/或与使得该服务器101能与一个或多个其它服务器进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口805进行。并且,服务器101还可以通过网络适配器806与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器806通过总线803与用于服务器101的其它模块通信。应当理解,尽管图中未示出,可以结合服务器101使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理器、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The server 101 may also communicate with one or more external devices 804 (eg, keyboards, pointing devices, etc.), may also communicate with one or more devices that enable a user to interact with the server 101 and/or enable the server 101 to communicate with a or any device (eg, router, modem, etc.) that communicates with multiple other servers. Such communication may take place through input/output (I/O) interface 805 . Also, the server 101 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through a network adapter 806 . As shown, network adapter 806 communicates with other modules for server 101 via bus 803 . It should be understood that, although not shown, other hardware and/or software modules may be used in conjunction with server 101, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and Data backup storage system, etc.

服务器101实际部署可以是直接部署在服务器硬件上也可以是云服务商提供的虚拟环境中,但最终都会对应存储在实体的存储器中。The actual deployment of the server 101 may be directly deployed on the server hardware or in a virtual environment provided by a cloud service provider, but will eventually be correspondingly stored in the physical memory.

在示例性实施例中,还提供了一种包括指令的计算机可读存储介质,例如包括指令的存储器802,上述指令可由处理器801执行以完成上述多媒体资源管理方法。可选地,存储介质可以是非临时性计算机可读存储介质,例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a computer-readable storage medium including instructions, such as a memory 802 including instructions, is also provided, and the above-mentioned instructions can be executed by the processor 801 to complete the above-mentioned multimedia resource management method. Alternatively, the storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage equipment, etc.

在示例性实施例中,还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器501执行时实现如本申请提供的多媒体资源管理方法的任一方法。In an exemplary embodiment, a computer program product is also provided, including a computer program, which, when executed by the processor 501, implements any one of the multimedia resource management methods provided in this application.

在示例性实施例中,本申请提供的一种多媒体资源管理方法的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在计算机设备上运行时,程序代码用于使计算机设备执行本说明书上述描述的根据本申请各种示例性实施方式的多媒体资源管理方法中的步骤。In an exemplary embodiment, various aspects of a multimedia resource management method provided by the present application can also be implemented in the form of a program product, which includes program code, and when the program product runs on a computer device, the program code is used for The computer device is caused to execute the steps in the multimedia resource management method according to various exemplary embodiments of the present application described above in this specification.

程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

本申请的实施方式的用于多媒体资源管理方法的程序产品可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在服务器上运行。然而,本申请的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The program product for the multimedia resource management method of the embodiment of the present application may adopt a portable compact disk read only memory (CD-ROM) and include program codes, and may be executed on a server. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, carrying readable program code therein. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.

可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、有线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言的任意组合来编写用于执行本申请操作的程序代码,程序设计语言包括面向对象的程序设计语言一诸如Java、C++等,还包括常规的过程式程序设计语言一诸如″C″语言或类似的程序设计语言。程序代码可以完全地在用户服务器上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户服务器上部分在远程服务器上执行、或者完全在远程服务器或服务端上执行。在涉及远程服务器的情形中,远程服务器可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)一连接到用户服务器,或者,可以连接到外部服务器(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., as well as conventional procedural programming Language - such as the "C" language or similar programming language. The program code may execute entirely on the user's server, partly on the user's device, as a stand-alone software package, partly on the user's server and partly on a remote server, or entirely on a remote server or server. In the case of a remote server, the remote server may be connected to the user server through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external server (eg, using an Internet service provider via Internet connection).

应当注意,尽管在上文详细描述中提及了装置的若干单元或子单元,但是这种划分仅仅是示例性的并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多单元的特征和功能可以在一个单元中具体化。反之,上文描述的一个单元的特征和功能可以进一步划分为由多个单元来具体化。It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, this division is merely exemplary and not mandatory. Indeed, according to embodiments of the present application, the features and functions of two or more units described above may be embodied in one unit. Conversely, the features and functions of one unit described above may be further subdivided to be embodied by multiple units.

此外,尽管在附图中以特定顺序描述了本申请方法的操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。附加地或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,和/或将一个步骤分解为多个步骤执行。Furthermore, although the operations of the methods of the present application are depicted in the figures in a particular order, this does not require or imply that the operations must be performed in the particular order, or that all illustrated operations must be performed to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined to be performed as one step, and/or one step may be decomposed into multiple steps to be performed.

本领域内的技术人员应明白,本申请的实施例可提供为方法、记录仪或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, embodiments of the present application may be provided as a method, a recorder or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请的方法、记录仪(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, recorders (systems), and computer program products according to the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims (10)

1. A multimedia resource management method is applied to a recorder, and the method comprises the following steps:
displaying a plurality of scene identifications;
responding to the selection operation of a target scene identifier in the scene identifiers, and performing associated storage on the target scene identifier and the corresponding multimedia resource;
and carrying the target scene identification, the multimedia resource, and the starting recording time and the ending recording time of the multimedia resource in a file uploading request and sending the file uploading request to a server.
2. The method of claim 1, wherein prior to said presenting the plurality of scene identifiers, the method further comprises:
sending a login request to a server, wherein the login request comprises login information of a user;
and responding to the verification passing result of the server to the login information, and acquiring the plurality of scene identifications sent by the server.
3. The method according to claim 1, wherein the associating and storing the target scene identifier and the corresponding multimedia resource in response to the selection operation of the target scene identifier from the plurality of scene identifiers specifically comprises:
responding to the selection operation of a target scene identifier in a plurality of scene identifiers, and recording the starting time of the current selection operation of the target scene identifier and a keyword corresponding to the target scene identifier;
taking the login information of the user, the start time of the current selection operation on the target scene identification and the keyword corresponding to the target scene identification as description information of the recorded multimedia resource, and generating a first file containing the description information;
and storing the first file and the multimedia resource in an associated manner.
4. The method of claim 3, further comprising:
responding to the selection operation of the target scene identification, starting a recording function to acquire and store image data of the multimedia resource;
and in response to the operation of suspending the recording, previewing the acquired image data and stopping saving the acquired image data.
5. The method of claim 4, wherein after previewing the captured image data and ceasing to save the captured image data, the method further comprises:
responding to the operation of starting recording, and recording the starting time of the current recording and the keywords corresponding to the target scene identification;
taking the login information of the user, the recording start time and the keywords corresponding to the target scene identification as description information of the recorded multimedia resource, and generating a second file containing the description information;
and storing the second file and the multimedia resource in an associated manner.
6. The method according to any one of claims 4-5, further comprising:
in the process of recording the multimedia resources, displaying a photographing function interface based on user operation of stopping recording and switching to a photographing function, and responding to a photographing instruction to obtain a photographing image; or,
responding to the screenshot instruction to perform screenshot operation to obtain an image in the process of recording the multimedia resource;
storing the target scene identification and the image in an associated manner;
and sending the image and the target scene identification to the server.
7. A multimedia resource management method applied to a server, the method comprising:
receiving a file uploading request sent by a recorder, wherein the file uploading request comprises keywords corresponding to a target scene identifier, the multimedia resource, the recording start time of the multimedia resource and the recording end time;
and performing associated storage on the target scene identification, the multimedia resource, the recording start time of the multimedia resource and the recording end time.
8. The method of claim 7, wherein the method comprises:
receiving a query request sent by a terminal device, wherein the query request comprises a query condition, and the query condition comprises at least one of keywords corresponding to a scene identifier, a recording start time and a recording end time;
and inquiring the stored multimedia resource set based on the inquiry condition, and sending an inquiry result to the terminal equipment.
9. A recorder, comprising:
the device comprises a camera, a display, a processor and a memory;
the camera is used for acquiring multimedia resource data;
the display is used for displaying the multimedia resource data;
the memory to store the processor-executable instructions;
the processor is configured to execute the instructions to implement the multimedia asset management method of any of claims 1-6.
10. A server, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the multimedia asset management method of any of claims 7-8.
CN202111521138.2A 2021-12-13 2021-12-13 Multimedia resource management method, recorder and server Active CN114374813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111521138.2A CN114374813B (en) 2021-12-13 2021-12-13 Multimedia resource management method, recorder and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111521138.2A CN114374813B (en) 2021-12-13 2021-12-13 Multimedia resource management method, recorder and server

Publications (2)

Publication Number Publication Date
CN114374813A true CN114374813A (en) 2022-04-19
CN114374813B CN114374813B (en) 2024-07-02

Family

ID=81139961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111521138.2A Active CN114374813B (en) 2021-12-13 2021-12-13 Multimedia resource management method, recorder and server

Country Status (1)

Country Link
CN (1) CN114374813B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114928608A (en) * 2022-04-21 2022-08-19 北京达佳互联信息技术有限公司 Multimedia resource processing method, device, equipment and storage medium
CN115482468A (en) * 2022-09-30 2022-12-16 上海闻泰信息技术有限公司 Multi-scene classification method and device, equipment and storage medium
CN116506673A (en) * 2023-06-30 2023-07-28 安格利(成都)仪器设备有限公司 Audio-video recording and detecting equipment data synchronous linkage and sound control searching method
CN116614490A (en) * 2023-04-28 2023-08-18 广州市良策网络技术有限公司 Cross-device data transmission method, device and computer readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1052828A2 (en) * 1999-05-12 2000-11-15 Seecops Co. Ltd. System and method for providing multimedia information over a network
CN103399865A (en) * 2013-07-05 2013-11-20 华为技术有限公司 A method and device for generating multimedia files
US20140032548A1 (en) * 2008-05-28 2014-01-30 Anant Gilra Durational referencing cue points for linking multimedia files
CN106803987A (en) * 2015-11-26 2017-06-06 腾讯科技(深圳)有限公司 The acquisition methods of video data, device and system
US20180295397A1 (en) * 2016-05-25 2018-10-11 Tencent Technology (Shenzhen) Company Limited Multimedia playback method and related device
CN110180181A (en) * 2019-04-22 2019-08-30 努比亚技术有限公司 Screenshot method, device and the computer readable storage medium of Wonderful time video
JP6669952B1 (en) * 2018-11-12 2020-03-18 株式会社日本経済新聞社 Tagging apparatus, method, and program for video
CN111680186A (en) * 2020-06-04 2020-09-18 深圳市华德安科技有限公司 Data association method, device, equipment and readable storage medium
CN113255438A (en) * 2021-04-12 2021-08-13 深圳市顺盟科技有限公司 Structured video file marking method, system, host and storage medium
CN113365116A (en) * 2020-03-04 2021-09-07 青岛海信传媒网络技术有限公司 Audio and video resource management method and device
CN113489700A (en) * 2021-06-28 2021-10-08 聚好看科技股份有限公司 Method, server and terminal equipment for acquiring media asset data

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1052828A2 (en) * 1999-05-12 2000-11-15 Seecops Co. Ltd. System and method for providing multimedia information over a network
US20140032548A1 (en) * 2008-05-28 2014-01-30 Anant Gilra Durational referencing cue points for linking multimedia files
CN103399865A (en) * 2013-07-05 2013-11-20 华为技术有限公司 A method and device for generating multimedia files
CN106803987A (en) * 2015-11-26 2017-06-06 腾讯科技(深圳)有限公司 The acquisition methods of video data, device and system
US20180295397A1 (en) * 2016-05-25 2018-10-11 Tencent Technology (Shenzhen) Company Limited Multimedia playback method and related device
JP6669952B1 (en) * 2018-11-12 2020-03-18 株式会社日本経済新聞社 Tagging apparatus, method, and program for video
CN110180181A (en) * 2019-04-22 2019-08-30 努比亚技术有限公司 Screenshot method, device and the computer readable storage medium of Wonderful time video
CN113365116A (en) * 2020-03-04 2021-09-07 青岛海信传媒网络技术有限公司 Audio and video resource management method and device
CN111680186A (en) * 2020-06-04 2020-09-18 深圳市华德安科技有限公司 Data association method, device, equipment and readable storage medium
CN113255438A (en) * 2021-04-12 2021-08-13 深圳市顺盟科技有限公司 Structured video file marking method, system, host and storage medium
CN113489700A (en) * 2021-06-28 2021-10-08 聚好看科技股份有限公司 Method, server and terminal equipment for acquiring media asset data

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114928608A (en) * 2022-04-21 2022-08-19 北京达佳互联信息技术有限公司 Multimedia resource processing method, device, equipment and storage medium
CN115482468A (en) * 2022-09-30 2022-12-16 上海闻泰信息技术有限公司 Multi-scene classification method and device, equipment and storage medium
CN116614490A (en) * 2023-04-28 2023-08-18 广州市良策网络技术有限公司 Cross-device data transmission method, device and computer readable storage medium
CN116614490B (en) * 2023-04-28 2023-12-26 广州市良策网络技术有限公司 Cross-device data transmission method, device and computer readable storage medium
CN116506673A (en) * 2023-06-30 2023-07-28 安格利(成都)仪器设备有限公司 Audio-video recording and detecting equipment data synchronous linkage and sound control searching method
CN116506673B (en) * 2023-06-30 2023-09-12 安格利(成都)仪器设备有限公司 Audio-video recording and detecting equipment data synchronous linkage and sound control searching method

Also Published As

Publication number Publication date
CN114374813B (en) 2024-07-02

Similar Documents

Publication Publication Date Title
CN114374813B (en) Multimedia resource management method, recorder and server
CN107291560A (en) A kind of content of smart machine determines method and apparatus
CN112328853A (en) Document information processing method, device and electronic device
US20140298249A1 (en) Method and device for displaying service page for executing application
CN112114733B (en) Screenshot and screen recording method, mobile terminal and computer storage medium
KR102503329B1 (en) Image classification method and electronic device
CN112099892A (en) Communication terminal and method for rapidly scanning two-dimensional code
KR20160016810A (en) Automatic isolation and selection of screenshots from an electronic content repository
CN113835569A (en) Terminal device, quick start method for internal function of application and storage medium
CN114339419B (en) Video stream pulling processing method, device and storage medium
CN111176766A (en) A communication terminal and component display method
US20130135323A1 (en) Method and device for providing information
CN113835571A (en) A terminal device, information display method and storage medium
CN113407096A (en) Terminal device and picture processing method
CN113709026A (en) Method, device, storage medium and program product for processing instant communication message
CN111913772A (en) Terminal and desktop display method
CN114501389B (en) Mobile terminal, network sharing method and storage medium
CN111506237A (en) Method for starting operation function in terminal and application
CN114675765A (en) A terminal device, function search method and storage medium
CN112908319B (en) Method and equipment for processing information interaction
CN103645896B (en) Method and device for achieving application function based on HTML5
CN114827745B (en) Video subtitle generation method and electronic equipment
CN115174504B (en) An interface display method, terminal device and storage medium
CN113642010A (en) A method and mobile terminal for acquiring extended storage device data
CN112929858B (en) Method and terminal for simulating access control card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

Country or region before: China

CB02 Change of applicant information
GR01 Patent grant