Multi-channel video intelligent fusion display method, device, electronic equipment and storage device

By acquiring multi-channel video data and performing abnormal monitoring and analysis, and combining priority weights for information transmission and display, the problem of insufficient support for multi-channel video processing in the existing technology is solved, and collaborative processing of multi-channel video data and alarm screen effects are achieved. promote.

CN117319580BActive Publication Date: 2024-09-06TSINGHUA SHENZHEN INTERNATIONAL GRADUATE SCHOOL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311029356.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-15
Publication Date
2024-09-06
Estimated Expiration
2043-08-15

AI Technical Summary

Technical Problem

Existing intelligent monitoring systems have little support for multi-channel video processing, resulting in high resource consumption, lack of effective collaboration, and poor alarm screen display effects.

Method used

By acquiring multi-channel video data, we perform abnormal monitoring and analysis based on the deployment and control plan selected by the user, generate detection probability, alarm fusion picture and alarm information, and conduct information transmission and display based on priority weight to achieve the fusion display of multi-channel video data, using The push mechanism and session resource queue optimize resource utilization.

Benefits of technology

It realizes collaborative processing between multiple channels of video data, reduces resource consumption, and improves the display effect of alarm screens.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117319580B
    Figure CN117319580B
Patent Text Reader

Abstract

The present invention provides a method, device, electronic device and storage medium for intelligent fusion display of multiple videos. The method comprises: acquiring video data respectively shot by at least one camera; performing abnormal monitoring analysis on multiple video data corresponding to at least one camera respectively based on the type of abnormal monitoring, and obtaining at least one abnormal monitoring analysis result; the abnormal monitoring analysis result comprises a detection probability of at least one monitoring target, an alarm fusion picture and alarm information; based on the detection probability of each monitoring target, each alarm fusion picture, each alarm information and the priority weight corresponding to each abnormal monitoring event, each alarm information and each alarm fusion picture are transmitted to a client, and the client is used to perform fusion display of each alarm fusion picture based on each alarm information, thereby realizing the fusion display of multiple video data, the multiple video data do not interfere with each other, cooperate with each other, consume less resources, and at the same time, improve the display effect of the alarm fusion picture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device, electronic equipment and storage device for intelligent fusion display of multiple videos. Background Art

[0002] Intelligent real-time monitoring and anomaly recognition is an important technical application direction in the field of computer graphics. The main task is to use image processing technology to identify anomalies in monitoring data and perform early warning processing. The task system design needs to meet two important indicators: real-time and accuracy.

[0003] The real-time anomaly monitoring system used in industrial scenarios is generally organized and implemented by dividing the system into three modules: video encoding and decoding, frame image intelligent analysis, and image post-processing. The monitoring system uses a host equipped with a graphics processing unit (GPU) or a customized field programmable gate array (FPGA) as the hardware basis of the system. It obtains real-time images from surveillance cameras through wired connections or wireless communication protocols, and uses audio and video processing technology to decode the images. It uses computer vision processing technology to analyze abnormal points in the images, or identifies the required targets in the images, and finally aggregates the results to provide user feedback. This is a common design idea in current real-time monitoring systems and is widely used in urban transportation, industrial production, and intelligent security.

[0004] However, existing intelligent monitoring systems have little support for multi-channel video processing. Generally, they are implemented in a multi-opening manner, that is, multiple system processes are started at the same time, and multiple system processes are used to process each video separately. The multi-channel video processing is relatively fragmented, lacks effective coordination, and consumes a lot of resources, resulting in poor alarm screen display effect. Summary of the invention

[0005] The present invention provides a multi-channel video intelligent fusion display method, device, electronic equipment and storage device, which are used to solve the problems in the prior art that multi-channel video processing is relatively segmented, lacks effective coordination, consumes a lot of resources, and leads to poor alarm screen display effect.

[0006] The present invention provides a multi-channel video intelligent fusion display method, comprising:

[0007] Acquire video data captured by at least one camera; the camera is determined based on a control scheme selected by a user on a client, the control scheme including a camera identifier and a type of abnormality monitoring;

[0008] Based on the type of abnormal monitoring, performing abnormal monitoring analysis on the multiple video data corresponding to the at least one camera respectively to obtain at least one abnormal monitoring analysis result; the abnormal monitoring analysis result includes a detection probability of at least one monitoring target, an alarm fusion picture and alarm information, the alarm fusion picture is obtained based on the identification frame of each monitoring target and the video data corresponding to each monitoring target, the abnormal monitoring analysis result corresponds to an abnormal monitoring event, and the alarm information includes a camera identification and alarm content;

[0009] Based on the detection probability of each of the monitoring targets, each of the alarm fusion screens, each of the alarm information and the priority weight corresponding to each of the abnormal monitoring events, each of the alarm information and each of the alarm fusion screens are transmitted to the client, and the client is used to integrate and display each of the alarm fusion screens based on the alarm information.

[0010] According to a multi-channel video intelligent fusion display method provided by the present invention, based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and each abnormal monitoring event corresponding to the priority weight, each alarm information and each alarm fusion screen are transmitted to the client, including:

[0011] Based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, determine the target alarm information and the target alarm fusion screen for streaming;

[0012] The target warning information and the target warning fusion image are transmitted to the client.

[0013] According to a multi-channel video intelligent fusion display method provided by the present invention, the target alarm information and the target alarm fusion screen for streaming are determined based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, including:

[0014] Based on the detection probability of each monitoring target, each alarm information and the priority weight corresponding to each abnormal monitoring event, respectively calculate the confidence score corresponding to the camera of the camera identifier included in each alarm information;

[0015] Determining a maximum confidence score based on the confidence scores corresponding to the cameras;

[0016] The alarm information and the alarm fusion picture of the camera corresponding to the maximum confidence score are respectively determined as the target alarm information and the target alarm fusion picture for streaming.

[0017] According to a multi-channel video intelligent fusion display method provided by the present invention, the target alarm information and the target alarm fusion picture are transmitted to the client, including:

[0018] Determine whether there is an idle streaming port; the streaming port is based on a predefined setting;

[0019] In the case where there is an idle streaming port, a new streaming session is created, the new streaming session is added to a session resource queue, and the target alarm information and the target alarm fusion screen are transmitted to the client through the idle streaming port using the new streaming session; the session resource queue includes at least one historical streaming session;

[0020] When there is no idle streaming port, each of the historical streaming sessions in the session resource queue is removed from the earliest historical streaming session according to the first-in-first-out principle, and the target alarm information and the target alarm fusion screen are transmitted to the client using the streaming port corresponding to the earliest historical streaming session.

[0021] According to a multi-channel video intelligent fusion display method provided by the present invention, the method also includes:

[0022] A cooling time is pre-set; the cooling time is used to control the transmission of the target warning information and the target warning fusion picture corresponding to each of the cameras;

[0023] Record the camera ID of the target alarm fusion image transmitted by the streaming port corresponding to each streaming session;

[0024] The target warning information and the target warning fusion image corresponding to each of the camera identifiers within the cooling time range are discarded.

[0025] According to a multi-channel video intelligent fusion display method provided by the present invention, before obtaining video data respectively shot by at least one camera, the method further includes:

[0026] Acquire control information sent by the client; the control information includes each camera identifier and at least one anomaly monitoring model identifier; the anomaly monitoring model identifier is used to identify the anomaly monitoring model; the anomaly monitoring model is trained based on training samples and label data; there is a corresponding relationship between the anomaly monitoring model identifier and the type of anomaly monitoring.

[0027] According to a multi-channel video intelligent fusion display method provided by the present invention, based on the type of abnormal monitoring, performing abnormal monitoring analysis on the multi-channel video data corresponding to the at least one camera respectively to obtain at least one abnormal monitoring analysis result, including:

[0028] Based on the type of the abnormality monitoring, generating a configuration file corresponding to the type of the abnormality monitoring; the configuration file is used to instantiate any one of the multiple video data;

[0029] Based on the configuration file, the video data corresponding to the camera identified by each camera is respectively input into the abnormality monitoring model corresponding to each abnormality monitoring model identifier, and the detection probability of at least one monitoring target outputted by each abnormality monitoring model is obtained;

[0030] Fusing the identification frames of the monitoring targets and the video data corresponding to the monitoring targets to obtain an alarm fusion screen;

[0031] Based on the alarm fusion picture, alarm information is generated.

[0032] The present invention also provides a multi-channel video intelligent fusion display device, comprising:

[0033] A first acquisition module is used to acquire video data captured by at least one camera; the camera is determined based on a control scheme selected by a user on the client, and the control scheme includes a camera identification and a type of abnormality monitoring;

[0034] An analysis module is used to perform abnormal monitoring analysis on the multiple video data corresponding to the at least one camera respectively based on the type of abnormal monitoring, and obtain at least one abnormal monitoring analysis result; the abnormal monitoring analysis result includes a detection probability of at least one monitoring target, an alarm fusion picture and alarm information, the alarm fusion picture is obtained based on the identification frame of each monitoring target and the video data corresponding to each monitoring target, the abnormal monitoring analysis result corresponds to an abnormal monitoring event, and the alarm information includes a camera identification and alarm content;

[0035] A display module is used to transmit each alarm information and each alarm fusion screen to the client based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event. The client is used to integrate and display each alarm fusion screen based on each alarm information.

[0036] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the multi-channel video intelligent fusion display method as described in any one of the above methods is implemented.

[0037] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the multi-channel video intelligent fusion display method as described in any one of the above methods is implemented.

[0038] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the multi-channel video intelligent fusion display methods described above.

[0039] The method, device, electronic device and storage medium for intelligent fusion display of multiple videos provided by the present invention obtain video data respectively shot by at least one camera; the camera is determined based on the deployment plan selected by the user on the client, and the deployment plan includes a camera identification and the type of abnormal monitoring; based on the type of abnormal monitoring, abnormal monitoring analysis is performed on the multiple video data corresponding to the at least one camera respectively to obtain at least one abnormal monitoring analysis result; the abnormal monitoring analysis result includes the detection probability of at least one monitoring target, an alarm fusion screen and alarm information, the alarm fusion screen is obtained based on the identification frame of each monitoring target and the video data corresponding to each monitoring target, the abnormal monitoring analysis result corresponds to an abnormal monitoring event, and the alarm information includes the camera identification and the alarm content; based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, each alarm information and each alarm fusion screen is transmitted to the client, and the client is used to perform fusion display of each alarm fusion screen based on each alarm information. Users can select the control scheme according to the actual application scenario, and adaptively perform abnormal monitoring and analysis on multiple video data according to the control scheme. Based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, each alarm information and each alarm fusion screen are transmitted to the client, so that the client can display the alarm fusion screen in a fusion manner based on each alarm information, realizing the fusion display of multiple video data. The multiple video data do not interfere with each other, but cooperate with each other, with less resource consumption, and at the same time improve the display effect of the alarm fusion screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 It is a structural schematic diagram of the multi-channel video intelligent fusion display system provided by the present invention;

[0042] Figure 2 This is one of the flow charts of the multi-channel video intelligent fusion display method provided by the present invention;

[0043] Figure 3 It is a schematic diagram of the control scheme provided by the present invention;

[0044] Figure 4 It is a schematic diagram of the process of real-time monitoring, analysis and processing of single-channel video data provided by the present invention;

[0045] Figure 5 It is a schematic diagram of information interaction between an edge device and a client provided by the present invention;

[0046] Figure 6 is a schematic diagram of the adaptive streaming process provided by the present invention;

[0047] Figure 7 is a schematic diagram of the fusion display area provided by the present invention;

[0048] Figure 8 This is the second flow chart of the multi-channel video intelligent fusion display method provided by the present invention;

[0049] Fig. 9 It is a structural schematic diagram of a multi-channel video intelligent fusion display device provided by the present invention;

[0050] Fig.10 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] In order to more clearly describe the various embodiments of the present application, relevant background knowledge is first introduced.

[0053] With the continuous development of deep learning technology, many intelligent analysis algorithms have emerged in the field of computer vision. Through deep neural networks, rich image features are extracted, and algorithms are designed using classification algorithm ideas to identify multi-feature information in images, thereby achieving the effect of target detection. Taking the YOLO series of algorithms as an example, they are widely used in real-time monitoring systems. The high computational efficiency and high accuracy of deep learning algorithms have continuously improved the quality of monitoring systems. Existing monitoring systems are also constantly integrating intelligent analysis algorithms based on deep learning.

[0054] The existing monitoring system has the following disadvantages:

[0055] (1) Single architecture and unreasonable distribution of computing power. Traditional intelligent monitoring systems tightly couple video analysis processing with the client visual module and use the client's own computing power to complete real-time video processing. This approach requires the use of computing devices equipped with GPUs and requires the client to have sufficient computing power to execute video analysis algorithms. At the same time, due to the limitations of client performance, intelligent monitoring systems are usually unable to use large-scale, high-precision analysis models. In addition, traditional intelligent monitoring systems have other problems. For example, the transmission of video streams may be limited due to the client's network bandwidth; if the number of clients is large, it will become more difficult to manage and maintain the system; because all video data is stored on the client, system security will also be threatened; if the client's algorithm or software version is to be updated, each client needs to be updated separately.

[0056] (2) Lack of multi-channel coordination mechanism

[0057] Existing intelligent monitoring systems have little support for multi-channel video processing. They generally process multi-channel videos by multi-opening, that is, starting multiple system processes at the same time. Multi-channel processing is relatively fragmented, lacks effective coordination, and consumes a lot of resources.

[0058] The current mainstream framework makes it difficult to perform real-time intelligent analysis, anomaly detection and streaming of multiple videos on a single edge device (for example, smart gateway, smart edge server, etc.).

[0059] (3) The system achieves large coupling

[0060] The design of traditional intelligent monitoring systems is organized around a single analysis goal. It is difficult to organize the processing of video data into a processing flow in the form of a plug-in. The coupling degree between the three major modules of video encoding, intelligent analysis and image post-processing is high, making the system insufficiently flexible. It is impossible to change the processing function in real time after changing the calculation model, and it is difficult to meet complex application requirements.

[0061] Combine the following Figure 1-Figure 8 The multi-channel video intelligent fusion display method of the present invention is described.

[0062] Figure 1 is a structural diagram of a multi-channel video intelligent fusion display system provided by the present invention, such as Figure 1As shown, the multi-channel video intelligent fusion display system 100 includes at least one camera 101, a router 102, an edge device 103 and a client 104; wherein the camera 101 is connected to the router 102 for collecting video data; the edge device 103 is respectively connected to the router 102 and the client 103, and is used to receive control information sent by the client 104, the control information includes each camera identifier and at least one abnormal monitoring model identifier, and receives multi-channel video data collected by at least one camera 101 through the router 102, and performs abnormal monitoring and analysis on the multi-channel video data, and transmits alarm information and alarm fusion pictures to the client 103 according to the abnormal monitoring and analysis results and the priority weights corresponding to the abnormal monitoring events; the client 103 is used to perform fusion display of each alarm fusion picture based on the alarm information.

[0063] Figure 2 This is one of the flow charts of the multi-channel video intelligent fusion display method provided by the present invention, which is applied to edge devices such as Figure 2 As shown, the method includes steps 201 to 203; wherein,

[0064] Step 201, obtaining video data captured by at least one camera; the camera is determined based on a control scheme selected by a user on the client, and the control scheme includes a camera identification and a type of abnormality monitoring.

[0065] It should be noted that the multi-channel video intelligent fusion display method provided by the present invention can be applicable to the scene of abnormal target monitoring and identification. The execution subject of the method can be a multi-channel video intelligent fusion display device, such as an edge device, or a control module for executing the multi-channel video intelligent fusion display method in the multi-channel video intelligent fusion display device. The edge device can be an intelligent gateway or an intelligent edge server.

[0066] Figure 3 It is a schematic diagram of the control scheme provided by the present invention, such as Figure 3 As shown, the client's deployment screen includes multiple types of abnormal monitoring, multiple optional camera identifiers, and post-selection deployment. For example, the types of abnormal monitoring are fire monitoring, high-altitude object dropping monitoring, safety equipment wearing monitoring, or abnormal pedestrian monitoring; the multiple camera identifiers include camera 1, camera 2, camera 3, camera 4, and camera 5. The user can select one of the abnormal monitoring types and multiple camera identifiers in the client's deployment screen according to the actual application scenario.

[0067] Step 202, based on the type of abnormal monitoring, perform abnormal monitoring analysis on the multiple video data corresponding to the at least one camera, and obtain at least one abnormal monitoring analysis result; the abnormal monitoring analysis result includes the detection probability of at least one monitoring target, an alarm fusion screen and alarm information, the alarm fusion screen is obtained based on the identification box of each monitoring target and the video data corresponding to each monitoring target, the abnormal monitoring analysis result corresponds to an abnormal monitoring event, and the alarm information includes the camera identification and alarm content.

[0068] Specifically, according to the type of abnormal monitoring, abnormal monitoring analysis is performed on multiple video data corresponding to at least one camera, and at least one abnormal monitoring analysis result can be obtained; wherein, the abnormal monitoring analysis result includes the detection probability of at least one monitoring target, an alarm fusion screen and alarm information, the alarm fusion screen is obtained based on the identification frame of each monitoring target and the video data corresponding to each monitoring target, the abnormal monitoring analysis result corresponds to an abnormal monitoring event, and the alarm information includes a camera identification and alarm content, the camera identification is used to identify the camera where the abnormality occurs, and the alarm content indicates a specific alarm, for example, there is a person not wearing a safety helmet, or there is object dropping from a high place.

[0069] Step 203, based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and each priority weight corresponding to the abnormal monitoring event, each alarm information and each alarm fusion screen is transmitted to the client, and the client is used to integrate and display each alarm fusion screen based on each alarm information.

[0070] Specifically, the priority weight corresponding to each abnormal monitoring event is set in different intervals according to the urgency of the abnormal monitoring event. For example, the priority weight corresponding to abnormal monitoring event 1 is 0.1, the priority weight corresponding to abnormal monitoring event 2 is 0.3, and the priority weight corresponding to abnormal monitoring event 3 is 0.6. According to the detection probability of each monitoring target, each alarm fusion screen, each alarm information and each abnormal monitoring event corresponding to the priority weight, each alarm information and each alarm fusion screen can be transmitted to the client, and the client is used to integrate and display each alarm fusion screen based on each alarm information.

[0071] Optionally, the client can also display a normal screen and a historical alarm fusion screen.

[0072] The multi-channel video intelligent fusion display method provided by the present invention obtains video data respectively shot by at least one camera; the camera is determined based on the deployment plan selected by the user on the client, and the deployment plan includes the camera identification and the type of abnormal monitoring; based on the type of abnormal monitoring, the multi-channel video data corresponding to the at least one camera are respectively subjected to abnormal monitoring analysis to obtain at least one abnormal monitoring analysis result; the abnormal monitoring analysis result includes the detection probability of at least one monitoring target, an alarm fusion screen and alarm information, the alarm fusion screen is obtained based on the identification frame of each monitoring target and the video data corresponding to each monitoring target, the abnormal monitoring analysis result corresponds to an abnormal monitoring event, and the alarm information includes the camera identification and the alarm content; based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, each alarm information and each alarm fusion screen are transmitted to the client, and the client is used to perform fusion display of each alarm fusion screen based on each alarm information. Users can select the control scheme according to the actual application scenario, and adaptively perform abnormal monitoring and analysis on multiple video data according to the control scheme. Based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, each alarm information and each alarm fusion screen are transmitted to the client, so that the client can display the alarm fusion screen in a fusion manner based on each alarm information, thus realizing the fusion display of multiple video data. The multiple video data do not interfere with each other, but cooperate with each other, and the resource consumption is small. At the same time, the display effect of the alarm fusion screen is improved.

[0073] Optionally, before obtaining the video data respectively captured by at least one camera, control information sent by the client is obtained; the control information includes each camera identifier and at least one anomaly monitoring model identifier; the anomaly monitoring model identifier is used to identify the anomaly monitoring model; the anomaly monitoring model is trained based on training samples and label data; there is a corresponding relationship between the anomaly monitoring model identifier and the type of anomaly monitoring.

[0074] Specifically, before obtaining the video data shot by at least one camera, after the user selects the control scheme on the client, the multiple cameras used for shooting and the type of abnormal monitoring are determined, and the client converts the control signal into control information, wherein the control information includes each camera identifier and at least one abnormal monitoring model identifier, the camera identifier is used to identify the camera, the abnormal monitoring model identifier is used to identify the abnormal monitoring model, the abnormal monitoring model is trained based on training samples and label data, and there is a corresponding relationship between the abnormal monitoring model identifier and the type of abnormal monitoring. The client sends the control information to the edge device, the edge device obtains the control information sent by the client, and parses the control information to obtain the camera identifier and at least one abnormal monitoring model identifier, and automatically generates the processing flow configuration file for this control in combination with the template configuration file, so as to achieve the processing flow instantiation effect.

[0075] Optionally, a specific implementation of step 202 includes:

[0076] (1) Based on the type of the abnormality monitoring, a configuration file corresponding to the type of the abnormality monitoring is generated; the configuration file is used to instantiate any one of the multiple video data.

[0077] Specifically, based on the type of abnormality monitoring, a configuration file corresponding to the type of abnormality monitoring is generated in combination with the template configuration file; wherein the configuration file is used to instantiate any one of the multiple video data channels, and the template configuration file is a predefined file that can instantiate all types of abnormality monitoring, thereby achieving the effect of processing stream instantiation.

[0078] It should be noted that the factory method design pattern is applied to design the multi-channel processing module, and the single-channel processing module is customized. Users can choose the monitoring function of the corresponding video channel according to the current usage scenario; among them, the intelligent analysis processing flow is designed as a template flow, which can be directly reused. Through the single-channel processing separate configuration method, different configuration files are generated for different control schemes, and the factory class is used to load specific configuration files at runtime to instantiate specific processing flows, so as to achieve the effect of multi-channel processing. The mutual coordination between multi-channel processing is realized by using the observer pattern. The observer class is designed as the interactive control center. After the single-channel processing flow is organized, it is registered in the monitoring table in the observer class. At the same time, the write permission of the alarm information channel is obtained. When the alarm information is detected, the single-channel alarm information is automatically sent to the alarm information channel. At this time, the observation class will send the alarm information to the client, and schedule the video encoding resources for the alarm channel to complete the output of the video screen and complete the function of automatically switching the control screen. Such a collaborative mechanism makes multi-channel processing no longer a multi-open mutually isolated process, and can cooperate with each other.

[0079] (2) Based on the configuration file, the video data corresponding to the camera identified by each camera is respectively input into the anomaly monitoring model corresponding to each anomaly monitoring model identifier, so as to obtain the detection probability of at least one monitoring target output by each anomaly monitoring model.

[0080] Specifically, the algorithm models trained with sample data and label data in different training data sets are integrated into the edge device. When switching the algorithm model, there is no need to change the content of other modules, and the effect of immediate switching and immediate use can be achieved. According to the configuration file, the video data corresponding to the camera identified by each camera is input into the anomaly monitoring model corresponding to each anomaly monitoring model identifier, and the detection probability of at least one monitoring target output by each anomaly monitoring model can be obtained.

[0081] It should be noted that after decoding multiple channels of video data, it is necessary to determine the specifications of each frame of video image, that is, to determine whether the size of the video image matches the size of the input image of the anomaly monitoring model. If they do not match, the video image needs to be cropped; if they match, the anomaly monitoring model is used to perform anomaly monitoring and analysis on multiple channels of video data.

[0082] (3) The identification frames of the monitoring targets and the video data corresponding to the monitoring targets are fused to obtain an alarm fusion screen.

[0083] Specifically, the identification frame of each monitoring target and the video data corresponding to each monitoring target are fused to obtain an alarm fusion picture. The alarm fusion picture is encoded and transmitted to the client for display through a push streaming mechanism.

[0084] (4) Generate alarm information based on the alarm fusion screen.

[0085] Specifically, after obtaining the alarm fusion screen, alarm information may be generated according to the alarm fusion screen, or when an abnormal monitoring event is detected, the alarm information may be sent to the alarm monitoring channel.

[0086] Figure 4 Schematic diagram of the process of real-time monitoring and analysis of single-channel video data provided by the present invention. Figure 4 As shown, it includes steps 401 to 408; wherein,

[0087] Step 401, obtain the video data stream. In order to ensure the real-time processing of the video picture, the edge device reads the video data stream (sub-stream) captured by the camera. The video data stream is more suitable for long-distance network transmission and can discard audio data. The interaction between the edge device and the camera adopts the Real Time Streaming Protocol (RTSP).

[0088] Step 402: Video decoding: Specifically, the edge device decodes the acquired video data stream to obtain video data.

[0089] Step 403, video backup. Specifically, in order to ensure that the abnormal monitoring and analysis results obtained after the abnormal monitoring and analysis can be restored to the video data (original picture), the edge device backs up the video data after obtaining the video data, and ensures that the order of each frame image in the video data is not disordered.

[0090] Step 404, determine whether the image size matches. Based on the type of abnormality monitoring, determine whether the size of each frame of the video data matches the image size that the abnormality monitoring model conforms to. If it does not match, go to step 405; if it matches, go to step 406.

[0091] Step 405: Image cropping: The size of each frame of the video data is cropped.

[0092] Step 406: Model inference: Input the video data into the anomaly monitoring model corresponding to the anomaly monitoring model identifier to obtain the detection probability of at least one monitoring target output by the anomaly monitoring model.

[0093] Step 407: Draw the identification frame. Fuse the identification frame of each monitoring target with the video data to obtain an alarm fusion screen.

[0094] Step 408: Video encoding: The alarm fusion image is encoded and then transmitted to the client for display through a streaming mechanism.

[0095] Figure 5 is a schematic diagram of information interaction between an edge device and a client provided by the present invention, such as Figure 5 As shown in the figure, the interaction between the edge device and the client includes two parts: information interaction and alarm fusion screen display. The socket channel is used to establish communication between the client and the edge device, and the transmission format of the interactive message can be agreed upon. Among them, the edge device can transmit the alarm information to the client, and the client can also transmit the control information to the edge device to complete the monitoring switching and other functions. The interaction process between the edge device and the client is asynchronous interaction, and the reception and transmission of the edge device and the client do not affect each other. In order to transmit the processed alarm fusion screen to the client, the edge device is designed as an RTSP server, and the alarm fusion screen is pushed to the port specified in the configuration file. The client only needs to subscribe to the port address specified in the configuration file to receive the alarm fusion screen in real time, realizing the decoupling of the alarm fusion screen push and video data processing and analysis. When pushing the alarm fusion screen, there is no need to care about the abnormal monitoring analysis results.

[0096] It should be noted that by using edge devices, the video analysis module that consumes the most computing resources in the system can be moved to the edge device, reducing the load on the client.

[0097] Optionally, the specific implementation of step 203 includes:

[0098] (a) Based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, the target alarm information and the target alarm fusion screen to be pushed are determined.

[0099] It should be noted that after the corresponding cameras and abnormal monitoring models are deployed, the video data captured by the cameras is used as the input of the abnormal monitoring model to obtain the abnormal monitoring analysis results output by the abnormal monitoring model, and the abnormal monitoring analysis results correspond to an abnormal monitoring event. When an abnormal monitoring event is found, the alarm information of the camera is sent to the alarm monitoring channel, where the alarm information includes the alarm content and the camera identification (ID). In order to avoid the problem of blocking the alarm monitoring channel when the alarm information of multiple cameras is pushed at the same time, it is necessary to distinguish the importance of the concurrent alarm information and push the alarm information according to the judgment mechanism.

[0100] Specifically, according to the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, the target alarm information and the target alarm fusion screen to be pushed can be further determined.

[0101] (b) Transmitting the target warning information and the target warning fusion image to the client.

[0102] Specifically, the target alarm information and the target alarm fusion picture determined to be pushed are transmitted to the client, so that the client performs a fusion display of the target alarm fusion picture and the target alarm information.

[0103] Optionally, the determining the target alarm information and the target alarm fusion screen to be pushed based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event includes:

[0104] 1) Based on the detection probability of each monitoring target, each alarm information and the priority weight corresponding to each abnormal monitoring event, the confidence score corresponding to the camera of the camera identifier included in each alarm information is calculated respectively.

[0105] Specifically, according to the detection probability of each monitoring target, the probability pr(p) of an abnormal target p appearing in the camera image is calculated using formula (1); then, according to the probability of the abnormal target p and the priority weight corresponding to the abnormal monitoring event, the confidence score corresponding to the camera is calculated using formula (2). For example, taking the helmet wearing detection as an example, it is necessary to monitor the monitoring target who is not wearing a helmet in the image. The camera captures a key frame image, and after the abnormal monitoring model is recognized, the recognition probability of each type of monitoring target in the image is obtained. [People wearing helmets: 0.1, people not wearing helmets: 0.8, other monitoring targets: 0.1], the probability value pr(p) of the abnormal target p in the output image is calculated using formula (1), that is, the probability that the monitoring target is not wearing a helmet is 0.8. Formula (1) is specifically expressed as follows:

[0106]

[0107] score i =pr(p)×w p (2)

[0108] Among them, p represents an abnormal monitoring event, represents the probability of the abnormal monitoring model judging the monitoring target in the picture, e j represents the detection probability of the jth monitoring target in the picture, w p Indicates the priority weight corresponding to the abnormal monitoring event, score i Represents the confidence score corresponding to camera i.

[0109] In this system, different abnormal monitoring events are pre-set with different weights. For example, the priority of the abnormal event of not wearing a helmet is 0.1, the priority of the abnormal event of fire is 0.8, and the priority of the abnormal event of throwing objects from a height is 0.1. Different abnormal monitoring events form the priority weight w p =[0.1, 0.8, 0.1], the confidence score can be calculated using formula (2) through the priority weight and the probability of the abnormal target.

[0110] 2) Based on the confidence scores corresponding to the cameras, a maximum confidence score is determined.

[0111] Specifically, according to the confidence scores corresponding to each camera, the maximum confidence score is determined and output using formula (3); wherein,

[0112]

[0113] Among them, output represents the maximum confidence score, Represents the confidence vector composed of the confidence scores corresponding to each camera.

[0114] 3) The alarm information and the alarm fusion picture of the camera corresponding to the maximum confidence score are respectively determined as the target alarm information and the target alarm fusion picture for streaming.

[0115] Specifically, the alarm information and the alarm fusion picture of the camera corresponding to the maximum confidence score are respectively determined as the target alarm information and the target alarm fusion picture for streaming, and then the target alarm information and the target alarm fusion picture can be transmitted to the client.

[0116] Optionally, transmitting the target warning information and the target warning fusion picture to the client includes:

[0117] Determine whether there is an idle streaming port; the streaming port is based on a predefined setting; if there is an idle streaming port, create a new streaming session, add the new streaming session to a session resource queue, and use the new streaming session to transmit the target alarm information and the target alarm fusion screen to the client through the idle streaming port; the session resource queue includes at least one historical streaming session; if there is no idle streaming port, each of the historical streaming sessions in the session resource queue is withdrawn from the earliest historical streaming session according to the first-in-first-out principle, and the target alarm information and the target alarm fusion screen are transmitted to the client using the streaming port corresponding to the earliest historical streaming session.

[0118] It should be noted that the streaming module will continuously scan the alarm monitoring channel, and after finding the target alarm information in the alarm monitoring channel, it will start the streaming process.

[0119] Specifically, according to the computing power of the edge device, multiple streaming ports are predefined. When starting the streaming process, first determine whether there is an idle streaming port. If there is an idle streaming port, create a new streaming session, add the new streaming session to the session resource queue, and use the new streaming session to transmit the target alarm information and the target alarm fusion screen to the client through the idle streaming port; wherein the session resource queue includes at least one historical streaming session; if there is no idle streaming port, each historical streaming session in the session resource queue is forced to exit the earliest historical streaming session according to the first-in-first-out principle, and transmit the target alarm information and the target alarm fusion screen to the client using the streaming port corresponding to the earliest historical streaming session, that is, forcefully exit the earliest target alarm fusion screen, and push the current target alarm fusion screen.

[0120] Optionally, a cooling time is set in advance; the cooling time is used to control the transmission of the alarm information and the alarm fusion screen corresponding to each of the cameras; the camera identifier of the alarm fusion screen transmitted by the streaming port corresponding to each streaming session is recorded; and the alarm information and the alarm fusion screen corresponding to each of the camera identifiers within the cooling time range are discarded.

[0121] Specifically, a cooling time is set in advance, wherein the cooling time is used to control the transmission of the alarm information and the alarm fusion screen corresponding to each camera; in order to avoid frequent screen switching, the camera identifier of the alarm fusion screen transmitted by the streaming port corresponding to each streaming session is recorded; the target alarm information and the target alarm fusion screen corresponding to each camera identifier within the cooling time range are discarded, that is, the target alarm information and the target alarm fusion screen corresponding to each camera identifier are not transmitted within the cooling time range, so that the client will not switch the target alarm fusion screen corresponding to the camera identifier.

[0122] The method provided by the present invention forms an adaptive streaming mechanism through a streaming port, a session resource queue and a set cooling time, which can automatically display an alarm fusion screen in real time without intervention. At the same time, the mechanism ensures the maximum utilization of resources, avoids waiting in vain and blocking, and improves the display effect of the alarm fusion screen.

[0123] Figure 6 is a schematic diagram of the adaptive streaming process provided by the present invention, such as Figure 6 As shown, it includes steps 601 to 609; wherein,

[0124] Step 601: monitor target alarm information. Specifically, the streaming module will continuously scan the alarm monitoring channel, and after finding that the target alarm information exists in the alarm monitoring channel, the streaming process is started.

[0125] Step 602, determine whether there is an idle streaming port. If there is an idle streaming port, go to step 603; if there is no idle streaming port, go to step 607.

[0126] Step 603: Create a new streaming session.

[0127] Step 604: Add the new streaming session to a session resource queue, where the session resource queue includes at least one historical streaming session.

[0128] Step 605: The target alarm information and the target alarm fusion image are transmitted to the client through a new streaming session and an idle streaming port.

[0129] Step 606: The client switches the currently displayed screen to the target alarm fusion screen.

[0130] Step 607: Remove the oldest historical streaming session from the session resource queue according to the first-in-first-out principle.

[0131] Step 608 , recording the cooling time and the camera identifier of the alarm fusion image transmitted by the streaming port corresponding to each streaming session.

[0132] Step 609: Stop the transmission of alarm information and alarm fusion screen during the cooling time. Outside the cooling time range, use the push stream port corresponding to the earliest historical push stream session to transmit to the client. Specifically, within the cooling time range, stop the transmission of alarm information and alarm fusion screen corresponding to each camera identifier; outside the cooling time range, use the push stream port corresponding to the earliest historical push stream session to transmit to the client, so that the client switches the currently displayed screen to the target alarm fusion screen.

[0133] It should be noted that the client's fusion display area of ​​the alarm fusion screen includes three modules: abnormal alarm screen area, non-abnormal screen area and historical alarm fusion screen area. Among them, the alarm screen area is used to display the current target alarm fusion screen, the non-abnormal screen area is used to display the non-abnormal screen, and the historical alarm screen area is used to display the abnormal screen in the alarm fusion screen at historical moments.

[0134] Figure 7 is a schematic diagram of the fusion display area provided by the present invention, such as Figure 7As shown, the fusion display area includes three modules: abnormal alarm screen area, non-abnormal screen area and historical alarm fusion screen area. Among them, the abnormal alarm screen area displays the target alarm fusion screen corresponding to camera (video_0x1001), the target alarm fusion screen corresponding to camera (video_0x1002), the target alarm fusion screen corresponding to camera (video_0x1003) and the target alarm fusion screen corresponding to camera (video_0x100x); among them, the target alarm fusion screen corresponding to camera (video_0x1001) includes the monitoring targets without wearing safety equipment and the monitoring targets wearing safety equipment; the target alarm fusion screen corresponding to camera (video_0x1002) includes the monitoring targets with fire; the target alarm fusion screen corresponding to camera (video_0x1003) includes the monitoring targets of parabolic monitoring; the target alarm fusion screen corresponding to camera (video_0x100x) does not include any monitoring targets. The normal screen area displays the normal screen corresponding to camera (video_0x1004), the normal screen corresponding to camera (video_0x1005), and the normal screen corresponding to camera (video_0x1006). The historical alarm fusion screen area displays the monitoring targets without wearing safety equipment corresponding to camera (video_0x1001) and the monitoring targets with fire corresponding to camera (video_0x1002).

[0135] Figure 8 FIG. 2 is a flow chart of the multi-channel video intelligent fusion display method provided by the present invention. Figure 8 As shown, it includes steps 801 to 812:

[0136] Step 801, application starts.

[0137] Step 802, determine whether to initialize the application. If the application is initialized, go to step 803; if the application is not initialized, go to step 806.

[0138] Step 803, read the configuration file.

[0139] Step 804, determine whether the configuration file exists. If the configuration file exists, go to step 805; if the configuration file does not exist, go to step 806.

[0140] Step 805, bind the camera and the model. After the user selects the deployment plan on the client, the multiple cameras used for shooting and the type of abnormal monitoring are determined, and the client converts the deployment signal into control information, wherein the control information includes each camera identifier and at least one abnormal monitoring model identifier, the camera identifier is used to identify the camera, the abnormal monitoring model identifier is used to identify the abnormal monitoring model, the abnormal monitoring model is trained based on the training samples and the label data, and there is a corresponding relationship between the abnormal monitoring model identifier and the type of abnormal monitoring. The client sends the control information to the edge device, the edge device obtains the control information sent by the client, and parses the control information to obtain the camera identifier and at least one abnormal monitoring model identifier, and automatically generates the processing flow configuration file for this deployment in combination with the template configuration file.

[0141] Step 806, reminding whether to deploy the algorithm, that is, whether to deploy the configuration file.

[0142] Step 807, display the monitoring screen interface. According to the type of abnormal monitoring, perform abnormal monitoring analysis on the multiple video data corresponding to at least one camera, and obtain at least one abnormal monitoring analysis result; the abnormal monitoring analysis result includes the detection probability of at least one monitoring target, the alarm fusion screen and the alarm information, the alarm fusion screen is obtained based on the identification frame of each monitoring target and the video data corresponding to each monitoring target, the abnormal monitoring analysis result corresponds to an abnormal monitoring event, and the alarm information includes the camera identification and the alarm content.

[0143] Step 808, determine whether there is alarm information. If there is alarm information, go to step 809; if not, go to step 811.

[0144] Step 809, alarm screen switching. According to the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, the target alarm information and the target alarm fusion screen to be pushed are determined; then the target alarm fusion screen is transmitted to the client, and the normal screen can also be transmitted to the client to realize the switching between the alarm fusion screen and the normal screen.

[0145] Step 810: Output abnormal information. Transmit the target alarm information to the client to output the abnormal information.

[0146] Step 811, process the screen saving instruction. Specifically, set the process screen saving instruction, and the process screen saving instruction is used to save the alarm fusion screen, the normal screen and the historical alarm screen.

[0147] Step 812, screen saving, the target alarm fusion screen, normal screen and historical alarm screen transmitted to the client are saved.

[0148] The multi-channel video intelligent fusion display device provided by the present invention is described below. The multi-channel video intelligent fusion display device described below and the multi-channel video intelligent fusion display method described above can be referenced to each other.

[0149] Fig. 9 It is a structural diagram of a multi-channel video intelligent fusion display device. Fig. 9 As shown, the multi-channel video intelligent fusion display device 900 includes: a first acquisition module 901, an analysis module 902 and a display module 903; wherein,

[0150] The first acquisition module 901 is used to acquire video data captured by at least one camera; the camera is determined based on a control scheme selected by a user on the client, and the control scheme includes a camera identifier and a type of abnormality monitoring;

[0151] The analysis module 902 is used to perform abnormal monitoring analysis on the multiple video data corresponding to the at least one camera based on the type of abnormal monitoring, and obtain at least one abnormal monitoring analysis result; the abnormal monitoring analysis result includes the detection probability of at least one monitoring target, an alarm fusion screen and alarm information, the alarm fusion screen is obtained based on the identification frame of each monitoring target and the video data corresponding to each monitoring target, the abnormal monitoring analysis result corresponds to an abnormal monitoring event, and the alarm information includes the camera identification and the alarm content;

[0152] Display module 903 is used to transmit each alarm information and each alarm fusion screen to the client based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event. The client is used to integrate and display each alarm fusion screen based on each alarm information.

[0153] The multi-channel video intelligent fusion display device provided by the present invention obtains video data respectively shot by at least one camera; the camera is determined based on the deployment plan selected by the user on the client, and the deployment plan includes the camera identification and the type of abnormal monitoring; based on the type of abnormal monitoring, the multi-channel video data corresponding to the at least one camera are respectively subjected to abnormal monitoring analysis to obtain at least one abnormal monitoring analysis result; the abnormal monitoring analysis result includes the detection probability of at least one monitoring target, an alarm fusion screen and alarm information, the alarm fusion screen is obtained based on the identification frame of each monitoring target and the video data corresponding to each monitoring target, the abnormal monitoring analysis result corresponds to an abnormal monitoring event, and the alarm information includes the camera identification and the alarm content; based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, each alarm information and each alarm fusion screen are transmitted to the client, and the client is used to perform fusion display of each alarm fusion screen based on each alarm information. Users can select the control scheme according to the actual application scenario, and adaptively perform abnormal monitoring and analysis on multiple video data according to the control scheme. Based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, each alarm information and each alarm fusion screen are transmitted to the client, so that the client can display the alarm fusion screen in a fusion manner based on each alarm information, thus realizing the fusion display of multiple video data. The multiple video data do not interfere with each other, but cooperate with each other, and the resource consumption is small. At the same time, the display effect of the alarm fusion screen is improved.

[0154] Optionally, the display module 903 is specifically used to:

[0155] Based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, determine the target alarm information and the target alarm fusion screen for streaming;

[0156] The target warning information and the target warning fusion image are transmitted to the client.

[0157] Optionally, the display module 903 is further used to:

[0158] Based on the detection probability of each monitoring target, each alarm information and the priority weight corresponding to each abnormal monitoring event, respectively calculate the confidence score corresponding to the camera of the camera identifier included in each alarm information;

[0159] Determining a maximum confidence score based on the confidence scores corresponding to the cameras;

[0160] The alarm information and the alarm fusion picture of the camera corresponding to the maximum confidence score are respectively determined as the target alarm information and the target alarm fusion picture for streaming.

[0161] Optionally, the display module 903 is further used to:

[0162] Determine whether there is an idle streaming port; the streaming port is based on a predefined setting;

[0163] In the case where there is an idle streaming port, a new streaming session is created, the new streaming session is added to a session resource queue, and the target alarm information and the target alarm fusion screen are transmitted to the client through the idle streaming port using the new streaming session; the session resource queue includes at least one historical streaming session;

[0164] When there is no idle streaming port, each of the historical streaming sessions in the session resource queue is removed from the earliest historical streaming session according to the first-in-first-out principle, and the target alarm information and the target alarm fusion screen are transmitted to the client using the streaming port corresponding to the earliest historical streaming session.

[0165] Optionally, the multi-channel video intelligent fusion display device 900 further includes:

[0166] A setting module, used to pre-set a cooling time; the cooling time is used to control the transmission of the target warning information and the target warning fusion picture corresponding to each of the cameras;

[0167] A recording module, used to record the camera identification of the target alarm fusion picture transmitted by the streaming port corresponding to each streaming session;

[0168] The discarding module is used to discard the target warning information and the target warning fusion image corresponding to each camera identification within the cooling time range.

[0169] Optionally, before acquiring the video data respectively shot by at least one camera, the multi-channel video intelligent fusion display device 900 further includes:

[0170] The second acquisition module is used to obtain the control information sent by the client; the control information includes each camera identifier and at least one anomaly monitoring model identifier; the anomaly monitoring model identifier is used to identify the anomaly monitoring model; the anomaly monitoring model is trained based on training samples and label data; there is a corresponding relationship between the anomaly monitoring model identifier and the type of anomaly monitoring.

[0171] Optionally, the analysis module 902 is specifically configured to:

[0172] Based on the type of the abnormality monitoring, generating a configuration file corresponding to the type of the abnormality monitoring; the configuration file is used to instantiate any one of the multiple video data;

[0173] Based on the configuration file, the video data corresponding to the camera identified by each camera is respectively input into the abnormality monitoring model corresponding to each abnormality monitoring model identifier, and the detection probability of at least one monitoring target outputted by each abnormality monitoring model is obtained;

[0174] Fusing the identification frames of the monitoring targets and the video data corresponding to the monitoring targets to obtain an alarm fusion screen;

[0175] Based on the alarm fusion picture, alarm information is generated.

[0176] Fig.10 is a schematic diagram of the physical structure of an electronic device provided by the present invention, such as Fig.10 As shown, the electronic device 1000 may include: a processor (processor) 1010, a communication interface (Communications Interface) 1020, a memory (memory) 1030 and a communication bus 1040, wherein the processor 1010, the communication interface 1020, and the memory 1030 communicate with each other through the communication bus 1040. The processor 1010 can call the logic instructions in the memory 1030 to execute the multi-channel video intelligent fusion display method, which includes: obtaining video data respectively shot by at least one camera; the camera is determined based on the deployment plan selected by the user on the client, and the deployment plan includes a camera identification and a type of abnormal monitoring; based on the type of abnormal monitoring, the multi-channel video data corresponding to the at least one camera are respectively subjected to abnormal monitoring analysis to obtain at least one abnormal monitoring analysis result; the abnormal monitoring analysis result includes a detection probability of at least one monitoring target, an alarm fusion screen and an alarm information, the alarm fusion screen is obtained based on the identification box of each monitoring target and the video data corresponding to each monitoring target, the abnormal monitoring analysis result corresponds to an abnormal monitoring event, and the alarm information includes a camera identification and an alarm content; based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, each alarm information and each alarm fusion screen is transmitted to the client, and the client is used to perform fusion display of each alarm fusion screen based on each alarm information.

[0177] In addition, the logic instructions in the above-mentioned memory 1030 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0178] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the multi-channel video intelligent fusion display method provided by the above methods, and the method includes: obtaining video data respectively taken by at least one camera; the camera is determined based on the control plan selected by the user on the client, and the control plan includes a camera identification and a type of abnormal monitoring; based on the type of abnormal monitoring, abnormal monitoring analysis is performed on the multi-channel video data corresponding to the at least one camera to obtain at least one abnormal monitoring analysis result. The abnormal monitoring analysis result includes the detection probability of at least one monitoring target, an alarm fusion screen and alarm information, the alarm fusion screen is obtained based on the identification frame of each monitoring target and the video data corresponding to each monitoring target, the abnormal monitoring analysis result corresponds to an abnormal monitoring event, and the alarm information includes the camera identification and the alarm content; based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, each alarm information and each alarm fusion screen is transmitted to the client, and the client is used to integrate and display each alarm fusion screen based on each alarm information.

[0179] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the multi-channel video intelligent fusion display method provided by the above-mentioned methods, the method comprising: obtaining video data respectively shot by at least one camera; the camera is determined based on a control scheme selected by a user on a client, the control scheme comprising a camera identification and a type of abnormal monitoring; based on the type of abnormal monitoring, performing abnormal monitoring analysis on the multi-channel video data corresponding to the at least one camera respectively to obtain at least one abnormal monitoring analysis result; the abnormal monitoring analysis result comprises a detection probability of at least one monitoring target, an alarm fusion screen and alarm information, the alarm fusion screen is obtained based on an identification frame of each monitoring target and the video data corresponding to each monitoring target, the abnormal monitoring analysis result corresponds to an abnormal monitoring event, and the alarm information comprises a camera identification and an alarm content; based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, each alarm information and each alarm fusion screen is transmitted to the client, and the client is used to perform fusion display of each alarm fusion screen based on each alarm information.

[0180] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0181] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0182] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for intelligent fusion display of multi-channel videos. It is characterized in that include: Obtain video data captured by at least one camera; The camera is determined based on a control scheme selected by a user on the client, and the control scheme includes a camera identification and a type of abnormality monitoring; Based on the type of abnormal monitoring, performing abnormal monitoring analysis on the multiple video data corresponding to the at least one camera respectively to obtain at least one abnormal monitoring analysis result; the abnormal monitoring analysis result includes a detection probability of at least one monitoring target, an alarm fusion picture and alarm information, the alarm fusion picture is obtained based on the identification frame of each monitoring target and the video data corresponding to each monitoring target, the abnormal monitoring analysis result corresponds to an abnormal monitoring event, and the alarm information includes a camera identification and alarm content; Based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and each abnormal monitoring event corresponding to the priority weight, each alarm information and each alarm fusion screen are transmitted to the client, and the client is used to integrate and display each alarm fusion screen based on each alarm information; The step of transmitting each of the alarm information and each of the alarm fusion images to the client based on the detection probability of each of the monitoring targets, each of the alarm fusion images, each of the alarm information and the priority weight corresponding to each of the abnormal monitoring events comprises: Based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, determine the target alarm information and the target alarm fusion screen for streaming; Transmitting the target warning information and the target warning fusion picture to the client; The step of determining the target alarm information and the target alarm fusion screen for streaming based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information, and the priority weight corresponding to each abnormal monitoring event includes: Based on the detection probability of each monitoring target, each alarm information and the priority weight corresponding to each abnormal monitoring event, respectively calculate the confidence score corresponding to the camera of the camera identifier included in each alarm information; Determining a maximum confidence score based on the confidence scores corresponding to the cameras; The alarm information and the alarm fusion picture of the camera corresponding to the maximum confidence score are respectively determined as the target alarm information and the target alarm fusion picture for streaming.

2. The multi-channel video intelligent fusion display method according to claim 1, It is characterized in that The transmitting the target warning information and the target warning fusion picture to the client includes: Determine whether there is an idle streaming port; the streaming port is based on a predefined setting; In the case where there is an idle streaming port, a new streaming session is created, the new streaming session is added to a session resource queue, and the target alarm information and the target alarm fusion screen are transmitted to the client through the idle streaming port using the new streaming session; the session resource queue includes at least one historical streaming session; When there is no idle streaming port, each of the historical streaming sessions in the session resource queue is removed from the earliest historical streaming session according to the first-in-first-out principle, and the target alarm information and the target alarm fusion screen are transmitted to the client using the streaming port corresponding to the earliest historical streaming session.

3. The multi-channel video intelligent fusion display method according to claim 2, It is characterized in that The method further comprises: A cooling time is pre-set; the cooling time is used to control the transmission of the target warning information and the target warning fusion picture corresponding to each of the cameras; Record the camera ID of the target alarm fusion image transmitted by the streaming port corresponding to each streaming session; The target warning information and the target warning fusion image corresponding to each of the camera identifiers within the cooling time range are discarded.

4. The multi-channel video intelligent fusion display method according to any one of claims 1 to 3, It is characterized in that Before acquiring the video data respectively captured by at least one camera, the method further includes: Acquire control information sent by the client; the control information includes each camera identifier and at least one anomaly monitoring model identifier; the anomaly monitoring model identifier is used to identify the anomaly monitoring model; the anomaly monitoring model is trained based on training samples and label data; there is a corresponding relationship between the anomaly monitoring model identifier and the type of anomaly monitoring.

5. The multi-channel video intelligent fusion display method according to claim 4, It is characterized in that Based on the type of abnormal monitoring, performing abnormal monitoring analysis on multiple channels of video data corresponding to the at least one camera to obtain at least one abnormal monitoring analysis result includes: Based on the type of the abnormality monitoring, generating a configuration file corresponding to the type of the abnormality monitoring; the configuration file is used to instantiate any one of the multiple video data; Based on the configuration file, the video data corresponding to the camera identified by each camera is respectively input into the abnormality monitoring model corresponding to each abnormality monitoring model identifier, and the detection probability of at least one monitoring target outputted by each abnormality monitoring model is obtained; Fusing the identification frames of the monitoring targets and the video data corresponding to the monitoring targets to obtain an alarm fusion screen; Based on the alarm fusion picture, alarm information is generated.

6. A multi-channel video intelligent fusion display device, It is characterized in that include: A first acquisition module, used to acquire video data captured by at least one camera; The camera is determined based on a control scheme selected by a user on the client, and the control scheme includes a camera identification and a type of abnormality monitoring; An analysis module is used to perform abnormal monitoring analysis on the multiple video data corresponding to the at least one camera respectively based on the type of abnormal monitoring, and obtain at least one abnormal monitoring analysis result; the abnormal monitoring analysis result includes a detection probability of at least one monitoring target, an alarm fusion picture and alarm information, the alarm fusion picture is obtained based on the identification frame of each monitoring target and the video data corresponding to each monitoring target, the abnormal monitoring analysis result corresponds to an abnormal monitoring event, and the alarm information includes a camera identification and alarm content; A display module, for transmitting each of the alarm information and each of the alarm fusion images to the client based on the detection probability of each of the monitoring targets, each of the alarm fusion images, each of the alarm information and the priority weight corresponding to each of the abnormal monitoring events, and the client is used to perform a fusion display of each of the alarm fusion images based on each of the alarm information; The display module is specifically used for: Based on the detection probability of each monitoring target, each alarm fusion screen, each alarm information and the priority weight corresponding to each abnormal monitoring event, determine the target alarm information and the target alarm fusion screen for streaming; Transmitting the target warning information and the target warning fusion picture to the client; The display module is also used for: Based on the detection probability of each monitoring target, each alarm information and the priority weight corresponding to each abnormal monitoring event, respectively calculate the confidence score corresponding to the camera of the camera identifier included in each alarm information; Determining a maximum confidence score based on the confidence scores corresponding to the cameras; The alarm information and the alarm fusion picture of the camera corresponding to the maximum confidence score are respectively determined as the target alarm information and the target alarm fusion picture for streaming.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, it implements the multi-channel video intelligent fusion display method as described in any one of claims 1 to 5.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the multi-channel video intelligent fusion display method as described in any one of claims 1 to 5 is implemented.