Avionics network virtual link configuration method based on dynamic programming and from top to bottom

By adopting dynamic planning and top-down virtual link configuration methods in the AFDX network to optimize the parameters of virtual links, the problem of insufficient bandwidth in the existing technology is solved, and more efficient bandwidth utilization and fast operation speed are achieved.

CN118740649AActive Publication Date: 2024-10-01SHANGHAI JIAOTONG UNIV
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310319412.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-01
Estimated Expiration
2043-03-29

AI Technical Summary

Technical Problem

The existing AFDX network virtual link configuration method cannot effectively adapt to the data scale of a terminal system sending more than 128 information flows, resulting in insufficient bandwidth margin to meet larger-scale actual data needs.

Method used

An avionics network virtual link configuration method based on dynamic programming and top-down is adopted. By modeling the minimization optimization problem, integer blocking and dynamic programming, and the ergodic top-down message distribution method are used to optimize the virtual link. Maximum transmission unit (MTU) and minimum gap time (BAG) to improve bandwidth margin and operating speed.

Benefits of technology

It significantly improves the bandwidth margin, can adapt to larger-scale actual data, runs quickly, and reduces bandwidth occupancy and time-consuming compared to existing methods in experiments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740649A_ABST
    Figure CN118740649A_ABST
Patent Text Reader

Abstract

The invention discloses a top-down avionics network virtual link configuration method based on dynamic programming, which comprises the following steps of: detecting IP (Internet Protocol) fragmentation and network port bandwidth limitation caused by an MTU (Maximum Transmission Unit) and jitter limitation caused by propagation of a plurality of virtual links, and modeling a bandwidth calculation problem of the virtual links into a minimized optimization problem; a virtual link initial parameter enabling the total bandwidth of a network to be minimum is obtained according to limiting conditions, a message distribution method based on dynamic planning is adopted when the message scale is small, a traversal type top-down message distribution method is adopted when the message scale is large, and a corresponding virtual link and a configuration parameter during transmission of each message stream are obtained. According to the method, the dynamic planning thought and the message distribution method which is of a top-down structure and aims at improving the bandwidth margin are respectively utilized, the bandwidth margin can be obviously improved to adapt to larger-scale actual data, and the operation speed is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a technology in the field of avionics networks, in particular to a virtual link configuration method of avionics Full Duplex Switched Ethernet (AFDX) based on dynamic programming and top-down. Background Art

[0002] AFDX is a standard protocol defined for data exchange in avionics systems. Figure 2 As shown in Figure 1, the AFDX network is mainly composed of terminal systems, switches, and virtual links. A virtual link is a unidirectional logical path from a single source system to a fixed set of receiving systems. Each virtual link occupies a fixed bandwidth. Setting appropriate parameters can reduce the bandwidth occupancy of the virtual link. To this end, it is necessary to determine the message allocation on each virtual link. The existing message allocation methods that split and merge virtual links based on different strategies to increase bandwidth margins are not in line with the actual AFDX network data scale where a terminal system can send more than 128 information flows. Summary of the invention

[0003] In view of the above-mentioned deficiencies in the prior art, the present invention proposes a method for configuring virtual links in an avionics network based on dynamic programming and top-down structure, which respectively utilizes the idea of ​​dynamic programming and a message allocation method with the goal of improving bandwidth margin in a top-down structure, and can significantly improve the bandwidth margin to adapt to larger-scale actual data, and has a fast running speed.

[0004] The present invention is achieved through the following technical solutions:

[0005] The present invention relates to an avionics network virtual link configuration method based on dynamic programming and top-down, which detects IP fragmentation caused by MTU, network port bandwidth limitation and jitter limitation caused by the propagation of multiple virtual links, and models the bandwidth calculation problem of the virtual link into a minimization optimization problem; according to the restriction conditions, the initial parameters of the virtual link that minimize the total network bandwidth are obtained, and when the message scale is small, a message allocation method based on dynamic programming (DP-based Grouping Algorithm, DPGA) is adopted, and when the message scale is large, a traversal top-down message allocation method (Traversal Top-Down Algorithm, TTDA) is adopted to obtain the corresponding virtual link and configuration parameters when each message stream is transmitted.

[0006] The minimization optimization problem mentioned above refers to: the optimization goal is to minimize Where: set n is the total number of virtual links; restriction condition: Where: ni is the number of message flows contained in the ith virtual link, B is the network port bandwidth, period i,j , payload i,j They respectively represent the interval time of the sending cycle of the jth message flow in the ith virtual link and the message size of each cycle.

[0007] The initial parameters of the virtual link include: Maximum Transfer Unit (MTU) and Minimum Bandwidth Allocation Gap (BAG), where: MTU is the maximum size of a frame, that is, IP fragmentation technology allows a message flow whose size exceeds MTU to be divided into multiple frames for transmission in a virtual link; BAG is the minimum interval between two consecutive frames. The initial parameters of the virtual link are obtained by considering all feasible MTUs and BAGs when transmitting each message flow in a virtual link; according to the restriction conditions That is, due to the IP fragmentation limitation caused by MTU, the MTU that minimizes the total network bandwidth is obtained by integer block method, that is, the integer block method is used to find All possible values ​​of , take the union of the MTU sets of each message stream and find the corresponding maximum BAG that satisfies the inequality i .

[0008] The message allocation method based on dynamic programming refers to: by recursively dividing a large-scale virtual link allocation problem into several smaller and easier to solve sub-problems, more schemes for allocating messages to different virtual links are considered, so that the required occupied bandwidth size is minimized while satisfying the jitter and network port bandwidth constraints.

[0009] The traversal top-down message distribution method is: all messages are set in a virtual link for initialization, and then according to the LP value of the message flow, that is, Split or merge virtual links in sequence, cyclically determine and select the method with the lowest bandwidth usage.

[0010] The present invention relates to a system for implementing the above method, comprising: a modeling unit, an integer block unit and a message allocation unit, wherein: the modeling unit models the bandwidth calculation problem into a minimization optimization problem according to constraint conditions and optimization targets; the integer block unit performs integer block processing according to the IP fragmentation restriction caused by MTU obtained by the modeling unit to obtain the MTU and BAG of each virtual link that may minimize the total network bandwidth; the message allocation unit selects dynamic programming message allocation processing or traversal top-down message allocation processing according to the message scale according to the result of the integer block unit, the network port bandwidth restriction obtained by the modeling unit and the jitter restriction information caused by the propagation of multiple virtual links obtained by the modeling unit to obtain the corresponding virtual link and configuration parameters when each message stream is transmitted. Technical Effects

[0011] The present invention uses an integer block method to obtain the MTU and BAG of each virtual link that can minimize the total network bandwidth, and uses a dynamic programming method to perform message allocation using a DPGA method or a TTDA method for traversal top-down message allocation processing according to the size of the message number. Compared with the prior art, the present invention can increase the bandwidth margin to adapt to larger-scale actual data and has a fast running speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A flow chart of the invention method;

[0013] Figure 2 It is a schematic diagram of the AFDX network structure;

[0014] Figure 3 Schematic diagram of BAG and jitter of message flow;

[0015] Figure 4 This is a schematic diagram of step b of the TTDA method;

[0016] Figure 5 This is a schematic diagram of bandwidth occupancy comparison in actual experiments;

[0017] In the figure: a is a comparison between the DPGA and TTDA methods and the existing methods in a terminal system experiment with a small number of message flows, and b is a comparison between the TTDA method and the existing methods in a terminal system experiment with a large number of message flows;

[0018] Figure 6 This is a schematic diagram of the time consumption of the actual experiment. DETAILED DESCRIPTION

[0019] like Figure 1 As shown, this embodiment relates to an avionics network virtual link configuration method based on dynamic planning and top-down, including:

[0020] The first step is to model the bandwidth calculation problem as a minimization optimization problem:

[0021] Optimization goal: Minimize Where: set n is the total number of virtual links;

[0022] Restrictions: Where: n i is the number of message flows contained in the ith virtual link, B is the network port bandwidth, period i,j , payload i,j They respectively represent the interval time of the sending cycle of the jth message flow in the ith virtual link and the message size of each cycle.

[0023] Step 2: Take the MTU and BAG that can minimize the total network bandwidth as the optimization target, according to the constraints: The integer block method is used to obtain the MTU and BAG of each virtual link that can minimize the total network bandwidth, including:

[0024] 2.1) When there is only one message flow in the i-th virtual link, the interval time of the message flow sending period is period i,j And the message size payload for each cycle i,j is period, payload;

[0025] 2.2) Continuously iterate to find all possible MTU values. The iterative method is to initialize the variable m and each time Iteration stops when m>payload-1;

[0026] 2.3) The set formed by all the above m is denoted as S, then S contains all possible MTU values;

[0027] 2.4) For each element MTU in the S set i , according to the constraints, find the maximum BAG that satisfies the inequality i . At this time, all possible (MTU i , BAG i ) is the MTU and BAG that can minimize the total network bandwidth;

[0028] For multiple message streams, repeat steps 2.2 and 2.3 for each message stream in N, take the union of the N S sets, and then perform step 2.4 to obtain n i The MTU and BAG that can minimize the total network bandwidth in the case of multiple message flows.

[0029] The time complexity of the second step is

[0030] Step 3: After the above modeling, the MTU and BAG of each virtual link obtained in step 2 that may minimize the total network bandwidth are used to convert the problem of reasonably allocating messages in the virtual link to improve the bandwidth margin into an NP-hard problem, and a polynomial time method can be designed accordingly. This embodiment includes two message allocation methods. When the message scale is small, for example, when the number of message streams sent by a single terminal system is less than or equal to 20, the DPGA method is used, and when the message scale is large, the TTDA method is used.

[0031] The message distribution method based on dynamic programming specifically includes:

[0032] i) Initialization: The jitter and bandwidth required for 0 messages are both 0.

[0033] ii) Use recursion to solve the allocation scheme for n messages and enumerate the 2 n -2 non-empty true subsets, for each non-empty true subset T, solve the bandwidth and jitter size under the corresponding optimal allocation solution;

[0034] iii) Using the method in the second step, merge all the remaining messages not considered by the T set into the same virtual link, that is, find the MTU and BAG in the message flow of the ST set that minimizes the total network bandwidth;

[0035] iv) Enumerate all possible (MTU i , BAG i ), calculate the bandwidth required and add it to the bandwidth occupied by the T set. If the two constraint equations of network port bandwidth limit and jitter limit are still met, then take all possible MTUs i , BAG i ) is the one with the smallest bandwidth usage as the final answer.

[0036] The time complexity of the message distribution method based on dynamic programming is O(3 n ).

[0037] The traversal top-down message distribution method specifically includes:

[0038] a) Initialization: put all message flows in a virtual link and check whether they meet the network port bandwidth limit and jitter limit. If the two constraint equations are met, the initialization is completed. Otherwise, the message with the largest LP value is continuously selected and moved into the newly created virtual link until both constraint equations are met;

[0039] b) If Figure 4As shown, a virtual link is selected, and the message flows therein are arranged in descending order according to the LP values. Messages with LP values ​​exceeding the mean are selected and moved into other existing virtual links or newly established virtual links, and the case with the lowest bandwidth occupancy is selected. When the LP values ​​are the same, half of the message flows are selected. When only one message is included, it is equivalent to merging virtual links; there are three virtual links in the figure, containing six, three, and two message flows respectively. When processing the first virtual link, the LP values ​​of the first three messages exceed the LP value mean, and they are taken out and placed in the second, third, and a new virtual link respectively. The case with the lowest bandwidth occupancy among these three cases and the original case is selected to continue this method;

[0040] The method for comparing bandwidth occupancy described in step b is specifically implemented as follows: using all feasible MTU and BAG pairs of each virtual link obtained in the second step, based on the idea of ​​the greedy method, select the MTU and BAG with the smallest bandwidth for each virtual link in turn, and select the MTU and BAG of the virtual link that has not been processed as the parameters with the smallest jitter. The jitter limit is checked once for each virtual link processed. If the jitter limit is not met, the previous virtual link setting is traced back and a small amount of bandwidth is sacrificed to meet the jitter limit.

[0041] c) Repeat step b for the virtual link until the bandwidth usage is the lowest, that is, the selected message is retained in the original virtual link. At this time, the next virtual link is started, and the next virtual link is selected to proceed to step b;

[0042] d) When all virtual links have been processed and the message allocation plan is no longer updated, the message allocation plan at this time is the final configuration plan, and the MTU and BAG of each corresponding virtual link are the final parameters of the virtual link.

[0043] The time complexity of the traversal top-down message distribution method is

[0044] After specific practical experiments, in the scenario of a real AFDX network, each terminal system has different components such as host applications and host functions, and each component has different ports to send or receive message streams. There are 108 terminal systems in the data set, and each terminal system can send 5 to 128 messages. The period of a message stream is 8 to 10,000 milliseconds. The first comparison method SABTDA continuously splits the virtual link containing many message streams into two virtual links to reduce bandwidth consumption. The second comparison method (All In One, AIO) is to put all messages in one virtual link. Each method has requirements for the number of message streams sent by the terminal system. The terminal systems are divided into two groups. The number of message streams sent by the 60 terminal systems in the first group does not exceed 22, which is used to evaluate DPGA; the second group contains all terminal systems that SABTDA can handle.

[0045] like Figure 5 As shown in the figure, it is a comparison of bandwidth occupancy under different methods of actual experiments, in which the horizontal axis is sorted from large to small according to bandwidth occupancy. In the figure, a is a comparison between DPGA, TTDA method and AIO, SABTDA method, and b is a comparison between TTDA method and AIO, SABTDA method. It can be seen that the two message allocation methods proposed in this embodiment can improve the bandwidth margin. Specifically, for the first group of terminal systems, the bandwidth occupancy rates of AIO, SABTDA, TTDA and DPGA are 3.45%, 3.20%, 2.76% and 2.68% respectively, and the bandwidth occupancy of DPGA and TTDA is 22.3% and 20.0% less than that of AIO; for the second group of terminal systems, the bandwidth occupancy rates of AIO, SABDTA and TTDA are 18.15%, 11.69% and 10.86% respectively, and the bandwidth occupancy of TTDA is 40.2% less than that of AIO. In addition, TTDA can also handle terminal systems with more message flows that SABTDA cannot handle, which also proves the great value of the message allocation method.

[0046] like Figure 6 As shown in the figure, it is a schematic diagram of the time consumption of the TTDA method under different BAG value ranges. The BAG value of TTDA1 is set to an exponential multiple of 2, and the BAG value range of TTDA2 is set to an integer multiple of 0.5. As can be seen from the figure, the maximum time consumption of TTDA1 is less than 1.8s, and the maximum time consumption of TTDA2 is 1025.6s. This shows that the message distribution method runs fast.

[0047] Compared with the prior art, the present invention can significantly increase the bandwidth margin to adapt to larger-scale actual data and has a fast running speed.

[0048] The above-mentioned specific implementation can be partially adjusted in different ways by those skilled in the art without departing from the principle and purpose of the present invention. The protection scope of the present invention shall be based on the claims and shall not be limited by the above-mentioned specific implementation. Each implementation scheme within its scope shall be subject to the constraints of the present invention.

Claims

1. A method for configuring virtual links in an avionics network based on dynamic programming and top-down, characterized in that: The IP fragmentation caused by MTU, the network port bandwidth limitation and the jitter limitation caused by the propagation of multiple virtual links are detected, and the bandwidth calculation problem of the virtual link is modeled as a minimization optimization problem; according to the constraints, the initial parameters of the virtual link that minimize the total network bandwidth are obtained, and when the message scale is small, the message allocation method based on dynamic programming is adopted, and when the message scale is large, the traversal top-down message allocation method is adopted to obtain the corresponding virtual link and configuration parameters of each message stream during transmission.

2. The method for configuring avionics network virtual links based on dynamic programming and top-down according to claim 1 is characterized in that: The minimization optimization problem mentioned above refers to: the optimization goal is to minimize Where: set n is the total number of virtual links; restriction condition: Where: n i is the number of message flows contained in the ith virtual link, B is the network port bandwidth, period i,j , payload i,j They respectively represent the interval time of the sending cycle of the jth message flow in the ith virtual link and the message size of each cycle.

3. The method for configuring avionics network virtual links based on dynamic programming and top-down according to claim 1 is characterized in that: The initial parameters of the virtual link include: maximum transmission unit and minimum interval time, where: MTU is the maximum size of the frame, that is, IP fragmentation technology allows message flows with a size exceeding MTU to be divided into multiple frames for transmission in the virtual link; BAG is the minimum interval time between two consecutive frames. The initial parameters of the virtual link are obtained by: considering all feasible MTUs and BAGs when transmitting each message flow in a virtual link; according to the restriction conditions That is, due to the IP fragmentation limitation caused by MTU, the MTU that minimizes the total network bandwidth is obtained by integer block method, that is, the integer block method is used to find All possible values ​​of , take the union of the MTU sets of each message stream and find the corresponding maximum BAG that satisfies the inequality i .

4. The method for configuring avionics network virtual links based on dynamic programming and top-down according to claim 1 is characterized in that: The message allocation method based on dynamic programming refers to: by recursively dividing a large-scale virtual link allocation problem into several smaller and easier to solve sub-problems, more schemes for allocating messages to different virtual links are considered, so that the required occupied bandwidth size is minimized while satisfying the jitter and delay size constraints.

5. The method for configuring avionics network virtual links based on dynamic programming and top-down according to claim 1 is characterized in that: The traversal top-down message distribution method is: all messages are set in a virtual link for initialization, and then according to the LP value of the message flow, that is, Split or merge virtual links in sequence, cyclically determine and select the method with the lowest bandwidth usage.

6. The method for configuring avionics network virtual links based on dynamic programming and top-down operation according to any one of claims 1 to 5, characterized in that: include: The first step is to model the bandwidth calculation problem as a minimization optimization problem: Optimization goal: Minimize Where: set n is the total number of virtual links; Restrictions: Where: n i is the number of message flows contained in the ith virtual link, B is the network port bandwidth, period i,j , payload i,j They represent the interval time of the sending cycle of the jth message flow in the i-th virtual link and the message size of each cycle respectively; Step 2: Take the MTU and BAG that can minimize the total network bandwidth as the optimization target, according to the constraints: The integer block method is used to obtain the MTU and BAG of each virtual link that can minimize the total network bandwidth, including: 2.1) When there is only one message flow in the i-th virtual link, the interval time of the message flow sending period is period i,j And the message size payload for each cycle i,j is period, payload; 2.2) Continuously iterate to find all possible MTU values. The iterative method is to initialize the variable m and each time Iteration stops when m>payload-1; 2.3) The set formed by all the above m is denoted as S, then S contains all possible MTU values; 2.4) For each element MTU in the S set i , according to the constraints, find the maximum BAG that satisfies the inequality i ; At this time all possible (MTU i , BAG i ) is the MTU and BAG that can minimize the total network bandwidth; For multiple message streams, repeat steps 2.2 and 2.3 for each message stream in N, take the union of the obtained S sets, and then perform step 2.4 to obtain n i The MTU and BAG that can minimize the total network bandwidth in the case of 1 message stream; Step 3: After the above modeling, using the MTU and BAG of each virtual link obtained in the second step that can minimize the total network bandwidth, the problem of reasonably allocating messages in the virtual link to increase the bandwidth margin is transformed into an NP-hard problem, and a polynomial time method is designed accordingly. The DPGA method is used when the number of message streams sent by a single terminal system is less than or equal to 20, and the TTDA method is used when the message scale is large.

7. The method for configuring avionics network virtual links based on dynamic programming and top-down according to claim 6 is characterized in that: The message distribution method based on dynamic programming specifically includes: i) Initialization, record that the jitter and bandwidth required for 0 messages are both 0; ii) Use recursion to solve the allocation scheme for n messages and enumerate the 2 n -2 non-empty proper subsets S, for each non-empty proper subset T, solve the bandwidth and jitter size under the corresponding optimal allocation solution; iii) Using the method in the second step, merge all the remaining messages not considered by the T set into the same virtual link, that is, find the MTU and BAG in the message flow of the ST set that minimizes the total network bandwidth; iv) Enumerate all possible (MTU i , BAG i ), calculate the bandwidth required and add it to the bandwidth occupied by the T set. If the two constraint equations of network port bandwidth limit and jitter limit are still met, take all possible (MTU i , BAG i ) is the one with the smallest bandwidth usage as the final answer.

8. The method for configuring avionics network virtual links based on dynamic programming and top-down according to claim 6 is characterized in that: The traversal top-down message distribution method specifically includes: a) Initialization: put all message flows in a virtual link and check whether they meet the network port bandwidth limit and jitter limit. If the two constraint equations are met, the initialization is completed. Otherwise, the message with the largest LP value is continuously selected and moved into the newly created virtual link until both constraint equations are met. b) Select a virtual link, sort the message flows in it in descending order according to the LP value, select the messages with LP values ​​exceeding the mean and move them to other existing virtual links or newly established virtual links, and select the situation with the lowest bandwidth occupancy; when the LP values ​​are the same, select half of the message flows; when only one message is included, it is equivalent to merging virtual links; there are three virtual links in the figure, containing six, three and two message flows respectively; when processing the first virtual link, the LP values ​​of the first three messages exceed the LP value mean, take them out and put them into the second, third and a new virtual link respectively, select the situation with the lowest bandwidth occupancy among these three situations and the original situation to continue this method; c) Repeat step b for the virtual link until the bandwidth usage is the lowest, that is, the selected message is retained in the original virtual link. At this time, the next virtual link is started, and the next virtual link is selected to proceed to step b; d) When all virtual links have been processed and the message allocation plan is no longer updated, the message allocation plan at this time is the final configuration plan, and the MTU and BAG of each corresponding virtual link are the final parameters of the virtual link.

9. The method for configuring avionics network virtual links based on dynamic programming and top-down according to claim 8 is characterized in that: The method for comparing bandwidth occupancy is specifically as follows: using all feasible MTU and BAG pairs of each virtual link obtained in the second step, based on the idea of ​​the greedy method, the MTU and BAG with the smallest bandwidth are selected for each virtual link in turn, and the MTU and BAG of the virtual link that has not been processed are selected as the parameters with the smallest jitter; the jitter limit is checked once each time a virtual link is processed, and if the jitter limit is not met, the previous virtual link setting is traced back, and a small amount of bandwidth is sacrificed to meet the jitter limit.

10. A system for implementing the avionics network virtual link configuration method based on dynamic programming and top-down as described in any one of claims 1 to 9, characterized in that: include: A modeling unit, an integer block unit and a message allocation unit, wherein: the modeling unit models the bandwidth calculation problem into a minimization optimization problem according to constraints and optimization goals; the integer block unit performs integer block processing according to the IP fragmentation limit caused by MTU obtained by the modeling unit, and obtains the MTU and BAG of each virtual link that may minimize the total network bandwidth; the message allocation unit selects dynamic programming message allocation processing or traversal top-down message allocation processing according to the message scale based on the result of the integer block unit, the network port bandwidth limit obtained by the modeling unit, and the jitter limit information caused by the propagation of multiple virtual links obtained by the modeling unit, and obtains the corresponding virtual link and configuration parameters for each message stream transmission.

Citation Information

Patent Citations

  • Packet transmission method and packet transmission system for H264 code streams

    CN104506959A

  • Sending virtual link scheduling method of AFDX network

    CN110601744A

  • AFDX bus data scheduling method and device

    CN114726678A

  • Single-domain customizable QoS routing method and device, electronic equipment and storage medium

    CN115834471A

  • AFDX terminal system virtual link layer IP core

    CN203151539U