A dynamic multi-algorithm scheduling system in unmanned aerial vehicle data transmission

By combining channel state acquisition and queue entropy scheduling modules, and utilizing the cooperation between the main running queue and the reserve mirror queue, the problem of real-time judgment of channel changes and queue status in UAV edge data transmission is solved, realizing the continuity and stability of data transmission and improving data transmission efficiency under wireless channel changes.

CN123145642APending Publication Date: 2026-11-20CHANGZHOU FENGFEI INTELLIGENT CONTROL TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611298881.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing UAV edge data transmission systems struggle to promptly assess channel conditions and transmission queue status when wireless channels change rapidly, leading to packet backlog, packet loss, and transmission interruptions. Existing algorithm switching mechanisms are also slow to respond and cannot adapt to the instantaneous changes in wireless channels.

Method used

The delay gradient and frame packet loss entropy are obtained by the channel state acquisition module. Combined with the buffer occupancy rate of the edge transmission queue, the switching command is calculated by weighted rule algorithm. The main running queue and the reserve mirror queue are used to realize the precoding and switching of data stream and ensure the stability of data packet order.

Benefits of technology

It enables timely algorithm adjustment when the wireless channel changes, reduces the risk of transmission queue overflow, maintains the continuity and stability of data transmission, and improves link utilization and overall data transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123145642A_ABST
    Figure CN123145642A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of edge data transmission, and discloses a dynamic multi-algorithm scheduling system in unmanned aerial vehicle data transmission, which comprises the following modules: a channel state acquisition module that acquires a link delay gradient and frame packet loss entropy; a queue entropy scheduling module that calculates a weighted index in combination with a sending queue cache occupancy rate and outputs an algorithm switching instruction when a threshold is crossed; an algorithm state matching module that controls data flow to be written into a preparatory mirror image queue and pre-encoded by a target algorithm entity; and a state locking and packaging module that injects state metadata into the head of a first packet and switches a sending port to the preparatory mirror image queue through atomic replacement of a memory address pointer. Through nonlinear coupling of channel fading trends and physical cache states, the application completes congestion prediction before overflow of a sending queue, reduces pauses in the algorithm handover process, reduces the probability of data packet disorder, and guarantees the continuity and low time delay jitter of high-dynamic wireless link data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a dynamic multi-algorithm scheduling system for UAV data transmission, belonging to the field of edge data transmission technology. Background Technology

[0002] During UAV edge data transmission, UAVs typically act as aerial data sources, transmitting large amounts of data back to ground receivers in real time. Due to the constantly changing wireless channels in the flight environment, existing systems generally pre-configure multiple data processing algorithms at the UAV edge. These algorithms have different compression efficiencies and anti-interference capabilities. The system switches between different algorithms based on channel conditions to maintain the reliability of data transmission. Existing technologies typically rely on the receiver to periodically measure signal strength or signal-to-noise ratio when judging channel conditions, and use the measurement results as the basis for algorithm switching. When UAVs perform flight missions, they are easily affected by attitude changes and terrain obstruction, and the wireless transmission link may experience significant fading in a short period of time. In this case, the channel parameters periodically measured by the receiver have a certain lag. When the wireless channel quality suddenly deteriorates, the amount of data that the link can carry will decrease rapidly, but upper-layer data may still continue to be written to the edge transmission queue at the original rate. Algorithm switching based solely on channel parameters is difficult to reflect the data backlog in the transmission queue in a timely manner, which can easily cause the transmission queue buffer to increase rapidly, or even overflow, and cause data packets to become congested in the queue.

[0003] Increasing the buffer capacity of the sending queue can temporarily accommodate more data to be sent, but it cannot reduce the waiting time of data packets in the queue. The buffer occupancy rate remains high for extended periods, increasing the risk of subsequent packet loss. Increasing the sampling frequency of channel parameters can shorten the detection interval, but it consumes processing resources at the UAV edge nodes and still fails to solve the problem of out-of-order data packets and transmission pauses caused by inconsistent processing states during algorithm switching. Therefore, existing technologies lack both comprehensive judgment of channel changes and sending queue buffer states, and synchronous control of queue data and data packet processing states during algorithm switching. For example, public... Chinese invention patent application CN113923721A discloses a multi-payload data interaction system for unmanned aerial vehicles (UAVs) and its data transmission control method. However, when multi-source payload data is transmitted in parallel, the periodic monitoring and hierarchical adjustment mechanism adopted by this scheme has a response lag problem: when the channel experiences instantaneous and severe fluctuations or multiple payloads conflict concurrently, the step-by-step rate reduction based on static thresholds is difficult to meet the real-time response requirements and is prone to buffer overflow and packet loss before the rate adjustment command takes effect; at the same time, step-by-step adjustment is prone to cause link bandwidth fluctuations and is difficult to adapt to changes in the wireless channel in a timely manner, requiring a scheduling mechanism that combines channel and buffer status for smooth switching.

[0004] Therefore, how to make timely judgments based on the channel changes and the buffer status of the transmission queue in the case of rapid changes in the wireless channel, and how to maintain continuous data transmission and stable data packet order during algorithm switching, are problems that existing UAV edge data transmission technologies need to solve. Summary of the Invention

[0005] To address the problems in the background art, the technical solution of the present invention is as follows: A dynamic multi-algorithm scheduling system for UAV data transmission, comprising:

[0006] The channel state acquisition module is used to obtain the delay gradient and frame packet loss entropy of the UAV edge transmission link and construct the link state vector.

[0007] The queue entropy scheduling module is connected to the channel state acquisition module. It is used to access the link state vector and the buffer occupancy rate of the edge transmission queue, calculate the weighted index according to the preset weighting rule, and output the algorithm switching command when the weighted index crosses the preset switching threshold. The preset weighting rule uses the product of the delay gradient and the buffer occupancy rate as the numerator and the sum of the frame packet loss entropy and the preset balance constant as the denominator.

[0008] The algorithm state matching module, connected to the queue entropy scheduling module, includes a data cache structure consisting of a main running queue and a pre-running mirror queue. It is used to respond to algorithm switching commands, control the newly connected raw data stream to be written into the pre-running mirror queue, and complete pre-encoding using a preset target algorithm entity.

[0009] The state locking packet module, connected to the queue entropy scheduling module and the algorithm state matching module, is used to lock the frame tail of the current data packet, inject state metadata containing the source algorithm identifier, target algorithm identifier and sequence number into the header of the first packet pre-encoded by the target algorithm entity, and switch the addressing target of the data sending port from the main running queue to the preparatory mirror queue through atomic replacement of the memory address pointer, and clear the residual cache of the main running queue.

[0010] Preferably, the algorithm switching instruction includes a downward migration instruction and an upward migration instruction; when the weighted index is greater than the preset upper limit threshold for switching, the queue entropy scheduling module outputs a downward migration instruction to the algorithm state matching module, controlling the algorithm state matching module to switch the data stream into the high redundancy and noise-resistant algorithm entity; when the weighted index is less than the preset lower limit threshold for switching, the queue entropy scheduling module outputs an upward migration instruction, controlling the algorithm state matching module to switch the data stream into the high throughput and low compression ratio algorithm entity.

[0011] Preferably, the data processing algorithm entities pre-set in the algorithm state matching module include a high-throughput lossless compression algorithm entity, an anti-interference coding algorithm entity, and a superframe slice splitting algorithm entity. When the high-throughput lossless compression algorithm entity is running, the data stream directly completes lossless compression through the Huffman mapping table. When the anti-interference coding algorithm entity is switched in, the algorithm state matching module injects forward error correction redundancy check bits into the data stream. When the superframe slice splitting algorithm entity is switched in, the algorithm state matching module divides the data stream into fixed-length superframe sub-slices and sends them in parallel through multiple independent logical channels.

[0012] Preferably, when the weighted index reaches the preset warning threshold, the queue entropy scheduling module outputs an algorithm switching warning to the state locking packet module; the state locking packet module maintains the data push of the main running queue, and simultaneously imports the newly received raw data stream into the reserve mirror queue, where it is pre-encoded by the target algorithm entity; the main running queue is used to store the data packets currently being processed by the algorithm entity, and the reserve mirror queue is used to store the data packets written after receiving the algorithm switching warning; when the weighted index crosses the preset switching threshold, the state locking packet module atomically switches the addressing target of the data sending interface from the main running queue to the reserve mirror queue by updating the memory address pointer.

[0013] Preferably, the channel state acquisition module acquires link transmission parameters at a fixed sampling period, and calculates the delay gradient by subtracting the average transmission delay of the current sampling period from the average transmission delay of the previous sampling period; the channel state acquisition module statistically analyzes the packet loss distribution probability of consecutive data packets within a sliding observation window, and calculates the frame packet loss entropy based on the packet loss distribution probability; the delay gradient is used to characterize the dynamic evolution trend of channel fading, and the frame packet loss entropy is used to characterize the discreteness of sudden interference in the channel.

[0014] Preferably, in a heterogeneous transmission environment where the UAV is equipped with a first transmission link and a second transmission link, the channel state acquisition module acquires the transmission state parameters of the first transmission link and the second transmission link respectively, and the queue entropy scheduling module calculates the first weighted index of the first transmission link and the second weighted index of the second transmission link respectively; the queue entropy scheduling module constructs a dynamic splitting weight based on the ratio of the second weighted index to the sum of the first weighted index and the second weighted index; the algorithm state matching module splits the original data stream into a first sub-data stream and a second sub-data stream according to the dynamic splitting weight, and maps the first sub-data stream and the second sub-data stream to algorithm entities that match the characteristics of each transmission link to complete parallel processing.

[0015] Preferably, when the state-locking packet module receives an algorithm switching instruction, it locks the tail of the currently transmitted data packet frame; in the header of the first data packet processed by the target algorithm entity in the pre-mirror queue, the state-locking packet module writes state metadata consisting of a source algorithm identifier field, a target algorithm identifier field, and a globally incrementing sequence number field; the state metadata is used by the receiving edge node to reconstruct the decoding context based on the source algorithm identifier field and the target algorithm identifier field, and to eliminate data packet out-of-order based on the globally incrementing sequence number field.

[0016] Preferably, the queue entropy scheduling module is also used to monitor the buffer occupancy rate of the edge sending queue in real time; when the buffer occupancy rate exceeds the preset safety limit and the increase rate of the latency gradient is greater than the preset gradient threshold, the queue entropy scheduling module outputs an emergency truncation command; in response to the emergency truncation command, the algorithm state matching module cuts the data stream into the superframe slice diversion algorithm entity, and reduces the buffer occupancy rate of the edge sending queue by discarding non-critical sensor data frames.

[0017] Preferably, the system is deployed in the edge processing node of the UAV; the channel status acquisition module is connected to the data link layer of the UAV network interface module through the underlying driver interface to obtain the transmission latency and packet loss statistics of the data link layer; the output of the status locking packet module is connected to the data transmission channel of the network interface module to push data packets encapsulated with status metadata to the wireless transmission link.

[0018] Compared with the prior art, the beneficial effects of the present invention are:

[0019] 1. In the dynamic multi-algorithm scheduling of UAV data transmission, by comprehensively utilizing the delay gradient of the transmission link, frame packet loss entropy, and buffer occupancy rate of the edge transmission queue, the changing trend of the wireless channel and the data backlog of the transmission queue can be reflected simultaneously. Compared with judging based on a single channel parameter such as signal strength and signal-to-noise ratio, this method can detect the decline in link carrying capacity and the risk of queue congestion earlier, making algorithm switching more timely, reducing the risk of transmission queue overflow, and reducing data congestion and transmission interruption.

[0020] 2. By cooperating with the main running queue and the backup mirror queue, the target algorithm entity processes subsequent data in advance while the current data continues to be sent. When the switching conditions are met, the sending queue is switched. This can shorten the waiting time when different algorithms are handed over and avoid interruption of data processing status. At the same time, by writing the algorithm identifier and sequence number into the first packet after the switch, the receiving end can resume the decoding state and process data packets in order, thereby reducing the out-of-order data packets and latency jitter caused by algorithm switching and maintaining the continuity of data transmission.

[0021] 3. In UAV communication environments with multiple different transmission links, allocating data streams according to the actual status of each link and matching corresponding data processing algorithms to different sub-data streams can reduce transmission congestion caused by the deterioration of a single link. Each link can handle a data volume commensurate with its own transmission capacity in parallel, which is conducive to improving link utilization and overall data transmission efficiency. By adding the necessary reassembly markers to the data packets, the receiving end can also recover the data transmitted by multiple links in the correct order, ensuring the stability of the parallel transmission process. Attached Figure Description

[0022] Figure 1 This is a schematic diagram of the data flow and control process of the dynamic multi-algorithm scheduling system of the present invention;

[0023] Figure 2 This is a block diagram showing the modular structure of the dynamic multi-algorithm scheduling system of the present invention.

[0024] The objectives, features, and advantages of this invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0025] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0026] A dynamic multi-algorithm scheduling system for UAV data transmission includes:

[0027] The channel state acquisition module is used to obtain the delay gradient and frame packet loss entropy of the UAV edge transmission link and construct the link state vector.

[0028] The queue entropy scheduling module is connected to the channel state acquisition module. It is used to access the link state vector and the buffer occupancy rate of the edge transmission queue, calculate the weighted index according to the preset weighting rule, and output the algorithm switching command when the weighted index crosses the preset switching threshold. The preset weighting rule uses the product of the delay gradient and the buffer occupancy rate as the numerator and the sum of the frame packet loss entropy and the preset balance constant as the denominator.

[0029] The algorithm state matching module, connected to the queue entropy scheduling module, includes a data cache structure consisting of a main running queue and a pre-running mirror queue. It is used to respond to algorithm switching commands, control the newly connected raw data stream to be written into the pre-running mirror queue, and complete pre-encoding using a preset target algorithm entity.

[0030] The state locking packet module, connected to the queue entropy scheduling module and the algorithm state matching module, is used to lock the frame tail of the current data packet, inject state metadata containing the source algorithm identifier, target algorithm identifier and sequence number into the header of the first packet pre-encoded by the target algorithm entity, and switch the addressing target of the data sending port from the main running queue to the preparatory mirror queue through atomic replacement of the memory address pointer, and clear the residual cache of the main running queue.

[0031] Preferably, the algorithm switching instruction includes a downward migration instruction and an upward migration instruction; when the weighted index is greater than the preset upper limit threshold for switching, the queue entropy scheduling module outputs a downward migration instruction to the algorithm state matching module, controlling the algorithm state matching module to switch the data stream into the high redundancy and noise-resistant algorithm entity; when the weighted index is less than the preset lower limit threshold for switching, the queue entropy scheduling module outputs an upward migration instruction, controlling the algorithm state matching module to switch the data stream into the high throughput and low compression ratio algorithm entity.

[0032] Preferably, the data processing algorithm entities pre-set in the algorithm state matching module include a high-throughput lossless compression algorithm entity, an anti-interference coding algorithm entity, and a superframe slice splitting algorithm entity. When the high-throughput lossless compression algorithm entity is running, the data stream directly completes lossless compression through the Huffman mapping table. When the anti-interference coding algorithm entity is switched in, the algorithm state matching module injects forward error correction redundancy check bits into the data stream. When the superframe slice splitting algorithm entity is switched in, the algorithm state matching module divides the data stream into fixed-length superframe sub-slices and sends them in parallel through multiple independent logical channels.

[0033] Preferably, when the weighted index reaches the preset warning threshold, the queue entropy scheduling module outputs an algorithm switching warning to the state locking packet module; the state locking packet module maintains the data push of the main running queue, and simultaneously imports the newly received raw data stream into the reserve mirror queue, where it is pre-encoded by the target algorithm entity; the main running queue is used to store the data packets currently being processed by the algorithm entity, and the reserve mirror queue is used to store the data packets written after receiving the algorithm switching warning; when the weighted index crosses the preset switching threshold, the state locking packet module atomically switches the addressing target of the data sending interface from the main running queue to the reserve mirror queue by updating the memory address pointer.

[0034] Preferably, the channel state acquisition module acquires link transmission parameters at a fixed sampling period, and calculates the delay gradient by subtracting the average transmission delay of the current sampling period from the average transmission delay of the previous sampling period; the channel state acquisition module statistically analyzes the packet loss distribution probability of consecutive data packets within a sliding observation window, and calculates the frame packet loss entropy based on the packet loss distribution probability; the delay gradient is used to characterize the dynamic evolution trend of channel fading, and the frame packet loss entropy is used to characterize the discreteness of sudden interference in the channel.

[0035] Preferably, in a heterogeneous transmission environment where the UAV is equipped with a first transmission link and a second transmission link, the channel state acquisition module acquires the transmission state parameters of the first transmission link and the second transmission link respectively, and the queue entropy scheduling module calculates the first weighted index of the first transmission link and the second weighted index of the second transmission link respectively; the queue entropy scheduling module constructs a dynamic splitting weight based on the ratio of the second weighted index to the sum of the first weighted index and the second weighted index; the algorithm state matching module splits the original data stream into a first sub-data stream and a second sub-data stream according to the dynamic splitting weight, and maps the first sub-data stream and the second sub-data stream to algorithm entities that match the characteristics of each transmission link to complete parallel processing.

[0036] Preferably, when the state-locking packet module receives an algorithm switching instruction, it locks the tail of the currently transmitted data packet frame; in the header of the first data packet processed by the target algorithm entity in the pre-mirror queue, the state-locking packet module writes state metadata consisting of a source algorithm identifier field, a target algorithm identifier field, and a globally incrementing sequence number field; the state metadata is used by the receiving edge node to reconstruct the decoding context based on the source algorithm identifier field and the target algorithm identifier field, and to eliminate data packet out-of-order based on the globally incrementing sequence number field.

[0037] Preferably, the queue entropy scheduling module is also used to monitor the buffer occupancy rate of the edge sending queue in real time; when the buffer occupancy rate exceeds the preset safety limit and the increase rate of the latency gradient is greater than the preset gradient threshold, the queue entropy scheduling module outputs an emergency truncation command; in response to the emergency truncation command, the algorithm state matching module cuts the data stream into the superframe slice diversion algorithm entity, and reduces the buffer occupancy rate of the edge sending queue by discarding non-critical sensor data frames.

[0038] Preferably, the system is deployed in the edge processing node of the UAV; the channel status acquisition module is connected to the data link layer of the UAV network interface module through the underlying driver interface to obtain the transmission latency and packet loss statistics of the data link layer; the output of the status locking packet module is connected to the data transmission channel of the network interface module to push data packets encapsulated with status metadata to the wireless transmission link.

[0039] Example 1: When a dynamic multi-algorithm scheduling system for UAV data transmission is deployed on an edge computing board mounted on the UAV, during system operation, the channel state acquisition module uses a sampling period of 10ms. The system continuously monitors the transmission performance indicators of the underlying wireless network card. The algorithm state matching module has three pre-built parallel data processing algorithm entities. The first algorithm entity is a high-throughput lossless compression algorithm entity that uses a Huffman mapping table to achieve lossless compression. The second algorithm entity is an anti-interference coding algorithm entity based on forward error correction. The third algorithm entity is a super-frame slicing and diversion algorithm entity that operates under extremely poor channel conditions. After the raw data stream collected by the UAV enters the edge transmission queue, the channel state acquisition module calculates the delay gradient in real time. With frame packet loss entropy The link state vector, composed of these two elements, is input into the queue entropy scheduling module. This module is essentially a software scheduling thread running within the microprocessor core of the edge computing board. It calculates the current cache occupancy rate by periodically reading the difference between the data read and write pointers of the edge transmitting ring buffer, and then jointly analyzes the current cache occupancy rate with the input link state vector. It calculates a weighted index according to a preset weighting rule. When the calculated weighted index value crosses the preset 15.0 switching threshold, the queue entropy scheduling module sends an 8-bit conditional algorithm switching instruction to the kernel bus. The algorithm state matching module responds to this instruction, writes the newly connected raw data stream into the pre-image queue, and the target algorithm entity completes the pre-coding. The state locking packet module locks the frame tail of the current data packet, injects state metadata containing the source algorithm identifier, the target algorithm identifier, and a globally incrementing sequence number into the header of the first packet pre-coded by the target algorithm entity, and then switches the addressing target of the data transmission port from the main running queue to the pre-image queue through atomic replacement of the memory address pointer.

[0040] Under normal operating conditions, the channel fluctuation adjustment coefficient Set to 1.2, preset equilibrium constant. Set to 0.01, the algorithm switches to the upper limit threshold. Set to 15.0, the algorithm switches the lower threshold. Set to 2.0, and the preset warning threshold is set to 10.0. This value is 66% of the algorithm's switching upper limit threshold of 15.0. When the value reaches 10.0, the channel state and queue buffer state show a deteriorating trend, but the forced switching condition has not yet been met. At this time, the queue entropy scheduling module outputs an algorithm switching warning to the state locking packet module. The main running queue continues to push data packets processed by the current algorithm entity. Newly received raw data streams are synchronously written to the preparation mirror queue and pre-encoded by the target algorithm entity. When the algorithm switches across the upper limit threshold, atomic replacement of memory address pointers is performed to allow for processing time.

[0041] Under stationary channel conditions, at a certain sampling time, the channel state acquisition module measures the time delay gradient. The frame packet loss entropy is 1.2ms. The buffer occupancy rate of the edge sending queue is 0.15. The weighted index output by the queue entropy scheduling module is 0.20. Approximately 1.26, due to Less than The queue entropy scheduling module maintains the current algorithm entity or outputs an upward migration instruction to allow the data stream to switch to the first algorithm entity, thus maintaining a high-throughput data transmission state.

[0042] Under conditions of sudden channel degradation, the UAV undergoes a violent attitude roll, resulting in a decrease in channel quality. The channel state acquisition module measures the delay gradient. The frame packet loss entropy is 18.5ms. The buffer occupancy rate of the edge sending queue is 0.65. The weighted index output by the queue entropy scheduling module rose to 0.80. Approximately 18.73, due to Greater than The queue entropy scheduling module outputs a downward migration instruction, the algorithm state matching module switches the data stream from the first algorithm entity to the second algorithm entity, the state locking packet module locks the frame tail of the current data packet, and writes state metadata consisting of the source algorithm identifier, the target algorithm identifier, and the globally incrementing sequence number into the header of the first packet pre-encoded by the second algorithm entity, so that the receiving edge node can reconstruct the decoding context and eliminate data packet out-of-order delivery. After all the existing data packets in the main running queue have been sent, the state locking packet module performs an atomic replacement of the memory address pointer, switches the data sending port to the preparation mirror queue, and clears the residual buffer of the main running queue.

[0043] Before the time delay gradient is included in the weighted index calculation, it is first divided by the system's preset 10ms reference sampling period. The resulting dimensionless value is used as the time delay gradient term in the calculation, thus influencing the weighted index. It can be compared with a dimensionless switching threshold. When the transmission delay remains stable or decreases, and the measured delay gradient is no greater than 0ms, the system uses 0.1ms as the lower limit of the baseline offset for the delay gradient term, and then performs normalization. Thus, when the channel delay does not deteriorate, but the buffer occupancy rate of the edge transmission queue increases due to the continuous writing of the original data stream, It still increases with the increase of buffer occupancy rate. Without reference offset correction, the delay gradient under the condition of no transmission delay. 0ms, weighted index The initial value is 0; after the reference bias correction is completed, Still smaller The system remains at the high throughput algorithm level corresponding to the first algorithm entity.

[0044] Example 2: The current experimental platform uses a UAV edge computing node equipped with a wireless network interface module. The UAV transmits data back to the ground receiver in real time via a wireless channel. The sampling frequency of the wireless network interface module is set to 1000Hz, the ranging range is 0m to 5000m, the data transmission channel supports multipath reassembly marking, and the channel state acquisition module uses a fixed sampling period of 10ms to statistically analyze the transmission parameters collected by the wireless network interface module within this period. The delay gradient is obtained by subtracting the average transmission delay of the current sampling period from the average transmission delay of the previous sampling period. .

[0045] In frame packet loss entropy In the calculation process, the channel state acquisition module uses 100 consecutive data packets to form a sliding observation window, and divides this window into 10 equal statistical sub-intervals. For each statistical sub-interval, the frequency of packet loss events is counted, and then the frequency is divided by 100 to obtain the corresponding packet loss probability. Each packet loss probability is multiplied by its base-2 logarithm, and the sum of the results is taken as a negative value to obtain the frame packet loss entropy. Delay gradient With frame packet loss entropy Together they constitute the link state vector, where the former reflects the change in transmission delay with the sampling period, and the latter reflects the dispersion of packet loss events within the sliding observation window.

[0046] The queue entropy scheduling module accesses the link state vector and the buffer occupancy rate of the edge transmission queue, and calculates a weighted index according to preset rules: the numerator is the product of the normalized dimensionless delay gradient and the 1.2 power of the buffer occupancy rate, and the denominator is the sum of the frame loss entropy, the average packet loss rate within the sliding observation window, and the preset balance constant 1.0. Among them, the frame loss entropy is used to measure the discrete randomness of packet loss events in the time series. When the wireless channel quality is excellent and there is zero packet loss, both the packet loss rate and the frame loss entropy converge to 0. At this time, the denominator is the preset balance constant 1. Basis locking is performed at 0 to prevent the denominator from approaching zero and causing an abnormal surge in the weighted index. When sudden discrete interference occurs, the frame packet loss entropy increases, causing the denominator to increase gradually, thus suppressing discrete isolated packet loss. However, when continuous block packet loss is accompanied by a buffer occupancy rate exceeding 80%, the numerator grows rapidly and dominates, driving the weighted index to exceed the upper limit threshold. In this experiment, the channel fluctuation adjustment coefficient was set to 1.2, and the preset balance constant was set to 1.0 to ensure that the denominator is always greater than or equal to 1.0, absolutely eliminating arithmetic anomalies and control reversals under zero packet loss conditions.

[0047] The algorithm state matching module pre-configures a high-throughput lossless compression algorithm entity, an anti-interference coding algorithm entity, and a superframe slice splitting algorithm entity. After the data stream enters the high-throughput lossless compression algorithm entity, lossless compression is completed through the Huffman mapping table. After entering the anti-interference coding algorithm entity, forward error correction redundancy check bits are injected into the data stream. After entering the superframe slice splitting algorithm entity, the data stream is divided into fixed-length superframe sub-slices and sent in parallel through multiple independent logical channels.

[0048] During emergency truncation, the algorithm state matching module parses the type identifier field in the data frame header and extracts the 2-bit priority subfield in the 4th byte of the data frame offset: when the value of this subfield is binary 11, it is determined to be a critical data frame containing flight attitude, control commands, and navigation and positioning information and is retained; when the value of this subfield is binary 00 or 01, it is determined to be a non-critical sensor data frame containing ambient temperature, humidity, high-frequency redundant image background, and auxiliary sensor log information. The hardware filter removes data packets with non-critical identifiers and only writes critical data frames into the edge transmission queue, reducing the cache occupancy rate to a safe level below 50%.

[0049] Upon receiving the algorithm switching instruction, the state-locking packet module sets a 1-bit frame tail lock flag in the header of the last complete data packet descriptor that has been written to the main run queue's circular memory buffer. Simultaneously, it adds a write spinlock to the write pointer of the main run queue, preventing new data from being written to it. The direct memory access controller sequentially reads memory data packets and pushes them to the wireless physical layer. During this process, it verifies the frame tail lock flag in the descriptor in real time. The data transmission interface continues to sequentially read and send the remaining data packets in the main run queue. When the direct memory access controller reads a data packet with a 1-bit frame tail lock flag and triggers a transmission completion interrupt, and the read and write pointers of the main run queue reach a state of equal value, it confirms that all existing data packets in the main run queue have been sent. Subsequently, the state-locking packet module calls the compare-and-swap atomic CPU instruction to directly update and replace the read addressing pointer in the data transmission interface control register with the memory start address of the pre-mirror queue, and clears and resets the memory space corresponding to the main run queue.

[0050] To compare the impact of various technical features on the transmission results, the experiment set up the present invention sample group, control group one, control group two, and out-of-range control group. Control group one adopted a single-dimensional threshold switching method that only relies on the received signal strength indication, without using the joint weighted index formed by the delay gradient, frame packet loss entropy, and buffer occupancy rate. Control group two removed the preparatory mirror queue and adopted a single queue direct switching method. The out-of-range control group set the channel fluctuation adjustment coefficient to 0.4, which is lower than the system setting range.

[0051] Under standard test conditions, a raw data stream containing measured background noise and multipath fading was input to the UAV edge computing node. Without processing, this raw data stream had a packet loss rate of 4.5% and a latency jitter of 35.2 ms. After the UAV experienced a sudden attitude roll, the channel state acquisition module measured the latency gradient. The frame packet loss entropy is 18.5ms. The buffer occupancy rate of the edge sending queue is 0.65. The value rises to 0.80. After substituting the above data into the preset weighting rules, the weighted index... It is approximately 21.45.

[0052] The upper limit threshold of 15.0 and the lower limit threshold of 2.0 for algorithm switching were determined through 500 step fading experiments in a simulated channel environment. When the weighting index reaches 15.0, the edge transmission queue will overflow within 20ms without algorithm switching. Therefore, this value is used as the trigger threshold for migrating down to the anti-interference coding algorithm entity. When the weighting index drops below 2.0, the transmission delay and packet loss return to the range that allows switching back to the high-throughput lossless compression algorithm entity, and no secondary congestion will be caused after the switch.

[0053] In this sudden attitude flip test, the weighted index The value is 21.45, which is higher than the algorithm switching upper limit threshold of 15.0. Based on this, the queue entropy scheduling module outputs a downward migration instruction. The algorithm state matching module switches the data stream into the anti-interference coding algorithm entity. At the same time, it writes the newly connected original data stream into the preparation mirror queue and completes pre-coding. The state locking packet module writes state metadata containing the source algorithm identifier, target algorithm identifier and globally incrementing sequence number into the header of the first packet processed by the target algorithm entity. After the existing data packets in the main running queue have been sent, the data sending port is switched to the preparation mirror queue.

[0054] After the above processing, the packet loss rate of the sample group of the present invention was reduced from 4.5% in the unprocessed state to 0.12%, and the latency jitter was reduced from 35.2ms to 1.4ms. The control group 1 relied only on the received signal strength indication to make the handover judgment and did not use the buffer status of the edge transmission queue for congestion prediction. The queue experienced transient overflow during the algorithm handover, and the measured packet loss rate was 2.85% and the latency jitter was 28.6ms. The control group 2 used a single queue for direct handover. During the handover, the data processing context connection was interrupted and the data packets were out of order. The measured packet loss rate was 1.45% and the latency jitter was 15.8ms.

[0055] In the out-of-range control group, the channel fluctuation adjustment coefficient was set to 0.4. As the buffer occupancy rate of the edge transmission queue increased, the weighted index did not respond sufficiently to the changes in buffer backlog. When the buffer occupancy rate reached 0.85, the queue entropy scheduling module still did not output the downward migration instruction, the edge transmission queue experienced physical overflow, and the packet loss rate rose to 3.20%. During the experiment of gradually increasing the channel interference intensity, the packet loss rate and delay jitter of the sample group of this invention maintained a continuous response with the changes in link status.

[0056] In heterogeneous multi-link parallel transmission, the algorithm state matching module splits the original data stream into sub-data streams sent through two transmission links respectively. The state locking packet module writes a multipath reassembly marker containing the transmission link number, sub-stream fragment number and transmission timestamp into the header of each sub-data packet. The ground receiver calculates the transmission delay difference between the two physical links based on the transmission timestamp and enables a dynamic delay compensation buffer on the link with faster transmission speed to temporarily store the first arriving sub-data packets at the microsecond level. After the sub-data packets corresponding to the other link arrive, the complete original data stream is reconstructed in sequence according to the sub-stream fragment number.

[0057] Example 3: The edge computing card on the current UAV is performing a multimedia data backhaul task over urban buildings. Affected by building obstruction and multipath interference, the wireless channel exhibits nonlinear fading. The channel state acquisition module reads the transmission performance indicators of the underlying wireless network card with a fixed sampling period of 10ms and calculates the delay gradient in real time. With frame packet loss entropy .

[0058] To reduce reliance on manual experience in parameter setting, the queue entropy scheduling module incorporates a parameter calibration program based on historical statistical data. During system initialization, the channel state acquisition module continuously collects historical transmission parameters for 500 cycles at a sampling period of 10ms, statistically analyzes the packet loss distribution probability within the sliding observation window, and obtains the frame packet loss entropy. The statistical mean was recorded, and the buffer occupancy rate of the edge sending queue was also recorded. The distribution and parameter calibration program will use 500 sets of historical time-delay gradients. Cache usage and frame loss entropy As input samples, weighted indicators With the objective of minimizing the mean square error between the predicted value and the actual queue overflow risk probability, the channel fluctuation adjustment coefficient is determined by least squares fitting. The fitting process uses the gradient descent method for iterative solution. Iteration stops when the change in mean square error between two consecutive iterations is less than 0.001. Locked to 1.2.

[0059] When a sudden change occurs in the wireless channel, the queue entropy scheduling module accesses the link state vector and the buffer occupancy rate of the edge transmission queue. The weighted index is calculated according to a preset weighting rule, which uses the product of the delay gradient and the buffer occupancy rate as the numerator and the sum of the frame loss entropy and the preset balance constant as the denominator. ,when Exceeding the algorithm's switching limit threshold At this time, the queue entropy scheduling module outputs a downward migration instruction, and the algorithm state matching module switches the data stream into the anti-interference coding algorithm entity.

[0060] After receiving the algorithm switching command, the state-locking packet module locks the end of the currently processed data packet frame and writes state metadata consisting of the source algorithm identifier, the target algorithm identifier, and a globally incrementing sequence number into the header of the first data packet after the switch. When the ground receiving edge node receives this data packet, it first extracts the globally incrementing sequence number from the packet header and writes the data packet into the receive reassembly buffer, adjusting the data packet order according to the sequence number. Then, it extracts the source algorithm identifier and the target algorithm identifier, calls the corresponding decoding module from the local algorithm library based on the target algorithm identifier, clears the residual intermediate state in the previous algorithm decoder's running register, directly loads the standardized decoding parameter table and check matrix corresponding to the target algorithm identifier pre-stored in the local memory, sets the decoding state machine to the initial ready state, and independently and continuously decodes the new algorithm data packet according to the globally incrementing sequence number, completely eliminating data dependencies and pseudo-state transitions between different data processing algorithms, and completing the decoding context switch.

[0061] While the state locking packet module processes state metadata, the algorithm state matching module starts a pre-mirror queue, synchronously writing the newly connected raw data stream into this queue, and the target algorithm entity completes pre-coding. When the switching threshold is crossed, the state-locked packet module performs an atomic replacement of the memory address pointer, switches the addressing target of the data transmission port to the preparatory mirror queue, and clears the residual cache of the main running queue. After adopting the above parameter calibration and dual queue switching method, the packet loss rate of the system under high-frequency channel fluctuation conditions remains below 0.12%.

[0062] Example 4: This example combines Figures 1 to 2 This paper describes a dynamic multi-algorithm scheduling system for UAV data transmission, such as... Figure 1As shown, the underlying driver interface transmits the acquired transmission latency and packet loss statistics to the channel state acquisition module. The channel state acquisition module obtains the link latency gradient and frame packet loss entropy based on this and constructs a link state vector. The channel state acquisition module outputs the link state vector to the queue entropy scheduling module. The queue entropy scheduling module receives the link state vector and calculates the weighted index. When the switching threshold is crossed, it outputs an algorithm switching command to the algorithm state matching module and simultaneously outputs an algorithm switching warning to the state locking packet module. The raw data stream is input to the algorithm state matching module as the newly accessed raw data stream. The algorithm state matching module combines the main running queue and the pre-image queue to control the data stream writing and pre-encodes it by the target algorithm entity. The algorithm state matching module outputs the pre-image queue data packets to the state locking packet module. The state locking packet module injects state metadata into the header of the first packet, switches the addressing target by atomically replacing the memory address pointer, and then outputs the generated push encapsulated data packets to the data transmission channel in the wireless transmission link.

[0063] like Figure 2 As shown, the channel state acquisition module is connected to the queue entropy scheduling module. The queue entropy scheduling module is connected to the state locking packet module and the algorithm state matching module, respectively. The state locking packet module is connected to the algorithm state matching module. The channel state acquisition module, queue entropy scheduling module, state locking packet module and algorithm state matching module together constitute a dynamic multi-algorithm scheduling system for UAV data transmission.

[0064] Example 5: Before performing a large-scale mapping task, the current UAV edge computing node loads a preset initial state parameter table into the edge computing board on the UAV. The channel state acquisition module reads the hardware registers of the underlying wireless network card with a fixed sampling period of 10ms to obtain the initial transmission delay and packet loss statistics.

[0065] Before the formal flight transmission begins, the system performs baseline calibration based on historical channel fading statistics, and the queue entropy scheduling module uses the least squares method to calibrate the channel fluctuation adjustment coefficient offline. The calibration results are then written to a non-volatile memory unit. In this embodiment, Set to 1.2 to control cache utilization. Perform non-linear exponential weighting, when When below 1.0, the weighted index The response magnitude to changes in cache backlog has decreased, making it difficult to issue early warnings before the edge send queue overflows; when Above 1.5, even small fluctuations in cache utilization can cause... Crossing the preset switching threshold causes the algorithm state matching module to frequently switch algorithm entities.

[0066] Preset equilibrium constant Set to 0.01, when the frame packet loss entropy When the value is 0, it keeps the denominator of the preset weighting rule non-zero; at the same time, 0.01 is two orders of magnitude lower than the minimum frame packet loss entropy under normal working conditions, and has no significant impact on the calculation of weighting index under normal transmission conditions.

[0067] During long-term operation, the channel state acquisition module continuously collects packet loss statistics within the sliding observation window, and the queue entropy scheduling module periodically updates the frame packet loss entropy accordingly. The calculation benchmark enables the algorithm state matching module to adjust the data processing algorithm entity according to the link state changes caused by nonlinear channel fading.

[0068] Example 6: When a UAV performs a mapping task over urban building complexes, building obstruction and multipath interference cause the wireless channel to experience nonlinear fading. The channel state acquisition module reads the transmission register of the underlying wireless network card at a fixed sampling period of 10ms, obtains the average transmission delay of the current sampling period and the previous sampling period, and calculates the difference between the two to obtain the delay gradient. Simultaneously, the probability distribution of packet loss for consecutive data packets within the sliding observation window is statistically analyzed, and the frame packet loss entropy is calculated. .

[0069] The queue entropy scheduling module receives the latency gradient in real time. Frame packet loss entropy and the buffer utilization rate of the edge sending queue Calculate weighted indices according to preset weighting rules. ,when Exceeding the algorithm's switching limit threshold At this time, the queue entropy scheduling module outputs a downward migration instruction, and the algorithm state matching module uses this instruction to switch the data stream into the anti-interference coding algorithm entity.

[0070] The state-locking packet module responds to the algorithm switching command, locks the end of the currently processed data packet frame, and writes state metadata consisting of the source algorithm identifier, the target algorithm identifier, and a globally incrementing sequence number into the header of the first data packet after the switch. Simultaneously, the algorithm state matching module activates a data buffer structure consisting of a main running queue and a pre-running mirror queue, synchronously writing the newly received raw data stream into the pre-running mirror queue, where the target algorithm entity performs pre-encoding. When the switching threshold is crossed, the state-locking packet module performs an atomic replacement of the memory address pointer, switches the addressing target of the data sending port to the preparatory mirror queue, and clears the residual cache of the main running queue, so as to realize continuous data transmission during the algorithm handover process.

[0071] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0072] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A dynamic multi-algorithm scheduling system for UAV data transmission, characterized in that, Include: The channel state acquisition module is used to obtain the delay gradient and frame packet loss entropy of the UAV edge transmission link and construct the link state vector. The queue entropy scheduling module is connected to the channel state acquisition module. It is used to access the link state vector and the buffer occupancy rate of the edge transmission queue, calculate the weighted index according to the preset weighting rule, and output the algorithm switching command when the weighted index crosses the preset switching threshold. The preset weighting rule uses the product of the delay gradient and the buffer occupancy rate as the numerator and the sum of the frame packet loss entropy and the preset balance constant as the denominator. The algorithm state matching module, connected to the queue entropy scheduling module, includes a data cache structure consisting of a main running queue and a pre-running mirror queue. It is used to respond to algorithm switching commands, control the newly connected raw data stream to be written into the pre-running mirror queue, and complete pre-encoding using a preset target algorithm entity. The state locking packet module, connected to the queue entropy scheduling module and the algorithm state matching module, is used to lock the frame tail of the current data packet, inject state metadata containing the source algorithm identifier, target algorithm identifier and sequence number into the header of the first packet pre-encoded by the target algorithm entity, and switch the addressing target of the data sending port from the main running queue to the preparatory mirror queue through atomic replacement of the memory address pointer, and clear the residual cache of the main running queue.

2. The dynamic multi-algorithm scheduling system for UAV data transmission according to claim 1, characterized in that, The algorithm switching instructions include downward migration instructions and upward migration instructions. When the weighted index is greater than the preset upper limit threshold for switching, the queue entropy scheduling module outputs a downward migration instruction to the algorithm state matching module, controlling the algorithm state matching module to switch the data stream into the high redundancy and noise-resistant algorithm entity. When the weighted index is less than the preset lower limit threshold for switching, the queue entropy scheduling module outputs an upward migration instruction, controlling the algorithm state matching module to switch the data stream into the high throughput and low compression ratio algorithm entity.

3. The dynamic multi-algorithm scheduling system for UAV data transmission according to claim 1, characterized in that, The pre-set data processing algorithm entities in the algorithm state matching module include a high-throughput lossless compression algorithm entity, an anti-interference coding algorithm entity, and a superframe slice splitting algorithm entity. When the high-throughput lossless compression algorithm entity is running, the data stream directly completes lossless compression through the Huffman mapping table. When the anti-interference coding algorithm entity is switched in, the algorithm state matching module injects forward error correction redundancy check bits into the data stream. When the superframe slice splitting algorithm entity is switched in, the algorithm state matching module divides the data stream into fixed-length superframe sub-slices and sends them in parallel through multiple independent logical channels.

4. The dynamic multi-algorithm scheduling system for UAV data transmission according to claim 1, characterized in that, When the weighted index reaches the preset warning threshold, the queue entropy scheduling module outputs an algorithm switching warning to the state locking packet module; the state locking packet module maintains the data push of the main running queue, and at the same time synchronously imports the newly received raw data stream into the reserve mirror queue, and the target algorithm entity completes the pre-encoding; the main running queue is used to store the data packets that the current algorithm entity is processing, and the reserve mirror queue is used to store the data packets written after receiving the algorithm switching warning; When the weighted index crosses the preset switching threshold, the state locking packet module updates the memory address pointer to atomically switch the addressing target of the data sending interface from the main running queue to the reserve mirror queue.

5. A dynamic multi-algorithm scheduling system for UAV data transmission according to claim 1, characterized in that, The channel state acquisition module acquires link transmission parameters at a fixed sampling period, and calculates the delay gradient by subtracting the average transmission delay of the current sampling period from the average transmission delay of the previous sampling period. The channel state acquisition module counts the packet loss distribution probability of consecutive data packets within a sliding observation window and calculates the frame packet loss entropy based on the packet loss distribution probability. The delay gradient is used to characterize the dynamic evolution trend of channel fading, while the frame loss entropy is used to characterize the discreteness of sudden channel interference.

6. The dynamic multi-algorithm scheduling system for UAV data transmission according to claim 1, characterized in that, In a heterogeneous transmission environment where the UAV is equipped with a first transmission link and a second transmission link, the channel state acquisition module collects the transmission state parameters of the first transmission link and the second transmission link respectively, and the queue entropy scheduling module calculates the first weighted index of the first transmission link and the second weighted index of the second transmission link respectively. The queue entropy scheduling module constructs a dynamic splitting weight based on the ratio of the second weighted index to the sum of the first weighted index and the second weighted index. The algorithm state matching module splits the original data stream into a first sub-data stream and a second sub-data stream according to the dynamic splitting weight, and maps the first sub-data stream and the second sub-data stream to the algorithm entity that matches the characteristics of each transmission link to complete parallel processing.

7. The dynamic multi-algorithm scheduling system for UAV data transmission according to claim 1, characterized in that, When the state-locking packet module receives an algorithm switching instruction, it locks the tail of the currently transmitted data packet frame. In the header of the first data packet processed by the target algorithm entity in the pre-mirror queue, the state-locking packet module writes state metadata consisting of the source algorithm identifier field, the target algorithm identifier field, and the globally incrementing sequence number field. The state metadata is used by the receiving edge node to reconstruct the decoding context based on the source algorithm identifier field and the target algorithm identifier field, and to eliminate data packet reordering based on the globally incrementing sequence number field.

8. A dynamic multi-algorithm scheduling system for UAV data transmission according to claim 1, characterized in that, The queue entropy scheduling module is also used to monitor the buffer occupancy rate of the edge transmission queue in real time. When the buffer occupancy rate exceeds the preset safety limit and the increase rate of the latency gradient is greater than the preset gradient threshold, the queue entropy scheduling module outputs an emergency truncation command. In response to the emergency truncation command, the algorithm state matching module cuts the data stream into the superframe slice diversion algorithm entity and reduces the buffer occupancy rate of the edge transmission queue by discarding non-critical sensor data frames.

9. A dynamic multi-algorithm scheduling system for UAV data transmission according to claim 1, characterized in that, The system is deployed in the edge processing node of the drone; The channel state acquisition module connects to the data link layer of the UAV network interface module through the underlying driver interface to obtain transmission latency and packet loss statistics of the data link layer; the output of the state locking packet module is connected to the data transmission channel of the network interface module to push data packets encapsulated with state metadata to the wireless transmission link.

Citation Information

Patent Citations

  • Unmanned aerial vehicle multi-load data interaction system and data transmission management and control method thereof

    CN113923721A