Communication equipment compatible with hybrid network of Ethernet and FC-AE-1553

By designing a hybrid network communication device compatible with Ethernet and FC-AE-1553, and using modular design to realize frame conversion and routing management, the problem of complex and high cost of FC-AE-1553 and Ethernet node communication in the prior art is solved, and fast and low-cost inter-node communication is achieved.

CN119583668AActive Publication Date: 2025-03-07BEIJING MECHANICAL EQUIP INST

Patent Information

Application Number
CN202311153087.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-07
Publication Date
2025-03-07
Estimated Expiration
2043-09-07

AI Technical Summary

Technical Problem

In the prior art, the FC-AE-1553 and Ethernet node communication networks have complex structures, large size and high cost, making it difficult to achieve direct interoperability.

Method used

A hybrid network communication device compatible with Ethernet and FC-AE-1553 is designed, including Ethernet interface conversion module, Ethernet data exchange module, protocol processing module, FC data exchange module and FC transceiver module. Through these modules, the mutual conversion and routing management of Ethernet frames and FC-AE-1553 frames are realized.

Benefits of technology

Fast communication between Ethernet nodes and FC-AE-1553 nodes is realized, avoiding the need to add additional equipment to FC-AE-1553 nodes, reducing cost and volume, and simplifying the network structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119583668A_ABST
    Figure CN119583668A_ABST
Patent Text Reader

Abstract

The invention relates to a communication device compatible with a hybrid network of Ethernet and FC-AE-1553, belongs to the technical field of hybrid network communication of FC-AE-1553 and Ethernet, and solves the problems of complex structure, large size and high cost of the FC-AE-1553 and Ethernet communication network in the prior art. The communication device comprises an Ethernet interface conversion module, an Ethernet data exchange module, a protocol processing module, an FC data exchange module and an FC transceiver module. The Ethernet interface conversion module receives an Ethernet data frame sent by an Ethernet node and forwards the Ethernet data frame to the Ethernet data exchange module or the protocol processing module; the FC transceiver module receives an FC-AE-1553 frame sent by an FC-AE-1553 node, and forwards the FC-AE-1553 frame to the FC data exchange module; the FC data exchange module forwards the FC-AE-1553 frame to the FC transceiver module or the protocol processing module; and the protocol processing module is used for realizing mutual conversion between an Ethernet frame and an FC-AE-1553 frame and sending the Ethernet frame and the FC-AE-1553 frame to an Ethernet node. The communication network of the Ethernet and the FC-AE-1553 is simple in structure, small in occupied volume and low in cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of FC-AE-1553 and Ethernet hybrid network communication, and in particular to a hybrid network communication device compatible with Ethernet and FC-AE-1553. Background Art

[0002] Fiber Channel (FC) is a high-speed serial communication protocol developed by the United States International Information Technology Standards Committee (INCITS) in 1998. As a member of the FC-AE (Fiber Channel Avionics Environment) protocol suite, the FC-AE-1553 protocol is a command / response network communication protocol suitable for FC networks that maps the MIL-STD-1553B bus protocol to the Fiber Channel protocol. It has the characteristics of high reliability, high bandwidth, strong real-time performance, and strong compatibility. It is widely used for data transmission between communication equipment in military electronic environments such as aerospace. Ethernet is a computer local area network technology and is currently the most commonly used local area network technology. It has the characteristics of simplicity, convenience, low price, and high speed.

[0003] In traditional FC-AE-1553, each node can only serve as a node in FC-AE-1553. Network nodes are divided into NC (Network Controller) nodes and NT (Network Terminal) nodes. NC nodes are the controllers of the bus. Bus communications are initiated or controlled by NC nodes. NT nodes, as communication nodes, accept NC control to send or receive data. Both parties of information exchange are connected to the bus as NC nodes or NT nodes. FC-AE-1553 is a command-response bus. NC acts as a bus controller to control other nodes to receive or send data. In this case, FC-AE-1553 and Ethernet cannot communicate directly. If data transmission between nodes is required, additional equipment is required.

[0004] Therefore, there is an urgent need for a communication device for realizing FC-AE-1553 and Ethernet with a simple structure, small occupied volume and low cost. Summary of the invention

[0005] In view of the above analysis, an embodiment of the present invention aims to provide a communication device compatible with a hybrid network of Ethernet and FC-AE-1553, so as to solve the problems of complex structure, large size and high cost of FC-AE-1553 and Ethernet node communication network in the prior art.

[0006] The embodiment of the present invention provides a communication device compatible with a hybrid network of Ethernet and FC-AE-1553, the communication device comprising a plurality of Ethernet interface conversion modules, an Ethernet data exchange module, a protocol processing module, an FC data exchange module and a plurality of FC transceiver modules;

[0007] Each Ethernet interface conversion module corresponds to an Ethernet node, and is used to receive Ethernet data frames sent by the Ethernet node, and forward the Ethernet data frames to the Ethernet data exchange module or the protocol processing module according to the destination node;

[0008] Each FC transceiver module corresponds to an FC-AE-1553 node, and is used to receive FC-AE-1553 frames sent by the FC-AE-1553 node and forward them to the FC data exchange module; the FC data exchange module forwards the FC-AE-1553 frames to the FC transceiver module or protocol processing module corresponding to the destination node according to the destination node;

[0009] The protocol processing module is used to realize the mutual conversion between Ethernet frames and FC-AE-1553 frames, and sends the converted Ethernet frames to the Ethernet interface conversion module corresponding to the destination node, and the Ethernet interface conversion module sends the converted Ethernet frames to the corresponding Ethernet node; at the same time, the converted FC-AE-1553 frames are sent to the FC data exchange module, and the FC data exchange module sends the FC-AE-1553 frames to the corresponding FC transceiver module according to the destination node, and the FC transceiver module sends the converted FC-AE-1553 frames to the corresponding FC-AE-1553 node.

[0010] Based on the further improvement of the above device, the communication device also includes a routing information management module;

[0011] When any Ethernet node is connected to the Ethernet interface conversion module of the communication device for the first time or when the FC-AE-1553 node is connected to the FC transceiver module of the communication device for the first time, the routing information management module allocates FC_ID to the Ethernet interface conversion module or FC transceiver module, and obtains the MAC address and IP address of the Ethernet node or FC-AE-1553 node;

[0012] The routing information management module stores the node type and the mapping relationship between the FC_ID, MAC address and IP address of each node in the routing mapping table.

[0013] Based on the further improvement of the above device, the Ethernet interface conversion module includes an Ethernet port, and the Ethernet data frame is transmitted between the Ethernet node and the Ethernet interface conversion module through the Ethernet port;

[0014] The FC transceiver module includes a FC port, and the FC-AE-1553 frame is transmitted between the FC-AE-1553 node and the FC transceiver module through the FC port.

[0015] Based on the further improvement of the above device, the communication device further includes a first memory space and a second memory space;

[0016] When the protocol processing module parses the Ethernet data frame forwarded by the Ethernet interface conversion module to obtain valid data contained in the data packet, it is saved in the first memory space for storage;

[0017] When the protocol processing module parses the FC-AE-1553 frame forwarded by the FC-AE-1553 data exchange module to obtain valid data contained in the data packet, it is saved to the second memory space for storage.

[0018] Based on the further improvement of the above device, when the protocol processing module receives the Ethernet data frame forwarded by the Ethernet interface conversion module, the protocol processing module is further used to:

[0019] Parsing the valid data contained in the Ethernet data frame and saving it in the first memory space until all the valid data contained in the data packet is obtained; querying the pre-stored routing mapping table to determine whether the destination node is an NC node or an NT node according to the MAC address of the destination node;

[0020] When the destination node is an NT node, encapsulate the valid data contained in the data packet according to the FC-AE-1553 protocol format, obtain the command data sequence corresponding to the data packet, and send the command data sequence to the destination node;

[0021] When the destination node is an NC node, the valid data contained in the data packet is encapsulated according to the FC-AE-1553 protocol format to obtain a state data sequence corresponding to the data packet, and the state data sequence is sent to the destination node.

[0022] Based on the further improvement of the above device, the effective data contained in the data packet is encapsulated according to the FC-AE-1553 protocol format to obtain the command data sequence corresponding to the data packet, including:

[0023] Slice the valid data contained in the data packet according to the first preset length, and determine the number of slices S of the data packet and the valid data corresponding to each slice;

[0024] According to the number of fragments S of the data packet, the valid data corresponding to each fragment is encapsulated according to the FC-AE-1553 protocol format to obtain the command data sequence corresponding to the data packet.

[0025] Based on the further improvement of the above device, the valid data contained in the data packet is encapsulated according to the FC-AE-1553 protocol format to obtain the state data sequence corresponding to the data packet, including:

[0026] Slice the valid data contained in the data packet according to the first preset length, and determine the number of slices S' of the data packet and the valid data corresponding to each slice;

[0027] According to the number of fragments S' of the data packet, the valid data corresponding to each fragment is encapsulated according to the FC-AE-1553 protocol format to obtain the state data sequence corresponding to the data packet.

[0028] Based on further improvements of the above device, when the protocol processing module receives the FC-AE-1553 frame forwarded by the FC-AE-1553 data exchange module, the protocol processing module is further used to:

[0029] According to the source ID of the FC-AE-1553 frame, query the pre-stored routing mapping table to determine whether the source FC-AE-1553 node is an NC node or an NT node;

[0030] When the source FC-AE-1553 node is an NC node, the FC-AE-1553 frame is parsed to determine the frame type of the FC-AE-1553 frame; when the FC-AE-1553 frame is a sending command frame, a data packet to be sent corresponding to the sending command frame is determined, and all valid data contained in the data packet to be sent is saved in the second memory space;

[0031] Determine whether all valid data contained in the data packet to be sent has been saved in the second memory space; if so, encapsulate all valid data contained in the data packet to be sent according to the Ethernet protocol format, obtain one or more Ethernet data frames corresponding to the data packet to be sent, and send the one or more Ethernet data frames to the Ethernet interface conversion module corresponding to the destination node.

[0032] Based on the further improvement of the above device, the protocol processing module is also used for:

[0033] When the FC-AE-1553 frame is a sending command frame, when all valid data contained in the to-be-sent data packet corresponding to the sending command frame has been saved in the second memory space, determining whether to return a receiving status frame to the source FC-AE-1553 node according to the status suppression bit of the sending command frame;

[0034] When the FC-AE-1553 frame is a receive command frame, determining a data packet requested by the receive command frame; and sending the data packet requested by the receive command frame to a source FC-AE-1553 node;

[0035] When the FC-AE-1553 frame is a data frame to be sent, the valid data contained in the data frame to be sent is parsed and saved in the second memory space.

[0036] Based on the further improvement of the above device, the protocol processing module is also used for:

[0037] When the source FC-AE-1553 node is an NT node, the FC-AE-1553 frame is parsed to determine the frame type of the FC-AE-1553 frame;

[0038] When the FC-AE-1553 frame is a sending status frame, determining a data packet to be sent corresponding to the sending status frame, and saving all valid data contained in the data packet to be sent into the second memory space;

[0039] When the FC-AE-1553 frame is a data frame to be sent, the valid data contained in the data frame to be sent is parsed and saved in the second memory space.

[0040] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:

[0041] 1. By determining the node type to which the destination node of the Ethernet data frame belongs, the communication between Ethernet nodes and between Ethernet nodes and FC-AE-1553 nodes is implemented in different ways, which can not only quickly realize node communication of the same node type, but also realize node communication of different node types.

[0042] 2. By encapsulating the valid data contained in the data packet into a command data sequence or a status data sequence according to whether the destination node is an NT node or an NC node, and sending it to the destination node, node communication of different node types is realized, avoiding the addition of additional equipment to the FC-AE-1553 node, occupying a small volume, low cost and simple network structure.

[0043] 3. By providing multiple ways to encapsulate the valid data corresponding to each fragment according to the number of fragments of the data packet, the Ethernet node data transmission is diversified, more suitable for different FC-AE-1553 nodes, and more practical.

[0044] 4. By using the node type to which the destination node of the FC-AE-1553 frame belongs, the communication between FC-AE-1553 nodes and between FC-AE-1553 nodes and Ethernet nodes is implemented in different ways, which can not only quickly realize node communication of the same node type, but also realize node communication of different node types.

[0045] 5. When the source FC-AE-1553 node is an NC node, the source FC-AE-1553 node type is obtained by parsing the FC-AE-1553 frame sent by the source FC-AE-1553 node. According to the type of the FC-AE-1553 frame, the function to be implemented by the source FC-AE-1553 node is quickly determined. When the source FC-AE-1553 node sends data, storage space is allocated for the data to facilitate sending.

[0046] 6. By using different modules for the communication between Ethernet nodes and the communication between Ethernet nodes and FC-AE-1553 nodes, not only the node communication of the same node type can be realized quickly, but also the node communication of different node types can be realized.

[0047] 7. The first memory space is used to store valid data contained in the data packet sent by the Ethernet node to the FC-AE-1553 node, and the second memory space is used to store valid data contained in the data packet sent by the FC-AE-1553 node to the Ethernet node, so that the communications are independent of each other, the processing speed and efficiency are improved, and the mutual interference is reduced.

[0048] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.

[0050] Figure 1 A schematic flow chart of a method for transmitting data via an Ethernet node in a hybrid network based on Ethernet and FC-AE-1553 provided by an embodiment of the present invention;

[0051] Figure 2 This is a schematic diagram of the Ethernet frame format structure;

[0052] Figure 3 This is a schematic diagram of the FC-AE-1553 frame format structure;

[0053] Figure 4 A schematic diagram of a flow chart of a source Ethernet node sending a data packet to a destination node NT provided by an embodiment of the present invention;

[0054] Figure 5A schematic diagram of a process of a source Ethernet node sending a data packet to a destination node NC provided by an embodiment of the present invention;

[0055] Figure 6 A schematic flow chart of a method for transmitting FC-AE-1553 node data based on a hybrid network provided by an embodiment of the present invention;

[0056] Figure 7 A schematic diagram of a flow chart of a source NC node sending a data packet to a destination Ethernet node provided by an embodiment of the present invention;

[0057] Figure 8 A schematic diagram of a flow chart of a source NT node sending a data packet to a destination Ethernet node provided by an embodiment of the present invention;

[0058] Fig. 9 A schematic diagram of the structure of a communication device for a hybrid network compatible with Ethernet and FC-AE-1553 provided by an embodiment of the present invention;

[0059] Fig.10 A schematic diagram of a structure in which an Ethernet node sends data to an Ethernet node according to an embodiment of the present invention;

[0060] Fig.11 A schematic diagram of a structure in which an Ethernet node sends data to an FC-AE-1553 node according to an embodiment of the present invention;

[0061] Fig.12 A schematic diagram of a structure in which an FC-AE-1553 node sends data to another FC-AE-1553 node provided in an embodiment of the present invention;

[0062] Fig.13 A schematic diagram of the structure of an FC-AE-1553 node sending data to an Ethernet node provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0063] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0064] A specific embodiment of the present invention discloses a communication device compatible with a hybrid network of Ethernet and FC-AE-1553, such as Fig. 9 As shown, the communication device includes several Ethernet interface conversion modules, Ethernet data exchange modules, protocol processing modules, FC data exchange modules and several FC transceiver modules;

[0065] Each Ethernet interface conversion module corresponds to an Ethernet node, and is used to receive Ethernet data frames sent by the Ethernet node, and forward the Ethernet data frames to the Ethernet data exchange module or protocol processing module corresponding to the destination node according to the destination node;

[0066] Each FC transceiver module corresponds to an FC-AE-1553 node, and is used to receive FC-AE-1553 frames sent by the FC-AE-1553 node and forward them to the FC data exchange module; the FC data exchange module forwards the FC-AE-1553 frames to the FC transceiver module or protocol processing module corresponding to the destination node according to the destination node;

[0067] The protocol processing module is used to realize the mutual conversion between Ethernet frames and FC-AE-1553 frames, and sends the converted Ethernet frames to the Ethernet interface conversion module corresponding to the destination node, and the Ethernet interface conversion module sends the converted Ethernet frames to the corresponding Ethernet node; at the same time, the converted FC-AE-1553 frames are sent to the FC data exchange module, and the FC data exchange module sends the FC-AE-1553 frames to the corresponding FC transceiver module according to the destination node, and the FC transceiver module sends the converted FC-AE-1553 frames to the corresponding FC-AE-1553 node.

[0068] Specifically, Fig. 9 As shown, the communication device includes m Ethernet interface conversion modules, 1 Ethernet data exchange module, 1 protocol processing module, 1 FC data exchange module and (n+p) FC transceiver modules, wherein the (n+p) FC transceiver modules correspond to n NC nodes and p NT nodes, and m, n and p are all positive integers.

[0069] like Fig. 9 As shown, each Ethernet interface conversion module is connected to an Ethernet node, and is used to receive Ethernet data frames sent by the Ethernet node, and forward the Ethernet data frames to the Ethernet data exchange module or protocol processing module corresponding to the destination node according to the destination node; at the same time, when the protocol processing module sends the converted Ethernet frame to the Ethernet interface conversion module corresponding to the destination node, the Ethernet interface conversion module sends the converted Ethernet frame to the corresponding Ethernet node.

[0070] Specifically, when the Ethernet interface conversion module receives an Ethernet data frame sent by an Ethernet node, it can be understood that at this time, the Ethernet node sends a data frame to the remaining nodes in the hybrid network, and the Ethernet interface conversion module receives the Ethernet data frame sent by the source Ethernet node and determines the node type to which the destination node of the Ethernet data frame belongs;

[0071] If the node type to which the destination node belongs is an FC-AE-1553 node, the Ethernet interface conversion module forwards the Ethernet data frame to the protocol processing module; if the node type to which the destination node belongs is an Ethernet node, the Ethernet data frame is directly sent to the Ethernet data exchange module, the Ethernet data exchange module forwards the data frame to the Ethernet interface conversion module corresponding to the destination node, and the Ethernet interface conversion module transmits the Ethernet data frame to the Ethernet node of the destination node.

[0072] Specifically, when the Ethernet interface conversion module receives the Ethernet data frame from the Ethernet data exchange module or the protocol processing module, the Ethernet interface conversion module transmits the Ethernet data frame to the destination node Ethernet node.

[0073] Preferably, the Ethernet interface conversion module comprises an Ethernet port, and the Ethernet data frame is transmitted between the Ethernet node and the Ethernet interface conversion module via the Ethernet port.

[0074] Specifically, the Ethernet port may include RJ45 and an Ethernet PHY chip, so that Ethernet data frames are transmitted between the Ethernet node and the communication device. It is understandable that RJ45 is a type of information socket connector in the wiring system, and the connector consists of a plug and a socket.

[0075] The communication device of the hybrid network compatible with Ethernet and FC-AE-1553 provided by the embodiment of the present invention adopts different modules to realize the communication between Ethernet nodes and the communication between Ethernet nodes and FC-AE-1553 nodes, so that not only the node communication of the same node type but also the node communication of different node types can be realized quickly.

[0076] like Fig. 9 As shown, each FC transceiver module corresponds to an FC-AE-1553 node, and is used to receive FC-AE-1553 frames sent by the FC-AE-1553 node and forward them to the FC data exchange module; at the same time, the FC transceiver module receives the FC-AE-1553 frames sent by the FC data exchange module, and transmits the converted FC-AE-1553 frames to the corresponding FC-AE-1553 node.

[0077] Preferably, the FC transceiver module includes a FC port, and the FC-AE-1553 frame is transmitted between the FC-AE-1553 node and the FC transceiver module through the FC port.

[0078] Specifically, the FC port may include an SFP, so that the FC-AE-1553 frame is transmitted between the FC-AE-1553 node and the communication device. It is understandable that SFP (Small Form Pluggable) is an upgraded version of GBIC (Gigabit Interface Converter), which is an interface device that converts gigabit electrical signals into optical signals and can be hot-swapped.

[0079] Specifically, the protocol processing module is used to realize the mutual conversion between Ethernet frames and FC-AE-1553 frames, and sends the converted Ethernet frames to the Ethernet interface conversion module corresponding to the destination node, and the Ethernet interface conversion module sends the converted Ethernet frames to the corresponding Ethernet node; at the same time, the converted FC-AE-1553 frames are sent to the FC data exchange module, and the FC data exchange module sends the FC-AE-1553 frames to the corresponding FC transceiver module according to the destination node, and the FC transceiver module sends the converted FC-AE-1553 frames to the corresponding FC-AE-1553 node.

[0080] Specifically, the protocol processing module sends the converted FC-AE-1553 frame to the FC data exchange module, and the FC data exchange module forwards the FC-AE-1553 frame to the FC transceiver module corresponding to the destination node according to the destination ID of the FC-AE-1553 frame, and the FC transceiver module transmits the FC-AE-1553 frame to the corresponding FC-AE-1553 node.

[0081] Preferably, the communication device further comprises a routing information management module;

[0082] When any Ethernet node is connected to the Ethernet interface conversion module of the communication device for the first time or when the FC-AE-1553 node is connected to the FC transceiver module of the communication device for the first time, the routing information management module allocates FC_ID to the Ethernet interface conversion module or FC transceiver module, and obtains the MAC address and IP address of the Ethernet node or FC-AE-1553 node;

[0083] The routing information management module stores the node type and the mapping relationship between the FC_ID, MAC address and IP address of each node in the routing mapping table.

[0084] Specifically, the routing information management module can be updated as the nodes connected to the communication device change. When any Ethernet node or FC-AE-1553 node is deleted from the communication device, the routing information management module also deletes the routing mapping table information corresponding to the node accordingly.

[0085] Preferably, the communication device further comprises a first memory space and a second memory space;

[0086] When the protocol processing module parses the Ethernet data frame forwarded by the Ethernet interface conversion module to obtain valid data contained in the data packet, it is saved in the first memory space for storage;

[0087] When the protocol processing module parses the FC-AE-1553 frame forwarded by the FC-AE-1553 data exchange module to obtain valid data contained in the data packet, it is saved to the second memory space for storage.

[0088] Specifically, the first memory space is used to store valid data contained in the data packet sent by the Ethernet node to the FC-AE-1553 node, and the second memory space is used to store valid data contained in the data packet sent by the FC-AE-1553 node to the Ethernet node, making the communications independent of each other, improving processing speed and efficiency, and reducing mutual interference.

[0089] Specifically, when the protocol processing module receives the Ethernet data frame forwarded by the Ethernet interface conversion module, the protocol processing module is further used to:

[0090] Parsing the valid data contained in the Ethernet data frame and saving it in the first memory space until all the valid data contained in the data packet is obtained; querying the pre-stored routing mapping table to determine whether the destination node is an NC node or an NT node according to the MAC address of the destination node;

[0091] When the destination node is an NT node, encapsulate the valid data contained in the data packet according to the FC-AE-1553 protocol format, obtain the command data sequence corresponding to the data packet, and send the command data sequence to the destination node;

[0092] When the destination node is an NC node, the valid data contained in the data packet is encapsulated according to the FC-AE-1553 protocol format to obtain a state data sequence corresponding to the data packet, and the state data sequence is sent to the destination node.

[0093] Specifically, encapsulating the valid data contained in the data packet according to the FC-AE-1553 protocol format to obtain the command data sequence corresponding to the data packet includes:

[0094] Slice the valid data contained in the data packet according to the first preset length, and determine the number of slices S of the data packet and the valid data corresponding to each slice;

[0095] According to the number of fragments S of the data packet, the valid data corresponding to each fragment is encapsulated according to the FC-AE-1553 protocol format to obtain the command data sequence corresponding to the data packet.

[0096] Specifically, encapsulating the valid data contained in the data packet according to the FC-AE-1553 protocol format to obtain a state data sequence corresponding to the data packet includes:

[0097] Slice the valid data contained in the data packet according to the first preset length, and determine the number of slices S' of the data packet and the valid data corresponding to each slice;

[0098] According to the number of fragments S' of the data packet, the valid data corresponding to each fragment is encapsulated according to the FC-AE-1553 protocol format to obtain the state data sequence corresponding to the data packet.

[0099] Specifically, when the protocol processing module receives the FC-AE-1553 frame forwarded by the FC-AE-1553 data exchange module, the protocol processing module is further configured to:

[0100] According to the source ID of the FC-AE-1553 frame, query the pre-stored routing mapping table to determine whether the source FC-AE-1553 node is an NC node or an NT node;

[0101] When the source FC-AE-1553 node is an NC node, the FC-AE-1553 frame is parsed to determine the frame type of the FC-AE-1553 frame; when the FC-AE-1553 frame is a sending command frame, a data packet to be sent corresponding to the sending command frame is determined, and all valid data contained in the data packet to be sent is saved in the second memory space;

[0102] Determine whether all valid data contained in the data packet to be sent has been saved in the second memory space; if so, encapsulate all valid data contained in the data packet to be sent according to the Ethernet protocol format, obtain one or more Ethernet data frames corresponding to the data packet to be sent, and send the one or more Ethernet data frames to the Ethernet interface conversion module corresponding to the destination node.

[0103] Specifically, the protocol processing module is also used for:

[0104] When the FC-AE-1553 frame is a sending command frame, when all valid data contained in the to-be-sent data packet corresponding to the sending command frame has been saved in the second memory space, determining whether to return a receiving status frame to the source FC-AE-1553 node according to the status suppression bit of the sending command frame;

[0105] When the FC-AE-1553 frame is a receive command frame, determining a data packet requested by the receive command frame; and sending the data packet requested by the receive command frame to a source FC-AE-1553 node;

[0106] When the FC-AE-1553 frame is a data frame to be sent, the valid data contained in the data frame to be sent is parsed and saved in the second memory space.

[0107] Specifically, the protocol processing module is also used for:

[0108] When the source FC-AE-1553 node is an NT node, the FC-AE-1553 frame is parsed to determine the frame type of the FC-AE-1553 frame;

[0109] When the FC-AE-1553 frame is a sending status frame, determining a data packet to be sent corresponding to the sending status frame, and saving all valid data contained in the data packet to be sent into the second memory space;

[0110] When the FC-AE-1553 frame is a data frame to be sent, the valid data contained in the data frame to be sent is parsed and saved in the second memory space.

[0111] The communication device of the hybrid network compatible with Ethernet and FC-AE-1553 provided by the embodiment of the present invention is described below through the data interaction process between different nodes.

[0112] 1: Ethernet node sends data to Ethernet node.

[0113] like Fig.10 As shown, the source node and the destination node are both Ethernet nodes, then the source Ethernet node sends the Ethernet data frame to be sent to the source Ethernet interface conversion module, the source Ethernet interface conversion module parses the Ethernet data frame to determine that the node type to which the destination node of the Ethernet data frame belongs is an Ethernet node, then the Ethernet interface conversion module directly sends the Ethernet data frame to the Ethernet data exchange module;

[0114] The Ethernet data exchange module forwards the Ethernet data frame to the destination Ethernet interface conversion module according to the destination MAC address of the Ethernet data frame, and the Ethernet interface conversion module finally transmits the Ethernet data frame to the destination Ethernet node.

[0115] 2: The Ethernet node sends data to the FC-AE-1553 node.

[0116] like Fig.11 As shown, the source node is an Ethernet node, and the destination node is an FC-AE-1553 node, then the source Ethernet node sends the Ethernet data frame to be sent to the source Ethernet interface conversion module;

[0117] The source Ethernet interface conversion module parses the Ethernet data frame to determine that the node type to which the destination node of the Ethernet data frame belongs is an FC-AE-1553 node, and sends the Ethernet data frame to the protocol processing module;

[0118] The protocol processing module is used to execute the methods involved in step 102, step 103 and step 104 of the Ethernet node data transmission method based on the hybrid network of Ethernet and FC-AE-1553 provided in the embodiment of the present invention, obtain the FC-AE-1553 frame to be sent to the destination FC-AE-1553 node, and finally send the FC-AE-1553 frame to the FC data exchange module;

[0119] The FC data exchange module forwards the FC-AE-1553 frame to the destination FC transceiver module according to the destination ID of the FC-AE-1553 frame, and the destination FC transceiver module transmits the FC-AE-1553 frame to the destination FC-AE-1553 node, which is an NT node or an NC node.

[0120] 3: FC-AE-1553 node sends data to FC-AE-1553 node.

[0121] like Fig.12 As shown, the source node and the destination node are both FC-AE-1553 nodes, then the source NT node / NC node sends the FC-AE-1553 frame to be sent to the FC transceiver module, and the FC transceiver module transmits the FC-AE-1553 frame to the FC data exchange module;

[0122] The FC data exchange module parses the FC-AE-1553 frame and determines that the node type to which the destination node belongs is an FC-AE-1553 node, and directly sends the FC-AE-1553 frame to the destination FC transceiver module. The destination FC transceiver module transmits the FC-AE-1553 frame to the destination NT node / NC node.

[0123] 4: The FC-AE-1553 node sends data to the Ethernet node.

[0124] like Fig.13 As shown, the source node is a FC-AE-1553 node, and the destination node is an Ethernet node. Then the source NT node / NC node sends the FC-AE-1553 frame to be sent to the FC transceiver module, and the FC transceiver module transmits the FC-AE-1553 frame to the FC data exchange module;

[0125] The FC data exchange module parses the FC-AE-1553 frame and determines that the node type to which the destination node belongs is an Ethernet node, and forwards the FC-AE-1553 frame to the protocol processing module;

[0126] The protocol processing module is used to execute steps 602, 603 and 604 in the FC-AE-1553 node data sending method based on a hybrid network provided in an embodiment of the present invention, obtain one or more Ethernet data frames that need to be sent to the destination Ethernet node, send the one or more Ethernet data frames to the destination Ethernet interface conversion module, and the destination Ethernet interface conversion module transmits the one or more Ethernet data frames to the destination Ethernet node.

[0127] Another specific embodiment of the present invention discloses a method for transmitting data of an Ethernet node in a hybrid network based on Ethernet and FC-AE-1553, which is used for the communication device compatible with the hybrid network of Ethernet and FC-AE-1553, such as Figure 1 As shown, the Ethernet node data sending method includes:

[0128] Step S101: receiving an Ethernet data frame sent by a source Ethernet node, and determining the node type to which a destination node of the Ethernet data frame belongs;

[0129] Step S102: If the node type to which the destination node belongs is an FC-AE-1553 node, the valid data contained in the Ethernet data frame is parsed and saved in the first memory space until all the valid data contained in the data packet is obtained; according to the MAC address of the destination node, a pre-stored routing mapping table is queried to determine whether the destination node is an NC node or an NT node;

[0130] Step S103: when the destination node is an NT node, encapsulate the valid data contained in the data packet according to the FC-AE-1553 protocol format, obtain the command data sequence corresponding to the data packet, and send the command data sequence to the destination node;

[0131] Step S104: when the destination node is an NC node, encapsulate the valid data contained in the data packet according to the FC-AE-1553 protocol format, obtain a state data sequence corresponding to the data packet, and send the state data sequence to the destination node.

[0132] Specifically, the terminal nodes in the Ethernet network are called Ethernet nodes. Each Ethernet node is an IP protocol and can only support the interconnection and intercommunication of the IP protocol; and each Ethernet node can actively send data.

[0133] Specifically, the nodes in FC-AE-1553 are called NT nodes or NC nodes. The NC node is the controller of the bus. Bus communications are initiated or controlled by the NC node. The NT node, as a communication node, accepts the control of the NC node to send or receive data. The two parties of information exchange are either connected to the bus as NC nodes or as NT nodes.

[0134] The hybrid network of the embodiment of the present invention refers to a hybrid network composed of Ethernet and FC-AE-1553. In the hybrid network, when any Ethernet node in the Ethernet sends data to other nodes in the hybrid network, a method for sending data of Ethernet nodes in a hybrid network based on Ethernet and FC-AE-1553 provided by the embodiment of the present invention is adopted, such as Figure 1 shown.

[0135] It is understandable that when an Ethernet node in a hybrid network sends data to other nodes, the data is sent in the form of data packets, each of which includes one or more Ethernet data frames, and the Ethernet node sends one Ethernet data frame each time.

[0136] Specifically, in step S101, the source Ethernet node sends an Ethernet data frame to the destination node, the destination node can be an Ethernet node in Ethernet or an FC-AE-1553 node in FC-AE-1553, the node type to which the destination node belongs is judged, and the node type to which the destination node of the Ethernet data frame belongs is determined. In the hybrid network provided by the embodiment of the present invention, the node types are Ethernet nodes and FC-AE-1553 nodes.

[0137] Preferably, the determining the node type to which the destination node of the Ethernet data frame belongs includes:

[0138] Parse the Ethernet data frame to obtain the Ethernet frame header, and obtain the MAC address of the destination node from the Ethernet frame header;

[0139] According to the MAC address of the destination node, the pre-stored routing mapping table is queried to obtain the node type to which the destination node belongs.

[0140] Specifically, Figure 2 As shown, the Ethernet data frame is parsed to obtain the frame header of the Ethernet data frame, and the destination MAC address is obtained from the Ethernet frame header, where the destination MAC address is the MAC address corresponding to the destination node.

[0141] According to the MAC address of the destination node, the pre-stored route mapping table is queried to obtain the node type to which the destination node belongs. The following table 1 is an example of the pre-stored route mapping table:

[0142] Table 1: Pre-stored route mapping table

[0143]

[0144] In Table 1, the node serial number indicates the serial number of each node in the hybrid network, which can reflect the number of nodes currently included in the hybrid network. The node type is an Ethernet node or an FC-AE-1553 node. The Mac address is the MAC address corresponding to each node in the hybrid network. The ID is the ID corresponding to each node in the hybrid network. The FC-AE-1553 node is further divided into NC nodes and NT nodes.

[0145] After determining the node type of the destination node, if the node type of the destination node is FC-AE-1553, follow Figure 1 The step S102 shown is executed.

[0146] Preferably, the Ethernet node data sending method further includes:

[0147] If the node type to which the destination node belongs is an Ethernet node, the Ethernet data frame is directly sent to the destination node.

[0148] Specifically, if the destination node is an Ethernet node, that is, the source node and the destination node are both Ethernet nodes, the Ethernet data frame can be directly sent to the destination node without further processing.

[0149] The Ethernet node data sending method based on the hybrid network of Ethernet and FC-AE-1553 provided by the embodiment of the present invention determines the node type to which the destination node of the Ethernet data frame belongs, and realizes the communication between Ethernet nodes and between Ethernet nodes and FC-AE-1553 nodes in different ways, which can not only quickly realize node communication of the same node type, but also realize node communication of different node types.

[0150] Specifically, if the node type to which the destination node belongs is an FC-AE-1553 node, in step 102, the valid data contained in the Ethernet data frame is parsed and saved in the first memory space, and the Ethernet data frame is stored in the first memory space according to the FC-AE-1553 node type. Figure 2 In the frame format shown, valid data is encapsulated in the data field of the Ethernet data frame, and the valid data is saved in the first memory space. It is worth noting that when the source Ethernet node sends a data packet to the destination node, it is necessary to parse all the data frames in the data packet one by one to obtain all the valid data contained in the data packet. Preferably, all the valid data contained in the same data packet can be saved to the corresponding position of the first memory space, and the valid data contained in one or more data packets can be stored in the first memory space at the same time. The parsing of the Ethernet data frame of each data packet can be performed synchronously or asynchronously, and the embodiment of the present invention is not specifically limited here.

[0151] Specifically, in step 102, it is also necessary to query the pre-stored routing mapping table according to the MAC address of the destination node to determine whether the destination node is an NC node or an NT node. As shown in Table 1, by querying the pre-stored routing mapping table, it is possible to determine whether the destination node is an NC node or an NT node.

[0152] After all valid data of the Ethernet data frame to be sent by any source Ethernet node in step 2 is stored in the first memory space, it needs to be sent to the destination node. According to the type of the destination node, different sending modes are used to send all valid data contained in the data packet to the destination node.

[0153] When the destination node is an NT node, follow Figure 1 Step 103 shown in FIG. 104 performs:

[0154] In step 103, the valid data contained in the data packet is encapsulated according to the FC-AE-1553 protocol format to obtain a command data sequence corresponding to the data packet, and the command data sequence is sent to the destination node.

[0155] Specifically, Figure 3 As shown, the valid data contained in the data packet is encapsulated according to the FC-AE-1553 protocol format.

[0156] Preferably, encapsulating the valid data contained in the data packet according to the FC-AE-1553 protocol format to obtain the command data sequence corresponding to the data packet includes:

[0157] Slice the valid data contained in the data packet according to the first preset length, and determine the number of slices S of the data packet and the valid data corresponding to each slice;

[0158] According to the number of fragments S of the data packet, the valid data corresponding to each fragment is encapsulated according to the FC-AE-1553 protocol format to obtain the command data sequence corresponding to the data packet.

[0159] Specifically, the first preset length is the byte length occupied by the valid data contained in the FC-AE-1553 frame, the valid data contained in the data packet is fragmented, and the number of fragments S of the data packet and the valid data corresponding to each fragment are determined.

[0160] like Figure 4 As shown, when the source Ethernet node sends data to the destination node NT node, the command data sequence includes one command frame and one or more data frames, and both the command frame and the data frame are encapsulated according to the FC-AE-1553 protocol format.

[0161] Preferably, encapsulating valid data corresponding to each fragment according to the FC-AE-1553 protocol format according to the number of fragments S of the data packet includes:

[0162] When S=1, encapsulate the valid data corresponding to the slice into a command frame according to the FC-AE-1553 protocol format; the command data sequence includes the command frame;

[0163] When S>1, the valid data corresponding to the first fragment is encapsulated into a command frame according to the FC-AE-1553 protocol format, and the valid data corresponding to the remaining fragments are encapsulated into (S-1) data frames; the command data sequence includes the one command frame and the (S-1) data frames.

[0164] Specifically, in a hybrid network, according to different FC-AE-1553 nodes, it is determined whether valid data can be encapsulated in a command frame, and different encapsulation methods are reasonably selected; when valid data can be encapsulated in a command frame in a command data sequence, the valid data corresponding to each fragment is encapsulated into a command frame or data frame in the FC-AE-1553 frame format according to the number of fragments S of the data packet.

[0165] When S=1, the command data sequence includes only one command frame; when S>1, the command data sequence includes one command frame and (S-1) data frames.

[0166] Preferably, encapsulating valid data corresponding to each fragment according to the FC-AE-1553 protocol format according to the number of fragments S of the data packet includes:

[0167] Encapsulate the valid data corresponding to each slice into S data frames according to the FC-AE-1553 protocol format;

[0168] A command frame is encapsulated according to the FC-AE-1553 protocol format; the command frame does not contain valid data; the command data sequence includes a command frame and S data frames.

[0169] Specifically, when valid data cannot be encapsulated in a command frame in a command data sequence, valid data corresponding to each fragment is encapsulated into a data frame in the FC-AE-1553 frame format according to the number of fragments S of the data packet. A command frame is encapsulated according to the FC-AE-1553 protocol format, and valid data is not encapsulated in the command frame. The command data sequence includes a command frame and S data frames.

[0170] The Ethernet node data transmission method based on the hybrid network of Ethernet and FC-AE-1553 provided in the embodiment of the present invention provides multiple ways to encapsulate the valid data corresponding to each fragment according to the number of fragments of the data packet, so that the Ethernet node data transmission is diversified, more suitable for different FC-AE-1553 nodes, and more practical.

[0171] Preferably, the sending of the command data sequence to the destination node comprises:

[0172] Determine whether all frames in the command data sequence have been sent; when the sending is completed, determine whether it is necessary to receive a status frame returned by the destination node according to the status inhibition bit included in a command frame;

[0173] When it is necessary to receive a status frame returned by the destination node, if no status frame returned by the destination node is received within a preset time, all frames in the command data sequence are resent to the destination node.

[0174] Specifically, Figure 4 As shown, after receiving the command data sequence sent by the source Ethernet node, the destination node NT node will determine whether it needs to receive the status frame returned by the destination node according to the status suppression bit included in a command frame. If the destination node NT node needs to return the status frame, it is also necessary to determine whether the status frame returned by the destination node NT node is received within the preset time; if the status frame returned by the destination node NT node is received within the preset time, it proves that the data frames sent by the source Ethernet node have all been sent to the destination node and no further processing is required; if the status frame returned by the destination node NT node is not received within the preset time, the command data sequence will be resent to the destination node NT node.

[0175] Specifically, when the destination node is an NC node, that is, when the source Ethernet node sends data to the destination node NC node, according to Figure 1 In step 104, execute:

[0176] The valid data contained in the data packet is encapsulated according to the FC-AE-1553 protocol format, a state data sequence corresponding to the data packet is obtained, and the state data sequence is sent to the destination node.

[0177] Specifically, Figure 5 As shown, when the destination node is an NC node, the valid data contained in the data packet is encapsulated into a state data sequence according to the format of the FC-AE-1553 frame and sent to the destination node NC node.

[0178] Preferably, encapsulating the valid data contained in the data packet according to the FC-AE-1553 protocol format to obtain a state data sequence corresponding to the data packet includes:

[0179] Slice the valid data contained in the data packet according to the first preset length, and determine the number of slices S' of the data packet and the valid data corresponding to each slice;

[0180] According to the number of fragments S' of the data packet, the valid data corresponding to each fragment is encapsulated according to the FC-AE-1553 protocol format to obtain the state data sequence corresponding to the data packet.

[0181] Specifically, encapsulating valid data corresponding to each fragment according to the FC-AE-1553 protocol format according to the number of fragments S' of the data packet includes:

[0182] When S'=1, the valid data corresponding to the slice is encapsulated into a status frame according to the FC-AE-1553 protocol format; the status data sequence includes the status frame;

[0183] When S'>1, the valid data corresponding to the first fragment is encapsulated into a status frame according to the FC-AE-1553 protocol format, and the valid data corresponding to the remaining fragments are encapsulated into (S'-1) data frames; the status data sequence includes the one status frame and the (S'-1) data frames.

[0184] Specifically, when the status frame contains valid data, the valid data corresponding to each fragment is encapsulated in the FC-AE-1553 protocol format according to the number of fragments S' of the data packet. If S'=1, the status data sequence includes one status frame; if S'>1, the status data sequence includes one status frame and (S'-1) data frames.

[0185] Preferably, when the source Ethernet node sends a data frame to the destination node NC node, the sending of the state data sequence to the destination node includes:

[0186] Determine whether a command frame requesting the data packet sent by the destination node is received;

[0187] When a command frame for requesting the data packet sent by the destination node is received, all frames in the state data sequence are sent to the destination node.

[0188] Specifically, Figure 5 As shown, if the source Ethernet node sends a data frame to the destination node NC, the source Ethernet node needs to receive the command frame sent by the destination node NC, and then send the status data sequence corresponding to the valid data contained in the data packet corresponding to the command frame to the destination node NC according to the command frame.

[0189] If the command frame corresponding to the data packet has not been received, the status data sequence corresponding to the data packet cannot be sent.

[0190] The Ethernet node data sending method based on the hybrid network of Ethernet and FC-AE-1553 provided in the embodiment of the present invention encapsulates the valid data contained in the data packet into a command data sequence or a status data sequence according to whether the destination node is an NT node or an NC node, and sends it to the destination node, thereby realizing node communication of different node types, avoiding adding additional equipment to the FC-AE-1553 node, occupying a small volume, low cost and simple network structure.

[0191] Compared with the prior art, the Ethernet node data transmission method based on the hybrid network of Ethernet and FC-AE-1553 provided in this embodiment determines the node type to which the destination node of the Ethernet data frame belongs, and implements the communication between Ethernet nodes and between Ethernet nodes and FC-AE-1553 nodes in different ways, which can not only quickly implement node communication of the same node type, but also implement node communication of different node types; at the same time, by encapsulating the valid data contained in the data packet into a command data sequence or a status data sequence according to whether the destination node is an NT node or an NC node, and sending it to the destination node, node communication of different node types is implemented, avoiding the addition of additional equipment to the FC-AE-1553 node, occupying a small volume, low cost and simple network structure; and, by providing multiple ways to encapsulate the valid data corresponding to each fragment according to the number of fragments of the data packet, the Ethernet node data transmission is diversified, more suitable for different FC-AE-1553 nodes, and more practical.

[0192] Another specific embodiment of the present invention discloses a hybrid network-based FC-AE-1553 node data transmission method, which is used for the communication device of the hybrid network compatible with Ethernet and FC-AE-1553, such as Figure 6 As shown, the FC-AE-1553 node data sending method includes:

[0193] Step 601: receiving a FC-AE-1553 frame sent by a source FC-AE-1553 node, and determining the node type to which the destination node of the FC-AE-1553 frame belongs;

[0194] Step 602: If the node type to which the destination node belongs is an Ethernet node, according to the source ID of the FC-AE-1553 frame, a pre-stored routing mapping table is queried to determine whether the source FC-AE-1553 node is an NC node or an NT node;

[0195] Step 603: when the source FC-AE-1553 node is an NC node, parse the FC-AE-1553 frame to determine the frame type of the FC-AE-1553 frame; when the FC-AE-1553 frame is a send command frame, determine the data packet to be sent corresponding to the send command frame, allocate a second memory space for the data packet to be sent, and save all valid data contained in the data packet to be sent to the second memory space;

[0196] Step 604: Determine whether all valid data contained in the data packet to be sent has been saved in the second memory space; if so, encapsulate all valid data contained in the data packet to be sent according to the Ethernet protocol format, obtain one or more Ethernet data frames corresponding to the data packet to be sent, and send the one or more Ethernet data frames to the destination node.

[0197] Specifically, when an FC-AE-1553 node in a hybrid network of Ethernet and FC-AE-1553 sends data to other nodes in the hybrid network, Figure 6 The process of the FC-AE-1553 node data sending method based on the hybrid network is shown.

[0198] In step 601, an FC-AE-1553 frame sent by a source FC-AE-1553 node is received, and a node type to which a destination node of the FC-AE-1553 frame belongs is determined. Specifically, the node type to which the destination node of the FC-AE-1553 frame belongs is determined, including:

[0199] Parse the FC-AE-1553 frame to obtain the FC-AE-1553 frame header, and obtain the destination node ID from the FC-AE-1553 frame header;

[0200] According to the ID of the destination node, the pre-stored routing mapping table is queried to obtain the node type to which the destination node belongs.

[0201] Specifically, Figure 3 As shown, the FC-AE-1553 frame is parsed to obtain the FC-AE-1553 frame header, the D_ID of the destination node, that is, the ID of the destination node, is obtained from the FC-AE-1553 frame header, and the pre-stored routing mapping table is queried to obtain the node type to which the destination node belongs, as shown in Table 1, to determine the node type to which the destination node belongs.

[0202] Preferably, the FC-AE-1553 node data sending method further includes:

[0203] If the node type of the destination node is an FC-AE-1553 node, the FC-AE-1553 frame is directly sent to the destination node.

[0204] Specifically, when the source FC-AE-1553 node sends data to the destination FC-AE-1553 node, the FC-AE-1553 frame sent by the source FC-AE-1553 node is directly sent to the destination FC-AE-1553 node.

[0205] The FC-AE-1553 node data sending method based on a hybrid network provided by an embodiment of the present invention realizes communication between FC-AE-1553 nodes and between FC-AE-1553 nodes and Ethernet nodes in different ways through the node type to which the destination node of the FC-AE-1553 frame belongs, which can not only quickly realize node communication of the same node type, but also realize node communication of different node types.

[0206] Specifically, if the node type to which the destination node belongs is an Ethernet node, such as Figure 6 In step 602 shown, when the source FC-AE-1553 node sends data to the destination Ethernet node, it is necessary to further determine whether the source FC-AE-1553 node is an NC node or an NT node, parse the FC-AE-1553 frame, obtain the S_ID, and then query the pre-stored routing mapping table Table 1 through the source node ID to determine whether the source FC-AE-1553 node is an NC node or an NT node.

[0207] When the source FC-AE-1553 node is an NC node and the destination node is an Ethernet node, such as Figure 6 In step 603, the FC-AE-1553 frame is parsed to determine the frame type of the FC-AE-1553 frame.

[0208] like Figure 6 As shown, it is worth noting that when the source NC node actively sends data to the other nodes in the hybrid network, the source NC node will actively send out command frames and data frames. At this time, the command frame sent out is used to send data, and the command frame is a sending command frame; Figure 5 As shown, when the NC node is a destination node for receiving data sent by other nodes in the hybrid network, the NC node will actively send a command frame. The command frame sent at this time is used to receive data, and the command frame is a receive command frame.

[0209] Specifically, in step 603, when the source NC node actively sends data to the destination Ethernet node, when the FC-AE-1553 frame is a sending command frame, the sending command frame is parsed to obtain the data packet to be sent required to be sent by the command frame, a second memory space is opened for the data packet to be sent, and all valid data contained in the data packet to be sent is saved in the second memory space.

[0210] It is worth noting that the second memory space can store data packets sent by one or more source FC-AE-1553 nodes at the same time, and the reception and storage of multiple data packets can be performed synchronously or asynchronously, which is not specifically limited here.

[0211] Specifically, in step 604, when the source NC node actively sends data to the destination node Ethernet node, it determines whether all valid data contained in the data packet to be sent has been saved in the second memory space. If all valid data contained in the data packet to be sent has been saved in the second memory space, all valid data contained in the data packet to be sent are encapsulated according to the Ethernet protocol format to obtain one or more Ethernet data frames corresponding to the data packet to be sent, and the one or more Ethernet data frames are sent to the destination node Ethernet node.

[0212] Preferably, encapsulating all valid data contained in the data packet to be sent according to the Ethernet protocol format to obtain one or more Ethernet data frames corresponding to the data packet to be sent includes:

[0213] Slice all valid data contained in the data packet to be sent according to a second preset length, and determine valid data corresponding to each slice;

[0214] The valid data corresponding to each fragment is encapsulated according to the Ethernet protocol format to obtain one or more Ethernet data frames corresponding to the data packet to be sent.

[0215] Specifically, the second preset length is the byte length occupied by the valid data contained in the data field in the Ethernet frame format, and all valid data contained in the data packet to be sent is fragmented according to the second preset length.

[0216] Specifically, in step 603, the FC-AE-1553 frame is parsed to determine the frame type of the FC-AE-1553 frame. Preferably, the FC-AE-1553 node data sending method further includes:

[0217] When the FC-AE-1553 frame is a sending command frame, when all valid data contained in the to-be-sent data packet corresponding to the sending command frame has been saved in the second memory space, it is determined whether to return a receiving status frame to the source FC-AE-1553 node according to the status suppression bit of the sending command frame.

[0218] Specifically, if the FC-AE-1553 frame is a sending command frame, the sending command frame is parsed to determine whether it is necessary to return a receiving status frame to the source FC-AE-1553 node; if the sending command frame requires the return of a receiving status frame, a status frame needs to be returned to the source FC-AE-1553 node to indicate that the data packet sent by the source FC-AE-1553 node has been received.

[0219] Specifically, in step 603, the FC-AE-1553 frame is parsed to determine the frame type of the FC-AE-1553 frame. Preferably, the FC-AE-1553 node data sending method further includes:

[0220] When the FC-AE-1553 frame is a receive command frame, determining a data packet requested by the receive command frame;

[0221] The data packet requested by the receive command frame is sent to the source FC-AE-1553 node.

[0222] Specifically, when the FC-AE-1553 frame is a command frame for receiving data, it means that the source FC-AE-1553 node NC node is receiving data packets sent by other nodes in the hybrid network at this time, and is not sending data to other nodes in the hybrid network; after receiving the receive command frame, the data packet requested by the receive command frame is sent to the source FC-AE-1553 node NC node.

[0223] Specifically, in step 603, the FC-AE-1553 frame is parsed to determine the frame type of the FC-AE-1553 frame. Preferably, the FC-AE-1553 node data sending method further includes:

[0224] When the FC-AE-1553 frame is a data frame to be sent, the valid data contained in the data frame to be sent is parsed and saved in the second memory space.

[0225] Specifically, when the FC-AE-1553 frame is a data frame to be sent, it means that the source FC-AE-1553 node NC node actively sends a data frame to the other nodes in the hybrid network, and the command frame corresponding to the sent data frame has been sent, such as Figure 7 shown.

[0226] It is worth noting that if Figure 8 As shown, the source FC-AE-1553 node NT node cannot actively send data, and can only send data to the corresponding other nodes in the hybrid network after receiving the command frame sent by the other nodes in the hybrid network; at this time, the FC-AE-1553 frame sent by the source FC-AE-1553 node NT node includes a status frame and a data frame. At this time, the status frame is a sending data frame, indicating that the source FC-AE-1553 node NT node sends data to the other nodes in the hybrid network, and the data frame at this time is a data frame to be sent, indicating the data sent by the source FC-AE-1553 node NT node to the other nodes in the hybrid network.

[0227] Specifically, in step 602, if the determined source FC-AE-1553 node is an NT node, then in step 603, preferably, the FC-AE-1553 node data sending method further includes:

[0228] When the source FC-AE-1553 node is an NT node, the FC-AE-1553 frame is parsed to determine the frame type of the FC-AE-1553 frame;

[0229] When the FC-AE-1553 frame is a sending status frame, a to-be-sent data packet corresponding to the sending status frame is determined, a second memory space is opened for the to-be-sent data packet, and all valid data contained in the to-be-sent data packet is saved in the second memory space.

[0230] Specifically, Figure 8 As shown, if the FC-AE-1553 frame is a sending status frame, a second memory space is opened for the sending status frame, and all valid data contained in subsequent data packets are saved in the second memory space. It is worth noting that when the source FC-AE-1553 node NT node sends data packets to the remaining nodes in the hybrid network, each data packet has an independent storage space in the second memory space, which can be executed simultaneously or asynchronously, and is not specifically limited here.

[0231] The embodiment of the present invention provides a hybrid network-based FC-AE-1553 node data sending method. When the source FC-AE-1553 node is an NC node, the source FC-AE-1553 node type is obtained by parsing the FC-AE-1553 frame sent by the source FC-AE-1553 node. According to the type of the FC-AE-1553 frame, the function to be implemented by the source FC-AE-1553 node is quickly determined. When the source FC-AE-1553 node sends data, storage space is allocated for the data to facilitate sending.

[0232] Specifically, in step 602, when the source FC-AE-1553 node is an NT node, in step 603, preferably, the FC-AE-1553 node data sending method further includes:

[0233] When the source FC-AE-1553 node is an NT node, the FC-AE-1553 frame is parsed to determine the frame type of the FC-AE-1553 frame;

[0234] When the FC-AE-1553 frame is a data frame to be sent, the valid data contained in the data frame to be sent is parsed and saved in the second memory space.

[0235] Specifically, when the source FC-AE-1553 node NT node sends data to the destination Ethernet node in the hybrid network, if the FC-AE-1553 frame is a data frame to be sent, it means that the command frame for receiving the data packet has been received and a second memory space has been opened for the data packet to be sent. At this time, it is only necessary to parse the valid data contained in the data frame to be sent and save it to the second memory space.

[0236] It is worth noting that the destination Ethernet node cannot actively send command frames. Preferably, when the source FC-AE-1553 node is an NT node, the FC-AE-1553 node data sending method further includes:

[0237] Periodically sending a query command frame to the source FC-AE-1553 node; the source FC-AE-1553 node queries whether there is a data packet to be sent to the Ethernet node according to the query command frame;

[0238] If there is a data packet to be sent in the source FC-AE-1553 node that needs to be sent to the Ethernet node, the source FC-AE-1553 node sends the data packet to be sent.

[0239] Specifically, the FC-AE-1553 node data sending method based on a hybrid network provided in an embodiment of the present invention periodically sends a query command frame to the source FC-AE-1553 node NT node to confirm whether the source FC-AE-1553 node NT node needs to send data to the Ethernet node.

[0240] Compared with the prior art, the communication device of the hybrid network compatible with Ethernet and FC-AE-1553 provided by the embodiment of the present invention adopts different modules to realize the communication between Ethernet nodes and the communication between Ethernet nodes and FC-AE-1553 nodes, so that not only the node communication of the same node type but also the node communication of different node types can be realized quickly; at the same time, the first memory space is used to store the valid data contained in the data packet sent by the Ethernet node to the FC-AE-1553 node, and the second memory space is used to store the valid data contained in the data packet sent by the FC-AE-1553 node to the Ethernet node, so that the communications are independent of each other, the processing speed and efficiency are improved, and the mutual interference is reduced.

[0241] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0242] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A communication device compatible with a hybrid network of Ethernet and FC-AE-1553, characterized in that: The communication equipment includes several Ethernet interface conversion modules, Ethernet data exchange modules, protocol processing modules, FC data exchange modules and several FC transceiver modules; Each Ethernet interface conversion module corresponds to an Ethernet node, and is used to receive Ethernet data frames sent by the Ethernet node, and forward the Ethernet data frames to the Ethernet data exchange module or the protocol processing module according to the destination node; Each FC transceiver module corresponds to an FC-AE-1553 node, and is used to receive FC-AE-1553 frames sent by the FC-AE-1553 node and forward them to the FC data exchange module; The FC data exchange module forwards the FC-AE-1553 frame to the FC transceiver module or protocol processing module corresponding to the destination node according to the destination node; The protocol processing module is used to realize the mutual conversion between Ethernet frames and FC-AE-1553 frames, and sends the converted Ethernet frames to the Ethernet interface conversion module corresponding to the destination node, and the Ethernet interface conversion module sends the converted Ethernet frames to the corresponding Ethernet node; at the same time, the converted FC-AE-1553 frames are sent to the FC data exchange module, and the FC data exchange module sends the FC-AE-1553 frames to the corresponding FC transceiver module according to the destination node, and the FC transceiver module sends the converted FC-AE-1553 frames to the corresponding FC-AE-1553 node.

2. The communication device according to claim 1, characterized in that: The communication device also includes a routing information management module; When any Ethernet node is connected to the Ethernet interface conversion module of the communication device for the first time or when the FC-AE-1553 node is connected to the FC transceiver module of the communication device for the first time, the routing information management module allocates FC_ID to the Ethernet interface conversion module or FC transceiver module, and obtains the MAC address and IP address of the Ethernet node or FC-AE-1553 node; The routing information management module stores the node type and the mapping relationship between the FC_ID, MAC address and IP address of each node in the routing mapping table.

3. The communication device according to claim 1, characterized in that: The Ethernet interface conversion module includes an Ethernet port, and the Ethernet data frame is transmitted between the Ethernet node and the Ethernet interface conversion module through the Ethernet port; The FC transceiver module includes a FC port, and the FC-AE-1553 frame is transmitted between the FC-AE-1553 node and the FC transceiver module through the FC port.

4. The communication device according to claim 2, characterized in that: The communication device also includes a first memory space and a second memory space; When the protocol processing module parses the Ethernet data frame forwarded by the Ethernet interface conversion module to obtain valid data contained in the data packet, it is saved in the first memory space for storage; When the protocol processing module parses the FC-AE-1553 frame forwarded by the FC-AE-1553 data exchange module to obtain valid data contained in the data packet, it is saved to the second memory space for storage.

5. The communication device according to claim 4, characterized in that: When the protocol processing module receives the Ethernet data frame forwarded by the Ethernet interface conversion module, the protocol processing module is further used to: Parsing the valid data contained in the Ethernet data frame and saving it in the first memory space until all the valid data contained in the data packet is obtained; querying the pre-stored routing mapping table to determine whether the destination node is an NC node or an NT node according to the MAC address of the destination node; When the destination node is an NT node, encapsulate the valid data contained in the data packet according to the FC-AE-1553 protocol format, obtain the command data sequence corresponding to the data packet, and send the command data sequence to the destination node; When the destination node is an NC node, the valid data contained in the data packet is encapsulated according to the FC-AE-1553 protocol format to obtain a state data sequence corresponding to the data packet, and the state data sequence is sent to the destination node.

6. The communication device according to claim 5, characterized in that: The method of encapsulating the valid data contained in the data packet according to the FC-AE-1553 protocol format to obtain the command data sequence corresponding to the data packet includes: Slice the valid data contained in the data packet according to the first preset length, and determine the number of slices S of the data packet and the valid data corresponding to each slice; According to the number of fragments S of the data packet, the valid data corresponding to each fragment is encapsulated according to the FC-AE-1553 protocol format to obtain the command data sequence corresponding to the data packet.

7. The communication device according to claim 5, characterized in that: The process of encapsulating the valid data contained in the data packet according to the FC-AE-1553 protocol format to obtain a state data sequence corresponding to the data packet includes: Slice the valid data contained in the data packet according to the first preset length, and determine the number of slices S' of the data packet and the valid data corresponding to each slice; According to the number of fragments S' of the data packet, the valid data corresponding to each fragment is encapsulated according to the FC-AE-1553 protocol format to obtain the state data sequence corresponding to the data packet.

8. The communication device according to claim 4, characterized in that: When the protocol processing module receives the FC-AE-1553 frame forwarded by the FC-AE-1553 data exchange module, the protocol processing module is further configured to: According to the source ID of the FC-AE-1553 frame, query the pre-stored routing mapping table to determine whether the source FC-AE-1553 node is an NC node or an NT node; When the source FC-AE-1553 node is an NC node, the FC-AE-1553 frame is parsed to determine the frame type of the FC-AE-1553 frame; when the FC-AE-1553 frame is a sending command frame, a data packet to be sent corresponding to the sending command frame is determined, and all valid data contained in the data packet to be sent is saved in the second memory space; Determine whether all valid data contained in the data packet to be sent has been saved in the second memory space; if so, encapsulate all valid data contained in the data packet to be sent according to the Ethernet protocol format, obtain one or more Ethernet data frames corresponding to the data packet to be sent, and send the one or more Ethernet data frames to the Ethernet interface conversion module corresponding to the destination node.

9. The communication device according to claim 8, characterized in that: The protocol processing module is also used to: When the FC-AE-1553 frame is a sending command frame, when all valid data contained in the to-be-sent data packet corresponding to the sending command frame has been saved in the second memory space, determining whether to return a receiving status frame to the source FC-AE-1553 node according to the status suppression bit of the sending command frame; When the FC-AE-1553 frame is a receive command frame, determining a data packet requested by the receive command frame; and sending the data packet requested by the receive command frame to a source FC-AE-1553 node; When the FC-AE-1553 frame is a data frame to be sent, the valid data contained in the data frame to be sent is parsed and saved in the second memory space.

10. The communication device according to claim 8, characterized in that: The protocol processing module is also used to: When the source FC-AE-1553 node is an NT node, the FC-AE-1553 frame is parsed to determine the frame type of the FC-AE-1553 frame; When the FC-AE-1553 frame is a sending status frame, determining a data packet to be sent corresponding to the sending status frame, and saving all valid data contained in the data packet to be sent into the second memory space; When the FC-AE-1553 frame is a data frame to be sent, the valid data contained in the data frame to be sent is parsed and saved in the second memory space.

Citation Information

Patent Citations

  • FC-EG gateway and communication conversion method between optical fiber channel and Ethernet

    CN106789609A

  • Multi-protocol fusion system and IP communication and FC-AE-1553 communication method between nodes

    CN106790104A

  • Time-triggered Ethernet switching device and method compatible with 1553B

    CN110417630A

  • Transmission switch, FC-AE device and Ethernet device communication method

    CN114143295A

  • FC and Ethernet hybrid switching device based on system on chip and method thereof

    CN115484127A

Cited By

  • Ethernet node data transmission method based on hybrid network of Ethernet and FC-AE-1553

    CN119583682A

  • Ethernet node data transmission method of hybrid network based on ethernet and fc-ae-1553

    CN119583682B

  • Data interface conversion implementation method and device

    CN120567942A