Monitoring video management method and system

By truncating, analyzing, compressing and encrypting the surveillance video, the problem of waste of storage space in redundant video surveillance is solved, and the user experience is improved.

CN119324965APending Publication Date: 2025-01-17SHANGRAO JINGU INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411366709.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-01-17

AI Technical Summary

Technical Problem

The prior art generates more redundant surveillance videos during the video surveillance process, resulting in wasted video storage space and reducing user experience.

Method used

By real-time detection of the start of video surveillance, the monitoring video is cut off every preset time to generate the original video clip, and the video analysis is performed based on the preset rules to determine whether there is an invalid video. If it exists, it is compressed to generate the target video clip , and then encrypt it and store it.

Benefits of technology

Effectively split lengthy videos, detect and eliminate redundant videos, improve user experience, and optimize storage efficiency through compression and encryption processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119324965A_ABST
    Figure CN119324965A_ABST
Patent Text Reader

Abstract

The invention provides a monitoring video management method and system, and the method comprises the steps: carrying out the truncation processing of a monitoring video generated in real time at preset time intervals when the start of video monitoring is detected in real time, so as to generate a corresponding original video clip in real time; performing video analysis processing on the original video clip in real time based on a preset rule so as to judge whether an invalid video exists in the original video clip or not in real time; if it is judged that an invalid video exists in the original video clip in real time, performing compression processing on the invalid video in the original video clip to generate a corresponding target video clip in real time; and performing real-time encryption processing on the target video clip to generate a corresponding encrypted video clip in real time, and storing the encrypted video clip in a preset folder in real time. According to the invention, compression and encryption processing of the video can be completed at the same time, and the user experience is correspondingly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a monitoring video management method and system. Background Art

[0002] With the advancement of science and technology and the rapid development of productivity, monitoring technology has become increasingly mature and has been widely used in people's daily lives, making people's lives more convenient.

[0003] Among them, the existing technology will generate corresponding monitoring videos during the process of video monitoring. Further, in order to facilitate the subsequent viewing of staff, the existing technology will store the generated monitoring videos in a timely manner to ensure subsequent calls.

[0004] Furthermore, in the prior art, in the process of storing real-time surveillance videos, most of them are stored in the order of generation time, and in the storage process, each surveillance video is set to the same video length. However, in the process of daily monitoring, a large number of invalid surveillance videos will be generated, and thus a large number of redundant surveillance videos will be generated, thereby wasting video storage space and reducing the user experience. Summary of the invention

[0005] Based on this, the purpose of the present invention is to provide a monitoring video management method and system to solve the problem that the prior art generates a large number of redundant monitoring videos during daily monitoring, which correspondingly wastes video storage space.

[0006] The first aspect of the embodiment of the present invention proposes:

[0007] A surveillance video management method, wherein the method comprises:

[0008] When the start of video surveillance is detected in real time, the surveillance video generated in real time is truncated at preset intervals to generate corresponding original video clips in real time;

[0009] Performing video analysis processing on the original video clip in real time based on preset rules to determine in real time whether there is invalid video in the original video clip;

[0010] If it is determined in real time that there is an invalid video in the original video segment, compressing the invalid video in the original video segment to generate a corresponding target video segment in real time;

[0011] The target video segment is encrypted in real time to generate a corresponding encrypted video segment in real time, and the encrypted video segment is stored in a preset folder in real time.

[0012] The beneficial effect of the present invention is as follows: by truncating the surveillance video at preset time intervals, a lengthy surveillance video can be split into a number of video segments; based on this, each current video segment is further parsed and processed, so as to detect whether redundant video, that is, extra invalid video, appears; further, the current invalid video is immediately compressed and the target video segment generated in real time is encrypted, so as to simultaneously complete the compression and encryption of each video segment, thereby eliminating redundant videos and improving the user experience accordingly.

[0013] Furthermore, the step of performing video parsing processing on the original video clip in real time based on preset rules to determine in real time whether there is invalid video in the original video clip includes:

[0014] When the original video segment is acquired in real time, the original video segment is fully scanned to detect the starting point and the ending point corresponding to the original video segment;

[0015] The target timeline corresponding to the original video segment is detected in real time according to the starting point and the ending point, and the original video segment is subjected to video parsing processing based on the target timeline to determine whether the invalid video exists in the original video segment.

[0016] Furthermore, the step of performing video parsing processing on the original video segment based on the target timeline to correspondingly determine whether the invalid video exists in the original video includes:

[0017] When the target time axis is acquired in real time, a plurality of moments sequentially included in the target time axis are detected one by one, each of the moments being in seconds;

[0018] The image frames corresponding to each of the moments are detected in real time in the original video clip, and it is determined in real time according to each of the image frames whether the invalid video exists in the original video.

[0019] Furthermore, the step of determining in real time according to each of the image frames whether the original video contains the invalid video comprises:

[0020] When each of the image frames is acquired in real time, a corresponding target identifier is added to each of the image frames;

[0021] Determining whether the corresponding real scene images contained in two adjacent image frames are the same based on the target identifier;

[0022] If it is determined one by one based on the target identifier that the real scene images correspondingly contained in two adjacent image frames are the same, then the current two adjacent image frames are correspondingly determined to be the same image frames, and the same image frames are correspondingly determined to be the invalid video.

[0023] Furthermore, the step of performing real-time encryption processing on the target video segment to generate a corresponding encrypted video segment in real time includes:

[0024] When the target video segment is acquired in real time, a target video format corresponding to the target video segment is detected in real time;

[0025] Parsing the target video format to detect a target attribute value corresponding to the target video segment;

[0026] The target video segment is encrypted in real time according to the target video format and the target attribute value to generate the encrypted video segment accordingly.

[0027] Furthermore, the step of performing real-time encryption processing on the target video segment according to the target video format and the target attribute value to generate the encrypted video segment accordingly includes:

[0028] When the target video format is acquired in real time, a hash operation is performed on the target video format to generate a first hash sequence accordingly;

[0029] When the target attribute value is acquired in real time, a secondary hash operation is performed on the target attribute value to generate a second hash sequence accordingly;

[0030] The target video segment is encrypted in real time according to the first hash sequence and the second hash sequence to generate the encrypted video segment accordingly.

[0031] Furthermore, the step of performing real-time encryption processing on the target video segment according to the first hash sequence and the second hash sequence to generate the encrypted video segment accordingly includes:

[0032] Performing interleaving and fusion processing on the first hash sequence and the second hash sequence to generate a corresponding target encryption sequence in real time;

[0033] Randomly selecting a number of numbers and a number of letters from the target encryption sequence, and randomly arranging and combining the numbers and the letters to generate a number of random sequences accordingly;

[0034] A random sequence is selected as the encryption key of the target video segment to generate the encrypted video segment accordingly.

[0035] The second aspect of the embodiment of the present invention proposes:

[0036] A monitoring video management system, wherein the system comprises:

[0037] The detection module is used to truncate the surveillance video generated in real time at preset intervals when the start of video surveillance is detected in real time, so as to generate the corresponding original video clips in real time;

[0038] A judgment module, used for performing video analysis processing on the original video clip in real time based on preset rules, so as to judge in real time whether there is invalid video in the original video clip;

[0039] A compression module, for compressing the invalid video in the original video segment if it is determined in real time that there is an invalid video in the original video segment, so as to generate a corresponding target video segment in real time;

[0040] The encryption module is used to perform real-time encryption processing on the target video segment to generate a corresponding encrypted video segment in real time, and store the encrypted video segment in a preset folder in real time.

[0041] Furthermore, the parsing module is specifically used for:

[0042] When the original video segment is acquired in real time, the original video segment is fully scanned to detect the starting point and the ending point corresponding to the original video segment;

[0043] The target timeline corresponding to the original video segment is detected in real time according to the starting point and the ending point, and the original video segment is subjected to video parsing processing based on the target timeline to determine whether the invalid video exists in the original video segment.

[0044] Furthermore, the parsing module is specifically used for:

[0045] When the target time axis is acquired in real time, a plurality of moments sequentially included in the target time axis are detected one by one, each of the moments being in seconds;

[0046] The image frames corresponding to each of the moments are detected in real time in the original video clip, and it is determined in real time according to each of the image frames whether the invalid video exists in the original video.

[0047] Furthermore, the parsing module is specifically used for:

[0048] When each of the image frames is acquired in real time, a corresponding target identifier is added to each of the image frames;

[0049] Determining whether the corresponding real scene images contained in two adjacent image frames are the same based on the target identifier;

[0050] If it is determined one by one based on the target identifier that the real scene images correspondingly contained in two adjacent image frames are the same, then the current two adjacent image frames are correspondingly determined to be the same image frames, and the same image frames are correspondingly determined to be the invalid video.

[0051] Furthermore, the encryption module is specifically used for:

[0052] When the target video segment is acquired in real time, a target video format corresponding to the target video segment is detected in real time;

[0053] Parsing the target video format to detect a target attribute value corresponding to the target video segment;

[0054] The target video segment is encrypted in real time according to the target video format and the target attribute value to generate the encrypted video segment accordingly.

[0055] Furthermore, the encryption module is specifically used for:

[0056] When the target video format is acquired in real time, a hash operation is performed on the target video format to generate a first hash sequence accordingly;

[0057] When the target attribute value is acquired in real time, a secondary hash operation is performed on the target attribute value to generate a second hash sequence accordingly;

[0058] The target video segment is encrypted in real time according to the first hash sequence and the second hash sequence to generate the encrypted video segment accordingly.

[0059] Furthermore, the encryption module is specifically used for:

[0060] Performing interleaving and fusion processing on the first hash sequence and the second hash sequence to generate a corresponding target encryption sequence in real time;

[0061] Randomly selecting a number of numbers and a number of letters from the target encryption sequence, and randomly arranging and combining the numbers and the letters to generate a number of random sequences accordingly;

[0062] A random sequence is selected as the encryption key of the target video segment to generate the encrypted video segment accordingly.

[0063] The third aspect of the embodiment of the present invention proposes:

[0064] A computer comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the monitoring video management method as described above when executing the computer program.

[0065] The fourth aspect of the embodiments of the present invention proposes:

[0066] A readable storage medium stores a computer program, wherein the program, when executed by a processor, implements the monitoring video management method as described above.

[0067] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 A flowchart of a monitoring video management method provided by a first embodiment of the present invention;

[0069] Figure 2 This is a structural block diagram of a monitoring video management system provided by the third embodiment of the present invention.

[0070] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0071] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.

[0072] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.

[0073] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0074] See also Figure 1, shown is the monitoring video management method provided by the first embodiment of the present invention. The monitoring video management method provided by this embodiment can simultaneously complete the compression and encryption processing of each video clip, thereby eliminating redundant videos and correspondingly improving the user experience.

[0075] Specifically, this embodiment provides:

[0076] A monitoring video management method specifically comprises the following steps:

[0077] Step S10, when the start of video surveillance is detected in real time, the surveillance video generated in real time is truncated at a preset time interval to generate a corresponding original video segment in real time;

[0078] Step S20, performing video parsing processing on the original video clip in real time based on preset rules to determine in real time whether there is invalid video in the original video clip;

[0079] Step S30, if it is determined in real time that there is an invalid video in the original video segment, compressing the invalid video in the original video segment to generate a corresponding target video segment in real time;

[0080] Step S40: encrypt the target video clip in real time to generate a corresponding encrypted video clip in real time, and store the encrypted video clip in a preset folder in real time.

[0081] Specifically, in this embodiment, it should be noted that, in order to quickly and effectively complete the compression and storage of surveillance videos, it is necessary to accurately obtain the information corresponding to each surveillance video, and further perform targeted processing to eliminate redundant videos. Specifically, in the actual application process, the server set in the background can monitor the working status of the camera in real time. Further, when the server detects in real time that the current camera starts working and further starts video monitoring, the surveillance video management method will be immediately enabled. Preferably, the present invention will truncate the surveillance video collected by the current camera in real time at preset time intervals through the server, and can correspondingly split out several original video clips. Based on this, the present invention will immediately perform corresponding video analysis processing on the original video clips currently split out in real time according to pre-set rules, and can judge in real time whether there is invalid video in the current original video clips according to the analysis results.

[0082] Furthermore, if it is determined in real time that there is an invalid video in the current original video clip, it is necessary to immediately compress the corresponding invalid video in the current original video clip, wherein the present invention will immediately delete the current invalid video, thereby significantly reducing the storage space occupied by the current invalid video, and further generate the required target video clip according to the remaining video, based on which, the current target video clip is further encrypted in real time, and the required encrypted video clip can be generated accordingly to protect the content in the current target video clip, and finally the current encrypted video clip is stored in a pre-set folder to complete the management of each video clip, thereby effectively eliminating redundant videos and improving the user experience.

[0083] Second embodiment

[0084] Furthermore, the step of performing video parsing processing on the original video clip in real time based on preset rules to determine in real time whether there is invalid video in the original video clip includes:

[0085] When the original video segment is acquired in real time, the original video segment is fully scanned to detect the starting point and the ending point corresponding to the original video segment;

[0086] The target timeline corresponding to the original video segment is detected in real time according to the starting point and the ending point, and the original video segment is subjected to video parsing processing based on the target timeline to determine whether the invalid video exists in the original video segment.

[0087] Furthermore, the step of performing video parsing processing on the original video segment based on the target timeline to correspondingly determine whether the invalid video exists in the original video includes:

[0088] When the target time axis is acquired in real time, a plurality of moments sequentially included in the target time axis are detected one by one, each of the moments being in seconds;

[0089] The image frames corresponding to each of the moments are detected in real time in the original video clip, and it is determined in real time according to each of the image frames whether the invalid video exists in the original video.

[0090] Furthermore, the step of determining in real time according to each of the image frames whether the original video contains the invalid video comprises:

[0091] When each of the image frames is acquired in real time, a corresponding target identifier is added to each of the image frames;

[0092] Determining whether the corresponding real scene images contained in two adjacent image frames are the same based on the target identifier;

[0093] If it is determined one by one based on the target identifier that the real scene images correspondingly contained in two adjacent image frames are the same, then the current two adjacent image frames are correspondingly determined to be the same image frames, and the same image frames are correspondingly determined to be the invalid video.

[0094] Furthermore, the step of performing real-time encryption processing on the target video segment to generate a corresponding encrypted video segment in real time includes:

[0095] When the target video segment is acquired in real time, a target video format corresponding to the target video segment is detected in real time;

[0096] Parsing the target video format to detect a target attribute value corresponding to the target video segment;

[0097] The target video segment is encrypted in real time according to the target video format and the target attribute value to generate the encrypted video segment accordingly.

[0098] Furthermore, the step of performing real-time encryption processing on the target video segment according to the target video format and the target attribute value to generate the encrypted video segment accordingly includes:

[0099] When the target video format is acquired in real time, a hash operation is performed on the target video format to generate a first hash sequence accordingly;

[0100] When the target attribute value is acquired in real time, a secondary hash operation is performed on the target attribute value to generate a second hash sequence accordingly;

[0101] The target video segment is encrypted in real time according to the first hash sequence and the second hash sequence to generate the encrypted video segment accordingly.

[0102] Furthermore, the step of performing real-time encryption processing on the target video segment according to the first hash sequence and the second hash sequence to generate the encrypted video segment accordingly includes:

[0103] Performing interleaving and fusion processing on the first hash sequence and the second hash sequence to generate a corresponding target encryption sequence in real time;

[0104] Randomly selecting a number of numbers and a number of letters from the target encryption sequence, and randomly arranging and combining the numbers and the letters to generate a number of random sequences accordingly;

[0105] A random sequence is selected as the encryption key of the target video segment to generate the encrypted video segment accordingly.

[0106] In addition, in the present embodiment, it is also necessary to explain that after the required original video clip is obtained in real time through the above steps, in order to be able to objectively and accurately determine whether there is an invalid video in the current original video clip, preferably, the present invention will first perform a full scan of the current original video clip, and be able to scan the corresponding starting point and ending point, based on which, it is possible to further detect the target time axis of the current original video clip within the range of the current starting point and ending point, that is, the time span corresponding to the current original video clip. Based on this, the present invention will further detect several corresponding moments on the current target time axis, that is, the start time and the end time, and at the same time, detect the image frames corresponding to each current moment, and further analyze each current image frame. Preferably, the present invention will detect the corresponding real-scene images contained in each current image frame one by one, and at the same time, further determine whether the corresponding real-scene images contained in the two current adjacent image frames are the same in real time according to the time sequence of the above-mentioned target time axis. Specifically, if so, it means that the corresponding contents contained in the two current adjacent image frames are the same, and they are judged to be the same image frames, and the same image frames are redundant. Based on this, the present invention will immediately judge the current same image frames as the above-mentioned invalid video and perform corresponding compression processing.

[0107] Furthermore, after further acquiring the required target video segment through the above steps, in order to objectively and effectively complete the encryption processing of the current target video segment, preferably, the present invention will first detect the target attribute value corresponding to the current target video segment, and the corresponding target video format, wherein it should be pointed out that since the current target video format and the information contained in the current target attribute value are not the same, based on this, in order to further improve the confidentiality performance, the present invention will perform a hash operation on the current target video format and generate a corresponding first hash sequence. Similarly, the present invention will perform a secondary hash operation on the current target attribute value and can generate a corresponding second hash sequence. Based on this, the current first hash sequence and the second hash sequence are immediately interspersed and fused to further generate the required target encryption sequence, that is, they are fused into a whole in real time. Based on this, the present invention will eventually randomly select a number of numbers and a number of letters from the current target encryption sequence. In addition, the present invention will further extract the required invalid video sequence from the above-mentioned invalid video. Based on this, the current invalid video sequence and the target encryption sequence are further interspersed and fused to generate the final encryption sequence, and the numbers and letters in the current final encryption sequence are immediately randomly arranged and combined to further generate a number of random sequences. On this basis, a random sequence is finally selected as the encryption key of the current target video segment to generate the above-mentioned encrypted video segment for subsequent processing.

[0108] See also Figure 2 , the third embodiment of the present invention provides:

[0109] A monitoring video management system, wherein the system comprises:

[0110] The detection module is used to truncate the surveillance video generated in real time at preset intervals when the start of video surveillance is detected in real time, so as to generate the corresponding original video clips in real time;

[0111] A judgment module, used for performing video analysis processing on the original video clip in real time based on preset rules, so as to judge in real time whether there is invalid video in the original video clip;

[0112] A compression module, for compressing the invalid video in the original video segment if it is determined in real time that there is an invalid video in the original video segment, so as to generate a corresponding target video segment in real time;

[0113] The encryption module is used to perform real-time encryption processing on the target video segment to generate a corresponding encrypted video segment in real time, and store the encrypted video segment in a preset folder in real time.

[0114] Furthermore, the parsing module is specifically used for:

[0115] When the original video segment is acquired in real time, the original video segment is fully scanned to detect the starting point and the ending point corresponding to the original video segment;

[0116] The target timeline corresponding to the original video segment is detected in real time according to the starting point and the ending point, and the original video segment is subjected to video parsing processing based on the target timeline to determine whether the invalid video exists in the original video segment.

[0117] Furthermore, the parsing module is specifically used for:

[0118] When the target time axis is acquired in real time, a plurality of moments sequentially included in the target time axis are detected one by one, each of the moments being in seconds;

[0119] The image frames corresponding to each of the moments are detected in real time in the original video clip, and it is determined in real time according to each of the image frames whether the invalid video exists in the original video.

[0120] Furthermore, the parsing module is specifically used for:

[0121] When each of the image frames is acquired in real time, a corresponding target identifier is added to each of the image frames;

[0122] Determining whether the corresponding real scene images contained in two adjacent image frames are the same based on the target identifier;

[0123] If it is determined one by one based on the target identifier that the real scene images correspondingly contained in two adjacent image frames are the same, then the current two adjacent image frames are correspondingly determined to be the same image frames, and the same image frames are correspondingly determined to be the invalid video.

[0124] Furthermore, the encryption module is specifically used for:

[0125] When the target video segment is acquired in real time, a target video format corresponding to the target video segment is detected in real time;

[0126] Parsing the target video format to detect a target attribute value corresponding to the target video segment;

[0127] The target video segment is encrypted in real time according to the target video format and the target attribute value to generate the encrypted video segment accordingly.

[0128] Furthermore, the encryption module is specifically used for:

[0129] When the target video format is acquired in real time, a hash operation is performed on the target video format to generate a first hash sequence accordingly;

[0130] When the target attribute value is acquired in real time, a secondary hash operation is performed on the target attribute value to generate a second hash sequence accordingly;

[0131] The target video segment is encrypted in real time according to the first hash sequence and the second hash sequence to generate the encrypted video segment accordingly.

[0132] Furthermore, the encryption module is specifically used for:

[0133] Performing interleaving and fusion processing on the first hash sequence and the second hash sequence to generate a corresponding target encryption sequence in real time;

[0134] Randomly selecting a number of numbers and a number of letters from the target encryption sequence, and randomly arranging and combining the numbers and the letters to generate a number of random sequences accordingly;

[0135] A random sequence is selected as the encryption key of the target video segment to generate the encrypted video segment accordingly.

[0136] A fourth embodiment of the present invention provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the monitoring video management method described above when executing the computer program.

[0137] A fifth embodiment of the present invention provides a readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the monitoring video management method as described above.

[0138] In summary, the monitoring video management method and system provided by the above embodiments of the present invention can simultaneously complete the compression and encryption processing of each video clip, thereby eliminating redundant videos and correspondingly improving the user experience.

[0139] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0140] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0141] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0142] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0143] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0144] The above-described embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the attached claims.

Claims

1. A monitoring video management method, characterized in that: The method comprises: When the start of video surveillance is detected in real time, the surveillance video generated in real time is truncated at preset intervals to generate corresponding original video clips in real time; Performing video analysis processing on the original video clip in real time based on preset rules to determine in real time whether there is invalid video in the original video clip; If it is determined in real time that there is an invalid video in the original video segment, compressing the invalid video in the original video segment to generate a corresponding target video segment in real time; The target video segment is encrypted in real time to generate a corresponding encrypted video segment in real time, and the encrypted video segment is stored in a preset folder in real time.

2. The monitoring video management method according to claim 1, characterized in that: The step of performing video analysis processing on the original video clip in real time based on preset rules to determine in real time whether there is invalid video in the original video clip includes: When the original video segment is acquired in real time, the original video segment is fully scanned to detect the starting point and the ending point corresponding to the original video segment; The target timeline corresponding to the original video segment is detected in real time according to the starting point and the ending point, and the original video segment is subjected to video parsing processing based on the target timeline to determine whether the invalid video exists in the original video segment.

3. The monitoring video management method according to claim 2, characterized in that: The step of performing video parsing processing on the original video segment based on the target timeline to correspondingly determine whether the original video contains the invalid video includes: When the target time axis is acquired in real time, a plurality of moments sequentially included in the target time axis are detected one by one, each of the moments being in seconds; The image frames corresponding to each of the moments are detected in real time in the original video clip, and it is determined in real time according to each of the image frames whether the invalid video exists in the original video.

4. The monitoring video management method according to claim 3, characterized in that: The step of determining whether the original video contains the invalid video in real time according to each of the image frames comprises: When each of the image frames is acquired in real time, a corresponding target identifier is added to each of the image frames; Determining whether the corresponding real scene images contained in two adjacent image frames are the same based on the target identifier; If it is determined one by one based on the target identifier that the real scene images correspondingly contained in two adjacent image frames are the same, then the current two adjacent image frames are correspondingly determined to be the same image frames, and the same image frames are correspondingly determined to be the invalid video.

5. The monitoring video management method according to claim 1, characterized in that: The step of performing real-time encryption processing on the target video segment to generate a corresponding encrypted video segment in real time comprises: When the target video segment is acquired in real time, a target video format corresponding to the target video segment is detected in real time; Parsing the target video format to detect a target attribute value corresponding to the target video segment; The target video segment is encrypted in real time according to the target video format and the target attribute value to generate the encrypted video segment accordingly.

6. The monitoring video management method according to claim 5, characterized in that: The step of performing real-time encryption processing on the target video segment according to the target video format and the target attribute value to generate the encrypted video segment accordingly comprises: When the target video format is acquired in real time, a hash operation is performed on the target video format to generate a first hash sequence accordingly; When the target attribute value is acquired in real time, a secondary hash operation is performed on the target attribute value to generate a second hash sequence accordingly; The target video segment is encrypted in real time according to the first hash sequence and the second hash sequence to generate the encrypted video segment accordingly.

7. The monitoring video management method according to claim 6, characterized in that: The step of performing real-time encryption processing on the target video segment according to the first hash sequence and the second hash sequence to generate the encrypted video segment accordingly includes: Performing interleaving and fusion processing on the first hash sequence and the second hash sequence to generate a corresponding target encryption sequence in real time; Randomly selecting a number of numbers and a number of letters from the target encryption sequence, and randomly arranging and combining the numbers and the letters to generate a number of random sequences accordingly; A random sequence is selected as the encryption key of the target video segment to generate the encrypted video segment accordingly.

8. A surveillance video management system, characterized in that: The system comprises: The detection module is used to truncate the surveillance video generated in real time at preset intervals when the start of video surveillance is detected in real time, so as to generate the corresponding original video clips in real time; A judgment module, used for performing video analysis processing on the original video clip in real time based on preset rules, so as to judge in real time whether there is invalid video in the original video clip; A compression module, for compressing the invalid video in the original video segment if it is determined in real time that there is an invalid video in the original video segment, so as to generate a corresponding target video segment in real time; The encryption module is used to perform real-time encryption processing on the target video segment to generate a corresponding encrypted video segment in real time, and store the encrypted video segment in a preset folder in real time.

9. A computer comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the monitoring video management method according to any one of claims 1 to 7 is implemented.

10. A readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the monitoring video management method as described in any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Traffic monitoring video processing method and system

    CN121309872A