Alarm short video retrieval method and system
By adding fuzzy matching degree and jitter time interval to the alarm short video retrieval system and calculating association weight ranking, the problem of low efficiency in alarm video retrieval in traditional video surveillance systems is solved, and efficient and accurate alarm short video retrieval is achieved.
Patent Information
- Application Number
- CN202311314698.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-10
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2043-10-10
AI Technical Summary
In traditional video surveillance systems, after an alarm occurs, users find it difficult to efficiently retrieve the video clips from the time the alarm occurred, and they have to search through invalid recordings, resulting in low retrieval efficiency.
By increasing the fuzzy matching degree of the alarm time, the search scope is expanded. The alarm short videos associated with the jitter time interval are obtained, and the association weights are calculated and sorted to provide a list of alarm short videos.
It improves the accuracy and efficiency of alarm short video retrieval, allowing users to directly select relevant videos and reducing instances of unsearched content due to time discrepancies.
Smart Images

Figure CN117197721B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to alarm short video retrieval technology, specifically to an alarm short video retrieval method and system. Background Technology
[0002] Video surveillance systems play a vital role in homes, industrial parks, hotels, construction sites, scenic areas, and transportation. With the development of intelligent algorithms, especially the application of deep learning in security monitoring scenarios, intelligent analysis algorithms have become highly accurate. Alarms triggered by terminal devices and intelligent analysis services are more real-time, and the business scenarios and algorithms are more diverse. Users increasingly prefer to view video clips of the events that occurred when the alarm was triggered at the alarm information entry point to more accurately determine the alarm situation. Traditional video surveillance systems typically only provide a picture of the alarm event in addition to the alarm description. However, for most monitoring scenarios, the recordings for most of the time are invalid data. To view the recordings for a specific time, users need to search bit by bit within the planned recording period. Summary of the Invention
[0003] The purpose of this invention is to provide a method and system for retrieving alarm short videos, and the technical problem to be solved is to improve the retrieval efficiency of alarm short videos.
[0004] This invention is achieved through the following technical solution:
[0005] The first aspect provides a method for retrieving short alarm videos, including the following steps:
[0006] S10. Upon receiving the retrieval signal, extract the retrieval alarm time from the aforementioned retrieval signal;
[0007] S20. Determine whether the search alarm start time in the above search alarm time is equal to the search alarm end time;
[0008] S21. If the start time of the search alarm in the above search alarm time is equal to the end time of the search alarm, then the search alarm time is jittered to obtain the search alarm jitter time interval, and the alarm short video associated with the search alarm jitter time interval is obtained.
[0009] S22. If the start time of the search alarm in the above search alarm time is not equal to the end time of the search alarm, then obtain the alarm short video associated with the search alarm time.
[0010] S30. Based on the above-mentioned alarm time and alarm time of the alarm short video, calculate the association weight of the alarm short video;
[0011] S40. Sort the alarm short videos according to the above-mentioned correlation weights to obtain an alarm short video list, and send a response signal.
[0012] Using the alarm time as the first priority for retrieving alarm short videos, the fuzzy matching degree of the alarm time is increased, and the alarm jitter time interval before and after the alarm time is used as the alarm jitter time interval for the associated alarm short videos. This expands the search scope, reduces the number of cases where alarm short videos are not retrieved due to a few seconds of deviation between the alarm time and the alarm time, and improves the accuracy of alarm short video retrieval.
[0013] After retrieving multiple alarm videos, the alarm videos are sorted according to the association weight between the alarm time of the alarm video and the retrieved alarm time. This allows users to directly obtain the association weight based on the order of the alarm videos and then select which alarm video to view, thus improving the retrieval efficiency of alarm videos.
[0014] Furthermore, the above-mentioned jittering processing of the retrieval alarm time is used to obtain the retrieval alarm jitter time interval. The specific steps are as follows:
[0015] The jitter time is t. The lower limit of the jitter time interval for the above-mentioned search alarm is the difference between the start time of the search alarm and the jitter time t. The upper limit of the jitter time interval for the above-mentioned search alarm is the sum of the end time of the search alarm and the jitter time t.
[0016] Furthermore, the alarm short videos associated with the above-mentioned alarm jitter time interval are as follows:
[0017] Extract the alarm time from the above alarm short video and determine whether the alarm time falls within the search alarm jitter time interval;
[0018] If the alarm time falls within the search alarm jitter time interval, then the alarm short video is associated with that search alarm jitter time interval.
[0019] If the alarm time is not within the search alarm jitter time interval, then the alarm video is not related to the search alarm jitter time interval.
[0020] Furthermore, the alarm short videos associated with the aforementioned alarm search times are as follows:
[0021] Does the aforementioned alarm retrieval time overlap with the recording time of the alarm short video?
[0022] If there is a time overlap between the alarm time and the recording time of the alarm video, then the alarm video is associated with the alarm time.
[0023] If the alarm time retrieved above does not overlap with the recording time of the alarm video, then the alarm time retrieved from the alarm video is not related.
[0024] Furthermore, the aforementioned time overlap includes multiple factors. If an alarm video satisfies any one of the time overlap factors, then the alarm video is considered to be associated with the retrieved alarm time.
[0025] The above-mentioned time overlaps include:
[0026] First requirement: The recording start time of the above alarm short video is less than or equal to the alarm start time and the recording end time of the alarm short video is greater than or equal to the alarm start time.
[0027] The second condition is that the recording start time of the above alarm short video is less than or equal to the alarm retrieval end time, and the recording end time of the alarm short video is greater than or equal to the alarm retrieval end time.
[0028] The third condition is that the recording start time of the above alarm short video is greater than or equal to the alarm start time and the recording end time of the alarm short video is less than or equal to the alarm end time.
[0029] Fourthly: The alarm time of the above-mentioned alarm short video is equal to the alarm end time of retrieval, which is equal to the recording end time of the alarm short video.
[0030] Multiple alarm events within the same time interval are associated with the same short alarm video, which improves the storage quality of the video and the efficient use of storage space. Only video data before and after the alarm event is saved, eliminating invalid scenes and times within the monitoring period. The short alarm video can be retrieved based on the alarm time, which improves the retrieval efficiency.
[0031] Furthermore, based on the aforementioned retrieval of alarm time and alarm time of the alarm short video, the association weight of the alarm short video is calculated using the following formula:
[0032]
[0033] Among them, T 检索报警开始时间 Indicates the start time of the search alarm; T 检索报警结束时间 Indicates the end time of the search alarm; T 报警时间 α represents the alarm time of the alarm video; α represents the association weight of the alarm video.
[0034] The second aspect provides a short alarm video retrieval system, which is used to implement the above-mentioned short alarm video retrieval method.
[0035] The alarm short video rapid retrieval system includes:
[0036] The client is used to send retrieval signals;
[0037] The business management device is connected to the aforementioned client in communication. The business management device is used to receive retrieval signals and alarm short video lists. After receiving the alarm short video list, the business management device sends a response signal to the client.
[0038] The algorithm analysis device is communicatively connected to the aforementioned business management device. The algorithm analysis device is used to extract the retrieval alarm time from the aforementioned retrieval signal.
[0039] Determine whether the search alarm start time in the above search alarm timeframe is equal to the search alarm end timeframe.
[0040] If the start time of the search alarm is equal to the end time of the search alarm, then the search alarm time is jittered to obtain the search alarm jitter time interval.
[0041] Based on the above-mentioned alarm time and alarm time of the alarm short video, calculate the association weight of the alarm short video;
[0042] The media device is connected to the aforementioned client, business management device, and algorithm analysis device. The media device is used to acquire alarm short videos associated with the alarm jitter time interval and alarm short videos associated with the alarm time. The alarm short videos are sorted according to the aforementioned association weights to obtain an alarm short video list, and the alarm short video list is sent to the business management device.
[0043] The monitoring equipment is communicatively connected to the aforementioned media equipment. The monitoring equipment is used for recording video and sending alarm short videos to the media equipment.
[0044] Furthermore, the aforementioned algorithm analysis equipment is used to perform jitter processing on the retrieval alarm time to obtain the retrieval alarm jitter time interval. The specific steps are as follows:
[0045] The jitter time is t. The lower limit of the jitter time interval for the above-mentioned search alarm is the difference between the start time of the search alarm and the jitter time t. The upper limit of the jitter time interval for the above-mentioned search alarm is the sum of the end time of the search alarm and the jitter time t.
[0046] Furthermore, the aforementioned media device is used to acquire short alarm videos associated with the retrieved alarm jitter time interval, and the short alarm videos associated with the aforementioned retrieved alarm jitter time interval are as follows:
[0047] Extract the alarm time from the aforementioned alarm short video and determine whether the alarm time falls within the retrieved alarm jitter time interval.
[0048] If the alarm time falls within the search alarm jitter time interval, then the alarm video is associated with that search alarm jitter time interval.
[0049] If the alarm time is not within the search alarm jitter time interval, then the alarm video is not related to the search alarm jitter time interval.
[0050] Furthermore, the aforementioned media device is used to acquire short alarm videos associated with the retrieved alarm time. The short alarm videos associated with the retrieved alarm time are as follows:
[0051] Does the aforementioned alarm retrieval time overlap with the recording time of the alarm short video?
[0052] If there is a time overlap between the alarm time and the recording time of the alarm video, then the alarm video is associated with the alarm time.
[0053] If there is no overlap between the alarm time and the recording time of the alarm video, then the alarm time is not related to the alarm video retrieval.
[0054] The aforementioned time overlap includes multiple factors. If an alarm video satisfies any one of the time overlap factors, then the alarm video is considered to be associated with the retrieved alarm time.
[0055] The above-mentioned time overlaps include:
[0056] First requirement: The recording start time of the above alarm short video is less than or equal to the alarm start time and the recording end time of the alarm short video is greater than or equal to the alarm start time.
[0057] The second condition is that the recording start time of the above alarm short video is less than or equal to the alarm retrieval end time, and the recording end time of the alarm short video is greater than or equal to the alarm retrieval end time.
[0058] The third condition is that the recording start time of the above alarm short video is greater than or equal to the alarm start time and the recording end time of the alarm short video is less than or equal to the alarm end time.
[0059] Fourthly: The alarm time of the above-mentioned alarm short video is equal to the alarm end time of retrieval, which is equal to the recording end time of the alarm short video.
[0060] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0061] Using the alarm time as the first priority for retrieving alarm short videos, the fuzzy matching degree of the alarm time is increased, and the alarm jitter time interval before and after the alarm time is used as the alarm jitter time interval for the associated alarm short videos. This expands the search scope, reduces the number of cases where alarm short videos are not retrieved due to a few seconds of deviation between the alarm time and the alarm time, and improves the accuracy of alarm short video retrieval.
[0062] After retrieving multiple alarm videos, the alarm videos are sorted according to the association weight between the alarm time of the alarm video and the retrieved alarm time. This allows users to directly obtain the association weight based on the order of the alarm videos and then select which alarm video to view, thus improving the retrieval efficiency of alarm videos. Attached Figure Description
[0063] To more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0064] In the picture:
[0065] Figure 1 The main flowchart provided for Example 1;
[0066] Figure 2 This is a system block diagram provided for Example 2.
[0067] The attached diagram shows the markings and corresponding component names:
[0068] 1-Client, 2-Business management equipment, 3-Algorithm analysis equipment, 4-Media equipment, 5-Monitoring equipment. Detailed Implementation
[0069] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. The illustrative embodiments and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention.
[0070] Example 1
[0071] This embodiment 1 provides a method for retrieving alarm short videos, combined with Figure 1 This includes the following steps:
[0072] S10. Upon receiving the retrieval signal, extract the retrieval alarm time from the aforementioned retrieval signal;
[0073] S20. Determine whether the search alarm start time in the above search alarm time is equal to the search alarm end time;
[0074] S21. If the start time of the search alarm in the above search alarm time is equal to the end time of the search alarm, then the search alarm time is jittered to obtain the search alarm jitter time interval, and the alarm short video associated with the search alarm jitter time interval is obtained.
[0075] S22. If the start time of the search alarm in the above search alarm time is not equal to the end time of the search alarm, then obtain the alarm short video associated with the search alarm time.
[0076] S30. Based on the above-mentioned alarm time and alarm time of the alarm short video, calculate the association weight of the alarm short video;
[0077] S40. Sort the alarm short videos according to the above-mentioned association weights to obtain a list of alarm short videos, and send a response signal (the response signal can be the playback address of the alarm short video).
[0078] Using the alarm time as the first priority for retrieving alarm short videos, the fuzzy matching degree of the alarm time is increased, and the alarm jitter time interval before and after the alarm time is used as the alarm jitter time interval for the associated alarm short videos. This expands the search scope, reduces the number of cases where alarm short videos are not retrieved due to a few seconds of deviation between the alarm time and the alarm time, and improves the accuracy of alarm short video retrieval.
[0079] After retrieving multiple alarm videos, the alarm videos are sorted according to the association weight between the alarm time of the alarm video and the retrieved alarm time. This allows users to directly obtain the association weight based on the order of the alarm videos and then select which alarm video to view, thus improving the retrieval efficiency of alarm videos.
[0080] In a specific embodiment, the above-mentioned jittering processing of the retrieval alarm time is used to obtain the retrieval alarm jittering time interval. The specific steps are as follows:
[0081] The jitter time is t. The lower limit of the jitter time interval for the above-mentioned search alarm is the difference between the start time of the search alarm and the jitter time t. The upper limit of the jitter time interval for the above-mentioned search alarm is the sum of the end time of the search alarm and the jitter time t.
[0082] In a specific embodiment, the alarm short videos associated with the above-mentioned alarm jitter time interval are as follows:
[0083] Extract the alarm time from the above alarm short video and determine whether the alarm time falls within the search alarm jitter time interval;
[0084] If the alarm time falls within the search alarm jitter time interval, then the alarm short video is associated with that search alarm jitter time interval.
[0085] If the alarm time is not within the search alarm jitter time interval, then the alarm video is not related to the search alarm jitter time interval.
[0086] In a specific embodiment, the alarm short video associated with the above-mentioned alarm retrieval time is as follows:
[0087] Does the aforementioned alarm retrieval time overlap with the recording time of the alarm short video?
[0088] If there is a time overlap between the alarm time and the recording time of the alarm video, then the alarm video is associated with the alarm time.
[0089] If the alarm time retrieved above does not overlap with the recording time of the alarm video, then the alarm time retrieved from the alarm video is not related.
[0090] In a specific embodiment, the aforementioned time crossover includes multiple elements. If an alarm short video satisfies any one of the time crossover conditions, then the alarm short video is considered to be associated with the retrieved alarm time.
[0091] The above-mentioned time overlaps include:
[0092] First requirement: The recording start time of the above alarm short video is less than or equal to the alarm start time and the recording end time of the alarm short video is greater than or equal to the alarm start time.
[0093] The second condition is that the recording start time of the above alarm short video is less than or equal to the alarm retrieval end time, and the recording end time of the alarm short video is greater than or equal to the alarm retrieval end time.
[0094] The third condition is that the recording start time of the above alarm short video is greater than or equal to the alarm start time and the recording end time of the alarm short video is less than or equal to the alarm end time.
[0095] Fourthly: The alarm time of the above-mentioned alarm short video is equal to the alarm end time of retrieval, which is equal to the recording end time of the alarm short video.
[0096] Multiple alarm events within the same time interval are associated with the same short alarm video, which improves the storage quality of the video and the efficient use of storage space. Only video data before and after the alarm event is saved, eliminating invalid scenes and times within the monitoring period. The short alarm video can be retrieved based on the alarm time, which improves the retrieval efficiency.
[0097] In a specific embodiment, based on the retrieved alarm time and the alarm time of the alarm short video, the association weight of the alarm short video is calculated, as follows:
[0098]
[0099] Among them, T 检索报警开始时间 Indicates the start time of the search alarm; T 检索报警结束时间 Indicates the end time of the search alarm; T 报警时间 α represents the alarm time of the alarm video; α represents the association weight of the alarm video.
[0100] Example 2
[0101] This embodiment 2 provides a short alarm video retrieval system, which is used to implement the above-mentioned short alarm video retrieval method.
[0102] Combination Figure 2 The alarm short video rapid retrieval system includes:
[0103] Client 1 is used to send retrieval signals;
[0104] The business management device 2 is communicatively connected to the aforementioned client 1. The business management device 2 is used to receive retrieval signals and alarm short video lists. After receiving the alarm short video list, the business management device 2 sends a response signal to the client 1.
[0105] Algorithm analysis device 3 is communicatively connected to the aforementioned business management device 2. This algorithm analysis device is used to extract the retrieval alarm time from the aforementioned retrieval signal.
[0106] Determine whether the search alarm start time in the above search alarm timeframe is equal to the search alarm end timeframe.
[0107] If the start time of the search alarm is equal to the end time of the search alarm, then the search alarm time is jittered to obtain the search alarm jitter time interval.
[0108] Based on the above-mentioned alarm time and alarm time of the alarm short video, calculate the association weight of the alarm short video;
[0109] Media device 4 is communicatively connected to the aforementioned client 1, business management device 2, and algorithm analysis device 3. Media device 4 is used to acquire alarm short videos associated with the alarm jitter time interval and alarm short videos associated with the alarm time. It sorts the alarm short videos according to the aforementioned association weights to obtain an alarm short video list and sends the alarm short video list to business management device 2.
[0110] The monitoring device 5 is communicatively connected to the media device 4. The monitoring device 5 is used for recording and sending alarm short videos to the media device 4.
[0111] In a specific embodiment, the algorithm analysis device 3 is used to perform jitter processing on the retrieval alarm time to obtain the retrieval alarm jitter time interval. The specific steps are as follows:
[0112] The jitter time is t. The lower limit of the jitter time interval for the above-mentioned search alarm is the difference between the start time of the search alarm and the jitter time t. The upper limit of the jitter time interval for the above-mentioned search alarm is the sum of the end time of the search alarm and the jitter time t.
[0113] In a specific embodiment, the media device 4 is used to acquire alarm short videos associated with the retrieved alarm jitter time interval. The alarm short videos associated with the retrieved alarm jitter time interval are as follows:
[0114] Extract the alarm time from the aforementioned alarm short video and determine whether the alarm time falls within the retrieved alarm jitter time interval.
[0115] If the alarm time falls within the search alarm jitter time interval, then the alarm video is associated with that search alarm jitter time interval.
[0116] If the alarm time is not within the search alarm jitter time interval, then the alarm video is not related to the search alarm jitter time interval.
[0117] In a specific embodiment, the media device 4 is used to acquire alarm short videos associated with the alarm retrieval time. The alarm short videos associated with the alarm retrieval time are as follows:
[0118] Does the aforementioned alarm retrieval time overlap with the recording time of the alarm short video?
[0119] If there is a time overlap between the alarm time and the recording time of the alarm video, then the alarm video is associated with the alarm time.
[0120] If there is no overlap between the alarm time and the recording time of the alarm video, then the alarm time is not related to the alarm video retrieval.
[0121] The aforementioned time overlap includes multiple factors. If an alarm video satisfies any one of the time overlap factors, then the alarm video is considered to be associated with the retrieved alarm time.
[0122] The above-mentioned time overlaps include:
[0123] The first condition is that the recording start time of the above alarm short video is less than or equal to the alarm start time and the recording end time of the alarm short video is greater than or equal to the alarm start time, that is, the recording start time of the alarm short video is <= the alarm start time AND the recording end time of the alarm short video is >= the alarm start time.
[0124] The second condition is that the recording start time of the above alarm short video is less than or equal to the alarm end time and the recording end time of the alarm short video is greater than or equal to the alarm end time, that is, the recording start time of the alarm short video is <= the alarm end time AND the recording end time of the alarm short video is >= the alarm end time.
[0125] The third condition is that the recording start time of the above alarm short video is greater than or equal to the alarm start time and the recording end time of the alarm short video is less than or equal to the alarm end time. That is, the recording start time of the alarm short video >= the alarm start time AND the recording end time of the alarm short video <= the alarm end time.
[0126] Fourthly: The alarm time of the above-mentioned alarm video is equal to the alarm retrieval end time, which is equal to the recording end time of the alarm video. That is, the alarm time of the alarm video = the alarm retrieval end time = the recording end time of the alarm video.
[0127] Specific examples are as follows: Alarm short videos are stored in the database as metadata structures. Before recording, the metadata structure of the short video recording is created (the metadata structure includes a unique identifier for the alarm event, recording start time, recording end time, alarm time, playback path of the alarm short video, etc.) and jitter information is configured. For example, only one alarm short video is saved for alarm events occurring within 5 seconds on the same channel. Real-time video streams are analyzed using deep learning algorithms, and different alarm information is configured according to different algorithms, such as alarm information for not wearing a safety helmet, boundary crossing detection alarm, and alarm for using a mobile phone while driving.
[0128] Business management device 2 calls the interface of media device 4 to trigger monitoring device 5 to record. If it is the same video stream and monitoring device 5 is recording during the jitter time, monitoring device 5 will not be triggered again, and the metadata information of the alarm short video will be saved and fed back to business management device 2. If monitoring device 5 is not recording, monitoring device 5 will be triggered to start recording the alarm short video and create an mp4 file.
[0129] Business management device 2 displays alarm information, alarm description information, and image information of the time the alarm occurred. Clicking on the alarm information allows you to view the short video of the alarm and review the video information before and after the alarm occurred.
[0130] Call the search interface associated with the alarm short video. To ensure more accurate association, the alarm start time and alarm end time should be equal.
[0131] The alarm time is used as the first priority for associated retrieval time. The alarm time is used for time jittering, and the jittering interval is 3 seconds before and after, that is, jittering time t = 3 seconds (the time can be adjusted according to the algorithm scenario and business accuracy). If the alarm time of the alarm video is within the jittering time interval of the alarm video, then the alarm video is the associated alarm video.
[0132] If an alarm video is found, the alarm video will be displayed.
[0133] If no alarm video is found, the alarm time is used as the base time. The alarm start time is searched for 30 seconds before the alarm start time, and the alarm end time is searched for 30 seconds after the alarm end time. Then the alarm video is searched and the recording start time and recording end time of the alarm video are associated.
[0134] Query the metadata of alarm videos. If there is an overlap between the recording time and the alarm retrieval time, the alarm video is valid data; otherwise, the alarm video is invalid data. If there are multiple alarm videos, they are sorted according to their association weight. The higher the weight, the higher the weight is placed at the front of the response queue.
[0135] Business management device 2 displays the shortest video at the top of the response queue according to the business scenario, or displays all alarm short videos in the response queue. For the queried alarm short video, it sends an HTTP-MP4 response signal, which includes the playback address of the alarm short video, for example: http:ip:port / record / tdwy / 01 / 2023-07-20 / 10-53-24-168921604871.mp4. Users can view the alarm short video online or download it to their local device.
[0136] If the alarm video cannot be found, the response will be empty. If the monitoring device 5 is recording, it will indicate that the video is being recorded. If the business management device 2 needs to display the playback of the video synchronously, the business management device 2 will query several times.
[0137] The aforementioned business management device 2 can also adjust the retrieval request parameters of client 1, for example: recording start time = alarm time - 15 seconds, recording end time = alarm time + 15 seconds.
[0138] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A search method of an alarm short video, characterized by, The method comprises the following steps: S10, receiving a search signal, and extracting a search alarm time in the search signal; S20, judging whether a search alarm start time in the search alarm time is equal to a search alarm end time; S21, if the search alarm start time in the search alarm time is equal to the search alarm end time, performing jitter processing on the search alarm time to obtain a search alarm jitter time interval, and acquiring an alarm short video associated with the search alarm jitter time interval; S22, if the search alarm start time in the search alarm time is not equal to the search alarm end time, acquiring an alarm short video associated with the search alarm time; S30, calculating an association weight of the alarm short video according to the search alarm time and an alarm time of the alarm short video, and the formula is as follows: , wherein, represents a search alarm start time; represents a search alarm end time; represents an alarm time of the alarm short video; represents an associated weight of the alarm short video; S40, sorting the alarm short video according to the association weight to obtain an alarm short video list, and sending a response signal.
2. The method of claim 1, wherein, The search alarm time is subjected to jitter processing to obtain a search alarm jitter time interval, and the specific steps are as follows: The jitter time is t, the lower limit value of the search alarm jitter time interval is the difference between the search alarm start time and the jitter time t, and the upper limit value of the search alarm jitter time interval is the sum of the search alarm end time and the jitter time t.
3. The method of claim 2, wherein the short video is retrieved based on the keyword. The alarm short video associated with the search alarm jitter time interval is as follows: Extracting an alarm time of the alarm short video, judging whether the alarm time is in the search alarm jitter time interval; If the alarm time is in the search alarm jitter time interval, the alarm short video is associated with the search alarm jitter time interval; If the alarm time is not in the search alarm jitter time interval, the alarm short video is not associated with the search alarm jitter time interval.
4. The method of claim 1, wherein, The alarm short video associated with the search alarm time is as follows: Whether there is time intersection between the search alarm time and a recording time of the alarm short video; If there is time intersection between the search alarm time and the recording time of the alarm short video, the alarm short video is associated with the search alarm time; If there is no time intersection between the search alarm time and the recording time of the alarm short video, the alarm short video is not associated with the search alarm time.
5. The method of claim 4, wherein the short video is retrieved based on the alarm. The time intersection comprises multiple items, and the alarm short video satisfies any one of the time intersections, and it is considered that the alarm short video is associated with the search alarm time; The multiple time intersections comprise: First item: the recording start time of the alarm short video is less than or equal to the search alarm start time, and the recording end time of the alarm short video is greater than or equal to the search alarm start time; Second item: the recording start time of the alarm short video is less than or equal to the search alarm end time, and the recording end time of the alarm short video is greater than or equal to the search alarm end time; Third item: the recording start time of the alarm short video is greater than or equal to the search alarm start time, and the recording end time of the alarm short video is less than or equal to the search alarm end time; Fourth item: the alarm time of the alarm short video is equal to the search alarm end time, and equal to the recording end time of the alarm short video.
6. A retrieval system of an alarm short video characterized by comprising: The alarm short video quick retrieval system is used to realize the alarm short video quick retrieval method as claimed in any one of claims 1-5. The alarm short video quick retrieval system comprises: a client (1) for sending a retrieval signal; a service management device (2) in communication connection with the client (1), the service management device (2) being used to receive the retrieval signal and an alarm short video list, and the service management device (2) sending a response signal to the client (1) after receiving the alarm short video list; an algorithm analysis device (3) in communication connection with the service management device (2), the algorithm analysis device being used to extract a retrieval alarm time from the retrieval signal, judging whether a retrieval alarm start time in the retrieval alarm time is equal to a retrieval alarm end time, if the retrieval alarm start time in the retrieval alarm time is equal to the retrieval alarm end time, performing jitter processing on the retrieval alarm time to obtain a retrieval alarm jitter time interval, calculating a correlation weight of an alarm short video according to the retrieval alarm time and an alarm time of the alarm short video; a media device (4) in communication connection with the client (1), the service management device (2) and the algorithm analysis device (3), the media device (4) being used to acquire an alarm short video associated with the retrieval alarm jitter time interval and an alarm short video associated with the retrieval alarm time, sort the alarm short videos according to the correlation weight to obtain the alarm short video list, and send the alarm short video list to the service management device (2); a monitoring device (5) in communication connection with the media device (4), the monitoring device (5) being used to record a video and send the alarm short video to the media device (4).
7. The search system for an alarm short video according to claim 6, wherein The algorithm analysis device (3) is used to perform jitter processing on the retrieval alarm time to obtain a retrieval alarm jitter time interval, and the specific steps are as follows: The jitter time is t, the lower limit value of the retrieval alarm jitter time interval is the difference between the retrieval alarm start time and the jitter time t, and the upper limit value of the retrieval alarm jitter time interval is the sum of the retrieval alarm end time and the jitter time t.
8. The search system for an alarm short video according to claim 7, wherein The media device (4) is used to acquire an alarm short video associated with the retrieval alarm jitter time interval, and the alarm short video associated with the retrieval alarm jitter time interval is as follows: extracting an alarm time of the alarm short video, judging whether the alarm time is within the retrieval alarm jitter time interval, if the alarm time is within the retrieval alarm jitter time interval, the alarm short video is associated with the retrieval alarm jitter time interval, if the alarm time is not within the retrieval alarm jitter time interval, the alarm short video is not associated with the retrieval alarm jitter time interval.
9. The retrieval system of short video for alarm according to claim 6, wherein, The media device (4) is used to acquire an alarm short video associated with the retrieval alarm time, and the alarm short video associated with the retrieval alarm time is as follows: whether there is a time intersection between the retrieval alarm time and a recording time of the alarm short video; if there is a time intersection between the retrieval alarm time and the recording time of the alarm short video, the alarm short video is associated with the retrieval alarm time; If the search alarm time and the alarm short video recording time do not exist time intersection, the alarm short video search alarm time is not associated; The time intersection includes multiple items, and the alarm short video satisfies any one time intersection, then it is considered that the alarm short video is associated with the search alarm time; The multiple time intersections include: The first item: the alarm short video recording start time is less than or equal to the search alarm start time, and the alarm short video recording end time is greater than or equal to the search alarm start time; The second item: the alarm short video recording start time is less than or equal to the search alarm end time, and the alarm short video recording end time is greater than or equal to the search alarm end time; The third item: the alarm short video recording start time is greater than or equal to the search alarm start time, and the alarm short video recording end time is less than or equal to the search alarm end time; The fourth item: the alarm time of the alarm short video is equal to the search alarm end time, which is equal to the alarm short video recording end time.
Citation Information
Patent Citations
Search device, search system, and search device control method
CN101261636A
Video snapshot retrieval system and method
CN105426520A
Temporal ranking of search results
US20080027921A1