A AFDX terminal system configuration query system and method

By using binary search and configuration table correspondence in the AFDX side system, the virtual link number is quickly queried, which solves the problem of query delay in the AFDX side system configuration, improves query speed and reduces delay.

CN114205294BActive Publication Date: 2025-01-03SHANGHAI AVIATION ELECTRIC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010987925.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-18
Publication Date
2025-01-03
Estimated Expiration
2040-09-18

AI Technical Summary

Technical Problem

The AFDX end system generates a large delay when configuring query, mainly because the query methods are mostly sequential queries, resulting in an increase in the delay between the sender and the receiver.

Method used

The configuration table is stored separately by using MAC module, IP module and UDP module, and the virtual link number is quickly queried through binary search, establishing a one-to-one correspondence relationship to reduce query time.

Benefits of technology

Quickly find the configuration of the MAC module through dichotomy, and quickly locate the configuration location of the IP and UDP modules by using the corresponding relationship between the configuration tables, which significantly reduces the waiting time for query reading, improves the speed of AFDX system configuration query, and avoids Delay problem.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114205294B_ABST
    Figure CN114205294B_ABST
Patent Text Reader

Abstract

The present invention discloses an AFDX end system configuration query system and method, which decomposes the AFDX end system into three modules according to the protocol layer, namely, a MAC module, an IP module and a UDP module. And a separate RAM is allocated to each module to store its corresponding configuration table, namely, a MAC configuration table, an IP configuration table and a UDP configuration table. Each module in the AFDX end system needs to read the corresponding configuration when working. The beneficial effect of the present invention is that the configuration required by the MAC module is quickly found through the binary search method, and then thanks to the corresponding relationship between the configuration tables, the configuration location of the IP module and the UDP module can be quickly located according to the index, which greatly reduces the waiting time for querying and reading the configuration, thereby improving the speed of the AFDX end system configuration query and avoiding the AFDX end system from generating a relatively large delay when sending and receiving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of AFDX (Avionics Full Duplex Switched Ethernet), and in particular to an AFDX end system configuration query system and method. Background Art

[0002] AFDX is a deterministic network suitable for interconnection of avionics systems, which is formed by supplementing, modifying and defining the industrial standard Ethernet. Compared with the traditional aviation bus, the advantages of AFDX bus in data exchange between aviation subsystems are reflected in high real-time performance, high reliability, high adaptability and high bandwidth. Currently, AFDX network is widely used in modern avionics systems, including A380, B787 and China's C919.

[0003] The AFDX end system requires configuration support from each module when in use. Currently, configuration queries are all real-time queries when needed, and the query method is mostly sequential query, which will cause the AFDX end system to have a relatively large delay (Jitter) at both the sending and receiving ends. Summary of the invention

[0004] The present invention aims to solve the time delay problem in the prior art and provides a novel AFDX terminal system configuration query system and method.

[0005] In order to achieve this purpose, the technical solution of the present invention is as follows: an AFDX end system configuration query system, characterized in that it comprises: the AFDX end system is divided into a MAC module, an IP module and a UDP module according to the protocol layer;

[0006] The MAC module corresponds to a RAM storing a MAC configuration table, each item in the MAC configuration table has a unique virtual link number and a configuration related to the virtual link and used by the MAC module, and each item in the MAC configuration table is stored in the RAM in an increasing or decreasing order of the virtual link number;

[0007] The IP module corresponds to a RAM storing an IP configuration table, wherein each item in the IP configuration table is a configuration related to a single virtual link and used by the IP module;

[0008] The UDP module has a RAM of a UDP configuration table, each item in the UDP configuration table is a configuration related to a single virtual link and used by the UDP module;

[0009] Thus, a one-to-one correspondence is established between the table entries of the MAC configuration table, the table entries of the IP configuration table, and the table entries of the UDP configuration table.

[0010] The present invention also provides an AFDX terminal system configuration query method, comprising the following steps:

[0011] The MAC module first reads the virtual link number from the data to be sent or received, and then uses binary search to query the virtual link number from the corresponding configuration table; if the virtual link number is found in the configuration table, the MAC module records the index of the corresponding table item (the index is the row number of the table item, starting from 0), and passes the index to the IP module and UDP module. These two modules read the index-th configuration content from their respective corresponding configuration tables according to the provided index, and prepare for the next work; if the virtual link number cannot be found in the configuration table, the MAC module returns an invalid flag.

[0012] Compared with the prior art, the beneficial effects of the present invention are at least that: the configuration required for the MAC module is quickly found through the binary search method, and then thanks to the correspondence between the configuration tables, the configuration locations of the IP module and the UDP module can be quickly located according to the index, which greatly reduces the waiting time for querying and reading the configuration, thereby improving the speed of configuration query of the AFDX end system and avoiding relatively large delays in sending and receiving of the AFDX end system.

[0013] In addition to the technical problems solved by the present invention, the technical features that constitute the technical solution, and the beneficial effects brought about by the technical features of the technical solution described above, other technical problems that can be solved by the present invention, other technical features included in the technical solution, and the beneficial effects brought about by these technical features will be further described in detail in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a module decomposition diagram of the present invention.

[0015] Figure 2 It is the configuration table and relationship diagram of the present invention.

[0016] Figure 3 It is a flow chart of the working principle of the present invention. DETAILED DESCRIPTION

[0017] The present invention is further described in detail below by means of specific embodiments connected with the accompanying drawings. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0018] See also Figure 1, the AFDX end system is decomposed into three modules according to the protocol layer, namely MAC module, IP module and UDP module. And a separate RAM is allocated to each module to store its corresponding configuration table, namely MAC configuration table, IP configuration table and UDP configuration table. Each module in the AFDX end system needs to read the corresponding configuration when working.

[0019] See also Figure 2 , the configuration tables of each module should be stored in accordance with specific rules: each item in the MAC configuration table must contain a unique virtual link number (VL ID) in the entire configuration table, and the other contents of the table item must be configurations related to the virtual link and used by the MAC module. The configuration table should be stored in RAM in ascending order of virtual link numbers; the content of each item in the configuration table of the IP module should be configurations related to a single virtual link and used by the IP module; the content of each item in the configuration table of the UDP module should be configurations related to a single virtual link and used by the UDP module. In this way, a one-to-one correspondence is established between the table items of the MAC configuration table, the table items of the IP configuration table, and the table items of the UDP configuration table.

[0020] See also Figure 3 The working principle of the present invention is as follows:

[0021] Step S1: read the virtual link number n from the data to be sent and the data to be received, and then go to step S2.

[0022] Step S2: The MAC module uses the binary search method to query the virtual link number n in the MAC configuration table, and then proceeds to step S3.

[0023] Step S3: If the virtual link number n is in the configuration table, go to step S4, otherwise go to step S7.

[0024] Step S4: record the index index of the MAC configuration table entry corresponding to the virtual link number n, and then proceed to step S5.

[0025] Step S5: pass the index index to the IP module and the UDP module, and then go to step S6.

[0026] Step S6: The IP module and the UDP module read the index item configuration in their respective configuration tables respectively to prepare for the next work.

[0027] Step S7: Since the virtual link number n is not in the MAC configuration table, an invalid flag is returned. The AFDX end system control device can read the flag to determine whether the transmission is successful.

[0028] By adopting the method provided by the present invention, the configuration required by the MAC module is quickly found through the binary search method, and then thanks to the corresponding relationship between the configuration tables, the configuration locations of the IP module and the UDP module can be quickly located according to the index, which greatly reduces the waiting time for querying and reading the configuration, thereby improving the speed of configuration query of the AFDX end system and avoiding relatively large delays in sending and receiving of the AFDX end system.

[0029] The above only expresses the implementation mode of the present invention, and its description is relatively specific and detailed, but it cannot be understood as limiting the scope of the invention patent. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be based on the attached claims.

Claims

1. An AFDX terminal system configuration query system, characterized in that: Contains: AFDX end system is divided into MAC module, IP module and UDP module according to the protocol layer; The MAC module corresponds to a RAM storing a MAC configuration table, each item in the MAC configuration table has a unique virtual link number and a configuration related to the virtual link and used by the MAC module, and each item in the MAC configuration table is stored in the RAM in an increasing or decreasing order of the virtual link number; The IP module corresponds to a RAM storing an IP configuration table, wherein each item in the IP configuration table is a configuration related to a single virtual link and used by the IP module; The UDP module has a RAM of a UDP configuration table, each item in the UDP configuration table is a configuration related to a single virtual link and used by the UDP module; Thus, a one-to-one correspondence is established between the table entries of the MAC configuration table, the table entries of the IP configuration table, and the table entries of the UDP configuration table.

2. A method for querying system configuration at an AFDX terminal, characterized in that: It includes the following steps: The MAC module first reads the virtual link number from the data to be sent or received, and then uses binary search to query the virtual link number from the corresponding configuration table; if the virtual link number is found in the configuration table, the MAC module records the index of the corresponding table item, which is the row number of the table item, starting from 0, and passes the index to the IP module and UDP module. These two modules read the index-th configuration content from their respective corresponding configuration tables according to the provided index, and prepare for the next work; if the virtual link number is not found in the configuration table, the MAC module returns an invalid flag.

Citation Information

Patent Citations

  • Data query method, data query device and data query system

    CN101727502A

  • Avionic full-duplex switched-type Ethernet network card and integration method thereof

    CN101902504A