A method for processing AI data based on UAV-borne intelligent sensing

By mounting MESH radios and sensors on drones and using straight-line distance and collected data to optimize the drone's position, it solves the problems of low drone long-distance data transmission accuracy and unreasonable collection route planning, achieving more efficient data collection. and transmission.

CN118072559BActive Publication Date: 2024-09-13BEIJING ZHONGKE HANGXING TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410195441.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-21
Publication Date
2024-09-13
Estimated Expiration
2044-02-21

AI Technical Summary

Technical Problem

Existing UAVs have low long-distance data transmission accuracy and unreasonable collection route planning, resulting in many invalid flight paths.

Method used

MESH is used as a high-altitude relay station. By setting the mobile position of the drone, gas sensors and video collectors are used for real-time monitoring and data collection. The collection method is determined based on the straight-line distance between the drone and the command center, using the cycle traversal method and The concentration-sensitive method optimizes the moving position of the drone within the collection area.

Benefits of technology

It improves the accuracy of UAV data transmission and the rationality of collection routes, reduces invalid flight paths, and achieves more efficient data collection and transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118072559B
    Figure CN118072559B
Patent Text Reader

Abstract

The present invention provides a method for processing AI data based on airborne intelligent sensing of unmanned aerial vehicles, which relates to the technical field of unmanned aerial vehicle sensor data processing, and comprises: step S1, using an unmanned aerial vehicle to perform real-time monitoring and data collection on air gas in the air, wherein the unmanned aerial vehicle is equipped with a gas sensor and a video collector; step S2, transmitting the collected data of the gas sensor and the collected data of the video collector in step S1 back to a command center in a relay manner; step S3, the command center performs real-time dispatching command and control based on the collected data of the gas sensor and the collected data of the video collector; the present invention is used to solve the problems that the existing unmanned aerial vehicle has low accuracy in long-distance data transmission, and the planning of the collection route is not reasonable, resulting in a large number of invalid flight paths of the unmanned aerial vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned aerial vehicle sensor data processing, and in particular to a method for processing unmanned aerial vehicle airborne intelligent sensor AI data. Background Art

[0002] Drones are currently widely used in various fields such as military reconnaissance, civil aerial photography, environmental detection, and agricultural meteorology. The impact of drones on flight safety has become a hot topic. Drone flight perception technology mainly serves two purposes. One is to provide the required information for the flight control system. Since the main function of the flight control system is to control the aircraft to achieve the desired attitude and spatial position, this part of the perception technology mainly measures physical quantities related to the aircraft's motion state. Another purpose is to provide the autonomous navigation system of the drone, that is, the path and obstacle avoidance planning system, so it is necessary to perceive the surrounding environment.

[0003] Existing improvements for drone data collection and processing of collected data are usually improvements to the drone body. Other improvements for drone data collection and processing of collected data are usually used to improve the accuracy of drone positioning. When processing the drone's airborne data, there is a lack of judgment on the drone's location, resulting in low accuracy of drone long-distance data transmission, and unreasonable planning of collection routes resulting in many invalid flight paths for drones. For example, in the application document with application publication number CN113515476A, a drone airborne data forwarding method is disclosed, which is a single-point method for realizing one-to-many communication. The method is to quickly form a stable and reliable communication solution when the machine device communicates with the corresponding slave device, but lacks the judgment of the location of the drone. For example, in the application document with application publication number CN106878688A, a drone image processing system is disclosed. This method effectively avoids the influence of electromagnetic interference by staggering the communication frequency bands between the task drone and the relay drone, and the communication frequency bands between the relay drone and the ground control terminal, thereby extending the relay transmission distance while ensuring the accuracy of real-time image data. This method is an improvement on the transmission method for the influence of electromagnetic interference, and therefore lacks an improved method for long-distance data transmission of drones and planning of collection routes. Summary of the invention

[0004] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a method for processing AI data based on UAV-mounted intelligent sensors, which uses MESH as a high-altitude relay station and sets the moving position of the UAV in the first cycle and the second cycle to solve the problems of low accuracy of existing UAV long-distance data transmission and unreasonable planning of collection routes resulting in a large number of invalid flight paths for UAVs.

[0005] In order to achieve the above object, the present invention provides a method for processing AI data based on unmanned aerial vehicle airborne intelligent sensing, comprising:

[0006] Step S1, using a drone to perform real-time monitoring and data collection of air gas in the air, wherein the drone is equipped with a gas sensor and a video collector;

[0007] The gas sensor is used to collect data on the air gas in the collection area, and the video collector is used to monitor the collection area in real time;

[0008] Step S2, transmitting the collected data of the gas sensor and the collected data of the video collector in step S1 back to the command center in a relay manner; the drone is also equipped with a MESH radio, and the MESH radio serves as a high-altitude relay point;

[0009] Step S3, the command center obtains the collected data of the gas sensor and the collected data of the video collector, and performs real-time dispatch command and control based on the collected data of the gas sensor and the collected data of the video collector.

[0010] Furthermore, step S1 includes the following sub-steps:

[0011] Step S101, obtaining the height of the acquisition area and the location of the acquisition area on the satellite map;

[0012] Step S102, moving the drone into the collection area based on the height of the collection area and the location of the collection area on the satellite map, obtaining the straight-line distance between the drone and the command center at this time, and setting the straight-line distance between the drone and the command center as the transmission distance;

[0013] Step S103, when the transmission distance is greater than or equal to the standard transmission distance, the collection mode of the UAV is recorded as long-distance transmission;

[0014] When the transmission distance is less than the standard transmission distance, the drone’s collection mode is recorded as short-distance transmission;

[0015] Step S104, setting the moving position of the drone within the collection area;

[0016] Step S105, when the collection mode of the drone is long-distance transmission, use the first collection method to collect;

[0017] Step S106: when the collection mode of the drone is short-distance transmission, the second collection method is used for collection.

[0018] Furthermore, step S104 includes the following sub-steps:

[0019] Step S1041, obtaining the area and outline of the collection area on the satellite map, obtaining the position of the drone in the collection area and the collection range of the drone;

[0020] Step S1042, establishing a plane rectangular coordinate system, placing the outline of the acquisition area in the plane rectangular coordinate system, recorded as the area outline, and placing the acquisition range of the drone corresponding to the range within the acquisition area in the plane rectangular coordinate system, recorded as the acquisition outline;

[0021] Step S1043, binarizing the region contour and the acquisition contour, and recording the region contour and the acquisition contour after the binarization processing as the region binarized contour and the acquisition binarized contour;

[0022] Step S1044, when the pixel points on the regional binary contour intersect with the pixel points on the acquisition binary contour, move the acquisition binary contour into the regional binary contour until the acquisition binary contour is tangent to the regional binary contour or the number of overlaps between the pixel points on the acquisition binary contour and the pixel points on the regional binary contour is less than or equal to the first intersection number;

[0023] Step S1045, when the pixel points on the regional binary contour do not intersect with the pixel points on the acquisition binary contour, move the acquisition binary contour outside the regional binary contour until the acquisition binary contour is tangent to the regional binary contour or the number of overlaps between the pixel points on the acquisition binary contour and the pixel points on the regional binary contour is less than or equal to the first intersection number;

[0024] Step S1046, recording the position of the collected binary contour after step S1044 or step S1045 as the initial position of the UAV collection, and moving the UAV to the initial position in the collection area based on the positional relationship between the collected binary contour and the regional binary contour;

[0025] Step S1047, using the cycle traversal method to set the moving position of the UAV in the first cycle.

[0026] Furthermore, step S1047 includes the following sub-steps:

[0027] Step V471, when the UAV moves to the initial position, the moving position of the UAV in the first cycle is set using the cycle traversal method, where the first cycle is when the UAV moves from the starting position to the to-be-determined position;

[0028] Step V472, obtaining the regional binary contour, the acquisition binary contour and the coordinate system where the regional binary contour and the acquisition binary contour are located after step S1044 or step S1045, and marking all coordinates covered by the acquisition binary contour at the initial position as initial coordinates;

[0029] Step V473, randomly selecting a pixel point where the acquisition binary contour and the regional binary contour overlap, recording it as a moving pixel point, and moving the moving pixel point along the regional binary contour, so that the acquisition binary contour is moved together with the moving pixel point;

[0030] When the moving pixel point starts to move, all coordinates covered by the collected binary contour in real time are marked as moving coordinates, and the pixel points where the moving coordinates intersect with the initial coordinates are recorded as overlapping pixel points. When the number of overlapping pixel points is less than or equal to the first intersection number, the moving pixel point stops moving, and the position where the collected binary contour is located at this time is recorded as the first moving position.

[0031] Furthermore, step S1047 also includes the following sub-steps:

[0032] Step V474, based on step V473, setting the first moving position of the drone after the initial position to the Nth moving position, and recording the Nth moving position as the pending position;

[0033] The pending position is a position that first contains a termination feature from the first moving position to the Nth moving position, and the termination feature is that when the acquired binary contour is at the pending position, the number of pixel points where the acquired binary contour at the pending position intersects with the acquired binary contour at the initial position is greater than or equal to a second intersection number;

[0034] Step V475, setting the next collection position of the drone after collecting at the initial position as the first moving position, and so on, until the first cycle is completed.

[0035] Furthermore, step S105 includes the following sub-steps:

[0036] Step S1051, when the drone's data collection mode is long-distance transmission, start the gas sensor, video collector, and MESH radio station;

[0037] Step S1052, when the drone is at the starting position, a first collection method is used for collection, wherein the first collection method includes: using a gas sensor to collect air in a first collection range centered on the drone at a first gas time interval, recording the collected gas as monitoring gas, and the collection amount is a first standard collection amount;

[0038] Automatically identify and classify substances contained in the monitored gas, record them as substance 1 to substance N, and based on the first standard collection amount and the content of each substance in substance 1 to substance N, record the concentration of each substance in substance 1 to substance N as concentration 1 to concentration N;

[0039] After the gas sensor performs the first collection times, for substances 1 to N, the maximum value of the concentration corresponding to each substance in the first collection times is recorded as the monitoring concentration of the substance, and the substance and the monitoring concentration corresponding to the substance are sent to the MESH radio station;

[0040] Step S1053, after all substances in the monitored gas and the corresponding monitoring concentrations of the substances are sent to the MESH radio station, the MESH radio station transmits the data back to the command center, and the drone moves to the next collection location.

[0041] Furthermore, step S106 includes the following sub-steps:

[0042] Step S1061, when the drone's collection mode is short-distance transmission, start the gas sensor and the video collector;

[0043] Step S1062, when the drone is at the starting position, using a second collection method to collect air, the second collection method comprising: using a gas sensor to collect air in a second collection range centered on the drone every second gas time, recording the collected gas as monitoring gas, and the collection amount is a second standard collection amount;

[0044] Automatically identify and classify substances contained in the monitored gas, record them as substances 1 to substances M, and based on the second standard collection amount and the content of each substance in substances 1 to substances M, record the concentration of each substance in substances 1 to substances M as concentration 1 to concentration M;

[0045] After the gas sensor performs the second collection times, for substances 1 to M, the maximum value of the concentration corresponding to each substance in the second collection times is recorded as the monitoring concentration of the substance, and the substance and the monitoring concentration corresponding to the substance are sent to the command center;

[0046] Step S1063, after all substances in the monitored gas and the corresponding monitoring concentrations of the substances are sent to the command center, the drone moves to the next collection location.

[0047] Furthermore, step S3 includes the following sub-steps:

[0048] Step S301, when the drone completes the first cycle of movement and moves to the to-be-determined position, after the drone collects data, the concentration sensitivity method is used to analyze the collection results from the starting position to the to-be-determined position;

[0049] Step S302, based on the analysis result of step S301, setting the moving position of the drone in the second cycle.

[0050] Furthermore, step S301 includes the following sub-steps:

[0051] Step S3011, obtaining all the collection results of the drone from the starting position to the to-be-determined position, recording them as concentration data 1 to concentration data X, recording the concentration of the substance in the concentration data as the collection concentration, and obtaining the standard concentration of all substances in the gas at the altitude where the drone is located;

[0052] Step S3012, using a concentration sensitive method for concentration data 1 to concentration data X, the concentration sensitive method comprising: for each concentration data in concentration data 1 to concentration data X, obtaining the absolute value of the difference between the collected concentration of each substance in the concentration data and the standard concentration of the substance, recording the substance corresponding to the collected concentration with the largest absolute value of the difference as the pending substance of the concentration data, when the concentration data corresponding to the pending substance is greater than or equal to the first concentration threshold, recording the pending substance as a re-examination substance; when the concentration data corresponding to the pending substance is less than the first concentration threshold, recording the pending substance as a qualified substance;

[0053] Step S3013: Record the concentration data containing the review substance in the concentration data 1 to the concentration data X as review data 1 to review data Y.

[0054] Furthermore, step S302 includes the following sub-steps:

[0055] Step S3021, obtaining the collection positions corresponding to the review data 1 to the review data Y, and recording the collection positions corresponding to the review data 1 to the review data Y as review position 1 to review position Y;

[0056] Step S3022, connect the review position 1 to the review position Y in the plane rectangular coordinate system, record the intersection points of all the connecting lines as the review intersection points, and record the review intersection points as the moving positions of the UAV in the second cycle. The second cycle is that the UAV collects data at all the review intersection points in turn, and sets the collection method based on step S1, and uploads the collection results.

[0057] Beneficial effects of the present invention: The present invention uses a drone to perform real-time monitoring and data collection of air gases in the air, determines the collection method by the straight-line distance between the drone and the command center, and determines the moving position of the drone in the first period by obtaining the first period. The advantage of this is that the collection method determined by the straight-line distance between the drone and the command center can be used to collect data more efficiently according to the real-time situation. When the distance is too far, the MESH radio station is turned on to use the MESH radio station as a high-altitude relay station, so that the data collected by the drone can be transmitted more effectively. In addition, the moving position of the drone in the first period determined by the first period can allow the drone to move to a more efficient collection position according to different collection areas.

[0058] The present invention also obtains the collected data of the gas sensor and the collected data of the video collector through the command center, performs real-time dispatch command and control based on the collected data of the gas sensor and the collected data of the video collector, and specifies the moving position of the UAV in the second period based on the analysis results of the collected data. The advantage of this is that the moving position in the second period obtained by the collection data of the UAV in the first period can make the collection results more accurate and prevent the UAV from staying in an invalid collection area.

[0059] Advantages of additional aspects of the present invention will be given in part in the description of the following specific embodiments, and in part will become apparent from the following description, or will be learned through the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0061] Figure 1 is a flow chart of the method of the present invention;

[0062] Figure 2 It is a schematic diagram of the regional outline and the acquisition outline in the plane rectangular coordinate system of the present invention;

[0063] Figure 3 A schematic diagram of obtaining a first moving position of the present invention;

[0064] Figure 4 This is a connection block diagram of an electronic device in Embodiment 2 of the present invention. DETAILED DESCRIPTION

[0065] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0066] It should be noted that the terms used herein are for describing specific embodiments only and are not intended to be limiting of exemplary embodiments according to the present invention.

[0067] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0068] Example 1, please refer to Figure 1 As shown, the present invention provides a method for processing AI data based on unmanned aerial vehicle airborne intelligent sensing, comprising:

[0069] Step S1, using a drone to perform real-time monitoring and data collection of air gases in the air, the drone being equipped with a gas sensor and a video collector;

[0070] The gas sensor is used to collect data on the air gas in the collection area, and the video collector is used to monitor the collection area in real time;

[0071] In the specific implementation process, the gas sensor collects air data within a certain range with the drone as the center. The specific parameters are determined by the model of the gas sensor. The video collector is used to monitor the collection area of ​​the gas sensor in real time.

[0072] Step S1 includes the following sub-steps:

[0073] Step S101, obtaining the height of the acquisition area and the location of the acquisition area on the satellite map;

[0074] Step S102, moving the drone into the collection area based on the height of the collection area and the location of the collection area on the satellite map, obtaining the straight-line distance between the drone and the command center at this time, and setting the straight-line distance between the drone and the command center as the transmission distance;

[0075] Step S103, when the transmission distance is greater than or equal to the standard transmission distance, the collection mode of the UAV is recorded as long-distance transmission;

[0076] When the transmission distance is less than the standard transmission distance, the drone’s collection mode is recorded as short-distance transmission;

[0077] In the specific implementation process, the standard transmission distance is the maximum distance that the drone can accurately transmit data. When the transmission distance is greater than the standard transmission distance, the drone can still transmit data, but the accuracy of data transmission will decrease. Therefore, the MESH radio is used as a high-altitude relay station. When the distance between the drone and the command center is greater than the standard transmission distance, the use of the MESH radio can make the data more accurately transmitted from the drone back to the command center;

[0078] Step S104, setting the moving position of the drone within the collection area;

[0079] Step S104 includes the following sub-steps:

[0080] Step S1041, obtaining the area and outline of the collection area on the satellite map, obtaining the position of the drone in the collection area and the collection range of the drone;

[0081] See also Figure 2 As shown, step S1042, establish a plane rectangular coordinate system, place the outline of the collection area in the plane rectangular coordinate system, record it as the area outline, and place the collection range of the drone corresponding to the range within the collection area in the plane rectangular coordinate system, record it as the collection outline; Figure 2In the figure, the units of the horizontal and vertical coordinates of the plane rectangular coordinate system are m;

[0082] In the specific implementation process, the area outline is the collection area that the drone needs to collect, and the collection contour is the area that the drone can collect at this location;

[0083] Step S1043, binarizing the region contour and the acquisition contour, and recording the region contour and the acquisition contour after the binarization processing as the region binarized contour and the acquisition binarized contour;

[0084] In the specific implementation process, the pixel values ​​of all pixels in the area contour and the acquisition contour can be changed to 0 or 255 through binarization processing, which is more conducive to extracting the area contour and the acquisition contour;

[0085] Step S1044, when the pixel points on the regional binary contour intersect with the pixel points on the acquisition binary contour, move the acquisition binary contour into the regional binary contour until the acquisition binary contour is tangent to the regional binary contour or the number of overlaps between the pixel points on the acquisition binary contour and the pixel points on the regional binary contour is less than or equal to the first intersection number;

[0086] In the specific implementation process, the first intersection number is set to 2. When the acquisition binary contour is tangent to the regional binary contour or the number of pixel points on the acquisition binary contour overlap with the pixel points on the regional binary contour is less than or equal to 2, it means that the acquisition binary contour is just at the edge of the regional binary contour. At this time, the UAV can collect the edge of the acquisition area to a greater extent within the acquisition area.

[0087] Step S1045, when the pixel points on the regional binary contour do not intersect with the pixel points on the acquisition binary contour, move the acquisition binary contour outside the regional binary contour until the acquisition binary contour is tangent to the regional binary contour or the number of overlaps between the pixel points on the acquisition binary contour and the pixel points on the regional binary contour is less than or equal to the first intersection number;

[0088] In the specific implementation process, because the drone has been moved into the collection area, there is no situation where the collection binary contour is outside the regional binary contour. When the pixel points on the regional binary contour do not intersect with the pixel points on the collection binary contour, the collection binary contour must be within the regional binary contour. Therefore, the collection binary contour should be moved outside the regional binary contour.

[0089] Step S1046, recording the position of the collected binary contour after step S1044 or step S1045 as the initial position of the UAV collection, and moving the UAV to the initial position in the collection area based on the positional relationship between the collected binary contour and the regional binary contour;

[0090] Step S1047, using the cycle traversal method to set the moving position of the UAV in the first cycle;

[0091] Step S1047 includes the following sub-steps:

[0092] Step V471, when the UAV moves to the initial position, the cycle traversal method is used to set the moving position of the UAV in the first cycle, and the first cycle is when the UAV moves from the starting position to the undetermined position;

[0093] Step V472, obtaining the regional binary contour, the acquisition binary contour and the coordinate system where the regional binary contour and the acquisition binary contour are located after step S1044 or step S1045, and marking all coordinates covered by the acquisition binary contour at the initial position as initial coordinates;

[0094] In the specific implementation process, the initial coordinates are all the coordinates occupied by the collected binary contour in the coordinate system, and the description of the initial coordinates is the description of any coordinate in the initial coordinates;

[0095] Step V473, see Figure 3 As shown, P1 is the acquisition binary contour, P2 is the regional binary contour, P3 is the moving pixel point, P4 is the overlapping pixel point, P5 is the first moving position, and a pixel point where the acquisition binary contour and the regional binary contour overlap is randomly selected and recorded as the moving pixel point. The moving pixel point is moved along the regional binary contour, and the acquisition binary contour is driven to move together when the moving pixel point moves;

[0096] When the moving pixel point starts to move, all coordinates covered by the collected binary contour in real time are marked as moving coordinates, and the pixel points where the moving coordinates intersect with the initial coordinates are recorded as overlapping pixel points. When the number of overlapping pixel points is less than or equal to the first intersection number, the moving pixel point stops moving, and the position where the collected binary contour is located at this time is recorded as the first moving position;

[0097] In a specific implementation process, the first moving position obtained by the above method can reduce the overlap of the data collected by the drone at the initial position and at the first moving position, so that the drone can collect more new areas;

[0098] Step V474, based on step V473, setting the first moving position of the drone after the initial position to the Nth moving position, and recording the Nth moving position as the pending position;

[0099] The pending position is the position that first contains the termination feature from the first moving position to the Nth moving position, and the termination feature is: when the acquired binary contour is at the pending position, the number of pixel points where the acquired binary contour at the pending position intersects with the acquired binary contour at the initial position is greater than or equal to the second intersection number;

[0100] In the specific implementation process, the second intersection number is 3. When the UAV moves to the Nth moving position, and the moving position at this time contains the termination feature, it means that the collection position of the UAV is very close to the initial position. At this time, the UAV completes the collection work of the first cycle;

[0101] Step V475, setting the next collection position of the drone after collecting at the initial position as the first moving position, and so on, until the first cycle is completed;

[0102] Step S105, when the collection mode of the drone is long-distance transmission, use the first collection method to collect; step S105 includes the following sub-steps:

[0103] Step S1051, when the drone's data collection mode is long-distance transmission, start the gas sensor, video collector, and MESH radio station;

[0104] Step S1052, when the drone is at the starting position, the first collection method is used for collection. The first collection method includes: using the gas sensor to collect air in a first collection range centered on the drone every first gas time, recording the collected gas as the monitoring gas, and the collection amount is the first standard collection amount. In specific implementation, the first gas time is 5 minutes, and the first collection range is set to 10m 2 The first standard collection volume is 50cm 3 ;

[0105] Automatically identify and classify substances contained in the monitored gas, record them as substance 1 to substance N, and based on the first standard collection amount and the content of each substance in substance 1 to substance N, record the concentration of each substance in substance 1 to substance N as concentration 1 to concentration N;

[0106] After the gas sensor performs the first acquisition number of times, which is specifically set to 20 times, for substances 1 to N, the maximum value of the concentration corresponding to each substance in the first acquisition number is recorded as the monitoring concentration of the substance, and the substance and the monitoring concentration corresponding to the substance are sent to the MESH radio station;

[0107] Step S1053, when all substances in the monitored gas and the corresponding monitoring concentrations of the substances are sent to the MESH radio station, the MESH radio station transmits the data back to the command center, and the drone moves to the next collection location;

[0108] Step S106, when the collection mode of the drone is short-distance transmission, use the second collection method to collect;

[0109] Step S106 includes the following sub-steps:

[0110] Step S1061, when the drone's collection mode is short-distance transmission, start the gas sensor and the video collector;

[0111] Step S1062, when the drone is at the starting position, the second collection method is used for collection. The second collection method includes: using the gas sensor to collect air in a second collection range centered on the drone every second gas time, recording the collected gas as the monitoring gas, and the collection amount is the second standard collection amount. In specific implementation, the second gas time is 3 minutes, and the second collection range is set to 15m 2 The second standard collection volume is 80cm 3 ;

[0112] Automatically identify and classify substances contained in the monitored gas, record them as substances 1 to substances M, and based on the second standard collection amount and the content of each substance in substances 1 to substances M, record the concentration of each substance in substances 1 to substances M as concentration 1 to concentration M;

[0113] After the gas sensor performs the second collection number of times, the second collection number of times is specifically set to 30 times. For substances 1 to M, the maximum value of the concentration corresponding to each substance in the second collection number of times is recorded as the monitoring concentration of the substance, and the substance and the monitoring concentration corresponding to the substance are sent to the command center;

[0114] Step S1063, when all substances in the monitored gas and the corresponding monitoring concentrations of the substances are sent to the command center, the drone moves to the next collection location;

[0115] Step S2, the drone is also equipped with a MESH radio, which serves as a high-altitude relay point to relay the data collected by the gas sensor in step S1 and the data collected by the video collector back to the command center;

[0116] Step S3, the command center obtains the collected data of the gas sensor and the collected data of the video collector, and performs real-time dispatch command and control based on the collected data of the gas sensor and the collected data of the video collector;

[0117] Step S3 includes the following sub-steps:

[0118] Step S301, when the drone completes the first cycle of movement and moves to the to-be-determined position, after the drone collects data, the concentration sensitivity method is used to analyze the collection results from the starting position to the to-be-determined position;

[0119] Step S3011, obtaining all the collection results of the drone from the starting position to the to-be-determined position, recording them as concentration data 1 to concentration data X, recording the concentration of the substance in the concentration data as the collection concentration, and obtaining the standard concentration of all substances in the gas at the altitude where the drone is located;

[0120] Step S3012, using a concentration sensitive method for concentration data 1 to concentration data X, the concentration sensitive method comprising: for each concentration data in concentration data 1 to concentration data X, obtaining the absolute value of the difference between the collected concentration of each substance in the concentration data and the standard concentration of the substance, recording the substance corresponding to the collected concentration with the largest absolute value of the difference as the pending substance of the concentration data, when the concentration data corresponding to the pending substance is greater than or equal to the first concentration threshold, recording the pending substance as a re-examination substance; when the concentration data corresponding to the pending substance is less than the first concentration threshold, recording the pending substance as a qualified substance;

[0121] In the specific implementation process, the first concentration threshold is the concentration of the substance to be determined under standard conditions in the collection area. When the concentration of the substance to be determined is too high, the air data of the area where the substance to be determined exists should be repeatedly collected;

[0122] Step S3013, recording the concentration data containing the reviewed substance in the concentration data 1 to the concentration data X as review data 1 to review data Y;

[0123] Step S302, based on the analysis result of step S301, setting the moving position of the UAV in the second period;

[0124] Step S302 includes the following sub-steps:

[0125] Step S3021, obtaining the collection positions corresponding to the review data 1 to the review data Y, and recording the collection positions corresponding to the review data 1 to the review data Y as review position 1 to review position Y;

[0126] Step S3022, in the plane rectangular coordinate system, connect the review position 1 to the review position Y, record the intersection points of all the connecting lines as the review intersection points, and record the review intersection points as the moving positions of the UAV in the second cycle. The second cycle is that the UAV collects data at all the review intersection points in turn, and the collection method is set based on step S1, and the collection results are uploaded;

[0127] In the specific implementation process, the review intersection point is the central point where the review material is located. By collecting at the review intersection point, the review material can be collected more effectively.

[0128] Example 2, please refer to Figure 4 As shown, in the second aspect, the present application provides an electronic device 40, including a processor 401 and a memory 402, the memory 402 stores computer-readable instructions, and when the computer-readable instructions are executed by the processor 401, the steps in any of the above methods are executed. Through the above technical solution, the processor 401 and the memory 402 are interconnected and communicate with each other through a communication bus and / or other forms of connection mechanisms (not shown), and the memory 402 stores a computer program executable by the processor 401. When the electronic device 40 is running, the processor 401 executes the computer program to execute the method in any optional implementation of the above embodiment to achieve the following functions: by using a drone to monitor and collect data in the air in real time, determine the collection method by the straight-line distance between the drone and the command center, and determine the moving position of the drone in the first period by obtaining the first period, and then obtain the collected data of the gas sensor and the collected data of the video collector through the command center, and perform real-time dispatch command and control based on the collected data of the gas sensor and the collected data of the video collector, and specify the moving position of the drone in the second period based on the analysis result of the collected data.

[0129] Embodiment 3, in the third aspect, the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in any of the above methods are executed. Through the above technical solution, when the computer program is executed by the processor, the method in any optional implementation of the above embodiment is executed to achieve the following functions: by using a drone to perform real-time monitoring and data collection of air gas in the air, the collection method is determined by the straight-line distance between the drone and the command center, and the moving position of the drone in the first period is determined by obtaining the first period, and then the collection data of the gas sensor and the collection data of the video collector are obtained through the command center, and real-time dispatch command and control is performed based on the collection data of the gas sensor and the collection data of the video collector, and the moving position of the drone in the second period is specified based on the analysis results of the collection data.

[0130] It should be understood by those skilled in the art that the embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can be in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention can be in the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes. Wherein, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Red-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0131] The above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for processing AI data based on UAV airborne intelligent sensing, characterized in that: include: Step S1, using a drone to perform real-time monitoring and data collection of air gas in the air, wherein the drone is equipped with a gas sensor and a video collector; The gas sensor is used to collect data on the air gas in the collection area, and the video collector is used to monitor the collection area in real time; Step S2, transmitting the collected data of the gas sensor and the collected data of the video collector in step S1 back to the command center in a relay manner; the drone is also equipped with a MESH radio, and the MESH radio serves as a high-altitude relay point; Step S3, the command center obtains the collected data of the gas sensor and the collected data of the video collector, and performs real-time dispatch command and control based on the collected data of the gas sensor and the collected data of the video collector; Step S1 includes the following sub-steps: Step S101, obtaining the height of the acquisition area and the location of the acquisition area on the satellite map; Step S102, moving the drone into the collection area based on the height of the collection area and the location of the collection area on the satellite map, obtaining the straight-line distance between the drone and the command center at this time, and setting the straight-line distance between the drone and the command center as the transmission distance; Step S103, when the transmission distance is greater than or equal to the standard transmission distance, the collection mode of the UAV is recorded as long-distance transmission; When the transmission distance is less than the standard transmission distance, the drone’s collection mode is recorded as short-distance transmission; Step S104, setting the moving position of the drone within the collection area; Step S105, when the collection mode of the drone is long-distance transmission, use the first collection method to collect; Step S106, when the collection mode of the drone is short-distance transmission, use the second collection method to collect; Step S104 includes the following sub-steps: Step S1041, obtaining the area and outline of the collection area on the satellite map, obtaining the position of the drone in the collection area and the collection range of the drone; Step S1042, establishing a plane rectangular coordinate system, placing the outline of the acquisition area in the plane rectangular coordinate system, recorded as the area outline, and placing the acquisition range of the drone corresponding to the range within the acquisition area in the plane rectangular coordinate system, recorded as the acquisition outline; Step S1043, binarizing the region contour and the acquisition contour, and recording the region contour and the acquisition contour after the binarization processing as the region binarized contour and the acquisition binarized contour; Step S1044, when the pixel points on the regional binary contour intersect with the pixel points on the acquisition binary contour, move the acquisition binary contour into the regional binary contour until the acquisition binary contour is tangent to the regional binary contour or the number of overlaps between the pixel points on the acquisition binary contour and the pixel points on the regional binary contour is less than or equal to the first intersection number; Step S1045, when the pixel points on the regional binary contour do not intersect with the pixel points on the acquisition binary contour, move the acquisition binary contour outside the regional binary contour until the acquisition binary contour is tangent to the regional binary contour or the number of overlaps between the pixel points on the acquisition binary contour and the pixel points on the regional binary contour is less than or equal to the first intersection number; Step S1046, recording the position of the collected binary contour after step S1044 or step S1045 as the initial position of the UAV collection, and moving the UAV to the initial position in the collection area based on the positional relationship between the collected binary contour and the regional binary contour; Step S1047, using the cycle traversal method to set the moving position of the UAV in the first cycle; Step S1047 includes the following sub-steps: Step V471, when the UAV moves to the initial position, the moving position of the UAV in the first cycle is set using the cycle traversal method, where the first cycle is when the UAV moves from the starting position to the to-be-determined position; Step V472, obtaining the regional binary contour, the acquisition binary contour and the coordinate system where the regional binary contour and the acquisition binary contour are located after step S1044 or step S1045, and marking all coordinates covered by the acquisition binary contour at the initial position as initial coordinates; Step V473, randomly selecting a pixel point where the acquisition binary contour and the regional binary contour overlap, recording it as a moving pixel point, and moving the moving pixel point along the regional binary contour, so that the acquisition binary contour is moved together with the moving pixel point; When the moving pixel point starts to move, all coordinates covered by the collected binary contour in real time are marked as moving coordinates, and the pixel points where the moving coordinates intersect with the initial coordinates are recorded as overlapping pixel points. When the number of overlapping pixel points is less than or equal to the first intersection number, the moving pixel point stops moving, and the position where the collected binary contour is located at this time is recorded as the first moving position; Step S1047 also includes the following sub-steps: Step V474, based on step V473, setting the first moving position of the drone after the initial position to the Nth moving position, and recording the Nth moving position as the pending position; The pending position is a position that first contains a termination feature from the first moving position to the Nth moving position, and the termination feature is that when the acquired binary contour is at the pending position, the number of pixel points where the acquired binary contour at the pending position intersects with the acquired binary contour at the initial position is greater than or equal to a second intersection number; Step V475, setting the next collection position of the drone after collecting at the initial position as the first moving position, and so on, until the first cycle is completed; Step S105 includes the following sub-steps: Step S1051, when the drone's data collection mode is long-distance transmission, start the gas sensor, video collector, and MESH radio station; Step S1052, when the drone is at the starting position, a first collection method is used for collection, wherein the first collection method includes: using a gas sensor to collect air in a first collection range centered on the drone at a first gas time interval, recording the collected gas as monitoring gas, and the collection amount is a first standard collection amount; Automatically identify and classify substances contained in the monitored gas, record them as substance 1 to substance N, and based on the first standard collection amount and the content of each substance in substance 1 to substance N, record the concentration of each substance in substance 1 to substance N as concentration 1 to concentration N; After the gas sensor performs the first collection times, for substances 1 to N, the maximum value of the concentration corresponding to each substance in the first collection times is recorded as the monitoring concentration of the substance, and the substance and the monitoring concentration corresponding to the substance are sent to the MESH radio station; Step S1053, when all substances in the monitored gas and the corresponding monitoring concentrations of the substances are sent to the MESH radio station, the MESH radio station transmits the data back to the command center, and the drone moves to the next collection location; Step S106 includes the following sub-steps: Step S1061, when the drone's collection mode is short-distance transmission, start the gas sensor and the video collector; Step S1062, when the drone is at the starting position, using a second collection method to collect air, the second collection method comprising: using a gas sensor to collect air in a second collection range centered on the drone every second gas time, recording the collected gas as monitoring gas, and the collection amount is a second standard collection amount; Automatically identify and classify substances contained in the monitored gas, record them as substances 1 to substances M, and based on the second standard collection amount and the content of each substance in substances 1 to substances M, record the concentration of each substance in substances 1 to substances M as concentration 1 to concentration M; After the gas sensor performs the second collection times, for substances 1 to M, the maximum value of the concentration corresponding to each substance in the second collection times is recorded as the monitoring concentration of the substance, and the substance and the monitoring concentration corresponding to the substance are sent to the command center; Step S1063, when all substances in the monitored gas and the corresponding monitoring concentrations of the substances are sent to the command center, the drone moves to the next collection location; Step S3 includes the following sub-steps: Step S301, when the drone completes the first cycle of movement and moves to the to-be-determined position, after the drone collects data, the concentration sensitivity method is used to analyze the collection results from the starting position to the to-be-determined position; Step S302, based on the analysis result of step S301, setting the moving position of the UAV in the second period; Step S301 includes the following sub-steps: Step S3011, obtaining all the collection results of the drone from the starting position to the to-be-determined position, recording them as concentration data 1 to concentration data X, recording the concentration of the substance in the concentration data as the collection concentration, and obtaining the standard concentration of all substances in the gas at the altitude where the drone is located; Step S3012, using a concentration sensitive method for concentration data 1 to concentration data X, the concentration sensitive method comprising: for each concentration data in concentration data 1 to concentration data X, obtaining the absolute value of the difference between the collected concentration of each substance in the concentration data and the standard concentration of the substance, recording the substance corresponding to the collected concentration with the largest absolute value of the difference as the pending substance of the concentration data, when the concentration data corresponding to the pending substance is greater than or equal to the first concentration threshold, recording the pending substance as a re-examination substance; when the concentration data corresponding to the pending substance is less than the first concentration threshold, recording the pending substance as a qualified substance; Step S3013, recording the concentration data containing the reviewed substance in the concentration data 1 to the concentration data X as review data 1 to review data Y; Step S302 includes the following sub-steps: Step S3021, obtaining the collection positions corresponding to the review data 1 to the review data Y, and recording the collection positions corresponding to the review data 1 to the review data Y as review position 1 to review position Y; Step S3022, connect the review position 1 to the review position Y in the plane rectangular coordinate system, record the intersection points of all the connecting lines as the review intersection points, and record the review intersection points as the moving positions of the UAV in the second cycle. The second cycle is that the UAV collects data at all the review intersection points in turn, and sets the collection method based on step S1, and uploads the collection results.