A search result display method, device and apparatus

CN117828125BActive Publication Date: 2026-09-18HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311855639.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2026-09-18
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

[0004]然而,如何通过目标展示界面显示大量录像文件的检索结果,在相关技术中还没有有效的检索结果显示方式,存在用户体验差、显示性能低等问题

Benefits of technology

[0014] It can be seen from the above technical solutions that in the embodiments of the present application, a plurality of time intervals can be divided based on the duration of video clips, initial video files within the time intervals are combined to obtain target video files, and retrieval data of the target video files is displayed, so that video files within the time intervals are integrated, and video files are displayed with the time interval as a granularity, which improves user experience and display performance. The retrieval result structure and a target time axis can be simultaneously displayed on the target display interface, so that the target time axis and the retrieval result structure can be linked. The time distribution of overall retrieval results is displayed through the target time axis (that is, the target time axis includes a plurality of time intervals and a display mark corresponding to each time interval, and the display mark indicates that there is or is not a target video file in the time interval), and retrieval results of video files are displayed through the retrieval result structure (that is, the retrieval result structure includes a plurality of data items, and each data item includes retrieval data corresponding to one 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 user experience and display performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117828125B_ABST
    Figure CN117828125B_ABST
Patent Text Reader

Abstract

The application provides a search result display method, device and equipment, the method comprising: obtaining a search result corresponding to a search condition, the search result comprising a plurality of initial video files, a channel identifier of each initial video file, a start time and an end time of each initial video file; dividing a plurality of time intervals based on the obtained video segment duration; for each time interval, generating a target video file based on the start time and the end time of all initial video files corresponding to the same channel identifier and based on the initial video file in the time interval; and displaying a search result structure on a target display interface, the search result structure comprising a plurality of data items, each data item comprising search data corresponding to a target video file. The technical solution of the application can improve user experience and display performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information display, and in particular to a method, apparatus and device for displaying search results. Background Technology

[0002] The process of searching for video files requires specifying search criteria to obtain corresponding search results. For example, search criteria might include the video recording time period, the recording region, or the search target (such as a vehicle or a human figure). Based on these criteria, video files matching the specified criteria can be found across all video files, and the search results are determined based on the information from these video files.

[0003] After obtaining the search results for the video files, these results can be displayed on the target display interface. For example, during the video file search process, concurrent searching of multiple channels is supported, meaning that a large number of video files from multiple channels can be retrieved, and the search results for these large numbers of video files can be displayed on the target display interface.

[0004] However, there is no effective way to display search results for a large number of video files through the target display interface, resulting in poor user experience and low display performance. Summary of the Invention

[0005] This application provides a method for displaying search results, the method comprising:

[0006] Obtain the search results corresponding to the search criteria. The search results include multiple initial video files, the channel identifier of each initial video file, and the start and end times of each initial video file.

[0007] Divide the video clips into multiple time intervals based on their duration;

[0008] For each time interval, based on the start and end times of all initial video files corresponding to the same channel identifier, a target video file is generated based on the initial video files within that time interval.

[0009] The search results structure is displayed on the target display interface. The search results structure includes multiple data items, and each data item includes search data corresponding to a target video file.

[0010] This application provides a search result display device, the device comprising: an acquisition module, used to acquire search results corresponding to search conditions, the search results including multiple initial video files, a channel identifier of each initial video file, and a start time and end time of each initial video file;

[0011] a processing module, configured to divide a plurality of time intervals based on the acquired duration of video clips; for each time interval, generate a target video file based on the initial video files located in the time interval according to the start time and end time of all initial video files corresponding to the same channel identifier;

[0012] a display module, configured to display a retrieval result structure on a target display interface, wherein the retrieval result structure includes a plurality of data items, and each data item includes retrieval data corresponding to one target video file.

[0013] The present application provides a client device, comprising: a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions executable by the processor; and the processor is configured to execute the machine-executable instructions to implement the retrieval result display method in the above examples of the present application.

[0014] It can be seen from the above technical solutions that in the embodiments of the present application, a plurality of time intervals can be divided based on the duration of video clips, initial video files within the time intervals are combined to obtain target video files, and retrieval data of the target video files is displayed, so that video files within the time intervals are integrated, and video files are displayed with the time interval as a granularity, which improves user experience and display performance. The retrieval result structure and a target time axis can be simultaneously displayed on the target display interface, so that the target time axis and the retrieval result structure can be linked. The time distribution of overall retrieval results is displayed through the target time axis (that is, the target time axis includes a plurality of time intervals and a display mark corresponding to each time interval, and the display mark indicates that there is or is not a target video file in the time interval), and retrieval results of video files are displayed through the retrieval result structure (that is, the retrieval result structure includes a plurality of data items, and each data item includes retrieval data corresponding to one 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 user experience and display performance. Description of Drawings

[0015] Figure 1 is a schematic flowchart of a retrieval result display method in an embodiment of the present application;

[0016] Figure 2 is a schematic flowchart of a retrieval result display method in an embodiment of the present application;

[0017] Figure 3A is a schematic diagram of a retrieval result list in an embodiment of the present application;

[0018] Figure 3B is a schematic diagram of a retrieval result list and a target time axis in an embodiment of the present application;

[0019] Figure 3C , Figure 3D , Figure 3E This is a schematic diagram of the target time axis in one embodiment of this application;

[0020] Figure 4 This is a flowchart illustrating a method for displaying search results in one embodiment of this application;

[0021] Figure 5A This is a schematic diagram of a search result thumbnail in one embodiment of this application;

[0022] Figure 5B This is a schematic diagram of the search results thumbnail and the target timeline in one embodiment of this application;

[0023] Figure 6 This is a schematic diagram of the structure of a search result display device in one embodiment of this application;

[0024] Figure 7 This is a hardware structure diagram of a client device in one embodiment of this application. Detailed Implementation

[0025] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the application. The singular forms “a,” “the,” and “the” as used in this application and claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to any and all possible combinations comprising one or more of the associated listed items.

[0026] This application proposes a method for displaying search results, which can be applied to client devices, i.e., electronic devices with client applications deployed. The client can be any client that supports displaying search results; there is no limitation on the type of client. The electronic device can be a PC, laptop, smartphone, camera, NVR, storage device, display device, management device, etc., and there is no limitation on the type of electronic device.

[0027] See Figure 1 The diagram shown is a flowchart illustrating the method for displaying search results. This method may include:

[0028] Step 101: Obtain the search results corresponding to the search criteria. These search results may include multiple initial video files (such as 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 target video file.

[0029] Step 102: Divide the video clips into multiple time intervals based on their durations.

[0030] Step 103: For each time interval, based on the start and end times of all initial video files corresponding to the same channel identifier, generate a target video file based on the initial video files in that time interval. That is, combine the initial video files in that time interval into a target video file.

[0031] Step 104: Display the search results structure on the target display interface. The search results structure may include multiple data items, and each data item includes the search data corresponding to a target video file.

[0032] For example, generating a target video file based on the start and end times of all initial video files corresponding to the same channel identifier and within that time interval may include, but is not limited 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, then extracting a first sub-video file from that initial video file, wherein the start time of the first sub-video file can be the start time of the time interval, and the end time of the first sub-video file can be the end time of the initial video file; generating the 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 but whose start time is within the time interval, then extracting a second sub-video file from that initial video file, wherein the start time of the second sub-video file can be the start time of the initial video file, and the end time of the second sub-video file can be the end time of the time interval; generating the target video file based on the second sub-video file. If an initial video file exists with a start time earlier than the specified time interval and an end time later than the specified time interval, a third sub-video file is extracted from this initial video file. The start time and end time of this third sub-video file can be the start time and end time of the specified time interval. A target video file is generated based on this third sub-video file. If an initial video file exists with both a start time and an end time within the specified time interval, a target video file is generated based on this initial video file.

[0033] For example, if the client device's display mode is 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: 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 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 client device's display mode is thumbnail display mode, the search result structure is a search result thumbnail, and 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 recording frame at the start time of the target video file.

[0034] For example, dividing the time axis into multiple time intervals based on the acquired video segment duration may include, but is not limited to: obtaining the total length of the target time axis and determining the video segment duration corresponding to the total time axis length; and dividing the total time axis length into multiple time intervals based on the video segment duration.

[0035] For example, a target timeline can 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 marker corresponding to each time interval. The display marker indicates whether the target video file exists or does not exist in the time interval.

[0036] If a hover operation command is received for a first time interval containing target video files, the channel identifier and / or start time of all target video files corresponding to the first time interval will be displayed.

[0037] If a click operation command is received for the first target video file corresponding to the first time interval, 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.

[0038] For example, for each target video file, the start time of the target video file is converted to the start time of the target time zone, and the end time of the target video file is converted to the end time of the target time zone. Based on the start and end times of the target time zone of the target video file, the time interval to which the target video file belongs on the target timeline is determined. When displaying the start times of all target video files corresponding to the first time interval, the start times of the target time zones of all target video files corresponding to the first time interval are also displayed. Alternatively, for each target video file, based on the start and end times of the original time zone of the target video file, the time interval to which the target video file belongs on the target timeline is determined; when displaying the start times of all target video files corresponding to the first time interval, the start times of the original time zones of all target video files corresponding to the first time interval are also displayed.

[0039] For example, if a scaling operation instruction for the target time axis is received, the total length of the time axis after the change is obtained in accordance with the scaling operation instruction; wherein, if the scaling operation instruction is a zoom-in operation instruction, the total length of the time axis is increased to obtain the total length of the time axis after the change; or, if the scaling operation instruction is a zoom-out operation instruction, the total length of the time axis is decreased to obtain the total length of the time axis after the change.

[0040] Obtain the duration of the changed video segment corresponding to the total length of the changed timeline, and divide the total length of the changed timeline into multiple time intervals based on the duration of the changed video segment; where the larger the total length of the changed timeline, the longer the duration of the changed video segment.

[0041] For example, when the search results structure is displayed on the target display interface, if a click instruction is received for a data item of the second target video file, the video of the second target video file will be played. Furthermore, the time interval to which the second target video file belongs on the target timeline can be determined based on its start and end times. A "played" marker is set for this time interval on the target timeline; the "played" marker indicates that a target video file is currently playing within this time interval.

[0042] For example, 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 a first sorting position of a last target video file currently loaded by the search result structure, and determining a second sorting position of the first target video file; wherein the sorting position is used to represent the positional relationship of the data item of the target video file among the data items of all target video files (that is, representing which data item among all the data items of target video files it is); 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; 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.

[0043] For example, obtaining search results corresponding to the search condition may include, but is not limited to: obtaining a plurality of search video files corresponding to the search condition; determining the plurality of search video files as initial video files; or, obtaining a target channel identifier of an interested channel; selecting, from all search video files based on the channel identifier of each search video file, a search video file matching the target channel identifier as an initial video file.

[0044] It can be seen from the above technical solutions that in the embodiments of the present application, a plurality of time intervals can be divided based on the duration of video clips, initial video files within the time intervals are combined to obtain target video files, and search data of the target video files is displayed, thereby integrating video files within the time intervals and displaying the video files with time intervals as granularity, so as to improve user experience and display performance. A search result structure and a target timeline can be displayed simultaneously on the target display interface, so that the target timeline and the search result structure can be linked. The time distribution of the overall search results is displayed through the target timeline (that is, the target timeline includes a plurality of time intervals and a display mark corresponding to each time interval, and the display mark indicates that there is a target video file or no target video file in the time interval), and the search results of the video files are displayed through the search result structure (that is, the search result structure includes a plurality of data items, and each data item includes search data corresponding to one 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 user experience and display performance.

[0045] The above technical solutions of the embodiments of the present application are described below with reference to specific application scenarios.

[0046] An embodiment of the present application provides a search result display method, which can be applied to a client device, see Figure 2 , which is a schematic flowchart of the search result display method, the method may include:

[0047] Step 201: Obtain the search results corresponding to the search criteria.

[0048] For example, for each camera, during the process of the camera capturing video files of the target scene (i.e., the camera's field of view), if a specified type of event (such as a vehicle entering the scene, a human entering the scene, etc.) occurs in the target scene, 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, and the channel identifier of the video file (i.e., the unique identifier of this camera; different cameras may correspond to different channels) will be stored in the database. That is, the mapping relationship between the start time and end time of the specified type of event, the unique file identifier of the video file, and the channel identifier of the video file will be stored in the database.

[0049] For example, during the retrieval of video files, search criteria can be obtained. These search criteria may include, but are not limited to, at least one of the following: recording time period, recording area, and search target (such as a vehicle target or a human target). There are no restrictions on these search criteria. The recording time period indicates that all video files within that recording time period are being retrieved; the recording area indicates that video files from all channels (i.e., all cameras) within that recording area are being retrieved; and the search target indicates whether the search target exists within the video files.

[0050] For example, search results corresponding to the search criteria can be obtained. These search results may include multiple initial video files (such as the unique file identifier of the 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.

[0051] 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 we can retrieve the recording file (denoted as the initial recording file) for recording time period A, recording area B, and the vehicle target. Clearly, for the retrieved initial recording file, the initial recording file is located within recording time period A, the initial recording file is a recording file captured by a camera within recording area B, and the initial recording file contains a vehicle target (i.e., the recording file for the specified event type, vehicle entry event, contains a vehicle target, and the recording file for the vehicle entry event can be retrieved from the database).

[0052] For the retrieved initial video file, you can query the database for the initial video file's unique file identifier, channel identifier, start time (i.e., the start time of the vehicle entry event), and end time (i.e., the end time of the vehicle entry event).

[0053] At this point, the search results corresponding to the search criteria can be obtained. During the video file retrieval process, concurrent retrieval of multiple channels is supported; that is, video files from multiple channels can be retrieved simultaneously based on the search criteria. Therefore, the search results corresponding to the search criteria can include multiple initial video files (such as 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.

[0054] In one possible implementation, search results can be filtered, supporting multi-channel secondary filtering. That is, when a channel of interest is selected, the thumbnails, lists, and timelines will only display the video files for the selected channel. Based on this, search results corresponding to search criteria can also be obtained in the following ways.

[0055] Method 1: Obtain multiple search video files corresponding to the search criteria, and determine the multiple search video files as the initial video files, thus obtaining multiple initial video files corresponding to the search criteria.

[0056] 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, then we can search for recording files targeting recording time period A, recording area B, and the vehicle target. These recording files are called search recording files. Based on this, we can use these search recording files as initial recording files, thus obtaining multiple initial recording files. Then, we can obtain the unique file identifier, channel identifier, start time, and end time of each initial recording file, thus obtaining the search results.

[0057] Method 2: Obtain multiple search video files corresponding to the search criteria, and obtain the target channel identifier for the channel of interest. Based on the channel identifier of each search video file, select the search video file that matches the target channel identifier from all search video files as the initial video file.

[0058] For example, taking recording time period A, recording area B, and vehicle target as an example, we can retrieve recording files targeting recording time period A, recording area B, and vehicle target. These recording files are called the retrieved recording files. Furthermore, we can obtain the target channel identifier for the channel of interest (the channel identifier for the channel of interest is called the target channel identifier). The target channel identifier can be a user-configured channel identifier, i.e., a channel identifier used for secondary filtering.

[0059] Based on this, according to 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 an initial video file; 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 an initial video file. Thus, multiple initial video files can be obtained. Then, the unique file identifier, channel identifier, start time, and end time of each initial video file can be obtained, i.e., the search results can be obtained.

[0060] Step 202: Divide the acquired video clips into multiple time intervals. For example, for each time interval, the length of the time interval (i.e., the duration) can be the duration of the video clip.

[0061] For example, a pre-configured recording segment duration can be obtained (e.g., user-defined duration), and multiple time intervals can be divided based on this duration. Alternatively, the target display interface can include controls related to recording segment duration, allowing users to set the duration by interacting with these controls. Another example is obtaining the total length of the target timeline and determining the corresponding recording segment duration, then dividing the total timeline into multiple time intervals based on this duration. Of course, these are just examples, and the method for obtaining the recording segment duration is not limited.

[0062] For example, regarding the method of determining the duration of a video segment based on the total length of the target timeline, the total length of the target timeline can be determined first. For instance, multiple candidate length values ​​for the target timeline can be pre-configured. These candidate length values ​​can be of any length, such as 7 days, 48 ​​hours, 24 hours, 12 hours, 6 hours, etc., and multiple candidate length values ​​can be configured arbitrarily.

[0063] Then, based on the search criteria (such as the recording time period in the search criteria), the total timeline length is selected from multiple candidate length values. The total timeline length must be greater than or equal to the duration of the recording time period. For example, if the recording time period in the search criteria is longer than 48 hours and less than or equal to 7 days, then the candidate length value "7 days" can be used as the total timeline length of the target timeline. If the recording time period is longer than 24 hours and less than or equal to 48 hours, then either the candidate length value "48 hours" or "7 days" can be used as the total timeline length of the target timeline, as long as the total timeline length is greater than 24 hours. Usually, the length closest to the recording time period, such as the candidate length value "48 hours," is selected as the total timeline length, and so on.

[0064] If the duration of the recording period is greater than 7 days, which is greater than the maximum candidate length value, the user can be prompted that the search range is exceeded and the duration of the recording period needs to be controlled within 7 days. In this way, the user can re-enter the search conditions and retrieve data based on the search conditions. See step 201 for this process.

[0065] For example, after obtaining the total timeline length, the corresponding video segment duration can be determined. For instance, the correspondence between candidate length values ​​and video segment durations can be pre-configured. This correspondence is not restricted and can be configured based on experience; generally, a larger candidate length value results in a longer video segment duration. For example, if the candidate length value is 7 days, the video segment duration could be 3 hours, 2 hours, 1 hour, etc., without restriction. If the candidate length value is 24 hours, the video segment duration could be 30 minutes, 25 minutes, 20 minutes, without restriction. If the candidate length value is 12 hours, the video segment duration could be 20 minutes, 15 minutes, 10 minutes, without restriction. If the candidate length value is 6 hours, the video segment duration could be 10 minutes, 8 minutes, 5 minutes, without restriction. Of course, the above are just a few examples of the relationship between candidate length values ​​and video segment durations; the video segment duration can be configured arbitrarily.

[0066] Based on this, if the total length of the timeline is 7 days, the corresponding video segment length can be 3 hours; if the total length of the timeline is 24 hours, the corresponding video segment length can be 30 minutes, and so on, thus obtaining the video segment length.

[0067] After obtaining the total timeline length corresponding to the video segment duration, the total timeline length can be divided into multiple time intervals based on these segment durations. For example, assuming the total timeline length is 24 hours and the video segment duration is 30 minutes, it can be divided into 48 time intervals, each 30 minutes long. For instance, the first time interval might be 0:00-0:30, the second 0:30-1:00, the third 1:00-1:30, and so on, with the 48th time interval being 23:30-24:00. Similarly, assuming the total timeline length is 12 hours and the video segment duration is 20 minutes, it can be divided into 36 time intervals, each 20 minutes long. Or, assuming the total timeline length is 6 hours and the video segment duration is 10 minutes, it can be divided into 36 time intervals, each 10 minutes long, and so on. This allows for the creation of multiple time intervals.

[0068] Step 203: For each time interval, based on the start and end times of all initial video files corresponding to the same channel identifier, generate a target video file based on the initial video files in that time interval, that is, combine the initial video files in that time interval into a target video file.

[0069] For example, using channel identifiers as the granularity, determine all the initial recording files corresponding to each channel identifier. For instance, find all the initial recording files corresponding to channel identifier AAA, all the initial recording files corresponding to channel identifier BBB, all the initial recording files corresponding to channel identifier CCC, and so on.

[0070] Based on the start and end times of all initial video files corresponding to the same channel identifier (e.g., the start and end times of all initial video files corresponding to channel identifier AAA), a target video file is generated for each time interval based on the initial video files within that time interval. For example, assuming channel identifier AAA corresponds to initial video files a1 and a2 in the time interval "0:00-0:30", then target video file b1 corresponding to the time interval "0:00-0:30" is generated based on initial video files a1 and a2; assuming channel identifier AAA corresponds to initial video files a3, a4, and a5 in the time interval "0:30-1:00", then target video file b2 corresponding to the time interval "0:30-1:00" is generated based on initial video files a3, a4, and a5; assuming channel identifier AAA does not correspond to any initial video file in the time interval "1:00-1:30", then there is no target video file b2 corresponding to the time interval "1:00-1:30", and so on.

[0071] At this point, at least one target video file corresponding to 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 channel identifier AAA is less than or equal to 48, meaning that some time intervals may not correspond to any target video file.

[0072] In one possible implementation, for each time interval, taking the time interval "0:30-1:00" as an example, if there is an initial video file with a start time earlier than the time interval and an end time within the time interval, such as the initial video file having a start time of 0:20 and an end time of 0:35, then a first sub-video file is extracted from the initial video file. The start time of the first sub-video file can be 0:30, and the end time of the first sub-video file can be 0:35. The target video file includes the first sub-video file.

[0073] If there exists an initial video file whose end time is later than the time interval and whose start time is within the time interval, such as an initial video file whose start time is 0:55 and end time is 1:35, then a second sub-video file is extracted from the initial video file. The start time of the second sub-video file can be 0:55 and the end time of the second sub-video file can be 1:00, and the target video file includes the second sub-video file.

[0074] If there exists an initial video file with a start time earlier than the time interval and an end time later than the time interval, such as an initial video file with a start time of 0:20 and an end time of 1:05, then a third sub-video file is extracted from the initial video file. The start time of the third sub-video file can be 0:30 and the end time of the third sub-video file can be 1:00, and the target video file includes the third sub-video file.

[0075] If there exists an initial video file whose start time and end time are both within the specified time interval, such as an initial video file whose start time is 0:40 and end time is 0:45, then the target video file includes that initial video file.

[0076] For ease of description, let's take an example where the target video file includes 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 with a start time of 0:55 and an end time of 1:00 (second sub-video file). The target video file is obtained by stitching these three initial video files together. During the stitching process, the footage at 0:35 is stitched together with the footage at 0:40, and the footage at 0:45 is stitched together with the footage at 0:55.

[0077] Step 204: Display the search results list on the target display interface. For example, if the client device's display mode is list display mode, then the search results list will be displayed on the target display interface.

[0078] For example, the search results list may include multiple data items. For each data item in the search results 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: 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. In addition to the above, the search data may also include the number of target video files corresponding to the channel identifier, etc., without limitation.

[0079] The start time of the target video file is the earliest time of all its corresponding initial video files, and the end time is the latest time of all its corresponding initial video files. The duration of the target video file is the sum of the durations of all its corresponding initial video files. For example, if the target video file corresponds to initial video files 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, then 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). As another example, if the target video file corresponds to initial video files 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, then 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.

[0080] For example, see Figure 3A The image shown is an example of a list of search results. From Figure 3A As can be seen, 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 is 2023 / 11 / 10 12:30:10, the duration is 20 minutes, the channel identifier is AAA, and the first target video file represents a data item in the search results list, and so on. 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 is 2023 / 11 / 11 10:35:10, the duration is 25 minutes, the channel identifier is BBB, and the first target video file represents a data item in the search results list, and so on.

[0081] In one possible implementation, when the search results list is displayed on the target display interface, the search results list initially 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 results list initially loads 150 data items, that is, in... Figure 3AThe search results list shown contains 150 data items. In subsequent steps, the remaining data items can be loaded incrementally by scrolling. For example, while scrolling down the search results list, the remaining data items can be loaded incrementally. When scrolling down the search results list, the 151st data item, the 152nd data item, and so on, are loaded sequentially.

[0082] Step 205: Display the target timeline on the target display interface. For example, if the client device's display mode is list display mode, then the search results list and the target timeline will be displayed simultaneously on the target display interface.

[0083] For example, 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. Therefore, the target timeline can include multiple time intervals and a display marker corresponding to each time interval, and the display marker indicates whether the target video file exists or does not exist in that time interval. For example, the target timeline can include time intervals 0:00-0:30, 0:30-1:00, 1:00-1:30, ..., and so on, without limitation.

[0084] For example, for multiple time intervals of the target timeline, each time interval can have a corresponding display marker. Specifically, if a target video file exists in a certain time interval (i.e., the start and end times of the target video file are within that time interval), then a display marker is configured for that time interval, indicating that a target video file exists in that time interval. If a target video file does not exist in a certain time interval (i.e., the start and end times of all target video files are not within that time interval), then a display marker is configured for that time interval, indicating that no target video file exists in that time interval.

[0085] Display markers can be color-coded, such as gray or black markers indicating the presence of a target video file within a given time interval, and white markers indicating its absence. Display markers can also be shape-coded, such as rectangles or squares indicating the presence of a target video file within a given time interval, and circles indicating its absence. Display markers can be numbers, such as 1 indicating the presence of a target video file within a given time interval, and 2 indicating its absence. Display markers can also be symbols, such as a period indicating the presence of a target video file within a given time interval, and a question mark indicating its absence. These are just a few examples of display markers, and no limitation is imposed on their use.

[0086] For example, see Figure 3BThe diagram illustrates the simultaneous display of a search results list and a target timeline on the target display interface, using a target timeline comprising 12 time intervals as an example. The first time interval is 0:00-1:00, indicated by a gray marker, signifying the presence of a target video file. The second time interval is 1:00-2:00, also indicated by a gray marker, and the third time interval is 2:00-3:00, indicated by a white marker, signifying the absence of a target video file. This pattern continues, displaying the presence or absence of target video files across all 12 time intervals.

[0087] In summary, the target timeline can include multiple time intervals and a display marker for each time interval, and the display marker indicates whether the target video file exists or does not exist in that time interval.

[0088] In one possible implementation, different colors can be used to distinguish target video files for different channels on the target timeline. For example, the display markers can be color-coded: gray indicates the presence of a target video file corresponding to channel identifier AAA within a time interval; black indicates the presence of a target video file corresponding to channel identifier BBB; red indicates the presence of a target video file corresponding to channel identifier CCC; purple indicates the presence of a target video file corresponding to channel identifier DDD; and white indicates the absence of a target video file within a time interval. Furthermore, if a target video file corresponding to channel identifier CCC exists in a certain time interval, a red display marker is assigned to that time interval; if a target video file corresponding to both channel identifier CCC and channel identifier DDD exists in a certain time interval, both red and purple display markers are assigned to that time interval—a combined red and purple display marker. Of course, the above is just an example; using different color markers to distinguish target video files corresponding to different channel identifiers is sufficient.

[0089] In one possible implementation, the target timeline can also support scaling time precision (i.e. scaling the total length of the timeline), thereby automatically recombining all video files according to the precision of the target timeline. The higher the precision of the target timeline, the shorter the duration of the corresponding video file.

[0090] For example, if a zoom operation command is received for the target timeline, the changed total length of the timeline matching the zoom operation command can be obtained. Specifically, if the zoom operation command is a magnification command, such as scrolling the mouse wheel down (or up) or pressing the zoom button upwards, it can be triggered. Under the magnification command, the total timeline length can be increased to obtain the changed total timeline length, and then the changed recording segment duration corresponding to the changed total timeline length can be obtained. Based on the changed recording segment duration, the changed total timeline length is divided into multiple time intervals, meaning the time intervals change. When the time intervals change, the target recording file also changes synchronously; for example, based on the changed time interval, the target recording file is generated based on the initial recording file within that time interval. When the time intervals change, the displayed target timeline also changes synchronously. The larger the changed total timeline length, the longer the changed recording segment duration.

[0091] For example, if the current total timeline length is 24 hours, under the zoom-in command, the total timeline length is increased to 7 days, and the video clip duration is increased from 30 minutes to 3 hours. Then, based on the 3 hours, the target video file is regenerated, and the target timeline is redisplayed. The implementation method is the same as the steps described above, and will not be repeated here. As another example, if the current total timeline length is 12 hours, under the zoom-in command, the total timeline length is increased to 24 hours, and the video clip duration is increased from 20 minutes to 30 minutes.

[0092] For example, if a zoom operation command is received for the target timeline, the changed total length of the timeline matching the zoom operation command can be obtained. Specifically, if the zoom operation command is a zoom-out command, such as scrolling the mouse wheel up (or down) or pressing the zoom button down, a zoom-out command can be triggered. Under the zoom-out command, the total timeline length can be reduced to obtain the changed total timeline length, and then the changed recording segment duration corresponding to the changed total timeline length can be obtained. Based on the changed recording segment duration, the changed total timeline length is divided into multiple time intervals, i.e., the time intervals change. When the time intervals change, the target recording file also changes synchronously. For example, based on the changed time interval, the target recording file is generated based on the initial recording file within that time interval. When the time intervals change, the displayed target timeline also changes synchronously. For instance, if the current total timeline length is 24 hours, under the zoom-out command, the total timeline length is reduced to 12 hours, and the recording segment duration is reduced from 30 minutes to 20 minutes.

[0093] For example, see Figure 3CAs shown, the target timeline can include zoom buttons. Clicking the plus sign (+) indicates pressing the zoom button upwards, triggering a zoom-in command, which increases the total length of the timeline. Clicking the minus sign (-) indicates pressing the zoom button downwards, triggering a zoom-out command, which decreases the total length of the timeline. Figure 3C In this example, when the total length of the timeline is 12 hours, and the video clip duration is 1 hour, this is just a convenient example. In actual applications, the video clip duration can be 20 minutes.

[0094] See Figure 3C As shown, the total timeline length can be controlled by pressing the zoom button up and down: 7 days (3-hour video clips), 24 hours (30-minute video clips), 12 hours (20-minute video clips), and 6 hours (10-minute video clips). Of course, these are just a few examples of the total timeline length, and no limit is imposed on it.

[0095] For example, see Figure 3D As shown, the target timeline can also display the search time range (e.g., 2023 / 11 / 8 12:10:10—2023 / 11 / 12 12:10:10), the midpoint date (e.g., 2023 / 11 / 10 12:10:10), zoom buttons, etc. There are no restrictions on the content displayed on this target timeline. The search time range is the search time range of the search criteria, the midpoint date is the midpoint date of the search time range, and the zoom buttons provide up and down pressing buttons. By pressing the zoom buttons up and down, the total length of the target timeline can be controlled to be 7 days, 24 hours, 12 hours, 6 hours, etc.

[0096] In each time interval of the target timeline, the target video files from all channels can be stitched together, and the duration of each video segment in the target video file can be automatically divided according to a fixed duration corresponding to the total length of the timeline.

[0097] 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.

[0098] When dragging the target timeline, if the total length of the target timeline exceeds the selected search time range, a prompt will appear saying that the selected search time range has been exceeded and please reselect the search time range.

[0099] In one 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. Since the camera's time zone may differ from the client device's time zone, the following approach can be used:

[0100] Method 1: For each target video file, the start time (i.e., the start time in the camera's time zone, which 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 client device's time zone or a fixed time zone). The end time (i.e., the end time of the original time zone) can also be converted to the end time of the target time zone. Based on this, the time interval to which the target video file belongs on the target timeline can be determined according to the start and end times of the target time zone. For example, if the start and / or end times of the target time zone of a target video file fall within a certain time interval on the target timeline, then the target video file belongs to that time interval.

[0101] Clearly, based on the above processing, target video files from different time zones can be uniformly converted to 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.

[0102] Method 2: For each target video file, the time interval to which the target video file belongs on the target timeline can be determined based on the start and end times of its original time zone. For example, if the start and / or end times of the target video file's original time zone are located within a certain time interval on the target timeline, then the target video file belongs to that time interval.

[0103] Obviously, in method 2, it is not necessary to uniformly convert target video files from different time zones to the target time zone of the client device. Instead, the video is displayed on the target timeline based on the original time zone of the target video file (i.e., the time zone of the camera) and the start and / or end times of the original time zone.

[0104] Step 206: If a hover operation command is received for the first time interval containing the target video file, then display the channel identifier and / or start time of all target video files corresponding to the first time interval.

[0105] For example, after the search results list and target timeline are displayed on the target display interface, users can see which time intervals contain the target video files and which do not by viewing the target timeline. For instance, time intervals marked in gray contain target video files, while those marked in white do not. Furthermore, if a user wants to view information about the target video files corresponding to a specific time interval, they can hover the mouse over that time interval on the target timeline and designate it as the first time interval. Clearly, the first time interval can be any time interval in which the target video files exist.

[0106] If a hover operation command is received for the first time interval (such as hovering the mouse over the first time interval), the channel identifier and start time of all target video files corresponding to the first time interval can be displayed, that is, the channel identifier and start time of all target video files corresponding to the first time interval will pop up.

[0107] For example, after displaying the channel identifier and start time of all target video files corresponding to the first time interval, the user can see which target video files are located in the first time interval.

[0108] In one possible implementation, if the time interval to which the target video file belongs on the target timeline is determined based on the start and end times of the target time zone of the target video file, then when displaying the start times of all target video files corresponding to the first time interval, the start times of the target time zones of all target video files corresponding to the first time interval can be displayed. If the time interval to which the target video file belongs on the target timeline is determined based on the start and end times of the original time zone of the target video file, then when displaying the start times of all target video files corresponding to the first time interval, the start times of the original time zones of all target video files corresponding to the first time interval can be displayed.

[0109] Step 207: If a click operation instruction is received for the first target video file (any target video file) corresponding to the first time interval, then play the screen of the first target video file, and / or jump the search result list displayed on the target display interface to the data item corresponding to the first target video file.

[0110] For example, after displaying the channel identifiers and start times of all target video files corresponding to the first time interval through the target display interface, the user can see which target video files are located in the first time interval. If the user wants to view the details of a specific target video file (i.e., any target video file located in the first time interval, which is denoted as the first target video file), they can click on the channel identifier of the first target video file, or click on the start time of the first target video file.

[0111] If a click operation command is received for the first target video file (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 will pop up and display the first target video file to the user. There are no restrictions on this process.

[0112] If a click command is received for the first target video file, the search results list displayed on the target display interface can jump to the data item corresponding to the first target video file, that is, the data item corresponding to the first target video file can be loaded and displayed on the first page of the search results list. Conversely, if a click command is received for the first target video file but the search results list has not yet loaded the data item corresponding to the first target video file, the data can be incrementally loaded directly onto the page containing the data item corresponding to the first target video file, thus achieving a rapid linkage between the target timeline and the search results list for precise location.

[0113] In one possible implementation, to redirect the search results list displayed on the target display interface to the data item corresponding to the first target video file, the following method can also be used:

[0114] First, determine the first sorting position of the last target video file currently loaded in the search results list, and determine the second sorting position of the first target video file; where the sorting position is used to indicate the positional relationship of the data items of the target video file among the data items of all target video files.

[0115] For example, when retrieving search results corresponding to search criteria, the results may include multiple target video files, and the search results list needs to display the data items of these target video files. At this point, the order of these data items is already determined. If the search results list has already loaded 100 data items, then the first sorting position of the last target video file currently loaded in the search results list is 100.

[0116] For example, if 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 all the data items of all target video files.

[0117] Then, obtain 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 results list. 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 results list is used to indicate how many data items are displayed per page of the search results list, such as 100 data items per page.

[0118] Then, based on the number of interval positions between the second and first sort positions and the number of data items loaded per page of the search results list, the page jump interval 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 page jump interval. For example, 350 can be divided by 100 and then rounded down to obtain a page jump interval of 3.

[0119] Then, based on the page jump interval, the search results list jumps to the data item corresponding to the first target video file to load and display that data item. For example, the search results list can jump to page 4 after a 3-page interval (i.e., the page jump interval), thus jumping to the page containing the data item corresponding to the first target video file, and then loading and displaying that data item. For example, page 1 of the interval contains data items 101-200 (which do not need to be loaded at this time), page 2 contains data items 201-300 (which do not need to be loaded at this time), and page 3 contains data items 301-400 (which do not need to be loaded at this time). Obviously, page 4, which jumps to, contains data items 401-500 (which need to be loaded at this time). That is, the search results list displayed through the target display interface shows data items 401-500, and these data items include the data item corresponding to the first target video file (i.e., the 450th data item), thus displaying that data item.

[0120] At this point, the search results list displayed on the target display interface has been successfully redirected to the data item corresponding to the first target video file, thus achieving the effect of rapid linkage and positioning between the target timeline and the search results list.

[0121] In one possible implementation, when the search results list is displayed on the target display interface, the search results list includes data items of multiple target video files, and the data items include the channel identifier, start time, end time, etc. of the target video files, and the user can view these data items of the target video files.

[0122] If a user wishes to view detailed information about a specific target video file (i.e., any target video file, referred to as the second target video file), they can click on the channel identifier, start time, or end time of the second target video file. If a click command is received for a data item of the second target video file, the video of the second target video file will be played, i.e., the screen of the second target video file will pop up and display the second target video file to the user.

[0123] Based on this, in order to link the search results list with the target timeline, when playing the second target video file based on the search results list, the time interval to which the second target video file belongs on the target timeline can also be determined based on the start and end times of the second target video file (i.e., the start and / or end times of the second target video file are located in this time interval).

[0124] Then, a "played" marker is set for that time interval on the target timeline. The "played" marker indicates that a target video file is playing within that time interval. In this way, when the second target video file in the search results list is clicked to play the video file, the second target video file that is playing will also be simultaneously marked on the target timeline, thus linking the search results list with the target timeline.

[0125] For example, when the display marker is a color display marker, the played marker can also be a color played marker. The color played marker needs to be different from the color display marker; for example, the played marker needs to be distinguished from the gray display marker and the white display marker. See, for example... Figure 3E As shown, 3:00-4:00 corresponds to the "played" marker, which indicates that a target video file is playing within this time interval. For example, if the display marker is a shape display marker, the "played" marker can also be a shape-based "played" marker. The shape-based "played" marker must be different from the shape display marker, and so on. There are no restrictions on the "played" marker.

[0126] In one possible implementation, when playing another target video file (denoted as the third target video file), if the third target video file is automatically played after the second target video file finishes playing, or if a click operation instruction is received for a data item of the third target video file, the third target video file can be played in the following manner: the time interval to which the third target video file belongs on the target time axis is determined based on the start and end times of the third target video file, a played marker is set for this time interval, and the played marker set for the time interval to which the second target video file belongs is deleted, thereby automatically adjusting the played marker from the second target video file to the third target video file.

[0127] As can be seen from the above technical solutions, in this embodiment, multiple time intervals are divided based on the duration of the video clips. The initial video files within each time interval are combined to obtain the target video file, and the search data of the target video file is displayed. This integrates the video files within the time intervals and displays the video files at the time interval granularity, improving user experience and display performance. The search results list and the target timeline can be displayed simultaneously on the target display interface, allowing for linkage between the target timeline and the search results list. The target timeline displays the overall time distribution of the search results, while the search results list displays the search results for the video files. This allows users to view both the overall time distribution of the search results and the search results for the video files, thus improving user experience and display performance. It solves the problem of not being able to perceive the overall storage status of the video files when paginating search results with large amounts of data. It also solves the problem of not being able to identify the required video file due to its large size. A solution is designed that balances performance support for paginated data loading with convenient and quick video file segmentation. This is achieved by displaying all data from the current search across all channels on the target timeline and automatically segmenting the search result video files by zooming in and out on the timeline.

[0128] This application provides a method for displaying search results, which can be applied to client devices. See [link to relevant documentation]. Figure 4 The diagram shown is a flowchart illustrating the method for displaying search results. This method may include:

[0129] Step 401: Obtain the search results corresponding to the search criteria.

[0130] Step 402: Divide the video clips into multiple time intervals based on their durations.

[0131] Step 403: For each time interval, based on the start and end times of all initial video files corresponding to the same channel identifier, generate a target video file based on the initial video files in that time interval, that is, combine the initial video files in that time interval into a target video file.

[0132] For example, steps 401-403 are similar to steps 201-203, and will not be described again here.

[0133] Step 404: Display search result thumbnails on the target display interface. For example, if the client device's display mode is thumbnail display mode, then display search result thumbnails on the target display interface.

[0134] For example, the search result thumbnail may include multiple data items. For each data item in the search result thumbnail, 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: the channel identifier of the target video file, a thumbnail of the target video file (such as the frame 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, the search data may also include other content, and there is no limitation thereto. The start time of the target video file is the earliest time of all initial video files corresponding to the target video file.

[0135] For example, see Figure 5A The image shown is an example of a thumbnail of the search results. From Figure 5A As can be seen, 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, and a thumbnail of the first target video file is shown. The channel identifier of the first target video file is channel identifier AAA, and the first target video file represents a data item in the search result thumbnail, and so on. 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, and a thumbnail of the first target video file is shown. The channel identifier of the first target video file is channel identifier BBB, and the first target video file represents a data item in the search result thumbnail, and so on.

[0136] In one possible implementation, when displaying search result thumbnails on the target display interface, the search result thumbnails initially load K data items, where K can be a positive integer. For example, if K is 150, then the search result thumbnails initially load 150 data items, that is, in... Figure 5A The search results thumbnail shown displays 150 data items. The remaining data items can be incrementally loaded using scrolling in subsequent steps.

[0137] Step 405: Display the target timeline on the target display interface. For example, if the client device's display mode is thumbnail display mode, then both the search result thumbnails and the target timeline will be displayed on the target display interface. The target timeline may include multiple time intervals and a corresponding display marker for each time interval, and the display marker indicates whether the target video file exists or does not exist in that time interval.

[0138] Step 406: If a hover operation command is received for the first time interval containing the target video file, then display the channel identifier and / or start time of all target video files corresponding to the first time interval.

[0139] 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, then play the screen of the first target video file, and / or jump the search result list displayed on the target display interface to the data item corresponding to the first target video file.

[0140] Steps 405-407 are similar to steps 205-207, except that the list of search results is replaced with thumbnails of the search results. For example, see... Figure 5B The diagram shown illustrates the simultaneous display of search result thumbnails and target timelines on the target display interface. Steps 405-407 will not be repeated here.

[0141] As can be seen from the above technical solutions, in this embodiment, multiple time intervals are divided based on the duration of the video clips. The initial video files within each time interval are combined to obtain the target video file, and the search data of the target video file is displayed. This integrates the video files within the time intervals and displays the video files at the time interval granularity, improving user experience and display performance. The target display interface simultaneously displays a thumbnail of the search results and a target timeline, thus linking the target timeline and the thumbnail of the search results. The target timeline displays the overall time distribution of the search results, and the thumbnails of the search results display the search results of the video files. This allows users to view both the overall time distribution of the search results and the search results of the video files, thereby improving user experience and display performance. It solves the problem of not being able to perceive the overall storage status of the video files when paginating search results with large amounts of data. It also solves the problem of not being able to identify the required video file due to its large size. A solution is designed that balances performance support for paginated data loading with convenient and quick segmentation of video files. By displaying all data from the current search across all channels on the target timeline and automatically segmenting the search result video files by zooming in and out of the timeline.

[0142] Based on the same concept as the above method, this application proposes a retrieval result display device, see [link to relevant documentation]. Figure 6 The diagram shown is a structural schematic of the device, which may include:

[0143] The acquisition module 61 is used to acquire the search results corresponding to the search conditions. The search results include multiple initial video files, the channel identifier of each initial video file, and the start and end times of each initial video file. The processing module 62 is used to divide the acquired video segments into multiple time intervals based on their durations. For each time interval, based on the start and end times of all initial video files corresponding to the same channel identifier, a target video file is generated based on the initial video files within that time interval. The display module 63 is used to display the search result structure on the target display interface. The search result structure includes multiple data items, and each data item includes search data corresponding to a target video file.

[0144] For example, when the processing module 62 generates a target video file based on the start and end times of all initial video files corresponding to the same channel identifier and the initial video files within that time interval, it specifically performs the following: If there is an initial video file whose start time is earlier than that time interval and whose end time is within that time interval, then a first sub-video file is extracted from that initial video file, wherein the start time of the first sub-video file is the start time of that 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 that time interval and whose start time is within that time interval, then a second sub-video file is extracted from that initial video file. 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; a 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 extracted from the initial video file, the start time of the third sub-video file being the start time of the time interval and the end time of the third sub-video file being the end time of the time interval; a target video file is generated based on the third sub-video file; if there is an initial video file whose start time and end time are both within the time interval, a target video file is generated based on the initial video file.

[0145] For example, if the display mode is a 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: 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 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 search result structure is a search result thumbnail, and 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 recording frame at the start time of the target video file.

[0146] For example, when the processing module 62 divides the video segment duration into multiple time intervals based on the acquired video segment duration, it is specifically used to: obtain the total length of the target time axis, determine the video segment duration corresponding to the total length of the time axis, and divide the total length of the time axis into multiple time intervals based on the video segment duration.

[0147] For example, the display module 63 is further configured 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 plurality of time intervals and a display marker corresponding to each time interval. The display marker indicates whether a target video file exists or does not exist in the time interval. The processing module 62 is further configured to, if it receives a hover operation instruction for a first time interval in which a target video file exists, display the channel identifier and / or start time of all target video files corresponding to the first time interval; if it receives a click operation instruction for a first target video file corresponding to the first time interval, 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.

[0148] For example, the processing module 62 is further configured 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 and 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 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.

[0149] For example, the processing module 62 is further configured to, if a scaling operation instruction is received for the target timeline, obtain the changed total length of the timeline matching the scaling operation instruction; wherein, if the scaling operation instruction is a zoom-in operation instruction, the total length of the timeline is increased to obtain the changed total length of the timeline; or, if the scaling operation instruction is a zoom-out operation instruction, the total length of the timeline is decreased to obtain the changed total length of the timeline; obtain the changed duration of the video segment corresponding to the changed total length of the timeline, and divide the changed total length of the timeline into multiple time intervals based on the changed duration of the video segment; wherein, the larger the changed total length of the timeline, the larger the duration of the changed video segment.

[0150] For example, when the processing module 62 jumps the search result structure displayed on the target display interface to the data item corresponding to the first target video file, it specifically performs the following steps: determining the first sorting position of the last target video file currently loaded in the search result structure, and determining the second sorting position of the first target video file; wherein, the sorting position is used to represent the positional relationship of the data item of the target video file among the data items of all target video files; determining the number of page jump intervals 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 based on the number of page jump intervals, jumping the search result structure 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.

[0151] Based on the same application concept as the above method, this application proposes a client device, see [link to relevant documentation]. Figure 7As shown, the client device includes a processor 71 and a machine-readable storage medium 72, the machine-readable storage medium 72 storing 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 search result display method disclosed in the above example of this application.

[0152] Based on the same application concept as the above method, this application embodiment also provides a machine-readable storage medium storing a plurality of computer instructions, which, when executed by a processor, can implement the search result display method disclosed in the above examples of this application.

[0153] The aforementioned 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, machine-readable storage media can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), solid-state drives, any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or combinations thereof.

[0154] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for displaying search results, characterized in that, The method includes: Obtain the search results corresponding to the search criteria. The search results include multiple initial video files, the channel identifier of each initial video file, and the start and end times of each initial video file. The timeframe is divided into multiple time intervals based on the acquired video segment durations; wherein, the total length of the target timeline is obtained, and the video segment durations corresponding to the total timeline length are determined; the total timeline length is divided into multiple time intervals based on the video segment durations; For each time interval, based on the start and end times of all initial video files corresponding to the same channel identifier, a target video file is generated based on the initial video files within that time interval. The search results structure is displayed on the target display interface. The search results structure includes multiple data items, and each data item includes search data corresponding to a target video file. 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 time interval. The display mark indicates whether the target video file exists or does not exist in the time interval. If a hover operation command is received for a first time interval containing target video files, the channel identifier and / or start time of all target video files corresponding to the first time interval are displayed.

2. The method according to claim 1, characterized in that, The process of generating a target video file based on the start and end times of all initial video files corresponding to the same channel identifier and within that time interval includes: If there exists an initial video file with a start time earlier than the time interval and an end time within the time interval, then a first sub-video file is extracted from the initial video file. 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. A target video file is generated based on the first sub-video file. If there exists an initial video file whose end time is later than the time interval and whose start time is within the time interval, then a second sub-video file is extracted from the initial video file. 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. A target video file is generated based on the second sub-video file. If there exists an initial video file with a start time earlier than the time interval and an end time later than the time interval, then a third sub-video file is extracted from the initial video file. 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. A target video file is generated based on the third sub-video file. If an initial video file exists with both its start and end times falling within the specified time interval, then the target video file is generated based on that initial video file.

3. The method according to claim 1 or 2, characterized in that, If the display mode is 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: 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 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 thumbnail display mode, the search result structure is a search result thumbnail, and 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 frame of the start time of the target video file.

4. The method according to claim 1, characterized in that, The method further includes: If a click operation instruction is received for the first target video file corresponding to the first time interval, the screen of the first target video file is played, and / or the search result structure displayed on the target display interface is redirected to the data item corresponding to the first target video file.

5. The method according to claim 4, characterized in that, The method further includes: For each target video file, convert the start time of the target video file to the start time of the target time zone, and convert the end time of the target video file to the end time of the target time zone. Based on the start and end times 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 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, the time interval to which the target video file belongs on the target time axis is determined based on the start time and 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, the start time of the original time zone of all target video files corresponding to the first time interval is also displayed.

6. The method according to claim 4, characterized in that, The method further includes: If a scaling operation command is received for the target time axis, the total length of the time axis after the change is obtained in accordance with the scaling operation command; wherein, if the scaling operation command is a zoom-in operation command, the total length of the time axis is increased to obtain the total length of the time axis after the change; or, if the scaling operation command is a zoom-out operation command, the total length of the time axis is decreased to obtain the total length of the time axis after the change. Obtain the duration of the changed video segment corresponding to the total length of the changed timeline, and divide the total length of the changed timeline into multiple time intervals based on the duration of the changed video segment. The longer the total length of the changed timeline, the longer the duration of the changed video segment.

7. The method according to claim 4, characterized in that, The step of redirecting the search result structure displayed on the target display interface to the data item corresponding to the first target video file includes: The first sorting position of the last target video file currently loaded in the search result structure is determined, and the second sorting position of the first target video file is determined; wherein, the sorting position is used to indicate the positional relationship of the data items of the target video file among the data items of all target video files; The number of pages to jump between the second sort position and the first sort position is determined based on the number of interval positions between the second 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 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.

8. A retrieval result display device, characterized in that, The device includes: The acquisition module is used to acquire the search results corresponding to the search conditions. The search results include multiple initial video files, the channel identifier of each initial video file, and the start and end times of each initial video file. The processing module is used to divide the acquired video segments into multiple time intervals based on their duration; for each time interval, it generates a target video file based on the start and end times of all initial video files corresponding to the same channel identifier and the initial video files in that time interval. The display module is used to display the search result structure on the target display interface. The search result structure includes multiple data items, and each data item includes search data corresponding to a target video file. Specifically, when the processing module divides the video clip duration into multiple time intervals based on the acquired video clip duration, it is used to: obtain the total length of the target time axis and determine the video clip duration corresponding to the total time axis length; and divide the total time axis length into multiple time intervals based on the video clip duration. The display module is further configured 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 plurality of time intervals and a display marker corresponding to each time interval. The display marker indicates whether a target video file exists or does not exist in the time interval. The processing module is further configured to, if it receives a hover operation instruction for a first time interval containing target video files, display the channel identifier and / or start time of all target video files corresponding to the first time interval.

9. The apparatus according to claim 8, Its features are, in, The processing module, based on the start and end times of all initial video files corresponding to the same channel identifier, generates a target video file based on the initial video files within that time interval. Specifically, if there is an initial video file with a start time earlier than the time interval and an end time within the time interval, a first sub-video file is extracted from that initial video file. 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 with an end time later than the time interval and a start time within the time interval, a second sub-video file is extracted from that initial video file. 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; a 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 extracted from the initial video file, the start time of the third sub-video file being the start time of the time interval and the end time of the third sub-video file being the end time of the time interval; a target video file is generated based on the third sub-video file; if there is an initial video file whose start time and end time are both within the time interval, a target video file is generated based on the initial video file. If the display mode is a 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: 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 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 search result structure is a search result thumbnail, and 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 frame at the start time of the target video file; The processing module is further configured to, if a click operation instruction is received for the first target video file corresponding to the first time interval, 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; The processing module is further configured to, for each target video file, convert the start time of the target video file to the start time of the target time zone and the end time of the target video file to 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 and 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 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. The processing module is further configured to, upon receiving a scaling operation instruction for the target timeline, obtain the changed total length of the timeline matching the scaling operation instruction; wherein, if the scaling operation instruction is a zoom-in instruction, the total length of the timeline is increased to obtain the changed total length of the timeline; or, if the scaling operation instruction is a zoom-out instruction, the total length of the timeline is decreased to obtain the changed total length of the timeline; obtain the changed video segment duration corresponding to the changed total length of the timeline, and divide the changed total length of the timeline into multiple time intervals based on the changed video segment duration; wherein, the larger the changed total length of the timeline, the larger the changed video segment duration; Specifically, when the processing module jumps the search result structure displayed on the target display interface to the data item corresponding to the first target video file, it is used to: determine the first sorting position of the last target video file currently loaded in the search result structure, 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 item of the target video file among the data items of all target video files; determine the number of pages to jump 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, based on the number of pages to jump, jump the search result structure 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.

10. A client device, characterized in that, include: A processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions that can be executed by the processor; The processor is configured to execute machine-executable instructions to implement the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Multichannel synchronous playback method and multichannel synchronous playback device

    CN104702876A

  • Method and device for displaying video information on calendar interface

    CN110309356A