TSN network switch for data monitoring cache multiplexing based on FPGA

By designing a cache multiplexing unit in the FPGA of the avionics time-sensitive network system, time-sharing multiplexing of FPGA resources is solved, and the flexibility and practicality of network monitoring functions are improved.

CN119520441APending Publication Date: 2025-02-25LUOYANG INST OF ELECTRO OPTICAL EQUIP OF AVIC
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411697445.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In avionics time-sensitive network systems, excessive FPGA resource occupation leads to stiff network monitoring functions, low practicality, and difficult to converge the logical engineering timing.

Method used

A TSN network switch based on FPGA data monitoring cache multiplexing is designed. By setting up a cache multiplexing unit in the network monitoring module, the time-sharing multiplexing of some cache logical resources in the FPGA is realized, and the data flow is filtered and output based on the preset monitoring strategy.

Benefits of technology

It effectively reduces the occupation of FPGA resources, improves the flexibility and practicality of network monitoring functions, and optimizes the logical engineering timing of TSN network switches.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520441A_ABST
    Figure CN119520441A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of communication, in particular to a TSN network switch for data monitoring cache multiplexing based on an FPGA, which comprises n ports, a network switching module and a network monitoring module, each port is connected with a TSN network node, the network switching module is connected with each port and the network monitoring module, and the network monitoring module is connected with the n ports. The network monitoring module, the TSN network monitoring equipment necklace, the network switching module and the network monitoring module are jointly operated in an FPGA (Field Programmable Gate Array); the network switching module is simultaneously used for inputting 2n data streams generated by the n ports to the network monitoring module; a cache multiplexing unit is arranged in the network monitoring module, and n FPGA caches are reserved for 2n data streams by the cache multiplexing unit; and the network monitoring module is used for screening the 2n data streams based on a preset monitoring strategy and outputting the screened data streams to the TSN network monitoring equipment. Therefore, the occupation of FPGA resources is effectively reduced, and the flexibility and practicability of network monitoring are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a TSN network switch based on FPGA data monitoring cache multiplexing. Background Art

[0002] ATSN (Avionics Time Sensitive Networking) is a communication technology that is emerging and widely used in the field of aviation. In the ATSN system, with the increase in the number of network devices and the improvement in communication rates, it is becoming increasingly difficult to implement network monitoring functions in network switches. There are widespread problems such as too high a proportion of FPGA resources and difficulty in converging logic engineering timing. When the ATSN system is running, not all network device data needs to be monitored. Therefore, monitoring caches are reserved for all network devices in the ATSN system, which further increases the waste of FPGA resources. The network monitoring function is very rigid and has low practicality. Summary of the invention

[0003] In view of this, an embodiment of the present application proposes a TSN network switch based on FPGA data monitoring cache reuse, which can time-share some cache logic resources in the FPGA, effectively reducing the occupancy of FPGA resources while meeting data monitoring needs, and improving the flexibility and practicality of network monitoring functions.

[0004] In the first aspect, an embodiment of the present application proposes a TSN network switch based on FPGA data monitoring cache multiplexing, including: n ports, a network switching module and a network monitoring module, each port is connected to a TSN network node, the network switching module is connected to each port and the network monitoring module respectively, the network monitoring module is also connected to the TSN network monitoring device, and the network switching module and the network monitoring module run together in the FPGA; the network switching module is responsible for the exchange of network data, and is also used to input 2n data streams generated by the input and output of the n ports into the network monitoring module; wherein a cache multiplexing unit is provided in the network monitoring module, and the cache multiplexing unit reserves n FPGA caches for the 2n data streams, where n is an integer greater than 1; the network monitoring module is responsible for monitoring the network data of the entire network, and is used to screen the 2n data streams based on a preset monitoring strategy, and output the screened data streams to the TSN network monitoring device.

[0005] In some optional embodiments, the TSN network switch also includes a software configuration interface, which is respectively connected to the host computer, the network switching module and the network monitoring module; before the TSN network switch starts working, the host computer is used to configure and send switching strategies and monitoring strategies to the network switching module and the network monitoring module through the software configuration interface, so that the network switching module can exchange network data based on the switching strategy, and the network monitoring module can screen 2n data streams based on the monitoring strategy.

[0006] In some optional embodiments, a cache selection unit and a cache multiplexing unit are provided in the network monitoring module. The cache multiplexing unit reserves n FPGA caches for 2n data streams. The cache selection unit is used to filter out n data streams that need to be monitored from the 2n data streams based on a preset monitoring strategy, and sequentially input them into the n FPGA caches of the cache multiplexing unit to complete data caching.

[0007] In some optional embodiments, n data streams that need to be monitored are screened out from 2n data streams based on a preset monitoring strategy, and are sequentially input into the n FPGA caches of the cache multiplexing unit, including: comparing the data stream numbers in the preset monitoring strategy with the data stream numbers of the 2n data streams, sequentially inputting the n data streams with successfully compared data stream numbers into the n FPGA caches of the cache multiplexing unit, and discarding the n data streams with unsuccessful comparison.

[0008] In some optional embodiments, a polling scheduling output unit is further provided in the network monitoring module, and the polling scheduling output unit is respectively connected to n FPGA caches and the TSN network monitoring device; the polling scheduling output unit is used to output the data streams cached in the n FPGA caches to the TSN network monitoring device in sequence according to the polling scheduling method.

[0009] In some optional embodiments, the preset monitoring strategy includes monitoring the input data and output data of all ports on demand, or monitoring the input data and output data of some ports at the same time, or performing a closed-loop analysis on the flow direction of the data flow of a certain port in the entire TSN network switch.

[0010] In some optional embodiments, the TSN network monitoring device is used to store and parse the data stream filtered and output by the network monitoring module.

[0011] The embodiment of the present application proposes a TSN network switch based on FPGA data monitoring cache reuse. To address the problem that the whole network data monitoring function in the avionics time-sensitive network system occupies too much FPGA resources, resulting in difficulty in converging the timing of the TSN network switch logic engineering, a cache reuse unit is designed in the network monitoring module to achieve time-sharing multiplexing of part of the cache logic resources in the FPGA, and based on a preset monitoring strategy, 2n data streams generated by the input and output of n ports are screened, and the screened data streams are output to the TSN network monitoring device, thereby completing on-demand monitoring of the whole network data, optimizing the timing of the TSN network switch logic engineering, and effectively improving the flexibility and practicality of the network monitoring function.

[0012] In a second aspect, an embodiment of the present application proposes an avionics time-sensitive network system, comprising: n TSN network nodes, a TSN network switch based on FPGA data monitoring cache multiplexing as described in the first aspect above, and a TSN network monitoring device, the TSN network switch is connected to the n TSN network nodes through n ports respectively, and the TSN network switch is also connected to the TSN network monitoring device; wherein n is an integer greater than 1.

[0013] On the third aspect, an embodiment of the present application proposes a TSN network data monitoring method, including: obtaining 2n data streams generated by input and output of n ports of a TSN network switch; wherein n is an integer greater than 1; filtering the 2n data streams based on a preset monitoring strategy, monitoring the filtered data streams, and storing and parsing them.

[0014] In a fourth aspect, an embodiment of the present application proposes a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it can implement a TSN network data monitoring method as described in the third aspect above.

[0015] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0017] Figure 1It is a structural diagram of a TSN network switch based on FPGA data monitoring cache multiplexing provided in one embodiment of the present application;

[0018] Figure 2 is a structural diagram of a network monitoring module provided in one embodiment of the present application;

[0019] Figure 3 It is a flowchart of a TSN network data monitoring method provided in another embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. In the various embodiments of the present application, many technical details are proposed in order to make the reader better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can also be implemented. The division of the following embodiments is only for the convenience of description, and the specific implementation mode of the present application should not constitute any limitation. The various embodiments can be combined with each other and referenced to each other under the premise of no contradiction.

[0021] In order to solve the technical problem of excessive FPGA resource usage in avionics time-sensitive network systems, an embodiment of the present application proposes a TSN network switch based on FPGA data monitoring cache multiplexing. The implementation details of the TSN network switch based on FPGA data monitoring cache multiplexing proposed in this embodiment are specifically described below. The following content is only the implementation details provided for the convenience of understanding and is not necessary for the implementation of this solution.

[0022] The structure of a TSN network switch based on FPGA data monitoring cache reuse proposed in this embodiment can be as follows: Figure 1 As shown, the TSN network switch 10 includes: n ports ( Figure 1 P1 to Pn in the network), network switching module 11 and network monitoring module 12, each port is connected to a TSN network node ( Figure 1 D1 to Dn), the network switching module 11 is connected to each port and the network monitoring module 12, and the network monitoring module 12 is also connected to the TSN network monitoring device 20. The network switching module 11 and the network monitoring module 12 run together in the FPGA.

[0023] The network switching module 11 is responsible for exchanging network data, and is also used to input 2n data streams generated by the input and output of n ports into the network monitoring module 12. Among them, a cache multiplexing unit is provided in the network monitoring module 12, and the cache multiplexing unit reserves n FPGA caches for the 2n data streams, where n is an integer greater than 1.

[0024] The network monitoring module 12 is responsible for monitoring the network data of the entire network, and is used to filter the 2n data streams based on a preset monitoring strategy, and output the filtered data streams to the TSN network monitoring device 20.

[0025] like Figure 1 As shown, the TSN network switch 10 also includes a software configuration interface 13, which is respectively connected to the host computer, the network switching module 11 and the network monitoring module 12. Before the TSN network switch 10 starts working, the host computer is used to configure and send the switching strategy and the monitoring strategy to the network switching module 11 and the network monitoring module 12 through the software configuration interface 13, so that the network switching module 11 can exchange network data based on the switching strategy, and the network monitoring module 12 can screen 2n data streams based on the monitoring strategy.

[0026] In one example, the preset monitoring strategy includes but is not limited to monitoring the input data and output data of all ports on demand, or monitoring the input data and output data of some ports at the same time, or performing a closed-loop analysis on the flow direction of the data flow of a certain port in the entire TSN network switch.

[0027] In one example, the structure of the network monitoring module can be as follows Figure 2 As shown, the network monitoring module is provided with a cache selection unit, a cache reuse unit and a polling scheduling output unit. The cache reuse unit reserves n FPGA caches for 2n data streams. In other words, the cache reuse unit is composed of n FPGA caches. The TSN network monitoring device can support the simultaneous monitoring of up to n data streams. The cache selection unit is used to filter out n data streams that need to be monitored from the 2n data streams based on a preset monitoring strategy, and sequentially input them into the n FPGA caches of the cache reuse unit to complete data caching.

[0028] After receiving 2n data streams generated by n ports due to input and output, the cache selection unit can number these 2n data streams as 1, 2, 3, ..., 2n-1, 2n. The data streams numbered 1 to n represent the input data of ports P1 to Pn, and the data streams numbered n+1 to 2n represent the output data of ports P1 to Pn.

[0029] Specifically, the cache selection unit needs to compare the data stream number in the preset monitoring strategy with the data stream number of the 2n data streams, and input the n data streams with successful data stream number comparison into the n FPGA caches of the cache reuse unit in sequence, and discard the n data streams with unsuccessful comparison. The data cache selection structure can flexibly reuse the FPGA cache according to the software configuration results, reducing the resource usage of the FPGA while meeting the network monitoring needs, greatly improving the flexibility and practicality of the network monitoring function.

[0030] The polling scheduling output unit is connected to n FPGA caches and TSN network monitoring equipment respectively. The polling scheduling output unit is used to output the data streams cached in the n FPGA caches to the TSN network monitoring equipment in sequence according to the polling scheduling method, thereby completing the multiplexing of the network data monitoring cache.

[0031] In one example, after receiving the data stream filtered and output by the network monitoring module, the TSN network monitoring device can store and parse the data stream filtered and output by the network monitoring module.

[0032] This embodiment proposes a TSN network switch based on FPGA data monitoring cache reuse. Aiming at the problem that the whole network data monitoring function in the avionics time-sensitive network system occupies too much FPGA resources, resulting in the difficulty in converging the timing of the TSN network switch logic engineering, a cache reuse unit is designed in the network monitoring module to realize time-sharing multiplexing of part of the cache logic resources in the FPGA, and based on the preset monitoring strategy, 2n data streams generated by the input and output of n ports are screened, and the screened data streams are output to the TSN network monitoring device, thereby completing on-demand monitoring of the whole network data, optimizing the timing of the TSN network switch logic engineering, and effectively improving the flexibility and practicality of the network monitoring function.

[0033] Another embodiment of the present application proposes an avionics time-sensitive network system. The implementation details of the avionics time-sensitive network system proposed in this embodiment are specifically described below. The following content is only the implementation details provided for easy understanding and is not necessary for implementing this example.

[0034] The avionics time-sensitive network system proposed in this embodiment includes: n TSN network nodes, a TSN network switch based on FPGA data monitoring cache multiplexing as described in the above embodiment, and a TSN network monitoring device, wherein the TSN network switch is connected to the n TSN network nodes through n ports respectively, and the TSN network switch is also connected to the TSN network monitoring device, wherein n is an integer greater than 1.

[0035] Each TSN network node (i.e., TSN network device), TSN network switch, and TSN network monitoring device constitutes an avionics time-sensitive network system, which has a star network topology. N TSN network nodes are connected to n ports of the TSN switch, and data communication is carried out between nodes through the network switch.

[0036] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of this application, this embodiment does not introduce units that are not closely related to solving the technical problems proposed by this application, but this does not mean that there are no other units in this embodiment.

[0037] Another embodiment of the present application proposes a TSN network data monitoring method. The implementation details of the TSN network data monitoring method proposed in this embodiment are specifically described below. The following content is only the implementation details provided for the convenience of understanding and is not necessary for implementing this example.

[0038] The specific process of a TSN network data monitoring method proposed in this embodiment is as follows: Figure 3 As shown, including:

[0039] S1, obtain 2n data streams generated by input and output of n ports of the TSN network switch.

[0040] In a specific implementation, n is an integer greater than 1.

[0041] S2, based on the preset monitoring strategy, 2n data streams are screened, the screened data streams are monitored, and stored and analyzed.

[0042] The step division of the above methods is only for clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this application; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this application.

[0043] It is not difficult to find that this embodiment is a method embodiment corresponding to the above embodiments, and this embodiment can be implemented in conjunction with the above embodiments. The relevant technical details and effects mentioned in the above embodiments are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the above embodiments.

[0044] Another embodiment of the present application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the TSN network data monitoring method described in the above embodiment can be implemented.

[0045] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, ROM (Read-Only Memory), RAM (Random Access Memory), disk or optical disk and other media that can store program codes.

[0046] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present application, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present application.

Claims

1. A TSN network switch based on FPGA data monitoring cache multiplexing, characterized in that: include: n ports, a network switching module and a network monitoring module. Each port is connected to a TSN network node. The network switching module is connected to each port and the network monitoring module. The network monitoring module is also connected to the TSN network monitoring device. The network switching module and the network monitoring module run together in the FPGA. The network switching module is responsible for the exchange of network data, and is also used to input 2n data streams generated by the input and output of n ports into the network monitoring module; wherein a cache multiplexing unit is provided in the network monitoring module, and the cache multiplexing unit reserves n FPGA caches for the 2n data streams, where n is an integer greater than 1; The network monitoring module is responsible for monitoring the network data of the entire network. It is used to filter 2n data streams based on preset monitoring strategies and output the filtered data streams to the TSN network monitoring device.

2. According to claim 1, a TSN network switch based on FPGA data monitoring cache multiplexing is characterized in that: The TSN network switch also includes a software configuration interface, which is connected to the host computer, the network switching module and the network monitoring module respectively; Before the TSN network switch starts working, the host computer uses the software configuration interface to configure and send switching strategies and monitoring strategies to the network switching module and network monitoring module respectively, so that the network switching module can exchange network data based on the switching strategy and the network monitoring module can screen 2n data streams based on the monitoring strategy.

3. The TSN network switch based on FPGA data monitoring cache multiplexing according to claim 2, characterized in that: The network monitoring module is provided with a cache selection unit and a cache multiplexing unit. The cache multiplexing unit reserves n FPGA caches for 2n data streams. The cache selection unit is used to select n data streams that need to be monitored from 2n data streams based on a preset monitoring strategy, and input them into the n FPGA caches of the cache multiplexing unit in sequence to complete data caching.

4. The TSN network switch based on FPGA data monitoring cache multiplexing according to claim 3 is characterized in that: Based on the preset monitoring strategy, n data streams that need to be monitored are selected from the 2n data streams and are sequentially input into the n FPGA caches of the cache multiplexing unit, including: The data stream number in the preset monitoring strategy is compared with the data stream numbers of the 2n data streams, and the n data streams with successfully matched data stream numbers are sequentially input into the n FPGA caches of the cache multiplexing unit, and the n data streams with unsuccessful comparison are discarded.

5. The TSN network switch based on FPGA data monitoring cache multiplexing according to claim 3, characterized in that: The network monitoring module is also provided with a polling scheduling output unit, which is respectively connected to n FPGA caches and a TSN network monitoring device; The polling scheduling output unit is used to output the data streams cached in n FPGA caches to the TSN network monitoring device in sequence according to the polling scheduling method.

6. The TSN network switch based on FPGA data monitoring cache multiplexing according to claim 1, characterized in that: The preset monitoring strategies include monitoring the input and output data of all ports on demand, or monitoring the input and output data of some ports at the same time, or performing a closed-loop analysis of the flow of data from a certain port in the entire TSN network switch.

7. A TSN network switch based on FPGA data monitoring cache multiplexing according to any one of claims 1 to 6, characterized in that: TSN network monitoring equipment is used to store and parse the data stream filtered and output by the network monitoring module.

8. An avionics time-sensitive network system, characterized in that: include: n TSN network nodes, a TSN network switch and a TSN network monitoring device based on FPGA data monitoring cache multiplexing according to any one of claims 1 to 7, the TSN network switch is connected to the n TSN network nodes through n ports respectively, and the TSN network switch is also connected to the TSN network monitoring device; wherein n is an integer greater than 1.

9. A TSN network data monitoring method, characterized in that: include: Obtain 2n data streams generated by input and output of n ports of a TSN network switch; where n is an integer greater than 1; Based on the preset monitoring strategy, 2n data streams are screened, the screened data streams are monitored, stored and analyzed.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it can implement a TSN network data monitoring method as claimed in claim 9.

Citation Information

Cited By

  • Centralized cache allocation method and equipment for time-sensitive network switching chip, and chip

    CN120075165A

  • Time-Sensitive Network Switch Chip Central Cache Allocation Method, Device, and Chip

    CN120075165B