A method and system for multi-plane fault-tolerant checking of a TTE switch

The multi-plane fault-tolerant inspection system solves the problem of detecting and preventing Byzantine faults in TTE switches, achieving efficient resource utilization and reliable data transmission, and improving the system's fault tolerance.

CN120017621BActive Publication Date: 2026-05-01XIDIAN UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
XIDIAN UNIV
Filing Date
2025-02-10
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

Existing technologies cannot effectively detect and defend against Byzantine faults in TTE switches, especially malicious data attacks. CRC cannot distinguish between erroneous intent and malicious modification, resulting in insufficient system fault tolerance.

Method used

A multi-plane fault-tolerant inspection system is adopted, which processes and stores data frames of different service frame types through the GT interface module, MAC layer, input splitting module, inspection data storage module and output inspection module, and performs frame-by-frame comparison to ensure the integrity and consistency of data frames.

Benefits of technology

It effectively reduces resource consumption, improves the system's fault tolerance, avoids the problems of hardware redundancy and high synchronization complexity caused by switches, and ensures the reliability and security of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120017621B_ABST
    Figure CN120017621B_ABST
Patent Text Reader

Abstract

The application discloses a kind of multi-plane fault-tolerant checking method and system of TTE switch, it is related to communication technical field, in the system, GT interface module is used to convert optical fiber signal into the data of pre-set format;MAC layer is used to convert the data of pre-set format into TTE standard format data, obtains TTE network data frame;Input shunt module is used to frame information and special field corresponding to different service frame type according to TTE network data frame analysis, and frame information and special field are divided into same two-way;According to special field contained in one of them, TTE network data frame is distributed to corresponding processing plane and frame processing is carried out, and data frame after frame processing is obtained, another way is further input to checking data storage module.The application uses non-heterogeneous COM / MON, can realize the method of comparing all effective fields of various types of frames, effectively reduces the occupation of resources.
Need to check novelty before this filing date? Find Prior Art

Description

A multi-plane fault-tolerant checking method and system for TTE switches Technical Field

[0001] This invention belongs to the field of communication technology, specifically relating to a multi-plane fault-tolerant checking method and system for TTE switches. Background Technology

[0002] Currently, Time Triggered Ethernet (TTE), as a new network architecture, is increasingly being used in aerospace electronic systems due to its unique high bandwidth, high determinism, low latency, and high fault tolerance. With the development of the aerospace industry and changes in various testing environments, the requirements for TTE fault tolerance are constantly increasing.

[0003] In deep space exploration scenarios, electronic devices are susceptible to malfunctions due to environmental factors such as electromagnetic fields and ion radiation, necessitating fault tolerance mechanisms in their design. For communication processes, the most dangerous scenario is a particle flip error, where a bit that was originally a 1 becomes a 0, or vice versa, potentially leading to data transmission errors. Particularly in distributed systems, any failure of a single-node switch during message passing can result in a Byzantine fault. In distributed computing, the Byzantine problem describes a situation where some nodes in the system may fail, and this failure can be arbitrary, potentially involving erroneous, contradictory, or malicious information. This type of failure is the most difficult to handle because it encompasses not only system errors but also potential security threats.

[0004] In existing technologies, the CRC (Cyclic Redundancy Check) method is typically used to detect unintentional errors in data, such as bit flips caused by noise during data transmission. However, CRC cannot verify whether the data was intended to be correct. In the Byzantine Fault, nodes may intentionally send forged or maliciously modified data, a situation that CRC cannot detect. CRC assumes the error is non-malicious, thus lacking the ability to defend against malicious attacks. Since the Byzantine Fault allows for malicious behavior, CRC cannot resolve Byzantine faults. Summary of the Invention

[0005] To address the aforementioned problems in the existing technology, this invention provides a multi-plane fault tolerance checking method and system for TTE switches. The technical problem to be solved by this invention is achieved through the following technical solution:

[0006] In a first aspect, the present invention provides a multi-plane fault-tolerant checking system for TTE switches, comprising:

[0007] The GT interface module is used to convert fiber optic signals into data in a preset format.

[0008] The MAC layer is used to convert the data in the preset format into TTE standard format data to obtain TTE network data frames.

[0009] The input splitting module is used to analyze the frame information and special fields corresponding to different service frame types based on the TTE network data frame, and divide the frame information and the special fields into two identical paths; based on the special fields contained in one of the paths, the TTE network data frame is distributed to the corresponding processing plane for frame processing to obtain the processed data frame, and the other path is further input to the inspection data storage module;

[0010] The data storage module is checked to determine a first address based on the frame information and / or the special field contained in another path, and to store the TTE network data frame to a preset storage space according to the first address;

[0011] The output checking module is used to convert the data frame after frame processing into a second address, and match the TTE network data frame in the preset storage space based on the second address; further, it compares the matched TTE network data frame with the data frame after frame processing frame by frame, and outputs the data frame after frame processing frame when the comparison is the same.

[0012] In a second aspect, the present invention also provides a multi-plane fault tolerance checking method for TTE switches, which is applied to the multi-plane fault tolerance checking system described in the first aspect;

[0013] The method includes:

[0014] After receiving TTE network data frames, the frame information and special fields corresponding to different service frame types are analyzed based on the TTE network data frames, and the frame information and the special fields are divided into two identical paths;

[0015] Based on the special field contained in one of the paths, the TTE network data frame is distributed to the corresponding processing plane for frame processing to obtain the processed data frame.

[0016] The first address is determined based on the frame information and / or the special field contained in the other path, and the TTE network data frame is stored in the preset storage space according to the first address;

[0017] The processed data frame is converted into a second address, and a TTE network data frame is matched in the preset storage space based on the second address.

[0018] The matched TTE network data frames are compared frame by frame with the processed data frames, and if they match, the processed data frames are output.

[0019] In one embodiment of the present invention, the frame information includes the sequence number, frame length, source MAC address, and destination MAC address of the TTE network data frame;

[0020] The service frame types of the TTE network data frames include: Time Triggered (TT) service frames, Rate Limited (RC) service frames, Best-effort Delivery (BE) service frames, and Protocol Control (PCF) service frames.

[0021] The special fields corresponding to different service frame types include at least: the transaction tracking identifier TTID for TT service frames, the virtual link identifier and sequence number for RC service frames, the valid fields for PCF frames, and the sequence number for BE service frames.

[0022] In one embodiment of the present invention, when the service frame type of the TTE network data frame is a TT service frame, the step of determining a first address based on the frame information and / or the special field contained in another path, and storing the TTE network data frame to a preset storage space according to the first address, includes:

[0023] It is determined whether the TTE network data frame falls within the windowing time, and the windowing time is determined by looking up a table;

[0024] If not, the TTE network data frame is discarded;

[0025] If so, it indicates that the arrival of the TTE network data frame is legitimate. The output port number is obtained by looking up the table, and the output port number is combined with the Transaction Tracking Identifier (TTID) of the TTE network data frame in another path to form the first address. Based on the first address, the TTE network data frame is indexed and stored in the corresponding cache.

[0026] In one embodiment of the present invention, when the service frame type of the TTE network data frame is an RC service frame, the step of determining a first address based on the frame information and / or the special field contained in another path, and storing the TTE network data frame to a preset storage space according to the first address, includes:

[0027] According to the virtual link identifier of the TTE network data frame in the other path, the queried fixed field is compared with the fixed field in the TTE network data frame.

[0028] If they are different, the TTE network data frame is discarded;

[0029] If they are the same, it means that the filtering was successful. The virtual link identifier and sequence number of the TTE network data frame are concatenated to form the first address. The TTE network data frame is then indexed based on the first address and stored in the corresponding cache.

[0030] In one embodiment of the present invention, when the service frame type of the TTE network data frame is a BE service frame, the step of determining a first address based on the frame information and / or the special field contained in another path, and storing the TTE network data frame to a preset storage space according to the first address, includes:

[0031] The sequence number and source MAC address of the TTE network data frame described in the other path are concatenated and hashed to obtain the first address;

[0032] Indexing based on the first address, the TTE network data frame is stored in the corresponding cache.

[0033] In one embodiment of the present invention, when the service frame type of the TTE network data frame is a PCF service frame, the step of determining a first address based on the frame information and / or the special field contained in another path, and storing the TTE network data frame to a preset storage space according to the first address, includes:

[0034] The payload field of the TTE network data frame is used as the first address, and the TTE network data frame is stored in the corresponding cache based on the first address.

[0035] In one embodiment of the present invention, before the step of outputting the data frame after frame processing, the method further includes:

[0036] Arbitration is performed on data frames that are processed after comparison based on the preset priority of different service frame types.

[0037] In one embodiment of the present invention, the priorities of PCF service frames, TT service frames, RC service frames and BE service frames decrease sequentially.

[0038] In one embodiment of the present invention, when the service frame type of the TTE network data frame is a TT service frame, the step of distributing the TTE network data frame to the corresponding processing plane for frame processing according to the special field contained in one of the channels to obtain the processed data frame includes:

[0039] The TTE network data frames are distributed to the TT plane for frame processing to obtain processed data frames.

[0040] When the service frame type of the TTE network data frame is a BE service frame or an RC service frame, the step of distributing the TTE network data frame to the corresponding processing plane for frame processing according to the special field contained in one of the channels to obtain the processed data frame includes:

[0041] The TTE network data frames are distributed to the ET plane for frame processing to obtain processed data frames.

[0042] When the service frame type of the TTE network data frame is a PCF service frame, the step of distributing the TTE network data frame to the corresponding processing plane for frame processing according to the special field contained in one of the channels to obtain the processed data frame includes:

[0043] The TTE network data frames are distributed to the synchronization module for frame processing to obtain processed data frames.

[0044] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0045] In existing technologies, TTE employs a hierarchical fault-tolerant design to handle arbitrary errors in the system, such as Byzantine faults. The core of this design is a high-integrity COM / MON (Commander / Monitor) system. The first level of fault tolerance involves the switch implementing a high-integrity design using the COM / MON mechanism, converting any error in the switch into a missed error. The second level of fault tolerance involves using dual-channel redundant transmission to address missed errors—this can be achieved through multiple redundancies in the switch. Traditional COM and MON mechanisms are two completely independent sets of identical logical architectures, determining whether an output is allowed by comparing its output. Because COM and MON are completely identical in existing technologies, with the same hardware structure and running completely identical logic, they consume twice the resources. The extensive use of BRAM resources also makes the overall system more susceptible to radiation exposure. Furthermore, existing systems require strict synchronization to ensure input-output comparison, resulting in high implementation and configuration complexity.

[0046] In view of this, the present invention provides a non-homogeneous COM / MON, which enables the comparison of all fields of various types of frames, effectively reducing resource consumption. At the same time, since the frame content of TT service frames, RC service frames, and BE service frames does not change, and the frame content of PCF service frames is predictable, it can also ensure good fault tolerance and prevent the switch from "talking nonsense".

[0047] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0048] Figure 1 is a schematic diagram of a multi-plane fault-tolerant inspection system for a TTE switch provided in an embodiment of the present invention.

[0049] Figure 2 is a schematic diagram of another structure of the multi-plane fault-tolerant inspection system for TTE switches provided in an embodiment of the present invention;

[0050] Figure 3 is a schematic diagram of the structure of the inspection data storage module provided in an embodiment of the present invention;

[0051] Figure 4 is a flowchart of a multi-plane fault-tolerant checking system for a TTE switch provided in an embodiment of the present invention. Detailed Implementation

[0052] The present invention will be further described in detail below with reference to specific embodiments, but the implementation of the present invention is not limited thereto.

[0053] Figure 1 is a schematic diagram of one structure of the multi-plane fault-tolerant checking system for a TTE switch provided in an embodiment of the present invention, and Figure 2 is a schematic diagram of another structure of the multi-plane fault-tolerant checking system for a TTE switch provided in an embodiment of the present invention. As shown in Figures 1-2, an embodiment of the present invention provides a multi-plane fault-tolerant checking system for a TTE switch, comprising:

[0054] The GT interface module is used to convert fiber optic signals into data in a preset format.

[0055] The MAC layer is used to convert data in a preset format into TTE standard format data to obtain TTE network data frames.

[0056] The input splitting module is used to analyze the frame information and special fields corresponding to different service frame types from the TTE network data frame, and divide the frame information and special fields into two identical paths; based on the special fields contained in one path, the TTE network data frame is distributed to the corresponding processing plane for frame processing to obtain the processed data frame, and then the other path is input to the inspection data storage module.

[0057] Specifically, the input splitting module is used to perform frame analysis on TTE network data frames to obtain frame information and special fields corresponding to different service frame types. The service frame types of TTE network data frames can include: Time-Trigger (TT) service frames, Rate-Constrained (RC) service frames, Best-Effort (BE) service frames, and Protocol Control Frame (PCF) service frames. The frame information includes the sequence number, frame length, source MAC address, and destination MAC address of the TTE network data frame. The input splitting module generates two identical paths containing frame information and special fields. One path is sent to the inspection data storage module. For example, when the service frame type of the TTE network data frame is a TT service frame, the TTE network data frame is distributed to the TT plane for frame processing; when the service frame type of the TTE network data frame is a BE service frame or an RC service frame, the TTE network data frame is distributed to the ET plane for frame processing; when the service frame type of the TTE network data frame is a PCF service frame, the TTE network data frame is distributed to the synchronization module for frame processing. The other path, based on the special fields it contains, is then input into the inspection data storage module.

[0058] It should be noted that after receiving a TTE network data frame, the input splitting module concatenates the start signal, end signal, byte validity signal, and frame data of the TTE network data frame, and then writes it into the FIFO. Simultaneously, it counts the data written to the FIFO, completing the data frame registration operation. When the FIFO contains data, it reads the FIFO data and further performs frame analysis on the TTE network data frame based on the FIFO output.

[0059] Figure 3 is a schematic diagram of the structure of the inspection data storage module provided in an embodiment of the present invention. As shown in Figures 2-3, the inspection data storage module is used to determine a first address based on the frame information and / or special fields contained in another path, and store the TTE network data frame to a preset storage space according to the first address.

[0060] Specifically, the data storage module is used to check the frame information and / or special fields in another path, using the unique identifier of TTE network data of different service frame types as the first address, and store the TTE network data frames into the corresponding buffer according to the first address.

[0061] Optionally, the inspection data storage module includes a frame analysis unit, a BE frame storage unit, an RC frame storage unit, a TT frame storage unit, a PCF frame storage unit, and a data transfer unit. After TTE network data frames of different service types enter the inspection data storage module, they are first analyzed and processed by the frame analysis unit: If the service type of the TTE network data frame is a BE service frame, the sequence number and source MAC address are extracted from the frame information, and the extracted sequence number and source MAC address are concatenated and hashed to obtain the first address. Then, the TTE network data frame is stored in the BE frame storage unit according to the first address; If the service type of the TTE network data frame is an RC service frame, the sequence number and virtual link identifier are extracted from the frame information, and the filter table is queried according to the virtual link identifier. The queried fixed field is then compared with the data in the TTE network data frame. The fixed field of the TTE network data frame is compared. If the comparison results are the same, the filtering is successful. The virtual link identifier and sequence number of the TTE network data frame are concatenated as the first address, and the TTE network data frame is stored in the corresponding buffer. If the service type of the TTE network data frame is TT service frame, the TTID (Transaction Tracking Identifier) ​​is extracted from the frame information. Then it is determined whether the TTE network data frame falls within the window time. If so, it means that the arrival of the TTE network data frame is legitimate. The output port number is obtained by looking up the table, and the output port number is combined with the TTID as the first address. The TTE network data frame is stored in the TT frame storage unit. If the service type of the TTE network data frame is PCF service frame, the payload field of the TTE network data frame is extracted as the first address, and the TTE network data frame is stored in the PCF frame storage unit.

[0062] The output checking module is used to convert the processed data frame into a second address, and match the TTE network data frame in the preset storage space based on the second address; further, it compares the matched TTE network data frame with the processed data frame frame by frame, and outputs the processed data frame when the comparison is the same.

[0063] It should be noted that this embodiment can perform a full field comparison between the matched TTE network data frame and the processed data frame. Of course, considering that the content of TT service frames, RC service frames and BE service frames will not change in the transmission logic, and that PCF frames are predictable in the transmission process, a valid field comparison can also be performed on PCF service frames. If an inconsistency occurs, an error check signal will be output and the frame with the current error will be discarded.

[0064] Specifically, when the output inspection module receives processed data frames from each processing plane, it generates a request signal. The output inspection module sends the request signal to the inspection data storage module and obtains the second address based on the processed data frame. It should be understood that the frame processing of TTE network data frames by each processing plane does not change their service frame type. Therefore, for the processed data frame, regardless of whether the service type is a TT service frame, RC service frame, BE service frame, or PCF service frame, the method for obtaining the second address is the same as the method for determining the first address, and will not be elaborated here.

[0065] Next, the output checking module matches TTE network data frames in a preset storage space based on the second address, and compares the matched TTE network data frames with the processed data frames frame by frame. Optionally, the multi-plane fault-tolerant checking system of the TTE switch also includes an arbitration module. When the comparison result of the matched TTE network data frame and the processed data frame is the same, the processed data frame is output to the arbitration module according to the output port number; otherwise, the current output is interrupted, and a check failure signal is sent to prevent the extraction and transmission of subsequent data frames. The broken frame output itself does not have CRC and cannot pass the subsequent checks of the end system. Of course, the check failure signals can also be counted. If a large number of check failures occur over a long period of time, the system is reset.

[0066] Furthermore, in this embodiment, the scheduling principle of the arbitration module is to prioritize high-priority services to ensure their QoS. Specifically, the PCF service frame has the highest priority and can interrupt TT, BE, and RC service frames, ensuring the global synchronization state of the Ethernet is triggered throughout the entire time. The output of the PCF service frame cannot be interrupted by any service. The TT service frame has a lower priority than the PCF service frame but a higher priority than the BE and RC service frames to ensure low latency and determinism for the TT service. The RC service frame has a higher priority than the BE service frame, preventing the BE service frame from blocking the RC service frame and breaking its BAG (Blocking Aggregate Gate) mechanism.

[0067] Figure 4 is a flowchart of the multi-plane fault tolerance checking method for TTE switches provided in an embodiment of the present invention. As shown in Figure 4, the present invention also provides a multi-plane fault tolerance checking method for TTE switches, applied to the above-mentioned multi-plane fault tolerance checking system for TTE switches;

[0068] The method includes:

[0069] S1. After receiving TTE network data frames, analyze the frame information and special fields corresponding to different service frame types based on the TTE network data frames, and divide the frame information and special fields into two identical paths.

[0070] S2. Based on the special fields contained in one of the paths, the TTE network data frames are distributed to the corresponding processing planes for frame processing to obtain the processed data frames.

[0071] S3. Determine the first address based on the frame information and / or special fields contained in the other path, and store the TTE network data frame to the preset storage space according to the first address;

[0072] S4. Convert the processed data frame into a second address, and match the TTE network data frame in the preset storage space based on the second address.

[0073] S5. Compare the matched TTE network data frames with the processed data frames frame by frame, and output the processed data frames when the comparison is the same.

[0074] Optionally, the frame information includes the sequence number, frame length, source MAC address, and destination MAC address of the TTE network data frame;

[0075] The service frame types of TTE network data frames include: Time Triggered (TT) service frames, Rate Limited (RC) service frames, Best-effort Delivery (BE) service frames, and Protocol Control (PCF) service frames.

[0076] Special fields corresponding to different service frame types include at least: TTID (Transaction Tracking Identifier) ​​for TT service frames, virtual link identifier and sequence number for RC service frames, valid fields for PCF frames, and sequence number for BE service frames.

[0077] When the service frame type of the TTE network data frame is a TT service frame, step S3, which involves determining the first address based on the frame information and / or special fields contained in another path, and storing the TTE network data frame to a preset storage space according to the first address, includes:

[0078] To determine whether a TTE network data frame falls within the window period, the window period is determined by looking up a table.

[0079] If not, discard the TTE network data frame;

[0080] If so, it means that the arrival of the TTE network data frame is legitimate. The output port number is obtained by looking up the table, and the output port number is combined with the transaction tracking identifier (TTID) of the TTE network data frame in another path to form the first address. Based on the first address, the TTE network data frame is indexed and stored in the corresponding buffer.

[0081] When the service frame type of the TTE network data frame is an RC service frame, step S3, which involves determining the first address based on the frame information and / or special fields contained in another path, and storing the TTE network data frame to a preset storage space according to the first address, includes:

[0082] Based on the virtual link identifier of the TTE network data frame in another path, query the filter table and compare the queried fixed field with the fixed field in the TTE network data frame;

[0083] If they are different, discard the TTE network data frame;

[0084] If they are the same, it means that the filtering was successful. The virtual link identifier and sequence number of the TTE network data frame are concatenated and used as the first address. The TTE network data frame is then indexed based on the first address and stored in the corresponding cache.

[0085] When the service frame type of the TTE network data frame is a BE service frame, step S3, which involves determining the first address based on the frame information and / or special fields contained in another path, and storing the TTE network data frame to a preset storage space according to the first address, includes:

[0086] The sequence number and source MAC address of the TTE network data frame from the other path are concatenated and hashed to obtain the first address;

[0087] Indexing based on the first address, TTE network data frames are stored in the corresponding cache.

[0088] When the service frame type of the TTE network data frame is a PCF service frame, step S3, which involves determining the first address based on the frame information and / or special fields contained in another path, and storing the TTE network data frame to a preset storage space according to the first address, includes:

[0089] The payload field of the TTE network data frame is used as the first address, and the TTE network data frame is stored in the corresponding cache based on the first address.

[0090] Optionally, before the step of outputting the processed data frame, the following steps are also included:

[0091] Arbitration is performed on data frames that are processed after comparison based on the preset priority of different service frame types.

[0092] In this embodiment, the priorities of PCF service frames, TT service frames, RC service frames, and BE service frames decrease sequentially.

[0093] When the service frame type of a TTE network data frame is a TT service frame, the steps for distributing the TTE network data frame to the corresponding processing plane for frame processing, based on a special field contained in one of its channels, to obtain the processed data frame include:

[0094] The TTE network data frames are distributed to the TT plane for frame processing to obtain the processed data frames.

[0095] When the service frame type of a TTE network data frame is a BE service frame or an RC service frame, the steps for distributing the TTE network data frame to the corresponding processing plane for frame processing, based on a special field contained in one of the channels, to obtain the processed data frame, include:

[0096] The TTE network data frames are distributed to the ET plane for frame processing to obtain the processed data frames.

[0097] When the service frame type of a TTE network data frame is a PCF service frame, the steps of distributing the TTE network data frame to the corresponding processing plane for frame processing, based on a special field contained in one of its channels, to obtain the processed data frame, include:

[0098] The TTE network data frames are distributed to the synchronization module for frame processing, resulting in processed data frames.

[0099] As can be seen from the above embodiments, the beneficial effects of the present invention are as follows:

[0100] In existing technologies, TTE employs a hierarchical fault-tolerant design to handle arbitrary errors in the system, such as Byzantine faults. The core of this design is a high-integrity COM / MON (Commander / Monitor) system. The first level of fault tolerance involves the switch implementing a high-integrity design using the COM / MON mechanism, converting any error in the switch into a missed error. The second level of fault tolerance involves using dual-channel redundant transmission to address missed errors—this can be achieved through multiple redundancies in the switch. Traditional COM and MON mechanisms are two completely independent sets of identical logical architectures, determining whether an output is allowed by comparing its output. Because COM and MON are completely identical in existing technologies, with the same hardware structure and running completely identical logic, they consume twice the resources. The extensive use of BRAM resources also makes the overall system more susceptible to radiation exposure. Furthermore, existing systems require strict synchronization to ensure input-output comparison, resulting in high implementation and configuration complexity.

[0101] In view of this, the present invention provides a non-homogeneous COM / MON, which enables the comparison of all fields of various types of frames, effectively reducing resource consumption. At the same time, since the frame content of TT service frames, RC service frames, and BE service frames does not change, and the frame content of PCF service frames is predictable, it can also ensure good fault tolerance and prevent the switch from "talking nonsense".

[0102] In the description of this invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0103] The use of terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples" indicates that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. In addition, those skilled in the art can combine and integrate the different embodiments or examples described in this specification.

[0104] Although this application has been described herein in conjunction with various embodiments, other variations of the disclosed embodiments can be understood and implemented by those skilled in the art in carrying out the claimed application by reviewing the accompanying drawings, the disclosure, and the appended claims.

[0105] The above description, in conjunction with specific preferred embodiments, provides a further detailed explanation of the present invention. It should not be construed that the specific implementation of the present invention is limited to these descriptions. For those skilled in the art, various simple deductions or substitutions can be made without departing from the concept of the present invention, and all such modifications and substitutions should be considered within the scope of protection of the present invention.

Claims

1. A multi-plane fault-tolerant checking system for a TTE switch, characterized in that, include: The GT interface module is used to convert fiber optic signals into data in a preset format. The MAC layer is used to convert the data in the preset format into TTE standard format data to obtain TTE network data frames. The input splitting module is used to analyze the frame information and special fields corresponding to different service frame types from the TTE network data frame, and divide the frame information and special fields into two identical paths; based on the special fields contained in one path, the TTE network data frame is distributed to the corresponding processing plane for frame processing to obtain a processed data frame, and the other path is further input to the inspection data storage module; the inspection data storage module is used to determine a first address based on the frame information and / or the special fields contained in the other path, and store the TTE network data frame in a preset storage space according to the first address; The output checking module is used to convert the data frame after frame processing into a second address, and match the TTE network data frame in the preset storage space based on the second address; further, it compares the matched TTE network data frame with the data frame after frame processing frame by frame, and outputs the data frame after frame processing frame when the comparison is the same; The inspection data storage module includes: a frame analysis unit, a BE frame storage unit, an RC frame storage unit, a TT frame storage unit, a PCF frame storage unit, and a data transfer unit; After TTE network data frames of different service types enter the inspection and data storage module, they are analyzed and processed by the frame analysis unit: If the service type of the TTE network data frame is a BE service frame, the sequence number and source MAC address are extracted from the frame information, and the extracted sequence number and source MAC address are concatenated and hashed to obtain the first address. The TTE network data frame is then stored in the BE frame storage unit according to the first address. If the service type of the TTE network data frame is an RC service frame, the sequence number and virtual link identifier are extracted from the frame information. The filter table is queried based on the virtual link identifier, and the queried fixed field is compared with the fixed field in the TTE network data frame. If the comparison result is the same, the filtering is successful, and the TTE network data frame is stored in the BE frame storage unit. The virtual link identifier and sequence number of the data frame are concatenated to form the first address, and the TTE network data frame is stored in the corresponding buffer. If the service type of the TTE network data frame is a TT service frame, the transaction tracking identifier TTID is extracted from the frame information. Then, it is determined whether the TTE network data frame falls within the window time. If so, it indicates that the arrival of the TTE network data frame is legitimate. The output port number is obtained by looking up the table, and the output port number is combined with TTID to form the first address. The TTE network data frame is then stored in the TT frame storage unit. If the service type of the TTE network data frame is a PCF service frame, the payload field of the TTE network data frame is extracted to form the first address, and the TTE network data frame is stored in the PCF frame storage unit.

2. A multi-plane fault tolerance checking method for a TTE switch, characterized in that, The method, applied to the multi-plane fault-tolerant checking system of claim 1, comprises: receiving a TTE network data frame; analyzing the frame information and special fields corresponding to different service frame types based on the TTE network data frame; dividing the frame information and the special fields into two identical paths; distributing the TTE network data frame to the corresponding processing plane for frame processing according to the special fields contained in one path, to obtain a processed data frame; determining a first address according to the frame information and / or the special fields contained in the other path; storing the TTE network data frame in a preset storage space according to the first address; converting the processed data frame into a second address; matching a TTE network data frame in the preset storage space based on the second address; comparing the matched TTE network data frame with the processed data frame frame by frame; and outputting the processed data frame frame when the comparison is the same.

3. The multi-plane fault-tolerance checking method for TTE switches according to claim 2, characterized in that, The frame information includes the sequence number, frame length, source MAC address, and destination MAC address of the TTE network data frame; the service frame types of the TTE network data frame include: Time Triggered (TT) service frame, Rate Limited (RC) service frame, Best-effort Delivery (BE) service frame, and Protocol Control (PCF) service frame; the special fields corresponding to different service frame types include at least: the Transaction Tracking Identifier (TTID) of the TT service frame, the Virtual Link Identifier and sequence number of the RC service frame, the valid fields of the PCF frame, and the sequence number of the BE service frame.

4. The multi-plane fault tolerance checking method for TTE switches according to claim 3, characterized in that, When the service frame type of the TTE network data frame is a TT service frame, the step of determining a first address based on the frame information and / or the special field contained in another path, and storing the TTE network data frame in a preset storage space according to the first address includes: determining whether the TTE network data frame falls within the window time, wherein the window time is determined by looking up a table; if not, discarding the TTE network data frame; if yes, it indicates that the arrival of the TTE network data frame is legitimate, obtaining the output port number by looking up the table, and combining the output port number with the transaction tracking identifier TTID of the TTE network data frame in another path as the first address; and indexing based on the first address to store the TTE network data frame in the corresponding cache.

5. The multi-plane fault-tolerant checking method for TTE switches according to claim 3, characterized in that, When the service frame type of the TTE network data frame is an RC service frame, the step of determining a first address based on the frame information and / or the special field contained in another path, and storing the TTE network data frame in a preset storage space according to the first address includes: querying a filter table based on the virtual link identifier of the TTE network data frame in the other path, comparing the queried fixed field field with the fixed field field in the TTE network data frame; if they are different, discarding the TTE network data frame; if they are the same, indicating successful filtering, concatenating the virtual link identifier and sequence number of the TTE network data frame as the first address, indexing based on the first address, and storing the TTE network data frame in the corresponding cache.

6. The multi-plane fault-tolerant checking method for TTE switches according to claim 3, characterized in that, When the service frame type of the TTE network data frame is a BE service frame, the step of determining the first address based on the frame information and / or the special field contained in the other path, and storing the TTE network data frame to a preset storage space according to the first address includes: concatenating the sequence number and source MAC address of the TTE network data frame in the other path, and performing a hash operation to obtain the first address; and indexing based on the first address to store the TTE network data frame in the corresponding cache.

7. The multi-plane fault tolerance checking method for TTE switches according to claim 3, characterized in that, When the service frame type of the TTE network data frame is a PCF service frame, the step of determining the first address based on the frame information and / or the special field contained in another path, and storing the TTE network data frame in a preset storage space according to the first address includes: using the payload field of the TTE network data frame as the first address, indexing based on the first address, and storing the TTE network data frame in the corresponding cache.

8. The multi-plane fault tolerance checking method for TTE switches according to claim 3, characterized in that, Before the step of outputting the processed data frame, the method further includes: arbitrating the processed data frames with the same comparison result according to the preset priority of different service frame types.

9. The multi-plane fault-tolerant checking method for TTE switches according to claim 8, characterized in that, The priority of PCF service frames, TT service frames, RC service frames, and BE service frames decreases in that order.

10. The multi-plane fault-tolerant checking method for TTE switches according to claim 3, characterized in that, When the service frame type of the TTE network data frame is a TT service frame, the step of distributing the TTE network data frame to the corresponding processing plane for frame processing according to the special field contained in one of the channels to obtain the processed data frame includes: distributing the TTE network data frame to the TT plane for frame processing to obtain the processed data frame; when the service frame type of the TTE network data frame is a BE service frame or an RC service frame, the step of distributing the TTE network data frame to the corresponding processing plane for frame processing according to the special field contained in one of the channels to obtain the processed data frame includes: distributing the TTE network data frame to the ET plane for frame processing to obtain the processed data frame; when the service frame type of the TTE network data frame is a PCF service frame, the step of distributing the TTE network data frame to the corresponding processing plane for frame processing according to the special field contained in one of the channels to obtain the processed data frame includes: distributing the TTE network data frame to the synchronization module for frame processing to obtain the processed data frame.

Citation Information

Patent Citations

  • BE data parallel redundancy transmission system and method based on TTE network

    CN118509133A

  • Network frame reporting system and method for dynamically sharing DDR in TTE network test

    CN118573644A