Multi-plane fault-tolerant checking method and system of TTE switch

By designing a multi-plane fault tolerance inspection system for TTE switches, the problem of Byzantine failure in the TTE network is solved, and higher fault tolerance and data transmission reliability are achieved.

CN120017621AActive Publication Date: 2025-05-16XIDIAN UNIV

Patent Information

Application Number
CN202510146133.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-10
Publication Date
2025-05-16
Estimated Expiration
2045-02-10

AI Technical Summary

Technical Problem

The prior art cannot effectively solve the problem of Byzantine failure in TTE networks, especially in deep space exploration scenarios, electronic devices are susceptible to particle flip errors caused by electromagnetic and ion radiation, resulting in data transmission errors.

Method used

A multi-plane fault tolerance inspection system and method for TTE switches is designed, which includes a GT interface module, a MAC layer, an input shunt module, an inspection data storage module and an output inspection module. By analyzing the frame information and special fields of the TTE network data frame, the data frame is distributed to the corresponding processing plane for frame processing, and the data frames are matched and compared in the preset storage space to ensure the integrity and consistency of the data.

Benefits of technology

It effectively reduces resource usage, improves fault tolerance, avoids the switch "nonsense" and provides stronger data transmission reliability in Byzantine failure scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120017621A_ABST
    Figure CN120017621A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-plane fault-tolerant checking method and system of a TTE switch, and relates to the technical field of communication, in the system, a GT interface module is used for converting an optical fiber signal into data in a preset format; the MAC layer is used for converting the data in the preset format into TTE standard format data to obtain TTE network data frames; the input shunting module is used for analyzing frame information and special fields corresponding to different service frame types according to TTE network data frames, and dividing the frame information and the special fields into two same paths; and according to a special field contained in one path, the TTE network data frame is distributed to a corresponding processing plane for frame processing, a data frame after frame processing is obtained, and the other path is further input to a check data storage module. According to the method, the non-isomorphic COM / MON is adopted, so that a method for comparing all effective fields of various types of frames can be realized, and the occupation of resources is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of communication technology, and in particular relates to a multi-plane fault tolerance checking method and system for a TTE switch. Background Art

[0002] At present, as a new network architecture, TTE (Time Triggered Ethernet) has been increasingly applied to aerospace electronic systems due to its unique high bandwidth, high determinism, low latency and high fault tolerance. With the development of aerospace industry and changes in various test environments, the requirements for TTE fault tolerance are also increasing.

[0003] In deep space exploration scenarios, electronic equipment is prone to failure due to environmental influences such as electromagnetic and ion radiation, so fault tolerance mechanisms need to be considered during design. For the communication process, the most terrible thing is the occurrence of particle flip errors, such as a bit that was originally 1 becomes 0, and a bit that was originally 0 becomes 1, which may cause data transmission errors; especially in distributed systems, any failure of a single-node switch during message transmission can cause Byzantine failures. In distributed computing, the Byzantine problem describes a situation where some nodes in the system may fail, and this failure is arbitrary, and may be erroneous, contradictory, or malicious information. This type of failure is the most difficult to handle because it includes not only system errors, but also potential security threats.

[0004] In the prior art, the CRC (Cyclic Redundancy Check) method is usually used to detect whether unintentional errors have occurred in the data, such as bit flips caused by noise during data transmission. However, CRC cannot verify whether the intention of the data is correct. In the Byzantine problem, a node may deliberately send forged or maliciously modified data, and CRC cannot judge this situation. CRC assumes that the error is non-malicious, so it lacks the ability to defend against malicious attacks, and the Byzantine problem allows malicious behavior, so CRC cannot solve Byzantine faults. Summary of the invention

[0005] In order to solve the above problems existing in the prior art, the present invention provides a multi-plane fault tolerance checking method and system for a TTE switch. The technical problem to be solved by the present invention is achieved through the following technical solutions:

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

[0007] GT interface module, used to convert optical fiber signals into data in a preset format;

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

[0009] An input shunting module is used to analyze frame information and special fields corresponding to different service frame types according to the TTE network data frame, and divide the frame information and the special fields into two identical paths; according to the special fields included in one path, the TTE network data frame is distributed to the corresponding processing plane for frame processing to obtain a data frame after frame processing, and the other path is further input into the inspection data storage module;

[0010] A check data storage module, used to determine a first address according to the frame information and / or the special field contained in another path, and store the TTE network data frame into a preset storage space according to the first address;

[0011] An output check module is used to convert the frame-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 compare the matched TTE network data frame with the frame-processed data frame beat by beat, and output the frame-processed data frame when the comparison is the same.

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

[0013] The method comprises:

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

[0015] Distribute the TTE network data frame to a corresponding processing plane for frame processing according to the special field included in one of the paths, and obtain a data frame after frame processing;

[0016] Determine a first address according to the frame information and / or the special field contained in another path, and store the TTE network data frame into a preset storage space according to the first address;

[0017] converting the processed data frame into a second address, and matching the TTE network data frame in the preset storage space based on the second address;

[0018] The matched TTE network data frame is compared with the frame-processed data frame beat by beat, and when the comparison is the same, the frame-processed data frame is output.

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

[0020] 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-controlled PCF service frame;

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

[0022] In one embodiment of the present invention, when the service frame type of the TTE network data frame is a TT service frame, determining a first address according to 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:

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

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

[0025] If so, it means that the arrival of the TTE network data frame is legal. 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 as the first address; indexing is performed based on the first address, and the TTE network data frame is 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, determining a first address according to 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:

[0027] querying a filter table according to the virtual link identifier of the TTE network data frame in another path, and comparing the queried fixed domain field with the fixed domain field in the TTE network data frame;

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

[0029] If they are the same, it means that the filtering is successful, the virtual link identifier and the sequence number of the TTE network data frame are concatenated as the first address, indexed based on the first address, and the TTE network data frame is 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, determining a first address according to 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:

[0031] Concatenate the serial number and source MAC address of the TTE network data frame in another path, and perform a hash operation to obtain a first address;

[0032] The TTE network data frame is indexed based on the first address and stored in a 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, determining a first address according to 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:

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

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

[0036] According to the preset priorities of different service frame types, the processed data frames with the same comparison results are arbitrated.

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

[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 a corresponding processing plane for frame processing according to the special field included in one of the paths to obtain a data frame after frame processing includes:

[0039] Distributing the TTE network data frame to the TT plane for frame processing to obtain a processed data frame;

[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 a corresponding processing plane for frame processing according to the special field included in one of the paths to obtain a data frame after frame processing includes:

[0041] Distribute the TTE network data frame to the ET plane for frame processing to obtain a processed data frame;

[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 a corresponding processing plane for frame processing according to the special field included in one of the paths to obtain a data frame after frame processing includes:

[0043] The TTE network data frame is distributed to the synchronization module for frame processing to obtain a data frame after frame processing.

[0044] Compared with the prior art, the present invention has the following beneficial effects:

[0045] In the prior art, TTE uses a hierarchical fault-tolerant design to deal with any errors in the system, such as Byzantine errors. The core is a high-integrity design based on COM / MON (Commander / Monitor), where the first-level fault tolerance means: the switch implements a high-integrity design by applying the COM / MON mechanism, converting any errors of the switch into omission-type errors; the second-level fault tolerance means: solving omission-type errors through dual-channel redundant transmission - this can be solved by multiple redundancy of the switch. The traditional COM and MON mechanisms are two completely independent sets of identical logical architectures, which determine whether the output is allowed by comparing the output. Since COM and MON in the prior art are exactly the same, have the same hardware structure, and run completely consistent logic, they will occupy double the resources. The use of a large number of BRAM resources will also make the overall system more susceptible to the impact of the radiation environment, and the existing system needs to be strictly synchronized to ensure the comparison of input and output, and the complexity of implementation and configuration is very high.

[0046] In view of this, the present invention provides a non-isomorphic COM / MON, on this basis, it is possible to compare the full fields of various types of frames, effectively reducing resource occupation. At the same time, since the frame content of the TT service frame, the RC service frame, and the BE service frame will not change, and the frame content of the PCF service frame is predictable, it is also possible to ensure good fault tolerance and avoid the switch "talking nonsense".

[0047] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a structural schematic diagram of a multi-plane fault-tolerance checking system for a TTE switch provided by an embodiment of the present invention;

[0049] Figure 2 It is another structural schematic diagram of the multi-plane fault tolerance checking system of a TTE switch provided by an embodiment of the present invention;

[0050] Figure 3It is a structural diagram of an inspection data storage module provided by an embodiment of the present invention;

[0051] Figure 4 The present invention provides a flowchart of a multi-plane fault-tolerance checking system for a TTE switch. DETAILED DESCRIPTION

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

[0053] Figure 1 is a structural diagram of a multi-plane fault-tolerance checking system for a TTE switch provided by an embodiment of the present invention, Figure 2 FIG. 1 is another structural diagram of a multi-plane fault-tolerance checking system for a TTE switch provided by an embodiment of the present invention. Figure 1-2 As shown, an embodiment of the present invention provides a multi-plane fault tolerance checking system for a TTE switch, including:

[0054] GT interface module, used to convert optical fiber signals into data in a preset format.

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

[0056] The input diversion module is used to analyze the frame information and special fields corresponding to different business frame types according to the TTE network data frame, and divide the frame information and special fields into two identical paths; according to 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 the other path is further input into the inspection data storage module.

[0057] Specifically, the input diversion module is used to perform frame analysis on the TTE network data frame to obtain frame information and special fields corresponding to different service frame types, wherein the service frame types of the TTE network data frame may include: time-triggered (Time-Trigger, TT) service frame, rate-constrained (Rate-Constrained, RC) service frame, best-effort (Best-Effort, BE) service frame and protocol control (Protocol Control Frame, PCF) service frame, and the frame information includes the serial number, frame length, source MAC address and destination MAC address of the TTE network data frame. The input diversion module generates two identical paths containing frame information and special fields, one of which 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. For the other path, the TTE network data frame needs to be input into the inspection data storage module according to the special fields contained in the path.

[0058] It should be noted that after the input shunt module receives the TTE network data frame, it will splice the start signal, end signal, byte valid signal and frame data of the TTE network data frame, and then write it into the FIFO, and count the data written into the FIFO to complete the data frame storage operation. When there is data in the FIFO that is not empty, the FIFO data is read, and the TTE network data frame is further analyzed according to the FIFO output.

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

[0060] Specifically, the inspection data storage module is used to use the unique identifier of TTE network data of different service frame types as the first address according to the frame information and / or special field in another path, and store the TTE network data frame 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 moving unit. After the 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 serial number and the source MAC address are extracted from the frame information, and the extracted serial number and the source MAC address are concatenated and hashed to obtain a first address, and 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 serial number and the virtual link identifier are extracted from the frame information, the filter table is queried according to the virtual link identifier, and the queried fixed domain field is compared with the TTE network data frame. The fixed domain field of the TTE network data frame is compared. If the comparison results are the same, it means that the filtering is successful, and the virtual link identifier and the 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 cache; if the service type of the TTE network data frame is a TT service frame, the TTID (transaction tracking identifier) ​​is extracted from the frame information, and 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 legal, and 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, and the TTE network data frame is 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 as the first address, and the TTE network data frame is stored in the PCF frame storage unit.

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

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

[0064] Specifically, when the output inspection module receives the processed data frame from each processing plane, a request signal is generated, and the output inspection module sends the request signal to the inspection data storage module, and obtains the second address according to the processed data frame. It should be understood that the frame processing of the TTE network data frame by each processing plane does not change its service frame type. Therefore, for the processed data frame, regardless of whether the service type is a TT service frame, an RC service frame, a BE service frame or a PCF service frame, the method of converting to obtain the second address is the same as the method of determining the first address, which will not be repeated here.

[0065] Next, the output inspection module matches the TTE network data frame in the preset storage space based on the second address, and compares the matched TTE network data frame with the frame-processed data frame beat by beat. Optionally, the multi-plane fault-tolerant inspection system of the above-mentioned TTE switch also includes an arbitration module. When the comparison result of the matched TTE network data frame and the frame-processed data frame is the same, the frame-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 subsequent extraction and transmission of data frames. The output broken frame itself has no CRC and cannot pass the subsequent inspection of the end system. Of course, the check failure signal can also be counted. If a large number of check failure counts appear for a long time, the system is reset.

[0066] In addition, the scheduling principle of the arbitration module in this embodiment is to give priority to high-priority services to ensure the QoS of high-priority services. Specifically, the PCF service frame has the highest priority and can interrupt the TT service frame, BE service frame and RC service frame, which can ensure the global synchronization state of the entire time-triggered Ethernet, and the output of the PCF service frame cannot be interrupted by any service. The priority of the TT service frame is lower than that of the PCF service frame, but higher than that of the BE service frame and the RC service frame to ensure the low latency and determinism of the TT service. The priority of the RC service frame is higher than that of the BE service frame, which avoids the BE service frame blocking the RC service frame and destroying the BAG of the RC service frame.

[0067] Figure 4 FIG. 1 is a flow chart of a multi-plane fault tolerance checking method for a TTE switch provided by an embodiment of the present invention. Figure 4 As shown, an embodiment of the present invention further provides a multi-plane fault tolerance inspection method for a TTE switch, which is applied to the multi-plane fault tolerance inspection system of the above-mentioned TTE switch;

[0068] The method includes:

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

[0070] S2. Distribute the TTE network data frame to the corresponding processing plane for frame processing according to the special field contained in one of the channels, and obtain a data frame after frame processing;

[0071] S3, determining a first address according to the frame information and / or special field contained in another path, and storing the TTE network data frame into a preset storage space according to the first address;

[0072] S4, converting the processed data frame into a second address, and matching the TTE network data frame in a preset storage space based on the second address;

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

[0074] Optionally, the frame information includes a sequence number, a frame length, a source MAC address, and a 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-controlled PCF service frames;

[0076] 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 field of the PCF frame, and the sequence number of the BE service frame.

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

[0078] Determine whether the TTE network data frame falls within the window time, and the window time is determined by looking up a table;

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

[0080] If so, it means that the arrival of the TTE network data frame is legal. 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 as the first address; indexing is performed based on the first address, and the TTE network data frame is stored in the corresponding cache.

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

[0082] querying the filter table according to the virtual link identifier of the TTE network data frame in another path, and comparing the queried fixed domain field with the fixed domain field in the TTE network data frame;

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

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

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

[0086] Concatenate the serial number and source MAC address of the TTE network data frame in another path, and perform a hash operation to obtain a first address;

[0087] The TTE network data frame is indexed based on the first address and stored in a corresponding cache.

[0088] When the service frame type of the TTE network data frame is a PCF service frame, in step S3, the step of determining the first address according to the frame information and / or special field contained in another path, and storing the TTE network data frame in 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 indexing is performed based on the first address to store the TTE network data frame in the corresponding cache.

[0090] Optionally, before the step of outputting the data frame after frame processing, the step further includes:

[0091] According to the preset priorities of different service frame types, the processed data frames with the same comparison results are arbitrated.

[0092] In this embodiment, the priorities of the PCF service frame, the TT service frame, the RC service frame, and the BE service frame decrease in sequence.

[0093] 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 a corresponding processing plane for frame processing according to a special field included in one of the channels to obtain a data frame after frame processing includes:

[0094] Distribute the TTE network data frame to the TT plane for frame processing to obtain the processed data frame;

[0095] 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 a corresponding processing plane for frame processing according to a special field included in one of the channels to obtain a data frame after frame processing includes:

[0096] Distribute the TTE network data frame to the ET plane for frame processing to obtain the processed data frame;

[0097] When the service frame type of the TTE network data frame is a PCF service frame, the steps of distributing the TTE network data frame to a corresponding processing plane for frame processing according to a special field included in one of the channels to obtain a data frame after frame processing include:

[0098] The TTE network data frame is distributed to the synchronization module for frame processing to obtain the processed data frame.

[0099] It can be seen from the above embodiments that the beneficial effects of the present invention are:

[0100] In the prior art, TTE uses a hierarchical fault-tolerant design to deal with any errors in the system, such as Byzantine errors. The core is a high-integrity design based on COM / MON (Commander / Monitor), where the first-level fault tolerance means: the switch implements a high-integrity design by applying the COM / MON mechanism, converting any errors of the switch into omission-type errors; the second-level fault tolerance means: solving omission-type errors through dual-channel redundant transmission - this can be solved by multiple redundancy of the switch. The traditional COM and MON mechanisms are two completely independent sets of identical logical architectures, which determine whether the output is allowed by comparing the output. Since COM and MON in the prior art are exactly the same, have the same hardware structure, and run completely consistent logic, they will occupy double the resources. The use of a large number of BRAM resources will also make the overall system more susceptible to the impact of the radiation environment, and the existing system needs to be strictly synchronized to ensure the comparison of input and output, and the complexity of implementation and configuration is very high.

[0101] In view of this, the present invention provides a non-isomorphic COM / MON, on this basis, it is possible to compare the full fields of various types of frames, effectively reducing resource occupation. At the same time, since the frame content of the TT service frame, the RC service frame, and the BE service frame will not change, and the frame content of the PCF service frame is predictable, it is also possible to ensure good fault tolerance and avoid the switch "talking nonsense".

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

[0103] The description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification.

[0104] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the present application for which protection is sought, a person skilled in the art may understand and implement other variations of the disclosed embodiments by reviewing the drawings, the disclosure, and the appended claims.

[0105] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A multi-plane fault-tolerance checking system for a TTE switch, characterized in that: include: GT interface module, used to convert optical fiber signals into data in a preset format; The MAC layer is used to convert the data in the preset format into data in the TTE standard format to obtain a TTE network data frame; An input shunting module is used to analyze frame information and special fields corresponding to different service frame types according to the TTE network data frame, and divide the frame information and the special fields into two identical paths; according to the special fields included in one path, the TTE network data frame is distributed to the corresponding processing plane for frame processing to obtain a data frame after frame processing, and the other path is further input into the inspection data storage module; A check data storage module, used to determine a first address according to the frame information and / or the special field contained in another path, and store the TTE network data frame into a preset storage space according to the first address; An output check module is used to convert the frame-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 compare the matched TTE network data frame with the frame-processed data frame beat by beat, and output the frame-processed data frame when the comparison is the same.

2. A multi-plane fault tolerance checking method for a TTE switch, characterized in that: Applicable to the multi-plane fault-tolerant inspection system of claim 1; The method comprises: After receiving the TTE network data frame, analyzing the frame information and the special fields corresponding to different service frame types based on the TTE network data frame, and dividing the frame information and the special fields into two identical paths; Distribute the TTE network data frame to a corresponding processing plane for frame processing according to the special field included in one of the paths, and obtain a data frame after frame processing; Determine a first address according to the frame information and / or the special field contained in another path, and store the TTE network data frame into a preset storage space according to the first address; converting the processed data frame into a second address, and matching the TTE network data frame in the preset storage space based on the second address; The matched TTE network data frame is compared with the frame-processed data frame beat by beat, and when the comparison is the same, the frame-processed data frame is output.

3. The multi-plane fault tolerance checking method of a TTE switch 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-controlled PCF service frame; The special fields corresponding to different service frame types include at least: a transaction tracking identifier TTID of a TT service frame, a virtual link identifier and a sequence number of an RC service frame, a valid field of a PCF frame, and a sequence number of a BE service frame.

4. The multi-plane fault tolerance checking method of a TTE switch 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 according to 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: Determine whether the TTE network data frame falls within a windowing time, where the windowing time is determined by looking up a table; If not, discarding the TTE network data frame; If so, it means that the arrival of the TTE network data frame is legal. 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 as the first address; indexing is performed based on the first address, and the TTE network data frame is stored in the corresponding cache.

5. The multi-plane fault tolerance checking method of a TTE switch according to claim 3, characterized in that: When the service frame type of the TTE network data frame is an RC service frame, determining a first address according to 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 comprises: querying a filter table according to the virtual link identifier of the TTE network data frame in another path, and comparing the queried fixed domain field with the fixed domain field in the TTE network data frame; If they are different, discarding the TTE network data frame; If they are the same, it means that the filtering is successful, the virtual link identifier and the sequence number of the TTE network data frame are concatenated as the first address, indexed based on the first address, and the TTE network data frame is stored in the corresponding cache.

6. The multi-plane fault tolerance checking method of a TTE switch according to claim 3, characterized in that: When the service frame type of the TTE network data frame is a BE service frame, determining a first address according to 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: Concatenate the serial number and source MAC address of the TTE network data frame in another path, and perform a hash operation to obtain a first address; The TTE network data frame is indexed based on the first address and stored in a corresponding cache.

7. The multi-plane fault tolerance checking method of a TTE switch according to claim 3, characterized in that: When the service frame type of the TTE network data frame is a PCF service frame, determining a first address according to 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 comprises: The payload field of the TTE network data frame is used as a first address, and indexing is performed based on the first address to store the TTE network data frame in a corresponding cache.

8. The multi-plane fault tolerance checking method of a TTE switch according to claim 3, characterized in that: Before the step of outputting the data frame after the frame processing, the method further includes: According to the preset priorities of different service frame types, the processed data frames with the same comparison results are arbitrated.

9. The multi-plane fault tolerance checking method of a TTE switch according to claim 8, characterized in that: The priorities of the PCF service frame, the TT service frame, the RC service frame, and the BE service frame decrease in sequence.

10. The multi-plane fault tolerance checking method of a TTE switch 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 a corresponding processing plane for frame processing according to the special field included in one of the paths to obtain a data frame after frame processing includes: Distributing the TTE network data frame to the TT plane for frame processing to obtain a 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 a corresponding processing plane for frame processing according to the special field included in one of the paths to obtain a data frame after frame processing includes: Distribute the TTE network data frame to the ET plane for frame processing to obtain a 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 a corresponding processing plane for frame processing according to the special field included in one of the paths to obtain a data frame after frame processing includes: The TTE network data frame is distributed to the synchronization module for frame processing to obtain a data frame after frame processing.

Citation Information

Patent Citations

  • TTE exchange terminal and data sending method and data receiving method thereof

    CN114979032A

  • Method for transmitting BE data at low delay by TTE system and TTE system

    CN116032862A

  • 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

  • TTE load data hybrid transmission system and method based on multi-channel TTDMA

    CN119011057A

Cited By

  • Hardware-level fault-tolerant method based on FPGA (Field Programmable Gate Array)

    CN122053352A