Multi-priority switching device of TTE switch

By designing a multi-priority switching device for TTE switches, the existing TTE network switches have solved the accuracy and real-time accuracy of TT message switching, PCF protocol frame switching and processing, and the deterministic transmission of TT data frames and PCF are realized. Real-time processing and accurate transmission of data frames, while reducing the impact of BE data frames and RC data frames.

CN115801704BActive Publication Date: 2025-02-11XIAN YUNWEI ZHILIAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211302613.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-24
Publication Date
2025-02-11
Estimated Expiration
2042-10-24

AI Technical Summary

Technical Problem

Existing TTE network switches have problems with the accuracy and real-time nature of TT message exchange, PCF protocol frame exchange and processing.

Method used

A multi-priority switching device for a TTE switch is designed, including a receiving module, a switching module, a transmission module and a TTE time synchronization module. The device realizes forwarding and routing relationship management of data by storing different types of data, and realizes time synchronization between the multi-priority switching device and the end node through the TTE time synchronization module.

Benefits of technology

Deterministic transmission of TT data frames, real-time processing and accurate transmission of PCF data frames are realized, while reducing the impact of BE data frames and RC data frames, and reducing the transmission jitter of TT data frames.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115801704B_ABST
    Figure CN115801704B_ABST
Patent Text Reader

Abstract

The present application relates to a multi-priority switching device of a TTE switch, comprising: a plurality of receiving modules, a switching module, a plurality of sending modules and a TTE time synchronization module, each sending module corresponding to an end node; each sending module comprises a TT sending scheduling module; the TT sending scheduling module of the sending module is used to obtain the location information of the TT data when the received local synchronization clock reaches the TT sending scheduling point; the present application provides a multi-priority switching method for TTE network requirements, realizes the deterministic transmission of TT data frames, the real-time processing and accurate transmission of PCF data frames, and minimizes the impact of BE data frames and RC data frames; at the same time, the present application also has a sending time point at the switch end TT, and reduces the transmission jitter of the TT data frame to the transmission jitter from the switch to the target end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of time-triggered Ethernet switches, and in particular to a multi-priority switching device of a TTE switch. Background Art

[0002] With the development of science and technology, the network has become more and more important, the requirements for the network have become higher and higher, and the Internet of Everything is getting closer and closer to us; and the transition from the information network to the Internet of Things also requires the transformation of the network. TTE (Time-Triggered Ethernet) time-sensitive network is also an important part of it, especially in the fields of aviation, aerospace, military industry and other fields with strict reliability requirements. At present, TTE technology has been first applied to aerospace launch platforms, satellite control and deep space probes.

[0003] However, as the research on TTE deepens, switches applicable to TTE networks have problems in determining TT message exchange, PCF protocol frame exchange, and accuracy and real-time processing. Summary of the invention

[0004] In order to overcome at least one deficiency in the prior art, an embodiment of the present application provides a multi-priority switching device of a TTE switch.

[0005] In a first aspect, a multi-priority switching device of a TTE switch is provided, comprising: a plurality of receiving modules, a switching module, a plurality of sending modules and a TTE time synchronization module, each sending module corresponding to an end node; each sending module comprises a TT sending scheduling module;

[0006] Each receiving module is used to receive different types of data, and send different types of data and the forwarding routing relationship corresponding to the data to the switching module. The data types include PCF data, TT data, RC data and BE data; if the data is PCF data, and it is determined that the PCF data does not need to be forwarded, the time-related information of the PCF data is sent to the TTE time synchronization module;

[0007] The switching module is used to store different types of data and the storage location information of the TT data, and send the storage location information of the PCF data, RC data and BE data to the sending module of the corresponding end node according to the forwarding routing relationship corresponding to the data;

[0008] The TTE time synchronization module is used to achieve time synchronization between the multi-priority switching device and each end node according to the time-related information of the received PCF data; the TTE time synchronization module is also used to provide a local synchronization clock to the TT sending scheduling module;

[0009] The TT sending scheduling module of the sending module is used to obtain the location information of the TT data when the received local synchronization clock reaches the TT sending scheduling point; each sending module is used to send the storage location information of different types of data to the switching module, and obtain the data returned by the switching module, and send the data according to the data sending priority.

[0010] In one embodiment, the receiving module includes a receiving storage module and a receiving table lookup module;

[0011] The receiving storage module is used to store different types of received data, parse different types of data, and determine the type of data;

[0012] If the data is PCF data, TT data or RC data, the receiving table lookup module initiates a table lookup request to the TT / RC / PCF_VL lookup table in the switching module, and the TT / RC / PCF_VL lookup table determines whether the data is correct and whether the data needs to be forwarded based on the VLID of the data and the information in the TT / RC / PCF_VL lookup table; if the PCF data is correct and needs to be forwarded, the TT / RC / PCF_VL lookup table returns the forwarding routing relationship of the data to the receiving table lookup module, and the receiving table lookup module sends the forwarding routing relationship of the data to the receiving storage module; if the TT data is correct, the TT / RC / PCF_VL lookup table returns the forwarding routing relationship of the data to the receiving table lookup module, and the receiving table lookup module sends the forwarding routing relationship of the data to the receiving storage module; if the RC data is correct, the TT / RC / PCF_VL lookup table returns the forwarding routing relationship of the data to the receiving table lookup module, and the receiving table lookup module sends the forwarding routing relationship of the data to the receiving storage module;

[0013] If the data is BE data, the receiving table lookup module initiates a query request to the BE routing table in the switching module according to the destination address and source address of the BE data, obtains the BE forwarding routing relationship returned by the BE routing table, and sends the BE forwarding routing relationship to the receiving storage module;

[0014] The receiving storage module initiates a data write request to the round_robin algorithm module of the switching module. If a response message from the round_robin algorithm module is received, the data and the forwarding routing relationship corresponding to the data are sent to the switching module.

[0015] In one embodiment, the receiving device further includes a PCF processing module. When the PCF data does not need to be forwarded, the PCF processing module is used to execute an order preservation algorithm on the PCF data, and after the order preservation is completed, the time-related information of the PCF data is sent to the TTE synchronization module.

[0016] In one embodiment, the switching module includes a switching cache and a TT information storage module;

[0017] After receiving the data and the forwarding routing relationship corresponding to the data, the switching module writes the data into the switching cache;

[0018] If the data is TT data, the storage location information of the TT data is written into the TT information storage module; if the data is PCF, RC or BE data, the storage location information of the PCF, RC or BE data is sent to the sending module corresponding to the corresponding end node according to the forwarding routing relationship corresponding to the data.

[0019] In one embodiment, the sending module further includes: a sending data buffer, a PCF information storage module, a BE information storage module, an RC information storage module and a sending request module;

[0020] After receiving the storage location information of PCF data, RC data and BE data, each sending module writes the storage location information of PCF data into the PCF information storage module if it is received, writes the storage location information of BE data into the BE information storage module if it is received, and writes the storage location information of RC data into the RC information storage module if it is received;

[0021] If any of the PCF information storage module, the BE information storage module and the RC information storage module stores data, the request sending module initiates a priority request to the round_robin algorithm module with priority in the switching module;

[0022] After receiving a priority request, the round_robin algorithm module with priority selects the sending module that needs to respond and the priority data type selected this time according to the algorithm, and sends the selected priority data type to the sending module that needs to respond;

[0023] After receiving the selected priority data type, the sending request module of the sending module reads the storage location information of the data from the information storage module corresponding to the priority data type, and sends the storage location information of the data to the exchange cache;

[0024] The exchange cache obtains the data corresponding to the storage location information according to the storage location information of the data, and sends the data to the sending request module;

[0025] After receiving the data returned by the exchange buffer, the sending request module writes the data into the sending data buffer area. The sending data buffer area includes the PCF buffer area, the TT buffer area, the RC buffer area and the BE buffer area, which are used to cache different types of data respectively;

[0026] The sending module reads different types of data from the sending data buffer according to the data sending priority. If the data is PCF data, the transparent clock needs to be modified and the data is sent at the same time. If the data is TT, RC or BE data, the data is sent directly.

[0027] Compared with the prior art, the present application has the following beneficial effects: the present application provides a multi-priority switching method for TTE network requirements, realizes deterministic transmission of TT data frames, real-time processing and accurate transmission of PCF data frames, and minimizes the impact of BE data frames and RC data frames; at the same time, the present application also has a sending time point on the switch side TT, which reduces the transmission jitter of the TT data frame to the transmission jitter from the switch to the target end. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The present application may be better understood by referring to the following description given in conjunction with the accompanying drawings, which together with the following detailed description are included in this specification and form a part of this specification. In the drawings:

[0029] Figure 1 A schematic diagram of the structure of a TTE application network according to an embodiment of the present application is shown;

[0030] Figure 2 A schematic diagram of the structure of a multi-priority switching device of a TTE switch according to an embodiment of the present application is shown;

[0031] Figure 3 A flowchart of data receiving processing implemented by a receiving module according to an embodiment of the present application is shown;

[0032] Figure 4 The flowchart of data sending processing of the sending module according to the embodiment of the present application is shown. DETAILED DESCRIPTION

[0033] The exemplary embodiments of the present application will be described below in conjunction with the accompanying drawings. For the sake of clarity and conciseness, not all features of the actual embodiments are described in the specification. However, it should be understood that many implementation-specific decisions can be made in the process of developing any such actual embodiments in order to achieve the specific goals of the developer, and these decisions may vary from embodiment to embodiment.

[0034] It is also necessary to explain here that, in order to avoid obscuring the present application due to unnecessary details, only the device structure closely related to the scheme according to the present application is shown in the drawings, while other details that are not closely related to the present application are omitted.

[0035] It should be understood that the present application is not limited to the described implementation forms due to the following description with reference to the accompanying drawings. In this article, where feasible, the embodiments can be combined with each other, features between different embodiments can be replaced or borrowed, and one or more features can be omitted in one embodiment.

[0036] Figure 1 The structure diagram of the TTE application network according to the embodiment of the present application is shown, and the TTE application network includes a TTE switch and a plurality of TTE end nodes connected to the TTE switch. The embodiment of the present application provides a TTE switch multi-priority switching device, that is, a TTE switch in the TTE application network, Figure 2 A schematic diagram of the structure of a multi-priority switching device of a TTE switch according to an embodiment of the present application is shown, the device comprising: a plurality of receiving modules ( Figure 2 Ingress_0~Ingress_n), switching module, multiple sending modules ( Figure 2 Egress_0~Engress_n) and TTE synchronization module; wherein, multiple receiving modules are connected to the switching module, multiple sending modules are connected to the switching module, and the TTE synchronization module is connected to multiple receiving modules and multiple sending modules. Here, each sending module corresponds to an end node, and each sending module includes a TT sending scheduling module.

[0037] Each receiving module is used to receive different types of data, and send different types of data and the forwarding routing relationship corresponding to the data to the switching module. The data types include PCF data, TT data, RC data and BE data; if the data is PCF data, and it is determined that the PCF data does not need to be forwarded, the time-related information of the PCF data is sent to the TTE time synchronization module;

[0038] The switching module is used to store different types of data and the storage location information of the TT data, and send the storage location information of the PCF data, RC data and BE data to the sending module of the corresponding end node according to the forwarding routing relationship corresponding to the data;

[0039] The TTE time synchronization module is used to achieve time synchronization between the multi-priority switching device and each end node according to the time-related information of the received PCF data; the TTE time synchronization module is also used to provide a local synchronization clock to the TT sending scheduling module;

[0040] The TT sending scheduling module of the sending module is used to obtain the location information of the TT data when the received local synchronization clock reaches the TT sending scheduling point; each sending module is used to send the storage location information of different types of data to the switching module, and obtain the data returned by the switching module, and send the data according to the data sending priority.

[0041] In this embodiment, the deterministic transmission of TT data frames, the real-time processing and accurate transmission of PCF data frames are realized, and the impact of BE data frames and RC data frames is minimized; at the same time, the sending module in this embodiment includes a TT sending scheduling module, which is used to obtain the location information of TT data when the received local synchronization clock reaches the TT sending scheduling point. There is also a sending time point at the switch end TT, and the transmission jitter of the TT data frame is reduced to the transmission jitter from the switch to the target end. In this embodiment, TT data is sent only after reaching the sending scheduling time point, so as long as the data detected by TT arrives before the corresponding TT sending scheduling point, all previous jitters will be cancelled, so the transmission jitter of TT will only be the transmission jitter from the switch to the target end.

[0042] In one embodiment, the receiving module includes a receiving storage module and a receiving table lookup module; Figure 3 A flowchart showing data receiving processing implemented by a receiving module according to an embodiment of the present application is shown. Figure 3 , the specific implementation functions of the receiving module are as follows:

[0043] The receiving storage module is used to store different types of received data, parse different types of data, and determine the type of data;

[0044] If the data is PCF data, TT data or RC data, the receiving table lookup module initiates a table lookup request to the TT / RC / PCF_VL lookup table in the switching module, and the TT / RC / PCF_VL lookup table determines whether the data is correct and whether the data needs to be forwarded based on the VLID of the data and the information in the TT / RC / PCF_VL lookup table; if the PCF data is correct and needs to be forwarded, the TT / RC / PCF_VL lookup table returns the forwarding routing relationship of the data to the receiving table lookup module, and the receiving table lookup module sends the forwarding routing relationship of the data to the receiving storage module; if the TT data is correct, the TT / RC / PCF_VL lookup table returns the forwarding routing relationship of the data to the receiving table lookup module, and the receiving table lookup module sends the forwarding routing relationship of the data to the receiving storage module; if the RC data is correct, the TT / RC / PCF_VL lookup table returns the forwarding routing relationship of the data to the receiving table lookup module, and the receiving table lookup module sends the forwarding routing relationship of the data to the receiving storage module;

[0045] If the data is BE data, the receiving table lookup module initiates a query request to the BE routing table in the switching module according to the destination address and source address of the BE data, obtains the BE forwarding routing relationship returned by the BE routing table, and sends the BE forwarding routing relationship to the receiving storage module;

[0046] The receiving storage module initiates a data write request to the round_robin algorithm module of the switching module. If a response message from the round_robin algorithm module is received, the data and the forwarding routing relationship corresponding to the data are sent to the switching module.

[0047] In one embodiment, the receiving device further includes a PCF processing module. When the PCF data does not need to be forwarded, the PCF processing module is used to execute an order-preserving algorithm on the PCF data, and after the order-preserving is completed, the time-related information of the PCF data, such as cycle information, is sent to the TTE synchronization module. Here, the TTE time synchronization module is used to achieve time synchronization between the multi-priority switching device and each end node according to the time-related information of the received PCF data.

[0048] In one embodiment, the switching module includes a switching cache and a TT information storage module; after receiving the data and the forwarding routing relationship corresponding to the data, the switching module writes the data into the switching cache; if the data is TT data, the storage location information of the TT data is written into the TT information storage module; if the data is PCF / BE / RC data, the storage location information of the PCF / BE / RC data is sent to the sending module corresponding to the corresponding end node according to the forwarding routing relationship corresponding to the data.

[0049] In one embodiment, the sending module further includes: a sending data buffer, a PCF information storage module, a BE information storage module, an RC information storage module and a sending request module; Figure 4 FIG. 1 shows a flow chart of the data transmission processing of the sending module according to an embodiment of the present application, see Figure 4 , the specific implementation functions of the sending module are as follows:

[0050] After receiving the storage location information of PCF data, RC data and BE data, each sending module writes the storage location information of PCF data into the PCF information storage module if it is received, writes the storage location information of BE data into the BE information storage module if it is received, and writes the storage location information of RC data into the RC information storage module if it is received;

[0051] If any of the PCF information storage module, the BE information storage module and the RC information storage module stores data, the request sending module initiates a priority request to the round_robin algorithm module with priority in the switching module;

[0052] After receiving a priority request, the round_robin algorithm module with priority selects the sending module that needs to respond and the priority data type selected this time according to the algorithm, and sends the selected priority data type to the sending module that needs to respond;

[0053] After receiving the selected priority data type, the sending request module of the sending module reads the storage location information of the data from the information storage module corresponding to the priority data type, and sends the storage location information of the data to the exchange cache;

[0054] The exchange cache obtains the data corresponding to the storage location information according to the storage location information of the data, and sends the data to the sending request module;

[0055] After receiving the data returned by the exchange buffer, the sending request module writes the data into the sending data buffer area. The sending data buffer area includes the PCF buffer area, the TT buffer area, the RC buffer area and the BE buffer area, which are used to cache different types of data respectively;

[0056] The sending module reads different types of data from the sending data buffer according to the data sending priority. If the data is PCF data, the transparent clock needs to be modified and the data is sent at the same time. If the data is TT, RC or BE data, the data is sent directly.

[0057] In one embodiment, see Figure 2 , each receiving module includes a receiving storage module, a receiving table lookup module and a PCF processing module; the switching module includes a switching cache, a round_robin algorithm module, a round_robin algorithm module with priority, a TT information storage module, a BE routing table, a TT / RC / PCF_VL lookup table, and a scheduling schedule; each sending module includes a sending data buffer, a PCF information storage module, a BE information storage module, an RC information storage module, a TT sending scheduling module and a sending request module. The following describes in detail the specific implementation process of the switching method implemented by the multi-priority switching device of the above-mentioned TTE switch. Each receiving module implements the same function, and the following description takes a receiving module as an example.

[0058] Step 1, the receiving module receives the data and stores the data in the receiving storage module; the receiving storage module parses the data to determine the type of the data, which includes PCF data, TT data, RC data and BE data. If the data is PCF data, TT data or RC data, step 2 is executed; if the data is BE data, step 3 is executed;

[0059] Step 2: The receiving table lookup module initiates a table lookup request to the TT / RC / PCF_VL lookup table in the switching module. The TT / RC / PCF_VL lookup table determines whether the data is correct and whether the data needs to be forwarded based on the VLID of the data and the information in the TT / RC / PCF_VL lookup table. Specifically, if the data is PCF data, determine whether the PCF data is correct and whether it needs to be forwarded based on the VLID of the PCF data and the information in the TT / RC / PCF_VL query table, that is, determine whether the VLID of the PCF data is consistent with the information in the TT / RC / PCF_VL query table. If they are consistent, the PCF data is determined to be correct, otherwise, the PCF data is determined to be incorrect; and determine whether the PCF data needs to be forwarded based on the information in the TT / RC / PCF_VL query table. If the PCF data is incorrect, the data is discarded. If the PCF data is correct and needs to be forwarded, the TT / RC / PCF_VL query table returns the forwarding routing relationship of the data to the receiving table lookup module, and the receiving table lookup module sends the forwarding routing relationship of the data to the receiving storage module, and executes step 5. If the PCF data does not need to be forwarded, execute step 4;

[0060] If the data is TT data, determine whether the data is correct based on the VLID of the TT data and the information in the TT / RC / PCF_VL query table, that is, check the TT frame, including frame length, receive gating, etc. If the data is correct, return the forwarding routing relationship of the data to the receiving table lookup module, and the receiving table lookup module sends the forwarding routing relationship of the data to the receiving storage module and executes step 5. Otherwise, discard the data.

[0061] If the data is RC data, determine whether the data is correct based on the VLID of the RC data and the information in the TT / RC / PCF_VL query table, that is, check the RC frame, including frame length, flow control, etc. If the data is correct, return the forwarding routing relationship of the data to the receiving table lookup module, and the receiving table lookup module sends the forwarding routing relationship of the data to the receiving storage module and executes step 5. Otherwise, discard the data.

[0062] Step 3, the receiving table lookup module initiates a query request to the BE routing table according to the destination address and source address of the BE data, obtains the BE forwarding routing relationship returned by the BE routing table, and sends the BE forwarding routing relationship to the receiving storage module, and executes step 5;

[0063] Step 4: The PCF processing module executes an order-preserving algorithm on the PCF data. After the order-preserving is completed, the time-related information of the PCF data, such as cycle information, is sent to the TTE synchronization module. The TTE synchronization module outputs the processed new PCF data and sends the new PCF data to each sending module to achieve time synchronization between the switching device and each end node. Here, the PCF processing module receives the local synchronization clock output by the TTE synchronization module for executing the order-preserving algorithm.

[0064] Step 5: The receiving storage module of the receiving module initiates a write data request to the round_robin algorithm module of the switching module. If the response information of the round_robin algorithm module is received, the data and the forwarding routing relationship corresponding to the data are read from the receiving storage module, and the data and the forwarding routing relationship corresponding to the data are sent to the switching module; otherwise, wait for a response.

[0065] Step 6: After receiving the data and the forwarding routing relationship corresponding to the data, the switching module writes the data into the switching cache. If the data is TT data, the storage location information of the TT data is written into the TT information storage module in the switching module, and step 7 is executed. If the data is PCF / BE / RC data, the storage location information of the PCF / BE / RC data is sent to the sending module corresponding to the corresponding end node according to the forwarding routing relationship corresponding to the data, and step 8 is executed.

[0066] Step 7, the TT sending scheduling module in the sending module obtains the local synchronization clock output by the TTE synchronization module. If the local synchronization clock reaches the TT sending scheduling point, where the TT sending scheduling point is a certain time in the scheduling timetable in the forwarding module, the TT sending scheduling module initiates a query to the TT information storage module in the forwarding module to query the location information of the TT data sent this time; if the information is queried, execute step 9, otherwise no response;

[0067] Step 8, after receiving the storage location information of PCF / BE / RC data, the sending module corresponding to each end node writes the storage location information of PCF data into the PCF information storage module of the sending module if it receives the storage location information of BE data, writes the storage location information of BE data into the BE information storage module of the sending module if it receives the storage location information of RC data, writes the storage location information of RC data into the RC information storage module of the sending module; if any one of the PCF information storage module, BE information storage module and RC information storage module stores data, execute step 9,

[0068] Step 9, the sending request module in the sending module initiates a priority request to the round_robin algorithm module with priority in the switching module, where the priority is: PCF>TT>RC>BE;

[0069] Step 10, after receiving the priority request, the round_robin algorithm module with priority selects the sending module that needs to respond and the priority data type selected this time according to the algorithm, and sends the selected priority type to the sending module that needs to respond;

[0070] Step 11, after receiving the selected priority data type, the sending request module of the sending module reads the storage location information of the data from the information storage module corresponding to the priority data type, and sends the storage location information of the data to the exchange cache;

[0071] Step 12, the exchange cache obtains the data corresponding to the storage location information according to the storage location information of the data, and sends the data to the sending request module;

[0072] Step 13, after receiving the data returned by the exchange buffer, the sending request module writes the data into the sending data buffer area, which includes the PCF buffer area, the TT buffer area, the RC buffer area and the BE buffer area, which are used to cache different types of data respectively;

[0073] Step 14, the sending module reads different types of data from the sending data buffer according to the data sending priority. If it is PCF data, the transparent clock needs to be modified and the data is sent at the same time. If it is TT, RC or BE data, the data is sent directly.

[0074] The above are only various implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A multi-priority switching device of a TTE switch, characterized in that: include: Multiple receiving modules, switching modules, multiple sending modules and TTE time synchronization modules, each of the sending modules corresponds to an end node; each of the sending modules includes a TT sending scheduling module; the switching module includes a switching cache and a TT information storage module; Each of the receiving modules is used to receive different types of data, and send the different types of data and the forwarding routing relationship corresponding to the data to the switching module, where the types of data include PCF data, TT data, RC data and BE data; if the data is PCF data, and it is determined that the PCF data does not need to be forwarded, the time-related information of the PCF data is sent to the TTE time synchronization module; The switching module is used to store the different types of data and the storage location information of the TT data, and send the storage location information of the PCF data, the RC data and the BE data to the sending module of the corresponding end node according to the forwarding routing relationship corresponding to the data; The TTE time synchronization module is used to achieve time synchronization between the multi-priority switching device and each of the end nodes according to the time-related information of the received PCF data; the TTE time synchronization module is also used to provide a local synchronization clock to the TT sending scheduling module; The TT sending scheduling module of the sending module is used to obtain the location information of the TT data when the received local synchronization clock reaches the TT sending scheduling point; each of the sending modules is used to send the storage location information of different types of data to the switching module, and obtain the data returned by the switching module, and send the data according to the data sending priority; The receiving module includes a receiving storage module and a receiving table lookup module; The receiving storage module is used to store different types of received data, parse the different types of data, and determine the type of data; If the data is PCF data, TT data or RC data, the receiving table lookup module initiates a table lookup request to the TT / RC / PCF_VL lookup table in the switching module, and the TT / RC / PCF_VL lookup table determines whether the data is correct and whether the data needs to be forwarded according to the VLID of the data and the information in the TT / RC / PCF_VL lookup table; if the PCF data is correct and needs to be forwarded, the TT / RC / PCF_VL lookup table returns the forwarding routing relationship of the data to the receiving table lookup module, and the receiving table lookup module sends the forwarding routing relationship of the data to the receiving storage module; If the TT data is correct, the TT / RC / PCF_VL query table returns the forwarding routing relationship of the data to the receiving table query module, and the receiving table query module sends the forwarding routing relationship of the data to the receiving storage module; If the RC data is correct, the TT / RC / PCF_VL query table returns the forwarding routing relationship of the data to the receiving table query module, and the receiving table query module sends the forwarding routing relationship of the data to the receiving storage module; If the data is BE data, the receiving table lookup module initiates a query request to the BE routing table in the switching module according to the destination address and source address of the BE data, obtains the BE forwarding routing relationship returned by the BE routing table, and sends the BE forwarding routing relationship to the receiving storage module; The receiving storage module initiates a data write request to the round_robin algorithm module of the switching module, and if a response message from the round_robin algorithm module is received, the data and the forwarding routing relationship corresponding to the data are sent to the switching module; The sending module also includes: a sending data buffer, a PCF information storage module, a BE information storage module, an RC information storage module and a sending request module; After receiving the storage location information of PCF data, RC data and BE data, each of the sending modules writes the storage location information of PCF data into the PCF information storage module if it is received, writes the storage location information of BE data into the BE information storage module if it is received, and writes the storage location information of RC data into the RC information storage module if it is received; If any one of the PCF information storage module, the BE information storage module and the RC information storage module stores data, the sending request module initiates a priority request to the round_robin algorithm module with priority in the switching module; After receiving the priority request, the round_robin algorithm module with priority selects the sending module that needs to respond and the priority data type selected this time according to the algorithm, and sends the selected priority data type to the sending module that needs to respond; After receiving the selected priority data type, the sending request module of the sending module reads the storage location information of the data from the information storage module corresponding to the priority data type, and sends the storage location information of the data to the exchange cache; The exchange cache obtains data corresponding to the storage location information according to the storage location information of the data, and sends the data to the sending request module; After receiving the data returned by the exchange buffer, the sending request module writes the data into the sending data buffer area, and the sending data buffer area includes a PCF buffer area, a TT buffer area, an RC buffer area and a BE buffer area, which are respectively used to cache different types of data; The sending module reads different types of data from the sending data buffer according to the data sending priority. If the data is PCF data, the transparent clock needs to be modified and the data is sent at the same time. If the data is TT, RC or BE data, the data is sent directly.

2. The device according to claim 1, characterized in that The receiving module also includes a PCF processing module. When the PCF data does not need to be forwarded, the PCF processing module is used to execute an order preservation algorithm on the PCF data, and after the order preservation is completed, the time-related information of the PCF data is sent to the TTE time synchronization module.

3. The device according to claim 1, characterized in that After receiving the data and the forwarding routing relationship corresponding to the data, the switching module writes the data into the switching cache; If the data is TT data, the storage location information of the TT data is written into the TT information storage module; if the data is PCF, RC or BE data, the storage location information of the PCF, RC or BE data is sent to the sending module corresponding to the corresponding end node according to the forwarding routing relationship corresponding to the data.

Citation Information

Patent Citations

  • TTE terminal system internal time synchronizing system and method

    CN107147467A

  • Time-triggered Ethernet exchange controller and control method thereof

    CN107342833A