AI edge computing method, system and storage medium for security monitoring
By installing an AI edge computing system in the video surveillance system to perform real-time data preprocessing and wireless transmission optimization, the problems of latency and energy consumption in edge computing technology are solved, and efficient real-time data transmission and security risk identification are achieved.
Patent Information
- Application Number
- CN202410427589.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-10
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-04-10
AI Technical Summary
Existing edge computing technology has delays in video surveillance applications and communication network channel processing does not meet real-time performance, which affects communication efficiency.
By installing AI edge computing systems on cameras and sensor devices, we perform real-time data preprocessing and wireless transmission, optimize the delay and energy consumption of wireless transmission networks, use delay compensation and energy consumption optimization models to select the optimal communication channel, and improve data transmission efficiency.
It reduces network latency and energy consumption, improves communication efficiency, enhances the accuracy and efficiency of AI edge computing algorithms, and meets the needs of real-time data transmission.
Smart Images

Figure CN118433779B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of edge computing technology, and specifically to an AI edge computing method, system and storage medium for security monitoring. Background Art
[0002] The video analysis of the monitoring system mainly consists of two types of analysis: the front-end system and the server system. The front-end analysis mainly analyzes the video stream through the video acquisition end. When the video data is too large and too complex, the front-end analysis will face problems such as difficulty in caching and excessive resource consumption. The back-end analysis is to transmit the collected video stream to the server for unified calculation and processing. Today's industrial production automation is increasingly sensitive to data analysis and intelligent management, and the demand for real-time control is also gradually expanding. Due to demand restrictions, there are still many industrial data that are restricted to local further processing. Therefore, the application of video surveillance under edge computing in industrial production automation has gradually developed into a trend.
[0003] Edge computing is a new computing system and technology that moves computing power from the cloud to the edge of the network to achieve real-time business, efficient data processing, application intelligence, and security and privacy protection. Edge computing can make traditional video surveillance application scenarios no longer limited by network bandwidth transmission capabilities, and achieve real-time judgment and analysis.
[0004] For example, a Chinese patent with the authorization announcement number CN115904739B discloses an edge computing system, including a device end, an edge computing module, a data processing center, a cloud database, a data allocation module, and a calculation verification module. The invention realizes the edge processing of data by setting an edge computing module in the device end, effectively improving the response speed of the device end to generate real-time request information, and selecting the standard computable complexity in the type complexity matrix to determine the real-time complexity according to the different types of request information, to ensure the accuracy of the data to be fed back received by the device end, and at the same time, the calculation verification module determines the output similarity of the request results output by the edge computing module and the data processing center, adjusts the type complexity matrix, controls the computable range of the edge computing module, ensures the accuracy of the edge computing output results, and improves the computable range and edge computing capabilities of the edge computing module.
[0005] For example, the Chinese patent with publication number CN114756366A discloses an edge computing method and an edge computing server, which includes the following steps: task acquisition, data splitting, sub-data feature extraction, original data feature extraction, similarity calculation, and result comparison. When the result comparison satisfies, each request package sub-data is executed step by step; when the result comparison does not satisfy, repeat the data splitting, sub-data feature extraction, original data feature extraction, similarity calculation, and result comparison steps. This edge computing server includes: a data acquisition module for acquiring the original data of the request package, a data splitting module for splitting the data, a feature extraction module for feature extraction, a similarity calculation module for calculating feature similarity, a storage module for storing data feature extraction algorithms and splitting rules, a task response module for generating and responding to the package, and a processor configured as a control center. The edge computing method and edge computing server of this application have a high response speed.
[0006] The defects of the above patent: Although edge computing has low latency, low latency still exists. The latency and communication network channels are not processed, and the real-time transmission is not met. Summary of the invention
[0007] In view of the deficiencies of the prior art, the present invention proposes an AI edge computing method, system and storage medium for security monitoring, installs cameras and sensor equipment, monitors the target area, collects real-time data in the monitoring scene, pre-processes the collected real-time data in the monitoring scene, transmits the pre-processed real-time data in the monitoring scene through a wireless transmission network, and uses edge computing strategies to optimize the factors that affect the communication rate of the wireless transmission network. After the staff computer receives the real-time data in the monitoring scene, it detects and identifies the security risks or abnormal conditions in the real-time data in the monitoring scene, regularly collects and processes user feedback, and optimizes and improves the edge computing method. According to the needs of actual application scenarios, the accuracy and efficiency of AI edge computing algorithms are continuously improved and enhanced.
[0008] To achieve the above object, the present invention provides the following technical solutions:
[0009] The AI edge computing method for security monitoring includes the following specific steps:
[0010] Step S1: Install cameras and sensor equipment to monitor the target area and collect real-time data in the monitoring scene;
[0011] Step S2: pre-processing the collected real-time data in the monitoring scene;
[0012] Step S3: The pre-processed real-time data in the monitoring scene is transmitted through the wireless transmission network, and the factors affecting the communication rate of the wireless transmission network are optimized by using the edge computing strategy;
[0013] Step S4: After receiving the real-time data in the monitoring scene, the staff computer detects and identifies the security risks or abnormal situations existing in the real-time data in the monitoring scene;
[0014] Step S5: Regularly collect and process user feedback, optimize and improve edge computing methods, and continuously improve and enhance the accuracy and efficiency of AI edge computing algorithms according to the needs of actual application scenarios.
[0015] Specifically, the real-time data in step S1 includes: video, image and sensor data.
[0016] Specifically, the preprocessing in step S2 includes: image denoising and data cleaning, removing noise generated when the camera collects images and videos in the monitoring scene, and removing repeated redundant data in the monitoring scene data collected by the sensor device.
[0017] Specifically, the factors affecting the communication rate of the wireless transmission network in step S3 include: delay and energy consumption.
[0018] Specifically, the specific steps of step S3 are:
[0019] Step S301: compensating for the time delay of the target area camera and sensor equipment sending data to the staff computer;
[0020] Step S302: Set the set of cameras and sensor devices in the target area to S, where S = {s1, s2, ..., s m},s m Denotes the mth camera or sensor device, the set of wireless communication network channels between the target area and the staff computer is B, B = {b1, b2, ..., b c}, b c represents the cth communication channel of the wireless communication network between the target area and the staff computer, and calculates the noise power of the camera and sensor equipment and the staff computer. The calculation formula is:
[0021] Where ZS represents the noise power of the camera and sensor equipment and the staff computer, G i represents the transmission power of the i-th communication channel of the wireless communication network, λ represents the transmission distance adjustment coefficient, d represents the distance between the target area and the staff computer, and Z w represents the network noise power;
[0022] Step S303: Calculate the transmission rate V of the i-th communication channel between the camera and sensor device and the staff computer i , the calculation formula is:
[0023]
[0024] Wherein, Kd represents the network bandwidth, log2() represents the logarithmic function with base 2;
[0025] Step S304: Establish an energy consumption optimization model for data transmission between the target area camera and sensor equipment and the staff computer, and the calculation formula is:
[0026]
[0027] Where E represents the energy consumption optimization model for data transmission between the target area camera and sensor equipment and the staff computer, us i Indicates the usage status of the i-th camera or sensor device in the target area, E rw represents the energy consumption of the i-th camera or sensor device in the target area when sending data, E jsj It represents the energy consumption of the staff computer receiving the data sent by the i-th camera or sensor device in the target area, D i Indicates the amount of data sent by the i-th camera or sensor device in the target area. C i represents the amount of computation performed by the staff computer, f i Indicates the computing resources allocated to the worker's computer;
[0028] Step S305: Select the optimal communication channel according to the energy consumption optimization model of data transmission between the target area camera and sensor equipment and the staff computer.
[0029] Specifically, the security risks or abnormal situations in step S4 include: abnormal behaviors and gathering of people.
[0030] AI edge computing system for security monitoring, including: equipment installation and data acquisition module, data preprocessing module, edge computing module, abnormal risk processing module and optimization and improvement module;
[0031] The equipment installation and data acquisition module is used to install cameras and sensor equipment to monitor the target area and collect real-time data in the monitoring scene;
[0032] The data preprocessing module is used to preprocess the collected real-time data in the monitoring scene;
[0033] The edge computing module is used to transmit the pre-processed real-time data in the monitoring scene through the wireless transmission network, and optimize the factors affecting the communication rate of the wireless transmission network by using the edge computing strategy;
[0034] The abnormal risk processing module is used to detect and identify the security risks or abnormal situations existing in the real-time data in the monitoring scene after the staff computer receives the real-time data in the monitoring scene;
[0035] The optimization and improvement module is used to regularly collect and process user feedback, optimize and improve the edge computing method, and continuously improve and enhance the accuracy and efficiency of the AI edge computing algorithm according to the needs of actual application scenarios.
[0036] Specifically, the edge computing module includes a delay compensation unit and an energy consumption optimization unit;
[0037] The time delay compensation unit is used to compensate for the time delay of the target area camera and sensor equipment sending data to the staff computer;
[0038] The energy consumption optimization unit is used to establish an energy consumption optimization model for data transmission between the target area camera and sensor equipment and the staff computer, and select the optimal communication channel.
[0039] An electronic device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of an AI edge computing method for security monitoring when executing the computer program.
[0040] A computer-readable storage medium stores computer instructions, which, when executed, execute the steps of an AI edge computing method for security monitoring.
[0041] Compared with the prior art, the present invention has the following beneficial effects:
[0042] 1. The present invention proposes an AI edge computing system for security monitoring, and optimizes and improves the architecture, operation steps and processes. The system has the advantages of simple process, low investment and operation costs, and low production work costs.
[0043] 2. The present invention proposes an AI edge computing method for security monitoring, which compensates for the delay in sending data from cameras and sensor devices in the target area to staff computers, thereby making up for the impact of network delay on communication efficiency.
[0044] 3. The present invention proposes an AI edge computing method for security monitoring, and proposes an energy consumption optimization model for data transmission between target area cameras and sensor devices and staff computers, which effectively optimizes the energy consumption of data transmission, reduces communication energy consumption, and improves the communication efficiency between target area cameras and sensor devices and staff computers. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 This is a flow chart of the AI edge computing method for security monitoring of the present invention;
[0046] Figure 2 This is an architecture diagram of the AI edge computing system for security monitoring of the present invention;
[0047] Figure 3 This is a diagram of an electronic device for the AI edge computing method for security monitoring of the present invention. DETAILED DESCRIPTION
[0048] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, in the description of the present invention, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside" and the like indicate the orientation or position relationship based on the orientation or position relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "No. 1", "No. 2" and "No. 3" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. The present invention is further explained below in conjunction with specific embodiments.
[0049] Example 1
[0050] See also Figure 1 , an embodiment provided by the present invention: an AI edge computing method for security monitoring, comprising the following specific steps:
[0051] Step S1: Install cameras and sensor equipment to monitor the target area and collect real-time data in the monitoring scene;
[0052] Step S2: pre-processing the collected real-time data in the monitoring scene;
[0053] Step S3: The pre-processed real-time data in the monitoring scene is transmitted through the wireless transmission network, and the factors affecting the communication rate of the wireless transmission network are optimized by using the edge computing strategy;
[0054] Step S4: After receiving the real-time data in the monitoring scene, the staff computer detects and identifies the security risks or abnormal situations existing in the real-time data in the monitoring scene;
[0055] Step S5: Regularly collect and process user feedback, optimize and improve edge computing methods, and continuously improve and enhance the accuracy and efficiency of AI edge computing algorithms according to the needs of actual application scenarios.
[0056] The real-time data in step S1 includes: video, image and sensor data.
[0057] The preprocessing in step S2 includes: image denoising and data cleaning, removing the noise generated when the camera collects images and videos in the monitoring scene, and removing repeated redundant data in the monitoring scene data collected by the sensor device.
[0058] The factors affecting the communication rate of the wireless transmission network in step S3 include: delay and energy consumption.
[0059] The specific steps of step S3 are:
[0060] Step S301: compensating for the time delay of the target area camera and sensor equipment sending data to the staff computer;
[0061] Step S302: Set the set of cameras and sensor devices in the target area to S, where S = {s1, s2, ..., s m},s m Denotes the mth camera or sensor device, the set of wireless communication network channels between the target area and the staff computer is B, B = {b1, b2, ..., b c}, b c represents the cth communication channel of the wireless communication network between the target area and the staff computer, and calculates the noise power of the camera and sensor equipment and the staff computer. The calculation formula is:
[0062] Where ZS represents the noise power of the camera and sensor equipment and the staff computer, G i represents the transmission power of the i-th communication channel of the wireless communication network, λ represents the transmission distance adjustment coefficient, d represents the distance between the target area and the staff computer, and Z w represents the network noise power;
[0063] Step S303: Calculate the transmission rate V of the i-th communication channel between the camera and sensor device and the staff computer i , the calculation formula is:
[0064]
[0065] Wherein, Kd represents the network bandwidth, log2() represents the logarithmic function with base 2;
[0066] Step S304: Establish an energy consumption optimization model for data transmission between the target area camera and sensor equipment and the staff computer, and the calculation formula is:
[0067]
[0068] Where E represents the energy consumption optimization model for data transmission between the target area camera and sensor equipment and the staff computer, us i Indicates the usage status of the i-th camera or sensor device in the target area, E rw represents the energy consumption of the i-th camera or sensor device in the target area when sending data, E jsj It represents the energy consumption of the staff computer receiving the data sent by the i-th camera or sensor device in the target area, D i Indicates the amount of data sent by the i-th camera or sensor device in the target area. C i represents the amount of computation performed by the staff computer, f i Indicates the computing resources allocated to the worker's computer;
[0069] E rw The calculation method is: E rw =G i T rw , E jsj Similarly, calculate T first jsj , us i =1, it means that the i-th camera or sensor device in the target area has sent a data task, us i =0, it means that the i-th camera or sensor device in the target area has not sent a data task;
[0070] Step S305: Select the optimal communication channel according to the energy consumption optimization model of data transmission between the target area camera and sensor equipment and the staff computer.
[0071] The security risks or abnormal situations in step S4 include: abnormal behaviors and gathering of people.
[0072] When faced with complex video data input, today's video analysis processing faces problems such as difficult user interaction, high computing cost, high video analysis latency, and high energy consumption. The edge computing video surveillance system in the present invention can solve the above problems.
[0073] Example 2
[0074] See also Figure 2 , another embodiment provided by the present invention: an AI edge computing system for security monitoring, comprising: a device installation and data acquisition module, a data preprocessing module, an edge computing module, an abnormal risk processing module and an optimization and improvement module;
[0075] The equipment installation and data acquisition module is used to install cameras and sensor equipment to monitor the target area and collect real-time data in the monitoring scene;
[0076] The data preprocessing module is used to preprocess the collected real-time data in the monitoring scene;
[0077] The edge computing module is used to transmit the pre-processed real-time data in the monitoring scene through the wireless transmission network, and optimize the factors affecting the communication rate of the wireless transmission network by using the edge computing strategy;
[0078] The abnormal risk processing module is used to detect and identify the security risks or abnormal situations existing in the real-time data in the monitoring scene after the staff computer receives the real-time data in the monitoring scene;
[0079] The optimization and improvement module is used to regularly collect and process user feedback, optimize and improve the edge computing method, and continuously improve and enhance the accuracy and efficiency of the AI edge computing algorithm according to the needs of actual application scenarios.
[0080] The edge computing module includes a delay compensation unit and an energy consumption optimization unit;
[0081] The time delay compensation unit is used to compensate for the time delay of the target area camera and sensor equipment sending data to the staff computer;
[0082] The energy consumption optimization unit is used to establish an energy consumption optimization model for data transmission between the target area camera and sensor equipment and the staff computer, and select the optimal communication channel.
[0083] Example 3
[0084] See also Figure 3 , an electronic device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of an AI edge computing method for security monitoring are implemented.
[0085] A computer-readable storage medium stores computer instructions, which, when executed, execute the steps of an AI edge computing method for security monitoring.
[0086] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0087] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0088] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0089] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0090] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.
[0091] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An AI edge computing method for security monitoring, characterized in that: The specific steps include: Step S1: Install cameras and sensor equipment to monitor the target area and collect real-time data in the monitoring scene; Step S2: pre-processing the collected real-time data in the monitoring scene; Step S3: The pre-processed real-time data in the monitoring scene is transmitted through the wireless transmission network, and the factors affecting the communication rate of the wireless transmission network are optimized by using the edge computing strategy; Step S4: After receiving the real-time data in the monitoring scene, the staff computer detects and identifies the security risks or abnormal situations existing in the real-time data in the monitoring scene; Step S5: Regularly collect and process user feedback, optimize and improve edge computing methods, and continuously improve and enhance the accuracy and efficiency of AI edge computing algorithms according to the needs of actual application scenarios; The specific steps of step S3 are: Step S301: compensating for the time delay of the target area camera and sensor equipment sending data to the staff computer; Step S302: Set the set of cameras and sensor devices in the target area to S, where S = {s1, s2, ..., s m },s m Denotes the mth camera or sensor device, the set of wireless communication network channels between the target area and the staff computer is B, B = {b1, b2, ..., b c }, b c represents the cth communication channel of the wireless communication network between the target area and the staff computer, and calculates the noise power of the camera and sensor equipment and the staff computer. The calculation formula is: Where ZS represents the noise power of the camera and sensor equipment and the staff computer, G i represents the transmission power of the i-th communication channel of the wireless communication network, λ represents the transmission distance adjustment coefficient, d represents the distance between the target area and the staff computer, and Z w represents the network noise power; Step S303: Calculate the transmission rate V of the i-th communication channel between the camera and sensor device and the staff computer i , the calculation formula is: Wherein, Kd represents the network bandwidth, log2() represents the logarithmic function with base 2; Step S304: Establish an energy consumption optimization model for data transmission between the target area camera and sensor equipment and the staff computer, and the calculation formula is: Where E represents the energy consumption optimization model for data transmission between the target area camera and sensor equipment and the staff computer, us i Indicates the usage status of the i-th camera or sensor device in the target area, E rw represents the energy consumption of the i-th camera or sensor device in the target area when sending data, E jsj It represents the energy consumption of the staff computer receiving the data sent by the i-th camera or sensor device in the target area, D i Indicates the amount of data sent by the i-th camera or sensor device in the target area. C i represents the amount of computation performed by the staff computer, f i Indicates the computing resources allocated to the worker's computer; Step S305: Select the optimal communication channel according to the energy consumption optimization model of data transmission between the target area camera and sensor equipment and the staff computer.
2. The AI edge computing method for security monitoring according to claim 1, characterized in that: The real-time data in step S1 includes: video, image and sensor data.
3. The AI edge computing method for security monitoring according to claim 2, characterized in that: The preprocessing in step S2 includes: image denoising and data cleaning, removing noise generated when the camera collects images and videos in the monitoring scene, and removing repeated redundant data in the monitoring scene data collected by the sensor device.
4. The AI edge computing method for security monitoring according to claim 3, characterized in that: The factors affecting the communication rate of the wireless transmission network in step S3 include: delay and energy consumption.
5. The AI edge computing method for security monitoring according to claim 4, characterized in that: The security risks or abnormal situations in step S4 include: abnormal behaviors and gathering of people.
6. An AI edge computing system for security monitoring, which is implemented based on the AI edge computing method for security monitoring described in any one of claims 1 to 5, characterized in that: include: Equipment installation and data collection module, data preprocessing module, edge computing module, abnormal risk processing module and optimization and improvement module; The equipment installation and data acquisition module is used to install cameras and sensor equipment to monitor the target area and collect real-time data in the monitoring scene; The data preprocessing module is used to preprocess the collected real-time data in the monitoring scene; The edge computing module is used to transmit the pre-processed real-time data in the monitoring scene through the wireless transmission network, and optimize the factors affecting the communication rate of the wireless transmission network by using the edge computing strategy; The abnormal risk processing module is used to detect and identify the security risks or abnormal situations existing in the real-time data in the monitoring scene after the staff computer receives the real-time data in the monitoring scene; The optimization and improvement module is used to regularly collect and process user feedback, optimize and improve the edge computing method, and continuously improve and enhance the accuracy and efficiency of the AI edge computing algorithm according to the needs of actual application scenarios.
7. The AI edge computing system for security monitoring according to claim 6, characterized in that: The edge computing module includes a delay compensation unit and an energy consumption optimization unit; The time delay compensation unit is used to compensate for the time delay of the target area camera and sensor equipment sending data to the staff computer; The energy consumption optimization unit is used to establish an energy consumption optimization model for data transmission between the target area camera and sensor equipment and the staff computer, and select the optimal communication channel.
8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the AI edge computing method for security monitoring described in any one of claims 1-5 are implemented.
9. A computer-readable storage medium, characterized in that: Computer instructions are stored thereon, and when the computer instructions are executed, the steps of the AI edge computing method for security monitoring described in any one of claims 1-5 are executed.
Citation Information
Patent Citations
Edge computing method and edge computing server
CN114756366A
An edge computing method and an edge computing system
CN115904739B
Smart community safety monitoring system based on edge computing
CN112702395A
Material scattering detection method and device of belt conveyor
CN116216239A
Wireless edge computing system based on camera
CN117648199A
