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

By determining the destination node type of Ethernet data frames in a hybrid network and encapsulating data packets according to the FC-AE-1553 protocol format, the complexity and high cost of FC-AE-1553 and Ethernet node communication networks are solved, enabling fast and low-cost node communication.

CN119583682BActive Publication Date: 2025-11-25BEIJING MECHANICAL EQUIP INST
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311152978.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-07
Publication Date
2025-11-25
Estimated Expiration
2043-09-07

AI Technical Summary

Technical Problem

In the existing technology, the FC-AE-1553 and Ethernet node communication network structure is complex, bulky and costly, and cannot be directly interconnected, requiring additional equipment to achieve data transmission.

Method used

By receiving Ethernet data frames, determining the destination node type, and encapsulating data packets according to the FC-AE-1553 protocol format, data transmission between the Ethernet node and the FC-AE-1553 node is realized, and different methods are used to handle communication between different node types.

Benefits of technology

It enables fast communication between Ethernet nodes and FC-AE-1553 nodes, avoiding the use of additional equipment, reducing network structure complexity and cost, and improving processing speed and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119583682B_ABST
    Figure CN119583682B_ABST
Patent Text Reader

Abstract

The application relates to an Ethernet node data sending method based on a hybrid network of Ethernet and FC-AE-1553, belongs to the technical field of FC-AE-1553 and Ethernet hybrid network communication, and solves the problems of complex FC-AE-1553 and Ethernet communication network structure, large volume and high cost in the prior art. The Ethernet node data sending method comprises the following steps: receiving an Ethernet data frame sent by a source Ethernet node, determining the node type to which a destination node of the Ethernet data frame belongs; if the node type to which the destination node belongs is an FC-AE-1553 node, analyzing the Ethernet data frame to obtain all valid data contained in a data packet and determining whether the destination node is an NC node or an NT node; encapsulating the valid data contained in the data packet according to an FC-AE-1553 protocol format to obtain a command data sequence or a state data sequence corresponding to the data packet, and sending the command data sequence or the state data sequence to the destination node. Data transmission from Ethernet to FC-AE-1553 is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of hybrid network communication technology of FC-AE-1553 and Ethernet, and in particular to a method for transmitting Ethernet node data in a hybrid network based on Ethernet and FC-AE-1553. Background Technology

[0002] Fiber Channel (FC) is a high-speed serial communication protocol developed by the International Committee on Information Technology Standards (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 mapped from the MIL-STD-1553B bus protocol to the Fiber Channel protocol. It is suitable for FC networks and features high reliability, high bandwidth, strong real-time performance, and strong compatibility. It is widely used for data transmission between communication devices in military electronic environments such as aerospace. Ethernet is a computer local area network (LAN) technology and is currently the most widely used LAN technology, characterized by its simplicity, low cost, and high speed.

[0003] In the traditional FC-AE-1553, each node can only function as one node within the FC-AE-1553. Network nodes are divided into NC (Network Controller) nodes and NT (Network Terminal) nodes. The NC node is the controller of the bus, initiating or controlling all bus communication. The NT node acts as a communication node, receiving and sending data under the control of the NC. Both parties in the information exchange must be connected to the bus as either NC or NT nodes. The FC-AE-1553 is a command-response bus, where the NC acts as the bus controller, controlling other nodes to receive or send data. In this configuration, the FC-AE-1553 cannot directly interoperate with Ethernet; additional equipment is required to achieve data transmission between nodes.

[0004] Therefore, there is an urgent need for a technical solution to enable data transmission by Ethernet nodes in hybrid networks. Summary of the Invention

[0005] Based on the above analysis, the present invention aims to provide a method for transmitting Ethernet node data in a hybrid network based on Ethernet and FC-AE-1553, in order 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] In a first aspect, embodiments of the present invention provide a method for transmitting Ethernet node data in a hybrid network based on Ethernet and FC-AE-1553, comprising:

[0007] Receive Ethernet data frames sent by the source Ethernet node and determine the node type of the destination node of the Ethernet data frame;

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

[0009] When the destination node is an NT node, the valid 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, and the command data sequence is sent to the destination node.

[0010] 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 the status data sequence corresponding to the data packet, and the status data sequence is sent to the destination node.

[0011] Based on a further improvement of the above method, the Ethernet node data transmission method further includes:

[0012] If the destination node is an Ethernet node, the Ethernet data frame is sent directly to the destination node.

[0013] Based on a further improvement of the above method, determining the node type to which the destination node of the Ethernet data frame belongs includes:

[0014] 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;

[0015] Based on the MAC address of the destination node, the node type of the destination node is obtained by querying the pre-stored routing mapping table.

[0016] Based on a further improvement to the above method, the step 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:

[0017] The data packet is fragmented into its effective data according to a first preset length, and the number of data packet fragments S and the effective data corresponding to each fragment are determined.

[0018] Based on the number S of data packet fragments, 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.

[0019] A further improvement to the above method, the step of encapsulating the valid data corresponding to each fragment according to the FC-AE-1553 protocol format based on the number S of data packet fragments, includes:

[0020] When S=1, the valid data corresponding to the fragment is encapsulated into a command frame according to the FC-AE-1553 protocol format; the command data sequence includes the command frame.

[0021] 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 is encapsulated into (S-1) data frames; the command data sequence includes the command frame and (S-1) data frames.

[0022] A further improvement to the above method, the step of encapsulating the valid data corresponding to each fragment according to the FC-AE-1553 protocol format based on the number S of data packet fragments, includes:

[0023] According to the FC-AE-1553 protocol format, the valid data corresponding to each fragment is encapsulated into S data frames;

[0024] 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 one command frame and S data frames.

[0025] Based on a further improvement to the above method, the step of sending the command data sequence to the destination node includes:

[0026] Determine whether all frames in the command data sequence have been sent; when the sending is complete, determine whether it is necessary to receive the status frame returned by the destination node based on the status suppression bit included in a command frame;

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

[0028] Based on a further improvement to the above method, the step of encapsulating the valid data contained in the data packet according to the FC-AE-1553 protocol format to obtain the corresponding state data sequence of the data packet includes:

[0029] The data packet is fragmented into its valid data according to a first preset length, and the number of data packet fragments S' and the valid data corresponding to each fragment are determined.

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

[0031] A further improvement to the above method, the step of encapsulating the valid data corresponding to each fragment according to the FC-AE-1553 protocol format based on the number of data packet fragments S', includes:

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

[0033] 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 is encapsulated into (S'-1) data frames; the status data sequence includes the one status frame and (S'-1) data frames.

[0034] Secondly, embodiments of the present invention provide a communication device based on a hybrid network of Ethernet and FC-AE-1553, the communication device being used to implement the above-mentioned Ethernet node data transmission method.

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

[0036] 1. By determining the node type of the destination node of the Ethernet data frame, different methods can be used to implement communication between Ethernet nodes and between Ethernet nodes and FC-AE-1553 nodes. This not only enables rapid communication between nodes of the same node type, but also enables communication between nodes of different node types.

[0037] 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, communication between nodes of different node types can be realized. This avoids adding additional equipment to the FC-AE-1553 node, resulting in a small footprint, low cost, and simple network structure.

[0038] 3. By providing multiple ways to encapsulate the valid data corresponding to each fragment according to the number of data packet fragments, the data transmission of Ethernet nodes becomes more diverse, more adaptable to different FC-AE-1553 nodes, and more practical.

[0039] 4. By determining the node type of the destination node in the FC-AE-1553 frame, different communication methods can be used between FC-AE-1553 nodes and between FC-AE-1553 nodes and Ethernet nodes. This not only enables rapid communication between nodes of the same node type but also between nodes of different node types.

[0040] 5. When the source FC-AE-1553 node is an NC node, the type of the source FC-AE-1553 node is obtained by parsing the FC-AE-1553 frame sent by the source FC-AE-1553 node. Based on 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 transmission.

[0041] 6. By using different modules to implement communication between Ethernet nodes and between Ethernet nodes and FC-AE-1553 nodes, it is possible to quickly achieve communication between nodes of the same node type and between nodes of different node types.

[0042] 7. The first memory space is used to store the valid data contained in the data packets 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 packets sent by the FC-AE-1553 node to the Ethernet node. This makes the communication independent of each other, improves the processing speed and efficiency, and reduces mutual interference.

[0043] In this invention, the above-described technical solutions can be combined with each other to achieve more preferred combinations. Other features and advantages of this invention will be set forth in the following description, and some advantages may become apparent from the description or be learned by practicing the invention. The objects and other advantages of this invention can be realized and obtained from what is particularly pointed out in the description and drawings. Attached Figure Description

[0044] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Throughout the drawings, the same reference numerals denote the same parts.

[0045] Figure 1 A flowchart illustrating the Ethernet node data transmission method in a hybrid network based on Ethernet and FC-AE-1553 provided in this embodiment of the invention;

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

[0047] Figure 3A schematic diagram of the FC-AE-1553 frame format structure;

[0048] Figure 4 This is a schematic diagram illustrating the process of a source Ethernet node sending data packets to a destination NT node according to an embodiment of the present invention.

[0049] Figure 5 This is a schematic diagram illustrating the process of a source Ethernet node sending data packets to a destination NC node according to an embodiment of the present invention.

[0050] Figure 6 A flowchart illustrating the FC-AE-1553 node data transmission method based on a hybrid network provided in an embodiment of the present invention;

[0051] Figure 7 This is a schematic diagram illustrating the process of a source NC node sending data packets to a destination Ethernet node, as provided in an embodiment of the present invention.

[0052] Figure 8 This is a schematic diagram illustrating the process of a source NT node sending data packets to a destination Ethernet node, as provided in an embodiment of the present invention.

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

[0054] Figure 10 This is a schematic diagram of the structure for an Ethernet node to send data to another Ethernet node, provided in an embodiment of the present invention.

[0055] Figure 11 This is a schematic diagram of the structure for an Ethernet node to send data to an FC-AE-1553 node according to an embodiment of the present invention;

[0056] Figure 12 This is a schematic diagram of the structure for an FC-AE-1553 node to send data to another FC-AE-1553 node, provided in an embodiment of the present invention.

[0057] Figure 13 This is a schematic diagram of the structure of an FC-AE-1553 node sending data to an Ethernet node, as provided in an embodiment of the present invention. Detailed Implementation

[0058] Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form 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 intended to limit the scope of the present invention.

[0059] A specific embodiment of the present invention discloses a method for transmitting Ethernet node data in a hybrid network based on Ethernet and FC-AE-1553, such as... Figure 1As shown, the Ethernet node data transmission method includes:

[0060] Step S101: Receive the Ethernet data frame sent by the source Ethernet node and determine the node type of the destination node of the Ethernet data frame;

[0061] Step S102: If the destination node belongs to the FC-AE-1553 node type, parse the valid data contained in the Ethernet data frame and save it to 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, query the pre-stored routing mapping table to determine whether the destination node is an NC node or an NT node.

[0062] 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 to obtain the command data sequence corresponding to the data packet, and send the command data sequence to the destination node;

[0063] 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 to obtain the status data sequence corresponding to the data packet, and send the status data sequence to the destination node.

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

[0065] Specifically, the nodes in FC-AE-1553 are called NT nodes or NC nodes. The NC node is the controller of the bus, and all bus communication is 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. Both parties in the information exchange either act as NC nodes or as NT nodes to access the bus.

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

[0067] It is understandable that when an Ethernet node in a hybrid network sends data to other nodes, it sends the data in the form of data packets. Each data packet includes one or more Ethernet data frames, and the Ethernet node sends one Ethernet data frame at a time.

[0068] 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 within an Ethernet network or an FC-AE-1553 node within an FC-AE-1553 network. The node type of the destination node is determined to identify the node type of the Ethernet data frame's destination node. In the hybrid network provided in this embodiment of the invention, the node types are Ethernet nodes and FC-AE-1553 nodes.

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

[0070] 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;

[0071] Based on the MAC address of the destination node, the node type of the destination node is obtained by querying the pre-stored routing mapping table.

[0072] Specifically, such as Figure 2 As shown, the Ethernet data frame is parsed to obtain the Ethernet data frame header, and the destination MAC address is obtained from the Ethernet frame header. The destination MAC address is the MAC address corresponding to the destination node.

[0073] Based on the MAC address of the destination node, the node type of the destination node is obtained by querying the pre-stored routing mapping table. Table 1 below shows an example of the pre-stored routing mapping table:

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

[0075]

[0076]

[0077] In Table 1, the node number represents the sequence number of each node in the hybrid network, which reflects the number of nodes currently included in the hybrid network. The node type is either an Ethernet node or an FC-AE-1553 node. The MAC address is the MAC address corresponding to each node in the hybrid network, and the ID is the ID corresponding to each node in the hybrid network. FC-AE-1553 nodes are further divided into NC nodes and NT nodes.

[0078] After determining the node type of the destination node, if the node type of the destination node is FC-AE-1553, then proceed according to... Figure 1 The step S102 shown is executed.

[0079] Preferably, the Ethernet node data transmission method further includes:

[0080] If the destination node is an Ethernet node, the Ethernet data frame is sent directly to the destination node.

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

[0082] The Ethernet node data transmission method based on a hybrid network of Ethernet and FC-AE-1553 provided in this embodiment of the invention determines the node type to which the destination node of the Ethernet data frame belongs, and implements communication between Ethernet nodes and between Ethernet nodes and FC-AE-1553 nodes in different ways. This not only enables rapid communication between nodes of the same node type, but also enables communication between nodes of different node types.

[0083] Specifically, if the destination node belongs to the FC-AE-1553 node type, in step 102, the valid data contained in the Ethernet data frame is parsed and saved to the first memory space, and the Ethernet data frame is processed according to... Figure 2 The frame format shown encapsulates valid data in the data field of the Ethernet data frame and stores this valid data in the first memory space. It is worth noting that when the source Ethernet node sends a data packet to the destination node, all data frames in that data packet need to be parsed sequentially to obtain all the valid data contained in the data packet. Preferably, all the valid data contained in the same data packet can be stored in the corresponding location in the first memory space. The first memory space can simultaneously store the valid data contained in one or more data packets. The parsing of the Ethernet data frames of each data packet can be performed synchronously or asynchronously; this embodiment of the invention does not impose specific limitations here.

[0084] Specifically, in step 102, it is also necessary to query the pre-stored routing mapping table based on 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. The destination node can be determined as an NC node or an NT node by querying the pre-stored routing mapping table.

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

[0086] When the destination node is an NT node, according to Figure 1 Step 103 shown is performed as follows:

[0087] In step 103, the valid 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, and the command data sequence is sent to the destination node.

[0088] Specifically, such as Figure 3 As shown, the data packets contain valid data according to the FC-AE-1553 protocol format.

[0089] Preferably, the step 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:

[0090] The data packet is fragmented into its effective data according to a first preset length, and the number of data packet fragments S and the effective data corresponding to each fragment are determined.

[0091] Based on the number S of data packet fragments, 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.

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

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

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

[0095] When S=1, the valid data corresponding to the fragment is encapsulated into a command frame according to the FC-AE-1553 protocol format; the command data sequence includes the command frame.

[0096] 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 is encapsulated into (S-1) data frames; the command data sequence includes the command frame and (S-1) data frames.

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

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

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

[0100] According to the FC-AE-1553 protocol format, the valid data corresponding to each fragment is encapsulated into S data frames;

[0101] 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 one command frame and S data frames.

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

[0103] The Ethernet node data transmission method based on a hybrid network of Ethernet and FC-AE-1553 provided in this embodiment of the invention provides multiple ways to encapsulate the valid data corresponding to each fragment according to the number of data packet fragments, making Ethernet node data transmission more diversified, more adaptable to different FC-AE-1553 nodes, and more practical.

[0104] Preferably, sending the command data sequence to the destination node includes:

[0105] Determine whether all frames in the command data sequence have been sent; when the sending is complete, determine whether it is necessary to receive the status frame returned by the destination node based on the status suppression bit included in a command frame;

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

[0107] Specifically, such as Figure 4 As shown, after receiving the command data sequence sent by the source Ethernet node, the destination NT node determines whether it needs to receive the status frame returned by the destination node based on the status suppression bit included in a command frame. If the destination NT node needs to return a status frame, it needs to determine whether it has received the status frame returned by the destination NT node within a preset time. If the status frame returned by the destination NT node is received within the preset time, it proves that all the data frames sent by the source Ethernet node have been sent to the destination node, and no further processing is required. If the status frame returned by the destination NT node is not received within the preset time, the command data sequence is resent to the destination NT node.

[0108] Specifically, when the destination node is an NC node, that is, when the source Ethernet node sends data to the destination NC node, according to... Figure 1 Execute in step 104:

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

[0110] Specifically, such as 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 FC-AE-1553 frame format and sent to the destination NC node.

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

[0112] The data packet is fragmented into its valid data according to a first preset length, and the number of data packet fragments S' and the valid data corresponding to each fragment are determined.

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

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

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

[0116] 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 is encapsulated into (S'-1) data frames; the status data sequence includes the one status frame and (S'-1) data frames.

[0117] Specifically, when a status frame contains valid data, the valid data corresponding to each fragment is encapsulated according to the FC-AE-1553 protocol format, based on the number of data packet fragments S'. 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.

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

[0119] Determine whether a command frame requesting the data packet from the destination node has been received;

[0120] When a command frame requesting the data packet is received from the destination node, all frames in the status data sequence are sent to the destination node.

[0121] Specifically, such as Figure 5 As shown, if the source Ethernet node sends a data frame to the destination NC node, the source Ethernet node needs to receive the command frame sent by the destination NC node 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 NC node according to the command frame.

[0122] If the command frame corresponding to the data packet is not received, the status data sequence corresponding to the data packet cannot be sent.

[0123] The Ethernet node data transmission method based on a hybrid network of Ethernet and FC-AE-1553 provided in this embodiment of the 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. This avoids adding additional equipment to the FC-AE-1553 node, and has a small footprint, low cost and simple network structure.

[0124] Compared with existing technologies, the Ethernet node data transmission method based on a hybrid network of Ethernet and FC-AE-1553 provided in this embodiment determines the node type of the destination node of the Ethernet data frame and implements communication between Ethernet nodes and between Ethernet nodes and FC-AE-1553 nodes in different ways. This not only enables rapid communication between nodes of the same node type but also between nodes of different node types. Furthermore, by encapsulating the valid data contained in the data packet into a command data sequence or a status data sequence based on whether the destination node is an NT node or an NC node, and sending it to the destination node, communication between nodes of different node types is achieved. This avoids adding additional equipment to the FC-AE-1553 node, resulting in a small footprint, low cost, and simple network structure. Moreover, by providing multiple encapsulation methods for the valid data corresponding to each fragment based on the number of data packet fragments, the Ethernet node data transmission becomes more diverse and adaptable to different FC-AE-1553 nodes, making it more practical.

[0125] Another specific embodiment of the present invention discloses a communication device based on a hybrid network of Ethernet and FC-AE-1553, the communication device being used to implement the above-mentioned Ethernet node data transmission method for a hybrid network based on Ethernet and FC-AE-1553.

[0126] Another specific embodiment of the present invention discloses a data transmission method for FC-AE-1553 nodes based on a hybrid network, such as... Figure 6 As shown, the FC-AE-1553 node data transmission method includes:

[0127] Step 601: Receive the FC-AE-1553 frame sent by the source FC-AE-1553 node, and determine the node type of the destination node of the FC-AE-1553 frame;

[0128] Step 602: If the destination node belongs to an Ethernet node, query the pre-stored routing mapping table based on the source ID of the FC-AE-1553 frame to determine whether the source FC-AE-1553 node is an NC node or an NT node.

[0129] 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 the valid data contained in the data packet to be sent to the second memory space;

[0130] Step 604: Determine whether all valid data contained in the data packet to be sent has been saved to the second memory space; if yes, encapsulate 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, and send one or more Ethernet data frames to the destination node.

[0131] Specifically, when an FC-AE-1553 node in a hybrid Ethernet and FC-AE-1553 network sends data to other nodes in the network, according to... Figure 6 The flowchart shows the data transmission method of the FC-AE-1553 node based on a hybrid network.

[0132] In step 601, the FC-AE-1553 frame sent by the source FC-AE-1553 node is received, and the node type of the destination node of the FC-AE-1553 frame is determined. Specifically, determining the node type of the destination node of the FC-AE-1553 frame includes:

[0133] 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;

[0134] Based on the destination node's ID, query the pre-stored routing mapping table to obtain the node type to which the destination node belongs.

[0135] Specifically, such as Figure 3 As shown, the FC-AE-1553 frame is parsed to obtain the FC-AE-1553 frame header. The destination node's D_ID, i.e., the ID of the destination node, is obtained from the FC-AE-1553 frame header. The node type to which the destination node belongs is obtained by querying the pre-stored routing mapping table, as shown in Table 1. The node type to which the destination node belongs is determined.

[0136] Preferably, the FC-AE-1553 node data transmission method further includes:

[0137] If the destination node belongs to the FC-AE-1553 node type, the FC-AE-1553 frame will be sent directly to the destination node.

[0138] 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.

[0139] The FC-AE-1553 node data transmission method based on a hybrid network provided in this invention implements communication between FC-AE-1553 nodes and between FC-AE-1553 nodes and Ethernet nodes in different ways by using the node type to which the destination node of the FC-AE-1553 frame belongs. This not only enables rapid communication between nodes of the same node type, but also enables communication between nodes of different node types.

[0140] Specifically, if the destination node belongs to an Ethernet node, such as Figure 6 In step 602, 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.

[0141] 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 shown, the FC-AE-1553 frame is parsed to determine the frame type of the FC-AE-1553 frame.

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

[0143] Specifically, in step 603, when the source NC node actively sends data to the destination Ethernet node, if the FC-AE-1553 frame is a send command frame, the send command frame is parsed to obtain the data packet to be sent that the command frame requires to be sent, a second memory space is allocated for the data packet to be sent, and all valid data contained in the data packet to be sent is saved to the second memory space.

[0144] 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. The reception and storage of multiple data packets can be performed synchronously or asynchronously, without any specific limitations.

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

[0146] Preferably, the step of 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:

[0147] The data packet to be sent is divided into fragments according to the second preset length, and the valid data corresponding to each fragment is determined.

[0148] 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.

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

[0150] 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 transmission method further includes:

[0151] When the FC-AE-1553 frame is a transmit command frame, after all the valid data contained in the data packet to be transmitted corresponding to the transmit command frame has been saved to the second memory space, it is determined whether to return a receive status frame to the source FC-AE-1553 node based on the status suppression bit of the transmit command frame.

[0152] Specifically, if the FC-AE-1553 frame is a transmit command frame, the transmit command frame is parsed to determine whether a receive status frame needs to be returned to the source FC-AE-1553 node; if the transmit command frame requires a receive status frame to be returned, 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.

[0153] 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 transmission method further includes:

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

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

[0156] Specifically, when the FC-AE-1553 frame is a command frame for receiving data, it indicates that the source FC-AE-1553 node (NC node) is receiving data packets sent by other nodes in the hybrid network, not sending data to other nodes in the hybrid network. Upon receiving the receive command frame, it sends the data packets requested by the receive command frame to the source FC-AE-1553 node (NC node).

[0157] 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 transmission method further includes:

[0158] 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 to the second memory space.

[0159] Specifically, when the FC-AE-1553 frame is a data frame to be sent, it indicates that the source FC-AE-1553 node (NC node) is actively sending data frames to other nodes in the hybrid network, and the command frame corresponding to this data frame has already been sent, such as... Figure 7 As shown.

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

[0161] 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 transmission method further includes:

[0162] 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;

[0163] When the FC-AE-1553 frame is a transmission status frame, the data packet to be transmitted corresponding to the transmission status frame is determined, a second memory space is allocated for the data packet to be transmitted, and all valid data contained in the data packet to be transmitted is saved to the second memory space.

[0164] Specifically, such as Figure 8 As shown, if the FC-AE-1553 frame is a transmission status frame, a second memory space is allocated for this frame, and all valid data contained in subsequent data packets is saved to this second memory space. It is worth noting that when the source FC-AE-1553 node (NT node) sends data packets to other nodes in the hybrid network, each data packet has independent storage space in the second memory space, and can be executed simultaneously or asynchronously; no specific limitations are imposed here.

[0165] The FC-AE-1553 node data transmission method based on a hybrid network provided in this embodiment of the invention, when the source FC-AE-1553 node is an NC node, obtains the source FC-AE-1553 node type by parsing the FC-AE-1553 frames sent by the source FC-AE-1553 node, quickly determines the function to be implemented by the source FC-AE-1553 node according to the type of the FC-AE-1553 frame, and allocates storage space for the data when the source FC-AE-1553 node sends data to facilitate transmission.

[0166] 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 transmission method further includes:

[0167] 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;

[0168] 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 to the second memory space.

[0169] 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 allocated 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.

[0170] 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 transmission method further includes:

[0171] Periodically send query command frames to the source FC-AE-1553 node; the source FC-AE-1553 node checks whether there are any data packets to be sent to the Ethernet node based on the query command frame;

[0172] If the source FC-AE-1553 node contains a data packet that needs to be sent to an Ethernet node, then the source FC-AE-1553 node will send that data packet.

[0173] Specifically, the FC-AE-1553 node data transmission method based on a hybrid network provided in this embodiment of the invention periodically sends query command frames 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.

[0174] Compared with existing technologies, the FC-AE-1553 node data transmission method based on a hybrid network provided in this invention implements communication between FC-AE-1553 nodes and between FC-AE-1553 nodes and Ethernet nodes in different ways by determining the node type of the destination node of the FC-AE-1553 frame. This not only enables rapid communication between nodes of the same node type but also between nodes of different node types. Furthermore, 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. Based on the type of the FC-AE-1553 frame, the function to be performed by the source FC-AE-1553 node is quickly determined. Additionally, when the source FC-AE-1553 node sends data, storage space is allocated for the data to facilitate transmission.

[0175] Another specific embodiment of the present invention discloses a communication device compatible with hybrid networks of Ethernet and FC-AE-1553, such as... Figure 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;

[0176] Each Ethernet interface conversion module corresponds to an Ethernet node, which 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.

[0177] Each FC transceiver module corresponds to one FC-AE-1553 node, which 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.

[0178] The protocol processing module is used to convert between Ethernet frames and FC-AE-1553 frames. It 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, it sends the converted FC-AE-1553 frames to the FC data exchange module. The FC data exchange module sends the FC-AE-1553 frames to the corresponding FC transceiver module according to the destination node. The FC transceiver module sends the converted FC-AE-1553 frames to the corresponding FC-AE-1553 node.

[0179] Specifically, such as Figure 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, where the (n+p) FC transceiver modules correspond to n NC nodes and p NT nodes, and m, n, and p are all positive integers.

[0180] like Figure 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.

[0181] Specifically, when the Ethernet interface conversion module receives an Ethernet data frame sent by an Ethernet node, it can be understood that the Ethernet node is sending data frames to other nodes in the hybrid network. 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.

[0182] If the destination node is an FC-AE-1553 node, the Ethernet interface conversion module forwards the Ethernet data frame to the protocol processing module; if the destination node is an Ethernet node, the Ethernet data frame is sent directly to the Ethernet data exchange module, which 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 destination Ethernet node.

[0183] Specifically, when the Ethernet interface conversion module receives an 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 Ethernet node.

[0184] Preferably, the Ethernet interface conversion module includes an Ethernet port, through which Ethernet data frames are transmitted between the Ethernet node and the Ethernet interface conversion module.

[0185] Specifically, an Ethernet port may include an RJ45 connector and an Ethernet PHY chip, enabling the transmission of Ethernet data frames between Ethernet nodes and communication devices. It is understood that an RJ45 is a type of information outlet connector in a cabling system, consisting of a plug and a socket.

[0186] The communication device for a hybrid network compatible with Ethernet and FC-AE-1553 provided in this embodiment of the invention uses different modules to implement communication between Ethernet nodes and communication between Ethernet nodes and FC-AE-1553 nodes, which enables not only rapid communication between nodes of the same node type, but also communication between nodes of different node types.

[0187] like Figure 9 As shown, each FC transceiver module corresponds to an FC-AE-1553 node, which 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 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.

[0188] Preferably, the FC transceiver module includes an FC port, through which FC-AE-1553 frames are transmitted between the FC-AE-1553 node and the FC transceiver module.

[0189] Specifically, the FC port can include an SFP, enabling the transmission of FC-AE-1553 frames between the FC-AE-1553 node and the communication device. It can be understood that SFP (Small Form Pluggable) is an upgraded version of GBIC (Gigabit Interface Converter), an interface device that converts gigabit electrical signals into optical signals and can be hot-swapped.

[0190] Specifically, the protocol processing module is used to convert between Ethernet frames and FC-AE-1553 frames. It 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, it sends the converted FC-AE-1553 frames to the FC data exchange module. The FC data exchange module sends the FC-AE-1553 frames to the corresponding FC transceiver module according to the destination node. The FC transceiver module sends the converted FC-AE-1553 frames to the corresponding FC-AE-1553 node.

[0191] Specifically, the protocol processing module sends the converted 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 corresponding to the destination node according to the destination ID of the FC-AE-1553 frame. The FC transceiver module then transmits the FC-AE-1553 frame to the corresponding FC-AE-1553 node.

[0192] Preferably, the communication device further includes a routing information management module;

[0193] When any Ethernet node first connects to the Ethernet interface conversion module of the communication device or the FC-AE-1553 node first connects to the FC transceiver module of the communication device, the routing information management module assigns an FCID to the Ethernet interface conversion module or the FC transceiver module and obtains the MAC address and IP address of the Ethernet node or the FC-AE-1553 node.

[0194] The routing information management module stores the node type, as well as the mapping relationship between each node's FC_ID, MAC address, and IP address in the routing mapping table.

[0195] 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 will also delete the routing mapping table information corresponding to that node.

[0196] Preferably, the communication device further includes a first memory space and a second memory space;

[0197] When the protocol processing module parses the Ethernet data frame forwarded by the Ethernet interface conversion module and obtains the valid data contained in the data packet, it saves it to the first memory space for storage.

[0198] When the protocol processing module parses the FC-AE-1553 frame forwarded by the FC-AE-1553 data exchange module and obtains the valid data contained in the data packet, it saves it to the second memory space for storage.

[0199] Specifically, the first memory space is used to store the valid data contained in the data packets 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 packets sent by the FC-AE-1553 node to the Ethernet node. This makes the communication independent of each other, improves the processing speed and efficiency, and reduces mutual interference.

[0200] Specifically, when the protocol processing module receives an Ethernet data frame forwarded by the Ethernet interface conversion module, the protocol processing module also performs the following:

[0201] The valid data contained in the Ethernet data frame is parsed and saved to the first memory space until all the valid data contained in the data packet is obtained; based on the MAC address of the destination node, the pre-stored routing mapping table is consulted to determine whether the destination node is an NC node or an NT node.

[0202] When the destination node is an NT node, the valid 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, and the command data sequence is sent to the destination node.

[0203] 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 the status data sequence corresponding to the data packet, and the status data sequence is sent to the destination node.

[0204] Specifically, the step 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:

[0205] The data packet is fragmented into its effective data according to a first preset length, and the number of data packet fragments S and the effective data corresponding to each fragment are determined.

[0206] Based on the number S of data packet fragments, 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.

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

[0208] The data packet is fragmented into its valid data according to a first preset length, and the number of data packet fragments S' and the valid data corresponding to each fragment are determined.

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

[0210] Specifically, when the protocol processing module receives an FC-AE-1553 frame forwarded by the FC-AE-1553 data exchange module, the protocol processing module also performs the following:

[0211] Based on 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.

[0212] 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 send command frame, the data packet to be sent corresponding to the send command frame is determined, and all valid data contained in the data packet to be sent is saved to the second memory space.

[0213] Determine whether all valid data contained in the data packet to be sent has been saved to the second memory space; if so, encapsulate 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, and send one or more Ethernet data frames to the Ethernet interface conversion module corresponding to the destination node.

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

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

[0216] When the FC-AE-1553 frame is a receive command frame, determine the data packet requested by the receive command frame; and send the data packet requested by the receive command frame to the source FC-AE-1553 node.

[0217] 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 to the second memory space.

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

[0219] 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;

[0220] When the FC-AE-1553 frame is a transmission status frame, determine the data packet to be transmitted corresponding to the transmission status frame, and save all the valid data contained in the data packet to be transmitted to the second memory space.

[0221] 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 to the second memory space.

[0222] The following describes the communication device of the hybrid network compatible with Ethernet and FC-AE-1553 provided by the embodiments of the present invention through the data interaction process between different nodes.

[0223] 1: Ethernet nodes send data to each other.

[0224] like Figure 10 As shown, if both the source node and the destination node are Ethernet nodes, the source Ethernet node will send the Ethernet data frame to be sent to the source Ethernet interface conversion module. The source Ethernet interface conversion module will parse the Ethernet data frame and determine that the destination node of the Ethernet data frame belongs to the Ethernet node type. Then, the Ethernet interface conversion module will directly send the Ethernet data frame to the Ethernet data switching module.

[0225] The Ethernet data switching module forwards the Ethernet data frame to the destination Ethernet interface conversion module based on the destination MAC address of the Ethernet data frame. The Ethernet interface conversion module then transmits the Ethernet data frame to the destination Ethernet node.

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

[0227] like Figure 11 As shown, the source node is an Ethernet node and the destination node is an FC-AE-1553 node. The source Ethernet node will send the Ethernet data frames to be sent to the source Ethernet interface conversion module.

[0228] The source Ethernet interface conversion module parses the Ethernet data frame and determines that the destination node of the Ethernet data frame belongs to the FC-AE-1553 node, and then sends the Ethernet data frame to the protocol processing module.

[0229] The protocol processing module is used to execute the methods involved in steps 102, 103 and 104 of the Ethernet node data transmission method based on the hybrid network of Ethernet and FC-AE-1553 provided in the embodiments of the present invention, to 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.

[0230] The FC data exchange module forwards the FC-AE-1553 frame to the destination FC transceiver module based on the destination ID of the FC-AE-1553 frame. The destination FC transceiver module then transmits the FC-AE-1553 frame to the destination FC-AE-1553 node, which can be either an NT node or an NC node.

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

[0232] like Figure 12 As shown, if both the source node and the destination node are FC-AE-1553 nodes, then the source NT node / NC node will send the FC-AE-1553 frame to be sent to the FC transceiver module, and the FC transceiver module will transmit the FC-AE-1553 frame to the FC data exchange module.

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

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

[0235] like Figure 13 As shown, if the source node is an FC-AE-1553 node and the destination node is an Ethernet node, then the source NT node / NC node will send the FC-AE-1553 frame to be sent to the FC transceiver module, and the FC transceiver module will transmit the FC-AE-1553 frame to the FC data exchange module.

[0236] The FC data exchange module parses the FC-AE-1553 frame and determines that the destination node belongs to the Ethernet node type, and forwards the FC-AE-1553 frame to the protocol processing module.

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

[0238] Compared with the prior art, the communication device for a hybrid network compatible with Ethernet and FC-AE-1553 provided in this embodiment of the invention implements communication between Ethernet nodes and communication between Ethernet nodes and FC-AE-1553 nodes using different modules. This enables not only rapid communication between nodes of the same node type, but also communication between nodes of different node types. At the same time, by using a first memory space to store the valid data contained in the data packets sent by the Ethernet node to the FC-AE-1553 node, and a second memory space to store the valid data contained in the data packets sent by the FC-AE-1553 node to the Ethernet node, the communication is made independent of each other, improving processing speed and efficiency and reducing mutual interference.

[0239] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware, and the program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a disk, optical disk, read-only memory, or random access memory, etc.

[0240] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for transmitting Ethernet node data in a hybrid network based on Ethernet and FC-AE-1553, characterized in that, The Ethernet node data transmission method includes: Receive Ethernet data frames sent by the source Ethernet node and determine the node type of the destination node of the Ethernet data frame; If the destination node belongs to the FC-AE-1553 node type, the valid data contained in the Ethernet data frame is parsed and saved to the first memory space until all the valid data contained in the data packet is obtained; based on the MAC address of the destination node, the pre-stored routing mapping table is queried to determine whether the destination node is an NC node or an NT node. When the destination node is an NT node, the valid 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, and the command data sequence is sent 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 the status data sequence corresponding to the data packet, and the status data sequence is sent to the destination node. Determining the node type to which the destination node of the Ethernet data frame belongs includes: 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; Based on the MAC address of the destination node, the node type of the destination node is obtained by querying the pre-stored routing mapping table; The process of encapsulating the data packet according to the FC-AE-1553 protocol format to obtain the corresponding command data sequence includes: The data packet is fragmented into its effective data according to a first preset length, and the number of data packet fragments S and the effective data corresponding to each fragment are determined. Based on the number S of data packet fragments, 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; The process of encapsulating the data packet according to the FC-AE-1553 protocol format to obtain the corresponding state data sequence includes: The data packet is fragmented into its valid data according to a first preset length, and the number of data packet fragments S' and the valid data corresponding to each fragment are determined. Based on the number of data packet fragments S', the valid data corresponding to each fragment is encapsulated according to the FC-AE-1553 protocol format to obtain the status data sequence corresponding to the data packet.

2. The Ethernet node data transmission method according to claim 1, characterized in that, The Ethernet node data transmission method further includes: If the destination node is an Ethernet node, the Ethernet data frame is sent directly to the destination node.

3. The Ethernet node data transmission method according to claim 1, characterized in that, The step of encapsulating the valid data corresponding to each fragment according to the FC-AE-1553 protocol format based on the number S of data packet fragments includes: When S=1, the valid data corresponding to the fragment is encapsulated into a command frame according to the FC-AE-1553 protocol format; the command data sequence includes this command frame. 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 is encapsulated into (S-1) data frames; the command data sequence includes the command frame and (S-1) data frames.

4. The Ethernet node data transmission method according to claim 1, characterized in that, The step of encapsulating the valid data corresponding to each fragment according to the FC-AE-1553 protocol format based on the number S of data packet fragments includes: According to the FC-AE-1553 protocol format, the valid data corresponding to each fragment is encapsulated into S data frames; 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 one command frame and S data frames.

5. The Ethernet node data transmission method according to claim 3 or 4, characterized in that, Sending the command data sequence to the destination node includes: Determine whether all frames in the command data sequence have been sent; when the sending is complete, determine whether it is necessary to receive the status frame returned by the destination node based on the status suppression bit included in a command frame; When it is necessary to receive a status frame returned by the destination node, if no status frame is received from the destination node within a preset time, all frames in the command data sequence will be resent to the destination node.

6. The Ethernet node data transmission method according to claim 1, characterized in that, The step of encapsulating the valid data corresponding to each fragment according to the FC-AE-1553 protocol format based on the number of data packet fragments S' includes: When S'=1, the valid data corresponding to the fragment is encapsulated into a status frame according to the FC-AE-1553 protocol format; the status data sequence includes this status frame. 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 is encapsulated into (S'-1) data frames; the status data sequence includes the one status frame and (S'-1) data frames.

7. A communication device based on a hybrid network of Ethernet and FC-AE-1553, characterized in that, The communication device is used to implement the Ethernet node data transmission method according to any one of claims 1-6.

Citation Information

Patent Citations

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

    CN119583668A