[go: up one dir, main page]

WO2025139584A1 - Retrieval result display method and apparatus, and device - Google Patents

Retrieval result display method and apparatus, and device Download PDF

Info

Publication number
WO2025139584A1
WO2025139584A1 PCT/CN2024/135570 CN2024135570W WO2025139584A1 WO 2025139584 A1 WO2025139584 A1 WO 2025139584A1 CN 2024135570 W CN2024135570 W CN 2024135570W WO 2025139584 A1 WO2025139584 A1 WO 2025139584A1
Authority
WO
WIPO (PCT)
Prior art keywords
video file
time
target
target video
time interval
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.)
Pending
Application number
PCT/CN2024/135570
Other languages
French (fr)
Chinese (zh)
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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Publication of WO2025139584A1 publication Critical patent/WO2025139584A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/738Presentation of query results
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/783Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Definitions

  • the present disclosure relates to the field of information display, and in particular to a search result display method, device and equipment.
  • the retrieval result can also be displayed through the target display interface.
  • multiple channels are supported for concurrent retrieval, that is, a large number of video files of multiple channels are retrieved, and the retrieval results of a large number of video files are displayed through the target display interface.
  • the present disclosure provides a method for displaying a retrieval result, the method comprising: obtaining a retrieval result corresponding to a retrieval condition, wherein the retrieval result comprises a plurality of initial video files and a channel identifier, a start time and an end time of each of the plurality of initial video files; dividing a plurality of time intervals based on the length of an acquired video clip; for each of the plurality of time intervals, based on the start time and end time of all initial video files corresponding to the same channel identifier, generating a target video file based on one or more initial video files in the time interval; and displaying a retrieval result structure on a target display interface, wherein the retrieval result structure comprises a plurality of data items, each of the plurality of data items comprising a retrieval data corresponding to the target video file.
  • the present disclosure provides a client device, comprising: a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor; the processor is used to execute the machine-executable instructions to implement the retrieval result display method of the above example of the present disclosure.
  • multiple time intervals can be divided based on the length of the video clip, one or more initial video files in the time interval are combined to obtain a target video file, and the search data of the target video file is displayed, thereby integrating the video files in the time interval, and displaying the video files with the time interval as the granularity, thereby improving the user experience and display performance.
  • the search result structure and the target time axis can be displayed simultaneously on the target display interface, so that the target time axis and the search result structure can be linked, and the time distribution of the overall search results can be displayed through the target time axis (that is, the target time axis includes multiple time intervals and display marks corresponding to each time interval, and the display mark indicates that the target video file exists in the time interval or does not exist), and the search results of the video file are displayed through the search result structure (that is, the search result structure includes multiple data items, and each data item includes search data corresponding to a target video file).
  • the target time axis includes multiple time intervals and display marks corresponding to each time interval, and the display mark indicates that the target video file exists in the time interval or does not exist
  • the search results of the video file are displayed through the search result structure (that is, the search result structure includes multiple data items, and each data item includes search data corresponding to a target video file).
  • FIG. 1 is a schematic flow chart of a search result display method in one embodiment of the present disclosure.
  • FIG. 2 is a schematic flow chart of a search result display method in another embodiment of the present disclosure.
  • FIG. 3A is a schematic diagram of a search result list in one embodiment of the present disclosure.
  • FIG. 3B is a schematic diagram of a search result list and a target timeline in one embodiment of the present disclosure.
  • 3C, 3D, and 3E are schematic diagrams of a target timeline in one embodiment of the present disclosure.
  • FIG. 4 is a schematic flow chart of a search result display method in yet another embodiment of the present disclosure.
  • FIG. 5A is a schematic diagram of a thumbnail of search results in one embodiment of the present disclosure.
  • FIG. 5B is a schematic diagram of a retrieval result thumbnail and a target timeline in one embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of the structure of a search result display device in an embodiment of the present disclosure.
  • Step 102 Divide the acquired video clip into multiple time intervals based on its duration.
  • Step 103 For each time interval of the multiple time intervals, based on the start time and end time of all initial video files corresponding to the same channel identifier, a target video file is generated based on one or more initial video files in the time interval, that is, the initial video files corresponding to the same channel identifier in the time interval are combined into a target video file.
  • the start time of the target video file is converted into the start time of the target time zone, and the end time of the target video file is converted into the end time of the target time zone.
  • the time interval to which the target video file belongs on the target time axis is determined.
  • the start time of all target video files corresponding to the first time interval is displayed, the start time of the target time zone of all target video files corresponding to the first time interval is displayed.
  • the time interval to which the target video file belongs on the target time axis is determined; when the start time of all target video files corresponding to the first time interval is displayed, the start time of the original time zone of all target video files corresponding to the first time interval is displayed.
  • a zoom operation instruction for the target timeline is received, the total length of the timeline after the change that matches the zoom operation instruction is obtained; wherein, if the zoom operation instruction is a zoom-in operation instruction, the total length of the timeline of the target timeline is increased to obtain the total length of the timeline after the change; if the zoom operation instruction is a zoom-out operation instruction, the total length of the timeline of the target timeline is reduced to obtain the total length of the timeline after the change.
  • the search result structure is displayed on the target display interface
  • a click operation instruction for the data item of the second target video file is received
  • the screen of the second target video file is played.
  • the time interval to which the second target video file belongs on the target time axis can also be determined based on the start time and end time of the second target video file.
  • a played mark is set for the time interval on the target time axis; wherein the played mark indicates that there is a target video file being played in the time interval.
  • jumping the search result structure displayed on the target display interface to the data item corresponding to the first target video file may include, but is not limited to: determining the first sorting position of the last target video file currently loaded in the search result structure, and the second sorting position of the first target video file; wherein the sorting position is used to indicate the positional relationship of the data item of the target video file among the data items of all target video files (i.e., indicating the nth data item among the data items of all target video files); determining the number of jump interval pages based on the number of interval positions between the second sorting position and the first sorting position, and the number of data items loaded per page of the search result structure; and jumping the search result structure to the data item corresponding to the first target video file based on the number of jump interval pages, so as to load and display the data item corresponding to the first target video file.
  • obtaining search results corresponding to the search conditions includes, but is not limited to: obtaining multiple search video files corresponding to the search conditions; determining the multiple search video files as initial video files; or obtaining the target channel identifier of the channel of interest; based on the channel identifier of each search video file, selecting the search video file that matches the target channel identifier from all search video files as the initial video file.
  • multiple time intervals can be divided based on the length of the video clip, the initial video files in the time interval are combined to obtain the target video file, and the retrieval data of the target video file is displayed, thereby integrating the video files in the time interval, and displaying the video files with the time interval as the granularity, thereby improving the user experience and display performance.
  • the retrieval result structure and the target time axis can be displayed simultaneously on the target display interface, so that the target time axis and the retrieval result structure can be linked, and the time distribution of the overall retrieval results can be displayed through the target time axis (that is, the target time axis includes multiple time intervals and display marks corresponding to each time interval, and the display mark indicates whether there is a target video file in the time interval), and the retrieval results of the video file are displayed through the retrieval result structure (that is, the retrieval result structure includes multiple data items, and each data item includes retrieval data corresponding to a target video file).
  • the target time axis includes multiple time intervals and display marks corresponding to each time interval, and the display mark indicates whether there is a target video file in the time interval
  • the retrieval results of the video file are displayed through the retrieval result structure (that is, the retrieval result structure includes multiple data items, and each data item includes retrieval data corresponding to a target video file).
  • FIG. 2 is a flow chart of the search result display method. Referring to FIG. 2 , the method can include the following steps 201 to 207 .
  • Step 201 Obtain search results corresponding to the search conditions.
  • the start time and end time of the specified type of event will be stored in the database
  • the unique file identifier of the video file will be stored in the database
  • the channel identifier of the video file i.e., the unique identifier of this camera, different cameras can correspond to different channels
  • a retrieval condition may be obtained, and the retrieval condition may include but is not limited to at least one of the following: a video time period, a video area, and a retrieval target (such as a vehicle target or a human target, etc.), and there is no restriction on the retrieval condition.
  • the video time period means retrieving all video files within the video time period
  • the video area means retrieving video files of all channels (i.e., all cameras) within the video area
  • the retrieval target means whether the retrieval target exists in the video file.
  • a search result corresponding to the search condition can be obtained, and the search result can include multiple initial video files (such as a unique file identifier of the initial video file), a channel identifier of each initial video file, a start time of each initial video file, and an end time of each initial video file.
  • the recording time period is recording time period A
  • the recording area is recording area B
  • the search target is a vehicle target
  • the recording files for recording time period A, recording area B, and vehicle target can be retrieved.
  • the initial recording files are located in the recording time period A
  • the initial recording files are recording files collected by the camera in the recording area B
  • the vehicle target exists in the initial recording files (that is, the specified type of event is a vehicle entry event, and the recording files of the target vehicle entry event are retrieved from the database).
  • the unique file identifier of the initial video file, the channel identifier of the initial video file, the start time of the initial video file (i.e. the start time of the vehicle entry event), and the end time of the initial video file (i.e. the end time of the vehicle entry event) can be queried from the database.
  • the search results corresponding to the search conditions can be obtained.
  • concurrent searches of multiple channels can be supported, that is, video files of multiple channels can be searched simultaneously based on the search conditions. Therefore, in the search results corresponding to the search conditions, the search results can include multiple initial video files (such as unique file identifiers of initial video files), channel identifiers of each initial video file, start time of each initial video file, and end time of each initial video file.
  • Method 2 Obtain multiple search video files corresponding to the search conditions and obtain the target channel identifier of the channel of interest. Based on the channel identifier of each search video file, a search video file matching the target channel identifier can be selected from all search video files as the initial video file.
  • the user can check which target video files are located in the first time interval.
  • the user can view which target video files are located in the first time interval. If the user wants to view the detailed information of a target video file (i.e., any target video file located in the first time interval, which is recorded as the first target video file), the user can click the channel identifier of the first target video file, or click the start time of the first target video file.
  • a target video file i.e., any target video file located in the first time interval, which is recorded as the first target video file
  • the screen of the first target video file can be played, that is, the screen of the first target video file pops up to display the first target video file to the user, and there is no restriction on this process.
  • the search result list displayed on the target display interface can be jumped to the data item corresponding to the first target video file, that is, the data item corresponding to the first target video file is loaded to the first page of the search result list for display.
  • a click operation instruction for the first target video file is received, and the search result list has not yet loaded the data item corresponding to the first target video file, it can be directly incrementally loaded to the page data where the data item corresponding to the first target video file is located, thereby achieving the effect of rapid linkage positioning of the target timeline and the search result list.
  • the following method in order to jump the search result list displayed on the target display interface to the data item corresponding to the first target video file, the following method may be used:
  • the search results include multiple target video files, and the search result list needs to display the data items of these target video files. At this time, the order relationship of the data items of these target video files has been determined. If the search result list has loaded 100 data items, the first sort position of the last target video file currently loaded in the search result list is 100.
  • the number of jump interval pages is determined. For example, the number of interval positions can be divided by the number of data items loaded per page, and then rounded down to obtain the number of jump interval pages. For example, 350 can be divided by 100, and then rounded down to obtain the number of jump interval pages as 3.
  • the search result list is jumped to the data item corresponding to the first target video file, so as to load and display the data item corresponding to the first target video file.
  • the search result list can be jumped to the 4th page after 3 pages (i.e., the jump interval page number), so as to jump to the page where the data item corresponding to the first target video file is located, and then load and display the data item corresponding to the first target video file.
  • the 1st page of the interval is the 101st-200th data item (these data items do not need to be loaded at this time)
  • the 2nd page of the interval is the 201st-300th data item (these data items do not need to be loaded at this time)
  • the 3rd page of the interval is the 301st-400th data item (these data items do not need to be loaded at this time).
  • the 4th page jumped to is the 401st-500th data item (these data items need to be loaded at this time), that is, the search result list displayed through the target display interface displays the 401st-500th data item, and these data items include the data item corresponding to the first target video file (i.e., the 450th data item), so that the data item is displayed.
  • the search result list displayed on the target display interface is successfully jumped to the data item corresponding to the first target video file, thereby achieving the effect of rapid linkage positioning of the target timeline and the search result list.
  • the search result list when the search result list is displayed on the target display interface, the search result list includes data items of multiple target video files, and the data items include the channel identifier, start time, end time and other contents of the target video files, and the user can view the data items of these target video files.
  • the time interval to which the second target video file belongs on the target timeline can also be determined based on the start time and end time of the second target video file (that is, the start time and/or end time of the second target video file is within this time interval).
  • a played mark is set for the time interval on the target time axis, and the played mark indicates that there is a target video file being played in the time interval.
  • the second target video file in the search result list is clicked to play the video file, the second target video file being played will also be synchronously marked on the target time axis, thereby linking the search result list with the target time axis.
  • the played mark can also be a color played mark, and the color played mark needs to be different from the color display mark, such as the played mark needs to be distinguished from the gray display mark and the white display mark.
  • 3:00-4:00 corresponds to the played mark, and the played mark indicates that there is a target video file being played in this time interval.
  • the played mark can also be a shape played mark, and the shape played mark needs to be different from the shape display mark, and so on, there is no restriction on this played mark.
  • the following method when playing another target video file (recorded as a third target video file), if the screen of the third target video file is automatically played after the second target video file is played, or a click operation instruction for a data item of the third target video file is received and the screen of the third target video file is played, the following method can be adopted: based on the start time and end time of the third target video file, the time interval to which the third target video file belongs on the target timeline is determined, a played mark is set for the time interval, and the played mark set for the time interval to which the second target video file belongs is deleted, thereby automatically adjusting the played mark from the second target video file to the third target video file.
  • multiple time intervals are divided based on the duration of the video clip, one or more initial video files in the time interval are combined to obtain a target video file, and the search data of the target video file is displayed, thereby integrating the video files in the time interval, and displaying the video files with the time interval as the granularity, thereby improving the user experience and display performance.
  • the search result list and the target time axis can be displayed on the target display interface at the same time, so that the target time axis and the search result list can be linked, and the time distribution of the overall search results can be displayed through the target time axis, and the search results of the video files can be displayed through the search result list.
  • both the time distribution of the overall search results and the search results of the video files can be viewed, thereby improving the user experience and improving the display performance. It can solve the problem that the search results with a large amount of data are loaded in pages and the overall storage status of the video files cannot be perceived. It can solve the problem that the required video files cannot be judged due to the large size of the video files.
  • a solution is designed that takes into account performance and supports paging data loading, and can conveniently and quickly split the video files. By displaying all the data of this search of all channels on the target time axis, the time axis is automatically split to obtain the search result video files.
  • FIG. 4 is a flow chart of the search result display method. As shown in FIG. 4 , the method can include the following steps 401 to 407 .
  • Step 401 Obtain search results corresponding to the search conditions.
  • Step 402 Divide the acquired video clip into multiple time intervals based on its duration.
  • Step 403 for each of the multiple time intervals, based on the start time and end time of all initial video files corresponding to the same channel identifier, a target video file is generated based on one or more initial video files in the time interval, that is, the initial video files corresponding to the same channel identifier in the time interval are combined into a target video file.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Television Signal Processing For Recording (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A retrieval result display method and apparatus, and a device. The method comprises: acquiring a retrieval result corresponding to a retrieval condition, wherein the retrieval result comprises a plurality of initial video files, and a channel identifier and the start and end times of each of the plurality of initial video files (101); on the basis of an acquired video segment duration, performing division to obtain a plurality of time intervals (102); for each of the plurality of time intervals, on the basis of the start times and the end times of all initial video files corresponding to a same channel identifier, and on the basis of one or more initial video files within said time interval, generating a target video file (103); and displaying a retrieval result structure on a target display interface, wherein the retrieval result structure comprises a plurality of data items, and each of the plurality of data items comprises retrieval data corresponding to one target video file (104).

Description

检索结果显示方法、装置及设备Search result display method, device and equipment 技术领域Technical Field

本公开涉及信息显示领域,尤其是一种检索结果显示方法、装置及设备。The present disclosure relates to the field of information display, and in particular to a search result display method, device and equipment.

背景技术Background Art

针对录像文件的检索过程,需要给出检索条件,获取与检索条件对应的检索结果。比如说,检索条件可以包括录像时间段、录像区域、检索目标(如车辆目标或者人体目标等),基于检索条件,可以从所有录像文件中查找到与该检索条件对应的录像文件,基于这些录像文件的信息确定检索结果。In the process of searching for video files, it is necessary to give search conditions and obtain search results corresponding to the search conditions. For example, the search conditions may include the recording time period, the recording area, and the search target (such as a vehicle target or a human target, etc.). Based on the search conditions, the video files corresponding to the search conditions can be found from all video files, and the search results can be determined based on the information of these video files.

在得到录像文件的检索结果之后,还可以通过目标展示界面显示该检索结果。比如说,在录像文件的检索过程中,支持多个通道的并发检索,即检索到多个通道的大量录像文件,通过目标展示界面显示大量录像文件的检索结果。After obtaining the retrieval result of the video file, the retrieval result can also be displayed through the target display interface. For example, in the retrieval process of the video file, multiple channels are supported for concurrent retrieval, that is, a large number of video files of multiple channels are retrieved, and the retrieval results of a large number of video files are displayed through the target display interface.

然而,如何通过目标展示界面显示大量录像文件的检索结果,在相关技术中还没有有效的检索结果显示方式,存在用户体验差、显示性能低等问题。However, there is no effective way to display the search results of a large number of video files through the target display interface in the related technology, and there are problems such as poor user experience and low display performance.

发明内容Summary of the invention

本公开提供一种检索结果显示方法,所述方法包括:获取检索条件对应的检索结果,其中,所述检索结果包括多个初始录像文件以及所述多个初始录像文件中每个初始录像文件的通道标识、起始时间和结束时间;基于已获取的录像片段时长划分多个时间区间;针对所述多个时间区间的每个时间区间,基于同一通道标识对应的所有初始录像文件的起始时间和结束时间,基于处于该时间区间内的一个或多个初始录像文件生成一个目标录像文件;在目标展示界面显示检索结果结构,其中,所述检索结果结构包括多个数据项,所述多个数据项中每个数据项包括一个所述目标录像文件对应的检索数据。The present disclosure provides a method for displaying a retrieval result, the method comprising: obtaining a retrieval result corresponding to a retrieval condition, wherein the retrieval result comprises a plurality of initial video files and a channel identifier, a start time and an end time of each of the plurality of initial video files; dividing a plurality of time intervals based on the length of an acquired video clip; for each of the plurality of time intervals, based on the start time and end time of all initial video files corresponding to the same channel identifier, generating a target video file based on one or more initial video files in the time interval; and displaying a retrieval result structure on a target display interface, wherein the retrieval result structure comprises a plurality of data items, each of the plurality of data items comprising a retrieval data corresponding to the target video file.

本公开提供一种检索结果显示装置,所述装置包括:获取模块,用于获取检索条件对应的检索结果,其中,所述检索结果包括多个初始录像文件以及所述多个初始录像文件中每个初始录像文件的通道标识、起始时间和结束时间;处理模块,用于基于已获取的录像片段时长划分多个时间区间;针对所述多个时间区间的每个时间区间,基于同一通道标识对应的所有初始录像文件的起始时间和结束时间,基于处于该时间区间内的一个或多个初始录像文件生成一个目标录像文件;显示模块,用于在目标展示界面显示检索结果结构,其中,所述检索结果结构包括多个数据项,所述多个数据项中每个数据项包括一个所述目标录像文件对应的检索数据。The present disclosure provides a retrieval result display device, the device comprising: an acquisition module, used to acquire retrieval results corresponding to retrieval conditions, wherein the retrieval results include multiple initial video files and a channel identifier, a start time and an end time of each of the multiple initial video files; a processing module, used to divide a plurality of time intervals based on the length of the acquired video clips; for each of the multiple time intervals, based on the start time and end time of all the initial video files corresponding to the same channel identifier, a target video file is generated based on one or more initial video files in the time interval; a display module, used to display a retrieval result structure on a target display interface, wherein the retrieval result structure includes multiple data items, each of the multiple data items includes a retrieval data corresponding to the target video file.

本公开提供一种客户端设备,包括:处理器和机器可读存储介质,所述机器可读存储介质存储有能够被所述处理器执行的机器可执行指令;所述处理器用于执行机器可执行指令,以实现本公开上述示例的检索结果显示方法。The present disclosure provides a client device, comprising: a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor; the processor is used to execute the machine-executable instructions to implement the retrieval result display method of the above example of the present disclosure.

由以上技术方案可见,本公开实施例中,可以基于录像片段时长划分多个时间区间,将时间区间内的一个或多个初始录像文件进行组合得到目标录像文件,显示目标录像文件的检索数据,从而整合时间区间内的录像文件,以时间区间为粒度进行录像文件的展示,提高用户体验和显示性能。可以在目标展示界面同时显示检索结果结构和目标时间轴,从而可以联动目标时间轴和检索结果结构,通过目标时间轴展示整体检索结果的时间分布情况(即目标时间轴包括多个时间区间和每个时间区间对应的显示标记,显示标记表示该时间区间存在目标录像文件或者不存在目标录像文件),并通过检索结果结构展示录像文件的检索结果(即检索结果结构包括多个数据项,每个数据项包括一个目标录像文件对应的检索数据)。这样,既可以查看整体检索结果的时间分布情况,又可以查看录像文件的检索结果,从而能够提高用户体验,并提高显示性能。As can be seen from the above technical solutions, in the disclosed embodiment, multiple time intervals can be divided based on the length of the video clip, one or more initial video files in the time interval are combined to obtain a target video file, and the search data of the target video file is displayed, thereby integrating the video files in the time interval, and displaying the video files with the time interval as the granularity, thereby improving the user experience and display performance. The search result structure and the target time axis can be displayed simultaneously on the target display interface, so that the target time axis and the search result structure can be linked, and the time distribution of the overall search results can be displayed through the target time axis (that is, the target time axis includes multiple time intervals and display marks corresponding to each time interval, and the display mark indicates that the target video file exists in the time interval or does not exist), and the search results of the video file are displayed through the search result structure (that is, the search result structure includes multiple data items, and each data item includes search data corresponding to a target video file). In this way, both the time distribution of the overall search results and the search results of the video files can be viewed, thereby improving the user experience and display performance.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本公开一种实施方式中的检索结果显示方法的流程示意图。FIG. 1 is a schematic flow chart of a search result display method in one embodiment of the present disclosure.

图2是本公开另一种实施方式中的检索结果显示方法的流程示意图。FIG. 2 is a schematic flow chart of a search result display method in another embodiment of the present disclosure.

图3A是本公开一种实施方式中的检索结果列表的示意图。FIG. 3A is a schematic diagram of a search result list in one embodiment of the present disclosure.

图3B是本公开一种实施方式中的检索结果列表和目标时间轴的示意图。FIG. 3B is a schematic diagram of a search result list and a target timeline in one embodiment of the present disclosure.

图3C、图3D、图3E是本公开一种实施方式中的目标时间轴的示意图。3C, 3D, and 3E are schematic diagrams of a target timeline in one embodiment of the present disclosure.

图4是本公开又一种实施方式中的检索结果显示方法的流程示意图。FIG. 4 is a schematic flow chart of a search result display method in yet another embodiment of the present disclosure.

图5A是本公开一种实施方式中的检索结果缩略图的示意图。FIG. 5A is a schematic diagram of a thumbnail of search results in one embodiment of the present disclosure.

图5B是本公开一种实施方式中的检索结果缩略图和目标时间轴的示意图。FIG. 5B is a schematic diagram of a retrieval result thumbnail and a target timeline in one embodiment of the present disclosure.

图6是本公开一种实施方式中的检索结果显示装置的结构示意图。FIG. 6 is a schematic diagram of the structure of a search result display device in an embodiment of the present disclosure.

图7是本公开一种实施方式中的客户端设备的硬件结构图。FIG. 7 is a hardware structure diagram of a client device in one embodiment of the present disclosure.

具体实施方式DETAILED DESCRIPTION

在本公开实施例使用的术语仅仅是出于描述特定实施例的目的,而非限制本公开。本公开和权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其它含义。还应当理解,本文中使用的术语“和/或”是指包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in the embodiments of the present disclosure are only for the purpose of describing specific embodiments, rather than limiting the present disclosure. The singular forms of "a", "said", and "the" used in the present disclosure and claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and/or" used herein refers to any or all possible combinations of one or more associated listed items.

本公开实施例中提出一种检索结果显示方法,可以应用于客户端设备,即部署有客户端的电子设备。客户端是支持检索结果显示的任意客户端,对此客户端的类型不作限制。电子设备可以是PC(个人计算机,Personal Computer)、笔记本电脑、智能手机、摄像机、NVR(网络视频录像机,Network Video Recorder)、存储设备、显示设备、管理设备等,对此电子设备的类型不作限制。A search result display method is proposed in the disclosed embodiment, which can be applied to a client device, that is, an electronic device deployed with a client. The client is any client that supports the display of search results, and the type of the client is not limited. The electronic device can be a PC (personal computer), a laptop, a smart phone, a camera, an NVR (network video recorder), a storage device, a display device, a management device, etc., and the type of the electronic device is not limited.

参见图1所示,为该检索结果显示方法的流程示意图,该方法可以包括步骤101至104。Referring to FIG. 1 , which is a flowchart of the search result display method, the method may include steps 101 to 104 .

步骤101、获取检索条件对应的检索结果。其中,该检索结果可以包括多个初始录像文件(如初始录像文件的唯一文件标识)、每个初始录像文件的通道标识、每个初始录像文件的起始时间、每个目标录像文件的结束时间。Step 101: Obtain search results corresponding to the search conditions, wherein the search results may include multiple initial video files (such as unique file identifiers of the initial video files), channel identifiers of each initial video file, start time of each initial video file, and end time of each target video file.

步骤102、基于已获取的录像片段时长划分多个时间区间。Step 102: Divide the acquired video clip into multiple time intervals based on its duration.

步骤103、针对多个时间区间的每个时间区间,基于同一通道标识对应的所有初始录像文件的起始时间和结束时间,基于处于该时间区间的一个或多个初始录像文件生成一个目标录像文件,即,将处于该时间区间的对应于同一通道标识的初始录像文件组合成目标录像文件。Step 103: For each time interval of the multiple time intervals, based on the start time and end time of all initial video files corresponding to the same channel identifier, a target video file is generated based on one or more initial video files in the time interval, that is, the initial video files corresponding to the same channel identifier in the time interval are combined into a target video file.

步骤104、在目标展示界面显示检索结果结构,其中,该检索结果结构可以包括多个数据项,所述多个数据项中每个数据项包括一个目标录像文件对应的检索数据。Step 104: Display the search result structure on the target display interface, wherein the search result structure may include multiple data items, each of which includes search data corresponding to a target video file.

示例性的,针对所述多个时间区间的每个时间区间,基于同一通道标识对应的所有初始录像文件的起始时间和结束时间,基于处于该时间区间的一个或多个初始录像文件以生成一个目标录像文件,可以包括但不限于:若存在起始时间早于该时间区间且结束时间处于该时间区间的初始录像文件,则从该初始录像文件截取第一子录像文件,该第一子录像文件的起始时间可以为该时间区间的起始时间,且该第一子录像文件的结束时间可以为该初始录像文件的结束时间;基于第一子录像文件生成目标录像文件。若存在结束时间晚于该时间区间且起始时间处于该时间区间的初始录像文件,则从该初始录像文件截取第二子录像文件,该第二子录像文件的起始时间可以为该初始录像文件的起始时间,且该第二子录像文件的结束时间可以为该时间区间的结束时间;基于第二子录像文件生成目标录像文件。若存在起始时间早于该时间区间且结束时间晚于该时间区间的初始录像文件,则从该初始录像文件截取第三子录像文件,该第三子录像文件的起始时间可以为该时间区间的起始时间,且该第三子录像文件的结束时间可以为该时间区间的结束时间;基于第三子录像文件生成目标录像文件。若存在起始时间处于该时间区间且结束时间处于该时间区间的初始录像文件,则基于该初始录像文件生成目标录像文件。Exemplarily, for each time interval of the multiple time intervals, based on the start time and end time of all initial video files corresponding to the same channel identifier, a target video file is generated based on one or more initial video files in the time interval, which may include but is not limited to: if there is an initial video file with a start time earlier than the time interval and an end time in the time interval, a first sub-video file is intercepted from the initial video file, the start time of the first sub-video file may be the start time of the time interval, and the end time of the first sub-video file may be the end time of the initial video file; the target video file is generated based on the first sub-video file. If there is an initial video file with an end time later than the time interval and a start time in the time interval, a second sub-video file is intercepted from the initial video file, the start time of the second sub-video file may be the start time of the initial video file, and the end time of the second sub-video file may be the end time of the time interval; the target video file is generated based on the second sub-video file. If there is an initial video file whose start time is earlier than the time interval and whose end time is later than the time interval, a third sub-video file is intercepted from the initial video file, and the start time of the third sub-video file can be the start time of the time interval, and the end time of the third sub-video file can be the end time of the time interval; the target video file is generated based on the third sub-video file. If there is an initial video file whose start time is within the time interval and whose end time is within the time interval, the target video file is generated based on the initial video file.

示例性的,若客户端设备的显示模式为列表显示模式,则该检索结果结构为检索结果列表,针对每个目标录像文件,目标录像文件对应的检索数据包括以下至少一种:目标录像文件的通道标识、目标录像文件的起始时间、目标录像文件的结束时间、目标录像文件的时长;其中,目标录像文件的起始时间是目标录像文件对应的所有(一个或多个)初始录像文件的最早时间,目标录像文件的结束时间是目标录像文件对应的所有初始录像文件的最晚时间,目标录像文件的时长是目标录像文件对应的所有初始录像文件的时长之和。或者,若客户端设备的显示模式为缩略图显示模式,检索结果结构为检索结果缩略图,针对每个目标录像文件,目标录像文件对应的检索数据包括以下至少一种:目标录像文件的通道标识、目标录像文件的缩略图、目标录像文件的起始时间;其中,目标录像文件的缩略图是目标录像文件的起始时间的录像画面。Exemplarily, if the display mode of the client device is a list display mode, the search result structure is a search result list, and for each target video file, the search data corresponding to the target video file includes at least one of the following: the channel identifier of the target video file, the start time of the target video file, the end time of the target video file, and the duration of the target video file; wherein the start time of the target video file is the earliest time of all (one or more) initial video files corresponding to the target video file, the end time of the target video file is the latest time of all initial video files corresponding to the target video file, and the duration of the target video file is the sum of the durations of all initial video files corresponding to the target video file. Alternatively, if the display mode of the client device is a thumbnail display mode, the search result structure is a search result thumbnail, and for each target video file, the search data corresponding to the target video file includes at least one of the following: the channel identifier of the target video file, the thumbnail of the target video file, and the start time of the target video file; wherein the thumbnail of the target video file is the video screen at the start time of the target video file.

示例性的,基于已获取的录像片段时长划分多个时间区间,可以包括但不限于:获取目标时间轴的时间轴总长度,并确定与时间轴总长度对应的第一预设录像片段时长;基于第一预设录像片段时长将时间轴总长度划分为多个时间区间。Exemplarily, dividing the time intervals based on the acquired video clip length may include but is not limited to: obtaining the total timeline length of the target timeline, and determining a first preset video clip length corresponding to the total timeline length; dividing the total timeline length into multiple time intervals based on the first preset video clip length.

示例性的,还可以在目标展示界面显示目标时间轴,该目标时间轴的长度为时间轴总长度,该目标时间轴包括多个时间区间和每个时间区间对应的显示标记,显示标记表示该时间区间是否存在目标录像文件。Exemplarily, a target timeline may also be displayed on the target display interface. The length of the target timeline is the total length of the timeline. The target timeline includes multiple time intervals and a display mark corresponding to each time interval. The display mark indicates whether there is a target video file in the time interval.

若接收到针对存在目标录像文件的第一时间区间的悬浮操作指令,则显示第一时间区间对应的所有目标录像文件的通道标识和/或起始时间。If a floating operation instruction for a first time interval in which a target video file exists is received, the channel identifiers and/or start times of all target video files corresponding to the first time interval are displayed.

若接收到针对第一时间区间对应的第一目标录像文件的点击操作指令,则可以播放第一目标录像文件的画面,和/或,将目标展示界面显示的检索结果结构跳转到第一目标录像文件对应的数据项。If a click operation instruction for the first target video file corresponding to the first time interval is received, the screen of the first target video file can be played, and/or the search result structure displayed on the target display interface can be jumped to the data item corresponding to the first target video file.

示例性的,针对每个目标录像文件,将该目标录像文件的起始时间转换为目标时区的起始时间,将该目标录像文件的结束时间转换为目标时区的结束时间。基于该目标录像文件的目标时区的起始时间和目标时区的结束时间,确定该目标录像文件在目标时间轴上所属的时间区间。在显示第一时间区间对应的所有目标录像文件的起始时间时,显示第一时间区间对应的所有目标录像文件的目标时区的起始时间。或者,针对每个目标录像文件,基于该目标录像文件的原始时区的起始时间和原始时区的结束时间,确定该目标录像文件在目标时间轴上所属的时间区间;在显示第一时间区间对应的所有目标录像文件的起始时间时,显示第一时间区间对应的所有目标录像文件的原始时区的起始时间。Exemplarily, for each target video file, the start time of the target video file is converted into the start time of the target time zone, and the end time of the target video file is converted into the end time of the target time zone. Based on the start time of the target time zone and the end time of the target time zone of the target video file, the time interval to which the target video file belongs on the target time axis is determined. When the start time of all target video files corresponding to the first time interval is displayed, the start time of the target time zone of all target video files corresponding to the first time interval is displayed. Alternatively, for each target video file, based on the start time of the original time zone of the target video file and the end time of the original time zone, the time interval to which the target video file belongs on the target time axis is determined; when the start time of all target video files corresponding to the first time interval is displayed, the start time of the original time zone of all target video files corresponding to the first time interval is displayed.

示例性的,若接收到针对目标时间轴的缩放操作指令,则获取与缩放操作指令匹配的变化后的时间轴总长度;其中,若缩放操作指令是放大操作指令,则增加目标时间轴的时间轴总长度以得到变化后的时间轴总长度;若缩放操作指令是缩小操作指令,则降低目标时间轴的时间轴总长度以得到变化后的时间轴总长度。Exemplarily, if a zoom operation instruction for the target timeline is received, the total length of the timeline after the change that matches the zoom operation instruction is obtained; wherein, if the zoom operation instruction is a zoom-in operation instruction, the total length of the timeline of the target timeline is increased to obtain the total length of the timeline after the change; if the zoom operation instruction is a zoom-out operation instruction, the total length of the timeline of the target timeline is reduced to obtain the total length of the timeline after the change.

获取变化后的时间轴总长度对应的第二预设录像片段时长,基于第二预设录像片段时长将变化后的时间轴总长度划分为多个时间区间;其中,变化后的时间轴总长度越长时第二预设录像片段时长越长。The second preset video segment duration corresponding to the changed total timeline length is obtained, and the changed total timeline length is divided into multiple time intervals based on the second preset video segment duration; wherein, the longer the changed total timeline length is, the longer the second preset video segment duration is.

示例性的,在目标展示界面显示检索结果结构时,若接收到针对第二目标录像文件的数据项的点击操作指令,则播放第二目标录像文件的画面。在此基础上,还可以基于第二目标录像文件的起始时间和结束时间确定第二目标录像文件在目标时间轴上所属的时间区间。为该目标时间轴上的该时间区间设置已播放标记;其中,已播放标记表示该时间区间存在正在播放的目标录像文件。Exemplarily, when the search result structure is displayed on the target display interface, if a click operation instruction for the data item of the second target video file is received, the screen of the second target video file is played. On this basis, the time interval to which the second target video file belongs on the target time axis can also be determined based on the start time and end time of the second target video file. A played mark is set for the time interval on the target time axis; wherein the played mark indicates that there is a target video file being played in the time interval.

示例性的,将目标展示界面显示的检索结果结构跳转到第一目标录像文件对应的数据项,可以包括但不限于:确定检索结果结构当前加载的最后一个目标录像文件的第一排序位置、以及第一目标录像文件的第二排序位置;其中,排序位置用于表示目标录像文件的数据项在所有目标录像文件的数据项中的位置关系(即表示所有目标录像文件的数据项中的第几个数据项);基于第二排序位置与第一排序位置之间的间隔位置数量、以及检索结果结构的每页加载的数据项数量,确定跳转间隔页数;基于跳转间隔页数,将检索结果结构跳转到第一目标录像文件对应的数据项,以加载显示第一目标录像文件对应的数据项。Exemplarily, jumping the search result structure displayed on the target display interface to the data item corresponding to the first target video file may include, but is not limited to: determining the first sorting position of the last target video file currently loaded in the search result structure, and the second sorting position of the first target video file; wherein the sorting position is used to indicate the positional relationship of the data item of the target video file among the data items of all target video files (i.e., indicating the nth data item among the data items of all target video files); determining the number of jump interval pages based on the number of interval positions between the second sorting position and the first sorting position, and the number of data items loaded per page of the search result structure; and jumping the search result structure to the data item corresponding to the first target video file based on the number of jump interval pages, so as to load and display the data item corresponding to the first target video file.

示例性的,获取检索条件对应的检索结果,包括但不限于:获取与检索条件对应的多个检索录像文件;将多个检索录像文件确定为初始录像文件;或,获取感兴趣通道的目标通道标识;基于每个检索录像文件的通道标识,从所有检索录像文件中选取与目标通道标识匹配的检索录像文件作为初始录像文件。Exemplarily, obtaining search results corresponding to the search conditions includes, but is not limited to: obtaining multiple search video files corresponding to the search conditions; determining the multiple search video files as initial video files; or obtaining the target channel identifier of the channel of interest; based on the channel identifier of each search video file, selecting the search video file that matches the target channel identifier from all search video files as the initial video file.

由以上技术方案可见,本公开实施例中,可以基于录像片段时长划分多个时间区间,将时间区间内的初始录像文件进行组合得到目标录像文件,显示目标录像文件的检索数据,从而整合时间区间内的录像文件,以时间区间为粒度进行录像文件的展示,提高用户体验和显示性能。可以在目标展示界面同时显示检索结果结构和目标时间轴,从而可以联动目标时间轴和检索结果结构,通过目标时间轴展示整体检索结果的时间分布情况(即目标时间轴包括多个时间区间和每个时间区间对应的显示标记,显示标记表示该时间区间是否存在目标录像文件),并通过检索结果结构展示录像文件的检索结果(即检索结果结构包括多个数据项,每个数据项包括一个目标录像文件对应的检索数据)。这样,既可以查看整体检索结果的时间分布情况,又可以查看录像文件的检索结果,从而能够提高用户体验,并提高显示性能。As can be seen from the above technical solutions, in the disclosed embodiment, multiple time intervals can be divided based on the length of the video clip, the initial video files in the time interval are combined to obtain the target video file, and the retrieval data of the target video file is displayed, thereby integrating the video files in the time interval, and displaying the video files with the time interval as the granularity, thereby improving the user experience and display performance. The retrieval result structure and the target time axis can be displayed simultaneously on the target display interface, so that the target time axis and the retrieval result structure can be linked, and the time distribution of the overall retrieval results can be displayed through the target time axis (that is, the target time axis includes multiple time intervals and display marks corresponding to each time interval, and the display mark indicates whether there is a target video file in the time interval), and the retrieval results of the video file are displayed through the retrieval result structure (that is, the retrieval result structure includes multiple data items, and each data item includes retrieval data corresponding to a target video file). In this way, both the time distribution of the overall retrieval results and the retrieval results of the video files can be viewed, thereby improving the user experience and display performance.

以下结合具体应用场景,对本公开实施例的上述技术方案进行说明。The above technical solution of the embodiment of the present disclosure is described below in conjunction with specific application scenarios.

本公开实施例中提出一种检索结果显示方法,该方法可以应用于客户端设备,图2为该检索结果显示方法的流程示意图,参见图2所示,该方法可以包括以下步骤201至207。A search result display method is proposed in an embodiment of the present disclosure. The method can be applied to a client device. FIG. 2 is a flow chart of the search result display method. Referring to FIG. 2 , the method can include the following steps 201 to 207 .

步骤201、获取检索条件对应的检索结果。Step 201: Obtain search results corresponding to the search conditions.

示例性的,针对每个摄像机来说,在摄像机采集目标场景(即摄像机的视野范围)的录像文件的过程中,若目标场景发生指定类型事件(如车辆进入事件、人体进入事件等),则会将指定类型事件的起始时间和结束时间存储到数据库中,并将录像文件的唯一文件标识存储到数据库中,并将录像文件的通道标识(即本摄像机的唯一标识,不同摄像机可以对应不同通道)存储到数据库中,即,在数据库中存储指定类型事件的起始时间和结束时间、录像文件的唯一文件标识和录像文件的通道标识以及它们之间的映射关系。Exemplarily, for each camera, during the process of the camera collecting video files of the target scene (i.e., the field of view of the camera), if a specified type of event occurs in the target scene (such as a vehicle entry event, a human entry event, etc.), the start time and end time of the specified type of event will be stored in the database, and the unique file identifier of the video file will be stored in the database, and the channel identifier of the video file (i.e., the unique identifier of this camera, different cameras can correspond to different channels) will be stored in the database, that is, the start time and end time of the specified type of event, the unique file identifier of the video file, the channel identifier of the video file, and the mapping relationship between them are stored in the database.

示例性的,在录像文件的检索过程中,可以获取检索条件,该检索条件可以包括但不限于以下至少一种:录像时间段、录像区域、检索目标(如车辆目标或者人体目标等),对此检索条件不作限制。录像时间段表示检索该录像时间段内的所有录像文件,录像区域表示检索该录像区域内的所有通道(即所有摄像机)的录像文件,检索目标表示检索录像文件内是否存在该检索目标。Exemplarily, in the process of retrieving video files, a retrieval condition may be obtained, and the retrieval condition may include but is not limited to at least one of the following: a video time period, a video area, and a retrieval target (such as a vehicle target or a human target, etc.), and there is no restriction on the retrieval condition. The video time period means retrieving all video files within the video time period, the video area means retrieving video files of all channels (i.e., all cameras) within the video area, and the retrieval target means whether the retrieval target exists in the video file.

示例性的,可以获取与该检索条件对应的检索结果,该检索结果可以包括多个初始录像文件(如初始录像文件的唯一文件标识)、每个初始录像文件的通道标识、每个初始录像文件的起始时间、每个初始录像文件的结束时间。Exemplarily, a search result corresponding to the search condition can be obtained, and the search result can include multiple initial video files (such as a unique file identifier of the initial video file), a channel identifier of each initial video file, a start time of each initial video file, and an end time of each initial video file.

比如说,以录像时间段是录像时间段A、录像区域是录像区域B、检索目标是车辆目标为例,则可以检索针对录像时间段A、录像区域B和车辆目标的录像文件(记为初始录像文件)。显然,针对检索到的初始录像文件,初始录像文件位于录像时间段A内,初始录像文件是录像区域B内的摄像机采集的录像文件,且初始录像文件内存在车辆目标(即指定类型事件是车辆进入事件,从数据库中检索目标车辆进入事件的录像文件)。For example, if the recording time period is recording time period A, the recording area is recording area B, and the search target is a vehicle target, then the recording files for recording time period A, recording area B, and vehicle target (recorded as initial recording files) can be retrieved. Obviously, for the retrieved initial recording files, the initial recording files are located in the recording time period A, the initial recording files are recording files collected by the camera in the recording area B, and the vehicle target exists in the initial recording files (that is, the specified type of event is a vehicle entry event, and the recording files of the target vehicle entry event are retrieved from the database).

针对检索到的初始录像文件,可以从数据库中查询初始录像文件的唯一文件标识、初始录像文件的通道标识、初始录像文件的起始时间(即车辆进入事件的起始时间)、初始录像文件的结束时间(即车辆进入事件的结束时间)。For the retrieved initial video file, the unique file identifier of the initial video file, the channel identifier of the initial video file, the start time of the initial video file (i.e. the start time of the vehicle entry event), and the end time of the initial video file (i.e. the end time of the vehicle entry event) can be queried from the database.

至此,可以得到检索条件对应的检索结果。在录像文件的检索过程中,可以支持多个通道的并发检索,即,基于该检索条件同时检索多个通道的录像文件,因此,在检索条件对应的检索结果中,该检索结果可以包括多个初始录像文件(如初始录像文件的唯一文件标识)、每个初始录像文件的通道标识、每个初始录像文件的起始时间、每个初始录像文件的结束时间。At this point, the search results corresponding to the search conditions can be obtained. In the process of searching for video files, concurrent searches of multiple channels can be supported, that is, video files of multiple channels can be searched simultaneously based on the search conditions. Therefore, in the search results corresponding to the search conditions, the search results can include multiple initial video files (such as unique file identifiers of initial video files), channel identifiers of each initial video file, start time of each initial video file, and end time of each initial video file.

在一种可能的实施方式中,可以针对检索结果进行过滤,支持多通道的二次过滤,即选择了感兴趣的通道时,缩略图、列表和时间轴则只显示选择通道的录像文件。基于此,还可以采用如下方式获取检索条件对应的检索结果。In a possible implementation, the search results can be filtered to support secondary filtering of multiple channels, that is, when a channel of interest is selected, the thumbnails, lists and timeline only display the video files of the selected channel. Based on this, the search results corresponding to the search conditions can also be obtained in the following manner.

方式1:获取与检索条件对应的多个检索录像文件,将多个检索录像文件确定为初始录像文件,即得到与检索条件对应的多个初始录像文件。Method 1: Acquire multiple search video files corresponding to the search condition, and determine the multiple search video files as initial video files, that is, obtain multiple initial video files corresponding to the search condition.

比如说,以录像时间段是录像时间段A、录像区域是录像区域B、检索目标是车辆目标为例,则可以检索针对录像时间段A、录像区域B和车辆目标的录像文件,将这些录像文件称为检索录像文件。在此基础上,可以将这些检索录像文件作为初始录像文件,即得到多个初始录像文件。然后,可以获取每个初始录像文件的唯一文件标识、每个初始录像文件的通道标识、每个初始录像文件的起始时间、每个初始录像文件的结束时间,即,可以得到检索结果。For example, if the recording time period is recording time period A, the recording area is recording area B, and the search target is a vehicle target, then the recording files for recording time period A, recording area B, and vehicle target can be searched, and these recording files are called searched recording files. On this basis, these searched recording files can be used as initial recording files, that is, multiple initial recording files are obtained. Then, the unique file identifier of each initial recording file, the channel identifier of each initial recording file, the start time of each initial recording file, and the end time of each initial recording file can be obtained, that is, the search result can be obtained.

方式2:获取与检索条件对应的多个检索录像文件,获取感兴趣通道的目标通道标识。基于每个检索录像文件的通道标识,可以从所有检索录像文件中选取与该目标通道标识匹配的检索录像文件作为初始录像文件。Method 2: Obtain multiple search video files corresponding to the search conditions and obtain the target channel identifier of the channel of interest. Based on the channel identifier of each search video file, a search video file matching the target channel identifier can be selected from all search video files as the initial video file.

比如说,以录像时间段是录像时间段A、录像区域是录像区域B、检索目标是车辆目标为例,则可以检索针对录像时间段A、录像区域B和车辆目标的录像文件,将这些录像文件称为检索录像文件。以及,可以获取感兴趣通道的目标通道标识(将感兴趣通道的通道标识称为目标通道标识),其中,目标通道标识可以是用户配置的通道标识,即用于实现二次过滤的通道标识。For example, if the recording time period is recording time period A, the recording area is recording area B, and the search target is a vehicle target, the recording files for recording time period A, recording area B, and vehicle target can be searched, and these recording files are referred to as searched recording files. In addition, the target channel identifier of the channel of interest can be obtained (the channel identifier of the channel of interest is referred to as the target channel identifier), wherein the target channel identifier can be a channel identifier configured by the user, that is, a channel identifier used to implement secondary filtering.

在此基础上,基于每个检索录像文件的通道标识,若该检索录像文件的通道标识与该目标通道标识相同,则该检索录像文件作为初始录像文件,若该检索录像文件的通道标识与该目标通道标识不同,则该检索录像文件不作为初始录像文件。至此,可以得到多个初始录像文件。然后,可以获取每个初始录像文件的唯一文件标识、每个初始录像文件的通道标识、每个初始录像文件的起始时间、每个初始录像文件的结束时间,即,可以得到检索结果。On this basis, based on the channel identifier of each retrieved video file, if the channel identifier of the retrieved video file is the same as the target channel identifier, then the retrieved video file is used as the initial video file, and if the channel identifier of the retrieved video file is different from the target channel identifier, then the retrieved video file is not used as the initial video file. At this point, multiple initial video files can be obtained. Then, the unique file identifier of each initial video file, the channel identifier of each initial video file, the start time of each initial video file, and the end time of each initial video file can be obtained, that is, the retrieval result can be obtained.

步骤202、基于已获取的录像片段时长划分多个时间区间。比如说,针对每个时间区间,该时间区间的长度(即时间长度)可以为该录像片段时长。Step 202: divide the acquired video clip into multiple time intervals based on the duration of the acquired video clip. For example, for each time interval, the length of the time interval (ie, the time length) may be the duration of the video clip.

比如说,可以获取预先配置的录像片段时长(如用户根据自身需求配置录像片段时长),基于该录像片段时长划分多个时间区间。比如说,目标展示界面可以包括录像片段时长有关的控件,用户通过对该控件进行操作,以设置录像片段时长。又例如,可以获取目标时间轴的时间轴总长度,并确定与时间轴总长度对应的录像片段时长,基于该录像片段时长将时间轴总长度划分为多个时间区间。当然,上述只是示例,对此录像片段时长的获取方式不做限制。For example, a pre-configured video clip duration (such as a user configuring the video clip duration according to their own needs) can be obtained, and multiple time intervals can be divided based on the video clip duration. For example, the target display interface can include a control related to the video clip duration, and the user can set the video clip duration by operating the control. For another example, the total time axis length of the target time axis can be obtained, and the video clip duration corresponding to the total time axis length can be determined, and the total time axis length can be divided into multiple time intervals based on the video clip duration. Of course, the above is only an example, and there is no limitation on the method of obtaining the video clip duration.

示例性的,针对基于目标时间轴的时间轴总长度确定录像片段时长的方式,可以先确定目标时间轴的时间轴总长度。比如说,可以预先配置目标时间轴的多个候选时长值,这些候选时长值可以是任意时长,如候选时长值可以是7天、48小时、24小时、12小时、6小时等,可以任意配置多个候选时长值。For example, for determining the duration of a video clip based on the total length of the target timeline, the total length of the target timeline may be determined first. For example, multiple candidate duration values of the target timeline may be preconfigured, and these candidate duration values may be any duration, such as 7 days, 48 hours, 24 hours, 12 hours, 6 hours, etc., and multiple candidate duration values may be arbitrarily configured.

然后,基于检索条件(如检索条件中的录像时间段)从多个候选时长值中选取时间轴总长度,时间轴总长度需要大于或等于该录像时间段的时长。比如说,假设检索条件中的录像时间段的时长大于48小时且小于等于7天,则可以将候选时长值“7天”作为目标时间轴的时间轴总长度。假设录像时间段的时长大于24小时且小于等于48小时,则可以将候选时长值“48小时”作为目标时间轴的时间轴总长度,也可以将候选时长值“7天”作为目标时间轴的时间轴总长度,时间轴总长度大于24小时即可,通常情况下,会选取与录像时间段的时长最接近的,如候选时长值“48小时”作为时间轴总长度,以此类推。Then, based on the retrieval conditions (such as the recording time period in the retrieval conditions), the total length of the time axis is selected from multiple candidate duration values, and the total length of the time axis needs to be greater than or equal to the length of the recording time period. For example, assuming that the length of the recording time period in the retrieval conditions is greater than 48 hours and less than or equal to 7 days, the candidate duration value "7 days" can be used as the total length of the time axis of the target time axis. Assuming that the length of the recording time period is greater than 24 hours and less than or equal to 48 hours, the candidate duration value "48 hours" can be used as the total length of the time axis of the target time axis, or the candidate duration value "7 days" can be used as the total length of the time axis of the target time axis. The total length of the time axis can be greater than 24 hours. Usually, the one closest to the length of the recording time period will be selected, such as the candidate duration value "48 hours" as the total length of the time axis, and so on.

若录像时间段的时长大于7天,即大于最大的候选时长值,则可以向用户提示超出检索范围,需要将录像时间段的时长控制在7天之内,这样,由用户重新输入检索条件,基于该检索条件检索数据,该过程参见步骤201。If the duration of the recording time period is greater than 7 days, that is, greater than the maximum candidate duration value, the user may be prompted that the search range is exceeded and the duration of the recording time period needs to be controlled within 7 days. In this way, the user re-enters the search conditions and retrieves data based on the search conditions. The process refers to step 201.

示例性的,在得到时间轴总长度之后,可以确定与时间轴总长度对应的录像片段时长。比如说,可以预先配置候选时长值与录像片段时长之间的对应关系,对此对应关系不做限制,可以根据经验配置,候选时长值越长时录像片段时长越长。比如说,候选时长值是7天,录像片段时长可以是3小时、2小时、1小时等,对此不作限制。候选时长值是24小时,录像片段时长可以是30分钟、25分钟、20分钟,对此不作限制。候选时长值是12小时,录像片段时长可以是20分钟、15分钟、10分钟,对此不作限制。候选时长值是6小时,录像片段时长可以是10分钟、8分钟、5分钟,对此不作限制。当然,上述只是候选时长值与录像片段时长的关系的几个示例,可以任意配置录像片段时长。Exemplarily, after obtaining the total length of the time axis, the duration of the video clip corresponding to the total length of the time axis can be determined. For example, the corresponding relationship between the candidate duration value and the duration of the video clip can be pre-configured, and there is no restriction on this corresponding relationship. It can be configured based on experience. The longer the candidate duration value is, the longer the video clip duration is. For example, if the candidate duration value is 7 days, the duration of the video clip can be 3 hours, 2 hours, 1 hour, etc., and there is no restriction on this. If the candidate duration value is 24 hours, the duration of the video clip can be 30 minutes, 25 minutes, 20 minutes, and there is no restriction on this. If the candidate duration value is 12 hours, the duration of the video clip can be 20 minutes, 15 minutes, 10 minutes, and there is no restriction on this. If the candidate duration value is 6 hours, the duration of the video clip can be 10 minutes, 8 minutes, 5 minutes, and there is no restriction on this. Of course, the above are just a few examples of the relationship between the candidate duration value and the duration of the video clip, and the duration of the video clip can be configured arbitrarily.

在此基础上,若时间轴总长度是7天,则时间轴总长度对应的录像片段时长可以是3小时,若时间轴总长度是24小时,则时间轴总长度对应的录像片段时长可以是30分钟,以此类推,从而可以得到录像片段时长。On this basis, if the total length of the timeline is 7 days, the length of the video clip corresponding to the total length of the timeline can be 3 hours. If the total length of the timeline is 24 hours, the length of the video clip corresponding to the total length of the timeline can be 30 minutes, and so on, so as to obtain the length of the video clip.

在得到时间轴总长度对应的录像片段时长之后,就可以基于该录像片段时长将时间轴总长度划分为多个时间区间。比如说,假设时间轴总长度是24小时,录像片段时长是30分钟,则可以划分出48个时间区间,每个时间区间的长度为30分钟。比如说,第1个时间区间是0:00-0:30,第2个时间区间是0:30-1:00,第3个时间区间是1:00-1:30,...,以此类推,第48个时间区间是23:30-24:00。又例如,假设时间轴总长度是12小时,录像片段时长是20分钟,则可以划分出36个时间区间,每个时间区间的长度为20分钟。又例如,假设时间轴总长度是6小时,录像片段时长是10分钟,则可以划分出36个时间区间,每个时间区间的长度为10分钟,以此类推。至此,可以得到多个时间区间。After obtaining the duration of the video clip corresponding to the total length of the time axis, the total length of the time axis can be divided into multiple time intervals based on the duration of the video clip. For example, assuming that the total length of the time axis is 24 hours and the duration of the video clip is 30 minutes, 48 time intervals can be divided, and the length of each time interval is 30 minutes. For example, the first time interval is 0:00-0:30, the second time interval is 0:30-1:00, the third time interval is 1:00-1:30, ..., and so on, the 48th time interval is 23:30-24:00. For another example, assuming that the total length of the time axis is 12 hours and the duration of the video clip is 20 minutes, 36 time intervals can be divided, and the length of each time interval is 20 minutes. For another example, assuming that the total length of the time axis is 6 hours and the duration of the video clip is 10 minutes, 36 time intervals can be divided, and the length of each time interval is 10 minutes, and so on. At this point, multiple time intervals can be obtained.

步骤203、针对每个时间区间,基于同一通道标识对应的所有初始录像文件的起始时间和结束时间,基于处于该时间区间的一个或多个初始录像文件生成一个目标录像文件,即,将处于该时间区间的对应于同一通道标识的初始录像文件组合成目标录像文件。Step 203: for each time interval, based on the start time and end time of all initial video files corresponding to the same channel identifier, a target video file is generated based on one or more initial video files in the time interval, that is, the initial video files corresponding to the same channel identifier in the time interval are combined into the target video file.

比如说,以通道标识为粒度,确定每个通道标识对应的所有初始录像文件,比如说,找到通道标识AAA对应的所有初始录像文件、通道标识BBB对应的所有初始录像文件、通道标识CCC对应的所有初始录像文件,以此类推。For example, with the channel identifier as the granularity, all initial video files corresponding to each channel identifier are determined, for example, all initial video files corresponding to the channel identifier AAA, all initial video files corresponding to the channel identifier BBB, all initial video files corresponding to the channel identifier CCC, and so on.

基于同一通道标识对应的所有初始录像文件的起始时间和结束时间,如通道标识AAA对应的所有初始录像文件的起始时间和结束时间,针对每个时间区间,基于处于该时间区间的初始录像文件生成目标录像文件。比如说,假设通道标识AAA对应处于时间区间“0:00-0:30”的初始录像文件a1和初始录像文件a2,则基于初始录像文件a1和初始录像文件a2生成时间区间“0:00-0:30”对应的目标录像文件b1;假设通道标识AAA对应处于时间区间“0:30-1:00”的初始录像文件a3、初始录像文件a4和初始录像文件a5,则基于初始录像文件a3、初始录像文件a4和初始录像文件a5生成时间区间“0:30-1:00”对应的目标录像文件b2;假设通道标识AAA未对应处于时间区间“1:00-1:30”的初始录像文件,则不存在时间区间“1:00-1:30”对应的目标录像文件,以此类推。Based on the start time and end time of all initial video files corresponding to the same channel identifier, such as the start time and end time of all initial video files corresponding to the channel identifier AAA, for each time interval, a target video file is generated based on the initial video files in the time interval. For example, assuming that the channel identifier AAA corresponds to the initial video files a1 and a2 in the time interval "0:00-0:30", then the target video file b1 corresponding to the time interval "0:00-0:30" is generated based on the initial video files a1 and a2; assuming that the channel identifier AAA corresponds to the initial video files a3, a4 and a5 in the time interval "0:30-1:00", then the target video file b2 corresponding to the time interval "0:30-1:00" is generated based on the initial video files a3, a4 and a5; assuming that the channel identifier AAA does not correspond to the initial video files in the time interval "1:00-1:30", then there is no target video file corresponding to the time interval "1:00-1:30", and so on.

至此,可以得到通道标识AAA对应的至少一个目标录像文件,每个目标录像文件对应一个时间区间。若划分出48个时间区间,则通道标识AAA对应的目标录像文件的数量小于或等于48,即部分时间区间可能未对应目标录像文件。At this point, at least one target video file corresponding to the channel identifier AAA can be obtained, and each target video file corresponds to a time interval. If 48 time intervals are divided, the number of target video files corresponding to the channel identifier AAA is less than or equal to 48, that is, some time intervals may not correspond to target video files.

在一种可能的实施方式中,针对每个时间区间,以时间区间“0:30-1:00”为例,若存在起始时间早于该时间区间且结束时间处于该时间区间的初始录像文件,如初始录像文件的起始时间为0:20,结束时间为0:35,则从该初始录像文件截取第一子录像文件,该第一子录像文件的起始时间可以为0:30,且该第一子录像文件的结束时间可以为0:35,且目标录像文件包括第一子录像文件。In a possible implementation, for each time interval, taking the time interval "0:30-1:00" as an example, if there is an initial video file whose start time is earlier than the time interval and whose end time is in the time interval, such as the start time of the initial video file is 0:20 and the end time is 0:35, then a first sub-video file is captured from the initial video file, the start time of the first sub-video file may be 0:30, and the end time of the first sub-video file may be 0:35, and the target video file includes the first sub-video file.

若存在结束时间晚于该时间区间且起始时间处于该时间区间的初始录像文件,如初始录像文件的起始时间为0:55,结束时间为1:35,则从该初始录像文件截取第二子录像文件,该第二子录像文件的起始时间可以为0:55,且该第二子录像文件的结束时间可以为1:00,且目标录像文件包括第二子录像文件。If there is an initial video file whose end time is later than the time interval and whose start time is within the time interval, such as the start time of the initial video file is 0:55 and the end time is 1:35, then a second sub-video file is captured from the initial video file, the start time of the second sub-video file may be 0:55, and the end time of the second sub-video file may be 1:00, and the target video file includes the second sub-video file.

若存在起始时间早于该时间区间且结束时间晚于该时间区间的初始录像文件,如初始录像文件的起始时间为0:20,结束时间为1:05,则从该初始录像文件截取第三子录像文件,该第三子录像文件的起始时间可以为0:30,且该第三子录像文件的结束时间可以为1:00,且目标录像文件包括第三子录像文件。If there is an initial video file whose start time is earlier than the time interval and whose end time is later than the time interval, such as the start time of the initial video file is 0:20 and the end time is 1:05, then a third sub-video file is captured from the initial video file, the start time of the third sub-video file may be 0:30, and the end time of the third sub-video file may be 1:00, and the target video file includes the third sub-video file.

若存在起始时间处于该时间区间且结束时间处于该时间区间的初始录像文件,如初始录像文件的起始时间为0:40,结束时间为0:45,则目标录像文件包括该初始录像文件。If there is an initial video file whose start time is within the time interval and whose end time is within the time interval, for example, the start time of the initial video file is 0:40 and the end time is 0:45, then the target video file includes the initial video file.

为了方便描述,以目标录像文件包括起始时间为0:30且结束时间为0:35的初始录像文件(第一子录像文件)、起始时间为0:40且结束时间为0:45的初始录像文件、起始时间为0:55且结束时间为1:00的初始录像文件(第二子录像文件)为例,即将上述三个初始录像文件拼接在一起得到目标录像文件。在拼接过程中,0:35的画面与0:40的画面拼接,0:45的画面与0:55的画面拼接即可。For the convenience of description, take the target video file as an example, including an initial video file (first sub-video file) with a start time of 0:30 and an end time of 0:35, an initial video file with a start time of 0:40 and an end time of 0:45, and an initial video file (second sub-video file) with a start time of 0:55 and an end time of 1:00, and then splice the above three initial video files together to obtain the target video file. In the splicing process, the picture at 0:35 is spliced with the picture at 0:40, and the picture at 0:45 is spliced with the picture at 0:55.

步骤204、在目标展示界面显示检索结果列表。比如说,若客户端设备的显示模式为列表显示模式,则在目标展示界面显示检索结果列表。Step 204: Display the search result list on the target display interface. For example, if the display mode of the client device is a list display mode, the search result list is displayed on the target display interface.

示例性的,该检索结果列表可以包括多个数据项,针对该检索结果列表的每个数据项,该数据项包括一个目标录像文件对应的检索数据,该检索数据可以包括但不限于以下至少一种:目标录像文件的通道标识、目标录像文件的起始时间、目标录像文件的结束时间、目标录像文件的时长。除了上述内容,该检索数据还可以包括该通道标识对应的目标录像文件的数量等,对此不做限制。Exemplarily, the search result list may include multiple data items. For each data item in the search result list, the data item includes search data corresponding to a target video file. The search data may include, but is not limited to, at least one of the following: a channel identifier of the target video file, a start time of the target video file, an end time of the target video file, and a duration of the target video file. In addition to the above content, the search data may also include the number of target video files corresponding to the channel identifier, etc., which is not limited.

目标录像文件的起始时间是目标录像文件对应的所有初始录像文件的最早时间,目标录像文件的结束时间是目标录像文件对应的所有初始录像文件的最晚时间,目标录像文件的时长是目标录像文件对应的所有初始录像文件的时长之和。比如说,目标录像文件对应起始时间为0:30且结束时间为0:35的初始录像文件、起始时间为0:40且结束时间为0:45的初始录像文件、起始时间为0:55且结束时间为1:00的初始录像文件时,起始时间是这些录像文件的最早时间0:30,结束时间这些录像文件的最晚时间1:00,时长是15分钟(5+5+5)。又例如,目标录像文件对应起始时间为0:30且结束时间为0:33的初始录像文件、起始时间为0:40且结束时间为0:45的初始录像文件时,起始时间是这些录像文件的最早时间0:30,结束时间这些录像文件的最晚时间0:45,时长是8分钟。The start time of the target video file is the earliest time of all the initial video files corresponding to the target video file, the end time of the target video file is the latest time of all the initial video files corresponding to the target video file, and the duration of the target video file is the sum of the durations of all the initial video files corresponding to the target video file. For example, when the target video file corresponds to an initial video file with a start time of 0:30 and an end time of 0:35, an initial video file with a start time of 0:40 and an end time of 0:45, and an initial video file with a start time of 0:55 and an end time of 1:00, the start time is the earliest time of these video files 0:30, the end time is the latest time of these video files 1:00, and the duration is 15 minutes (5+5+5). For another example, when the target video file corresponds to an initial video file with a start time of 0:30 and an end time of 0:33, and an initial video file with a start time of 0:40 and an end time of 0:45, the start time is the earliest time of these video files 0:30, the end time is the latest time of these video files 0:45, and the duration is 8 minutes.

比如说,参见图3A所示,为该检索结果列表的一个示例。从图3A可以看出,通道标识AAA对应6个目标录像文件,第一个目标录像文件的起始时间是2023/11/1012:10:10,第一个目标录像文件的结束时间是2023/11/10 12:30:10,第一个目标录像文件的时长是20分钟,第一个目标录像文件的通道标识是通道标识AAA,第一个目标录像文件表示检索结果列表的一个数据项,以此类推。通道标识BBB对应8个目标录像文件,第一个目标录像文件的起始时间是2023/11/11 10:10:10,第一个目标录像文件的结束时间是2023/11/11 10:35:10,第一个目标录像文件的时长是25分钟,第一个目标录像文件的通道标识是通道标识BBB,第一个目标录像文件表示检索结果列表的一个数据项,以此类推。For example, see FIG3A , which is an example of the search result list. As can be seen from FIG3A , the channel identifier AAA corresponds to 6 target video files, the start time of the first target video file is 2023/11/10 12:10:10, the end time of the first target video file is 2023/11/10 12:30:10, the duration of the first target video file is 20 minutes, the channel identifier of the first target video file is the channel identifier AAA, and the first target video file represents a data item in the search result list, and so on. The channel identifier BBB corresponds to 8 target video files, the start time of the first target video file is 2023/11/11 10:10:10, the end time of the first target video file is 2023/11/11 10:35:10, the duration of the first target video file is 25 minutes, the channel identifier of the first target video file is the channel identifier BBB, and the first target video file represents a data item in the search result list, and so on.

在一种可能的实施方式中,在目标展示界面显示检索结果列表时,检索结果列表首次加载K个数据项,K可以为正整数,如100、150、200等,以K是150为例,则检索结果列表首次加载150个数据项,即,在图3A所示的检索结果列表显示150个数据项。在后续过程中,可以通过滚动方式增量加载剩余数据项。比如说,在向下滚动检索结果列表时,可以增量加载剩余数据项。在向下滚动检索结果列表时,依次加载第151个数据项、第152个数据项、...。In a possible implementation, when the search result list is displayed on the target display interface, the search result list first loads K data items, where K can be a positive integer, such as 100, 150, 200, etc. Taking K as 150 as an example, the search result list first loads 150 data items, that is, the search result list shown in FIG3A displays 150 data items. In the subsequent process, the remaining data items can be incrementally loaded by scrolling. For example, when scrolling down the search result list, the remaining data items can be incrementally loaded. When scrolling down the search result list, the 151st data item, the 152nd data item, ... are loaded in sequence.

步骤205、在目标展示界面显示目标时间轴。比如说,若客户端设备的显示模式为列表显示模式,则在目标展示界面同时显示检索结果列表和目标时间轴。Step 205: Display the target timeline on the target display interface. For example, if the display mode of the client device is a list display mode, the search result list and the target timeline are displayed simultaneously on the target display interface.

示例性的,目标时间轴的长度为时间轴总长度,且已经将时间轴总长度划分为多个时间区间,因此,目标时间轴可以包括多个时间区间和每个时间区间对应的显示标记,且显示标记表示该时间区间存在目标录像文件或者不存在目标录像文件。比如说,目标时间轴可以包括时间区间0:00-0:30、时间区间0:30-1:00、时间区间1:00-1:30、...、以此类推,对此不做限制。Exemplarily, the length of the target timeline is the total length of the timeline, and the total length of the timeline has been divided into multiple time intervals, so the target timeline can include multiple time intervals and display marks corresponding to each time interval, and the display mark indicates that the target video file exists in the time interval or does not exist. For example, the target timeline can include the time interval 0:00-0:30, the time interval 0:30-1:00, the time interval 1:00-1:30, ..., and so on, without limitation.

示例性的,针对目标时间轴的多个时间区间,每个时间区间可以对应显示标记。其中,若某个时间区间存在目标录像文件,即目标录像文件的起始时间和结束时间位于该时间区间,那么,为该时间区间配置显示标记,且该显示标记表示该时间区间存在目标录像文件。若某个时间区间不存在目标录像文件,即所有目标录像文件的起始时间和结束时间均不位于该时间区间,那么,为该时间区间配置显示标记,且该显示标记表示该时间区间不存在目标录像文件。Exemplarily, for multiple time intervals of the target time axis, each time interval may correspond to a display mark. If a target video file exists in a certain time interval, that is, the start time and end time of the target video file are in the time interval, then a display mark is configured for the time interval, and the display mark indicates that the target video file exists in the time interval. If a target video file does not exist in a certain time interval, that is, the start time and end time of all target video files are not in the time interval, then a display mark is configured for the time interval, and the display mark indicates that the target video file does not exist in the time interval.

显示标记可以是颜色显示标记,如灰色显示标记或黑色显示标记表示该时间区间存在目标录像文件,白色显示标记表示该时间区间不存在目标录像文件。显示标记可以是形状显示标记,如矩形显示标记或正方形显示标记表示该时间区间存在目标录像文件,圆形显示标记表示该时间区间不存在目标录像文件。显示标记可以是数字显示标记,如数字1表示该时间区间存在目标录像文件,数字2表示该时间区间不存在目标录像文件。显示标记可以是符号显示标记,如句号表示该时间区间存在目标录像文件,问号表示该时间区间不存在目标录像文件。当然,上述只是显示标记的几个示例,对此显示标记不作限制。The display mark may be a color display mark, such as a gray display mark or a black display mark indicating that the target video file exists in the time interval, and a white display mark indicating that the target video file does not exist in the time interval. The display mark may be a shape display mark, such as a rectangular display mark or a square display mark indicating that the target video file exists in the time interval, and a circular display mark indicating that the target video file does not exist in the time interval. The display mark may be a digital display mark, such as the number 1 indicating that the target video file exists in the time interval, and the number 2 indicating that the target video file does not exist in the time interval. The display mark may be a symbol display mark, such as a period indicating that the target video file exists in the time interval, and a question mark indicating that the target video file does not exist in the time interval. Of course, the above are just a few examples of display marks, and there is no limitation to this display mark.

比如说,参见图3B所示,为在目标展示界面同时显示检索结果列表和目标时间轴的示意图,以目标时间轴包括12个时间区间为例进行说明。第1个时间区间是0:00-1:00,通过灰色显示标记表示该时间区间存在目标录像文件,第2个时间区间是1:00-2:00,通过灰色显示标记表示该时间区间存在目标录像文件,第3个时间区间是2:00-3:00,通过白色显示标记表示该时间区间不存在目标录像文件,以此类推,可以显示这12个时间区间是否存在目标录像文件。For example, referring to FIG3B , which is a schematic diagram showing the search result list and the target time axis simultaneously displayed in the target display interface, the target time axis includes 12 time intervals as an example. The first time interval is 0:00-1:00, and the gray display mark indicates that the target video file exists in the time interval. The second time interval is 1:00-2:00, and the gray display mark indicates that the target video file exists in the time interval. The third time interval is 2:00-3:00, and the white display mark indicates that the target video file does not exist in the time interval. By analogy, it can be displayed whether the target video file exists in these 12 time intervals.

综上所述,目标时间轴可以包括多个时间区间和每个时间区间对应的显示标记,且显示标记表示该时间区间是否存在目标录像文件。In summary, the target time axis may include multiple time intervals and a display mark corresponding to each time interval, and the display mark indicates whether there is a target video file in the time interval.

在一种可能的实施方式中,针对不同通道的目标录像文件,可以在目标时间轴上采用不同颜色标注区分。比如说,显示标记可以是颜色显示标记,如灰色显示标记表示时间区间存在通道标识AAA对应的目标录像文件,黑色显示标记表示时间区间存在通道标识BBB对应的目标录像文件,红色显示标记表示时间区间存在通道标识CCC对应的目标录像文件,紫色显示标记表示时间区间存在通道标识DDD对应的目标录像文件,白色显示标记表示时间区间不存在目标录像文件。在此基础上,若某个时间区间存在通道标识CCC对应的目标录像文件,则为该时间区间配置红色显示标记,若某个时间区间存在通道标识CCC对应的目标录像文件和通道标识DDD对应的目标录像文件,则为该时间区间配置红色显示标记和紫色显示标记,即红色和紫色融合后的显示标记。当然,上述只是示例,使用不同颜色显示标记区分不同通道标识对应的目标录像文件即可。In a possible implementation, different colors can be used to distinguish target video files of different channels on the target time axis. For example, the display mark can be a color display mark, such as a gray display mark indicating that a target video file corresponding to the channel identifier AAA exists in the time interval, a black display mark indicating that a target video file corresponding to the channel identifier BBB exists in the time interval, a red display mark indicating that a target video file corresponding to the channel identifier CCC exists in the time interval, a purple display mark indicating that a target video file corresponding to the channel identifier DDD exists in the time interval, and a white display mark indicating that no target video file exists in the time interval. On this basis, if a target video file corresponding to the channel identifier CCC exists in a certain time interval, a red display mark is configured for the time interval, and if a target video file corresponding to the channel identifier CCC and a target video file corresponding to the channel identifier DDD exist in a certain time interval, a red display mark and a purple display mark are configured for the time interval, that is, a display mark after the red and purple are merged. Of course, the above is just an example, and different color display marks can be used to distinguish target video files corresponding to different channel identifiers.

在一种可能的实施方式中,目标时间轴还可以支持缩放时间精度(即缩放时间轴总长度),进而根据目标时间轴的精度自动将所有录像文件重新进行组合,目标时间轴的精度越高,则对应录像文件的时长越短。In a possible implementation, the target timeline can also support scaling time accuracy (i.e. scaling the total length of the timeline), and then automatically recombining all video files according to the accuracy of the target timeline. The higher the accuracy of the target timeline, the shorter the duration of the corresponding video file.

示例性的,若接收到针对目标时间轴的缩放操作指令,则可以获取与缩放操作指令匹配的变化后的时间轴总长度。其中,若缩放操作指令是放大操作指令,如鼠标滚轮向下操作(或鼠标滚轮向上操作)或者缩放按钮的向上按压操作,均可以触发放大操作指令。在放大操作指令下,可以增加时间轴总长度得到变化后的时间轴总长度,进而获取变化后的时间轴总长度对应的第二预设录像片段时长,基于第二预设录像片段时长将变化后的时间轴总长度划分为多个时间区间,即时间区间发生变化。在时间区间发生变化时,目标录像文件也会同步发生变化,如基于变化后的时间区间,基于处于该时间区间的初始录像文件生成目标录像文件。在时间区间发生变化时,已显示的目标时间轴也会同步发生变化。其中,变化后的时间轴总长度越长时第二预设录像片段时长越长。Exemplarily, if a zoom operation instruction for a target timeline is received, the total length of the timeline after the change that matches the zoom operation instruction can be obtained. Wherein, if the zoom operation instruction is a zoom operation instruction, such as a downward operation of the mouse wheel (or an upward operation of the mouse wheel) or an upward pressing operation of the zoom button, the zoom operation instruction can be triggered. Under the zoom operation instruction, the total length of the timeline can be increased to obtain the total length of the timeline after the change, and then the second preset video segment duration corresponding to the total length of the timeline after the change is obtained, and the total length of the timeline after the change is divided into multiple time intervals based on the second preset video segment duration, that is, the time interval changes. When the time interval changes, the target video file will also change synchronously, such as based on the changed time interval, the target video file is generated based on the initial video file in the time interval. When the time interval changes, the displayed target timeline will also change synchronously. Wherein, the longer the total length of the timeline after the change is, the longer the second preset video segment duration is.

比如说,当前时间轴总长度是24小时,在放大操作指令下,将时间轴总长度增加到7天,录像片段时长从30分钟增加到3小时。这样,在3小时的基础上,重新生成目标录像文件,并重新显示目标时间轴,实现方式参见上述步骤,在此不再重复赘述。又例如,当前时间轴总长度是12小时,在放大操作指令下,将时间轴总长度增加到24小时,录像片段时长从20分钟增加到30分钟。For example, if the total length of the current timeline is 24 hours, under the zoom operation instruction, the total length of the timeline is increased to 7 days, and the length of the video clip is increased from 30 minutes to 3 hours. In this way, based on 3 hours, the target video file is regenerated and the target timeline is redisplayed. The implementation method is referred to the above steps and will not be repeated here. For another example, if the total length of the current timeline is 12 hours, under the zoom operation instruction, the total length of the timeline is increased to 24 hours, and the length of the video clip is increased from 20 minutes to 30 minutes.

示例性的,若接收到针对目标时间轴的缩放操作指令,则可以获取与缩放操作指令匹配的变化后的时间轴总长度。其中,若缩放操作指令是缩小操作指令,如鼠标滚轮向上操作(或鼠标滚轮向下操作)或者缩放按钮的向下按压操作,均可以触发缩小操作指令。在缩小操作指令下,可以降低时间轴总长度得到变化后的时间轴总长度,进而获取变化后的时间轴总长度对应的第二预设录像片段时长,基于第二预设录像片段时长将变化后的时间轴总长度划分为多个时间区间,即时间区间发生变化。在时间区间发生变化时,目标录像文件也会同步发生变化,如基于变化后的时间区间,基于处于该时间区间的初始录像文件生成目标录像文件。在时间区间发生变化时,已显示的目标时间轴也会同步发生变化。比如说,当前时间轴总长度是24小时,在缩小操作指令下,将时间轴总长度降低到12小时,录像片段时长从30分钟降低到20分钟。Exemplarily, if a zoom operation instruction for a target timeline is received, the total length of the timeline after the change that matches the zoom operation instruction can be obtained. Wherein, if the zoom operation instruction is a zoom-out instruction, such as an upward operation of the mouse wheel (or a downward operation of the mouse wheel) or a downward pressing operation of the zoom button, the zoom-out instruction can be triggered. Under the zoom-out instruction, the total length of the timeline can be reduced to obtain the total length of the timeline after the change, and then the second preset video clip duration corresponding to the total length of the timeline after the change is obtained, and the total length of the timeline after the change is divided into multiple time intervals based on the second preset video clip duration, that is, the time interval changes. When the time interval changes, the target video file will also change synchronously, such as based on the changed time interval, the target video file is generated based on the initial video file in the time interval. When the time interval changes, the displayed target timeline will also change synchronously. For example, if the total length of the current timeline is 24 hours, under the zoom-out instruction, the total length of the timeline is reduced to 12 hours, and the video clip duration is reduced from 30 minutes to 20 minutes.

比如说,参见图3C所示,目标时间轴可以包括缩放按钮,点击加号(+)表示缩放按钮的向上按压操作,触发放大操作指令,即增加时间轴总长度。点击减号(-)表示缩放按钮的向下按压操作,触发缩小操作指令,即降低时间轴总长度。在图3C中,当时间轴总长度是12小时时,以录像片段时长是1小时为例,这里只是为了方便的示例,在实际应用中,录像片段时长可以是20分钟。For example, as shown in FIG3C , the target timeline may include a zoom button. Clicking the plus sign (+) indicates an upward pressing operation of the zoom button, triggering a zoom-in operation instruction, i.e., increasing the total length of the timeline. Clicking the minus sign (-) indicates a downward pressing operation of the zoom button, triggering a zoom-out operation instruction, i.e., reducing the total length of the timeline. In FIG3C , when the total length of the timeline is 12 hours, the length of the video clip is 1 hour. This is just an example for convenience. In actual applications, the length of the video clip may be 20 minutes.

参见图3C所示,可以通过缩放按钮的向上按压操作和向下按压操作,控制时间轴总长度是7天(录像片段时长为3小时)、24小时(录像片段时长为30分钟)、12小时(录像片段时长为20分钟)、6小时(录像片段时长为10分钟)。当然,这里只是时间轴总长度的几个示例,对此时间轴总长度不作限制。As shown in FIG3C , by pressing the zoom button upward and downward, the total length of the time axis can be controlled to be 7 days (the length of the video clip is 3 hours), 24 hours (the length of the video clip is 30 minutes), 12 hours (the length of the video clip is 20 minutes), and 6 hours (the length of the video clip is 10 minutes). Of course, these are just a few examples of the total length of the time axis, and there is no limitation on the total length of the time axis.

比如说,参见图3D所示,目标时间轴还可以显示检索时间范围(如2023/11/8 12:10:10—2023/11/12 12:10:10)、中点日期(如2023/11/10 12:10:10)、缩放按钮等内容,对此目标时间轴的显示内容不作限制。检索时间范围是检索条件的检索时间范围,中点日期是检索时间范围的中点日期,缩放按钮用于提供向上按压按钮和向下按压按钮,通过缩放按钮的向上按压操作和向下按压操作,控制目标时间轴的时间轴总长度是7天、24小时、12小时、6小时等。For example, as shown in FIG. 3D , the target time axis can also display a search time range (such as 2023/11/8 12:10:10—2023/11/12 12:10:10), a midpoint date (such as 2023/11/10 12:10:10), a zoom button, and the like, and there is no restriction on the display content of the target time axis. The search time range is the search time range of the search condition, the midpoint date is the midpoint date of the search time range, and the zoom button is used to provide an upward push button and a downward push button. By pressing the zoom button upward and downward, the total length of the time axis of the target time axis is controlled to be 7 days, 24 hours, 12 hours, 6 hours, etc.

在目标时间轴的每个时间区间,可以将所有通道的目标录像文件进行拼接,目标录像文件的录像片段时长可以根据时间轴总长度对应的固定时长自动分割。In each time interval of the target timeline, the target video files of all channels can be spliced, and the video clip length of the target video file can be automatically divided according to the fixed length corresponding to the total length of the timeline.

目标时间轴的时间轴总长度还可以根据检索时间范围进行自适应调整,比如说,若检索时间范围是1天,将目标时间轴的时间轴总长度自动调整为24小时,若检索时间范围大于1天,将目标时间轴的时间轴总长度自动调整为7天。The total length of the target time axis can also be adaptively adjusted according to the search time range. For example, if the search time range is 1 day, the total length of the target time axis will be automatically adjusted to 24 hours. If the search time range is greater than 1 day, the total length of the target time axis will be automatically adjusted to 7 days.

在长按拖动目标时间轴时,若目标时间轴的时间轴总长度超过所选检索时间范围,还可以提示超过所选检索时间范围,请重新选择检索时间范围。When long pressing and dragging the target timeline, if the total length of the target timeline exceeds the selected search time range, a prompt may appear indicating that the selected search time range has been exceeded and that the user should reselect the search time range.

在一种可能的实施方式中,目标录像文件的起始时间是摄像机的时区(即通道时区)的起始时间,目标录像文件的结束时间是摄像机的时区的结束时间,而摄像机的时区与客户端设备的时区可能不同,基于此,可以采用如下方式:In a possible implementation, the start time of the target video file is the start time of the camera's time zone (i.e., the channel time zone), and the end time of the target video file is the end time of the camera's time zone. The camera's time zone may be different from the client device's time zone. Based on this, the following method may be used:

方式1:针对每个目标录像文件,可以将该目标录像文件的起始时间(即摄像机的时区下的起始时间,可以将摄像机的时区称为原始时区)转换为目标时区(目标时区可以是客户端设备的时区,也可以将某个固定时区作为目标时区)的起始时间,并将该目标录像文件的结束时间(即原始时区的结束时间)转换为目标时区的结束时间。在此基础上,可以基于目标录像文件的目标时区的起始时间和目标时区的结束时间,确定该目标录像文件在目标时间轴上所属的时间区间。比如说,若目标录像文件的目标时区的起始时间和/或目标时区的结束时间位于目标时间轴的某个时间区间,则该目标录像文件属于该时间区间。Method 1: For each target video file, the start time of the target video file (i.e., the start time under the time zone of the camera, the time zone of the camera can be called the original time zone) can be converted to the start time of the target time zone (the target time zone can be the time zone of the client device, or a fixed time zone can be used as the target time zone), and the end time of the target video file (i.e., the end time of the original time zone) can be converted to the end time of the target time zone. On this basis, the time interval to which the target video file belongs on the target time axis can be determined based on the start time of the target time zone and the end time of the target time zone of the target video file. For example, if the start time of the target time zone of the target video file and/or the end time of the target time zone are located in a certain time interval of the target time axis, the target video file belongs to the time interval.

显然,基于上述处理,能够将不同时区的目标录像文件统一转换为客户端设备的目标时区,继而基于目标时区的起始时间和/或结束时间进行展示。Obviously, based on the above processing, target video files in different time zones can be uniformly converted into the target time zone of the client device, and then displayed based on the start time and/or end time of the target time zone.

方式2:针对每个目标录像文件,可以基于该目标录像文件的原始时区的起始时间和原始时区的结束时间,确定该目标录像文件在目标时间轴上所属的时间区间。比如说,若目标录像文件的原始时区的起始时间和/或原始时区的结束时间位于目标时间轴的某个时间区间,则该目标录像文件属于该时间区间。Method 2: For each target video file, the time interval to which the target video file belongs on the target time axis can be determined based on the start time of the original time zone and the end time of the original time zone of the target video file. For example, if the start time of the original time zone of the target video file and/or the end time of the original time zone are in a certain time interval of the target time axis, the target video file belongs to the time interval.

显然,在方式2中,不需要将不同时区的目标录像文件统一转换为客户端设备的目标时区,而是在目标录像文件的原始时区(即摄像机的时区)的基础上,基于原始时区的起始时间和/或结束时间在目标时间轴上进行展示。Obviously, in method 2, there is no need to uniformly convert the target video files in different time zones into the target time zone of the client device. Instead, they are displayed on the target timeline based on the original time zone of the target video files (i.e., the time zone of the camera) and the start time and/or end time of the original time zone.

步骤206、若接收到针对存在目标录像文件的第一时间区间的悬浮操作指令,则显示第一时间区间对应的所有目标录像文件的通道标识和/或起始时间。Step 206: If a floating operation instruction for a first time interval in which a target video file exists is received, the channel identifiers and/or start times of all target video files corresponding to the first time interval are displayed.

示例性的,在目标展示界面显示检索结果列表和目标时间轴之后,用户通过查看目标时间轴,可以获知哪些时间区间存在目标录像文件,哪些时间区间不存在目标录像文件,比如说,具有灰色显示标记的时间区间存在目标录像文件,具有白色显示标记的时间区间不存在目标录像文件。在此基础上,若用户希望查看某个时间区间对应的目标录像文件的相关信息,则可以将鼠标悬浮在目标时间轴的该时间区间上,可以将目标时间轴的该时间区间记为第一时间区间。显然,第一时间区间可以是存在目标录像文件的任一时间区间。Exemplarily, after the search result list and the target timeline are displayed on the target display interface, the user can learn which time intervals contain target video files and which time intervals do not contain target video files by viewing the target timeline. For example, the time intervals with gray display marks contain target video files, while the time intervals with white display marks do not contain target video files. On this basis, if the user wants to view the relevant information of the target video files corresponding to a certain time interval, the user can hover the mouse over the time interval of the target timeline, and the time interval of the target timeline can be recorded as the first time interval. Obviously, the first time interval can be any time interval in which the target video files exist.

若接收到针对第一时间区间的悬浮操作指令(如将鼠标悬浮在第一时间区间),则可以显示第一时间区间对应的所有目标录像文件的通道标识和起始时间,即弹出第一时间区间对应的所有目标录像文件的通道标识和起始时间。If a floating operation instruction for the first time interval is received (such as floating the mouse in the first time interval), the channel identifiers and start times of all target video files corresponding to the first time interval can be displayed, that is, the channel identifiers and start times of all target video files corresponding to the first time interval can be popped up.

比如说,在显示第一时间区间对应的所有目标录像文件的通道标识和起始时间之后,用户就可以查看到哪些目标录像文件位于第一时间区间。For example, after displaying the channel identifiers and start times of all target video files corresponding to the first time interval, the user can check which target video files are located in the first time interval.

在一种可能的实施方式中,若基于目标录像文件的目标时区的起始时间和目标时区的结束时间,确定目标录像文件在目标时间轴上所属的时间区间,在显示第一时间区间对应的所有目标录像文件的起始时间时,可以显示第一时间区间对应的所有目标录像文件的目标时区的起始时间。若基于目标录像文件的原始时区的起始时间和原始时区的结束时间,确定目标录像文件在目标时间轴上所属的时间区间,在显示第一时间区间对应的所有目标录像文件的起始时间时,可以显示第一时间区间对应的所有目标录像文件的原始时区的起始时间。In a possible implementation, if the time interval to which the target video file belongs on the target time axis is determined based on the start time of the target time zone and the end time of the target time zone of the target video file, when the start time of all target video files corresponding to the first time interval is displayed, the start time of the target time zone of all target video files corresponding to the first time interval may be displayed. If the time interval to which the target video file belongs on the target time axis is determined based on the start time of the original time zone and the end time of the original time zone of the target video file, when the start time of all target video files corresponding to the first time interval is displayed, the start time of the original time zone of all target video files corresponding to the first time interval may be displayed.

步骤207、若接收到针对第一时间区间对应的第一目标录像文件(任一目标录像文件)的点击操作指令,则播放第一目标录像文件的画面,和/或,将目标展示界面显示的检索结果列表跳转到第一目标录像文件对应的数据项。Step 207: If a click operation instruction for the first target video file (any target video file) corresponding to the first time interval is received, the screen of the first target video file is played, and/or the search result list displayed on the target display interface is jumped to the data item corresponding to the first target video file.

示例性的,在通过目标展示界面显示第一时间区间对应的所有目标录像文件的通道标识和起始时间之后,用户可以查看到哪些目标录像文件位于第一时间区间。若用户希望查看某个目标录像文件(即位于第一时间区间的任一目标录像文件,将该目标录像文件记为第一目标录像文件)的详细信息,则可以点击第一目标录像文件的通道标识,或者,点击第一目标录像文件的起始时间。For example, after the channel identifiers and start times of all target video files corresponding to the first time interval are displayed through the target display interface, the user can view which target video files are located in the first time interval. If the user wants to view the detailed information of a target video file (i.e., any target video file located in the first time interval, which is recorded as the first target video file), the user can click the channel identifier of the first target video file, or click the start time of the first target video file.

若接收到针对第一目标录像文件的点击操作指令(如点击第一目标录像文件的通道标识或起始时间),则可以播放第一目标录像文件的画面,即弹出第一目标录像文件的画面,向用户显示第一目标录像文件,对此过程不作限制。If a click operation instruction for the first target video file is received (such as clicking the channel identifier or start time of the first target video file), the screen of the first target video file can be played, that is, the screen of the first target video file pops up to display the first target video file to the user, and there is no restriction on this process.

若接收到针对第一目标录像文件的点击操作指令,则可以将目标展示界面显示的检索结果列表跳转到第一目标录像文件对应的数据项,即将第一目标录像文件对应的数据项加载到检索结果列表的第一页进行显示。显然,若接收到针对第一目标录像文件的点击操作指令,检索结果列表还且未加载到第一目标录像文件对应的数据项,则可以直接增量加载到第一目标录像文件对应的数据项所在页数据,从而达到目标时间轴和检索结果列表快速联动定位的效果。If a click operation instruction for the first target video file is received, the search result list displayed on the target display interface can be jumped to the data item corresponding to the first target video file, that is, the data item corresponding to the first target video file is loaded to the first page of the search result list for display. Obviously, if a click operation instruction for the first target video file is received, and the search result list has not yet loaded the data item corresponding to the first target video file, it can be directly incrementally loaded to the page data where the data item corresponding to the first target video file is located, thereby achieving the effect of rapid linkage positioning of the target timeline and the search result list.

在一种可能的实施方式中,为了将目标展示界面显示的检索结果列表跳转到第一目标录像文件对应的数据项,还可以采用如下方式实现:In a possible implementation, in order to jump the search result list displayed on the target display interface to the data item corresponding to the first target video file, the following method may be used:

首先,确定检索结果列表当前加载的最后一个目标录像文件的第一排序位置,并确定第一目标录像文件的第二排序位置;其中,排序位置用于表示目标录像文件的数据项在所有目标录像文件的数据项中的位置关系。First, determine the first sorting position of the last target video file currently loaded in the search result list, and determine the second sorting position of the first target video file; wherein the sorting position is used to represent the positional relationship of the data items of the target video file among the data items of all target video files.

比如说,在得到检索条件对应的检索结果时,检索结果包括多个目标录像文件,且检索结果列表需要显示这些目标录像文件的数据项,此时,这些目标录像文件的数据项的顺序关系已经确定。若检索结果列表已经加载100个数据项,则检索结果列表当前加载的最后一个目标录像文件的第一排序位置是100。For example, when the search results corresponding to the search conditions are obtained, the search results include multiple target video files, and the search result list needs to display the data items of these target video files. At this time, the order relationship of the data items of these target video files has been determined. If the search result list has loaded 100 data items, the first sort position of the last target video file currently loaded in the search result list is 100.

比如说,假设确定第一目标录像文件的第二排序位置是450,则表示第一目标录像文件的数据项是所有目标录像文件的数据项中的第450个数据项。For example, assuming that the second sorting position of the first target video file is determined to be 450, it means that the data item of the first target video file is the 450th data item among the data items of all target video files.

然后,获取第二排序位置与第一排序位置之间的间隔位置数量、检索结果列表的每页加载的数据项数量。比如说,间隔位置数量可以是第二排序位置与第一排序位置的差值,如350。比如说,检索结果列表的每页加载的数据项数量用于表示检索结果列表的每页显示多少个数据项,如每页显示100个数据项。Then, the number of interval positions between the second sort position and the first sort position and the number of data items loaded per page of the search result list are obtained. For example, the number of interval positions can be the difference between the second sort position and the first sort position, such as 350. For example, the number of data items loaded per page of the search result list is used to indicate how many data items are displayed per page of the search result list, such as 100 data items per page.

然后,基于第二排序位置与第一排序位置之间的间隔位置数量、检索结果列表的每页加载的数据项数量,确定跳转间隔页数。比如说,可以对间隔位置数量除以每页加载的数据项数量,然后向下取整,得到跳转间隔页数。比如说,可以对350除以100,然后向下取整,得到跳转间隔页数为3。Then, based on the number of interval positions between the second sort position and the first sort position and the number of data items loaded per page of the search result list, the number of jump interval pages is determined. For example, the number of interval positions can be divided by the number of data items loaded per page, and then rounded down to obtain the number of jump interval pages. For example, 350 can be divided by 100, and then rounded down to obtain the number of jump interval pages as 3.

然后,基于跳转间隔页数,将检索结果列表跳转到第一目标录像文件对应的数据项,以加载显示第一目标录像文件对应的数据项。比如说,可以将检索结果列表间隔3页(即跳转间隔页数)后跳转到第4页,从而跳转到第一目标录像文件对应的数据项所在的页,继而加载显示第一目标录像文件对应的数据项。比如说,间隔的第1页为第101-200个数据项(此时不需要加载这些数据项),间隔的第2页为第201-300个数据项(此时不需要加载这些数据项),间隔的第3页为第301-400个数据项(此时不需要加载这些数据项)。显然,跳转到的第4页为第401-500个数据项(此时需要加载这些数据项),即通过目标展示界面显示的检索结果列表显示第401-500个数据项,而这些数据项中包括第一目标录像文件对应的数据项(即第450个数据项),从而显示该数据项。Then, based on the jump interval page number, the search result list is jumped to the data item corresponding to the first target video file, so as to load and display the data item corresponding to the first target video file. For example, the search result list can be jumped to the 4th page after 3 pages (i.e., the jump interval page number), so as to jump to the page where the data item corresponding to the first target video file is located, and then load and display the data item corresponding to the first target video file. For example, the 1st page of the interval is the 101st-200th data item (these data items do not need to be loaded at this time), the 2nd page of the interval is the 201st-300th data item (these data items do not need to be loaded at this time), and the 3rd page of the interval is the 301st-400th data item (these data items do not need to be loaded at this time). Obviously, the 4th page jumped to is the 401st-500th data item (these data items need to be loaded at this time), that is, the search result list displayed through the target display interface displays the 401st-500th data item, and these data items include the data item corresponding to the first target video file (i.e., the 450th data item), so that the data item is displayed.

至此,成功将目标展示界面显示的检索结果列表跳转到第一目标录像文件对应的数据项,从而能够达到目标时间轴和检索结果列表快速联动定位的效果。At this point, the search result list displayed on the target display interface is successfully jumped to the data item corresponding to the first target video file, thereby achieving the effect of rapid linkage positioning of the target timeline and the search result list.

在一种可能的实施方式中,在目标展示界面显示检索结果列表时,检索结果列表包括多个目标录像文件的数据项,且数据项包括目标录像文件的通道标识、起始时间、结束时间等内容,用户可以查看到这些目标录像文件的数据项。In a possible implementation, when the search result list is displayed on the target display interface, the search result list includes data items of multiple target video files, and the data items include the channel identifier, start time, end time and other contents of the target video files, and the user can view the data items of these target video files.

若用户希望查看某个目标录像文件(即任一目标录像文件,将该目标录像文件记为第二目标录像文件)的详细信息,则点击第二目标录像文件的通道标识、或第二目标录像文件的起始时间、或第二目标录像文件的结束时间。若接收到针对第二目标录像文件的数据项的点击操作指令,则播放第二目标录像文件的画面,即弹出第二目标录像文件的画面,向用户显示第二目标录像文件。If the user wants to view the detailed information of a target video file (i.e. any target video file, which is recorded as the second target video file), the user clicks the channel identifier of the second target video file, or the start time of the second target video file, or the end time of the second target video file. If a click operation instruction for the data item of the second target video file is received, the screen of the second target video file is played, i.e., the screen of the second target video file is popped up to display the second target video file to the user.

在此基础上,为了将检索结果列表与目标时间轴进行联动,在基于检索结果列表播放第二目标录像文件的画面时,还可以基于第二目标录像文件的起始时间和结束时间确定第二目标录像文件在目标时间轴上所属的时间区间(即第二目标录像文件的起始时间和/或结束时间位于该时间区间)。On this basis, in order to link the search result list with the target timeline, when playing the screen of the second target video file based on the search result list, the time interval to which the second target video file belongs on the target timeline can also be determined based on the start time and end time of the second target video file (that is, the start time and/or end time of the second target video file is within this time interval).

然后,为目标时间轴上的该时间区间设置已播放标记,已播放标记表示该时间区间存在正在播放的目标录像文件。这样,在点击检索结果列表中的第二目标录像文件来播放录像文件的同时,目标时间轴上也会同步标记出正在播放的第二目标录像文件,从而将检索结果列表与目标时间轴进行联动。Then, a played mark is set for the time interval on the target time axis, and the played mark indicates that there is a target video file being played in the time interval. In this way, when the second target video file in the search result list is clicked to play the video file, the second target video file being played will also be synchronously marked on the target time axis, thereby linking the search result list with the target time axis.

比如说,显示标记是颜色显示标记时,已播放标记也可以是颜色已播放标记,颜色已播放标记需要与颜色显示标记不同,如已播放标记需要与灰色显示标记和白色显示标记进行区分。比如说,参见图3E所示,3:00-4:00对应的是已播放标记,已播放标记表示这个时间区间存在正在播放的目标录像文件。又例如,显示标记是形状显示标记时,已播放标记也可以是形状已播放标记,形状已播放标记需要与形状显示标记不同,以此类推,对此已播放标记不作限制。For example, when the display mark is a color display mark, the played mark can also be a color played mark, and the color played mark needs to be different from the color display mark, such as the played mark needs to be distinguished from the gray display mark and the white display mark. For example, as shown in Figure 3E, 3:00-4:00 corresponds to the played mark, and the played mark indicates that there is a target video file being played in this time interval. For another example, when the display mark is a shape display mark, the played mark can also be a shape played mark, and the shape played mark needs to be different from the shape display mark, and so on, there is no restriction on this played mark.

在一种可能的实施方式中,在播放另一个目标录像文件(记为第三目标录像文件)时,如第二目标录像文件播放完成之后自动播放第三目标录像文件的画面,或,接收到针对第三目标录像文件的数据项的点击操作指令,播放第三目标录像文件的画面,则可以采用如下方式:基于第三目标录像文件的起始时间和结束时间确定第三目标录像文件在目标时间轴上所属的时间区间,为该时间区间设置已播放标记,并删除为第二目标录像文件所属时间区间设置的已播放标记,从而自动将已播放标记从第二目标录像文件调整到第三目标录像文件。In a possible implementation, when playing another target video file (recorded as a third target video file), if the screen of the third target video file is automatically played after the second target video file is played, or a click operation instruction for a data item of the third target video file is received and the screen of the third target video file is played, the following method can be adopted: based on the start time and end time of the third target video file, the time interval to which the third target video file belongs on the target timeline is determined, a played mark is set for the time interval, and the played mark set for the time interval to which the second target video file belongs is deleted, thereby automatically adjusting the played mark from the second target video file to the third target video file.

由以上技术方案可见,本公开实施例中,基于录像片段时长划分多个时间区间,将时间区间内的一个或多个初始录像文件进行组合得到目标录像文件,显示目标录像文件的检索数据,从而整合时间区间内的录像文件,以时间区间为粒度进行录像文件的展示,提高用户体验和显示性能。可以在目标展示界面同时显示检索结果列表和目标时间轴,从而可以联动目标时间轴和检索结果列表,通过目标时间轴展示整体检索结果的时间分布情况,并通过检索结果列表展示录像文件的检索结果。这样,既可以查看整体检索结果的时间分布情况,又可以查看录像文件的检索结果,从而能够提高用户体验,并提高显示性能。能够解决数据量较大分页加载检索结果,无法感知录像文件整体存储状态的问题。能够解决录像文件过大导致无法判断出需要的录像文件的问题。设计出一种兼顾性能支持分页加载数据,又能方便快捷分割录像文件的方案。通过在目标时间轴上展示所有通道本次检索的全部数据、缩放时间轴自动分割检索结果录像文件。As can be seen from the above technical solutions, in the disclosed embodiment, multiple time intervals are divided based on the duration of the video clip, one or more initial video files in the time interval are combined to obtain a target video file, and the search data of the target video file is displayed, thereby integrating the video files in the time interval, and displaying the video files with the time interval as the granularity, thereby improving the user experience and display performance. The search result list and the target time axis can be displayed on the target display interface at the same time, so that the target time axis and the search result list can be linked, and the time distribution of the overall search results can be displayed through the target time axis, and the search results of the video files can be displayed through the search result list. In this way, both the time distribution of the overall search results and the search results of the video files can be viewed, thereby improving the user experience and improving the display performance. It can solve the problem that the search results with a large amount of data are loaded in pages and the overall storage status of the video files cannot be perceived. It can solve the problem that the required video files cannot be judged due to the large size of the video files. A solution is designed that takes into account performance and supports paging data loading, and can conveniently and quickly split the video files. By displaying all the data of this search of all channels on the target time axis, the time axis is automatically split to obtain the search result video files.

本公开实施例中提出一种检索结果显示方法,该方法可以应用于客户端设备,图4为该检索结果显示方法的流程示意图,如图4所示,该方法可以包括以下步骤401至407。A search result display method is proposed in an embodiment of the present disclosure. The method can be applied to a client device. FIG. 4 is a flow chart of the search result display method. As shown in FIG. 4 , the method can include the following steps 401 to 407 .

步骤401、获取检索条件对应的检索结果。Step 401: Obtain search results corresponding to the search conditions.

步骤402、基于已获取的录像片段时长划分多个时间区间。Step 402: Divide the acquired video clip into multiple time intervals based on its duration.

步骤403、针对所述多个时间区间的每个时间区间,基于同一通道标识对应的所有初始录像文件的起始时间和结束时间,基于处于该时间区间内的一个或多个初始录像文件以生成一个目标录像文件,即,将处于该时间区间的对应于同一通道标识的初始录像文件组合成目标录像文件。Step 403: for each of the multiple time intervals, based on the start time and end time of all initial video files corresponding to the same channel identifier, a target video file is generated based on one or more initial video files in the time interval, that is, the initial video files corresponding to the same channel identifier in the time interval are combined into a target video file.

示例性的,步骤401-步骤403与步骤201-步骤203类似,在此不再赘述。Exemplarily, steps 401 to 403 are similar to steps 201 to 203 and are not described in detail herein.

步骤404、在目标展示界面显示检索结果缩略图。比如说,若客户端设备的显示模式为缩略图显示模式,则在目标展示界面显示检索结果缩略图。Step 404: Display the search result thumbnails on the target display interface. For example, if the display mode of the client device is a thumbnail display mode, the search result thumbnails are displayed on the target display interface.

示例性的,该检索结果缩略图可以包括多个数据项,针对该检索结果缩略图的每个数据项,该数据项包括一个目标录像文件对应的检索数据,该检索数据可以包括但不限于以下至少一种:目标录像文件的通道标识、目标录像文件的缩略图(如该目标录像文件的起始时间的画面)、目标录像文件的起始时间。当然,除了上述内容,该检索数据还可以包括其它内容,对此不做限制。目标录像文件的起始时间是目标录像文件对应的所有初始录像文件的最早时间。Exemplarily, the retrieval result thumbnail may include multiple data items. For each data item of the retrieval result thumbnail, the data item includes retrieval data corresponding to a target video file. The retrieval data may include, but is not limited to, at least one of the following: a channel identifier of the target video file, a thumbnail of the target video file (such as a picture at the start time of the target video file), and the start time of the target video file. Of course, in addition to the above content, the retrieval data may also include other content, which is not limited. The start time of the target video file is the earliest time of all initial video files corresponding to the target video file.

比如说,参见图5A所示,为该检索结果缩略图的一个示例。从图5A可以看出,通道标识AAA可以对应6个目标录像文件,第一个目标录像文件的起始时间是2023/11/10 12:10:10,且示出了第一个目标录像文件的缩略图,第一个目标录像文件的通道标识是通道标识AAA,第一个目标录像文件表示检索结果缩略图的一个数据项,以此类推。通道标识BBB可以对应8个目标录像文件,第一个目标录像文件的起始时间是2023/11/11 10:10:10,且示出了第一个目标录像文件的缩略图,第一个目标录像文件的通道标识是通道标识BBB,第一个目标录像文件表示检索结果缩略图的一个数据项,以此类推。For example, see FIG5A , which is an example of the retrieval result thumbnail. As can be seen from FIG5A , the channel identifier AAA can correspond to 6 target video files, the start time of the first target video file is 2023/11/10 12:10:10, and the thumbnail of the first target video file is shown, the channel identifier of the first target video file is the channel identifier AAA, and the first target video file represents a data item of the retrieval result thumbnail, and so on. The channel identifier BBB can correspond to 8 target video files, the start time of the first target video file is 2023/11/11 10:10:10, and the thumbnail of the first target video file is shown, the channel identifier of the first target video file is the channel identifier BBB, and the first target video file represents a data item of the retrieval result thumbnail, and so on.

在一种可能的实施方式中,在目标展示界面显示检索结果缩略图时,检索结果缩略图首次加载K个数据项,K可以为正整数。以K是150为例,则检索结果缩略图首次加载150个数据项,即,在图5A所示的检索结果缩略图显示150个数据项。在后续过程中,可以通过滚动方式增量加载剩余数据项。In a possible implementation, when the search result thumbnail is displayed on the target display interface, the search result thumbnail is initially loaded with K data items, where K may be a positive integer. For example, if K is 150, the search result thumbnail is initially loaded with 150 data items, that is, the search result thumbnail shown in FIG5A displays 150 data items. In the subsequent process, the remaining data items may be incrementally loaded by scrolling.

步骤405、在目标展示界面显示目标时间轴。比如说,若客户端设备的显示模式为缩略图显示模式,则在目标展示界面同时显示检索结果缩略图和目标时间轴。目标时间轴可以包括多个时间区间和每个时间区间对应的显示标记,且显示标记表示该时间区间存在目标录像文件或者不存在目标录像文件。Step 405: Display the target timeline on the target display interface. For example, if the display mode of the client device is a thumbnail display mode, the search result thumbnail and the target timeline are displayed simultaneously on the target display interface. The target timeline may include multiple time intervals and a display mark corresponding to each time interval, and the display mark indicates whether the target video file exists in the time interval or not.

步骤406、若接收到针对存在目标录像文件的第一时间区间的悬浮操作指令,则显示第一时间区间对应的所有目标录像文件的通道标识和/或起始时间。Step 406: If a floating operation instruction for a first time interval in which target video files exist is received, the channel identifiers and/or start times of all target video files corresponding to the first time interval are displayed.

步骤407、若接收到针对第一时间区间对应的第一目标录像文件(任一目标录像文件)的点击操作指令,则播放第一目标录像文件的画面,和/或,将目标展示界面显示的检索结果列表跳转到第一目标录像文件对应的数据项。Step 407: If a click operation instruction is received for the first target video file (any target video file) corresponding to the first time interval, the screen of the first target video file is played, and/or the search result list displayed on the target display interface is jumped to the data item corresponding to the first target video file.

步骤405-步骤407与步骤205-步骤207类似,只是将检索结果列表替换为检索结果缩略图即可,比如说,参见图5B所示,为在目标展示界面同时显示检索结果缩略图和目标时间轴的示意图,对此步骤405-步骤407不再重复赘述。Step 405-Step 407 are similar to Step 205-Step 207, except that the search result list is replaced with the search result thumbnails. For example, see Figure 5B, which is a schematic diagram of simultaneously displaying the search result thumbnails and the target timeline on the target display interface. Step 405-Step 407 will not be repeated here.

由以上技术方案可见,本公开实施例中,基于录像片段时长划分多个时间区间,将时间区间内的初始录像文件进行组合得到目标录像文件,显示目标录像文件的检索数据,从而整合时间区间内的录像文件,以时间区间为粒度进行录像文件的展示,提高用户体验和显示性能。在目标展示界面同时显示检索结果缩略图和目标时间轴,从而联动目标时间轴和检索结果缩略图,通过目标时间轴展示整体检索结果的时间分布情况,并通过检索结果缩略图展示录像文件的检索结果。这样,既可以查看整体检索结果的时间分布情况,又可以查看录像文件的检索结果,从而能够提高用户体验,并提高显示性能。能够解决数据量较大分页加载检索结果,无法感知录像文件整体存储状态的问题。能够解决录像文件过大导致无法判断出需要的录像文件的问题。设计出一种兼顾性能支持分页加载数据,又能方便快捷分割录像文件的方案。通过在目标时间轴上展示所有通道本次检索的全部数据、缩放时间轴自动分割检索结果录像文件。As can be seen from the above technical solutions, in the disclosed embodiment, multiple time intervals are divided based on the duration of the video clip, the initial video files in the time interval are combined to obtain the target video file, and the search data of the target video file is displayed, thereby integrating the video files in the time interval, and displaying the video files with the time interval as the granularity, thereby improving the user experience and display performance. The search result thumbnail and the target time axis are displayed on the target display interface at the same time, so as to link the target time axis and the search result thumbnail, display the time distribution of the overall search result through the target time axis, and display the search result of the video file through the search result thumbnail. In this way, both the time distribution of the overall search result and the search result of the video file can be viewed, thereby improving the user experience and improving the display performance. It can solve the problem that the search result with a large amount of data is loaded in pages and the overall storage status of the video file cannot be perceived. It can solve the problem that the required video file cannot be judged due to the large size of the video file. A solution is designed that takes into account performance and supports paging data loading, and can conveniently and quickly split the video file. By displaying all the data of this search of all channels on the target time axis, the time axis is automatically split to obtain the search result video file.

基于与上述方法同样的申请构思,本公开实施例中提出一种检索结果显示装置,参见图6所示,为所述装置的结构示意图,所述装置可以包括:获取模块61、处理模块62和显示模块63。Based on the same application concept as the above method, a search result display device is proposed in the embodiment of the present disclosure. See FIG6 , which is a schematic diagram of the structure of the device. The device may include: an acquisition module 61 , a processing module 62 and a display module 63 .

获取模块61,用于获取检索条件对应的检索结果,其中,所述检索结果包括多个初始录像文件以及所述多个初始录像文件中每个初始录像文件的通道标识、起始时间和结束时间;处理模块62,用于基于已获取的录像片段时长划分多个时间区间;针对所述多个时间区间的每个时间区间,基于同一通道标识对应的所有初始录像文件的起始时间和结束时间,基于处于该时间区间内的一个或多个初始录像文件生成一个目标录像文件;显示模块63,用于在目标展示界面显示检索结果结构,其中,所述检索结果结构包括多个数据项,多个数据项中每个数据项包括一个目标录像文件对应的检索数据。An acquisition module 61 is used to obtain search results corresponding to the search conditions, wherein the search results include multiple initial video files and the channel identifier, start time and end time of each of the multiple initial video files; a processing module 62 is used to divide a plurality of time intervals based on the length of the acquired video clips; for each of the multiple time intervals, based on the start time and end time of all initial video files corresponding to the same channel identifier, a target video file is generated based on one or more initial video files in the time interval; a display module 63 is used to display a search result structure on a target display interface, wherein the search result structure includes multiple data items, each of the multiple data items includes search data corresponding to a target video file.

示例性的,所述处理模块62基于同一通道标识对应的所有初始录像文件的起始时间和结束时间,基于处于该时间区间的一个或多个初始录像文件生成目标录像文件时具体用于:若存在起始时间早于该时间区间且结束时间处于该时间区间的初始录像文件,则从该初始录像文件截取第一子录像文件,所述第一子录像文件的起始时间为该时间区间的起始时间,且所述第一子录像文件的结束时间为该初始录像文件的结束时间;基于所述第一子录像文件生成目标录像文件;若存在结束时间晚于该时间区间且起始时间处于该时间区间的初始录像文件,则从该初始录像文件截取第二子录像文件,所述第二子录像文件的起始时间为该初始录像文件的起始时间,且所述第二子录像文件的结束时间为该时间区间的结束时间;基于所述第二子录像文件生成目标录像文件;若存在起始时间早于该时间区间且结束时间晚于该时间区间的初始录像文件,则从该初始录像文件截取第三子录像文件,所述第三子录像文件的起始时间为该时间区间的起始时间,且所述第三子录像文件的结束时间为该时间区间的结束时间;基于所述第三子录像文件生成目标录像文件;若存在起始时间处于该时间区间且结束时间处于该时间区间的初始录像文件,则基于该初始录像文件生成目标录像文件。Exemplarily, the processing module 62 generates a target video file based on the start time and end time of all initial video files corresponding to the same channel identifier and based on one or more initial video files in the time interval. Specifically, if there is an initial video file whose start time is earlier than the time interval and whose end time is in the time interval, a first sub-video file is intercepted from the initial video file, wherein the start time of the first sub-video file is the start time of the time interval, and the end time of the first sub-video file is the end time of the initial video file; the target video file is generated based on the first sub-video file; if there is an initial video file whose end time is later than the time interval and whose start time is in the time interval, a second sub-video file is intercepted from the initial video file file, the start time of the second sub-recording file is the start time of the initial recording file, and the end time of the second sub-recording file is the end time of the time interval; the target recording file is generated based on the second sub-recording file; if there is an initial recording file whose start time is earlier than the time interval and whose end time is later than the time interval, a third sub-recording file is intercepted from the initial recording file, the start time of the third sub-recording file is the start time of the time interval, and the end time of the third sub-recording file is the end time of the time interval; the target recording file is generated based on the third sub-recording file; if there is an initial recording file whose start time is in the time interval and whose end time is in the time interval, the target recording file is generated based on the initial recording file.

示例性的,若显示模式为列表显示模式,所述检索结果结构为检索结果列表,目标录像文件对应的检索数据包括以下至少一种:目标录像文件的通道标识、目标录像文件的起始时间、目标录像文件的结束时间、目标录像文件的时长;其中,目标录像文件的起始时间是目标录像文件对应的所有(一个或多个)初始录像文件的最早时间,目标录像文件的结束时间是目标录像文件对应的所有初始录像文件的最晚时间,目标录像文件的时长是目标录像文件对应的所有初始录像文件的时长之和;或者,若显示模式为缩略图显示模式,所述检索结果结构为检索结果缩略图,目标录像文件对应的检索数据包括以下至少一种:目标录像文件的通道标识、目标录像文件的缩略图、以及目标录像文件的起始时间;其中,目标录像文件的缩略图是目标录像文件的起始时间的录像画面。Exemplarily, if the display mode is a list display mode, the retrieval result structure is a retrieval result list, and the retrieval data corresponding to the target video file includes at least one of the following: a channel identifier of the target video file, a start time of the target video file, an end time of the target video file, and a duration of the target video file; wherein the start time of the target video file is the earliest time of all (one or more) initial video files corresponding to the target video file, the end time of the target video file is the latest time of all initial video files corresponding to the target video file, and the duration of the target video file is the sum of the durations of all initial video files corresponding to the target video file; or, if the display mode is a thumbnail display mode, the retrieval result structure is a retrieval result thumbnail, and the retrieval data corresponding to the target video file includes at least one of the following: a channel identifier of the target video file, a thumbnail of the target video file, and the start time of the target video file; wherein the thumbnail of the target video file is a video screen at the start time of the target video file.

示例性的,所述处理模块62基于已获取的录像片段时长划分多个时间区间时具体用于:获取目标时间轴的时间轴总长度,确定与所述时间轴总长度对应的第一预设录像片段时长;基于所述第一预设录像片段时长将时间轴总长度划分为多个时间区间。Exemplarily, when the processing module 62 divides the acquired video clip length into multiple time intervals, it is specifically used to: obtain the total time axis length of the target time axis, determine a first preset video clip length corresponding to the total time axis length; and divide the total time axis length into multiple time intervals based on the first preset video clip length.

示例性的,所述显示模块63,还用于在所述目标展示界面显示所述目标时间轴,所述目标时间轴的长度为所述时间轴总长度,所述目标时间轴包括所述多个时间区间和所述多个时间区间中每个时间区间对应的显示标记,所述显示标记表示该时间区间是否存在目标录像文件;所述处理模块62,还用于:若接收到针对第一时间区间的悬浮操作指令,则显示所述第一时间区间对应的所有目标录像文件的通道标识和/或起始时间,其中,所述第一时间区间为所述多个时间区间中所述显示标记表示存在目标录像文件的任一时间区间;若接收到针对所述第一时间区间对应的第一目标录像文件的点击操作指令,则播放所述第一目标录像文件的画面,和/或,将所述目标展示界面显示的所述检索结果结构跳转到所述第一目标录像文件对应的数据项,其中,所述第一目标录像文件是所述第一时间区间内的任一目标录像文件。Exemplarily, the display module 63 is also used to display the target timeline on the target display interface, the length of the target timeline is the total length of the timeline, the target timeline includes the multiple time intervals and a display mark corresponding to each of the multiple time intervals, and the display mark indicates whether there is a target video file in the time interval; the processing module 62 is also used to: if a floating operation instruction for a first time interval is received, then display the channel identifier and/or start time of all target video files corresponding to the first time interval, wherein the first time interval is any time interval in the multiple time intervals in which the display mark indicates the existence of a target video file; if a click operation instruction for a first target video file corresponding to the first time interval is received, then play the screen of the first target video file, and/or jump the retrieval result structure displayed on the target display interface to the data item corresponding to the first target video file, wherein the first target video file is any target video file within the first time interval.

示例性的,所述处理模块62,还用于:针对每个目标录像文件,将该目标录像文件的起始时间转换为目标时区的起始时间,将该目标录像文件的结束时间转换为目标时区的结束时间;基于该目标录像文件的目标时区的起始时间和目标时区的结束时间,确定该目标录像文件在所述目标时间轴上所属的时间区间;在显示所述第一时间区间对应的所有目标录像文件的起始时间时,显示所述第一时间区间对应的所有目标录像文件的目标时区的起始时间;或者,针对每个目标录像文件,基于该目标录像文件的原始时区的起始时间和原始时区的结束时间,确定该目标录像文件在所述目标时间轴上所属的时间区间;在显示所述第一时间区间对应的所有目标录像文件的起始时间时,显示所述第一时间区间对应的所有目标录像文件的原始时区的起始时间。Exemplarily, the processing module 62 is further used to: for each target video file, convert the start time of the target video file into the start time of the target time zone, and convert the end time of the target video file into the end time of the target time zone; determine the time interval to which the target video file belongs on the target time axis based on the start time of the target time zone and the end time of the target time zone of the target video file; when displaying the start time of all target video files corresponding to the first time interval, display the start time of the target time zone of all target video files corresponding to the first time interval; or, for each target video file, determine the time interval to which the target video file belongs on the target time axis based on the start time and the end time of the original time zone of the target video file; when displaying the start time of all target video files corresponding to the first time interval, display the start time of the original time zone of all target video files corresponding to the first time interval.

示例性的,所述处理模块62,还用于:若接收到针对所述目标时间轴的缩放操作指令时,则获取与所述缩放操作指令匹配的变化后的时间轴总长度;其中,若所述缩放操作指令是放大操作指令,则增加目标时间轴的时间轴总长度以得到变化后的时间轴总长度;若所述缩放操作指令是缩小操作指令,则降低目标时间轴的时间轴总长度以得到变化后的时间轴总长度;获取变化后的时间轴总长度对应的第二预设录像片段时长,基于所述第二预设录像片段时长将变化后的时间轴总长度划分为多个时间区间;其中,变化后的时间轴总长度越长时第二预设录像片段时长越长。Exemplarily, the processing module 62 is also used for: if a zoom operation instruction for the target timeline is received, then obtaining the total length of the changed timeline that matches the zoom operation instruction; wherein, if the zoom operation instruction is a zoom-in operation instruction, then increasing the total length of the timeline of the target timeline to obtain the total length of the changed timeline; if the zoom operation instruction is a zoom-out operation instruction, then reducing the total length of the timeline of the target timeline to obtain the total length of the changed timeline; obtaining the second preset video segment duration corresponding to the changed total length of the timeline, and dividing the changed total length of the timeline into multiple time intervals based on the second preset video segment duration; wherein, the longer the changed total length of the timeline is, the longer the second preset video segment duration is.

示例性的,所述处理模块62将所述目标展示界面显示的所述检索结果结构跳转到所述第一目标录像文件对应的数据项时具体用于:确定所述检索结果结构当前加载的最后一个目标录像文件的第一排序位置、以及所述第一目标录像文件的第二排序位置;其中,所述第一排序位置用于表示所述最后一个目标录像文件的数据项在所有目标录像文件的数据项中的位置关系,所述第二排序位置用于表示所述目标录像文件在所有目标录像文件的数据项中的位置关系;基于所述第二排序位置与所述第一排序位置之间的间隔位置数量、以及所述检索结果结构的每页加载的数据项数量,确定跳转间隔页数;基于所述跳转间隔页数,将所述检索结果结构跳转到所述第一目标录像文件对应的数据项,以加载显示所述第一目标录像文件对应的数据项。Exemplarily, when the processing module 62 jumps the retrieval result structure displayed on the target display interface to the data item corresponding to the first target video file, it is specifically used to: determine the first sorting position of the last target video file currently loaded in the retrieval result structure, and the second sorting position of the first target video file; wherein the first sorting position is used to indicate the positional relationship of the data item of the last target video file among the data items of all target video files, and the second sorting position is used to indicate the positional relationship of the target video file among the data items of all target video files; based on the number of interval positions between the second sorting position and the first sorting position, and the number of data items loaded per page of the retrieval result structure, determine the number of jump interval pages; based on the number of jump interval pages, jump the retrieval result structure to the data item corresponding to the first target video file, so as to load and display the data item corresponding to the first target video file.

基于与上述方法同样的申请构思,本公开实施例中提出一种客户端设备,参见图7所示,客户端设备包括:处理器71和机器可读存储介质72,机器可读存储介质72存储有能够被处理器71执行的机器可执行指令;处理器71用于执行机器可执行指令,以实现本公开上述示例公开的检索结果显示方法。Based on the same application concept as the above method, a client device is proposed in an embodiment of the present disclosure, as shown in Figure 7, the client device includes: a processor 71 and a machine-readable storage medium 72, the machine-readable storage medium 72 stores machine-executable instructions that can be executed by the processor 71; the processor 71 is used to execute the machine-executable instructions to implement the retrieval result display method disclosed in the above example of the present disclosure.

基于与上述方法同样的申请构思,本公开实施例还提供一种机器可读存储介质,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被处理器执行时,能够实现本公开上述示例公开的检索结果显示方法。Based on the same application concept as the above method, an embodiment of the present disclosure further provides a machine-readable storage medium, on which a number of computer instructions are stored. When the computer instructions are executed by a processor, the search result display method disclosed in the above example of the present disclosure can be implemented.

其中,上述机器可读存储介质可以是任何电子、磁性、光学或其它物理存储装置,可以包含或存储信息,如可执行指令、数据,等等。例如,机器可读存储介质可以是:RAM(Radom Access Memory,随机存取存储器)、易失存储器、非易失性存储器、闪存、存储驱动器(如硬盘驱动器)、固态硬盘、任何类型的存储盘(如光盘、dvd等),或者类似的存储介质,或者它们的组合。The above-mentioned machine-readable storage medium can be any electronic, magnetic, optical or other physical storage device that can contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium can be: RAM (Radom Access Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as CD, DVD, etc.), or similar storage medium, or a combination thereof.

以上所述仅为本公开的实施例而已,并不用于限制本公开。对于本领域技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本公开的权利要求范围之内。The above description is only an embodiment of the present disclosure and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various changes and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the scope of the claims of the present disclosure.

Claims (15)

一种检索结果显示方法,包括:A search result display method, comprising: 获取检索条件对应的检索结果,其中,所述检索结果包括多个初始录像文件以及所述多个初始录像文件中每个初始录像文件的通道标识、起始时间和结束时间;Acquire a search result corresponding to the search condition, wherein the search result includes a plurality of initial video files and a channel identifier, a start time, and an end time of each of the plurality of initial video files; 基于已获取的录像片段时长划分多个时间区间;Divide the acquired video clips into multiple time intervals based on their duration; 针对所述多个时间区间的每个时间区间,基于同一通道标识对应的所有初始录像文件的起始时间和结束时间,基于处于该时间区间内的一个或多个初始录像文件生成一个目标录像文件;For each of the multiple time intervals, based on the start time and end time of all initial video files corresponding to the same channel identifier, a target video file is generated based on one or more initial video files in the time interval; 在目标展示界面显示检索结果结构,其中,所述检索结果结构包括多个数据项,所述多个数据项中每个数据项包括一个所述目标录像文件对应的检索数据。The search result structure is displayed on the target display interface, wherein the search result structure includes multiple data items, and each of the multiple data items includes a search data corresponding to the target video file. 根据权利要求1所述的方法,其特征在于,所述基于同一通道标识对应的所有初始录像文件的起始时间和结束时间,基于处于该时间区间内的一个或多个初始录像文件生成目标录像文件,包括以下至少之一:The method according to claim 1, characterized in that the generating of the target video file based on the start time and end time of all the initial video files corresponding to the same channel identifier and based on one or more initial video files in the time interval comprises at least one of the following: 若存在起始时间早于该时间区间且结束时间处于该时间区间内的初始录像文件,则从该初始录像文件截取第一子录像文件,所述第一子录像文件的起始时间为该时间区间的起始时间,且所述第一子录像文件的结束时间为该初始录像文件的结束时间;基于所述第一子录像文件生成目标录像文件;If there is an initial video file whose start time is earlier than the time interval and whose end time is within the time interval, extract a first sub-video file from the initial video file, wherein the start time of the first sub-video file is the start time of the time interval and the end time of the first sub-video file is the end time of the initial video file; and generate a target video file based on the first sub-video file; 若存在结束时间晚于该时间区间且起始时间处于该时间区间内的初始录像文件,则从该初始录像文件截取第二子录像文件,所述第二子录像文件的起始时间为该初始录像文件的起始时间,且所述第二子录像文件的结束时间为该时间区间的结束时间;基于所述第二子录像文件生成目标录像文件;If there is an initial video file whose end time is later than the time interval and whose start time is within the time interval, extract a second sub-video file from the initial video file, wherein the start time of the second sub-video file is the start time of the initial video file and the end time of the second sub-video file is the end time of the time interval; and generate a target video file based on the second sub-video file; 若存在起始时间早于该时间区间且结束时间晚于该时间区间的初始录像文件,则从该初始录像文件截取第三子录像文件,所述第三子录像文件的起始时间为该时间区间的起始时间,且所述第三子录像文件的结束时间为该时间区间的结束时间;基于所述第三子录像文件生成目标录像文件;If there is an initial video file whose start time is earlier than the time interval and whose end time is later than the time interval, extract a third sub-video file from the initial video file, wherein the start time of the third sub-video file is the start time of the time interval and the end time of the third sub-video file is the end time of the time interval; and generate a target video file based on the third sub-video file; 若存在起始时间处于该时间区间内且结束时间处于该时间区间内的初始录像文件,则基于该初始录像文件生成目标录像文件。If there is an initial video file whose start time is within the time interval and whose end time is within the time interval, a target video file is generated based on the initial video file. 根据权利要求1或2所述的方法,其特征在于,The method according to claim 1 or 2, characterized in that 若显示模式为列表显示模式,所述检索结果结构为检索结果列表,所述目标录像文件对应的检索数据包括以下至少一种:所述目标录像文件的通道标识、所述目标录像文件的起始时间、所述目标录像文件的结束时间、以及所述目标录像文件的时长;其中,所述目标录像文件的起始时间是所述目标录像文件对应的所有初始录像文件的最早时间,所述目标录像文件的结束时间是所述目标录像文件对应的所有初始录像文件的最晚时间,所述目标录像文件的时长是所述目标录像文件对应的所有初始录像文件的时长之和;If the display mode is the list display mode, the search result structure is a search result list, and the search data corresponding to the target video file includes at least one of the following: a channel identifier of the target video file, a start time of the target video file, an end time of the target video file, and a duration of the target video file; wherein the start time of the target video file is the earliest time of all initial video files corresponding to the target video file, the end time of the target video file is the latest time of all initial video files corresponding to the target video file, and the duration of the target video file is the sum of the durations of all initial video files corresponding to the target video file; 或者,若显示模式为缩略图显示模式,所述检索结果结构为检索结果缩略图,所述目标录像文件对应的检索数据包括以下至少一种:所述目标录像文件的通道标识、所述目标录像文件的缩略图、以及所述目标录像文件的起始时间;其中,所述目标录像文件的所述缩略图是所述目标录像文件的所述起始时间的录像画面。Alternatively, if the display mode is a thumbnail display mode, the retrieval result structure is a retrieval result thumbnail, and the retrieval data corresponding to the target video file includes at least one of the following: a channel identifier of the target video file, a thumbnail of the target video file, and a start time of the target video file; wherein the thumbnail of the target video file is a video screen at the start time of the target video file. 根据权利要求1所述的方法,其特征在于,所述基于已获取的录像片段时长划分多个时间区间,包括:The method according to claim 1, characterized in that the step of dividing the acquired video clips into multiple time intervals based on their duration comprises: 获取目标时间轴的时间轴总长度;Get the total length of the target timeline; 确定与所述时间轴总长度对应的第一预设录像片段时长;Determine a first preset video clip length corresponding to the total length of the time axis; 基于所述第一预设录像片段时长将所述时间轴总长度划分为多个时间区间。The total length of the time axis is divided into a plurality of time intervals based on the length of the first preset video segment. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, characterized in that the method further comprises: 在所述目标展示界面显示所述目标时间轴,所述目标时间轴的长度为所述时间轴总长度,所述目标时间轴包括所述多个时间区间和所述多个时间区间中每个时间区间对应的显示标记,所述显示标记表示该时间区间内是否存在目标录像文件。The target timeline is displayed on the target display interface. The length of the target timeline is the total length of the timeline. The target timeline includes the multiple time intervals and a display mark corresponding to each of the multiple time intervals. The display mark indicates whether there is a target video file in the time interval. 根据权利要求1-5中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, characterized in that the method further comprises: 若接收到针对第一时间区间的悬浮操作指令,则显示所述第一时间区间对应的所有目标录像文件的通道标识和/或起始时间,其中,所述第一时间区间为所述多个时间区间中所述显示标记表示存在目标录像文件的任一时间区间;If a floating operation instruction for a first time interval is received, the channel identifiers and/or start times of all target video files corresponding to the first time interval are displayed, wherein the first time interval is any time interval in the multiple time intervals where the display mark indicates that a target video file exists; 若接收到针对所述第一时间区间对应的第一目标录像文件的点击操作指令,则播放所述第一目标录像文件的画面,和/或,将所述目标展示界面显示的所述检索结果结构跳转到所述第一目标录像文件对应的数据项,其中,所述第一目标录像文件是所述第一时间区间内的任一目标录像文件。If a click operation instruction for the first target video file corresponding to the first time interval is received, the screen of the first target video file is played, and/or the search result structure displayed on the target display interface is jumped to the data item corresponding to the first target video file, wherein the first target video file is any target video file within the first time interval. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, characterized in that the method further comprises: 针对每个目标录像文件,将该目标录像文件的起始时间转换为目标时区的起始时间,将该目标录像文件的结束时间转换为所述目标时区的结束时间;For each target video file, convert the start time of the target video file into the start time of the target time zone, and convert the end time of the target video file into the end time of the target time zone; 基于该目标录像文件的所述目标时区的起始时间和所述目标时区的结束时间,确定该目标录像文件在所述目标时间轴上所属的时间区间;Determine the time interval to which the target video file belongs on the target time axis based on the start time of the target time zone and the end time of the target time zone of the target video file; 在显示所述第一时间区间对应的所有目标录像文件的起始时间时,显示所述第一时间区间对应的所有目标录像文件的所述目标时区的起始时间;When displaying the start time of all target video files corresponding to the first time interval, display the start time of the target time zone of all target video files corresponding to the first time interval; 或者,or, 针对每个目标录像文件,基于该目标录像文件的原始时区的起始时间和原始时区的结束时间,确定该目标录像文件在所述目标时间轴上所属的时间区间;For each target video file, based on the start time of the original time zone of the target video file and the end time of the original time zone, determine the time interval to which the target video file belongs on the target time axis; 在显示所述第一时间区间对应的所有目标录像文件的起始时间时,显示所述第一时间区间对应的所有目标录像文件的所述原始时区的起始时间。When displaying the start time of all target video files corresponding to the first time interval, the start time of the original time zone of all target video files corresponding to the first time interval is displayed. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, characterized in that the method further comprises: 若接收到针对所述目标时间轴的缩放操作指令,则获取与所述缩放操作指令匹配的变化后的时间轴总长度;其中,若所述缩放操作指令是放大操作指令,则增加所述目标时间轴的时间轴总长度以得到变化后的时间轴总长度;若所述缩放操作指令是缩小操作指令,则降低所述目标时间轴的时间轴总长度以得到变化后的时间轴总长度;If a zoom operation instruction for the target time axis is received, the total length of the time axis after the change that matches the zoom operation instruction is obtained; wherein, if the zoom operation instruction is a zoom-in operation instruction, the total length of the time axis of the target time axis is increased to obtain the total length of the time axis after the change; if the zoom operation instruction is a zoom-out operation instruction, the total length of the time axis of the target time axis is reduced to obtain the total length of the time axis after the change; 获取所述变化后的时间轴总长度对应的第二预设录像片段时长,基于所述第二预设录像片段时长将所述变化后的时间轴总长度划分为多个时间区间;Acquire a second preset video segment duration corresponding to the changed total time axis length, and divide the changed total time axis length into a plurality of time intervals based on the second preset video segment duration; 其中,所述变化后的时间轴总长度越长时所述第二预设录像片段时长越长。The longer the total length of the changed time axis is, the longer the length of the second preset video segment is. 根据权利要求6所述的方法,其特征在于,所述将所述目标展示界面显示的所述检索结果结构跳转到所述第一目标录像文件对应的数据项,包括:The method according to claim 6, characterized in that the step of jumping the search result structure displayed on the target display interface to the data item corresponding to the first target video file comprises: 确定所述检索结果结构当前加载的最后一个目标录像文件的第一排序位置、以及所述第一目标录像文件的第二排序位置;其中,所述第一排序位置用于表示所述最后一个目标录像文件的数据项在所有目标录像文件的数据项中的位置关系,所述第二排序位置用于表示所述目标录像文件在所有目标录像文件的数据项中的位置关系;Determine a first sorting position of the last target video file currently loaded in the search result structure, and a second sorting position of the first target video file; wherein the first sorting position is used to indicate the positional relationship of the data item of the last target video file among the data items of all target video files, and the second sorting position is used to indicate the positional relationship of the data item of the target video file among the data items of all target video files; 基于所述第二排序位置与所述第一排序位置之间的间隔位置数量、以及所述检索结果结构的每页加载的数据项数量,确定跳转间隔页数;Determine the number of jump interval pages based on the number of interval positions between the second sort position and the first sort position and the number of data items loaded per page of the search result structure; 基于所述跳转间隔页数,将所述检索结果结构跳转到所述第一目标录像文件对应的数据项,以加载显示所述第一目标录像文件对应的数据项。Based on the jump interval page number, the search result structure jumps to the data item corresponding to the first target video file to load and display the data item corresponding to the first target video file. 一种检索结果显示装置,所述装置包括:A search result display device, comprising: 获取模块,用于获取检索条件对应的检索结果,其中,所述检索结果包括多个初始录像文件以及所述多个初始录像文件中每个初始录像文件的通道标识、起始时间和结束时间;An acquisition module, used to acquire a search result corresponding to the search condition, wherein the search result includes a plurality of initial video files and a channel identifier, a start time, and an end time of each of the plurality of initial video files; 处理模块,用于:基于已获取的录像片段时长划分多个时间区间;针对所述多个时间区间的每个时间区间,基于同一通道标识对应的所有初始录像文件的起始时间和结束时间,基于处于该时间区间内的一个或多个初始录像文件生成一个目标录像文件;The processing module is used to: divide a plurality of time intervals based on the length of the acquired video clip; for each of the plurality of time intervals, based on the start time and end time of all initial video files corresponding to the same channel identifier, generate a target video file based on one or more initial video files in the time interval; 显示模块,用于:在目标展示界面显示检索结果结构,其中,所述检索结果结构包括多个数据项,所述多个数据项中每个数据项包括一个所述目标录像文件对应的检索数据。The display module is used to display the search result structure on the target display interface, wherein the search result structure includes multiple data items, each of which includes a search data corresponding to the target video file. 根据权利要求10所述的装置,其特征在于,基于同一通道标识对应的所有初始录像文件的起始时间和结束时间,基于处于该时间区间的一个或多个初始录像文件生成一个目标录像文件时,所述处理模块具体用于:The device according to claim 10 is characterized in that, based on the start time and end time of all initial video files corresponding to the same channel identifier, when a target video file is generated based on one or more initial video files in the time interval, the processing module is specifically used to: 若存在起始时间早于该时间区间且结束时间处于该时间区间内的初始录像文件,则从该初始录像文件截取第一子录像文件,所述第一子录像文件的起始时间为该时间区间的起始时间,且所述第一子录像文件的结束时间为该初始录像文件的结束时间;基于所述第一子录像文件生成目标录像文件;If there is an initial video file whose start time is earlier than the time interval and whose end time is within the time interval, extract a first sub-video file from the initial video file, wherein the start time of the first sub-video file is the start time of the time interval and the end time of the first sub-video file is the end time of the initial video file; and generate a target video file based on the first sub-video file; 若存在结束时间晚于该时间区间且起始时间处于该时间区间内的初始录像文件,则从该初始录像文件截取第二子录像文件,所述第二子录像文件的起始时间为该初始录像文件的起始时间,且所述第二子录像文件的结束时间为该时间区间的结束时间;基于所述第二子录像文件生成目标录像文件;If there is an initial video file whose end time is later than the time interval and whose start time is within the time interval, extract a second sub-video file from the initial video file, wherein the start time of the second sub-video file is the start time of the initial video file and the end time of the second sub-video file is the end time of the time interval; and generate a target video file based on the second sub-video file; 若存在起始时间早于该时间区间且结束时间晚于该时间区间的初始录像文件,则从该初始录像文件截取第三子录像文件,所述第三子录像文件的起始时间为该时间区间的起始时间,且所述第三子录像文件的结束时间为该时间区间的结束时间;基于所述第三子录像文件生成目标录像文件;If there is an initial video file whose start time is earlier than the time interval and whose end time is later than the time interval, extract a third sub-video file from the initial video file, wherein the start time of the third sub-video file is the start time of the time interval and the end time of the third sub-video file is the end time of the time interval; and generate a target video file based on the third sub-video file; 若存在起始时间处于该时间区间内且结束时间处于该时间区间内的初始录像文件,则基于该初始录像文件生成目标录像文件。If there is an initial video file whose start time is within the time interval and whose end time is within the time interval, a target video file is generated based on the initial video file. 根据权利要求10所述的装置,其特征在于,The device according to claim 10, characterized in that 若显示模式为列表显示模式,所述检索结果结构为检索结果列表,所述目标录像文件对应的所述检索数据包括以下至少一种:所述目标录像文件的通道标识、所述目标录像文件的起始时间、所述目标录像文件的结束时间、以及所述目标录像文件的时长;其中,所述目标录像文件的起始时间是所述目标录像文件对应的所有初始录像文件的最早时间,所述目标录像文件的结束时间是所述目标录像文件对应的所有初始录像文件的最晚时间,所述目标录像文件的时长是所述目标录像文件对应的所有初始录像文件的时长之和;或者,If the display mode is the list display mode, the search result structure is a search result list, and the search data corresponding to the target video file includes at least one of the following: a channel identifier of the target video file, a start time of the target video file, an end time of the target video file, and a duration of the target video file; wherein the start time of the target video file is the earliest time of all initial video files corresponding to the target video file, the end time of the target video file is the latest time of all initial video files corresponding to the target video file, and the duration of the target video file is the sum of the durations of all initial video files corresponding to the target video file; or, 若显示模式为缩略图显示模式,所述检索结果结构为检索结果缩略图,所述目标录像文件对应的所述检索数据包括以下至少一种:所述目标录像文件的通道标识、所述目标录像文件的缩略图、以及所述目标录像文件的起始时间;其中,所述目标录像文件的缩略图是所述目标录像文件的起始时间的录像画面。If the display mode is a thumbnail display mode, the retrieval result structure is a retrieval result thumbnail, and the retrieval data corresponding to the target video file includes at least one of the following: a channel identifier of the target video file, a thumbnail of the target video file, and a start time of the target video file; wherein the thumbnail of the target video file is a video screen at the start time of the target video file. 根据权利要求10所述的装置,其特征在于,所述处理模块基于已获取的录像片段时长划分多个时间区间时,所述处理模块具体用于:The device according to claim 10 is characterized in that when the processing module divides the multiple time intervals based on the length of the acquired video clip, the processing module is specifically used to: 获取所述目标时间轴的时间轴总长度,并确定与所述时间轴总长度对应的第一预设录像片段时长;Acquire the total time axis length of the target time axis, and determine the first preset video segment length corresponding to the total time axis length; 基于所述第一预设录像片段时长将所述时间轴总长度划分为多个时间区间;Dividing the total length of the time axis into a plurality of time intervals based on the length of the first preset video clip; 其中,所述显示模块,还用于在所述目标展示界面显示所述目标时间轴,所述目标时间轴的长度为所述时间轴总长度,所述目标时间轴包括所述多个时间区间和所述多个时间区间中每个时间区间对应的显示标记,所述显示标记表示该时间区间内是否存在目标录像文件。Among them, the display module is also used to display the target timeline on the target display interface, the length of the target timeline is the total length of the timeline, the target timeline includes the multiple time intervals and a display mark corresponding to each time interval in the multiple time intervals, and the display mark indicates whether there is a target video file in the time interval. 根据权利要求10-13中任一项所述的装置,其特征在于,The device according to any one of claims 10 to 13, characterized in that 所述处理模块,还用于:若接收到第一时间区间的悬浮操作指令,则显示所述第一时间区间对应的所有目标录像文件的通道标识和/或起始时间,其中,所述第一时间区间为所述多个时间区间中所述显示标记表示存在目标录像文件的任一时间区间;若接收到针对所述第一时间区间对应的第一目标录像文件的点击操作指令,则播放所述第一目标录像文件的画面,和/或,将所述目标展示界面显示的所述检索结果结构跳转到所述第一目标录像文件对应的数据项,其中,所述第一目标录像文件是所述第一时间区间内的任一目标录像文件;或,The processing module is further configured to: if a floating operation instruction for a first time interval is received, display the channel identifiers and/or start times of all target video files corresponding to the first time interval, wherein the first time interval is any time interval in the multiple time intervals in which the display mark indicates the existence of a target video file; if a click operation instruction for a first target video file corresponding to the first time interval is received, play the screen of the first target video file, and/or jump the search result structure displayed on the target display interface to the data item corresponding to the first target video file, wherein the first target video file is any target video file within the first time interval; or, 所述处理模块,还用于:针对每个目标录像文件,将该目标录像文件的起始时间转换为目标时区的起始时间,将该目标录像文件的结束时间转换为所述目标时区的结束时间;基于该目标录像文件的所述目标时区的起始时间和所述目标时区的结束时间,确定该目标录像文件在所述目标时间轴上所属的时间区间;在显示所述第一时间区间对应的所有目标录像文件的起始时间时,显示所述第一时间区间对应的所有目标录像文件的所述目标时区的起始时间;或者,针对每个目标录像文件,基于该目标录像文件的原始时区的起始时间和原始时区的结束时间,确定该目标录像文件在所述目标时间轴上所属的时间区间;在显示所述第一时间区间对应的所有目标录像文件的起始时间时,显示所述第一时间区间对应的所有目标录像文件的所述原始时区的起始时间;或,The processing module is further used to: for each target video file, convert the start time of the target video file into the start time of the target time zone, and convert the end time of the target video file into the end time of the target time zone; determine the time interval to which the target video file belongs on the target time axis based on the start time of the target time zone and the end time of the target time zone of the target video file; when displaying the start time of all target video files corresponding to the first time interval, display the start time of the target time zone of all target video files corresponding to the first time interval; or, for each target video file, determine the time interval to which the target video file belongs on the target time axis based on the start time of the original time zone of the target video file and the end time of the original time zone; when displaying the start time of all target video files corresponding to the first time interval, display the start time of the original time zone of all target video files corresponding to the first time interval; or, 所述处理模块,还用于:若接收到针对所述目标时间轴的缩放操作指令,则获取与所述缩放操作指令匹配的变化后的时间轴总长度;其中,若所述缩放操作指令是放大操作指令,则增加所述目标时间轴的时间轴总长度以得到变化后的时间轴总长度;若所述缩放操作指令是缩小操作指令,则降低所述目标时间轴的时间轴总长度得到变化后的时间轴总长度;获取所述变化后的时间轴总长度对应的第二预设录像片段时长,基于所述第二预设录像片段时长将所述变化后的时间轴总长度划分为多个时间区间;其中,所述变化后的时间轴总长度越长时所述第二预设录像片段时长越长;或,The processing module is further used for: if a zoom operation instruction for the target time axis is received, then obtaining the total length of the time axis after the change that matches the zoom operation instruction; wherein, if the zoom operation instruction is a zoom-in operation instruction, then increasing the total length of the time axis of the target time axis to obtain the total length of the time axis after the change; if the zoom operation instruction is a zoom-out operation instruction, then reducing the total length of the time axis of the target time axis to obtain the total length of the time axis after the change; obtaining the second preset video segment duration corresponding to the total length of the time axis after the change, and dividing the total length of the time axis after the change into a plurality of time intervals based on the second preset video segment duration; wherein, the longer the total length of the time axis after the change is, the longer the second preset video segment duration is; or, 所述处理模块将所述目标展示界面显示的所述检索结果结构跳转到所述第一目标录像文件对应的数据项时具体用于:确定所述检索结果结构当前加载的最后一个目标录像文件的第一排序位置、以及所述第一目标录像文件的第二排序位置;其中,所述第一排序位置用于表示所述最后一个目标录像文件的数据项在所有目标录像文件的数据项中的位置关系,所述第二排序位置用于表示所述目标录像文件在所有目标录像文件的数据项中的位置关系;基于所述第二排序位置与所述第一排序位置之间的间隔位置数量、以及所述检索结果结构的每页加载的数据项数量,确定跳转间隔页数;基于所述跳转间隔页数,将所述检索结果结构跳转到所述第一目标录像文件对应的数据项,以加载显示所述第一目标录像文件对应的数据项。When the processing module jumps the retrieval result structure displayed on the target display interface to the data item corresponding to the first target video file, it is specifically used to: determine the first sorting position of the last target video file currently loaded in the retrieval result structure, and the second sorting position of the first target video file; wherein the first sorting position is used to indicate the positional relationship of the data item of the last target video file among the data items of all target video files, and the second sorting position is used to indicate the positional relationship of the target video file among the data items of all target video files; based on the number of interval positions between the second sorting position and the first sorting position, and the number of data items loaded per page of the retrieval result structure, determine the number of jump interval pages; based on the number of jump interval pages, jump the retrieval result structure to the data item corresponding to the first target video file, so as to load and display the data item corresponding to the first target video file. 一种客户端设备,包括:处理器和机器可读存储介质,所述机器可读存储介质存储有能够被所述处理器执行的机器可执行指令;所述处理器用于执行机器可执行指令,以实现权利要求1-9中任一项所述的方法。A client device comprises: a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor; the processor is used to execute the machine-executable instructions to implement the method described in any one of claims 1 to 9.
PCT/CN2024/135570 2023-12-28 2024-11-29 Retrieval result display method and apparatus, and device Pending WO2025139584A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202311855639.3A CN117828125A (en) 2023-12-28 2023-12-28 A search result display method, device and equipment
CN202311855639.3 2023-12-28

Publications (1)

Publication Number Publication Date
WO2025139584A1 true WO2025139584A1 (en) 2025-07-03

Family

ID=90507409

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/135570 Pending WO2025139584A1 (en) 2023-12-28 2024-11-29 Retrieval result display method and apparatus, and device

Country Status (2)

Country Link
CN (1) CN117828125A (en)
WO (1) WO2025139584A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117828125A (en) * 2023-12-28 2024-04-05 杭州海康威视数字技术股份有限公司 A search result display method, device and equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567370A (en) * 2010-12-27 2012-07-11 武汉磐大科技有限公司 Method for quickly searching for videotape fragments
CN104639862A (en) * 2013-11-11 2015-05-20 杭州海康威视数字技术股份有限公司 Video file playback method and device
CN105336347A (en) * 2014-06-26 2016-02-17 杭州海康威视数字技术股份有限公司 Video file browsing method and device
WO2018042977A1 (en) * 2016-08-29 2018-03-08 株式会社Nexpoint Surveillance camera system, and video browsing method and video combining method for surveillance camera system
CN108174132A (en) * 2016-12-07 2018-06-15 杭州海康威视数字技术股份有限公司 The back method and device of video file
US20210312188A1 (en) * 2020-04-01 2021-10-07 Honeywell International Inc. Systems and methods for collecting video clip evidence from a plurality of video streams of a video surveillance system
KR20220003779A (en) * 2020-07-02 2022-01-11 한화테크윈 주식회사 apparatus and method for multi-channel image back-up based on event, and network surveillance camera system including the same
CN115348477A (en) * 2022-04-28 2022-11-15 武汉众智数字技术有限公司 Method and system for fast video retrieval based on time axis
KR20230103972A (en) * 2021-12-31 2023-07-07 한화비전 주식회사 Apparatus for receiving/searching images and method for displaying the received/searched images
CN117828125A (en) * 2023-12-28 2024-04-05 杭州海康威视数字技术股份有限公司 A search result display method, device and equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567370A (en) * 2010-12-27 2012-07-11 武汉磐大科技有限公司 Method for quickly searching for videotape fragments
CN104639862A (en) * 2013-11-11 2015-05-20 杭州海康威视数字技术股份有限公司 Video file playback method and device
CN105336347A (en) * 2014-06-26 2016-02-17 杭州海康威视数字技术股份有限公司 Video file browsing method and device
WO2018042977A1 (en) * 2016-08-29 2018-03-08 株式会社Nexpoint Surveillance camera system, and video browsing method and video combining method for surveillance camera system
CN108174132A (en) * 2016-12-07 2018-06-15 杭州海康威视数字技术股份有限公司 The back method and device of video file
US20210312188A1 (en) * 2020-04-01 2021-10-07 Honeywell International Inc. Systems and methods for collecting video clip evidence from a plurality of video streams of a video surveillance system
KR20220003779A (en) * 2020-07-02 2022-01-11 한화테크윈 주식회사 apparatus and method for multi-channel image back-up based on event, and network surveillance camera system including the same
KR20230103972A (en) * 2021-12-31 2023-07-07 한화비전 주식회사 Apparatus for receiving/searching images and method for displaying the received/searched images
CN115348477A (en) * 2022-04-28 2022-11-15 武汉众智数字技术有限公司 Method and system for fast video retrieval based on time axis
CN117828125A (en) * 2023-12-28 2024-04-05 杭州海康威视数字技术股份有限公司 A search result display method, device and equipment

Also Published As

Publication number Publication date
CN117828125A (en) 2024-04-05

Similar Documents

Publication Publication Date Title
US7496859B2 (en) Folder icon display control apparatus
US8683339B2 (en) Intelligent content organization based on time gap analysis
US7634141B2 (en) Information processing apparatus, method and program
EP1830361A1 (en) Image displaying method and video playback apparatus
JP4636134B2 (en) Display control apparatus, display control method, and program
US8879890B2 (en) Method for media reliving playback
JP4433327B2 (en) Information processing apparatus and method, and program
US20100277496A1 (en) Data display device, integrated circuit, data display method, data display program, and recording medium
US20080085053A1 (en) Sampling image records from a collection based on a change metric
JP5988798B2 (en) Image display apparatus, control method therefor, program, and storage medium
WO2025139584A1 (en) Retrieval result display method and apparatus, and device
JP2005301889A (en) Image comparison program
JP2004229070A (en) File classification device, file classification program, digital camera, and file classification system
JP2005033711A (en) Information processing apparatus and method, and program
US9933926B2 (en) Method and system for medical data display
US20090115799A1 (en) Method for displaying images
CN106294709B (en) Cloud storage file display method and device
US20040135894A1 (en) Method, apparatus and program for image classification
US10225459B2 (en) Image reproducing apparatus that selects image from multiple images and reproduces same, method of controlling image reproducing apparatus, and storage medium
JP2007280406A (en) Information processing apparatus, display control method, and program
JP2006279118A (en) Image reproduction apparatus and program
CN101388989B (en) Recording apparatus and method, and recording medium
JP4433714B2 (en) Information processing apparatus and method, and program
JP6230335B2 (en) Information processing apparatus and information processing method
JP5617535B2 (en) Information processing apparatus, information processing apparatus processing method, and program.

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24910517

Country of ref document: EP

Kind code of ref document: A1