Software definition data processing method based on FC protocol

By designing a software-defined data processing method that supports FC protocol, the problem of FC protocol data processing in the onboard network environment is solved, and the efficient transmission quality of the FC network is improved.

CN119892766APending Publication Date: 2025-04-25XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411956984.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-29
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The prior art is difficult to effectively support the data processing of the Fibre Channel (FC) protocol in an airborne network environment, resulting in difficulty in improving the transmission quality of the FC network.

Method used

Design a software-defined data processing method based on the FC protocol, and realizes matching and processing of FC-2 and ASM frame format messages by designing a table entry structure that supports the FC protocol, including header domain, priority, counter and operations.

Benefits of technology

Without changing the physical structure of the switch, software-defined data processing functions are added to FC network equipment, network transmission quality is improved, and FC-2 and ASM frame format packets can be processed and forwarded.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892766A_ABST
    Figure CN119892766A_ABST
Patent Text Reader

Abstract

The invention provides a software-defined data processing method based on an FC protocol, and belongs to the technical field of airborne network communication, and the method specifically comprises the following steps: designing an entry structure, the entry structure comprises a header field, a priority, a counter and an operation, the header field of an entry matches a received message, the priority is used for determining the priority of a matching order, and the counter is used for counting the received message; the counter is used for tracking the data packet, and the operation is used for describing the processing mode of the data packet; designing a data processing flow based on the table item structure: after a message enters a switch, matching messages in FC-2 and ASM frame formats by a header field of a table item according to field information; designing an operation part in the table item structure, and realizing the processing and forwarding capability of messages in FC-2 and ASM frame formats; obtaining a complete table item; and executing software-defined data processing by using the complete table item. According to the FC switch, the data forwarding path can be dynamically controlled, and the load balance and the transmission quality of an FC network are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of airborne network communications, and in particular to a software-defined data processing method based on the FC protocol. Background Art

[0002] With the development of airborne networks, the requirements for network transmission quality are getting higher and higher. In order to meet the high-quality transmission requirements of the network and avoid congestion, the design of traditional switches has become more and more complex, and the room for performance improvement has become smaller. The message forwarding process of traditional switches is completely controlled by the switching device, while the message forwarding process of most existing commercial switches is jointly controlled by the switch and the controller. The controller can control the behavior of the message in the network by issuing table entries through the pre-defined interface, which can achieve the purpose of controlling message forwarding. However, the existing table entry structure only supports Ethernet data. There are a large number of FC network devices in the airborne network environment. In order to use the table entry structure for data processing in the FC network and improve the transmission quality of the FC network, it is very necessary to design a table entry structure that supports the FC protocol. Summary of the invention

[0003] In view of this, the present application provides a software-defined data processing method based on the FC protocol, which solves the problems in the prior art. Without changing the physical structure of the switch, the software-defined data processing function is added to the FC network device to improve the transmission quality of the network.

[0004] The present application provides a software-defined data processing method based on the FC protocol using the following technical solution:

[0005] A software-defined data processing method based on FC protocol includes the following steps:

[0006] Design a table entry structure, which includes a header field, a priority, a counter, and an operation. The header field of the table entry matches the received message, the priority is used to determine the priority of the matching order, the counter is used to track the data packet, and the operation is used to describe the processing method of the data packet;

[0007] Design a data processing flow based on the table entry structure: after the message enters the switch, the header field of the table entry matches the message in FC-2 and ASM frame formats according to the field information;

[0008] Designing the operation part of the table entry structure to realize the processing and forwarding capability of messages in FC-2 and ASM frame formats;

[0009] Get the complete list;

[0010] Perform software-defined data processing using complete table entries.

[0011] Optionally, the matching characteristics of the header field of the entry conform to the content of the FC-2 frame and ASM frame formats.

[0012] Optionally, the class-specific control CS_CTL in the header field content of the table entry based on the FC-2 frame format is located in word 1, bits 31-24, which is a function selection field. The function of the class-specific control CS_CTL is determined by the 17th bit CS_CTL / Priority enable bit of the frame control F_CTL field. When the enable bit is 0, the function selection field is used as a class-specific control function; when it is set to 1, the function selection field is used as a priority function. The priority is used to resolve resource contention or determine the frame transmission order.

[0013] Optionally, the sequence counter SEQ_CNT in the header field of the table entry based on the FC-2 frame format is two bytes, located at word 3, bits 15-0, indicating the order of transmission of a single sequence or continuous multiple sequences of data frames within the same exchange.

[0014] Optionally, the header field content of the table entry based on the ASM frame format is the first 16 bytes of the data payload field of the FC frame, that is, the FC-AE-ASM frame header field.

[0015] Optionally, the matching step in the data processing flow based on the table entry structure is:

[0016] After receiving the message, the switch parses the packet header and divides the message into FC-2 frame and ASM frame;

[0017] Start searching and matching the frame header information of the message with the header field of the first table entry of the corresponding frame format. The matching fields include the header fields of the FC-2 frame and the ASM frame.

[0018] Match the packet header of the message with the header field of the table entry to determine whether it matches table entry 0;

[0019] After successfully matching table entry 0, the action of the instruction set in table entry 0 begins to be executed and the counter is updated;

[0020] If the match fails, continue to match the remaining table entries. If there is a matching table entry n, execute the action in the instruction set of table entry n. If it does not match any table entry, discard the data packet.

[0021] In summary, this application includes the following beneficial technical effects:

[0022] This method realizes that the Fibre Channel network switch can support the software-defined data processing function by designing a software-defined data processing method based on the FC protocol.

[0023] This method realizes the matching capability of FC-2 frame and ASM frame based on software defined table entry structure by designing a new table entry structure based on FC protocol.

[0024] The method realizes the processing and forwarding capability of messages in FC-2 frame and ASM frame formats by designing a data processing flow based on a new table entry. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1 It is a schematic diagram of the components of the table entries matching the FC-2 frame format of the present application.

[0027] Figure 2 This is a schematic diagram of the table entry components for matching the ASM frame format in this application.

[0028] Figure 3 It is a schematic diagram of the data processing flow of this application based on the new table item. DETAILED DESCRIPTION

[0029] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0030] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.

[0031] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present application, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.

[0032] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. The illustrations only show the components related to the present application rather than being drawn according to the number, shape and size of the components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.

[0033] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects described may be practiced without these specific details.

[0034] The embodiment of the present application provides a software-defined data processing method based on the FC protocol.

[0035] like Figures 1 to 3 As shown, a software-defined data processing method based on the FC protocol includes the following steps:

[0036] A table entry structure is designed, which includes a header field, priority, counter and operation. The header field of the table entry matches the received message, the priority is used to determine the priority of the matching order, the counter is used to track the data packet, and the operation is used to describe the processing method of the data packet; the matching characteristics of the header field of the table entry conform to the content of the FC-2 frame and ASM frame format.

[0037] The content of the table entry header field based on the FC-2 frame format is:

[0038] The routing control R_CTL is 1 byte, located at word 0, bits 31-24, and is divided into a routing field and an information field to classify the frame functions.

[0039] The destination identifier D_ID is a 3-byte field located in word 0, bits 23-0 and contains the address identifier of the destination device.

[0040] The source identifier S_ID is a 3-byte field located in word 1, bits 23-0 and contains the address identifier of the source device.

[0041] Class-specific control / priority is 1 byte, located in word 1, bits 31-24. The choice of the two functions is determined by the 17th bit of the frame header F_CTL field - the CS_CTL / Priority enable bit. When the enable bit is 0, it serves as a class-specific control function; when the enable bit is 1, it serves as a priority function. The priority is used to resolve resource contention or determine the order of frame transmission.

[0042] The data structure type TYPE is 1 byte, located in word 2, bits 31-24, and identifies the protocol of the data frame content.

[0043] The frame control F_CTL is a 3-byte field located at word 2, bits 23-0, and contains control information related to the frame content.

[0044] The sequence identifier SEQ_ID is 1 byte, word 3, bits 32-24, and is assigned by the sequence initiator. When the sequence is turned on, SEQ_ID is unique for a specific pair of D_ID and S_ID.

[0045] The data block control DF_CTL is 1 byte, word 3, 23-16 bits, and is used as an optional frame header at the beginning of the data field of the device data or video data frame.

[0046] The sequence counter SEQ_CNT is two bytes, word 3, bits 15-0, indicating the order of transmission of a single sequence or continuous multiple sequences of data frames within the same exchange.

[0047] The initiator exchange identifier OX_ID is two bytes, word 4, bits 31-16, identifying the exchange identifier specified by the initiator of the exchange. Each exchange must specify a unique identifier for the initiator or initiator-responder pair used for the exchange.

[0048] The responder exchange identifier RX_ID is two bytes, word 4, bits 15-0. The exchange responder can specify a unique, non-0xFFFF RX_ID value for an exchange established by the initiator and identified by OX_ID.

[0049] The parameter field occupies 4 bytes, word 5, bits 31 to 0. When the "relative offset bit" in F_CTL is set to 1, the parameter is the relative offset value, 4-byte aligned, indicating the relative offset of the first byte of the current frame data payload relative to the ULP message base address. The relative offset value is expressed in bytes.

[0050] The header field content of the table entry based on the ASM frame format is the first 16 bytes of the data payload field of the FC frame, that is, the FC-AE-ASM frame header field. The specific content is:

[0051] The message ID field occupies 4 bytes and is used as a unique identifier for the message in the system. The recipient interprets the message based on the identifier.

[0052] The security reserved field occupies 4 bytes and is a security information identifier.

[0053] The reserved field occupies 4 bytes and should be set to hex "00 00 00 00".

[0054] The L field occupies 1 bit. When the value of L is 0, the message payload length is 1677217 bits. When the value of L is 1, the message payload length is 0 bits.

[0055] The priority field occupies 3 bits and indicates the priority of the message. The priority ranges from 0 to 127, with 0 being the highest priority.

[0056] The message payload length field occupies 3 bytes and indicates the message length.

[0057] Design a data processing flow based on the table entry structure: after the message enters the switch, the header field of the table entry matches the message in FC-2 and ASM frame formats according to the field information;

[0058] The specific matching steps are as follows: after receiving the message, the switch parses the packet header of the message and divides the message into FC-2 frames and ASM frames; starts to search and match the frame header information of the message with the header field of the first table entry of the corresponding frame format, and the matching fields include the header field of the FC-2 frame and the ASM frame; matches the packet header of the message with the header field of the table entry to determine whether it matches table entry 0; after successfully matching table entry 0, starts to execute the action of the instruction set in table entry 0 and updates the counter; if the match fails, continues to match the remaining table entries, and if there is a matching table entry n, executes the action of the instruction set in table entry n, and if it does not match all table entries, discards the data packet.

[0059] Designing the operation part of the table entry structure to realize the processing and forwarding capability of messages in FC-2 and ASM frame formats;

[0060] The content of the action part in the design table entry is: forwarding action, the switch forwards the message to the physical port and one or more virtual ports of the device. Discarding action, the switch discards the message of the table entry that does not clearly specify the action by default. Modification action, the switch modifies the packet header content of the message, specifically including the header field of the new table entry structure.

[0061] Obtain a complete table entry; and perform software-defined data processing using the complete table entry.

[0062] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A software-defined data processing method based on FC protocol, characterized in that: The steps include: Design a table entry structure, which includes a header field, a priority, a counter, and an operation. The header field of the table entry matches the received message, the priority is used to determine the priority of the matching order, the counter is used to track the data packet, and the operation is used to describe the processing method of the data packet; Design a data processing flow based on the table entry structure: after the message enters the switch, the header field of the table entry matches the message in FC-2 and ASM frame formats according to the field information; Designing the operation part of the table entry structure to realize the processing and forwarding capability of messages in FC-2 and ASM frame formats; Get the complete list; Perform software-defined data processing using complete table entries.

2. The software-defined data processing method based on the FC protocol according to claim 1, characterized in that: The matching characteristics of the header field of the table entry conform to the content of the FC-2 frame and ASM frame format.

3. The software-defined data processing method based on the FC protocol according to claim 2, characterized in that: The class-specific control CS_CTL in the header field of the table entry based on the FC-2 frame format is located in word 1, bits 31-24, which is the function selection field. The function of the class-specific control CS_CTL is determined by the 17th bit CS_CTL / Priority enable bit of the frame control F_CTL field. When the enable bit is 0, the function selection field is used as the class-specific control function; when it is set to 1, the function selection field is used as the priority function. The priority is used to resolve resource contention or determine the frame transmission order.

4. The software-defined data processing method based on the FC protocol according to claim 1, characterized in that: The sequence counter SEQ_CNT in the header field of the table entry based on the FC-2 frame format is two bytes, located at word 3, 15-0, indicating the order of transmission of a single sequence or continuous multiple sequences of data frames within the same exchange.

5. The software-defined data processing method based on FC protocol according to claim 1, characterized in that: The header field content of the table entry based on the ASM frame format is the first 16 bytes of the data payload field of the FC frame, that is, the FC-AE-ASM frame header field.

6. The software-defined data processing method based on FC protocol according to claim 1, characterized in that: The matching steps in the data processing flow based on the table entry structure are: After receiving the message, the switch parses the packet header and divides the message into FC-2 frame and ASM frame; Start searching and matching the frame header information of the message with the header field of the first table entry of the corresponding frame format. The matching fields include the header fields of the FC-2 frame and the ASM frame. Match the packet header of the message with the header field of the table entry to determine whether it matches table entry 0; After successfully matching table entry 0, the action of the instruction set in table entry 0 begins to be executed and the counter is updated; If the match fails, continue to match the remaining table entries. If there is a matching table entry n, execute the action in the instruction set of table entry n. If it does not match any table entry, discard the data packet.