Unmanned aerial vehicle traffic jam and personnel gathering detection method based on AI identification
By introducing AI recognition technology and advanced sensors into the UAV management system, combining fuzzy logic control and graph neural network, the problem of drone path planning and detection accuracy in complex environments is solved, and efficient traffic congestion and personnel gathering are achieved. Detection and predictive maintenance improve system flexibility and reliability.
Patent Information
- Application Number
- CN202411609907.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2044-11-12
AI Technical Summary
The existing UAV management system is difficult to deal with traffic congestion and gatherings in real time in complex environments. Traditional path planning and task scheduling methods are insufficient, detection accuracy is low, maintenance methods are lacking in flexibility, and it is difficult to deal with multi-objective detection and classification tasks.
Using AI recognition-based methods, combining multi-spectral cameras and lidar to obtain real-time data, multi-objective detection and classification through edge computing and cloud AI models, dynamically adjusting the UAV path and monitoring strategy using fuzzy logic control and particle swarm optimization algorithm , introduce graph neural networks for predictive maintenance, and use 5G communication and cloud computing to process large-scale data.
It significantly improves the detection efficiency and accuracy of drones in complex environments, can deal with traffic congestion and gatherings in real time, improves the accuracy of equipment failure prediction and maintenance flexibility, reduces false alarm rates and maintenance costs, and improves the System reliability and response speed.
Smart Images

Figure CN119152413A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method for detecting drone traffic congestion and personnel gathering based on AI recognition. Background Art
[0002] With the rapid development of drone technology, drones are increasingly used in traffic monitoring, disaster response, environmental monitoring and other fields. However, with the increase in the number of drones and the complexity of application scenarios, how to efficiently and accurately manage and monitor the flight of drones in complex environments has become a key issue. The current drone management system mainly relies on traditional flight control and monitoring technology. Although it can meet basic mission requirements, it still has many shortcomings when dealing with complex and changing environments. Especially in dynamic tasks such as traffic congestion and crowd gathering detection, the limitations of existing technologies are more obvious.
[0003] Existing drone management systems usually rely on preset flight paths and static task allocation. Although this method is simple and easy to use, it is often difficult to cope with dynamically changing environments in actual applications. During the execution of a mission, a drone may encounter sudden traffic jams or gatherings of people. Traditional static path planning and task scheduling methods are difficult to respond to these changes in real time, causing the drone to be stuck in traffic jams or unable to effectively cover the target area. In addition, traditional drone monitoring systems usually rely on limited sensor data and rule sets for anomaly detection. This method has low detection accuracy when facing complex and changing environments, and is prone to false positives or false negatives, which affects the performance of the drone's mission.
[0004] In terms of predictive maintenance of drones, existing technologies mostly adopt regular maintenance strategies based on fixed time intervals. Although this maintenance method can ensure the normal operation of drones to a certain extent, it also has obvious shortcomings. First, the regular maintenance method cannot timely reflect the real-time operating status of the equipment, resulting in some potential faults not being discovered in time, increasing the risk of equipment failure. Secondly, the regular maintenance method lacks flexibility and is prone to excessive maintenance or untimely maintenance, which not only increases maintenance costs, but may also cause equipment damage or even mission failure due to untimely maintenance.
[0005] In addition, in the multi-target detection and classification tasks of drones, existing technologies mainly rely on traditional computer vision algorithms, such as Sobel edge detection and Hough transform. Although these methods perform well in simple scenes, their performance significantly decreases in complex scenes, especially when multiple targets are densely packed and severely occluded. Traditional methods have difficulty effectively distinguishing overlapping targets or handling simultaneous detection and classification tasks of multiple types of targets, resulting in insufficient accuracy and reliability of detection results.
[0006] Most current UAV path planning technologies use traditional algorithms, such as the A* algorithm and the Dijkstra algorithm. These algorithms can provide better path planning solutions in simple scenarios, but they often show limitations when faced with multiple targets, complex environments, and dynamically changing scenarios. Traditional algorithms are usually unable to consider dynamic changes in the environment in real time, such as traffic conditions, sudden obstacles, etc., which makes path planning inflexible and difficult to adapt to the real-time needs of UAVs in complex environments. In addition, traditional path planning algorithms also have shortcomings in terms of computational complexity and resource consumption, especially in large-scale scenarios or high-density environments. Traditional algorithms are difficult to quickly generate effective path planning solutions.
[0007] Based on the above problems, with the development of artificial intelligence technology, more and more studies have begun to apply AI technology to the management and monitoring of drones. However, existing AI applications are mostly focused on specific tasks or scenarios, lacking systematicity and integration. For example, in multi-target detection and classification, although some studies have introduced deep learning technologies such as convolutional neural networks, these methods can often only handle single tasks or small-scale scenarios and cannot effectively cope with large-scale, multi-task complex environments. At the same time, in terms of path planning and task scheduling, existing AI applications are mostly focused on a single optimization goal, such as the shortest path or the lowest energy consumption, and lack comprehensive optimization of multiple objectives and multiple constraints.
[0008] Therefore, how to provide a method for detecting drone traffic congestion and crowd gathering based on AI recognition is an urgent problem that technicians in this field need to solve. Summary of the invention
[0009] One purpose of the present invention is to propose a method for detecting traffic congestion and gathering of people by drones based on AI recognition. The present invention combines advanced technologies such as AI recognition technology, intelligent scheduling algorithm, and graph neural network, and optimizes the path planning, task scheduling, and equipment maintenance of drones in complex environments, significantly improving the efficiency and accuracy of drones in multi-target detection, fault prediction, and real-time monitoring. By adopting fuzzy logic control and particle swarm optimization algorithm, the present invention realizes the dynamic adjustment of drone paths and the intelligent generation of maintenance suggestions, and has the advantages of high efficiency, safety, and strong adaptability, and can better cope with complex and changing mission environments.
[0010] According to an embodiment of the present invention, a method for detecting drone traffic congestion and personnel gathering based on AI recognition includes the following steps: S1. Use drones equipped with multispectral cameras and lidar to obtain real-time video and three-dimensional spatial data of the target area and build a data set; S2: Perform edge computing locally on the drone to preliminarily process the data set and extract key features of vehicles, people, and obstacles. S3, transmit the extracted key features to the cloud server in real time through the 5G network, combine historical data for large-scale data analysis and modeling, and build and optimize the AI model; S4. Use the optimized AI model to perform multi-target detection and classification on the received key features, identify and mark traffic congestion and crowd gathering in the area, and generate multi-target detection results; S5. Based on the multi-target detection results, the intelligent scheduling algorithm of fuzzy logic control and particle swarm optimization is used to optimize the flight path and monitoring strategy of the drone in real time, and global scheduling optimization is performed in combination with the status of airport resources and mission requirements; S6. Through the AI-driven predictive maintenance module, the operating status of the drone is continuously monitored, and the graph neural network and adaptive boosting algorithm are used to identify possible equipment failures in advance and issue maintenance recommendations; S7, combined with the intelligent warning system, monitors the flight status and recognition results of the drone in real time, triggers an alarm when an abnormal situation is detected, and notifies the operator to intervene; S8. Display the recognition results and analysis reports through a visual interface, and provide task progress tracking and adjustment functions.
[0011] Optionally, the S2 specifically includes: S21. Preprocess the data sets obtained from the multispectral camera and lidar through the edge computing unit carried by the drone, including data format conversion, noise filtering and redundant data removal; S22, in the preprocessed data set, using a weighted average filter to smooth the video data and the three-dimensional space data to reduce high-frequency noise and sudden abnormal values in the data to ensure the stability and reliability of the data; S23, through the feature extraction algorithm based on gray level co-occurrence matrix, the texture analysis is performed on the pre-processed video data to extract the surface texture features of vehicles, people and obstacles ,in represents the i-th texture feature extracted from the image; S24. Use the edge detection algorithm based on the Sobel operator to detect the edge of the target in the video data, extract the contour features of the target, and extract the straight line and circle features through the Hough transform ,in represents the i-th feature extracted from edge detection; S25. For lidar data, an improved RANSAC algorithm combined with weighted least squares method is used to perform plane fitting to extract the shape features of vehicles, people and obstacles from the three-dimensional space data. ,in Represents the i-th shape feature extracted from the point cloud data, and separates different targets through point cloud segmentation technology to generate a 3D contour point cloud for each target: ; Where P represents the point cloud dataset, a, b, c and d represent the coefficients of the fitted plane, Represents the weight of a point (x, y, z): ; in, and represents the adjustment parameter, Represents the local density of a point (x, y, z) in a point cloud.
[0012] Optionally, the S3 specifically includes: S31, transmit key feature data extracted from the local edge computing unit of the drone to the cloud server in real time through the 5G network; S32. On the cloud server, the received feature data is stored in real time, and the data sharding technology is used to manage large-scale data. The data sharding matrix S=\left [ {{s}_{ij}} \right ] is defined. ,in Indicates the jth storage location of the i-th data block after sharding, and calculates the storage index of the data block through the hash function H: ; in, Represents a data block The hash value of , N represents the total number of storage nodes; S33. On the cloud server, the received feature data is clustered and analyzed in combination with historical data. The density-based clustering algorithm is used to perform preliminary clustering of vehicles, personnel and obstacles. The clusters after clustering are defined as , where k represents the number of the cluster: ; in, Indicates is the center and the radius is Neighborhood, MinPts represents the minimum number of samples in the cluster; S34. Based on the clustering results, the feature data is input into an AI model based on a graph convolutional neural network combined with a self-attention mechanism for large-scale data modeling, and the input matrix Z=\left [ {{z}_{mn}} \right ] of the AI model is constructed. ,in Represents clusters The core formula for updating the nth eigenvalue in is: ; in, Indicates The feature matrix of the layer, Indicates The weight matrix of the layer, A represents the adjacency matrix of the graph, represents the query matrix in the self-attention mechanism, represents the key matrix in the self-attention mechanism, represents the activation function; S35. Use historical data from cloud servers to optimize the AI model training, and combine it with a multi-task learning framework to use a multi-objective evolutionary algorithm to optimize the model's hyperparameters. Perform joint optimization: ; in, , and represents the weight coefficient, Accuracy represents the accuracy of the AI model, F1-score represents the F1 score of the AI model, and Complexity represents the complexity measurement function of the AI model; S36. Save the optimized AI model to the cloud server.
[0013] Optionally, the S4 specifically includes: S41, load the optimized AI model received from the cloud server into the computing environment, input the transmitted key feature data into the input layer of the model, and construct the feature matrix X=\left [ {{x}_{ij}} \right ] , Where represents the jth eigenvalue of the i-th sample; S42. In the middle layer of the AI model, a multi-layer convolutional neural network is applied for feature extraction, and local patterns of feature data are extracted through convolution operations; S43. During the classification process, each target category is weightedly classified by an adaptive weighted classifier. The classifier dynamically adjusts the weight according to the diversity of input features and the imbalance between classes. The calculation formula of the classification probability vector is: ; in, represents the adaptive weight for the i-th class, Indicates the classification score corresponding to the input feature: ; in, represents the adjustment parameter, represents the number of samples in the i-th category, represents the mean of the overall classification score; S44. After target detection, overlapping detection frames are filtered using a non-maximum suppression algorithm based on a non-linear suppression factor. A non-linear suppression factor is introduced on the basis of the traditional non-maximum suppression algorithm to better retain high-confidence detection frames: ; in, and Represents two detection boxes, represents the adjustment parameter of the inhibitory factor, The adjustment parameter representing the area difference, and Represents the area of the detection box, and IoU represents the intersection over union ratio of two detection boxes. This factor effectively suppresses overlapping detection boxes with low confidence and large area differences, thereby improving the accuracy of the detection results; S45, output the multi-target detection results processed by the non-maximum suppression algorithm of the nonlinear suppression factor, generate the final target recognition and classification results, and annotate the detection results, and define the target category label set as ,in Represents the category label of the i-th detection target; S46, transmitting the labeled multi-target detection results to the visualization module of the system.
[0014] Optionally, the S5 specifically includes: S51. Take the multi-target detection results as input to construct a multi-target optimization path planning problem. The objective function Including path length, obstacle avoidance safety and resource utilization: ; in, Indicates the path In time Length, represents the risk level of the rth obstacle, represents the minimum distance between the obstacle and the drone path, represents a small amount that prevents the denominator from being zero, represents the parameter controlling the risk weight, represents the total path planning time, Indicates the total number of obstacles; S52. In the particle swarm optimization algorithm, each particle represents a flight path plan, and the position update adopts nonlinear dynamic equations and combines environmental disturbances and historical optimal path information: ; in, represents particle j at position The state function at represents the potential energy function between the particle position and the global optimal position, represents the adjustment factor, It represents the time step. The formula realizes the dynamic tuning of particle swarm by combining the dynamic change of particle state with the guidance of potential energy function. S53. Introduce an adaptive acceleration mechanism based on fuzzy membership function in the particle swarm optimization algorithm to dynamically adjust the acceleration factor according to the complexity and convergence trend of the current path. and : ; in, Indicates the path The complexity membership function of represents the current convergence rate, represents the reference convergence rate, represents the adjustment parameter, It represents the adjusted acceleration factor. The adaptive mechanism realizes the dynamic adjustment of the acceleration factor by combining the path complexity and convergence characteristics. S54: In each iteration, the update mechanism of S52 and the adaptive acceleration mechanism of S53 are used to update the speed and position of the particles until the convergence condition is met or the preset maximum number of iterations is reached, and the optimal flight path solution is obtained. ; S55. Optimal flight path plan As a result of the UAV's flight path planning, the UAV's flight path is updated in real time, and the monitoring strategy is dynamically adjusted according to mission requirements and environmental changes.
[0015] Optionally, the S6 specifically includes: S61. Construct a graph structure G=(V,E), where V represents the set of sensor nodes, E represents the set of edges between nodes, and each node Represents a sensor data feature, each Representation Node and nodes The correlation between S62. Build a graph neural network model to extract global features of the sensor network, update node features, and extract global feature vectors ; S63. Extract the global feature vector from the graph neural network Input into a Gaussian process-based adaptive boosting algorithm for fault prediction, using Gaussian process as the basis function for adaptive enhancement: ; Where X represents the input feature vector, represents the t-th Gaussian process basis function, represents the weight coefficient; S64. Kernel function of Gaussian process basis function for: ; in, represents the signal variance, represents the characteristic length scale matrix, represents the noise variance, represents the Dirac delta function; S65. Calculate the fault prediction probability of each sensor node through the GP-Boosting algorithm , and according to the set fault threshold Make a judgment: ; in, represents the cumulative distribution function of the standard normal distribution, represents the mean of the fault prediction values, represents the standard deviation of the fault prediction value, if , then the decision node There is a potential fault and maintenance recommendations are issued; S66. Summarize the fault prediction results of all nodes and generate an overall health status assessment report of the UAV, which includes possible fault nodes, fault types, and recommended maintenance measures.
[0016] The beneficial effects of the present invention are: First, the present invention realizes efficient processing and key feature extraction of real-time video and three-dimensional spatial data by introducing advanced sensors such as multispectral cameras and lidars, combined with edge computing technology. Compared with traditional static path planning and task scheduling methods, the intelligent scheduling algorithm combining fuzzy logic control and particle swarm optimization adopted by the present invention can optimize the flight path and monitoring strategy of drones in real time in a dynamic environment, effectively respond to sudden traffic congestion and crowd gathering, and ensure efficient execution of tasks.
[0017] In addition, by introducing graph neural networks and adaptive boosting algorithms, the present invention significantly improves the accuracy and timeliness of equipment failure prediction. The application of graph neural networks enables drones to capture complex correlations between sensor data, while the adaptive boosting algorithm enhances sensitivity to abnormal situations and prediction accuracy by dynamically adjusting the weights of the model. Compared with traditional regular maintenance methods, this predictive maintenance mechanism is more flexible and efficient. It can identify potential equipment failures in advance, reduce the probability of failures, extend the service life of equipment, and reduce maintenance costs and the risk of mission interruption.
[0018] The present invention also solves the problem of large-scale data transmission and storage by combining 5G communication technology and cloud computing, ensuring the data processing capability of drones in complex environments. The introduction of multi-task learning framework and multi-objective evolutionary algorithm enables AI models to be adaptively optimized in complex and changeable mission scenarios, improving the efficiency and accuracy of multi-target detection and classification. Especially when dealing with scenes with dense multi-targets and severe occlusion, the present invention significantly enhances the model's ability to distinguish different targets and detection accuracy by combining graph convolutional neural networks with self-attention mechanisms. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings: Figure 1 This is a flow chart of a method for detecting drone traffic congestion and personnel gathering based on AI recognition proposed by the present invention; Figure 2 A schematic diagram of multi-target detection and classification for an AI model of a method for detecting drone traffic congestion and gathering of people based on AI recognition proposed by the present invention; Figure 3 This is a real-time optimization flowchart of the drone flight path and monitoring strategy of the drone traffic congestion and personnel gathering detection method based on AI recognition proposed by the present invention. DETAILED DESCRIPTION
[0020] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.
[0021] refer to Figure 1-3 , a drone traffic congestion and personnel gathering detection method based on AI recognition, comprising the following steps: S1. Use drones equipped with multispectral cameras and lidar to obtain real-time video and three-dimensional spatial data of the target area and build a data set; S2: Perform edge computing locally on the drone to preliminarily process the data set and extract key features of vehicles, people, and obstacles. S3, transmit the extracted key features to the cloud server in real time through the 5G network, combine historical data for large-scale data analysis and modeling, and build and optimize the AI model; S4. Use the optimized AI model to perform multi-target detection and classification on the received key features, identify and mark traffic congestion and crowd gathering in the area, and generate multi-target detection results; S5. Based on the multi-target detection results, the intelligent scheduling algorithm of fuzzy logic control and particle swarm optimization is used to optimize the flight path and monitoring strategy of the drone in real time, and global scheduling optimization is performed in combination with the status of airport resources and mission requirements; S6. Through the AI-driven predictive maintenance module, the operating status of the drone is continuously monitored, and the graph neural network and adaptive boosting algorithm are used to identify possible equipment failures in advance and issue maintenance recommendations; S7, combined with the intelligent warning system, monitors the flight status and recognition results of the drone in real time, triggers an alarm when an abnormal situation is detected, and notifies the operator to intervene; S8. Display the recognition results and analysis reports through a visual interface, and provide task progress tracking and adjustment functions.
[0022] In this implementation, S2 specifically includes: S21. Preprocess the data sets obtained from the multispectral camera and lidar through the edge computing unit carried by the drone, including data format conversion, noise filtering and redundant data removal; S22, in the preprocessed data set, using a weighted average filter to smooth the video data and the three-dimensional space data to reduce high-frequency noise and sudden abnormal values in the data to ensure the stability and reliability of the data; S23, through the feature extraction algorithm based on gray level co-occurrence matrix, the texture analysis is performed on the pre-processed video data to extract the surface texture features of vehicles, people and obstacles ,in represents the i-th texture feature extracted from the image; S24. Use the edge detection algorithm based on the Sobel operator to detect the edge of the target in the video data, extract the contour features of the target, and extract the straight line and circle features through the Hough transform ,in represents the i-th feature extracted from edge detection; S25. For lidar data, an improved RANSAC algorithm combined with weighted least squares method is used to perform plane fitting to extract the shape features of vehicles, people and obstacles from the three-dimensional space data. ,in Represents the i-th shape feature extracted from the point cloud data, and separates different targets through point cloud segmentation technology to generate a 3D contour point cloud for each target: ; Where P represents the point cloud dataset, a, b, c and d represent the coefficients of the fitted plane, Represents the weight of a point (x, y, z): ; in, and represents the adjustment parameter, Represents the local density of a point (x, y, z) in a point cloud.
[0023] In this implementation, S3 specifically includes: S31, transmit key feature data extracted from the local edge computing unit of the drone to the cloud server in real time through the 5G network; S32. On the cloud server, the received feature data is stored in real time, and the data sharding technology is used to manage large-scale data. The data sharding matrix S=\left [ {{s}_{ij}} \right ] is defined. ,in Indicates the jth storage location of the i-th data block after sharding, and calculates the storage index of the data block through the hash function H: ; in, Represents a data block The hash value of , N represents the total number of storage nodes; S33. On the cloud server, the received feature data is clustered and analyzed in combination with historical data. The density-based clustering algorithm is used to perform preliminary clustering of vehicles, personnel and obstacles. The clusters after clustering are defined as , where k represents the number of the cluster: ; in, Indicates is the center and the radius is Neighborhood, MinPts represents the minimum number of samples in the cluster; S34. Based on the clustering results, the feature data is input into an AI model based on a graph convolutional neural network combined with a self-attention mechanism for large-scale data modeling, and the input matrix Z=\left [ {{z}_{mn}} \right ] of the AI model is constructed. ,in Represents clusters The core formula for updating the nth eigenvalue in is: ; in, Indicates The feature matrix of the layer, Indicates The weight matrix of the layer, A represents the adjacency matrix of the graph, represents the query matrix in the self-attention mechanism, represents the key matrix in the self-attention mechanism, represents the activation function; S35. Use historical data from cloud servers to optimize the AI model training, and combine it with a multi-task learning framework to use a multi-objective evolutionary algorithm to optimize the model's hyperparameters. Perform joint optimization: ; in, , and represents the weight coefficient, Accuracy represents the accuracy of the AI model, F1-score represents the F1 score of the AI model, and Complexity represents the complexity measurement function of the AI model; S36. Save the optimized AI model to the cloud server.
[0024] In this implementation manner, the S4 specifically includes: S41, load the optimized AI model received from the cloud server into the computing environment, input the transmitted key feature data into the input layer of the model, and construct the feature matrix X=\left [ {{x}_{ij}} \right ] , Where represents the jth eigenvalue of the i-th sample; S42. In the middle layer of the AI model, a multi-layer convolutional neural network is applied for feature extraction, and local patterns of feature data are extracted through convolution operations; S43. During the classification process, each target category is weightedly classified by an adaptive weighted classifier. The classifier dynamically adjusts the weight according to the diversity of input features and the imbalance between classes. The calculation formula of the classification probability vector is: ; in, represents the adaptive weight for the i-th class, Indicates the classification score corresponding to the input feature: ; in, represents the adjustment parameter, represents the number of samples in the i-th category, represents the mean of the overall classification score; S44. After target detection, overlapping detection frames are filtered using a non-maximum suppression algorithm based on a non-linear suppression factor. A non-linear suppression factor is introduced on the basis of the traditional non-maximum suppression algorithm to better retain high-confidence detection frames: ; in, and Represents two detection boxes, represents the adjustment parameter of the inhibitory factor, The adjustment parameter representing the area difference, and Represents the area of the detection box, and IoU represents the intersection over union ratio of two detection boxes. This factor effectively suppresses overlapping detection boxes with low confidence and large area differences, thereby improving the accuracy of the detection results; S45, output the multi-target detection results processed by the non-maximum suppression algorithm of the nonlinear suppression factor, generate the final target recognition and classification results, and annotate the detection results, and define the target category label set as ,in Represents the category label of the i-th detection target; S46, transmitting the labeled multi-target detection results to the visualization module of the system.
[0025] In this implementation manner, S5 specifically includes: S51. Take the multi-target detection results as input to construct a multi-target optimization path planning problem. The objective function Including path length, obstacle avoidance safety and resource utilization: ; in, Indicates the path In time Length, represents the risk level of the rth obstacle, represents the minimum distance between the obstacle and the drone path, represents a small amount that prevents the denominator from being zero, represents the parameter controlling the risk weight, represents the total path planning time, Indicates the total number of obstacles; S52. In the particle swarm optimization algorithm, each particle represents a flight path plan, and the position update adopts nonlinear dynamic equations and combines environmental disturbances and historical optimal path information: ; in, represents particle j at position The state function at represents the potential energy function between the particle position and the global optimal position, represents the adjustment factor, It represents the time step. The formula realizes the dynamic tuning of particle swarm by combining the dynamic change of particle state with the guidance of potential energy function. S53. Introduce an adaptive acceleration mechanism based on fuzzy membership function in the particle swarm optimization algorithm to dynamically adjust the acceleration factor according to the complexity and convergence trend of the current path. and : ; in, Indicates the path The complexity membership function of represents the current convergence rate, represents the reference convergence rate, represents the adjustment parameter, It represents the adjusted acceleration factor. The adaptive mechanism realizes the dynamic adjustment of the acceleration factor by combining the path complexity and convergence characteristics. S54: In each iteration, the update mechanism of S52 and the adaptive acceleration mechanism of S53 are used to update the speed and position of the particles until the convergence condition is met or the preset maximum number of iterations is reached, and the optimal flight path solution is obtained. ; S55. Optimal flight path plan As a result of the UAV's flight path planning, the UAV's flight path is updated in real time, and the monitoring strategy is dynamically adjusted according to mission requirements and environmental changes.
[0026] In this implementation manner, S6 specifically includes: S61. Construct a graph structure G=(V,E), where V represents the set of sensor nodes, E represents the set of edges between nodes, and each node Represents a sensor data feature, each Representation Node and nodes The correlation between S62. Build a graph neural network model to extract global features of the sensor network, update node features, and extract global feature vectors ; S63. Extract the global feature vector from the graph neural network Input into a Gaussian process-based adaptive boosting algorithm for fault prediction, using Gaussian process as the basis function for adaptive enhancement: ; Where X represents the input feature vector, represents the t-th Gaussian process basis function, represents the weight coefficient; S64. Kernel function of Gaussian process basis function for: ; in, represents the signal variance, represents the characteristic length scale matrix, represents the noise variance, represents the Dirac delta function; S65. Calculate the fault prediction probability of each sensor node through the GP-Boosting algorithm , and according to the set fault threshold Make a judgment: ; in, represents the cumulative distribution function of the standard normal distribution, represents the mean of the fault prediction values, represents the standard deviation of the fault prediction value, if , then the decision node There is a potential fault and maintenance recommendations are issued; S66. Summarize the fault prediction results of all nodes and generate an overall health status assessment report of the UAV, which includes possible fault nodes, fault types, and recommended maintenance measures.
[0027] Embodiment 1: In order to verify the feasibility of the present invention in implementation, the present invention is applied to a busy road section in the city center. This road section has many intersections, heavy traffic volume, and is prone to traffic jams during rush hours. At the same time, due to the concentration of commercial and office spaces in the area, large-scale gatherings of people often occur, which poses a great challenge to traffic management. Traditional traffic monitoring systems are difficult to accurately obtain global information in a short period of time due to limited viewing angles and untimely responses, making it difficult to effectively manage emergencies, affecting the smoothness of traffic flow and the safety of personnel.
[0028] During the morning rush hour, drones equipped with multispectral cameras and lidar equipment flew 100 meters above the road, covering an area of about 5 square kilometers. The drones acquired real-time video and three-dimensional spatial data on the road, and performed preliminary processing locally to extract key features of vehicles and people. These feature data were transmitted to the cloud server in real time via the 5G network. Combined with historical data, the cloud server used deep learning models for large-scale analysis and modeling.
[0029] Through multi-target detection and classification of cloud-based AI models, the drone identified multiple traffic jams and areas where people gathered. At this time, 10 kilometers away from the area, another group of drones was monitoring the traffic flow and crowd dynamics in the area. Through fuzzy logic control and particle swarm optimization algorithms, the system can dynamically adjust the flight path of the drone based on real-time detection results, and optimize monitoring strategies for different levels of traffic congestion and density of people gathering. In high-risk areas, drones are instructed to lower their flight altitudes to provide more detailed images and data support, while in low-risk areas, the coverage frequency is reduced by adjusting the path to save resources.
[0030] ; Table 1 compares the key data and effect indicators of the conventional technology and the present invention in drone traffic congestion and crowd gathering detection in detail. It can be seen from the comparison that the present invention has significant advantages in many aspects.
[0031] First, in terms of the detection of traffic jams and crowded areas, the present invention significantly increases the number of detections. Specifically, the present invention can detect 10 traffic jams and 3 crowded areas, which are 67% and 200% higher than the traditional technology, respectively. This shows that the present invention has greatly improved the detection accuracy and coverage in complex environments.
[0032] Secondly, the present invention has significant advantages in data processing capabilities. By utilizing 5G communication and cloud computing technology, the present invention can process 10TB of data, while traditional technology can only process 2TB of data, increasing the data processing capacity by 400%. This improvement in capabilities enables the present invention to better cope with the real-time data processing needs in large-scale and complex environments.
[0033] In terms of the application of AI models, the present invention not only achieves multiple dynamic optimizations, but also significantly improves the detection accuracy from 75% of traditional technologies to 90% through a multi-task learning framework and a multi-objective evolutionary algorithm, while reducing the false alarm rate from 20% to 5%, an increase of 15% and a decrease of 75% respectively. These improvements significantly reduce unnecessary interventions caused by false alarms and improve the reliability of the overall system.
[0034] In terms of the response speed and path planning of drones, the present invention realizes the real-time optimization of drone flight paths and monitoring strategies through fuzzy logic control and particle swarm optimization algorithm. The results show that the relief time of congestion points is shortened from the traditional 30 minutes to 15 minutes, and the response time is reduced from 20 minutes to 5 minutes, which are shortened by 50% and 75% respectively. This rapid response capability greatly improves the efficiency of the system.
[0035] In addition, the present invention also realizes predictive maintenance of drones through graph neural networks and adaptive boosting algorithms. Data shows that the equipment failure rate in traditional technologies is 10%, while the present invention did not have any failures during the mission execution, and there were 2 successful cases of predictive maintenance, which completely avoided mission interruptions caused by equipment failures. This improvement not only improves the reliability of drones, but also reduces maintenance costs.
[0036] Finally, the present invention also demonstrated its effectiveness in handling crowd gathering events. Through accurate identification and real-time monitoring, the present invention successfully prevented a potential safety accident, further verifying its superiority in complex dynamic environments.
[0037] In summary, it can be clearly seen from Table 1 that the performance of the present invention in drone traffic congestion and personnel gathering detection far exceeds that of traditional technologies, especially in terms of detection accuracy, response speed, data processing capability and equipment reliability, showing great improvements and innovations, and providing strong technical support for drone applications in complex environments.
[0038] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for detecting drone traffic congestion and personnel gathering based on AI recognition, characterized in that: The steps include: S1. Use drones equipped with multispectral cameras and lidar to obtain real-time video and three-dimensional spatial data of the target area and build a data set; S2: Perform edge computing locally on the drone to preliminarily process the data set and extract key features of vehicles, people, and obstacles. S3, transmit the extracted key features to the cloud server in real time through the 5G network, combine historical data for large-scale data analysis and modeling, and build and optimize the AI model; S4. Use the optimized AI model to perform multi-target detection and classification on the received key features, identify and mark traffic congestion and crowd gathering in the area, and generate multi-target detection results; S5. Based on the multi-target detection results, the intelligent scheduling algorithm of fuzzy logic control and particle swarm optimization is used to optimize the flight path and monitoring strategy of the drone in real time, and global scheduling optimization is performed in combination with the status of airport resources and mission requirements; S6. Through the AI-driven predictive maintenance module, the operating status of the drone is continuously monitored, and the graph neural network and adaptive boosting algorithm are used to identify possible equipment failures in advance and issue maintenance recommendations; S7, combined with the intelligent warning system, monitors the flight status and recognition results of the drone in real time, triggers an alarm when an abnormal situation is detected, and notifies the operator to intervene; S8. Display the recognition results and analysis reports through a visual interface, and provide task progress tracking and adjustment functions.
2. According to the method for detecting drone traffic congestion and personnel gathering based on AI recognition according to claim 1, it is characterized in that: The S2 specifically includes: S21. Preprocess the data sets obtained from the multispectral camera and lidar through the edge computing unit carried by the drone, including data format conversion, noise filtering and redundant data removal; S22, in the preprocessed data set, using a weighted average filter to smooth the video data and the three-dimensional space data; S23, through the feature extraction algorithm based on gray level co-occurrence matrix, the texture analysis is performed on the pre-processed video data to extract the surface texture features of vehicles, people and obstacles ,in represents the i-th texture feature extracted from the image; S24. Use the edge detection algorithm based on the Sobel operator to detect the edge of the target in the video data, extract the contour features of the target, and extract the straight line and circle features through the Hough transform ,in represents the i-th feature extracted from edge detection; S25. For lidar data, an improved RANSAC algorithm combined with weighted least squares method is used to perform plane fitting to extract the shape features of vehicles, people and obstacles from the three-dimensional space data. ,in Represents the i-th shape feature extracted from the point cloud data, and separates different targets through point cloud segmentation technology to generate a 3D contour point cloud for each target: ; Where P represents the point cloud dataset, a, b, c and d represent the coefficients of the fitted plane, Represents the weight of a point (x, y, z): ; in, and represents the adjustment parameter, Represents the local density of a point (x, y, z) in a point cloud.
3. The method for detecting drone traffic congestion and personnel gathering based on AI recognition according to claim 1 is characterized in that: The S3 specifically includes: S31, transmit key feature data extracted from the local edge computing unit of the drone to the cloud server in real time through the 5G network; S32. On the cloud server, the received feature data is stored in real time, and the data sharding technology is used to manage large-scale data and define the data sharding matrix. ,in Indicates the jth storage location of the i-th data block after sharding, and calculates the storage index of the data block through the hash function H: ; in, Represents a data block The hash value of , N represents the total number of storage nodes; S33. On the cloud server, the received feature data is clustered and analyzed in combination with historical data. The density-based clustering algorithm is used to perform preliminary clustering of vehicles, personnel and obstacles. The clusters after clustering are defined as , where k represents the number of the cluster: ; in, Indicates is the center and the radius is Neighborhood, MinPts represents the minimum number of samples in the cluster; S34. Based on the clustering results, the feature data is input into an AI model based on a graph convolutional neural network combined with a self-attention mechanism for large-scale data modeling, and the input matrix of the AI model is constructed. ,in Represents clusters The core formula for updating the nth eigenvalue in is: ; in, Indicates The feature matrix of the layer, Indicates The weight matrix of the layer, A represents the adjacency matrix of the graph, represents the query matrix in the self-attention mechanism, represents the key matrix in the self-attention mechanism, represents the activation function; S35. Use historical data from cloud servers to optimize the AI model and combine it with a multi-task learning framework to use a multi-objective evolutionary algorithm to optimize the model’s hyperparameters. Perform joint optimization: ; in, , and represents the weight coefficient, Accuracy represents the accuracy of the AI model, F1-score represents the F1 score of the AI model, and Complexity represents the complexity measurement function of the AI model; S36. Save the optimized AI model to the cloud server.
4. The method for detecting drone traffic congestion and personnel gathering based on AI recognition according to claim 1 is characterized in that: The S4 specifically includes: S41, load the optimized AI model received from the cloud server into the computing environment, and input the transmitted key feature data into the input layer of the model to construct the feature matrix , Where represents the jth eigenvalue of the i-th sample; S42. In the middle layer of the AI model, a multi-layer convolutional neural network is applied for feature extraction, and local patterns of feature data are extracted through convolution operations; S43. During the classification process, each target category is weightedly classified by an adaptive weighted classifier. The classifier dynamically adjusts the weight according to the diversity of input features and the imbalance between classes. The calculation formula of the classification probability vector is: ; in, represents the adaptive weight for the i-th class, Indicates the classification score corresponding to the input feature: ; in, represents the adjustment parameter, represents the number of samples in the i-th category, represents the mean of the overall classification score; S44. After target detection, overlapping detection frames are filtered using a non-maximum suppression algorithm based on a nonlinear suppression factor: ; in, and Represents two detection boxes, represents the adjustment parameter of the inhibitory factor, The adjustment parameter representing the area difference, and Represents the area of the detection box, and IoU represents the intersection-over-union ratio of two detection boxes; S45, output the multi-target detection results processed by the non-maximum suppression algorithm of the nonlinear suppression factor, generate the final target recognition and classification results, and annotate the detection results, and define the target category label set as ,in Represents the category label of the i-th detection target; S46, transmitting the labeled multi-target detection results to the visualization module of the system.
5. The method for detecting drone traffic congestion and personnel gathering based on AI recognition according to claim 1 is characterized in that: The S5 specifically includes: S51. Take the multi-target detection results as input to construct a multi-target optimization path planning problem. The objective function Including path length, obstacle avoidance safety and resource utilization: ; in, Indicates the path In time Length, represents the risk level of the rth obstacle, represents the minimum distance between obstacles and the drone path, represents a small amount that prevents the denominator from being zero, represents the parameter controlling the risk weight, represents the total path planning time, Indicates the total number of obstacles; S52. In the particle swarm optimization algorithm, each particle represents a flight path plan, and the position update adopts nonlinear dynamic equations and combines environmental disturbances and historical optimal path information: ; in, represents particle j at position The state function at represents the potential energy function between the particle position and the global optimal position, represents the adjustment factor, represents the time step; S53. Introduce an adaptive acceleration mechanism based on fuzzy membership function in the particle swarm optimization algorithm to dynamically adjust the acceleration factor according to the complexity and convergence trend of the current path. and : ; in, Indicates the path The complexity membership function of represents the current convergence rate, represents the reference convergence rate, represents the adjustment parameter, represents the adjusted acceleration factor; S54: In each iteration, the update mechanism of S52 and the adaptive acceleration mechanism of S53 are used to update the speed and position of the particles until the convergence condition is met or the preset maximum number of iterations is reached, and the optimal flight path solution is obtained. ; S55. Optimal flight path plan As a result of the UAV's flight path planning, the UAV's flight path is updated in real time, and the monitoring strategy is dynamically adjusted according to mission requirements and environmental changes.
6. The method for detecting drone traffic congestion and personnel gathering based on AI recognition according to claim 1 is characterized in that: The S6 specifically includes: S61. Construct a graph structure G=(V,E), where V represents the set of sensor nodes, E represents the set of edges between nodes, and each node Represents a sensor data feature, each Representation Node and nodes The correlation between S62. Build a graph neural network model to extract global features of the sensor network, update node features, and extract global feature vectors ; S63. Extract the global feature vector from the graph neural network Input into a Gaussian process-based adaptive boosting algorithm for fault prediction, using Gaussian process as the basis function for adaptive enhancement: ; Where X represents the input feature vector, represents the t-th Gaussian process basis function, represents the weight coefficient; S64. Kernel function of Gaussian process basis function for: ; in, represents the signal variance, represents the characteristic length scale matrix, represents the noise variance, represents the Dirac delta function; S65. Calculate the fault prediction probability of each sensor node through the GP-Boosting algorithm , and according to the set fault threshold Make a judgment: ; in, represents the cumulative distribution function of the standard normal distribution, represents the mean of the fault prediction values, represents the standard deviation of the fault prediction value, if , then the decision node There is a potential fault and maintenance recommendations are issued; S66. Summarize the fault prediction results of all nodes and generate an overall health status assessment report of the UAV, which includes possible fault nodes, fault types, and recommended maintenance measures.
Citation Information
Patent Citations
Unmanned aerial vehicle low-altitude monitoring method
CN118504925A
Urban traffic jam prediction method and system based on deep learning
CN118571020A
Incident Site Investigation and Management Support System Based on Unmanned Aerial Vehicles
US20190051046A1
Cited By
Method for improving 3D machine vision inspection and measurement precision based on large model
CN119941673A
A method for improving 3D machine vision inspection and measurement accuracy based on large models
CN119941673B
Fixed-wing nest type unmanned aerial vehicle intelligent monitoring system based on AI large model
CN121684559A
An intelligent monitoring system for fixed-wing nest drones based on an AI large model
CN121684559B
