CN113132258A - Time-sensitive network data transmission system and time delay analysis method - Google Patents
Time-sensitive network data transmission system and time delay analysis method Download PDFInfo
- Publication number
- CN113132258A CN113132258A CN202110456650.7A CN202110456650A CN113132258A CN 113132258 A CN113132258 A CN 113132258A CN 202110456650 A CN202110456650 A CN 202110456650A CN 113132258 A CN113132258 A CN 113132258A
- Authority
- CN
- China
- Prior art keywords
- data
- module
- time
- transmission
- delay
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/28—Flow control; Congestion control in relation to timing considerations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/28—Flow control; Congestion control in relation to timing considerations
- H04L47/283—Flow control; Congestion control in relation to timing considerations in response to processing delays, e.g. caused by jitter or round trip time [RTT]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a time-sensitive network data transmission system and a time delay analysis method, and the time-sensitive network data transmission system comprises a data preprocessing module, a data cache module, a TSN control module, a data forwarding module, a time delay sensing module, a time synchronization module and a bandwidth pre-allocation module, wherein the data preprocessing module, the data cache module, the TSN control module, the data forwarding module, the time delay sensing module, the time synchronization module and the bandwidth pre-allocation module are constructed; secondly, aiming at the time delay generated in the data transmission process, a time-sensitive network data transmission time delay analysis method is provided, and the method can effectively reduce the phenomena of time delay movement, packet loss and the like in data transmission and improve the reliability and the certainty of data transmission.
Description
Technical Field
The invention belongs to the field of communication, and particularly relates to a Time Sensitive network data transmission system and a Time delay analysis method.
Background
With the development of network technology and the expansion of vertical industry applications, more and more applications require the network to provide extremely low end-to-end delay, and applications such as industrial control and automatic driving require the network to provide transmission delay as low as several milliseconds and high-reliability transmission service. Ethernet is the most widely used lan communication protocol standard at present, and the standard ethernet provides frames in an asynchronous manner, and any device in the network can send data at any time and avoid collision through a random back-off mechanism, so that the data transmission time cannot be accurately and definitely determined, and meanwhile, large-scale data transmission increases network load, thereby causing large delay and even paralysis of communication, and failing to ensure the requirements of certainty and strict time requirements provided by industrial control tasks. Industrial ethernet is a set of solutions for the integration of industrial control networks and standard ethernet networks.
In order to accelerate and standardize the development of industrial ethernet, a new set of protocol standards, Time Sensitive Networking (TSN), is developed by the IEEE 802.1 working group under the IEEE 802.1 standard framework, aiming to establish a set of Time Sensitive mechanism for ethernet and increase the certainty and reliability of ethernet. TSNs are an enhancement to traditional ethernet and play an increasingly important role in security critical real time communications.
The core technology of the TSN comprises a plurality of optimization mechanisms such as network bandwidth reservation, accurate time synchronization, flow shaping and the like, and the requirements of low time delay, high reliability and the like of the network are ensured. The TSN can well meet the requirements of industrial Internet of things by utilizing the advantages of high bandwidth, safety, interoperability and the like, and meanwhile, the traffic shaping mechanism based on priority enables key data to be processed preferentially in transmission, in other words, the key data does not need to be transmitted after non-key data is transmitted, so that the transmission of the key data is faster and higher in quality, and the problems that packet loss, congestion and the like easily occur in data transmission of the traditional Ethernet are solved.
Disclosure of Invention
In the invention, firstly, a time-sensitive network data transmission system architecture is constructed, each module in the time-sensitive network data transmission system is described, and the function of each module is analyzed; secondly, aiming at the time delay generated during data transmission, a time-sensitive network data transmission time delay analysis method is provided for analyzing data transmission.
Aiming at the phenomena of packet loss, congestion and the like easily occurring in the data transmission process, the invention provides a time-sensitive network data transmission system architecture, which changes the current situations of high time delay and low reliability in data transmission by fusing the existing data transmission system and a time-sensitive network, and provides a time-sensitive network data transmission time delay analysis method to meet the time delay requirement of data transmission, wherein the time-sensitive network data transmission system is divided into 7 modules, and the specific functions of the modules are as follows.
The data preprocessing module extracts the data stream with determined size from the continuous data stream as the load data stream according to the bandwidth allocation result and completes the process of packaging into frames, the advantage of using the data frames is that the data is divided into recoverable blocks and whether the blocks are damaged or not can be easily checked, in the process of data transmission, if a fault occurs, some data frames are damaged but not the whole group of data, only the lost data frames need to be retransmitted, the speed and the precision of data transmission are greatly improved, and the integrity of the data is ensured.
The data buffer module mainly realizes the storage and classification of data, is used for temporarily storing the data when the data passes through elements with different transmission capacities, directly obtains the data from the buffer memory and omits a data processing flow when the data is requested again, thereby reducing the consumption of resources and improving the response speed, and meanwhile, the data buffer module can classify different data frames according to the transmission priority level, follows the principle of first-in first-out and ensures that the first-in target data frame can be processed preferentially.
And the TSN control module can sense the size and the number of the data frames in the data cache module, manage the data frames in a centralized control mode, send a gate control list to control the transmission gate element according to the data sensing condition and realize the control and management of the access of the data frames.
The data forwarding module is responsible for converting the parallel data frames transmitted from the transmission gate element into serial data frames for outputting, so that the transmission time can be greatly saved, the hardware cost is reduced, and the data forwarding module has higher flexibility.
The time delay sensing module is arranged in the data forwarding module, and the module obtains the determined time delay by sensing the data transmission condition and according to a certain rule method, thereby providing deterministic time delay guarantee for the data frame in the system.
The time synchronization module is mainly responsible for time synchronization of the data transmission system, provides accurate bounded delay by utilizing the time synchronization module, provides zero-blocking packet loss and delay jitter for the TSN control module, provides reliable and accurate network time synchronization by the time synchronization module, and strictly ensures synchronous transmission of delay-sensitive services in fixed-delay or symmetrical transmission media such as an Ethernet-based bridge network or a virtual bridge network.
The bandwidth pre-allocation module solves the problem of the transmission quantity of data frames in each data stream according to queues and forwarding protocols defined in IEEE 802.1Qat, completes the pre-processing of the bandwidth by presetting the transmission capacity of the data stream in the current period and the allocation proportion of different data streams, and can inform each data pre-processing module of how many data streams are needed to be encapsulated in the current scheduling period according to the bandwidth allocation condition, so that the data streams are ensured to be transmitted in a determined range, and the network paralysis caused by the disordered burst of the data streams is avoided.
According to the proposed time-sensitive network data transmission system architecture, the invention provides a time-sensitive network data transmission delay analysis method considering the storage and forwarding delay caused by scheduling of data streams in the total scheduling time, and parallel data streamsAfter passing through the data preprocessing module, the data are converted into a certain number of data frames according to different parallel data streamsTime of arrival of, parallel data streamsAll data frames in (1) are ordered and are denoted as. The first parallel data streamThe arrival time is defined as zero, assuming each parallel data streamAt a given scheduled timeIn the middle uniform arrangement, the data streams are parallelTo (1)A data frame arrival time of
Wherein the content of the first and second substances,denoted as scheduling delay;for parallel data streamsThe number of medium data frames;is as followsThe time at which a data frame enters the system.
After passing through the data forwarding module, willIs shown asIn a data streamData frame in serial data streamCorresponding position information in, parallel data streamsAfter passing through the data forwarding module, converted into a serial data streamAnd the data frame information carried by the parallel data stream is correspondingly processed according to the position information in the parallel data stream.
Order toRepresenting parallel data streamsAll converted to serial data streamThe corresponding set of (1), will beIn a data streamThe data frame leaves the data forwarding module and is converted into a serial data streamThe time of the middle data frame is defined as
Wherein the content of the first and second substances,for buffering the delay, it is a fixed value;the serial data stream is a serial data stream after passing through the data forwarding module;denoted as scheduling delay.
In the present invention, when data stream is transmitted, in order to avoid data stream queue collision, it is necessary to ensure that the departure time of each data frame is later than the time when each data frame is buffered, that is, each data frame is buffered
The above formula is the constraint condition of the data stream transmission of the present invention.
The beneficial effects of the invention are as follows.
(1) The invention provides a data transmission system architecture of a time-sensitive network, which comprises a data preprocessing module, a data cache module, a TSN control module, a data forwarding module, a time delay sensing module, a time synchronization module and a bandwidth pre-allocation module.
(2) The invention provides a time-sensitive network data transmission delay analysis method, which can effectively reduce the delay in data transmission and improve the reliability of a system by analyzing the problem of storage and forwarding delay caused by stream scheduling of a data stream in scheduling time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate a certain embodiment of the present invention, and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a diagram of a time sensitive network data transmission system architecture.
Detailed Description
The following detailed description of the present invention will be made with reference to the accompanying drawings and examples, which are provided for illustration of the present invention and are not intended to limit the scope of the present invention.
As shown in fig. 1, the present invention discloses a time-sensitive network data transmission system, which comprises the following specific processes.
S1: different data streams enter a data preprocessing module, the data preprocessing module extracts data streams with determined sizes from continuous data streams according to bandwidth allocation results to serve as load data streams, and the process of packaging and framing is completed. In this process, the bandwidth preprocessing module determines how many data frames are needed for transmission according to the bandwidth allocation condition.
S2: the data frame enters the data buffer module to queue and temporarily store, and meanwhile, the TSN control module can sense the size and the number of the data frame in the data buffer module and issue a control list to control the opening and closing of the transmission gate element according to the data sensing condition, so that the data frame is transmitted and managed.
S3: parallel data frames passing through the transmission gate element are converted in the data forwarding module and converted into serial data frames, and in the conversion process, the delay sensing module provides deterministic delay guarantee for the data frames. The time synchronization module provides accurate time synchronization for the whole data transmission system, reduces the phenomena of jitter, packet loss and the like of data transmission, and improves the reliability and the certainty of data transmission.
The invention provides a data transmission system architecture of a time-sensitive network, which comprises a data preprocessing module, a data caching module, a TSN control module, a data forwarding module, a time delay sensing module, a time synchronization module and a bandwidth pre-allocation module, wherein the specific functions of the modules are as follows.
The data preprocessing module extracts the data stream with the determined size from the continuous data stream according to the bandwidth allocation result to be used as the load data stream and completes the process of packaging and framing, the advantage of using the data frame is that the data is divided into recoverable blocks and whether the blocks are damaged or not can be easily checked, in the process of data transmission, if a fault occurs, some data frames are damaged but not the whole group of data, only the lost data frames need to be retransmitted, the speed and the precision of data transmission are greatly improved, and the integrity of the data is guaranteed.
The data buffer module mainly realizes the storage and classification of data, is used for temporarily storing the data when the data passes through elements with different transmission capacities, directly obtains the data from the buffer memory and omits a data processing flow when the data is requested again, thereby reducing the consumption of resources and improving the response speed, and meanwhile, the data buffer module can classify different data frames according to the transmission priority level, follows the principle of first-in first-out and ensures that the first-in target data frame can be processed preferentially.
And the TSN control module can sense the size and the number of the data frames in the data cache module, manage the data frames in a centralized control mode, send a gate control list to control the transmission gate element according to the data sensing condition and realize the control and management of the access of the data frames.
The data forwarding module is responsible for converting the parallel data frames transmitted from the transmission gate element into serial data frames for outputting, so that the transmission time can be greatly saved, the hardware cost is reduced, and the data forwarding module has higher flexibility.
The time delay sensing module is arranged in the data forwarding module, and the module obtains the determined time delay according to a certain rule method by sensing the data transmission condition, thereby providing a deterministic time delay guarantee for the data frame in the system.
The time synchronization module is mainly responsible for time synchronization of the data transmission system, provides accurate bounded delay by utilizing the time synchronization module, provides zero-blocking packet loss and delay jitter for the TSN control module, provides reliable and accurate network time synchronization by the time synchronization module, and strictly ensures synchronous transmission of delay-sensitive services in fixed-delay or symmetrical transmission media such as an Ethernet-based bridge network or a virtual bridge network.
The bandwidth pre-allocation module solves the problem of the transmission quantity of data frames in each data stream according to queues and forwarding protocols defined in IEEE 802.1Qat, completes the pre-processing of the bandwidth by presetting the transmission capacity of the data stream in the current period and the allocation proportion of different data streams, and can inform each data pre-processing module of how many data streams are needed to be encapsulated in the current scheduling period according to the bandwidth allocation condition, so that the data streams are ensured to be transmitted in a determined range, and the network paralysis caused by the disordered burst of the data streams is avoided.
According to the time sensitive network data transmission system architecture, the invention considers the storage and forwarding delay caused by stream scheduling of the data stream in the total scheduling time, thereby providing a time sensitive network data transmission delay analysis method and paralleling the data streamAfter passing through the data preprocessing module, the data are converted into a certain number of data frames according to different parallel data streamsTime of arrival of, parallel data streamsAll data frames in (1) are ordered and are denoted as. The first parallel data streamThe arrival time is defined as zero, assuming each parallel data streamAt a given scheduled timeIn the middle uniform arrangement, the data streams are parallelTo (1)A data frame arrival time of
Wherein the content of the first and second substances,denoted as scheduling delay;for parallel data streamsThe number of medium data frames;is as followsThe time at which a data frame enters the system.
After passing through the data forwarding module, willIs shown asIn a data streamData frame in serial data streamCorresponding position information in, parallel data streamsAfter passing through the data forwarding module, converted into a serial data streamAnd the data frame information carried by the parallel data stream is correspondingly processed according to the position information in the parallel data stream.
Order toRepresenting parallel data streamsAll converted to serial data streamThe corresponding set of (1), will beIn a data streamThe data frame leaves the data forwarding module and is converted into a serial data streamThe time of the middle data frame is defined as
Wherein the content of the first and second substances,for buffering the delay, it is a fixed value;the serial data stream is a serial data stream after passing through the data forwarding module;denoted as scheduling delay.
In the present invention, when data stream is transmitted, in order to avoid data stream queue collision, it is necessary to ensure that the departure time of each data frame is later than the time when each data frame is buffered, that is, each data frame is buffered
The above formula is the constraint condition of the data stream transmission of the present invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, it should be noted that, for those skilled in the art, many modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.
Claims (4)
1. A time sensitive network data transmission system and a time delay analysis method are characterized in that the method is realized based on the time sensitive network data transmission system, and the time delay generated by the system is analyzed, so that the phenomena of jitter, packet loss and the like of data transmission are reduced, and the reliability and the certainty of the data transmission are improved.
2. The system according to claim 1, wherein the system comprises a data preprocessing module, a data caching module, a TSN control module, a data forwarding module, a delay sensing module, a time synchronization module, and a bandwidth pre-allocation module, and the modules have the following specific functions:
the data preprocessing module extracts the data stream with the determined size from the continuous data stream as a load data stream according to the bandwidth allocation result and completes the process of packaging and framing;
the data cache module is mainly used for storing and classifying data, temporarily storing the data when the data passes through elements with different transmission capacities, and directly acquiring the data from the cache to omit a data processing flow when the data is requested again, so that the consumption of resources is reduced, and the response speed is improved;
the TSN control module can sense the size and the number of data frames in the data cache module, manage the data frames in a centralized control mode, send a gate control list to control a transmission gate element according to the data sensing condition and realize the control and management of the access of the data frames;
the data forwarding module is responsible for converting the parallel data frames transmitted from the transmission gate element into serial data frames for outputting, so that the transmission time can be greatly saved, the hardware cost is reduced, and the flexibility is higher;
the time delay sensing module obtains the determined time delay according to a certain rule method by sensing the data transmission condition and provides a deterministic time delay guarantee for the data frame in the system;
the time synchronization module is mainly responsible for time synchronization of a data transmission system, provides accurate bounded delay by utilizing the time synchronization module and provides zero-blocking packet loss and time delay jitter for the TSN control module;
and the bandwidth pre-allocation module solves the problem of the transmission quantity of the data frames in each data stream according to the queue and forwarding protocol defined in the IEEE 802.1 Qat.
3. The system of claim 1, wherein the system comprises the following steps:
s1: different data streams enter a data preprocessing module, the data preprocessing module extracts data streams with determined sizes from continuous data streams as load data streams according to bandwidth allocation results and completes a frame packaging process, and in the process, the bandwidth preprocessing module can determine how many data frames are required to be transmitted according to bandwidth allocation conditions;
s2: the data frames enter a data buffer module to be queued and temporarily stored, and meanwhile, a TSN control module can sense the size and the number of the data frames in the data buffer module and issue a gate control list to control the opening and closing of a transmission gate element according to the data sensing condition, so that the data frames are transmitted and managed;
s3: parallel data frames passing through the transmission gate element are converted in the data forwarding module and converted into serial data frames, in the conversion process, the time delay sensing module provides deterministic time delay guarantee for the data frames, the time synchronization module provides accurate time synchronization for the whole data transmission system, the phenomena of jitter, packet loss and the like of data transmission are reduced, and the reliability and the certainty of data transmission are improved.
4. The method for analyzing data transmission delay of time-sensitive network according to claim 1, wherein the delay analysis method considers the problem of storage and forwarding delay caused by stream scheduling during the scheduling time, and the occurrence of such problem can cause data stream queue collision, so that it is required to ensure that the departure time of each data frame is later than the buffered time of each data frame, thereby effectively reducing the delay in data transmission and improving the reliability of the system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110456650.7A CN113132258A (en) | 2021-04-27 | 2021-04-27 | Time-sensitive network data transmission system and time delay analysis method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110456650.7A CN113132258A (en) | 2021-04-27 | 2021-04-27 | Time-sensitive network data transmission system and time delay analysis method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113132258A true CN113132258A (en) | 2021-07-16 |
Family
ID=76780104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110456650.7A Pending CN113132258A (en) | 2021-04-27 | 2021-04-27 | Time-sensitive network data transmission system and time delay analysis method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113132258A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113938397A (en) * | 2021-10-13 | 2022-01-14 | 苏州龙卷风云科技有限公司 | Method and device for predicting SR type flow delay in vehicle-mounted time-sensitive network |
-
2021
- 2021-04-27 CN CN202110456650.7A patent/CN113132258A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113938397A (en) * | 2021-10-13 | 2022-01-14 | 苏州龙卷风云科技有限公司 | Method and device for predicting SR type flow delay in vehicle-mounted time-sensitive network |
CN113938397B (en) * | 2021-10-13 | 2024-02-02 | 苏州龙卷风云科技有限公司 | SR class traffic delay prediction method and device in vehicle-mounted time-sensitive network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112105080B (en) | Time-sensitive network data transmission system and transmission method | |
KR100823785B1 (en) | Method and system for open-loop congestion control in a system fabric | |
EP2741452A1 (en) | Method for data transmission among ECUs and/or measuring devices | |
CN100550852C (en) | A kind of method and device thereof of realizing mass port backpressure | |
WO2012065477A1 (en) | Method and system for avoiding message congestion | |
WO2023155578A1 (en) | Time-sensitive network switch | |
WO2011120467A2 (en) | Message order-preserving processing method, order-preserving coprocessor and network equipment | |
JP2000050373A (en) | Variable speed digital exchange system | |
CN103036805B (en) | For improving the system and method for group shared memory architecture multicast performance | |
CN110266606B (en) | Active queue management optimization method and device in edge network | |
CN113132258A (en) | Time-sensitive network data transmission system and time delay analysis method | |
US11218394B1 (en) | Dynamic modifications to directional capacity of networking device interfaces | |
CN115514710B (en) | Weak connection flow management and control method based on self-adaptive sliding window | |
CN113904994B (en) | Method for uniformly reporting big data of home gateway to platform | |
JP4276094B2 (en) | Communication apparatus and priority control method for performing priority control of packet | |
US7164686B2 (en) | Stepwise quality-of-service scheduling method in output-buffered switches for broadband networks | |
AlRababah | Data Flows Management and Control in Computer Networks | |
CN114531399A (en) | Memory blocking balance method and device, electronic equipment and storage medium | |
CN1402472A (en) | Method for implementing dynamic partial buffer share based on network processor platform | |
CN117938764A (en) | Time-sensitive network asynchronous flow scheduling method and system based on FPGA | |
Maegawa et al. | A Study on emulating automotive IP networks using network virtualization | |
CN116614449B (en) | Application layer-oriented self-adaptive flow control device and method | |
KR100462475B1 (en) | Apparatus for queue scheduling using linear control and method therefor | |
Vila-Carbó et al. | Analysis of switched Ethernet for real-time transmission | |
Zhang | Burst Forwarding Network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication |