Monitoring video processing method and processing device

By performing status detection and identification signal generation on the surveillance video in the edge processing unit, the method of transmitting the surveillance video is determined, which solves the problem of large data volume in surveillance video transmission and improves the efficiency of the communication link and the timely transmission of abnormal information.

CN118828046APending Publication Date: 2024-10-22中国移动通信集团江西有限公司 +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410082236.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-19
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

The existing surveillance video transmission method results in a large amount of data, increases the data transmission pressure on the communication link, and reduces the real-time nature of data transmission.

Method used

The edge processing unit performs status detection on the surveillance video, generates a status identification signal, and decides whether to transmit the current frame target image or historical image to the local processing unit based on the detection results, reducing data transmission in no abnormal status and transmitting data in abnormal status in a timely manner. data.

Benefits of technology

It reduces the data transmission pressure on the communication link, improves the real-time nature of data transmission, and ensures that abnormal information can be obtained in an abnormal state in a timely manner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118828046A_ABST
    Figure CN118828046A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of video monitoring, in particular to a monitoring video processing method and device. The monitoring video processing method comprises the steps of obtaining a current frame target image of a monitoring video, performing state detection on the current frame target image, and sending the current frame target image and a corresponding state identification signal to a local processing unit under the condition that the current frame target image has an abnormal state, and under the condition that the current frame of target image has no abnormal state, sending a state identification signal corresponding to the current frame of target image to a local processing unit. Therefore, according to the method provided by the invention, under the condition that the monitoring video is not abnormal, the transmitted data volume is reduced, the data transmission pressure of the communication link is relieved, and the abnormal information can be timely sent to the local processing unit under the condition that the abnormal state exists; therefore, the local processing unit can obtain the abnormal state in time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of video surveillance technology, and in particular to a surveillance video processing method and a processing device. Background Art

[0002] In the field of wireless video surveillance, it is generally necessary to remotely view the collected surveillance videos or monitor abnormal situations in the surveillance videos.

[0003] In the related art, the collected surveillance video is first sent to an edge processing unit close to the surveillance video collection source. The edge processing unit first compresses the surveillance video, and then sends the compressed surveillance video to a remote local processing unit through wireless communication technology. The local processing unit decompresses the compressed surveillance video and plays it or monitors abnormal conditions. Since the collection of surveillance videos is generally continuous, although the surveillance video is compressed before wireless transmission, the continuous transmission of compressed video data still puts a large data transmission pressure on the transmission link. Therefore, the existing surveillance video transmission method transmits a large amount of data, which increases the data transmission pressure of the communication link, resulting in low real-time data transmission. Summary of the invention

[0004] The main purpose of the present invention is to provide a monitoring video processing method and a processing device, aiming to solve the technical problem that the amount of transmitted data is large and the data transmission pressure of the communication link is increased in the existing monitoring video transmission method.

[0005] On the one hand, this embodiment provides a monitoring video processing method, including:

[0006] Send the collected surveillance video to the edge processing unit;

[0007] The edge processing unit captures the surveillance video, obtains the current frame target image of the surveillance video, performs state detection on the current frame target image, obtains state information of the current frame target image, and generates a state identification signal for characterizing the state information of the current frame target image, wherein the state information of the current frame target image includes a state in which the current frame target image has no abnormality and a state in which the current frame target image has an abnormality; in the case that the current frame target image has an abnormal state, the current frame target image and its corresponding state identification signal are sent to the local processing unit, and in the case that the current frame target image has no abnormality, the state identification signal corresponding to the current frame target image is sent to the local processing unit;

[0008] The local processing unit performs corresponding processing on the current frame target image according to the state identification signal; or the local processing unit performs corresponding processing on the historical target image according to the state identification signal.

[0009] Optionally, capturing the surveillance video to obtain a current frame target image of the surveillance video includes:

[0010] Continuously capture each frame of the surveillance video to obtain a target image of a current frame of the surveillance video; or

[0011] The monitoring video is captured at intervals using a preset capture rate to obtain a current frame target image of the monitoring video.

[0012] Optionally, the monitoring video processing method further includes:

[0013] Obtaining the number of current frame target images without abnormal conditions detected within a preset time length, if the number of current frame target images without abnormal conditions detected within the preset time length is greater than a preset threshold or no current frame target images with abnormal conditions are detected within the preset time length, reducing the capture rate; or

[0014] Obtaining the number of current frame target images with abnormal conditions detected within a preset time length, and if the number of current frame target images with abnormal conditions detected within the preset time length is greater than a preset threshold or no current frame target images without abnormal conditions are detected within the preset time length, increasing the capture rate; or

[0015] If the current frame target image without abnormal state is not detected within the preset time length, each frame of the monitoring video is continuously captured.

[0016] Optionally, the monitoring video processing method further includes:

[0017] When the status information of the target image of the current frame is normal, the target image of the current frame is stored in the cache. When the number of target images in the cache reaches a threshold or after the target image is cached for a preset period of time, the target image in the cache is sent to the local processing unit.

[0018] Optionally, the monitoring video processing method further includes:

[0019] If the number of current frame target images without abnormal conditions detected within a preset time period is greater than a preset threshold or no current frame target images with abnormal conditions are detected within a preset time length, the target images in the cache are screened and some target images are filtered out. When the number of target images remaining in the cache reaches a threshold or after the target images have been cached for a preset time length, the target images in the cache are sent to the local processing unit.

[0020] Optionally, the performing corresponding processing on the historical target image according to the state identification signal includes:

[0021] When the state information of the target image of the current frame represented by the state identification signal is a normal state, video fitting processing is performed on the historical target image to obtain a normal video.

[0022] Optionally, the monitoring video processing method further includes:

[0023] When the state information of the current frame target image indicates that an abnormal state exists, obtaining at least one adjacent frame image of the current frame target image, and sending the state identification signals corresponding to the current frame target image, the adjacent frame images, and the current frame target image to a local processing unit; or

[0024] When the status information of the current frame target image indicates that an abnormal state exists, a surveillance video of a preset length including the current frame target image is obtained, and the surveillance video of the preset length and a status identification signal corresponding to the current frame target image are sent to a local processing unit.

[0025] Optionally, the monitoring video processing method further includes:

[0026] When the status information of the current frame target image represented by the status identification signal indicates that an abnormal state exists, the current frame target image is displayed and an alarm message is issued.

[0027] Optionally, the monitoring video processing method further includes:

[0028] When the state information of the target image of the current frame represented by the state identification signal indicates that an abnormal state exists,

[0029] Displaying the current frame target image and adjacent frame images of the current frame target image, and issuing an alarm message; or

[0030] Performing video fitting processing on the current frame target image and adjacent frame images of the current frame target image to obtain an abnormal video, playing the abnormal video and issuing an alarm message; or

[0031] Play the surveillance video of the preset duration and issue an alarm message.

[0032] Optionally, before sending the collected surveillance video to the edge processing unit, the method further includes:

[0033] Collect surveillance video of the monitored area.

[0034] On the other hand, the present invention also provides a monitoring video processing system, comprising:

[0035] A data transmission unit, used to send the collected surveillance video to the edge processing unit;

[0036] an edge processing unit, for capturing the surveillance video, acquiring a current frame target image of the surveillance video, performing state detection on the current frame target image, obtaining state information of the current frame target image, and generating a state identification signal for characterizing the state information of the current frame target image, wherein the state information of the current frame target image includes a state in which the current frame target image has no abnormality and a state in which the current frame target image has an abnormality; in the case in which the current frame target image has an abnormal state, the current frame target image and its corresponding state identification signal are sent to the local processing unit, and in the case in which the current frame target image has no abnormality, the state identification signal corresponding to the current frame target image is sent to the local processing unit;

[0037] The local processing unit is used to perform corresponding processing on the current frame target image according to the state identification signal; or the local processing unit performs corresponding processing on the historical target image according to the state identification signal.

[0038] On the other hand, the present invention further provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the monitoring video processing method as described in any one of the above items are implemented.

[0039] According to the monitoring video processing method provided by the present invention, the collected monitoring video is sent to an edge processing unit; the edge processing unit captures the monitoring video, obtains the current frame target image of the monitoring video, performs state detection on the current frame target image, obtains the state information of the current frame target image, and generates a state identification signal for characterizing the state information of the current frame target image, wherein the state information of the current frame target image includes a state in which the current frame target image has no abnormality and a state in which the current frame target image has an abnormality; in the case that the current frame target image has an abnormal state, the current frame target image and its corresponding state identification signal are sent to a local processing unit, and in the case that the current frame target image has no abnormality, the state identification signal corresponding to the current frame target image is sent to the local processing unit; the local processing unit performs corresponding processing on the current frame target image according to the state identification signal; or the local processing unit performs corresponding processing on the historical target image according to the state identification signal. It can be seen that according to the method of the present application, when there is no abnormality in the monitoring video, the amount of data transmitted is reduced, the data transmission pressure of the communication link is alleviated, and it is ensured that in the event of an abnormal state, the abnormal information can be sent to the local processing unit in a timely manner, so that the local processing unit can obtain the existence of the abnormal state in a timely manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A schematic diagram of the structure of a monitoring video processing device in a hardware operating environment involved in an embodiment of the present invention;

[0041] Figure 2 One of the flow charts of the monitoring video processing method provided by an embodiment of the present invention;

[0042] Figure 3 A second flow chart of the monitoring video processing method provided by an embodiment of the present invention;

[0043] Figure 4 A schematic diagram of the structure of a monitoring video processing system is provided for an embodiment of the present invention.

[0044] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0045] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0046] Reference Figure 1 , Figure 1 The present invention is a schematic diagram of the structure of a monitoring video processing device in a hardware operating environment according to an embodiment of the present invention.

[0047] like Figure 1 As shown, the monitoring video processing device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0048] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the monitoring video processing device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0049] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module and a monitoring video processing program.

[0050] exist Figure 1 In the monitoring video processing device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the monitoring video processing device of the present invention can be set in the monitoring video processing device, and the monitoring video processing device calls the monitoring video processing program stored in the memory 1005 through the processor 1001, and executes the monitoring video processing method provided by the embodiment of the present invention.

[0051] With the development of communication technology and deep learning technology, intelligent monitoring systems have been applied in various scenarios. By monitoring or detecting anomalies in the monitoring area through a remote monitoring system, labor costs can be saved and the purpose of remote office can be achieved. Therefore, it is generally necessary to send the monitoring video collected at the monitoring site to a remote local processing unit.

[0052] In the related art, although the collected surveillance video is pre-transmission optimized in the edge processing unit close to the surveillance video acquisition source, and then sent to the local processing unit through wireless communication technology. The existing edge processing unit usually starts with the optimization of wireless surveillance video transmission from the perspective of video compression, using the characteristics of the surveillance video and using a video encoding and decoding algorithm with a high compression rate to reduce the amount of video encoding data. Although this method reduces the amount of transmission data of the surveillance video, it still belongs to the traditional communication optimization strategy and cannot break through the Shannon limit. Therefore, it has limited effect in reducing the data transmission pressure of the communication link and improving the data transmission efficiency.

[0053] In order to overcome the defects in the existing technology, the present application provides a monitoring video processing method, in which an edge processing unit performs a state detection on the current frame target image of the monitoring video, and generates a state identification signal for characterizing the state information of the current frame target image, and then, according to the needs of video monitoring, when the current frame target image is in an abnormal state, the current frame target image and its corresponding state identification signal are sent to the local processing unit to facilitate the local processing unit to timely monitor the abnormal state and process it; when the current frame target image is in a normal state, there is no need to transmit the corresponding monitoring video information, and the state identification signal corresponding to the current frame target image is sent to the local processing unit. In this way, when the monitoring video is in a normal state, the amount of transmitted data is reduced, the data transmission pressure of the communication link is alleviated, and it is ensured that the abnormal information can be sent to the local processing unit in a timely manner when an abnormal state exists, so that the local processing unit can obtain the situation of the abnormal state in a timely manner.

[0054] The embodiment of the present invention provides a monitoring video processing method, referring to Figure 2 , Figure 2 This is one of the flow charts of the monitoring video processing method provided in an embodiment of the present invention.

[0055] In this embodiment, the monitoring video processing method includes:

[0056] Step S201: Send the collected surveillance video to the edge processing unit.

[0057] For example, a video acquisition unit (such as a camera) sends the acquired surveillance video of the monitoring area to an edge processing unit close to the video acquisition unit in real time, thereby reducing the transmission distance of the surveillance video and avoiding signal loss and occupation of communication resources.

[0058] Step S202, the edge processing unit captures the surveillance video, obtains the current frame target image of the surveillance video, performs state detection on the current frame target image, obtains the state information of the current frame target image, and generates a state identification signal for characterizing the state information of the current frame target image, wherein the state information of the current frame target image includes a state in which the current frame target image has no abnormality and a state in which the current frame target image has an abnormality; when the current frame target image has an abnormal state, the current frame target image and its corresponding state identification signal are sent to the local processing unit, and when the current frame target image has no abnormal state, the state identification signal corresponding to the current frame target image is sent to the local processing unit.

[0059] For the received continuous surveillance video, the edge processing unit first captures the surveillance video to obtain a current frame target image of the surveillance video.

[0060] In one embodiment, when the frequency or probability of abnormal conditions in the monitoring scene is high, a continuous capture strategy can be used to capture the current frame target image from the monitoring video. Specifically, each frame of the monitoring video is continuously captured to obtain the current frame target image of the monitoring video. In this way, the status of each frame image of the monitoring video can be detected to avoid missing abnormal conditions.

[0061] In one embodiment, when the frequency or probability of abnormal conditions in the monitoring scene is small, an interval capture strategy can be used to capture the current frame target image from the monitoring video. Specifically, the monitoring video is captured at intervals at a preset capture rate to obtain the current frame target image of the monitoring video. This reduces the captured current frame target image, and correspondingly reduces the processing pressure of the edge processing unit on the current frame target image, thereby improving the processing efficiency of the current frame target image.

[0062] In one embodiment, a deep learning method may be used to perform state detection on the current frame target image to obtain state information of the current frame target image. For example, a state detection model may be used to perform state detection on each current frame target image, and the captured current frame target image may be input into the trained state detection model to obtain the state information of the current frame target image.

[0063] Specifically, an initial state detection model may be constructed first, model parameters of the state detection model may be trained using historical data, and the trained state detection model may be used to perform state detection on the target image of the current frame.

[0064] Among them, a large number of historical images can be collected first, and the state information in the historical images can be manually annotated, that is, normal state historical images and abnormal state historical images can be obtained, so as to obtain a training set for training the initial state detection model, and through multiple iterations of training, it is determined that the model parameters of the trained state detection model converge, and the performance of the trained state detection model is tested by the test set to meet the requirements, that is, a trained state detection model is obtained. Among them, the specific training process of the state detection model is not repeated in this embodiment.

[0065] In this embodiment, the state information of the current frame target image includes the current frame target image without abnormal state and the current frame target image with abnormal state. After obtaining the state information of the current frame target image, a state identification signal for characterizing the state information of the current frame target image is generated. The state information of the current frame target image can be determined according to the state identification signal, and the state detection of the current frame target image is no longer required. Through this method, continuous surveillance video can be converted into the current frame target image and the corresponding state identification signal.

[0066] In one embodiment, when the current frame target image is in an abnormal state, the current frame target image and its corresponding state identification signal are sent to a local processing unit, so that the local processing unit can promptly receive the current frame target image with the abnormal state, and according to the state identification signal, it can be determined that the current frame target image is in an abnormal state without performing state detection on the current frame target image, and the current frame target image can be played in a timely manner and an alarm message can be issued to prompt the staff to handle it in a timely manner.

[0067] In one embodiment, when the current frame target image is in a normal state, the state identification signal corresponding to the current frame target image is sent to the local processing unit; since the current frame target image is in a normal state, it is not necessary to transmit the current frame target image in a normal state every time, so that when the monitoring video is normal, the amount of data transmitted is reduced, and the data transmission pressure of the communication link is reduced. This is equivalent to the data link being basically in an idle state, ensuring that the abnormal information can be sent to the local processing unit in a timely manner when an abnormal state exists, so that the local processing unit can obtain the abnormal state in a timely manner.

[0068] In one embodiment, when the status information of the current frame target image indicates that an abnormal state exists, at least one adjacent frame image of the current frame target image is obtained, and the current frame target image, the adjacent frame images, and the status identification signal corresponding to the current frame target image are sent to a local processing unit. For example, when the status information of the current frame target image indicates that an abnormal state exists, the 10 adjacent frame images before and the 10 adjacent frames after the current frame target image are obtained, and the current frame target image, the 10 adjacent frame images before and the 10 adjacent frames after the current frame target image are sent to a local processing unit. In this way, the local processing unit can quickly determine that an abnormal situation exists in the current frame target image based on the status identification signal, and then perform comparative analysis based on the adjacent frame images of the current frame target image to better determine the abnormal situation stored in the surveillance video.

[0069] In one embodiment, when the status information of the current frame target image indicates that an abnormal state exists, a surveillance video of a preset duration including the current frame target image is obtained, and the surveillance video of the preset duration and the status identification signal corresponding to the current frame target image are sent to the local processing unit. For example, a surveillance video of 10 seconds including the current frame target image is obtained and sent to the local processing unit. The local processing unit can quickly determine that the received surveillance video has an abnormal situation based on the status identification signal, and then analyze the surveillance video to determine the abnormal situation stored in the surveillance video.

[0070] When the monitoring video of the preset duration is sent to the local processing unit, the monitoring video may be compressed first to reduce the amount of transmitted data.

[0071] In one embodiment, the capture rate may be adaptively adjusted according to the situation where the detected current frame target image has different state information, so as to increase or decrease the number of the current frame target images captured from the monitoring video.

[0072] In one embodiment, the number of current frame target images detected without abnormality within a preset time length is obtained. If the number of current frame target images detected without abnormality within the preset time length is greater than a preset threshold or the current frame target images with abnormality are not detected within the preset time length, the capture rate is reduced. If the number of current frame target images detected without abnormality within the preset time length is greater than a preset threshold or the current frame target images with abnormality are not detected within the preset time length, it means that the current surveillance video is basically in a normal state, and the capture rate can be reduced to reduce the number of current frame target images captured from the surveillance video, reduce the processing pressure of the current frame target images of the edge processing unit, and improve the image processing efficiency.

[0073] In one embodiment, the number of current frame target images detected in abnormal state within a preset time length is obtained, and if the number of current frame target images detected in abnormal state within the preset time length is greater than a preset threshold or the current frame target image without abnormal state is not detected within the preset time length, the capture rate is increased. If the number of current frame target images detected in abnormal state within the preset time length is greater than a preset threshold or the current frame target image without abnormal state is not detected within the preset time length, it means that the probability of abnormal state in the current monitoring video is high, and more current frame target images should be captured for detection to avoid missing abnormal conditions.

[0074] In one embodiment, if a current frame target image without an abnormal state is not detected within a preset time length, that is, a current frame target image with an abnormal state is continuously detected, it means that there is a high probability that the current surveillance video has an abnormal state, and each frame of the surveillance video is continuously captured, and a state detection is performed on each captured current frame target image to avoid missing abnormal situations.

[0075] In one embodiment, the edge processing unit may also adjust the capture rate according to busy hours or idle hours, for example, increasing the capture rate during busy hours during the daytime working period and reducing the capture rate during idle hours during the night non-working period.

[0076] Generally, when the status information of the current frame target image is a normal state, the edge processing unit does not need to send the current frame target image without abnormal state to the local processing unit every time. The edge processing unit can first cache the current frame target image without abnormal state, and after caching a certain amount, uniformly package them and send them uniformly during idle time. This can also reduce the output transmission pressure of the communication link.

[0077] In one embodiment, when the status information of the target image of the current frame is normal, the target image of the current frame is stored in a cache, and when the number of target images in the cache reaches a threshold or after the target image is cached for a preset period of time, the target image in the cache is sent to the local processing unit.

[0078] In one embodiment, if the number of current frame target images without abnormal conditions detected within a preset time period is greater than a preset threshold or the current frame target images with abnormal conditions are not detected within a preset time length, the target images in the cache are screened and some target images are filtered out. When the number of target images remaining in the cache reaches a threshold or after the target images are cached for a preset time length, the target images in the cache are sent to the local processing unit.

[0079] In one embodiment, when the target images in the cache are screened and some target images are filtered out, filtering may be performed according to the quality of each target image, for example, target images with poor definition are filtered out and target images with high definition are retained.

[0080] Figure 3 For the second flow chart of the monitoring video processing method provided by the embodiment of the present invention, please refer to Figure 3 As shown, in one embodiment, when the status information of the current frame target image is in a normal state, when the current frame target image is stored in the cache, it is first determined whether the current frame target image needs to be stored in the cache. If the quality of the current frame target image is worse than the quality of the image historically stored in the cache, the current frame target image is discarded. If the quality of the current frame target image is better than the quality of the image historically stored in the cache, the current frame target image is used to replace the historical target image stored in the cache, thereby ensuring that the target image in the cache has a high quality.

[0081] Step S203: the local processing unit performs corresponding processing on the current frame target image according to the state identification signal; or the local processing unit performs corresponding processing on the historical target image according to the state identification signal.

[0082] In one embodiment, when the state information of the current frame target image represented by the state identification signal indicates that there is an abnormal state, the current frame target image is displayed and an alarm message is issued to remind the staff to handle it in time. The issuance of the alarm message can be in various forms, such as displaying the alarm message on a display screen, pushing the alarm message to a security guard, or issuing an alarm sound.

[0083] In one embodiment, when the status information of the current frame target image represented by the status identification signal indicates that an abnormal state exists, the current frame target image and adjacent frame images of the current frame target image are displayed, and an alarm message is issued.

[0084] In one embodiment, video fitting processing is performed on the current frame target image and adjacent frame images of the current frame target image to obtain an abnormal video, play the abnormal video and issue an alarm message.

[0085] In one embodiment, when the status information of the target image of the current frame represented by the status identification signal indicates that an abnormal state exists, the monitoring video of the preset duration is played and an alarm message is issued.

[0086] In one embodiment, when the status information of the current frame target image represented by the status identification signal indicates that an abnormal state exists, the current frame target image or the surveillance video with the abnormal state is enhanced, for example, the resolution or clarity of the current frame target image or the surveillance video with the abnormal state is increased to make the image clearer and facilitate identification of the abnormal state information.

[0087] In one embodiment, when the state information of the current frame target image represented by the state identification signal is a normal state, the historical target image is subjected to video fitting processing to obtain a normal video. For example, at the current moment, the local processing unit receives a state identification signal sent by the edge processing unit indicating that the current frame target image is in a normal state, then the local processing unit can perform video fitting based on the current frame target image in a normal state sent last time, that is, obtain a normal video based on fitting of multiple current frame target images in a normal state, and then play the normal video.

[0088] In one embodiment, the local processing unit also determines whether to enhance the displayed current frame target image or video based on the processor occupancy rate or busy / idle periods. For example, when the processor occupancy rate is low and the processor is idle, the resolution of the displayed video or image can be enhanced to improve the quality of the displayed video or image.

[0089] In one embodiment, when performing video fitting on multiple current frame target images without abnormal conditions or current frame target images with abnormal conditions, a video fitting model can be used for implementation. For example, an initial video fitting model is designed, and then trained with historical images to obtain a trained video fitting model, and then the trained video fitting model is deployed, and multiple current frame target images without abnormal conditions or current frame target images with abnormal conditions are input into the trained video fitting model to obtain a fitted video.

[0090] In one embodiment, before the above step S201, the monitoring video processing method further includes collecting monitoring video of the monitoring area.

[0091] Generally, a camera may be used to collect surveillance video of a surveillance area.

[0092] The monitoring video processing system provided by the present invention is described below. The monitoring video processing system described below and the monitoring video processing method described above can be referenced to each other.

[0093] Figure 4 The present invention provides a schematic diagram of the structure of the monitoring video processing system. Figure 4 As shown, the monitoring video processing system includes:

[0094] The data transmission unit 401 is used to send the collected surveillance video to the edge processing unit;

[0095] The edge processing unit 402 is used to capture the surveillance video, obtain the current frame target image of the surveillance video, perform state detection on the current frame target image, obtain the state information of the current frame target image, and generate a state identification signal for characterizing the state information of the current frame target image, wherein the state information of the current frame target image includes a state in which the current frame target image has no abnormality and a state in which the current frame target image has an abnormality; in the case that the current frame target image has an abnormal state, the current frame target image and its corresponding state identification signal are sent to the local processing unit; in the case that the current frame target image has no abnormal state, the state identification signal corresponding to the current frame target image is sent to the local processing unit;

[0096] The local processing unit 403 is used to perform corresponding processing on the current frame target image according to the state identification signal; or the local processing unit performs corresponding processing on the historical target image according to the state identification signal.

[0097] In one embodiment, the edge processing unit 402 is specifically configured to:

[0098] Continuously capture each frame of the surveillance video to obtain a target image of a current frame of the surveillance video; or

[0099] The monitoring video is captured at intervals using a preset capture rate to obtain a current frame target image of the monitoring video.

[0100] In one embodiment, the edge processing unit 402 is specifically configured to:

[0101] Obtaining the number of current frame target images without abnormal conditions detected within a preset time length, if the number of current frame target images without abnormal conditions detected within the preset time length is greater than a preset threshold or no current frame target images with abnormal conditions are detected within the preset time length, reducing the capture rate;

[0102] In one embodiment, the edge processing unit 402 is specifically configured to:

[0103] Obtaining the number of current frame target images with abnormal states detected within a preset time length, if the number of current frame target images with abnormal states detected within the preset time length is greater than a preset threshold or no current frame target images without abnormal states are detected within the preset time length, increasing the capture rate;

[0104] In one embodiment, the edge processing unit 402 is specifically configured to: if a current frame target image without abnormal state is not detected within a preset time period, continuously capture each frame of the surveillance video.

[0105] In one embodiment, the edge processing unit 402 is specifically configured to:

[0106] When the status information of the target image of the current frame is normal, the target image of the current frame is stored in the cache. When the number of target images in the cache reaches a threshold or after the target image is cached for a preset period of time, the target image in the cache is sent to the local processing unit.

[0107] In one embodiment, the edge processing unit 402 is specifically configured to:

[0108] If the number of current frame target images without abnormal conditions detected within a preset time period is greater than a preset threshold or no current frame target images with abnormal conditions are detected within a preset time length, the target images in the cache are screened and some target images are filtered out. When the number of target images remaining in the cache reaches a threshold or after the target images have been cached for a preset time length, the target images in the cache are sent to the local processing unit.

[0109] In one embodiment, the edge processing unit 402 is specifically configured to:

[0110] When the state information of the current frame target image indicates that an abnormal state exists, obtaining at least one adjacent frame image of the current frame target image, and sending the current frame target image, the adjacent frame image, and the state identification signal corresponding to the current frame target image to a local processing unit;

[0111] In one embodiment, the edge processing unit 402 is specifically configured to:

[0112] When the status information of the current frame target image indicates that an abnormal state exists, a surveillance video of a preset length including the current frame target image is obtained, and the surveillance video of the preset length and a status identification signal corresponding to the current frame target image are sent to a local processing unit.

[0113] In one embodiment, the local processing unit 403 is specifically configured to:

[0114] When the state information of the target image of the current frame represented by the state identification signal is a normal state, video fitting processing is performed on the historical target image to obtain a normal video.

[0115] In one embodiment, the local processing unit 403 is specifically configured to:

[0116] When the status information of the current frame target image represented by the status identification signal indicates that an abnormal state exists, the current frame target image is displayed and an alarm message is issued.

[0117] In one embodiment, the local processing unit 403 is specifically configured to:

[0118] When the state information of the current frame target image represented by the state identification signal indicates that an abnormal state exists, displaying the current frame target image and adjacent frame images of the current frame target image, and issuing an alarm message;

[0119] In one embodiment, the local processing unit 403 is specifically configured to:

[0120] Perform video fitting processing on the current frame target image and adjacent frame images of the current frame target image to obtain an abnormal video, play the abnormal video and issue an alarm message; or play the monitoring video of the preset length and issue an alarm message.

[0121] This embodiment provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the monitoring video processing method described above are implemented.

[0122] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0123] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0124] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0125] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A monitoring video processing method, characterized in that: include: Send the collected surveillance video to the edge processing unit; The edge processing unit captures the surveillance video, obtains the current frame target image of the surveillance video, performs state detection on the current frame target image, obtains state information of the current frame target image, and generates a state identification signal for characterizing the state information of the current frame target image, wherein the state information of the current frame target image includes a state in which the current frame target image has no abnormality and a state in which the current frame target image has an abnormality; in the case that the current frame target image has an abnormal state, the current frame target image and its corresponding state identification signal are sent to the local processing unit, and in the case that the current frame target image has no abnormality, the state identification signal corresponding to the current frame target image is sent to the local processing unit; The local processing unit performs corresponding processing on the current frame target image according to the state identification signal; or the local processing unit performs corresponding processing on the historical target image according to the state identification signal.

2. The monitoring video processing method according to claim 1, characterized in that: The capturing of the surveillance video to obtain a current frame target image of the surveillance video includes: Continuously capture each frame of the surveillance video to obtain a target image of a current frame of the surveillance video; or The monitoring video is captured at intervals using a preset capture rate to obtain a current frame target image of the monitoring video.

3. The monitoring video processing method according to claim 2, characterized in that: Also includes: Obtaining the number of current frame target images without abnormal conditions detected within a preset time length, if the number of current frame target images without abnormal conditions detected within the preset time length is greater than a preset threshold or no current frame target images with abnormal conditions are detected within the preset time length, reducing the capture rate; or Obtaining the number of current frame target images with abnormal conditions detected within a preset time length, and if the number of current frame target images with abnormal conditions detected within the preset time length is greater than a preset threshold or no current frame target images without abnormal conditions are detected within the preset time length, increasing the capture rate; or If the current frame target image without abnormal state is not detected within the preset time length, each frame of the monitoring video is continuously captured.

4. The monitoring video processing method according to any one of claims 1 to 3, characterized in that: Also includes: When the status information of the target image of the current frame is normal, the target image of the current frame is stored in the cache. When the number of target images in the cache reaches a threshold or after the target image is cached for a preset period of time, the target image in the cache is sent to the local processing unit.

5. The monitoring video processing method according to any one of claims 4, characterized in that: Also includes: If the number of current frame target images without abnormal conditions detected within a preset time period is greater than a preset threshold or no current frame target images with abnormal conditions are detected within a preset time length, the target images in the cache are screened and some target images are filtered out. When the number of target images remaining in the cache reaches a threshold or after the target images have been cached for a preset time length, the target images in the cache are sent to the local processing unit.

6. The monitoring video processing method according to any one of claims 1 to 4, characterized in that: The corresponding processing of the historical target image according to the state identification signal includes: When the state information of the target image of the current frame represented by the state identification signal is a normal state, video fitting processing is performed on the historical target image to obtain a normal video.

7. The monitoring video processing method according to any one of claims 1 to 4, characterized in that: Also includes: When the state information of the current frame target image indicates that an abnormal state exists, obtaining at least one adjacent frame image of the current frame target image, and sending the state identification signals corresponding to the current frame target image, the adjacent frame images, and the current frame target image to a local processing unit; or When the status information of the current frame target image indicates that an abnormal state exists, a surveillance video of a preset length including the current frame target image is obtained, and the surveillance video of the preset length and a status identification signal corresponding to the current frame target image are sent to a local processing unit.

8. The monitoring video processing method according to any one of claims 1 to 4, characterized in that: Also includes: When the status information of the current frame target image represented by the status identification signal indicates that an abnormal state exists, the current frame target image is displayed and an alarm message is issued.

9. A monitoring video processing system, characterized in that: include: A data transmission unit, used to send the collected surveillance video to the edge processing unit; an edge processing unit, for capturing the surveillance video, acquiring a current frame target image of the surveillance video, performing state detection on the current frame target image, obtaining state information of the current frame target image, and generating a state identification signal for characterizing the state information of the current frame target image, wherein the state information of the current frame target image includes a state in which the current frame target image has no abnormality and a state in which the current frame target image has an abnormality; in the case in which the current frame target image has an abnormal state, the current frame target image and its corresponding state identification signal are sent to the local processing unit, and in the case in which the current frame target image has no abnormality, the state identification signal corresponding to the current frame target image is sent to the local processing unit; The local processing unit is used to perform corresponding processing on the current frame target image according to the state identification signal; or the local processing unit performs corresponding processing on the historical target image according to the state identification signal.

10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the monitoring video processing method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Method and equipment for identifying abnormal live broadcasting information in live video broadcasting

    CN107517391A

  • Security and protection video monitoring system based on cloud edge cooperative computing and implementation method thereof

    CN111698470A

  • Video monitoring shunting method and system, and computer readable storage medium

    CN112261353A

  • Edge calculation method and system for elevator car passenger abnormal event detection

    CN116863376A