Muck truck identification process method and intelligent monitoring equipment based on AI intelligent detection

Through the muck truck identification process method and intelligent monitoring equipment based on AI intelligent detection, the problem of large amounts of video and picture data in road monitoring is solved, efficient analysis and identification of muck truck information is achieved, and traffic and labor costs are reduced. , improving monitoring efficiency.

CN118072259BActive Publication Date: 2024-08-27ANHUI GUANGCHENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410462280.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-17
Publication Date
2024-08-27
Estimated Expiration
2044-04-17

AI Technical Summary

Technical Problem

Existing technology In road monitoring, the amount of video and picture data is huge, resulting in high traffic consumption and real-time human supervision is unrealistic. A technology that can analyze engineering vehicle information from a large amount of data is needed to save traffic and reduce labor costs.

Method used

Adopt the muck truck identification process method and intelligent monitoring equipment based on AI intelligent detection, communicate with the remote terminal through the communication module, receive camera data, and use the central service unit and video analysis service unit to create target sub-processes for analysis, and directly analyze the results Send to remote terminal, saving traffic and labor costs.

Benefits of technology

It enables real-time analysis of data collected by cameras when a monitoring task is detected, saving traffic and labor costs and improving monitoring efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118072259B
    Figure CN118072259B
Patent Text Reader

Abstract

The present invention discloses a muck truck identification process method and intelligent monitoring equipment based on AI intelligent detection. The intelligent monitoring equipment includes: a communication module for communicating with a remote terminal; a receiving module for connecting multiple cameras and receiving the video data collected by them; a software module including a central service unit and a video analysis service unit. The central service unit is connected to the communication module and the video analysis service unit, and is used to generate task information to be executed according to the monitoring instructions sent by the remote terminal received by the communication module. The video analysis service unit is connected to the receiving module, and is used to create a sub-process for the new task and determine the associated camera when a new task is generated, and analyze the data collected by the camera through the sub-process, and send the analysis result to the remote terminal. The equipment can directly analyze the video data collected by the connected camera, and send the analysis result to the remote terminal. The whole process saves traffic and has low labor costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of road monitoring technology, and in particular to a muck truck identification process method and intelligent monitoring equipment based on AI intelligent detection. Background Art

[0002] The development of cities is inseparable from engineering construction, and it is inevitable to use engineering vehicles, such as muck trucks, road sweepers, sprinkler trucks, garbage trucks, etc. In order to facilitate the supervision and management of engineering vehicles, traffic cameras and capture cameras can be set up at road checkpoints, and the captured videos and captured images can be transmitted to the integrated management platform, and the integrated management platform or staff can identify and analyze engineering vehicles based on the captured videos and captured images. However, the number of videos and captured images is huge, which consumes a lot of traffic, and it is unrealistic to rely on human supervision in real time. Therefore, it is necessary to use a technology that can analyze the information of engineering vehicles that need attention from a large amount of video and image data, which consumes less traffic and has low manpower. Summary of the invention

[0003] The present invention aims to solve one of the technical problems in the related art to at least some extent. To this end, the purpose of the present invention is to propose a muck truck identification process method and intelligent monitoring equipment based on AI intelligent detection to save traffic and reduce labor costs during the identification process.

[0004] To achieve the above-mentioned purpose, the first aspect of the present invention proposes an intelligent monitoring equipment, including: a communication module for communicating with a remote terminal; a receiving module for connecting multiple cameras and receiving video data collected by each of the cameras; a software module, including a central service unit and a video analysis service unit, the central service unit is connected to the communication module and the video analysis service unit respectively, and is used to generate task information to be executed according to the monitoring instruction when receiving the monitoring instruction sent by the remote terminal through the communication module, the video analysis service unit is also connected to the receiving module, and is used to create a first target sub-process for the new task and determine the first target camera associated with the new task when it is determined that a new task has been generated according to the task information to be executed and the current time is within the execution cycle of the new task, and receive the first video data collected by the first target camera through the receiving module, and analyze the first video data through the first target sub-process, and send the analysis results to the remote terminal through the central service unit and the communication module in sequence.

[0005] In addition, the intelligent monitoring equipment of the embodiment of the present invention may also have the following additional technical features:

[0006] According to one embodiment of the present invention, the video analysis service unit includes a task detection submodule, a video management submodule and a task execution submodule; wherein the task detection submodule is connected to the central service unit, and is used to add the new task to the task execution list and send a notification to the task execution submodule when it is determined that a new task has been generated according to the task information to be executed and the current time is within the execution cycle; the task execution submodule is connected to the central service unit, and is used to obtain the new task from the task execution list after receiving the notification, and create the first target subprocess and determine the first target camera, and send a video on demand instruction containing the first target camera ID to the video management submodule; the video management submodule is used to provide the first camera data collected by the first target camera to the task execution submodule according to the video on demand instruction, so that the task execution submodule analyzes the first camera data through the first target subprocess and sends the analysis result to the central service unit.

[0007] According to one embodiment of the present invention, when the video management submodule provides the first camera data collected by the first target camera to the task execution submodule according to the video on demand instruction, it is used to: determine whether the first target camera has been on demand according to the ID of the first target camera in the video on demand instruction, and if it has not been on demand, open the video channel of the first target camera, and obtain the corresponding first camera data from the video channel of the first target camera through the receiving module and provide it to the task execution submodule.

[0008] According to one embodiment of the present invention, when analyzing the first camera data through the first target sub-process, the task execution sub-module is used to: determine that the first target sub-process is idle, and provide the currently received first camera data to the first target sub-process for analysis; wherein, the task execution sub-module is also used to discard the currently received first camera data when the first target sub-process is not idle, and the first target sub-process is not idle means that the first target sub-process is loading the algorithm corresponding to the new task or using the loaded algorithm to analyze the first camera data.

[0009] According to one embodiment of the present invention, when the first target subprocess uses the loaded algorithm to analyze the first camera data, it is used to: pre-process and pre-detect the first camera data in sequence to determine whether there is a detection target corresponding to the new task in the first camera data; if so, perform structured data analysis on the detection target, otherwise end the current round of algorithm analysis to make itself idle.

[0010] According to one embodiment of the present invention, when the detection target is a dump truck, the structured data analysis of the detection target includes: detecting the license plate information, driver information, and vehicle information of the dump truck, wherein the license plate information includes at least one of the license plate number, the license plate color, and whether it is obscured; the driver information includes whether the driver has improper driving operations, and the improper driving operations include at least one of not wearing a seat belt and making or receiving phone calls; the vehicle information includes at least one of whether the vehicle is empty, whether the carriage is covered, and whether the dump is spilled on the road.

[0011] According to one embodiment of the present invention, the task execution submodule is also used to close the first target subprocess and send a termination message to the video management submodule when the first target subprocess completes the execution of the new task or an exception occurs; the video management submodule is also used to determine whether there is an executing task associated with the first target camera when receiving the termination message, and close the video channel of the first target camera if no task exists.

[0012] According to one embodiment of the present invention, the central service unit is further used to generate a test task according to the test instruction when receiving the test instruction sent by the remote terminal through the communication module; the video analysis service unit is also used to determine whether there is a second target sub-process for executing the test task when the test task is detected, and if not, create the second target sub-process and determine the second target camera associated with the test task, and receive the second camera data collected by the second target camera through the receiving module, and analyze the second camera data through the second target sub-process, and send the analysis result to the remote terminal through the communication module; if it exists, after the second target sub-process completes the currently executed task, the second camera data is analyzed through the second target sub-process, and the analysis result is sent to the remote terminal through the communication module.

[0013] According to an embodiment of the present invention, before creating the first target sub-process or the second target sub-process, the video analysis service unit is further used to: determine whether the number of sub-processes currently running is less than a preset number threshold.

[0014] To achieve the above-mentioned purpose, the second aspect of the present invention proposes a method for identifying a dump truck based on AI intelligent detection, which is used for the intelligent monitoring equipment of the above-mentioned embodiment, and includes: receiving a monitoring instruction sent by a remote terminal, and generating task information to be executed according to the monitoring instruction; when it is determined that a new task of identifying a dump truck has been generated according to the task information to be executed, and the current time is within the execution cycle of the new task, creating a first target sub-process for the new task and determining the first target camera associated with the new task; receiving first video data collected by the first target camera, analyzing the first video data through the first target sub-process, and sending the analysis result to the remote terminal.

[0015] According to the method and intelligent monitoring equipment for identifying a muck truck based on AI intelligent detection according to the embodiment of the present invention, the communication module is first used to communicate with the remote terminal; then multiple cameras are connected through the receiving module, and the video data collected by each camera is received; finally, a software module including a central service unit and a video analysis service unit is used. Among them, the central service unit is connected to the communication module and the video analysis service unit respectively, and the monitoring instructions sent by the remote terminal are received through the communication module, and the task information to be executed is generated according to the monitoring instructions. At the same time, the video analysis service unit is connected to the receiving module, and when it is determined that a new task is generated according to the task information to be executed, and the current time is within the execution cycle of the new task, the first target subprocess for the new task and the first target camera associated with the new task are created, and the first video data collected by the first target camera is received through the receiving module, and the first video data is analyzed through the first target subprocess, and the analysis results are sent to the remote terminal through the central service unit and the communication module in turn. Therefore, when the monitoring task is detected, the to-be-processed video data collected by the connected camera is directly analyzed, and the analysis results are sent to the remote terminal, and the whole process saves traffic and has low labor costs.

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

[0017] Figure 1 is a schematic diagram of the structure of an intelligent monitoring device according to an embodiment of the present invention;

[0018] Figure 2 is a flow chart of a watchdog service upgrade service according to an embodiment of the present invention;

[0019] Figure 3 is a flowchart of a task detection submodule according to an embodiment of the present invention;

[0020] Figure 4is a flow chart of a video management submodule according to an embodiment of the present invention;

[0021] Figure 5 is a flow chart of the algorithm detection submodule of an embodiment of the present invention;

[0022] Figure 6 It is a structural diagram of the software part of the intelligent monitoring equipment of an embodiment of the present invention;

[0023] Figure 7 is a schematic diagram of the structure of the hardware part of the intelligent monitoring equipment according to an embodiment of the present invention;

[0024] Figure 8 is a structural block diagram of an intelligent monitoring system according to an embodiment of the present invention;

[0025] Fig. 9 It is a flow chart of a muck truck identification process method based on AI intelligent detection according to an embodiment of the present invention. DETAILED DESCRIPTION

[0026] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0027] The following describes the muck truck identification process method and intelligent monitoring equipment based on AI intelligent detection according to an embodiment of the present invention with reference to the accompanying drawings.

[0028] Figure 1 It is a schematic diagram of the structure of the intelligent monitoring equipment according to an embodiment of the present invention.

[0029] like Figure 1 As shown, the intelligent monitoring equipment 100 includes: a communication module 101, a receiving module 102 and a software module 103.

[0030] The communication module 101 is used to communicate with a remote terminal. The receiving module 102 is used to connect to multiple cameras and receive the video data collected by each of the cameras. The software module 103 includes a central service unit and a video analysis service unit. The central service unit is connected to the communication module and the video analysis service unit respectively, and is used to generate task information to be executed according to the monitoring instruction when receiving the monitoring instruction sent by the remote terminal through the communication module 101. The video analysis service unit is also connected to the receiving module, and is used to create a first target subprocess for the new task and determine the first target camera associated with the new task when it is determined that a new task is generated according to the task information to be executed and the current time is within the execution cycle of the new task, and receive the first video data collected by the first target camera through the receiving module 102, and analyze the first video data through the first target subprocess, and send the analysis results to the remote terminal through the central service unit and the communication module 101 in sequence.

[0031] The communication module 101 may communicate with the remote terminal by wired or wireless communication module, and the wireless communication module may include 4G (the 4th generation mobile communication technology), 5G and other communication modules. The central service unit is mainly responsible for forwarding the signaling between the services. If the IP of the intelligent monitoring equipment 100 is dynamic, the central service unit may actively register with a third party, and the third party communicates and obtains data through the device's private protocol SDK (Software Development Kit).

[0032] SDK is a collection of documents, examples and tools that assist in the development of a certain type of software. A complete SDK includes: interface files and library files, namely API (Application Programming Interface, the interface between programs). By encapsulating and protecting the underlying code, an interface for calling the underlying code is provided to the user; help documents are used to explain the functions of interface files and library files (namely API), as well as to introduce related development tools, operation examples, etc.; development examples, namely simple finished product DEMO displays, including source code; practical tools, usually tools to assist users in secondary development, such as secondary development wizards, API search tools, software packaging tools, etc.

[0033] In this embodiment, the intelligent monitoring equipment 100 can be an edge smart box, which can be installed near a camera (such as a traffic camera, a bayonet camera, etc.) and communicated with the camera through a receiving module 102, such as directly connected through a communication line. Thus, the video data collected by the camera can be directly transmitted to the edge smart box without consuming network traffic.

[0034] To facilitate the management of the edge smart box, the edge smart box also communicates with the remote terminal through the communication module 101, and after receiving the monitoring instructions sent by the remote terminal (which can be input by the staff at the remote terminal, such as monitoring the sprinkler truck on section 1 from 5:00 to 7:00 am, including determining the identity of the sprinkler truck, monitoring whether the sprinkler truck is sprinkling water, whether the sprinkling covers the entire road surface, the frequency of sprinkling, etc.; and monitoring the muck truck on section 2 from 19:00 to 21:00 pm, including determining the identity of the muck truck, monitoring whether the muck truck has "drip leakage" and random dumping, etc.), the monitoring instructions are forwarded to the central service unit in the software module 103. The central service unit can analyze the monitoring instructions and generate task information to be executed (such as the above-mentioned tasks of monitoring sprinkler trucks and muck trucks), and then provide the task information to be executed to the video analysis service unit. When the video analysis service unit determines that a new task has been generated based on the information of the task to be executed and the current time is within the execution cycle of the new task (for example, the current time is 5:00am, it can be determined that a new task of monitoring the sprinkler truck has been generated, and the current time is within the execution cycle of the new task), it creates a first target sub-process for the new task and determines the first target camera associated with the new task (for example, the edge smart box is connected to 2 groups of cameras, one group is set for each section 1 and section 2. When the new task is to monitor the sprinkler truck, the first target camera is determined to be a group of cameras corresponding to section 1), receives the first camera data collected by the first target camera through the receiving module 102, analyzes the first camera data through the first target sub-process, and sends the analysis results to the remote terminal through the central service unit and the communication module in sequence.

[0035] Therefore, when the intelligent monitoring equipment detects a monitoring task, it directly analyzes the video data to be processed collected by the connected camera and sends the analysis results to the remote terminal. The whole process saves traffic and has low labor costs.

[0036] In some embodiments of the present invention, the first target camera may be one camera or may include multiple cameras. The number of first target sub-processes to be created may also be determined according to the setting position and number of the first target cameras.

[0037] Specifically, when there is one first target camera, there is one first target subprocess, and the video data collected by one first target camera is processed through the first target subprocess. When there are multiple first target cameras, the first target subprocess can be one or multiple. For example, if multiple cameras collect video data of different angles in the same direction of the same road section, the first target subprocess can be one. At this time, when the video data collected by multiple cameras are processed by the first target subprocess, the video data collected by the multiple cameras can be fused first, and then the fused video data can be processed. For another example, if multiple cameras collect video data in two opposite directions of the same road section, there can also be two first target subprocesses, corresponding one to one with the cameras in the two directions. At this time, the two first target subprocesses respectively process the video data collected by the cameras in the corresponding directions. Of course, if there are multiple cameras in the same direction at this time, the video data collected by the multiple cameras can be fused first. For another example, if multiple cameras collect video data from two opposite directions on the same road section, the first target sub-process can also be one. At this time, the video data collected by the cameras in the two directions can be processed alternately by the first target sub-process. Of course, if there are multiple cameras in the same direction at this time, the video data collected by multiple cameras can be fused first.

[0038] In some embodiments of the present invention, Figure 6 As shown, the software module 103 may also include: a Web service unit, a watchdog service unit, a streaming media service unit, and the remote terminal may include a third-party user, an integrated management platform, a browser, etc.

[0039] The Web service unit is mainly responsible for the configuration of various services, the configuration of intelligent analysis strategies, and the display of real-time video and intelligent analysis results. Users can directly access the Web service unit using their account and password on the browser of their computer to perform operations; at the same time, data encryption is performed through https, combined with the security module in the device to ensure the data security of the device.

[0040] A watchdog is a means of monitoring the operating status of a system. The process of inputting a signal to a watchdog is usually called kicking the dog / service the dog. The watchdog is mainly composed of registers, counters, and a barking module: the basic settings of the watchdog are performed through registers, the counter calculates the barking time, and the barking module determines the interrupt or reset method issued after the watchdog times out. Stably running software will feed the dog after executing specific instructions. If the watchdog does not receive a feeding signal from the software within a certain period, it is considered that the system has failed and will enter the interrupt handler or force a system reset. After the system is powered on, the timing to enable the watchdog can be selected according to different working modes. If the watchdog is enabled, the counter starts counting. If the watchdog is not fed in time within the set time, the watchdog timeout will occur. Based on this, the watchdog service unit may include:

[0041] 1) Service upgrade plan

[0042] like Figure 2 As shown in the figure, the process of service upgrade includes:

[0043] A1, upload the latest service installation package and its version information to the server;

[0044] A2: When users open a browser to access the service, they will be prompted with the latest service version information and can choose whether to install the new version.

[0045] A3, when the user chooses to install a new version, the Web service unit sends an update instruction to the central service unit;

[0046] A4, the central service unit forwards the update instruction to the watchdog service unit, and the watchdog service unit downloads the latest configuration file from the server and compares it with the local configuration file;

[0047] A5, the watchdog service unit detects the installation package version according to the comparison result in the previous step, and downloads the installation package of the corresponding version from the server;

[0048] A6: If the download fails, try again after a period of time, up to three times;

[0049] A7, if the download is successful, stop, update, restart the corresponding service through system instructions, and update the local configuration file;

[0050] A8, no matter whether the download is successful or not, the watchdog service unit will forward the success or failure information to the Web service unit through the central service unit, and prompt the user when he logs in next time.

[0051] 2) Real-time monitoring solution

[0052] The watchdog service unit is connected to each service using a private protocol, and the running status of each service is detected through heartbeat. At the same time, the CPU (Central Processing Unit), memory, bandwidth and other information occupied by each service process are collected, and the service is restarted when the service runs abnormally. At the same time, the background service communicates with the watchdog through a private protocol, and opens, closes, restarts, detects, upgrades and updates by receiving relevant instructions forwarded by the watchdog.

[0053] Therefore, the operating status of the intelligent monitoring equipment 100 can be monitored through the watchdog service unit.

[0054] The streaming media service unit can include functions such as device access, load balancing, video aggregation and forwarding, video downloading, and PTZ control. Figure 6 The streaming media service unit is connected to the protocol gateway through the GB28181 and GA1400 protocols to receive the video data of the front-end camera (including the camera and the bayonet camera) through the receiving module 102, including video data, image data, etc., and can forward it to the storage service end, database, remote terminal, etc.

[0055] See also Figure 6 , the protocol gateway can also receive the collected data of the sensor (such as temperature sensor, humidity sensor, etc.), and the video analysis service unit can also analyze the working environment of the intelligent monitoring equipment 100 according to the data. For example, when it is detected that the temperature of the intelligent monitoring equipment 100 itself is greater than the first preset high temperature threshold, the first alarm information can be sent to the remote terminal through the central service unit and the communication module 101 to make a suspension request, and the monitoring work can be suspended when the suspension permission information sent by the remote terminal is received, and the monitoring work can be restarted when the temperature of the intelligent monitoring equipment 100 itself is less than the preset temperature (less than the first preset high temperature threshold). For another example, when it is detected that the temperature of the intelligent monitoring equipment 100 itself is greater than the second preset high temperature threshold (greater than the first preset high temperature threshold), the second alarm information can be sent to the remote terminal through the central service unit and the communication module 101, and the work can be directly suspended, and the monitoring work can be restarted when the temperature of the intelligent monitoring equipment 100 itself is less than the preset temperature (less than the first preset high temperature threshold).

[0056] In some embodiments of the present invention, the video analysis service unit includes a task detection submodule, a video management submodule and a task execution submodule. Among them, the task detection submodule is connected to the central service unit, and is used to add the new task to the task execution list and send a notification to the task execution submodule when it is determined that a new task is generated according to the task information to be executed and the current time is within the execution cycle; the task execution submodule is connected to the central service unit, and is used to obtain the new task from the task execution list after receiving the notification, and create a first target subprocess and determine the first target camera, and send a video on demand instruction containing the first target camera ID to the video management submodule; the video management submodule is used to provide the first camera data collected by the first target camera to the task execution submodule according to the video on demand instruction, so that the task execution submodule analyzes the first camera data through the first target subprocess, and sends the analysis result to the central service unit.

[0057] Specifically, since the computing power of the intelligent monitoring equipment 100 itself is limited by hardware and resources, in order to ensure the stability of algorithm detection, an inter-process communication processing solution is adopted. Each process is responsible for one algorithm detection, and the resource utilization of the equipment is improved by optimizing task scheduling and execution processes.

[0058] Among them, Figure 3 As shown, after the video analysis service unit is started, the task detection submodule automatically and regularly detects whether there are new tasks (such as the task of monitoring the muck truck) generated. If so, it loads the task configuration (which may include the specific content of the monitoring task, such as the task of monitoring the driver of the muck truck, the task of monitoring the vehicle information of the muck truck, etc.) and the execution cycle (such as 19:00-21:00pm), and determines whether it is currently within its execution cycle. If so, it is added to the task execution list and the task execution submodule is notified.

[0059] In some embodiments of the present invention, when the video management submodule provides the first camera data collected by the first target camera to the task execution submodule according to the video on demand instruction, it is used to: determine whether the first target camera has been on demand according to the ID of the first target camera in the video on demand instruction, and if it has not been on demand, open the video channel of the first target camera, and obtain the corresponding first camera data from the video channel of the first target camera through the receiving module 102 and provide it to the task execution submodule.

[0060] Specifically, Figure 4As shown in the figure, the video management submodule is automatically loaded when the video analysis task is started, and automatically logs into the central service unit in a loop until the login is successful. If the login is not successful when the video on-demand instruction is received, an error is returned; if the login is successful, when the video on-demand instruction of the task execution submodule is received, the task and the on-demand camera channel are associated, and the camera ID in the video on-demand instruction is used to determine whether the camera has been on-demand. If the camera has not been on-demand, the camera is on-demand, and the camera data (such as video stream data and captured image data) of the on-demand camera is obtained for use by other modules. If the camera has been on-demand, the camera data is directly obtained.

[0061] In some embodiments of the present invention, the task execution submodule is also used to close the first target subprocess and send a termination message to the video management submodule when the first target subprocess completes the execution of the new task or an exception occurs; the video management submodule is also used to determine whether there is an executing task associated with the first target camera when receiving the termination message, and close the video channel of the first target camera if no task exists.

[0062] Specifically, when the video management submodule receives a message from the task execution submodule that a task has been completed or is abnormal and its associated video needs to be closed, it determines whether the camera is associated with other tasks being executed. If there is an association, the video channel is not closed, otherwise the video channel is closed.

[0063] Therefore, by multiplexing the video stream channels, the bandwidth usage between the intelligent monitoring equipment 100 and the camera can be reduced, avoiding waste of resources.

[0064] In some embodiments of the present invention, when analyzing the first camera data through the first target sub-process, the task execution sub-module is used to: determine that the first target sub-process is idle, and provide the currently received first camera data to the first target sub-process for analysis; wherein the task execution sub-module is also used to discard the currently received first camera data when the first target sub-process is not idle, and the first target sub-process being non-idle means that the first target sub-process is loading the algorithm corresponding to the new task or is using the loaded algorithm to analyze the first camera data.

[0065] Among them, the algorithm can be an AI (Artificial Intelligence) algorithm, such as a dump truck recognition algorithm based on neural networks, deep learning, etc.

[0066] Specifically, the task execution submodule obtains the task from the task execution list (generated and updated by the task detection submodule); after obtaining the task to be executed, it is determined whether the task is within the execution cycle. If not, the task is deleted, otherwise the task is started; it is detected whether the corresponding first target subprocess has been created. If not, the first target subprocess is created first, and the task is started after the first target subprocess is created (including the model, that is, the algorithm is loaded); if the first target subprocess has been successfully created, the task is started. The video management submodule is used to play and obtain video streams or image data, and it is determined whether the first target subprocess is idle (the number of concurrent connections has not reached saturation). If it is idle, the data is sent to the first target subprocess for analysis, and if it is not idle, the data is discarded. After receiving the analysis result of the first target subprocess, the analysis result is saved to the database and sent to the central service unit through the internal protocol. The central service unit notifies the user who subscribes to the alarm or issues the monitoring task of the analysis result through the SDK and the communication module 101.

[0067] Among them, the sub-process is the algorithm detection sub-module created by the task execution sub-module. The algorithm detection sub-module will automatically preload the model when it is created. The time consumption varies depending on the model size and product performance, generally (3-10 seconds); the task execution sub-module will be notified when the model is loaded and the model is calculated. At this time, if the algorithm detection sub-module cannot receive data for analysis, the video stream data received by the task execution sub-module will be directly discarded; if the algorithm detection sub-module model is loaded or the algorithm analysis is completed, the task execution sub-module will be notified. At this time, the idle algorithm detection sub-module receives the data and analyzes it.

[0068] It should be noted that the created algorithm detection submodule and task execution submodule are connected through asynchronous communication. This can avoid congestion caused by the algorithm detection submodule taking a certain amount of time to load the model and perform algorithm analysis, while the task execution submodule receives video data in real time.

[0069] In some embodiments of the present invention, when the first target subprocess uses the loaded algorithm to analyze the first camera data, it is used to: pre-process and pre-detect the first camera data in sequence to determine whether there is a detection target corresponding to the new task in the first camera data; if so, perform structured data analysis on the detection target, otherwise terminate the current round of algorithm analysis to make itself idle.

[0070] Among them, when the detection target is a dump truck, the structured data analysis of the detection target includes: detecting the license plate information, driver information, and vehicle information of the dump truck, wherein the license plate information includes at least one of the license plate number, license plate color, and whether it is blocked; the driver information includes whether the driver has improper driving operations, and improper driving operations include at least one of not wearing a seat belt and making or receiving phone calls; the vehicle information includes at least one of whether the vehicle is empty, whether the carriage is covered, and whether the garbage is spilled on the road.

[0071] Specifically, see Figure 5 , after receiving the on-demand video stream data, the main process (i.e., the task execution submodule) determines whether the subprocess is idle. If it is busy, it will be discarded directly. If it is idle, the video image data will be sent to the subprocess for data preprocessing and pre-detection. Among them, preprocessing can include key frame extraction (to reduce the amount of data while retaining the most important information for analysis), image enhancement (including deblurring the extracted key frames, noise elimination, contrast enhancement, etc., to eliminate irrelevant information in the image, restore useful real information, and enhance the visualization of relevant information, so that the analysis results are more accurate and reliable) and feature extraction (including extracting useful information from videos or images for subsequent data analysis and understanding). Taking the monitoring of muck trucks as an example, pre-detection mainly includes detecting whether there is a muck truck in the video key frames or images. If not, the main process is notified to continue sending the next round of data for analysis; if yes, the data is further structured for analysis, including the detected license plate information of the dump truck (license plate number, license plate color, whether it is blocked, etc.), driver information (whether the seat belt is fastened, whether the driver is making a phone call or performing other improper driving operations, etc.) and vehicle information (whether the vehicle is empty, whether the carriage is covered, whether the dump truck is spilled on the road, etc.), and the main process is notified of the analysis results.

[0072] In this embodiment, the video data or image data containing the dump truck is extracted through pre-detection before the next step of analysis, and other irrelevant vehicle information in the image is not analyzed, which can improve the overall detection efficiency.

[0073] In some embodiments of the present invention, the central service unit is also used to generate a test task according to the test instruction when receiving the test instruction sent by the remote terminal through the communication module; the video analysis service unit is also used to determine whether there is a second target sub-process for executing the test task when the test task is detected. If not, create a second target sub-process and determine the second target camera associated with the test task, receive the second camera data collected by the second target camera through the receiving module, analyze the second camera data through the second target sub-process, and send the analysis result to the remote terminal through the communication module; if it exists, after the second target sub-process completes the currently executed task, analyze the second camera data through the second target sub-process, and send the analysis result to the remote terminal through the communication module.

[0074] Specifically, in order to test the monitoring effect of the intelligent monitoring equipment 100, the intelligent monitoring equipment 100 can be tested. When testing is required, a test instruction can be issued through the process from the remote terminal to the communication module 101 to the Web service unit to the central service unit to the video analysis service unit, and the video analysis service unit immediately executes the test task after receiving the instruction. It should be noted that before the test, a camera data request can be issued to the intelligent monitoring equipment 100 through the remote terminal, and the intelligent monitoring equipment 100 can determine the second target camera according to the request, and transmit the camera data collected by the second target camera to the remote terminal through the reverse process of issuing the test instruction, so that the staff can watch it. When the staff finds that the engineering vehicle to be monitored (such as a muck truck) appears in the video, the above test instruction can be issued.

[0075] The staff can compare the manual monitoring results with the processing results of the test task. If the similarity between the two is greater than a preset threshold, for example, the accuracy of detecting the license plate information, driver information, and vehicle information of the dump truck is greater than the preset accuracy threshold, then it is determined that the monitoring effect of the intelligent monitoring equipment 100 is good and can be used for subsequent monitoring. Otherwise, the corresponding recognition model corresponding to the sub-process in the intelligent monitoring equipment 100 can be optimized to improve the recognition effect.

[0076] Among them, after the test task is completed, the test task can be destroyed. At this time, the user can click the view button on the remote terminal to see the analysis results of the current screen corresponding to the test task. It should be noted that the test task does not need to configure the task cycle. When the test task is detected, the test task will be executed. If the intelligent monitoring equipment 100 has other tasks being executed, the sub-process has been loaded, and the sub-process is the second target sub-process, the staff only needs to wait for the duration of the algorithm analysis to get the test results; if there are other tasks currently being executed, the sub-process has been loaded, and the sub-process is not the second target sub-process, or there is no task currently being executed, the staff needs to wait for the duration of creating the sub-process, loading the model and the algorithm analysis to get the test results.

[0077] In some embodiments of the present invention, before creating the first target sub-process or the second target sub-process, the video analysis service unit is further configured to: determine whether the number of sub-processes currently running is less than a preset number threshold.

[0078] Among them, the preset number threshold is the maximum number of sub-processes that can be executed by the intelligent monitoring equipment 100, which can be set according to actual monitoring needs, the performance of the intelligent monitoring equipment 100, etc. For example, for intelligent monitoring equipment 100 with many monitoring tasks, the preset number threshold can be set to a larger value to better meet the monitoring needs.

[0079] In some embodiments of the present invention, Figure 7 As shown, the intelligent monitoring equipment 100 may also include a security management module, a storage module, a data conversion module, a general message processing module, etc.

[0080] Among them, the security management module can perform security management on the transmission information transmitted by the software module 103 to the remote terminal; the storage module is used to store the processing data of the software module 103 (such as analysis results and corresponding camera data, etc.); the data conversion module can perform data conversion on the camera data received by the receiving module 102 for processing by the software module, and convert the control information output by the software module 102 (which may include the video channel information of the camera) for processing by the general message processing module; the general message processing module is used to trigger the corresponding camera to transmit the camera data to the receiving module 102 after receiving the converted control information.

[0081] The intelligent monitoring equipment of the embodiment of the present invention is directly based on the data of traffic cameras and checkpoint snapshot cameras on the "edge" side, by establishing algorithm detection models and related services, optimizing execution processes, and establishing self-monitoring management and remote update technologies, thereby improving resource utilization efficiency, saving traffic, and reducing labor costs.

[0082] Based on the target detection method of the above embodiment, the present invention also proposes an intelligent monitoring system.

[0083] like Figure 8 As shown, the intelligent monitoring system 1000 includes: a remote terminal 200, a plurality of cameras 300, and the intelligent monitoring equipment 100 of the above-mentioned embodiment.

[0084] In this embodiment, see Figure 8 , the number of intelligent monitoring equipment 100 can be multiple. When it is necessary to determine the execution status of the engineering task of the engineering vehicle, such as the watering section of the sprinkler truck, the frequency of watering in a week, etc., the engineering task (such as the sprinkler truck needs to sprinkle water once or twice every other day on section 1+section 2+section 3+section 4, and the optional watering time periods are time period 1 and time period 2) can be divided into multiple monitoring instructions (such as monitoring the watering situation of the sprinkler truck in time period 1 and time period 2) through the remote terminal 200. At the same time, the target intelligent monitoring equipment 100 and its corresponding monitoring instructions can be determined according to "section 1+section 2+section 3+section 4", and then the monitoring instructions are sent to the corresponding target intelligent monitoring equipment 100. Each target intelligent monitoring equipment 100 executes the monitoring task and sends the corresponding analysis results to the remote terminal 200. After one week, the remote terminal 200 can obtain the execution status of the engineering task of the sprinkler truck based on the analysis results received within one week. The entire process does not require the transmission of a large amount of video and image data to the remote terminal 200, saving traffic, and distributing the task to multiple intelligent monitoring equipment 100 for processing, which can reduce the complexity of data processing and reduce labor costs.

[0085] The intelligent monitoring system of the embodiment of the present invention places the intelligent analysis device in front. After completing the video and image analysis at the front end, it only needs to transmit the analysis result data (including images and recognition content) to the back end for processing through the network, which can greatly save traffic and reduce labor costs.

[0086] Fig. 9 It is a flow chart of a muck truck identification process method based on AI intelligent detection according to an embodiment of the present invention.

[0087] In this embodiment, the muck truck identification process method based on AI intelligent detection is used for the intelligent monitoring equipment in the above embodiment, such as Fig. 9 As shown, the method includes:

[0088] S91, receiving a monitoring instruction sent by a remote terminal, and generating information of tasks to be executed according to the monitoring instruction.

[0089] S92, when it is determined according to the information of the tasks to be executed that a new task of identifying a muck truck is generated and the current time is within the execution cycle of the new task, a first target subprocess for the new task is created and a first target camera associated with the new task is determined.

[0090] S93, receiving first video data collected by the first target camera, analyzing the first video data through the first target subprocess, and sending the analysis result to the remote terminal.

[0091] It should be noted that for other specific implementations of the muck truck identification process method based on AI intelligent detection in the embodiment of the present invention, reference can be made to the specific implementations of the intelligent monitoring equipment in the above-mentioned embodiment of the present invention.

[0092] The dump truck identification process method based on AI intelligent detection in the embodiment of the present invention places the intelligent analysis equipment in front. After completing the video and image analysis at the front end, it only needs to transmit the analysis result data (including images and identification content) to the back end through the network for processing, which can greatly save traffic and reduce labor costs.

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

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

[0095] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0096] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0097] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0098] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0099] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. An intelligent monitoring device, It is characterized in that include: A communication module, used for communicating with a remote terminal; A receiving module, used to connect to multiple cameras and receive the video data collected by each of the cameras; A software module, comprising a central service unit and a video analysis service unit, wherein the central service unit is connected to the communication module and the video analysis service unit respectively, and is used for generating task information to be executed according to the monitoring instruction when receiving the monitoring instruction sent by the remote terminal through the communication module, and the video analysis service unit is also connected to the receiving module, and is used for creating a first target subprocess for the new task and determining a first target camera associated with the new task when it is determined that a new task is generated according to the task information to be executed and the current time is within the execution cycle of the new task, and receiving first video data collected by the first target camera through the receiving module, and analyzing the first video data through the first target subprocess, and sending the analysis results to the remote terminal through the central service unit and the communication module in sequence, wherein the monitoring instruction is an instruction to monitor a target vehicle on a target road section during a target period, and the number of the first target subprocesses is determined according to the setting position and number of the first target cameras; The video analysis service unit includes a task detection submodule, a video management submodule and a task execution submodule; The task detection submodule is connected to the central service unit and is used to add the new task to the task execution list and send a notification to the task execution submodule when it is determined that a new task is generated according to the task information to be executed and the current time is within the execution cycle; The task execution submodule is connected to the central service unit, and is used for obtaining the new task from the task execution list after receiving the notification, creating the first target subprocess and determining the first target camera, and sending a video-on-demand instruction containing the ID of the first target camera to the video management submodule; when analyzing the first camera data through the first target subprocess, the task execution submodule is used to: determine that the first target subprocess is idle, and provide the first camera data currently received to the first target subprocess for analysis; wherein, the task execution submodule is also used to discard the first camera data currently received when the first target subprocess is not idle, and the first target subprocess being non-idle means that the first target subprocess is loading the algorithm corresponding to the new task or analyzing the first camera data using the loaded algorithm; The video management submodule is used to provide the first camera data collected by the first target camera to the task execution submodule according to the video on demand instruction, so that the task execution submodule analyzes the first camera data through the first target subprocess and sends the analysis result to the central service unit; Wherein, when there are multiple first target cameras, and multiple first target cameras collect video data of different angles in the same direction of the same road section, the first target sub-process first fuses the video data collected by the multiple first target cameras when processing the video data collected by the multiple first target cameras; when there are multiple first target cameras, and multiple first target cameras collect video data in two opposite directions of the same road section, the first target sub-process alternately processes the video data collected by the first target cameras in the two opposite directions; The video analysis service unit is also used for: when it is detected that the temperature of the intelligent monitoring equipment is greater than a first preset high temperature threshold, sending a first alarm message to the remote terminal through the central service unit and the communication module to make a suspension request, and suspending the monitoring work upon receiving the suspension permission information sent by the remote terminal; when it is detected that the temperature of the intelligent monitoring equipment is greater than a second preset high temperature threshold, sending a second alarm message to the remote terminal through the central service unit and the communication module, and directly suspending the work; when the temperature of the intelligent monitoring equipment is less than the preset temperature, restarting the monitoring work; wherein, the preset temperature is less than the first preset high temperature threshold and less than the second preset high temperature threshold.

2. The intelligent monitoring equipment according to claim 1, It is characterized in that When the video management submodule provides the first video data collected by the first target camera to the task execution submodule according to the video-on-demand instruction, the video management submodule is used to: Determine whether the first target camera has been on-demand according to the ID of the first target camera in the video-on-demand instruction, and if it has not been on-demand, open the video channel of the first target camera, and obtain the corresponding first camera data from the video channel of the first target camera through the receiving module and provide it to the task execution submodule.

3. The intelligent monitoring equipment according to claim 1, It is characterized in that When the first target subprocess analyzes the first camera data using the loaded algorithm, it is used to: Preprocessing and pre-detecting the first camera data in sequence to determine whether a detection target corresponding to the new task exists in the first camera data; If it exists, then structured data analysis is performed on the detection target, otherwise the current round of algorithm analysis is terminated to make itself idle.

4. The intelligent monitoring equipment according to claim 3, It is characterized in that When the detection target is a muck truck, the structured data analysis of the detection target includes: The license plate information, driver information, and vehicle information of the dump truck are detected, wherein the license plate information includes at least one of the license plate number, the license plate color, and whether it is blocked; the driver information includes whether the driver has improper driving operation, and the improper driving operation includes at least one of not wearing a seat belt and making or receiving phone calls; the vehicle information includes at least one of whether the vehicle is empty, whether the vehicle compartment is covered, and whether the dump is spilled on the road.

5. The intelligent monitoring equipment according to claim 1, It is characterized in that The task execution submodule is further used to close the first target subprocess and send a termination message to the video management submodule when the first target subprocess completes or fails to execute the new task; The video management submodule is further configured to determine whether there is an ongoing task associated with the first target camera when receiving the termination information, and close the video channel of the first target camera if there is no ongoing task associated with the first target camera.

6. The intelligent monitoring equipment according to claim 1, It is characterized in that The central service unit is further configured to generate a test task according to the test instruction when receiving the test instruction sent by the remote terminal through the communication module; The video analysis service unit is also used to determine whether there is a second target sub-process for executing the test task when the test task is detected. If not, the second target sub-process is created and the second target camera associated with the test task is determined, and the second camera data collected by the second target camera is received through the receiving module, and the second camera data is analyzed through the second target sub-process, and the analysis result is sent to the remote terminal through the communication module; if it exists, after the second target sub-process completes the currently executed task, the second camera data is analyzed through the second target sub-process, and the analysis result is sent to the remote terminal through the communication module.

7. The intelligent monitoring equipment according to claim 6, It is characterized in that Before creating the first target sub-process or the second target sub-process, the video analysis service unit is further used to: Determine whether the number of currently running child processes is less than a preset number threshold.

8. A muck truck identification process method based on AI intelligent detection, It is characterized in that The method is used for the intelligent monitoring equipment according to any one of claims 1 to 7, and the method comprises: Receiving a monitoring instruction sent by a remote terminal, and generating information of tasks to be executed according to the monitoring instruction; When it is determined according to the task information to be executed that a new task of identifying a muck truck is generated and the current time is within the execution cycle of the new task, a first target subprocess for the new task is created and a first target camera associated with the new task is determined; The first video data collected by the first target camera is received, the first video data is analyzed by the first target subprocess, and the analysis result is sent to the remote terminal.