Flight simulator signal acquisition and transmission method, system and device based on UDP communication and storage medium

By using a daisy-chain network and dynamic bandwidth allocation mechanism, combined with signal acquisition and encapsulation technology of a dual-core processor, the problems of transmission reliability and real-time performance in the flight simulation system were solved, achieving efficient and reliable transmission of multi-source heterogeneous data and improving the overall performance of the system.

CN120935030BActive Publication Date: 2026-02-06CHINA SOUTHERN TECHNOLOGY (GUANGDONG HENGQIN) CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511455914.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-13
Publication Date
2026-02-06
Estimated Expiration
2045-10-13

AI Technical Summary

Technical Problem

In existing flight simulation systems, static bandwidth allocation mechanisms are difficult to adapt to the dynamic changes of multi-source heterogeneous data streams, centralized control architectures have the risk of single point of failure, and fixed priority strategies lack network status awareness, resulting in low transmission reliability and poor real-time performance.

Method used

A UDP-based signal acquisition and transmission method for flight simulators is adopted. Through a daisy-chain network architecture and a dynamic bandwidth allocation mechanism, a dual-core processor is used to process and standardize the multi-source signals in parallel, generate a bandwidth allocation scheme, and dynamically adjust the transmission bandwidth and timing configuration of data packets to achieve intelligent bandwidth allocation through multi-node collaboration.

Benefits of technology

It improves the transmission reliability and real-time performance of the flight simulation system in complex network environments, ensures low-latency transmission of critical data, and enhances network bandwidth utilization and overall performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120935030B_ABST
    Figure CN120935030B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of UDP communication, and provides a flight simulator signal acquisition and transmission method, system and device based on UDP communication and a storage medium, and solves the problems of low transmission reliability and poor real-time performance of flight target signals in a limited bandwidth environment. The method comprises the following steps: acquiring multi-source heterogeneous signal data generated by a flight target; encapsulating the multi-source heterogeneous signal data into UDP data packets according to a preset data structure, and processing the UDP data packets by using a dual-core processor; transmitting the processed UDP data packets to a daisy chain network; generating a bandwidth allocation scheme based on the processed UDP data packets; dynamically adjusting the transmission bandwidth of the processed UDP data packets according to the bandwidth allocation scheme; and transmitting the processed UDP data packets to a target avionics system according to the adjusted transmission bandwidth. The application improves the transmission reliability and real-time performance of flight target signals in a limited bandwidth environment.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application relates to the technical field of UDP communication, in particular to a flight simulator signal acquisition and transmission method, system and device based on UDP communication and a storage medium. BACKGROUND

[0002] In the field of avionics simulation testing, real-time acquisition and reliable transmission of multi-source heterogeneous signals play a key role in the authenticity of flight simulation systems. Such scenarios need to handle multiple signal types such as analog, discrete and bus data, and ensure low-latency transmission of high-priority data under bandwidth constraints, while requiring the system to have the ability to dynamically adapt to network states.

[0003] A current targeted solution adopts a combination of fixed priority scheduling and static bandwidth allocation. This solution acquires various signals through dedicated hardware acquisition modules, encapsulates data packets in a centralized controller, and allocates transmission bandwidth according to a pre-set priority table. During data transmission, the network state monitoring module periodically reports link quality, and the control center adjusts the sending rate according to the fixed strategy.

[0004] However, this solution has obvious limitations in complex network environments. The static bandwidth allocation mechanism is difficult to adapt to the dynamic changes of data flow, often leading to low bandwidth utilization; the centralized control architecture introduces single-point failure risks, and scheduling delays may affect real-time requirements; the fixed priority strategy lacks coordinated perception of data characteristics and network states, and cannot effectively guarantee the transmission quality of critical data in congested scenarios. SUMMARY

[0005] The application provides a flight simulator signal acquisition and transmission method, system, device and storage medium based on UDP communication to solve the problems of low transmission reliability and poor real-time performance of flight target signals in a limited bandwidth environment in the prior art.

[0006] To solve the above technical problems, in a first aspect, the application provides a flight simulator signal acquisition and transmission method based on UDP communication, comprising:

[0007] Acquiring multi-source heterogeneous signal data generated by a flight target;

[0008] Encapsulating the multi-source heterogeneous signal data into UDP data packets according to a pre-set data structure, and processing the UDP data packets using a dual-core processor;

[0009] Transmitting the processed UDP data packets to a daisy chain network, generating a bandwidth allocation scheme based on the processed UDP data packets, and dynamically adjusting the transmission bandwidth of the processed UDP data packets according to the bandwidth allocation scheme;

[0010] transmit the processed UDP data packet to the target avionics system according to the adjusted transmission bandwidth.

[0011] Optionally, the transmitting the processed UDP data packet to the daisy chain network comprises:

[0012] According to the number of nodes of the daisy chain network, the processed UDP data packet is divided into a corresponding number of sub-packets, and all the sub-packets are distributed to each node of the daisy chain network. The header field of the sub-packet is parsed through each node to extract the data priority mark and data size information of the corresponding sub-packet.

[0013] According to the data priority mark of all sub-packets, the transmission priority order of all sub-packets is determined, and the bandwidth allocation scheme is generated in combination with the data size information and the transmission priority order.

[0014] Optionally, the determining the transmission priority order of all sub-packets according to the data priority mark of all sub-packets, and generating the bandwidth allocation scheme in combination with the data size information and the transmission priority order, comprises:

[0015] The parameter type identifier is parsed from each of the data priority marks.

[0016] The parameter type identifier is matched with a preset priority mapping table, and the transmission priority order of each sub-packet is determined according to the matching result.

[0017] The payload length field is extracted from the data size information.

[0018] Based on the payload length field, the total amount of data to be transmitted of each node is calculated.

[0019] The position corresponding to each node in the transmission priority order is converted into a priority weight coefficient, and the total amount of data to be transmitted of each node is converted into a corresponding data size weight coefficient.

[0020] The priority weight coefficient and the data size weight coefficient are combined and calculated through a weighted fusion algorithm to generate a comprehensive bandwidth allocation weight of each node.

[0021] The bandwidth allocation scheme is generated according to the comprehensive bandwidth allocation weight.

[0022] Optionally, the generating the bandwidth allocation scheme according to the comprehensive bandwidth allocation weight comprises:

[0023] The comprehensive bandwidth allocation weight of each node is normalized.

[0024] Based on the normalized comprehensive bandwidth allocation weight, a deep reinforcement learning model is used to calculate the bandwidth allocation proportion of each node;

[0025] According to the total available bandwidth and the bandwidth allocation proportion, the bandwidth quota of each node is calculated;

[0026] Based on the topology structure of the daisy chain network, the transmission time scheduling parameters of each node are determined;

[0027] The bandwidth quota and the time scheduling parameters are combined to generate a bandwidth allocation scheme.

[0028] Optionally, the dual-core processor is used to process the UDP data packet, including:

[0029] The dual-core processor's data arrangement and forwarding channel is used to perform packet header verification and data reorganization on the UDP data packet to form a standardized UDP data packet;

[0030] The dual-core processor's timing control channel is used to generate a timing mark and a periodic acquisition trigger signal;

[0031] The standardized UDP data packet is transmitted to the data buffer queue in the dual-core processor after adding the timing mark, and the output configuration information of the data buffer queue is adjusted according to the acquisition trigger signal;

[0032] According to the adjusted output configuration information, the UDP data packet with the added timing mark is extracted from the data buffer queue, and the UDP data packet with the added timing mark is the processed UDP data packet.

[0033] Optionally, the dynamic adjustment of the transmission bandwidth of the processed UDP data packet according to the bandwidth allocation scheme includes:

[0034] The bandwidth allocation scheme is converted into a bandwidth control instruction, and the bandwidth control instruction includes a transmission rate parameter and a transmission timing parameter;

[0035] According to the transmission rate parameter, the sending rate limit of the daisy chain network interface card is adjusted;

[0036] According to the transmission timing parameter, the sending time interval of the processed UDP data packet is set;

[0037] The congestion state of the daisy chain network is monitored in real time, and when the congestion state shows congestion, the transmission rate of non-critical data in the processed UDP data packet is dynamically reduced according to the transmission priority order, and the bandwidth adjustment state of the reduced transmission rate is recorded;

[0038] When the congestion state is released, bandwidth control instructions are regenerated according to the bandwidth adjustment state and the bandwidth allocation scheme;

[0039] According to the regenerated bandwidth control instructions, the adjusted sending rate limit and the sending time interval are updated;

[0040] Based on the updated sending rate limit and the updated sending time interval, a transmission bandwidth adjustment operation is performed to obtain an adjusted transmission bandwidth.

[0041] Optionally, transmitting the processed UDP data packet to the target avionics system according to the adjusted transmission bandwidth comprises:

[0042] Parsing the check field in the processed UDP data packet to identify abnormal data, performing data reconstruction repair based on the abnormal data to obtain a reconstructed UDP data packet, and synchronously recording check error feature information during the data reconstruction repair process;

[0043] Based on the check error feature information, using a playback algorithm to reorganize the reconstructed UDP data packet according to the original transmission time sequence, and sending the reorganized UDP data packet to the target avionics system through a specified network port according to the adjusted transmission bandwidth.

[0044] In a second aspect, the application provides a flight simulator signal acquisition and transmission system based on UDP communication, comprising:

[0045] An acquisition module is configured to acquire multi-source heterogeneous signal data generated by a flight target;

[0046] An encapsulation module is configured to encapsulate the multi-source heterogeneous signal data into UDP data packets according to a preset data structure, and process the UDP data packets using a dual-core processor;

[0047] A generation module is configured to transmit the processed UDP data packets to a daisy chain network, generate a bandwidth allocation scheme based on the processed UDP data packets, and dynamically adjust the transmission bandwidth of the processed UDP data packets according to the bandwidth allocation scheme;

[0048] A transmission module is configured to transmit the processed UDP data packets to a target avionics system according to the adjusted transmission bandwidth.

[0049] In a third aspect, the application provides an electronic device, comprising:

[0050] A memory is configured to store a computer program;

[0051] The processor is configured to execute the computer program to implement the steps of the flight simulator signal acquisition and transmission method based on the UDP communication.

[0052] In a fourth aspect, the present application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is configured to implement the steps of the flight simulator signal acquisition and transmission method based on the UDP communication when executed by a processor.

[0053] In the present application, a flight simulator signal acquisition and transmission method based on the UDP communication is provided, which comprises the following steps: acquiring multi-source heterogeneous signal data generated by a flight target; encapsulating the multi-source heterogeneous signal data into a UDP data packet according to a preset data structure, and processing the UDP data packet by using a dual-core processor; transmitting the processed UDP data packet to a daisy chain network, generating a bandwidth allocation scheme based on the processed UDP data packet, dynamically adjusting the transmission bandwidth of the processed UDP data packet according to the bandwidth allocation scheme, and transmitting the processed UDP data packet to a target avionics system according to the adjusted transmission bandwidth.

[0054] The technical scheme provided by the present application has the following beneficial effects:

[0055] The present application realizes comprehensive coverage of multiple types of signal sources and ensures complete acquisition of flight state data. The data compatibility is improved by standardized encapsulation, and the real-time data processing capability is enhanced by using dual-core parallel processing. The intelligent allocation of network resources is realized to adapt to the transmission requirements of different data types and network states. The efficient and reliable transmission of key data in a limited bandwidth environment is ensured.

[0056] Further, the present application further divides the processed UDP data packet into sub-packets according to the number of daisy chain nodes and distributes the sub-packets to each node, analyzes the priority and data volume characteristics of the sub-packets, and generates a bandwidth allocation scheme in combination with the global transmission priority order.

[0057] Moreover, the intelligent bandwidth allocation of multiple nodes is realized, the transmission efficiency and resource utilization rate of heterogeneous data in the chain network are improved, and the low-delay transmission of high-priority data is ensured.

[0058] These aspects and other aspects of the present application will be more apparent in the following description of the embodiments. BRIEF DESCRIPTION OF DRAWINGS

[0059] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced. Obviously, the accompanying drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0060] Figure 1 A flow chart of a flight simulator signal acquisition and transmission method based on UDP communication provided by the embodiments of the present application;

[0061] Figure 2 A specific implementation schematic diagram of a flight simulator signal acquisition and transmission method based on UDP communication provided by the embodiments of the present application;

[0062] Figure 3 Another specific implementation schematic diagram of a flight simulator signal acquisition and transmission method based on UDP communication provided by the embodiments of the present application;

[0063] Figure 4 A structure schematic diagram of a flight simulator signal acquisition and transmission system based on UDP communication provided by the embodiments of the present application. DETAILED DESCRIPTION

[0064] In the field of avionics simulation testing, the existing signal transmission scheme adopts fixed priority scheduling and static bandwidth allocation mechanism, and faces three core problems: first, the static bandwidth configuration is difficult to adapt to the dynamic changes of multi-source heterogeneous data flow, resulting in increased transmission delay of high-priority data in burst traffic scenarios; second, the centralized control architecture has single-point failure risk, and the decision delay will affect the real-time requirement; third, the fixed strategy lacks the coordinated perception of data characteristics and network state, and in the bandwidth limited environment, the key data packet loss and transmission asynchronization phenomenon often occur. These problems seriously restrict the reliability and real-time performance of the flight simulation system in complex network environment.

[0065] In view of the above limitations, the application provides a flight simulator signal acquisition and transmission method based on UDP communication, which realizes technical breakthrough through a daisy chain network architecture and a dynamic bandwidth allocation mechanism. The method first uses a dual-core processor to perform parallel processing and standardized packaging of multi-source signals, then dynamically generates a bandwidth allocation scheme based on data packet characteristics, and realizes real-time optimization of transmission parameters through autonomous negotiation between nodes. Specifically, the system automatically adjusts the transmission bandwidth and timing configuration of different types of data according to data priority markers and real-time network status, ensuring low-latency transmission of flight control key data and improving overall bandwidth utilization. This distributed collaborative processing approach effectively overcomes the inherent defects of centralized architecture, solves the rigidity problem of static allocation strategies through intelligent adaptation mechanisms, and improves the reliability and real-time performance of flight simulation data transmission in complex network environments.

[0066] To enable those skilled in the art to better understand the present application, the application will be further described in detail below with reference to the drawings and specific embodiments. Obviously, the described embodiments are only part of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of the present application.

[0067] The core of the present application is to provide a flight simulator signal acquisition and transmission method based on UDP communication, and a specific embodiment of the method is shown in the flowchart as Figure 1 The method comprises:

[0068] Step 101: Collecting multi-source heterogeneous signal data generated by the flight target.

[0069] In step 101, multi-source heterogeneous signal data refers to the signal set generated by different types of sensors in the flight simulation system, including analog voltage signals (continuous voltage values), switch discrete signals (switch state jump signals), avionics bus digital signals (digital messages based on aviation communication protocols), and satellite positioning signals (spatial position coordinate data). These signals differ in physical characteristics, data formats, and real-time requirements.

[0070] In the present embodiment, multi-channel acquisition devices are used to synchronously acquire signals from various sensors. Analog voltage signals are converted to digital quantities by analog-to-digital converters, switch discrete signals are converted in level by optoelectronic isolators, bus digital signals are parsed using dedicated protocol chips, and satellite positioning signals are decoded by receiving modules. After preliminary filtering, all signals are temporarily stored in a buffer for subsequent unified packaging.

[0071] For example, a certain flight simulation system acquisition module simultaneously acquires 3 analog voltage signals (range -10V to +10V), 12 switch discrete signals (0 / 5V level), 1 ARINC429 bus signal (transmission rate 100kbps) and 1 Global Positioning System (GPS) signal (update frequency 10Hz). The analog signals are sampled by 16-bit Analog-to-Digital Converter (ADC), the discrete signals are recorded for state changes after optical coupling isolation, the bus signal is parsed into data frames by a protocol chip, and the GPS signal is received through a serial port National Marine Electronics Association (NMEA) message. All data are stored in a buffer queue after adding time stamps, and the sampling period is strictly synchronized to 1ms.

[0072] Step 102: encapsulating the multi-source heterogeneous signal data into a UDP data packet according to a preset data structure, and processing the UDP data packet by using a dual-core processor.

[0073] In step 102, the preset data structure refers to a pre-defined standardized data format, including a packet header identifier, a data body, and a check code. The User Datagram Protocol (UDP) data packet is a data transmission unit encapsulated based on the User Datagram Protocol. The dual-core processor includes two processing cores, the first core is responsible for logical operation tasks, and the second core is responsible for timing control tasks.

[0074] In the embodiment of the present application, first, the multi-source data in the buffer area is packaged according to the preset data structure, and a packet header identifier (including data type, acquisition time, data length, etc.) and a check code are added; then parallel processing is performed by using a dual-core processor, the first core performs integrity check and format reorganization on the data packet, and the second core generates accurate timing control signals; finally, a standardized UDP data packet with time markers is generated and sent to a sending queue.

[0075] For example, the 17 signal data (total byte number 1024 bytes) collected in step 101 are packaged according to the preset format: 20 bytes of packet header (including data type identifier, time stamp, data length) are added, 4 bytes of Cyclic Redundancy Check (CRC) code are calculated, and a 1048-byte UDP data packet is formed. In the dual-core processor, the first core verifies the CRC check code and reorganizes the data packet structure, and the second core generates a 1kHz timing synchronization signal. Finally, a standardized UDP data packet with timing markers is generated and is ready for sending.

[0076] Step 103: transmitting the processed UDP data packet to the daisy chain network, generating a bandwidth allocation scheme based on the processed UDP data packet, and dynamically adjusting the transmission bandwidth of the processed UDP data packet according to the bandwidth allocation scheme.

[0077] In step 103, the daisy chain network is a linear network topology structure, and the nodes are connected in sequence. The bandwidth allocation scheme includes transmission rate, time window and other parameters of each node. The transmission bandwidth refers to the amount of data that can be transmitted per unit time.

[0078] In the embodiments of the present application, the processed UDP data packet is distributed to each node of the daisy chain network, and each node parses the data packet to extract priority labels and data volume information; the transmission priority order is determined through a network negotiation mechanism, and the bandwidth allocation weight is calculated in combination with the real-time network state; the bandwidth allocation scheme is dynamically generated according to the weight, and the transmission rate and time window parameters of each node are adjusted.

[0079] For example, a daisy chain network includes 3 nodes, and after receiving the UDP data packet, the data priority is parsed: node A (flight control data, priority 1), node B (system state data, priority 2), and node C (auxiliary data, priority 3). The total bandwidth is 100Mbps, and the bandwidth is allocated according to the priority weight (0.6:0.3:0.1): node A obtains 60Mbps, node B obtains 30Mbps, and node C obtains 10Mbps. According to the network congestion state, the bandwidth of node A is preferentially guaranteed when congestion occurs.

[0080] Step 104: transmitting the processed UDP data packet to the target avionics system according to the adjusted transmission bandwidth.

[0081] In step 104, the adjusted transmission bandwidth is the actual transmission rate after dynamic optimization. The target avionics system refers to terminal devices such as flight control computers and display systems that receive and process data.

[0082] In the embodiments of the present application, the data packet is sent at a specified rate through a network interface controller according to the parameters set in the bandwidth allocation scheme; the transmission quality is monitored in real time, and the retransmission mechanism is triggered when packet loss or delay occurs; the data is ensured to be reliably transmitted to the target system, and the timing consistency in the transmission process is maintained.

[0083] For example, according to the bandwidth allocation result of step 103, node A transmits flight control data at a rate of 60 Mbps, node B transmits system status data at a rate of 30 Mbps, and node C transmits auxiliary data at a rate of 10 Mbps. Through network quality monitoring, it is found that node B has packet loss phenomenon, and its rate is temporarily adjusted to 25 Mbps and the retransmission mechanism is enabled. All data is finally transmitted reliably to the flight control computer and the avionics display system.

[0084] The method realizes efficient and reliable transmission of heterogeneous data in the flight simulation system by intelligently collecting multi-source signals, standardizing data packaging, dynamically allocating bandwidth, and adaptively controlling transmission. It not only guarantees the real-time requirements of key flight control data, but also improves the utilization of network bandwidth, effectively solves the coordination problem of multi-priority data transmission in complex network environment, and improves the overall performance and reliability of the flight simulation system.

[0085] In order to solve the problem of rigid bandwidth allocation in the prior art, in some embodiments, step 103: the processed UDP data packet is transmitted to the daisy chain network, and a bandwidth allocation scheme is generated based on the processed UDP data packet, as shown in Figure 2 , which includes:

[0086] Step 201: According to the number of nodes of the daisy chain network, the processed UDP data packet is divided into a corresponding number of sub-packets, and all the sub-packets are distributed to each node of the daisy chain network. By analyzing the packet header field of each node, the data priority mark and data size information of the corresponding sub-packet are extracted.

[0087] In step 201, the sub-packet is a data unit obtained by dividing the complete UDP data packet according to the number of nodes, each sub-packet contains a part of the original data and has an independent packet header. The data priority mark is a parameter indicating the importance of the data, which is used to distinguish between key data and non-key data. The data size information represents the amount of transmission resources occupied by the sub-packet. The daisy chain network node is each processing unit connected in order in the network.

[0088] In the embodiments of the present application, first, according to the specific number of nodes in the daisy chain network, the processed UDP data packet is divided into a corresponding number of sub-packets, each of which maintains a complete packet header structure. Then these sub-packets are sent to each node of the daisy chain network respectively. After each node receives the sub-packet, it analyzes the packet header field and extracts the data priority mark and data size information of the sub-packet, which provides the basis for subsequent bandwidth allocation.

[0089] Step 202: Determine the transmission priority order of all sub-data packets based on the data priority markers of all sub-data packets, and generate a bandwidth allocation scheme by combining the data size information and the transmission priority order.

[0090] In step 202, the transmission priority order is the order in which data is transmitted according to its importance.

[0091] In this embodiment, the transmission order is determined from highest to lowest importance based on the data priority tags of all sub-data packets. Then, the required transmission resource ratio for each node is calculated by combining the data size information of each sub-data packet. Finally, a specific bandwidth allocation scheme is generated based on the priority order and resource ratio, specifying the bandwidth and time window obtained by each node.

[0092] Here is a specific example:

[0093] In this embodiment, the daisy-chain network includes three nodes. The processed 1048-byte UDP packet is divided into three sub-packets. Node A's sub-packet is 500 bytes long and contains priority marker 1 (flight control data); Node B's sub-packet is 300 bytes long and contains priority marker 2 (system status data); and Node C's sub-packet is 248 bytes long and contains priority marker 3 (auxiliary data). After each node parses the sub-packet header fields to extract the data priority markers and data size information, the transmission priority order is determined based on the priority markers: Node A is prioritized over Node B, which is prioritized over Node C. The bandwidth allocation weight is calculated using a formula weighting coefficient, combined with the data size information. ,,in Indicates the first The bandwidth allocation weighting coefficient for each node. For the first The reciprocal of the priority of each node's sub-data packet (priority 1 is 3, priority 2 is 2, priority 3 is 1). For the first The weight coefficient of node A is calculated based on the length of each node's sub-data packet. Node B weight coefficient Node C weight coefficient A bandwidth allocation scheme is generated based on a total bandwidth of 100Mbps and weighting coefficients: Node A is allocated 63.9Mbps (100×0.639), Node B is allocated 25.6Mbps (100×0.256), and Node C is allocated 10.6Mbps (100×0.106).

[0094] In the embodiments of the present application, the intelligent optimization configuration of network bandwidth is realized through hierarchical processing and dynamic allocation mechanism, which not only guarantees the timeliness of high-priority data transmission, but also improves the utilization efficiency of overall network resources and enhances the adaptability of the system in complex transmission environment.

[0095] To solve the precision and adaptability of bandwidth allocation scheme generation, in some embodiments, step 202: determining the transmission priority order of all sub-packets according to the data priority marks of all sub-packets, and generating a bandwidth allocation scheme in combination with the data size information and the transmission priority order, as shown in Figure 3 , which includes:

[0096] Step 301: parsing the corresponding parameter type identifier from each data priority mark.

[0097] In step 301, the parameter type identifier is a feature code contained in the data priority mark for distinguishing data categories, which can identify the service type and importance of data.

[0098] In the embodiments of the present application, the corresponding parameter type identifiers are parsed from the data priority marks of each sub-packet, which contain the classification information and importance features of data.

[0099] Step 302: matching the parameter type identifier with a preset priority mapping table, and determining the transmission priority order of each sub-packet according to the matching result.

[0100] In step 302, the priority mapping table is a pre-defined correspondence table of parameter types and priority levels.

[0101] In the embodiments of the present application, the parsed parameter type identifiers are matched with the preset priority mapping table one by one, and the priority level corresponding to each sub-packet is determined according to the matching result, so as to form the transmission priority order of all sub-packets.

[0102] Step 303: extracting the payload length field from the data size information.

[0103] In step 303, the payload length field is the part of the data size information that records the length of actual data content, which reflects the effective data size of the sub-packet.

[0104] In the embodiments of the present application, the payload length field is extracted from the data size information of each sub-packet to obtain the actual data size that needs to be transmitted by each sub-packet.

[0105] Step 304: calculating the total amount of data to be transmitted by each node based on the payload length field.

[0106] In step 304, the total amount of data to be transmitted is the sum of the data amounts of all sub-packets required to be transmitted by each node, reflecting the total data transmission requirement of the node.

[0107] In the embodiment of the present application, based on the extracted payload length field, the sum of the data amounts of all sub-packets of each node is calculated to obtain the total amount of data to be transmitted by each node.

[0108] Step 305: converting the position corresponding to each node in the transmission priority order into a priority weight coefficient, and converting the total amount of data to be transmitted into a corresponding data amount weight coefficient.

[0109] In step 305, the priority weight coefficient is an important degree quantization value converted from the transmission priority order. The data amount weight coefficient is a data amount proportion quantization value converted from the total amount of data to be transmitted.

[0110] In the embodiment of the present application, the position relationship corresponding to each node in the transmission priority order is converted into a specific priority weight coefficient, and the total amount of data to be transmitted by each node is converted into a corresponding data amount weight coefficient, preparing for subsequent fusion calculation.

[0111] Step 306: combining and calculating the priority weight coefficient and the data amount weight coefficient by a weighted fusion algorithm to generate a comprehensive bandwidth allocation weight of each node.

[0112] In step 306, the weighted fusion algorithm is a calculation method of combining multiple weight coefficients in a specific proportion. The comprehensive bandwidth allocation weight is the final weight value after considering the priority and data amount.

[0113] In the embodiment of the present application, the priority weight coefficient and the data amount weight coefficient are combined and calculated by the weighted fusion algorithm to generate a comprehensive bandwidth allocation weight of each node, which reflects the data importance and data amount requirement.

[0114] Step 307: generating a bandwidth allocation scheme according to the comprehensive bandwidth allocation weight.

[0115] In the embodiment of the present application, according to the calculated comprehensive bandwidth allocation weight of each node, a specific bandwidth allocation scheme is generated in proportion to the weight, and the bandwidth resources to be allocated to each node are determined.

[0116] The following is a specific example:

[0117] The daisy chain network in the embodiment includes 3 nodes. The parameter type identifier is parsed from the data priority label of each sub-packet. Node A is identified as 101, corresponding to flight control data; node B is identified as 102, corresponding to system state data; and node C is identified as 103, corresponding to auxiliary data. The parameter type identifier is matched with a preset priority mapping table. Identifier 101 matches priority level 1, identifier 102 matches priority level 2, and identifier 103 matches priority level 3. The transmission priority order is determined as node A > node B > node C. The payload length field is extracted from the data size information. The payload length of node A is 500 bytes, the payload length of node B is 300 bytes, and the payload length of node C is 248 bytes. The total amount of data to be transmitted of each node is calculated based on the payload length field. The total amount of data to be transmitted of node A is 500 bytes, the total amount of data to be transmitted of node B is 300 bytes, and the total amount of data to be transmitted of node C is 248 bytes. The transmission priority order is converted into a priority weight coefficient. The formula is priority weight coefficient , wherein represents the priority weight coefficient, the total priority number is 3, the priority level, represents the priority level corresponding to the i-th node, the priority weight coefficient of node A is , the priority weight coefficient of node B is , and the priority weight coefficient of node C is . The total amount of data to be transmitted is converted into a data size weight coefficient. The formula is data size weight coefficient , wherein represents the data size weight coefficient, represents the total amount of data to be transmitted of the i-th node, the data size weight coefficient of node A is , the data size weight coefficient of node B is , and the data size weight coefficient of node C is . The two kinds of weight coefficients are combined and calculated by a weighted fusion algorithm. The formula is comprehensive bandwidth allocation weight , wherein represents the comprehensive bandwidth allocation weight, and are weight factors, , the comprehensive weight of node A is , the comprehensive weight of node B is , and the comprehensive weight of node C is According to the total bandwidth 100Mbps and the comprehensive weight, a bandwidth allocation scheme is generated, node A allocates 49.1Mbps, i.e., 100*0.491, node B allocates 31.4Mbps, i.e., 100*0.314, and node C allocates 19.5Mbps, i.e., 100*0.195, which takes into account both the data priority and the data size.

[0118] In the embodiments of the present application, the intelligent and refined bandwidth allocation is realized through the multi-factor fusion weight calculation mechanism, which not only guarantees the transmission quality of high-priority data, but also takes into account the actual data volume demand of each node, thereby improving the overall efficiency of network resource utilization.

[0119] In order to solve the optimization problem of bandwidth allocation scheme generation, in some embodiments, step 307: generating a bandwidth allocation scheme according to the comprehensive bandwidth allocation weight, comprises:

[0120] Step 401: normalizing the comprehensive bandwidth allocation weight of each node.

[0121] In step 401, the normalization process is the process of converting the comprehensive bandwidth allocation weight of each node into a standardized weight value with a total sum of 1, which ensures the uniformity and comparability of the weight proportion.

[0122] In the embodiments of the present application, the comprehensive bandwidth allocation weight calculated by each node is normalized, so that the sum of all weight values is equal to 1, which facilitates subsequent proportional allocation.

[0123] Step 402: based on the normalized comprehensive bandwidth allocation weight, calculating the bandwidth allocation proportion of each node by using a deep reinforcement learning model.

[0124] In step 402, the deep reinforcement learning model is an artificial intelligence model that can learn optimal decisions through interaction with the environment. The bandwidth allocation proportion is the proportion of the share that each node should occupy in the total bandwidth.

[0125] In the embodiments of the present application, a pre-trained deep reinforcement learning model is used, with the normalized weight, the real-time state of the network and the historical transmission data as input, to calculate the optimized bandwidth allocation proportion of each node through model inference.

[0126] Step 403: calculating the bandwidth quota of each node according to the total available bandwidth and the bandwidth allocation proportion.

[0127] In step 403, the total available bandwidth refers to the maximum transmission capacity that the daisy chain network can provide under the current running state, which is dynamically determined by monitoring the network link state and evaluating the transmission demand of each node, and reflects the actual transmission capacity of the network. The bandwidth quota is the specific bandwidth value calculated by each node according to the allocation proportion.

[0128] In the embodiment of the present application, the total available bandwidth value is obtained according to network state monitoring, and the bandwidth allocation proportion calculated by the deep reinforcement learning model is combined to calculate the bandwidth quota of each node in proportion.

[0129] Step 404: Determine the transmission time scheduling parameters of each node based on the topology of the daisy chain network.

[0130] In step 404, the transmission time scheduling parameters are configuration parameters that specify the transmission order and time window of each node in the time dimension, including start time, duration, and interval time, etc.

[0131] In the embodiment of the present application, based on the physical connection order and node position relationship of the daisy chain network, combined with data priority and bandwidth quota, the transmission time scheduling parameters of each node are determined to ensure the orderliness of data transmission. The specific implementation process is: first, identify the physical connection order and relative position relationship of each node in the daisy chain network, then calculate the transmission delay according to the position of the node on the link, then allocate time slices in the order from the first node to the last node, and ensure the necessary protection time interval between adjacent nodes, and finally adjust the time slice allocation according to the node data priority. Specific example: in a daisy chain network containing 3 nodes, node A (first node), node B (middle node), node C (last node), the total cycle is 10 milliseconds, node A is allocated 4 milliseconds of transmission time, node B is allocated 3 milliseconds and 0.5 milliseconds of protection interval after A ends, node C is allocated 2 milliseconds and 0.5 milliseconds of protection interval after B ends, and the remaining 1 millisecond is used as network idle time.

[0132] Step 405: Combine the bandwidth quota and the time scheduling parameters to generate a bandwidth allocation scheme.

[0133] In the embodiment of the present application, the calculated bandwidth quota and the determined time scheduling parameters are combined and packaged to generate the final bandwidth allocation scheme, which is then distributed to each node for execution.

[0134] The following is a specific example:

[0135] This embodiment is based on the comprehensive bandwidth allocation weights of each node obtained in the foregoing which is equal to 0.491, the weight of node B which is equal to 0.314, and the weight of node C Normalization is performed using a value equal to 0.195. Since the sum of all weights is 0.491 + 0.314 + 0.195 = 1, the weights remain unchanged after normalization. The normalized weight vector [0.491, 0.314, 0.195] is input into a pre-trained deep reinforcement learning model. This model assumes a current network latency of 85 milliseconds and a packet loss rate of 3%, and outputs an optimized bandwidth allocation ratio vector [0.52, 0.30, 0.18]. The bandwidth quota for each node is calculated based on the total available bandwidth of 100 Mbps and this allocation ratio, using a formula for bandwidth quota allocation. ,in Indicates the first Bandwidth quota for each node This represents the total available bandwidth, measured in Mbps. Indicates the first The allocation ratio of each node is used to calculate the quota for node A. Node B quota Node C quota Based on the daisy-chain network topology, the connection order from node A to node B to node C is determined, and the transmission time scheduling parameters are set. Within a 10-millisecond period, the transmission time window for node A is set to 0 to 5.2 milliseconds, corresponding to 52% of its bandwidth; the time window for node B is 5.2 to 8.2 milliseconds, corresponding to 30%; and the time window for node C is 8.2 to 10 milliseconds, corresponding to 18%. Finally, the bandwidth quota and time scheduling parameters are combined to generate a bandwidth allocation scheme, stipulating that node A uses 52 Mbps bandwidth for transmission in the 0 to 5.2 millisecond period, node B uses 30 Mbps bandwidth for transmission in the 5.2 to 8.2 millisecond period, and node C uses 18 Mbps bandwidth for transmission in the 8.2 to 10 millisecond period. This scheduling is repeated every period.

[0136] In this embodiment, the combination of intelligent optimization algorithm and network topology achieves refined and time-sequential bandwidth allocation, which not only ensures the efficient use of network resources, but also ensures the timing requirements of data transmission, thereby improving the overall system's transmission efficiency and reliability.

[0137] To address the efficiency and timing synchronization issues in UDP packet processing, in some embodiments, step 102: processing the UDP packets using a dual-core processor includes:

[0138] Step 501: Through the data processing and forwarding channel of the dual-core processor, the UDP data packets are subjected to header verification and data reassembly to form standardized UDP data packets.

[0139] In step 501, the data collation forwarding channel is a logical path in the dual-core processor responsible for data verification and format processing. The standardized UDP data packet is a data packet that meets the transmission specification after format unification and verification processing.

[0140] In the embodiment of the application, the integrity of the input UDP data packet is verified by the data collation forwarding channel, the correctness of the packet header field is verified, and then the data content is reorganized according to the preset data format specification to generate a standardized UDP data packet with uniform structure. The specific implementation process is as follows: first, check the integrity and correctness of the UDP data packet header field, including verifying the legality of the source port, destination port, length and checksum field; then, according to the preset data specification, perform format unification processing on the payload data, including adjusting the data byte sequence, filling the standard packet header information and standardizing the data length; finally, recalculate the checksum and generate a standardized data packet that meets the transmission standard. Specific example: when receiving an original UDP data packet with a length of 1420 bytes, first verify whether the checksum 0x3A7B is correct, then reorganize the data into a standard format of 1500 bytes, including adding a 20-byte standard packet header (including timestamp, data type and priority mark), and finally recalculating the checksum as 0x4C9D and generating a standardized data packet.

[0141] Step 502: generate a timing marker and a periodic acquisition trigger signal through the timing control channel of the dual-core processor.

[0142] In step 502, the timing control channel is a logical path in the dual-core processor responsible for generating time synchronization signals. The timing marker is a label information identifying the time characteristics of the data. The acquisition trigger signal is a periodic data acquisition control signal.

[0143] In the embodiment of the application, the timing control channel generates accurate timing marker information, and generates a periodic acquisition trigger signal, which is used to coordinate the timing rhythm of data acquisition and processing.

[0144] Step 503: transmit the standardized UDP data packet added with the timing marker to the data buffer queue in the dual-core processor, and adjust the output configuration information of the data buffer queue according to the acquisition trigger signal.

[0145] In step 503, the data buffer queue is a temporary data storage area in the dual-core processor. The output configuration information is a parameter setting that controls the rhythm and mode of data output.

[0146] In the embodiment of the present application, the standardized UDP data packet is added with a timing mark and stored in a data buffer queue, and meanwhile, the output configuration information of the data buffer queue is dynamically adjusted according to the rhythm characteristics of the acquisition trigger signal, including the output rate and output timing and other parameters.

[0147] Step 504: Extract the UDP data packet added with a timing mark from the data buffer queue according to the adjusted output configuration information, and the UDP data packet added with a timing mark is the processed UDP data packet.

[0148] In the embodiment of the present application, the UDP data packet added with a timing mark is sequentially extracted from the data buffer queue according to the adjusted output configuration information, and these data packets are the processed UDP data packets after completing the entire processing flow.

[0149] The following is a specific example:

[0150] In the embodiment, the dual-core processor processes a 1048-byte UDP data packet. First, the CRC check code of the data packet is verified through the data arrangement and forwarding channel to confirm the data integrity, and then the data packet structure is reorganized to remove the redundant fields to form a 1024-byte standardized UDP data packet. Meanwhile, the accurate timing mark containing the millisecond timestamp and sequence number is generated through the timing control channel, and the 1000Hz periodic acquisition trigger signal corresponding to the 1 millisecond sampling period is generated. The standardized UDP data packet is added with a timing mark and then transmitted to the data buffer queue with a depth of 100, and meanwhile, the output configuration information is adjusted according to the acquisition trigger signal, and the queue output rate is set to be equal to the trigger frequency of 1000 packets per second. According to the adjusted output configuration information, the UDP data packet added with a timing mark is extracted from the data buffer queue at a rate of one packet per millisecond, and these data packets contain 1024 bytes of valid data and 24 bytes of timing mark, with a total capacity of 1048 bytes, which are the processed UDP data packets ready to be sent to the daisy chain network.

[0151] In the embodiment of the present application, through the parallel processing capability and timing coordination mechanism of the dual-core processor, the standardization and timing synchronization of data processing are realized, which not only improves the data processing efficiency, but also guarantees the timing consistency of data transmission, providing a good data basis for subsequent transmission scheduling.

[0152] In order to solve the real-time and adaptability problems of dynamic transmission bandwidth adjustment, in some embodiments, step 103: dynamically adjusting the transmission bandwidth of the processed UDP data packet according to the bandwidth allocation scheme, includes:

[0153] Step 601: Convert the bandwidth allocation scheme into a bandwidth control instruction, and the bandwidth control instruction contains a transmission rate parameter and a transmission timing parameter.

[0154] In step 601, the bandwidth control instruction is a specific execution command of the bandwidth allocation scheme. The transmission rate parameter defines a data transmission speed value. The transmission timing parameter defines a time schedule of data transmission.

[0155] In the embodiment of the present application, the bandwidth allocation scheme contains bandwidth quota and time scheduling parameters, which are converted into specific bandwidth control instructions, including explicit transmission rate value and transmission time scheduling parameters.

[0156] Step 602: According to the transmission rate parameter, adjust the transmission rate limit of the daisy chain network interface card.

[0157] In step 602, the transmission rate limit is the maximum speed limit value of the network interface card transmitting data.

[0158] In the embodiment of the present application, according to the transmission rate parameter in the bandwidth control instruction, the transmission rate limit value of the network interface card of each node in the daisy chain network is configured to ensure that the data transmission speed meets the scheme requirements.

[0159] Step 603: According to the transmission timing parameter, set the transmission time interval of the processed UDP data packet.

[0160] In step 603, the transmission time interval is the time interval parameter between adjacent data packet transmissions.

[0161] In the embodiment of the present application, according to the transmission timing parameter in the bandwidth control instruction, the transmission time interval of the processed UDP data packet is set to control the transmission rhythm and time distribution of the data packet.

[0162] Step 604: Real-time monitoring of the congestion state of the daisy chain network, when detecting that the congestion state shows congestion, dynamically reducing the transmission rate of non-critical data in the processed UDP data packet according to the transmission priority order, recording the bandwidth adjustment state of the reduced transmission rate.

[0163] In step 604, the congestion state is an index reflecting the degree of network congestion. Non-critical data refers to low-priority data. Transmission rate refers to the actual transmission speed of data in the network channel, while transmission rate refers to the rate at which the network interface card transmits data packets. Transmission rate is a technical means to achieve transmission rate, and by controlling transmission rate, the actual transmission rate can be adjusted. The bandwidth adjustment state is a log information recording the bandwidth adjustment process and results.

[0164] In the embodiments of the present application, the transmission state of the daisy chain network is monitored in real time. When network congestion is detected, the transmission rate of non-critical data is gradually reduced according to the data transmission priority order, and the rate value and adjustment time after each adjustment are recorded. The specific implementation process is: continuously collect network traffic indicators including bandwidth utilization and packet loss rate, and when the bandwidth utilization is more than 85% and the packet loss rate is greater than 5%, it is determined to be in a congestion state. At this time, according to the preset transmission priority order, the transmission rate of critical data (such as flight control parameters) is first kept unchanged, and then a stepwise speed reduction strategy is adopted for non-critical data (such as system state parameters). The initial transmission rate is reduced by 20%, the congestion state is detected every 200 milliseconds, and if the congestion state still exists, the rate is further reduced by 15% until the congestion is eliminated or the minimum guaranteed rate is reached. At the same time, the rate value and time stamp after each speed reduction are recorded to form a bandwidth adjustment state log. A specific example is: when the original transmission rate of the system state parameter is 32Mbps and network congestion is detected, the transmission rate is reduced to 25.6Mbps (reduced by 20%) for the first time. If the congestion still exists after 200 milliseconds, the transmission rate is reduced to 21.76Mbps (reduced by 15%) for the second time, until the congestion is eliminated or the minimum guaranteed rate of 10Mbps is reached. The time point and rate value of each speed reduction operation are recorded in the bandwidth adjustment state table.

[0165] Step 605: When the congestion state is eliminated, a bandwidth control instruction is regenerated according to the bandwidth adjustment state and the bandwidth allocation scheme.

[0166] In step 605, the regenerated bandwidth control instruction is a transmission control command updated according to the latest network state.

[0167] In the embodiments of the present application, when the network congestion state is eliminated, a new bandwidth control instruction is regenerated by combining the previously recorded bandwidth adjustment state information and the original bandwidth allocation scheme.

[0168] Step 606: Update the adjusted transmission rate limit and the transmission time interval according to the regenerated bandwidth control instruction.

[0169] In the embodiments of the present application, the transmission rate limit of the network interface card is updated according to the regenerated bandwidth control instruction, and the transmission time interval parameter of the data packet is adjusted.

[0170] Step 607: Perform a transmission bandwidth adjustment operation based on the updated transmission rate limit and the updated transmission time interval to obtain an adjusted transmission bandwidth.

[0171] In the embodiments of the present application, based on the updated transmission rate limit and the transmission time interval, an actual transmission bandwidth adjustment operation is performed to obtain a final optimized transmission bandwidth configuration.

[0172] The following is a specific example:

[0173] In this embodiment, node A allocates 60 Mbps, node B allocates 30 Mbps, and node C allocates 10 Mbps according to the bandwidth allocation scheme to generate bandwidth control instructions, including transmission rate parameters 60 Mbps, 30 Mbps, and 10 Mbps, and transmission timing parameters node A time window 0-6 milliseconds, node B time window 6-9 milliseconds, and node C time window 9-10 milliseconds; adjust the transmission rate limit of the daisy chain network interface card according to the transmission rate parameters, set the node A transmission rate limit to 60 Mbps, the node B transmission rate limit to 30 Mbps, and the node C transmission rate limit to 10 Mbps; set the transmission time interval of the processed UDP data packet according to the transmission timing parameters, using the formula time interval , wherein represents the UDP data packet transmission time interval of the th node, wherein the node A time interval , the node B time interval , and the node C time interval ; real-time monitor the congestion state of the daisy chain network, when the network utilization rate exceeds 85 percent and the packet loss rate is greater than 5 percent, it is determined to be in a congestion state, the transmission rate of non-critical data is dynamically reduced according to the transmission priority order, the node B rate is reduced from 30 Mbps to 20 Mbps, the node C rate is reduced from 10 Mbps to 5 Mbps, and the bandwidth adjustment state is recorded, including the rate value after the speed reduction and the speed reduction time point; when the network utilization rate is reduced to below 70 percent and the packet loss rate is less than 2 percent, it is determined that the congestion state is removed, the bandwidth control instructions are regenerated according to the bandwidth adjustment state and the original bandwidth allocation scheme, and the recovery rate calculation formula , wherein represents the recovery transmission rate of the th node after the network congestion is removed, represents the original transmission rate of the th node before the network congestion, is a recovery coefficient of 0.8, the node B new rate of 30 Mbps multiplied by 0.8 is equal to 24 Mbps, and the node C new rate of 10 Mbps multiplied by 0.8 is equal to 8 Mbps; update the transmission rate limit according to the regenerated bandwidth control instructions, node B limit 24 Mbps and node C limit 8 Mbps, and update the transmission time interval, node B interval 0.125 milliseconds and node C interval 0.16 milliseconds; perform transmission bandwidth adjustment operation based on the updated parameters, get the adjusted transmission bandwidth configuration, node A remains 60 Mbps, node B is adjusted to 24 Mbps, and node C is adjusted to 8 Mbps, to ensure the transmission quality of flight control data under network congestion.

[0174] In the embodiments of the present application, through real-time monitoring and dynamic adjustment mechanism, intelligent optimization configuration of transmission bandwidth is realized, which not only guarantees the transmission quality of high-priority data, but also improves the utilization efficiency of network resources and enhances the adaptability of the system to network state changes.

[0175] In order to solve the problems of abnormal processing and reliable transmission in the data transmission process, in some embodiments, step 104: transmitting the processed UDP data packet to the target avionics system according to the adjusted transmission bandwidth, comprises:

[0176] Step 701: parsing the check field in the processed UDP data packet to identify abnormal data, performing data reconstruction and repair based on the abnormal data to obtain a reconstructed UDP data packet, and synchronously recording check error feature information during the data reconstruction and repair process.

[0177] In step 701, the check field is the check code part in the UDP data packet for verifying data integrity. Abnormal data refers to data packets that fail to pass the check or have format errors. Data reconstruction and repair is a process of correcting abnormal data according to correct data features. Check error feature information is log information recording features such as error type, location and time.

[0178] In the embodiments of the present application, the check field in the processed UDP data packet is parsed, the data integrity is verified through a check algorithm, the abnormal data with check errors is identified, and then the abnormal data is reconstructed and repaired based on the correlation of the previous and subsequent data packets to generate correct reconstructed UDP data packets. Meanwhile, various feature information of check errors is recorded in detail during the entire repair process.

[0179] Step 702: based on the check error feature information, using a playback algorithm to reorganize the reconstructed UDP data packet according to the original transmission time sequence, and sending the reorganized UDP data packet to the target avionics system through a specified network port according to the adjusted transmission bandwidth.

[0180] In step 702, the playback algorithm is an algorithm for reorganizing data packets according to the original time sequence. The original transmission time sequence is the original time sequence of data packet collection and sending. The specified network port refers to a specific UDP communication port number pre-configured for data retransmission, for example, port number 50010. This port is used as a dedicated retransmission channel in the daisy chain network and is bound to the network interface of each collection node to ensure that the retransmitted data packets can be transmitted in the daisy chain topology order. The target avionics system refers to an avionics device system that receives and processes flight target signal data, and has an association relationship with the flight target for signal collection and data transmission.

[0181] In the embodiment of the present application, based on the recorded check error feature information, the reconstructed UDP data packets are reorganized according to their original collection and sending time sequence by using the playback algorithm, and then the reorganized data packet sequence is sent to the target avionics system through a specified network port according to the adjusted transmission bandwidth parameter.

[0182] The following is a specific example:

[0183] In the embodiment, when the node B transmits system state data at a rate of 25 Mbps, the CRC check field in the parsed UDP data packet is analyzed, and it is found that the check values of three consecutive data packets with sequence numbers 1001 to 1003 are wrong, which are identified as abnormal data; based on the abnormal data, data reconstruction and repair are performed, and a linear interpolation algorithm formula is used , wherein represents the reconstruction value, represents the previous correct value, represents the next correct value, represents the current timestamp, represents the previous timestamp, represents the next timestamp, to calculate the reconstructed UDP data packet, and to record the check error feature information including error location [1001, 1002, 1003], error type CRC check failure, and error timestamp [t1, t2, t3] synchronously during the repair process; based on the check error feature information, when the number of consecutive errors reaches 3 times, the playback mechanism is triggered, the reconstructed UDP data packet is reorganized according to the original transmission time sequence by using the playback algorithm, and the data packet timestamp sequence 1001, 1002, 1003 is maintained; the reorganized UDP data packet is re-sent to the target avionics system through a specified network port 50010 according to the adjusted transmission bandwidth 25 Mbps, wherein the sending rate is calculated as , which ensures that the data is completely transmitted to the flight control computer after correction. In the whole process, data reconstruction and repair ensure the correctness of the content, the playback algorithm maintains the consistency of the time sequence, the adjusted bandwidth guarantees the transmission efficiency, and finally the reliable recovery and transmission of abnormal data are realized.

[0184] In the embodiment of the present application, through the abnormal detection and reconstruction repair mechanism, combined with the time sequence playback transmission mode, the error problem in the data transmission process is effectively solved, which not only guarantees the integrity of the data, but also maintains the consistency of the transmission time sequence, and improves the reliability and accuracy of the data transmission.

[0185] Figure 4 The structure diagram of a flight simulator signal acquisition and transmission system based on UDP communication provided in the embodiment of the present application, and the specific implementation part describes:

[0186] The collection module 41 is configured to collect multi-source heterogeneous signal data generated by the flight target.

[0187] The packaging module 42 is configured to package the multi-source heterogeneous signal data into a UDP data packet according to a preset data structure, and process the UDP data packet by using a dual-core processor.

[0188] The generation module 43 is configured to transmit the processed UDP data packet to a daisy chain network, generate a bandwidth allocation scheme based on the processed UDP data packet, and dynamically adjust a transmission bandwidth of the processed UDP data packet according to the bandwidth allocation scheme.

[0189] The transmission module 44 is configured to transmit the processed UDP data packet to a target avionics system according to the adjusted transmission bandwidth.

[0190] The flight simulator signal collection and transmission system based on the UDP communication provided in the embodiments of the present application is used to implement the flight simulator signal collection and transmission method based on the UDP communication, and therefore the specific embodiments of the flight simulator signal collection and transmission system based on the UDP communication can be found in the foregoing embodiment part of the flight simulator signal collection and transmission method based on the UDP communication, and the specific embodiments can be referred to the description of the corresponding embodiment part, which will not be described herein again.

[0191] The present application further provides an electronic device, comprising a memory configured to store a computer program, and a processor configured to execute the computer program to implement the steps of any of the flight simulator signal collection and transmission methods based on the UDP communication.

[0192] The present application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of any of the flight simulator signal collection and transmission methods based on the UDP communication.

[0193] In an exemplary embodiment, the computer readable storage medium can include, but is not limited to, a U disk, a read-only memory, a random access memory, a mobile hard disk, a magnetic disk or an optical disk, and various media that can store computer programs.

[0194] The embodiments of the present application further provide a computer program product, wherein the computer program product comprises a computer program, and the computer program is executed by a processor to implement the steps in any of the flight simulator signal collection and transmission methods based on the UDP communication.

[0195] Those skilled in the art will further realize that the mere concepts, teachings, and embodiments described herein are merely meant to provide an enabling description of embodiments of the present application and are not intended to limit the scope of the present application. Accordingly, embodiments as described herein contemplate all modifications that come within the scope of the present application as recited by the claims set forth below and any equivalents thereto, with the scope of the present application being measured by the broadest interpretation of those claims set forth below.

[0196] The above provides a flight simulation machine signal acquisition and transmission method, system, device and storage medium based on UDP communication. The principles and implementation modes of the present application are described by applying specific examples. The above description of the embodiments is only used to help understand the method and its core idea. It should be pointed out that for ordinary skilled in the art, without departing from the principles of the present application, the present application can be improved and modified. These improvements and modifications also fall within the scope of the present application.

Claims

1. A signal acquisition and transmission method for a flight simulator based on UDP communication, characterized in that, The method comprises the following steps: Collecting multi-source heterogeneous signal data generated by a flight target; Packaging the multi-source heterogeneous signal data into a UDP data packet according to a preset data structure, and processing the UDP data packet by using a dual-core processor; Transmitting the processed UDP data packet to a daisy chain network, generating a bandwidth allocation scheme based on the data priority markers and data size information of the sub-packets in the processed UDP data packet, and dynamically adjusting the transmission bandwidth of the processed UDP data packet according to the bandwidth allocation scheme; Transmitting the processed UDP data packet to a target avionics system according to the adjusted transmission bandwidth; The step of transmitting the processed UDP data packet to the daisy chain network and generating a bandwidth allocation scheme based on the processed UDP data packet comprises the following steps: Dividing the processed UDP data packet into a corresponding number of sub-packets according to the number of nodes of the daisy chain network, distributing all the sub-packets to each node of the daisy chain network, and analyzing the packet header field of each sub-packet by each node to extract the data priority marker and data size information of each sub-packet; Determining the transmission priority order of all sub-packets according to the data priority markers of all sub-packets, and generating a bandwidth allocation scheme in combination with the data size information and the transmission priority order; The step of dynamically adjusting the transmission bandwidth of the processed UDP data packet according to the bandwidth allocation scheme comprises the following steps: Converting the bandwidth allocation scheme into a bandwidth control instruction, wherein the bandwidth control instruction contains a transmission rate parameter and a transmission timing parameter; Adjusting the transmission rate limit of the daisy chain network interface card according to the transmission rate parameter; Setting the transmission time interval of the processed UDP data packet according to the transmission timing parameter; Monitoring the congestion state of the daisy chain network in real time, and when the congestion state shows congestion, dynamically reducing the transmission rate of non-critical data in the processed UDP data packet according to the transmission priority order, and recording the bandwidth adjustment state of the reduced transmission rate; When the congestion state is released, regenerating a bandwidth control instruction according to the bandwidth adjustment state and the bandwidth allocation scheme; Updating the adjusted transmission rate limit and the transmission time interval according to the regenerated bandwidth control instruction; Based on the updated transmission rate limit and the updated transmission time interval, performing a transmission bandwidth adjustment operation to obtain an adjusted transmission bandwidth.

2. The method of claim 1, wherein the UDP-based communication is used for signal acquisition and transmission of the flight simulator. The step of determining the transmission priority order of all sub-packets according to the data priority markers of all sub-packets, and generating a bandwidth allocation scheme in combination with the data size information and the transmission priority order comprises the following steps: Analyzing the corresponding parameter type identifier from each data priority marker; Matching the parameter type identifier with a preset priority mapping table, and determining the transmission priority order of each sub-packet according to the matching result; Extracting the payload length field from the data size information; Based on the payload length field, calculating the total amount of data to be transmitted by each node; The positions of each node in the transmission priority order are converted into priority weight coefficients, and the total amount of each to-be-transmitted data is converted into corresponding data amount weight coefficients; The priority weight coefficients and the data amount weight coefficients are combined and calculated through a weighted fusion algorithm to generate comprehensive bandwidth allocation weights of each node; A bandwidth allocation scheme is generated according to the comprehensive bandwidth allocation weights.

3. The method of claim 2, wherein the UDP-based communication is used for signal collection and transmission of the flight simulator. The bandwidth allocation scheme is generated according to the comprehensive bandwidth allocation weights, including: The comprehensive bandwidth allocation weights of each node are normalized; Based on the normalized comprehensive bandwidth allocation weights, a deep reinforcement learning model is used to calculate the bandwidth allocation proportion of each node; According to the total available bandwidth and the bandwidth allocation proportion, the bandwidth quota of each node is calculated; Based on the topology of the daisy chain network, the transmission time scheduling parameters of each node are determined; The bandwidth quota and the time scheduling parameters are combined to generate a bandwidth allocation scheme.

4. The method of claim 1, wherein the UDP-based communication is used for signal collection and transmission of a flight simulator. The double-core processor is used to process the UDP data packet, including: Through the data arrangement and forwarding channel of the double-core processor, the UDP data packet is subjected to packet header verification and data reorganization to form a standardized UDP data packet; Through the timing control channel of the double-core processor, a timing mark and a periodic acquisition trigger signal are generated; The standardized UDP data packet is transmitted to the data buffer queue in the double-core processor after adding the timing mark, and the output configuration information of the data buffer queue is adjusted according to the acquisition trigger signal; According to the adjusted output configuration information, the UDP data packet with the timing mark added is extracted from the data buffer queue, which is the processed UDP data packet.

5. The UDP communication based flight simulator signal acquisition and transmission method of claim 1, wherein, The processed UDP data packet is transmitted to the target avionics system according to the adjusted transmission bandwidth, including: The verification field in the processed UDP data packet is parsed to identify abnormal data, and data reconstruction and repair are performed based on the abnormal data to obtain a reconstructed UDP data packet, and the verification error feature information is recorded synchronously during the data reconstruction and repair process; Based on the verification error feature information, the reconstructed UDP data packet is reorganized according to the original transmission timing using a playback algorithm, and the reorganized UDP data packet is sent to the target avionics system through a specified network port according to the adjusted transmission bandwidth.

6. A signal acquisition and transmission system for a flight simulator based on UDP communication, characterized in that, It includes: The acquisition module is used to acquire multi-source heterogeneous signal data generated by the flight target; The packaging module is used to package the multi-source heterogeneous signal data into UDP data packets according to a preset data structure, and to process the UDP data packets using a double-core processor; The generation module is used to transmit the processed UDP data packets to a daisy chain network, generate a bandwidth allocation scheme based on the data priority marks and data amount size information of the sub-packets in the processed UDP data packets, and dynamically adjust the transmission bandwidth of the processed UDP data packets according to the bandwidth allocation scheme; The transmission module is used to transmit the processed UDP data packets to the target avionics system according to the adjusted transmission bandwidth. The processed UDP data packet is transmitted to the daisy chain network, and a bandwidth allocation scheme is generated based on the processed UDP data packet, including: According to the number of nodes of the daisy chain network, the processed UDP data packet is divided into a corresponding number of sub-packets, and all the sub-packets are distributed to each node of the daisy chain network. The header field of the sub-packet is parsed through each node to extract the data priority mark and data size information of the corresponding sub-packet; According to the data priority mark of all sub-packets, the transmission priority order of all sub-packets is determined, and the bandwidth allocation scheme is generated in combination with the data size information and the transmission priority order; The transmission bandwidth of the processed UDP data packet is dynamically adjusted according to the bandwidth allocation scheme, including: The bandwidth allocation scheme is converted into a bandwidth control instruction, and the bandwidth control instruction contains a transmission rate parameter and a transmission timing parameter; According to the transmission rate parameter, the sending rate limit of the daisy chain network interface card is adjusted; According to the transmission timing parameter, the sending time interval of the processed UDP data packet is set; The congestion state of the daisy chain network is monitored in real time, and when the congestion state shows congestion, the transmission rate of non-critical data in the processed UDP data packet is dynamically reduced according to the transmission priority order, and the bandwidth adjustment state of the reduced transmission rate is recorded; When the congestion state is released, the bandwidth control instruction is regenerated according to the bandwidth adjustment state and the bandwidth allocation scheme; According to the bandwidth control instruction regenerated, the adjusted sending rate limit and the sending time interval are updated; Based on the updated sending rate limit and the updated sending time interval, the transmission bandwidth adjustment operation is performed to obtain the adjusted transmission bandwidth.

7. An electronic device, comprising: Including: A memory for storing a computer program; A processor for executing the computer program to implement the steps of the flight simulator signal acquisition and transmission method based on UDP communication according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the flight simulator signal acquisition and transmission method based on UDP communication according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Data acquisition system of daisy chain structure and self-adaptive transmission method

    CN110069430A

  • Daisy chain data transmission method and device, computer equipment and storage medium

    CN117579488A