A method for controlling unmanned aerial vehicle aerial photography task by fusing expressway traffic state

By making decisions and controlling the system under the constraints of UAV performance, and combining the spatiotemporal alignment of distributed optical fiber and UAV aerial data with U-Net network processing, the problem of insufficient full-domain perception accuracy in highway traffic condition perception is solved, and efficient traffic condition monitoring and early warning support is achieved.

CN123161401APending Publication Date: 2026-11-24HEFEI UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611608633.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-16
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing technologies, distributed fiber optic sensing and UAV aerial photography suffer from insufficient full-domain perception accuracy, low UAV coverage efficiency, and insufficient data fusion in highway traffic condition perception. This results in low traffic condition perception accuracy and weak coverage, making it difficult to meet the requirements for all-time, full-domain, and high-precision perception of highway traffic conditions.

Method used

By making decisions and controlling the UAV under performance constraints, combining distributed optical fiber and UAV aerial photography data, a spatiotemporal alignment method of CNN feature matching and energy integration is adopted, and image enhancement is performed using U-Net network. The prediction error objective function of the checkpoint camera data is constructed, and the optimal control sequence of the UAV is minimized to achieve the complementary advantages of DAS global perception and UAV local high-precision perception.

Benefits of technology

It achieves high-precision perception of traffic conditions across the entire region, eliminates blind spots in perception, reduces matching errors, optimizes the drone's endurance and flight parameters, outputs high-quality spatiotemporal maps of traffic conditions, and supports congestion identification and event warning on highways.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123161401A_ABST
    Figure CN123161401A_ABST
Patent Text Reader

Abstract

This invention discloses a method for controlling UAV aerial photography missions by fusing highway traffic conditions, comprising: 1. Under UAV performance constraints, making a decision to control the UAV at the current moment to acquire a spatiotemporal map of UAV traffic conditions in the predicted time domain; 2. fusing the spatiotemporal maps of traffic conditions from distributed fiber optics and the UAV to obtain a coarse fused spatiotemporal map, and outputting a fine fused spatiotemporal map of traffic conditions through an image enhancement network; 3. introducing the spatiotemporal map of traffic conditions from a checkpoint camera to construct a prediction error objective function, and solving for the optimal UAV control sequence under UAV performance constraints; 4. executing the first term of the optimal control sequence to achieve rolling control of the UAV aerial photography mission. This invention combines the advantages of distributed fiber optic global perception and UAV local high-precision perception, compensates for the shortcomings of a single data source, avoids blind sampling by the UAV, improves the accuracy and recognition capability of highway global traffic condition perception, and provides reliable technical support for highway traffic condition perception.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of fiber optic sensing technology and intelligent transportation systems, specifically a method for enhancing highway traffic condition perception by combining distributed fiber optic sensing with UAV aerial photography data. Background Technology

[0002] With the continuous expansion of the highway network and the significant increase in traffic flow, the pressure on traffic condition control is becoming increasingly prominent. Currently, highway traffic condition perception mainly relies on traditional monitoring methods such as manual inspections, fixed video surveillance, and point sensors. These methods generally have limitations such as numerous monitoring blind spots, slow response speed, low perception accuracy, and limited coverage, making it difficult to meet the needs of all-time, all-area, and high-precision condition perception and early warning in the context of intelligent transportation.

[0003] To compensate for the shortcomings of traditional monitoring methods, Distributed Acoustic Sensing (DAS), as an emerging fiber optic sensing technology, is gradually being applied in the field of highway monitoring. Based on the Rayleigh backscattering principle, this technology can transform ordinary optical fibers into a spatially continuous vibration sensing array, enabling vibration signal monitoring with kilometer-level distance, meter-level spatial resolution, and sub-millisecond temporal accuracy. It can also reuse existing communication optical fibers laid along highways, requiring no additional hardware deployment. It boasts advantages such as all-area perception, low cost, and resistance to electromagnetic interference. It can invert vehicle trajectories by capturing the micro-deformations and vibration signals excited by vehicle movement, thereby constructing a spatiotemporal map (STM) of traffic conditions. However, due to factors such as environmental noise and multi-vehicle interference, the traffic condition spatiotemporal map reconstructed by DAS is relatively coarse, suffering from positional deviations and insufficient accuracy, making it difficult to accurately reflect the true state of traffic flow and limiting its application in high-precision traffic condition perception.

[0004] Drone aerial photography technology, with its mobility, convenient deployment, and wide coverage, has become an important supplement to highway dynamic monitoring. Equipped with high-definition devices, it can quickly acquire vehicle trajectory data for local road sections. After processing, it can generate high-precision spatiotemporal maps of local traffic conditions, which can intuitively reflect traffic flow distribution and effectively compensate for the insufficient accuracy of DAS data. However, currently, the application of DAS technology and drone aerial photography technology in highway traffic condition perception is mostly independent. The two lack an effective spatiotemporal matching and data fusion mechanism. Furthermore, drones suffer from problems such as blind flight and low coverage efficiency, failing to fully leverage the synergistic advantages of DAS's continuous perception across the entire area and drone's precise local perception. This makes it difficult for existing technologies to achieve high-resolution traffic condition perception across the entire highway area, and consequently, to accurately capture potential states in the temporal fluctuations of traffic flow. The false alarm rate and missed alarm rate are high, making it difficult to meet the actual needs of early warning and rapid response to highway traffic conditions. Summary of the Invention

[0005] This invention addresses the shortcomings of existing technologies by proposing a UAV aerial photography mission control method that integrates highway traffic conditions. The aim is to achieve complementary advantages between DAS (Distributed Aperture System) global perception and UAV local high-precision perception, overcoming the inherent limitations of single data sources and resolving the problem of blind sampling by UAVs. This will improve the accuracy of global traffic condition perception and condition recognition capabilities, providing reliable technical support for highway traffic condition control.

[0006] To achieve the above objectives, the present invention provides the following technical solution: The present invention provides a method for controlling UAV aerial photography missions that integrates highway traffic conditions, characterized by the following steps: Step 1: Under the constraints related to the performance of the UAV, for the current moment... The drone is used for decision-making and control to obtain the current time. The subsequent prediction time domain H Spatiotemporal map of drone traffic conditions ; Step 2: Obtain a spatiotemporal map of fiber optic traffic conditions using distributed optical fibers. and the spatiotemporal map of traffic conditions on drones After jointly generating a coarse fused traffic state spatiotemporal map, it is then processed by an image augmentation network to obtain a fine fused traffic state spatiotemporal map atlas. ; Step 3: Use the checkpoint camera to obtain a spatiotemporal map of traffic conditions. and with The objective function for prediction error is constructed together, including prediction flow and prediction average spatial velocity. Under constraints related to UAV performance, the objective function is minimized to obtain the optimal control sequence of the UAV. The first term of the optimal control sequence is then applied to the UAV aerial photography mission.

[0007] The present invention provides a method for controlling UAV aerial photography missions that integrates highway traffic conditions. Step 1 includes the following steps: Step 1.1: Define the UAV control sequence to be solved. ,in, Indicates the first i The control vector under each decision segment, and , Indicates the first i The road sections observed by drones under each decision-making segment, Indicates the first i The relative flight altitude of the drone under each decision segment Indicates the first i The interval data collection time of the drone under each decision segment; Indicates will H The total number of decision segments after discretization; Step 1.2: Set the performance-related constraints of the UAV according to equation (1); (1) In equation (1), Indicates that the drone is from Fly to the i+ Road sections under one decision segment The time required; Indicates that the drone is from Fly to the i+ Relative flight altitude under one decision segment The time required; Indicates the maximum operating time of the drone; These represent the three flight altitude levels that the drone can select. This represents the set of road sections where drone aerial photography is permitted. Indicates the upper and lower limits of the interval collection duration; Step 1.3, the drone follows After execution, the result is the first... i Spatiotemporal map of drone traffic state prediction under each decision segment ,in, Indicates the first The aerial photography time step and the first The spatiotemporal grid at each vertical position Indicates the first iIndex of aerial photography time steps under each decision segment Indicates the first i The total observation time of aerial photography under each decision segment Indicates the first i The longitudinal position index of the vehicle observed in each decision segment from the starting point of the highway along the road direction in the Frenet coordinate system. Indicates the first i The total length of roads covered by drone aerial photography observations under each decision segment.

[0008] Furthermore, step 2 includes the following steps: Step 2.1: Obtain a spatiotemporal map of fiber optic traffic conditions using distributed optical fibers. ,in, Indicates the first The fiber time step and the first The spatiotemporal grid at each vertical position t Indicates the time step index of distributed optical fiber observations. This represents the total observation time of the distributed optical fiber. s This represents the longitudinal position index of a vehicle observed by distributed optical fiber in the Frenet coordinate system, along the road direction from the starting point of the highway. This represents the total length of roads covered by distributed fiber optic observations; by Length of time and space length ,right Perform a cropping operation to obtain J i Time segments and K i Several spatiotemporal grids under a spatial segment; denoted as the first... The time interval and the first The spatiotemporal grid at each spatial interval segment is ; Step 2.2: Use the matching method of feature vector similarity and energy integral to... and Processing is performed to obtain the first... i A coarse fused spatiotemporal map of traffic states after spatiotemporal matching under each decision segment. and with Binary mask image After splicing, the first i Multi-channel input tensor under each decision segment ; Step 2.3: Construct the U-Net network, including: encoder, bottleneck layer, and decoder, and perform... Process and output the first... iDecoding and reconstructing feature maps under each decision segment According to channel dimension After splitting and denormalizing, we get the same as Finely fused spatiotemporal maps of traffic conditions of the same size Thus, a fused traffic state spatiotemporal atlas is obtained. .

[0009] Furthermore, step 2.2 includes the following steps: Step 2.2.1: Extract using a CNN network. and The feature vectors are obtained accordingly. eigenvectors and eigenvectors ;in, express eigenvectors; Step 2.2.2: Calculate according to formula (2) and Feature similarity between ; (2) In equation (2), Indicates transpose; Step 2.2.3, Select The spatiotemporal grid corresponding to time And form the first i Envelope of each decision segment ,in, This represents the maximum value percentage threshold, and = ; Step 2.2.4, using dimensions right According to a fixed step size Perform a sliding window operation to obtain the first... i Spatiotemporal matching diagram under each decision segment ,in, Indicates the first i The first decision stage m Spatiotemporal matching graph under a sliding window Indicates the first i The total number of sliding windows under each decision segment; Step 2.2.5: Calculate according to equations (3) and (4) respectively. energy and energy ; = (3) = (4) In equations (3) and (4), express Mid-space grid Strength at the location; express The Middle m Spatiotemporal grid under a sliding window Strength at the location; Step 2.2.6: Calculate the result according to formula (5). The number corresponding to the closest spatiotemporal matching graph ; (5) Step 2.2.7, in Remove the first i The first decision stage Spatiotemporal matching graph under a sliding window and use After filling in the blanks, we get the first... i A coarse fused spatiotemporal map of traffic states after spatiotemporal matching under each decision segment. ; Synchronous generation Binary mask image , Will and splicing to form the first i Multi-channel input tensor under each decision segment .

[0010] Furthermore, step 3 includes the following steps: Step 3.1: Set the total observation time of the checkpoint camera to... The total length of roads covered by the checkpoint cameras is The spatiotemporal range covered by the checkpoint camera is Thus, traffic status spatiotemporal maps can be obtained using checkpoint cameras. , Step 3.2, based on time length and space length ,right Perform a cropping operation to obtain Time segments and Under each spatial segment A spatiotemporal grid; record The Middle The time interval and the first The spatiotemporal grid at each spatial interval segment is ; make Traffic flow is ,make The average space velocity is ; thereby obtaining state vector ; In terms of time length and space length ,right Perform a cropping operation to obtain Time segments and Under each spatial segment A spatiotemporal grid; remember The Middle The time interval and the first The spatiotemporal grid at each spatial interval segment is ; make Traffic flow is ,make The average space velocity is Thus obtain state vector ; Step 3.3, will Corresponding state vector The input is fed into the trained traffic state prediction model for processing to obtain the first... i At the current moment under each decision segment The subsequent prediction time domain H Any prediction time within Integrated traffic state spatiotemporal atlas Corresponding Spatiotemporal Map of Predicted Traffic Flow Spatiotemporal diagram of predicted average spatial velocity ; Will Corresponding state vector The input is fed into the trained traffic state prediction model for processing to obtain the current time. The subsequent prediction time domain H Any prediction time within Traffic status spatiotemporal map from checkpoint cameras Corresponding Spatiotemporal Map of Predicted Traffic Flow Spatiotemporal diagram of predicted average spatial velocity ; Step 3.4, and According to each spatiotemporal grid index ( Each value is assigned and written back to the corresponding spatiotemporal grid, and the reconstructed value is obtained. i At any prediction time under each decision segment Integrated traffic state spatiotemporal map ; remember China belongs to The area is In terms of time length and space length right Perform a cropping operation to obtain J Time segments and Several spatiotemporal grids under a spatial segment; remember The Middle The time interval and the first The spatiotemporal grid at each spatial interval segment is ; make Traffic flow is ,make The average space velocity is ; Step 3.5: Follow the process in Step 3.4. Processing is performed to obtain any predicted time. Integrated traffic state spatiotemporal atlas as well as China belongs to The first region The time interval and the first Traffic flow at each spatial segment and average space velocity ; Step 3.6: Construct the objective function for prediction error based on equation (6). And under the constraints related to UAV performance, By performing a minimization problem, the optimal control sequence for the UAV is obtained. ; (6) In equation (6), Indicates the weight of traffic; Weights representing speed; and They represent middle Predicted traffic flow and middle Predicted average spatial velocity at [location]

[0011] The present invention provides an electronic device, including a memory and a processor, characterized in that the memory is used to store a program supporting the processor in performing the method described therein, and the processor is configured to execute the program stored in the memory.

[0012] The present invention discloses a computer-readable storage medium storing a computer program, characterized in that the computer program is executed by a processor to perform the steps of the method described thereon.

[0013] Compared with the prior art, the beneficial effects of the present invention are: 1. Existing distributed optical fibers can monitor the entire area, but they are susceptible to noise and interference from multiple vehicles, resulting in poor sensing accuracy. This invention integrates distributed optical fiber global sensing with high-precision aerial photography data from UAVs, overcoming the shortcomings of distributed optical fibers being susceptible to noise interference and having poor accuracy, as well as the limitations of UAVs having limited battery life and making large-scale monitoring difficult. It does not require modification of road hardware, eliminates sensing blind spots, and balances the coverage and data accuracy of highway traffic monitoring.

[0014] 2. This invention addresses the heterogeneous spatiotemporal maps of DAS and UAVs by employing coarse CNN feature matching combined with fine energy integral matching to achieve spatiotemporal alignment. Then, image inpainting is performed using a U-Net network, which alleviates the spatiotemporal misalignment problem, reduces matching errors, and ensures the quality of the fused traffic data.

[0015] 3. This invention uses real-time traffic data from checkpoint cameras as a benchmark and employs MPC model predictive control to calculate the optimal control sequence under constraints of UAV endurance and flight parameters. It only executes the first term of the optimal control sequence (hovering position, altitude, and acquisition duration), reducing invalid sampling and making full use of battery resources to improve perception benefits.

[0016] 4. This invention reuses existing optical fibers and checkpoint equipment, without large-scale modifications to road hardware, and outputs a high-quality spatiotemporal map of the overall traffic status, which can provide data support for highway congestion identification, traffic incident early warning, and control decisions. Attached Figure Description

[0017] Figure 1 This is a flowchart of the method of the present invention; Figure 2 This is a schematic diagram of the traffic state spatiotemporal map obtained by the UAV in executing decision-making in this invention; Figure 3 This is a spatiotemporal map of traffic conditions obtained by DAS, UAV, and checkpoint camera in this invention; Figure 4 This is a diagram illustrating the coarse and fine spatiotemporal matching methods in this invention; Figure 5 This is a schematic diagram of the image enhancement network structure in this invention. Detailed Implementation

[0018] To address the technical challenges of insufficient accuracy in existing DAS data, low coverage efficiency of UAVs, and inadequate synergy between the two, resulting in low accuracy and weak overall coverage of highway traffic condition perception, this invention proposes a UAV aerial photography mission control method that integrates highway traffic condition data. This method unifies DAS, UAV, and checkpoint camera data to generate a unified spatiotemporal map of traffic conditions. A coarse- and fine-level matching strategy is employed to achieve spatiotemporal alignment between DAS and UAV data, followed by U-Net restoration to obtain a finely integrated spatiotemporal map. Using checkpoint data as a benchmark, an MPC model predictive control is constructed to optimize the UAV's hovering position, altitude, and data acquisition duration under physical constraints such as UAV endurance. Optimal flight commands are output in a rolling manner, thereby achieving complementary advantages between DAS's overall perception and UAV's local high-precision perception. This solves the technical problems of poor DAS sensor data quality and insufficient perception accuracy, improving the accuracy of highway traffic condition perception. Specifically, as... Figure 1 As shown, the method includes the following steps: Step 1: Under the constraints related to the performance of the UAV, for the current moment... The drone is used for decision-making and control to obtain the current time. The subsequent prediction time domain H Spatiotemporal map of drone traffic conditions ;like Figure 2 As shown, the drone hovers over the section of highway to be tested and collects a sequence of road surface images through its onboard camera unit. The vehicle movement trajectory is extracted through a vehicle target detection and tracking algorithm to obtain an aerial vehicle trajectory map taken by the drone. The vehicle trajectory is then mapped to the Frenet road coordinate system to complete coordinate alignment and generate a spatiotemporal map of the drone's traffic status.

[0019] Step 1.1: Define the UAV control sequence to be solved. ,in, Indicates the first i The control vector under each decision segment, and , Indicates the first i The road sections observed by drones under each decision-making segment, Indicates the first i The relative flight altitude of the drone under each decision segment Indicates the first i The interval data collection time of the drone under each decision segment; Indicates will H The total number of decision segments after discretization; before executing the actual flight, the flight plan of the UAV is pre-simulated in the prediction time domain, and the predicted UAV traffic state spatiotemporal map is output to provide input for subsequent data fusion and control optimization, avoiding direct and blind test flights.

[0020] In the specific implementation, a section of a two-way four-lane highway was used as the test object, and this section has already been laid with distributed optical fiber for communication. The current decision-making time is taken as... Set the prediction time domain The road is divided into several sections, which are then discretized. There are 3 decision segments, each with a duration of 3 seconds. min .

[0021] Step 1.2: Set the performance-related constraints of the UAV according to equation (1); (1) In equation (1), Indicates that the drone is from the first i Road sections under each decision segment Fly to the i+ Road sections under one decision segment The time required; Indicates that the drone is from the first i Relative flight altitude under each decision segment Fly to the i+ Relative flight altitude under one decision segment The time required; Indicates the maximum operating time of the drone; These represent the three flight altitude levels that the drone can select. This represents the set of road sections where drone aerial photography is permitted. Indicates the upper and lower limits of the interval collection duration.

[0022] In practice, the maximum working time of the drone =40 min Flight altitude settings , , Set upper and lower limits for data collection duration. , .

[0023] Step 1.3, as follows Figure 3 (in) b As shown in the figure, the drone follows After execution, the result is the first... i Spatiotemporal map of drone traffic state prediction under each decision segment ,in, Indicates the first The aerial photography time step and the first The spatiotemporal grid at each vertical position Indicates the first i Index of aerial photography time steps under each decision segment Indicates the first iThe total observation time of aerial photography under each decision segment Indicates the first i The longitudinal position index of the vehicle observed in each decision segment from the starting point of the highway along the road direction in the Frenet coordinate system. Indicates the first i The total length of roads covered by drone aerial photography observations under each decision segment.

[0024] Step 2: Obtain a spatiotemporal map of fiber optic traffic conditions using distributed optical fibers. and the spatiotemporal map of traffic conditions on drones After jointly generating a coarse fused traffic state spatiotemporal map, it is then processed by an image augmentation network to obtain a fine fused traffic state spatiotemporal map atlas. ; Step 2.1, as follows Figure 3 (in) a As shown in the figure, a spatiotemporal map of traffic conditions is obtained using distributed optical fibers. ,in, Indicates the first The fiber time step and the first The spatiotemporal grid at each vertical position t Indicates the time step index of distributed optical fiber observations. This represents the total observation time of the distributed optical fiber. s This represents the longitudinal position index of a vehicle observed by distributed optical fiber in the Frenet coordinate system, along the road direction from the starting point of the highway. This represents the total length of roads covered by distributed fiber optic observations. Since the window sizes for the original distributed fiber optic sampling and UAV sampling are different, the first step is to crop the distributed fiber optic spatiotemporal map based on the spatiotemporal window of the UAV prediction spatiotemporal map, extract candidate matching regions, narrow the subsequent matching search range, and reduce the computational load.

[0025] by Length of time and space length ,right Perform a cropping operation to obtain J i Time segments and K i Several spatiotemporal grids under a spatial segment; denoted as the first... The time interval and the first The spatiotemporal grid at each spatial interval segment is .

[0026] In practice, the distributed optical fiber sampling time step is set to 0.2s, and the spatial sampling interval is 2m; the total observation time is... Total length of roads covered Assume the first i Length of time for drone aerial photography in the decision-making phase spatial coverage ; for the global DAS spatiotemporal graph The process involves cropping the data, extracting the corresponding time and space windows, and obtaining the corresponding spatiotemporal grid set, which serves as the input for subsequent matching.

[0027] Step 2.2: Use the matching method of feature vector similarity and energy integral to... and Processing is performed to obtain the first... i A coarse fused spatiotemporal map of traffic states after spatiotemporal matching under each decision segment. and with Binary mask image After splicing, the first i Multi-channel input tensor under each decision segment .

[0028] like Figure 4 As shown, firstly, a CNN network is used to extract... and eigenvectors, calculate eigenvectors and The similarity of feature vectors is selected based on a similarity greater than a threshold. The corresponding regions are combined to form an envelope. Then on The area in Size and fixed step size Slide to get m A sliding DAS traffic state spatiotemporal diagram ,calculate and Energy, selection and The closest in energy In the original Chinese Alternative ; Step 2.2.1 Extract using a CNN network and The feature vectors are obtained accordingly. eigenvectors and eigenvectors ;in, express eigenvectors.

[0029] Step 2.2.2: Calculate according to formula (2) and Feature similarity between ; (2) In equation (2), This indicates transpose.

[0030] Step 2.2.3, Select The spatiotemporal grid corresponding to time And form the first i Envelope of each decision segment ,in, This represents the maximum value percentage threshold, and = During implementation Take 0.7.

[0031] Step 2.2.4, using dimensions right According to a fixed step size Sliding window installation is underway. Take 2 s , obtained the i Spatiotemporal matching diagram under each decision segment ,in, Indicates the first i The first decision stage m Spatiotemporal matching graph under a sliding window Indicates the first i The total number of sliding windows under each decision segment.

[0032] Step 2.2.5: Calculate according to equations (3) and (4) respectively. energy and energy ; = (3) = (4) In equations (3) and (4), express Mid-space grid Strength at the location; express The Middle m Spatiotemporal grid under a sliding window The strength at that location.

[0033] Step 2.2.6: Calculate the result according to formula (5). The number corresponding to the closest spatiotemporal matching graph ; (5) Step 2.2.7, in Remove the first i The first decision stage Spatiotemporal matching graph under a sliding window and use After filling in the blanks, we get the first... i A coarse fused spatiotemporal map of traffic states after spatiotemporal matching under each decision segment. Synchronous generation Binary mask image ,Will and splicing to form the first i Multi-channel input tensor under each decision segment After the replacement is completed, the result is... Most areas retain DAS global data, while the matching window position is replaced with high-precision UAV data. Binary mask. The area replaced by the drone is marked as 1, and the original DAS area is marked as 0. This area is used as the second channel and stitched with the original image. U-Net can determine which areas originate from drones and which originate from fiber optics based on the mask, and can then specifically repair DAS noise and edge stitching gaps.

[0034] Step 2.3: Construct the U-Net network, including: encoder, bottleneck layer, and decoder, and perform... Process and output the first... i Decoding and reconstructing feature maps under each decision segment According to channel dimension After splitting and denormalizing, we get the same as Finely fused spatiotemporal maps of traffic conditions of the same size Thus, a fused traffic state spatiotemporal atlas is obtained. .

[0035] like Figure 5 The diagram shows the image enhancement U-Net network structure of this invention. This network includes an encoder, a bottleneck layer, and a decoder, used to enhance and repair a coarsely fused spatiotemporal map of traffic conditions. The network input is a multi-channel input tensor. The coarsely fused spatiotemporal map of traffic conditions and its binary mask image It is composed of channels; the mask image is used to distinguish data sources, the drone replacement area is marked as 1, and the DAS raw data area is marked as 0, guiding the network to differentiate data from different sources.

[0036] The encoder performs downsampling through convolution and pooling to extract multi-level deep features from the input tensor; the bottleneck layer completes feature fusion to mine the spatiotemporal correlation characteristics of traffic states; the decoder combines upsampling with skip connections to fuse shallow features from the encoder and deep features from the decoder, restores image resolution, and outputs the decoded and reconstructed feature map. .Will By splitting the traffic flow by channel and then denormalizing it, a finely fused spatiotemporal map of traffic conditions with the same dimensions as the input is obtained. .

[0037] Step 3: Use the checkpoint camera to obtain a spatiotemporal map of traffic conditions. and with The objective function for prediction error is constructed together, including prediction flow and prediction average spatial velocity. Under constraints related to UAV performance, the objective function is minimized to obtain the optimal control sequence of the UAV. The first term of the optimal control sequence is then applied to the UAV aerial photography mission.

[0038] Step 3.1, as follows Figure 3 (in) c As shown in the figure, the spatiotemporal map of traffic status obtained from the checkpoint camera is shown. The total video observation time of the checkpoint cameras was [missing information]. The total length of roads covered by the checkpoint camera video is The spatiotemporal range covered by the checkpoint camera is In practice, existing road checkpoint cameras were deployed on the test section, with a total observation time of [duration missing]. spatial coverage Using a target tracking algorithm, output a spatiotemporal map of the traffic status at the checkpoint. The checkpoint covers a spatial and temporal area. This will serve as the baseline truth region for subsequent objective function calculations.

[0039] Step 3.2, based on time length and space length ,right Perform a cropping operation to obtain Time segments and Under each spatial segment A spatiotemporal grid; record The Middle The time interval and the first The spatiotemporal grid at each spatial interval segment is .

[0040] make Traffic flow is ,make The average space velocity is ; thereby obtaining state vector .

[0041] In terms of time length and space length ,right Perform a cropping operation to obtain Time segments and Under each spatial segment A spatiotemporal grid.

[0042] remember The Middle The time interval and the first The spatiotemporal grid at each spatial interval segment is ; make Traffic flow is ,make The average space velocity is Thus obtain state vector .

[0043] Step 3.3, will Corresponding state vector The input is fed into the trained traffic state prediction model for processing to obtain the first... i At the current moment under each decision segment The subsequent prediction time domain H Any prediction time within Integrated traffic state spatiotemporal atlas Corresponding Spatiotemporal Map of Predicted Traffic Flow Spatiotemporal diagram of predicted average spatial velocity .

[0044] Will Corresponding state vector The input is fed into the trained traffic state prediction model for processing to obtain the current time. The subsequent prediction time domain H Any prediction time within Traffic status spatiotemporal map from checkpoint cameras Corresponding Spatiotemporal Map of Predicted Traffic Flow Spatiotemporal diagram of predicted average spatial velocity .

[0045] Step 3.4, and According to each spatiotemporal grid index ( Each value is assigned and written back to the corresponding spatiotemporal grid, and the reconstructed value is obtained. i At any prediction time under each decision segment Integrated traffic state spatiotemporal map .

[0046] remember China belongs to The area is In terms of time length and space length right Perform a cropping operation to obtain J Time segments and Several spatiotemporal grids under a spatial segment.

[0047] remember The Middle The time interval and the first The spatiotemporal grid at each spatial interval segment is ; make Traffic flow is ,make The average space velocity is .

[0048] Step 3.5: Follow the process in Step 3.4. Processing is performed to obtain any predicted time. Integrated traffic state spatiotemporal atlas as well as China belongs to The first region The time interval and the first Traffic flow at each spatial segment and average space velocity .

[0049] Step 3.6: Construct the objective function for prediction error based on equation (6). And under the constraints related to UAV performance, By performing a minimization problem, the optimal control sequence for the UAV is obtained. ; (6) In equation (6), The weight representing traffic volume is being implemented. Set the value to 1.0; Weights representing speed, in implementation Take 1.5; and They represent middle Predicted traffic flow and middle The predicted average spatial velocity at that location.

[0050] In this embodiment, due to The value depends on the entire forward computation of UAV traffic state spatiotemporal map prediction, spatiotemporal matching and image enhancement, and traffic state prediction. Relative decision vector Since there is no analytical gradient and each evaluation requires the complete execution of steps 1 to 3, the evaluation cost is high. Therefore, Bayesian optimization is used to solve the optimization problem shown in equation (6).

[0051] Within the feasible region defined by the constraints shown in equation (1), low-difference sequences are used to generate... The initial decision vectors are calculated step by step, and the objective function value is calculated for each vector to form the initial observation dataset. ,middle Take the decision vector dimension as 3 The initial decision vectors are 2 to 5 times larger than the initial decision vectors, and the hovering position interval number, relative flight altitude and interval collection time of each initial decision vector satisfy the constraints shown in Equation (1) to ensure that all initial samples are located within the feasible region.

[0052] Calculate the arbitrary candidate decision vector according to equations (7) and (8) respectively. posterior mean of the objective function With posterior variance ; (7) k (8) In equations (7) and (8), k = Let u be the covariance vector between the candidate decision u and the historical samples; K Let be the covariance matrix among historical samples, and its () i , j ) item is ; is a column vector of historical objective function values; k(·,·) is the covariance function, taking the Matern5 / 2 kernel function; denoted as , where I is the observation noise variance; I is the identity matrix; and D is the historical observation dataset.

[0053] Calculate the candidate decision vector according to equations (9) and (10). Expected improvement in EI ( ); (9) (10) In equations (9) and (10), The minimum objective function value in the historical observation dataset; and Let represent the cumulative distribution function and probability density function of the standard normal distribution, respectively.

[0054] The constrained desired improved acquisition function is calculated according to equations (11) and (12). ; (11) (12) In equations (11) and (12), A feasibility function is constructed using hovering position interval numbers, relative flight altitude, and interval data collection duration; and Feasibility functions The posterior mean and posterior standard deviation.

[0055] maximize The candidate decision vectors are obtained, and the objective function is calculated according to the above steps and added to the observation dataset. D The iteration continues until the set upper limit is reached. After termination, the decision vector that satisfies the constraint of equation (1) and has the minimum objective function value is selected from the historical observation dataset as the optimal UAV control sequence. and the first item of the sequence Used for step 4.

[0056] After solving, a rolling UAV control sequence is implemented, using the optimal control sequence obtained in step 3. The first item This is converted into drone flight control waypoints, flight altitude, and hovering data collection duration commands for use in drone aerial photography missions.

[0057] The UAV control system receives the above instructions. Drive the drone to the designated road section Adjust to the corresponding flight altitude Completion time The drone hovers and captures aerial images. After the aerial photography is completed, the collected road surface image data is sent back to the backend processing unit to regenerate a new round of drone traffic status spatiotemporal maps.

[0058] The system updates the current decision-making time, taking the latest acquired distributed fiber optic data, the data transmitted back from the drone aerial photography, and the observation data from the checkpoint camera as inputs, and jumps back to step 1 to start the next round of complete optimization loop, realizing a rolling closed loop of prediction-optimization-execution-observation update; this rolling working mode does not execute all planning sequences in the prediction time domain, but only executes the current optimal first step action, thereby avoiding the deviation caused by long-term prediction and continuously adapting to the real-time changes in the traffic conditions of the highway.

[0059] In this embodiment, an electronic device includes a memory and a processor. The memory stores a program that supports the processor in executing the above-described method, and the processor is configured to execute the program stored in the memory.

[0060] In this embodiment, a computer-readable storage medium stores a computer program, which is executed by a processor to perform the steps of the above method.

Claims

1. A method for controlling UAV aerial photography missions that integrates highway traffic conditions, characterized in that, Includes the following steps: Step 1: Under the constraints related to the performance of the UAV, for the current moment... The drone is used for decision-making and control to obtain the current time. The subsequent prediction time domain H Spatiotemporal map of drone traffic conditions ; Step 2: Obtain a spatiotemporal map of fiber optic traffic conditions using distributed optical fibers. and the spatiotemporal map of traffic conditions on drones After jointly generating a coarse fused traffic state spatiotemporal map, it is then processed by an image augmentation network to obtain a fine fused traffic state spatiotemporal map atlas. ; Step 3: Use the checkpoint camera to obtain a spatiotemporal map of traffic conditions. and with The objective function for prediction error is constructed together, including prediction flow and prediction average spatial velocity. Under constraints related to UAV performance, the objective function is minimized to obtain the optimal control sequence of the UAV. The first term of the optimal control sequence is then applied to the UAV aerial photography mission.

2. The method for controlling UAV aerial photography missions by integrating highway traffic conditions according to claim 1, characterized in that, Step 1 includes the following steps: Step 1.1: Define the UAV control sequence to be solved. ,in, Indicates the first i The control vector under each decision segment, and , Indicates the first i The road sections observed by drones under each decision-making segment, Indicates the first i The relative flight altitude of the drone under each decision segment Indicates the first i The interval data collection time of the drone under each decision segment; Indicates will H The total number of decision segments after discretization; Step 1.2: Set the performance-related constraints of the UAV according to equation (1); (1) In equation (1), Indicates that the drone is from Fly to the i+ Road sections under one decision segment The time required; Indicates that the drone is from Fly to the i+ Relative flight altitude under one decision segment The time required; Indicates the maximum operating time of the drone; These represent the three flight altitude levels that the drone can select. This represents the set of road sections where drone aerial photography is permitted. Indicates the upper and lower limits of the interval collection duration; Step 1.3, the drone follows After execution, the result is the first... i Spatiotemporal map of drone traffic state prediction under each decision segment ,in, Indicates the first The aerial photography time step and the first The spatiotemporal grid at each vertical position Indicates the first i Index of aerial photography time steps under each decision segment Indicates the first i The total observation time of aerial photography under each decision segment Indicates the first i The longitudinal position index of the vehicle observed in each decision segment from the starting point of the highway along the road direction in the Frenet coordinate system. Indicates the first i The total length of roads covered by drone aerial photography observations under each decision segment.

3. The method for controlling UAV aerial photography missions that integrates highway traffic conditions according to claim 2, characterized in that, Step 2 includes the following steps: Step 2.1: Obtain a spatiotemporal map of fiber optic traffic conditions using distributed optical fibers. ,in, Indicates the first The fiber time step and the first The spatiotemporal grid at each vertical position t Indicates the time step index of distributed optical fiber observations. This represents the total observation time of the distributed optical fiber. s This represents the longitudinal position index of a vehicle observed by distributed optical fiber in the Frenet coordinate system, along the road direction from the starting point of the highway. This represents the total length of roads covered by distributed fiber optic observations; by Length of time and spatial length ,right Perform a cropping operation to obtain J i Time segments and K i Several spatiotemporal grids under a spatial segment; denoted as the first... The time interval and the first The spatiotemporal grid at each spatial interval segment is: ; Step 2.2: Use the matching method of feature vector similarity and energy integral to... and Processing is performed to obtain the first... i A coarse fused spatiotemporal map of traffic states after spatiotemporal matching under each decision segment. and with Binary mask image After splicing, the first i Multi-channel input tensor under each decision segment ; Step 2.3: Construct the U-Net network, including: encoder, bottleneck layer, and decoder, and perform... Process and output the first... i Decoding and reconstructing feature maps under each decision segment According to channel dimension After splitting and denormalizing, we get the same as Finely fused spatiotemporal maps of traffic conditions of the same size Thus, a fused traffic state spatiotemporal atlas is obtained. .

4. The UAV aerial photography mission control method integrating highway traffic conditions according to claim 3, characterized in that, Step 2.2 includes the following steps: Step 2.2.1: Extract using a CNN network. and The feature vectors are obtained accordingly. eigenvectors and eigenvectors ;in, express eigenvectors; Step 2.2.2: Calculate according to formula (2) and Feature similarity between ; (2) In equation (2), Indicates transpose; Step 2.2.3, Select The spatiotemporal grid corresponding to time And form the first i Envelope of each decision segment ,in, This represents the maximum value percentage threshold, and = ; Step 2.2.4, using dimensions right According to a fixed step size Perform a sliding window operation to obtain the first... i Spatiotemporal matching diagram under each decision segment ,in, Indicates the first i The first decision stage m Spatiotemporal matching graph under a sliding window Indicates the first i The total number of sliding windows under each decision segment; Step 2.2.5: Calculate according to equations (3) and (4) respectively. energy and energy ; = (3) = (4) In equations (3) and (4), express Mid-space grid Strength at the location; express The Middle m Spatiotemporal grid under a sliding window Strength at the location; Step 2.2.6: Calculate the result according to formula (5). The number corresponding to the closest spatiotemporal matching graph ; (5) Step 2.2.7, in Remove the first i The first decision stage Spatiotemporal matching graph under a sliding window and use After filling in the blanks, we get the first... i A coarse fused spatiotemporal map of traffic states after spatiotemporal matching under each decision segment. ; Synchronous generation Binary mask image , Will and splicing to form the first i Multi-channel input tensor under each decision segment .

5. The UAV aerial photography mission control method integrating highway traffic conditions according to claim 4, characterized in that, Step 3 includes the following steps: Step 3.1: Set the total observation time of the checkpoint camera to... The total length of roads covered by the checkpoint cameras is The spatiotemporal range covered by the checkpoint camera is Thus, traffic status spatiotemporal maps can be obtained using checkpoint cameras. , Step 3.2, based on time length and spatial length ,right Perform a cropping operation to obtain Time segments and Under each spatial segment A spatiotemporal grid; record The Middle The time interval and the first The spatiotemporal grid at each spatial interval segment is: ; make Traffic flow is ,make The average space velocity is ; thereby obtaining state vector ; In terms of time length and spatial length ,right Perform a cropping operation to obtain Time segments and Under each spatial segment A spatiotemporal grid; remember The Middle The time interval and the first The spatiotemporal grid at each spatial interval segment is: ; make Traffic flow is ,make The average space velocity is Thus obtain state vector ; Step 3.3, will Corresponding state vector The input is fed into the trained traffic state prediction model for processing to obtain the first... i At the current moment under each decision segment The subsequent prediction time domain H Any prediction time within Integrated traffic state spatiotemporal atlas Corresponding Spatiotemporal Map of Predicted Traffic Flow Spatiotemporal diagram of predicted average spatial velocity ; Will Corresponding state vector The input is fed into the trained traffic state prediction model for processing to obtain the current time. The subsequent prediction time domain H Any prediction time within Traffic status spatiotemporal map from checkpoint cameras Corresponding Spatiotemporal Map of Predicted Traffic Flow Spatiotemporal diagram of predicted average spatial velocity ; Step 3.4, and According to each spatiotemporal grid index ( Each value is assigned and written back to the corresponding spatiotemporal grid, and the reconstructed value is obtained. i At any prediction time under each decision segment Integrated traffic state spatiotemporal map ; remember China belongs to The area is In terms of time length and spatial length right Perform a cropping operation to obtain J Time segments and Several spatiotemporal grids under a spatial segment; remember The Middle The time interval and the first The spatiotemporal grid at each spatial interval segment is: ; make Traffic flow is ,make The average space velocity is ; Step 3.5: Follow the process in Step 3.

4. Processing is performed to obtain any predicted time. Integrated traffic state spatiotemporal atlas as well as China belongs to The first region The time interval and the first Traffic flow at each spatial segment and average space velocity ; Step 3.6: Construct the objective function for prediction error based on equation (6). And under the constraints related to UAV performance, By performing a minimization problem, the optimal control sequence for the UAV is obtained. ; (6) In equation (6), Indicates the weight of traffic; Weights representing speed; and They represent middle Predicted traffic flow and middle The predicted average spatial velocity at that location.

6. An electronic device, comprising a memory and a processor, characterized in that, The memory is used to store a program that supports a processor in executing the method of any one of claims 1-5, the processor being configured to execute the program stored in the memory.

7. A computer-readable storage medium storing a computer program thereon, characterized in that, The computer program is executed by the processor to perform the steps of the method according to any one of claims 1-5.