CN114884890A - Time-sensitive network data frame preemption method - Google Patents

Time-sensitive network data frame preemption method Download PDF

Info

Publication number
CN114884890A
CN114884890A CN202210439319.9A CN202210439319A CN114884890A CN 114884890 A CN114884890 A CN 114884890A CN 202210439319 A CN202210439319 A CN 202210439319A CN 114884890 A CN114884890 A CN 114884890A
Authority
CN
China
Prior art keywords
mpuck
frame
packet
data
time
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
Application number
CN202210439319.9A
Other languages
Chinese (zh)
Inventor
刘勇
方震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC 58 Research Institute
Original Assignee
CETC 58 Research Institute
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by CETC 58 Research Institute filed Critical CETC 58 Research Institute
Priority to CN202210439319.9A priority Critical patent/CN114884890A/en
Publication of CN114884890A publication Critical patent/CN114884890A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/245Traffic characterised by specific attributes, e.g. priority or QoS using preemption

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 method for preempting a time-sensitive network data frame, and belongs to the field of time-sensitive networks. The PreempteaPacket forms mPuck and sends; if an ExpressPacket preemption request is monitored, the Preemptable Packet is paused to form mPuck; starting to send an ExpressPacket; and after the ExpressPacket sending is finished, the sending of the data sent by the mPuck and the residual data of the PreempteablePacket is resumed. The method is optimized on the basis of an IEEEStd802.3br & bu frame preemption protocol, maintains the functions and flow of the original frame preemption protocol, and optimizes the response strategy when the preemptible frame is preempted under the specific condition that the sent data length of the preemptible frame is less than the length of a specified threshold value, immediately realizes the sending of the fast frame, and eliminates the uncertain time delay problem in the time-sensitive frame preemption.

Description

Time-sensitive network data frame preemption method
Technical Field
The invention relates to the technical field of time-sensitive networks, in particular to a method for preempting data frames of a time-sensitive network.
Background
The development of new-generation information communication technologies such as the Internet of things, the 5G and the industrial Internet accelerates the transformation and upgrading pace of the traditional industry; the communication requirements of the physical interconnection are also increased, and especially the requirements for low latency, low jitter and high reliability for carrying are very strict. Traditional ethernet networks have been unable to meet the increasing data and widely distributed network demands, and TSN (Time-Sensitive Networking) technology has come.
The TSN provides deterministic data transmission capability through mechanisms such as clock synchronization, data scheduling, and network configuration based on the conventional ethernet, thereby allowing various periodic data and aperiodic data to be transmitted in the same network, so that the standard ethernet has the advantage of deterministic transmission, and has become a key technology of wide focus through a vendor-independent standardization process.
TSN is a series of standards developed by the working group that define the mechanism for time-sensitive transmission over ethernet. The IEEE Std 802.1br & bu standard defines the technical standard for frame preemption: when a time sensitive frame needs to be transmitted, the common frame in the sending process can be cut off in a slicing mode, the time sensitive frame is sent preferentially, and the rest part of the common frame is sent after the time sensitive frame is sent. Because extra sign symbols are introduced in the fragmentation process, in order to reduce the introduced extra traffic, if the transmitted data is less than 60 bytes and the data to be transmitted is less than 60 bytes when preemption occurs, the transmission of a common frame is maintained, and in the worst case, a time sensitive frame needs to wait for the 120-byte data sequence and the 4-byte frame check sequence to be transmitted before being transmitted, which brings uncertain time delay to the time sensitive frame.
Therefore, the frame preemption method for reducing the uncertain time delay is explored, and the problem that the deterministic transmission capability of data in a time-sensitive network needs to be improved is solved urgently.
Disclosure of Invention
The invention aims to provide a method for preempting a time-sensitive network data frame, which aims to solve the problem of uncertain time delay in the conventional time-sensitive frame preemption.
In order to solve the technical problem, the invention provides a method for preempting a time-sensitive network data frame, which comprises the following steps:
step 1, the Preemptable Packet forms mPuck and sends;
step 2, if an Express Packet preemption request is monitored, pausing the residual data of the Preemptable Packet to form an mPuck;
step 3, starting to send an Exress Packet;
and 4, recovering the residual data of the Preemptable Packet after the Express Packet is sent, and continuously forming the mPuck and sending the mPuck.
In an embodiment of the present invention, after step 2 and before step 3, the method for preempting a time-sensitive network data frame further includes:
detecting the sent data field length of the current mPuck;
and if the length of the sent data field is smaller than the specified threshold, canceling the sending of the current mPuck, and keeping the sent data of the current mPuck.
In an embodiment of the present invention, if the length of the sent data field is smaller than the specified threshold, the step 3 includes: forming a new mPuck by using an Express Packet and sending the new mPuck;
if the length of the sent data field is not less than the specified threshold, the step 3 includes: adding a frame check sequence to the current mPuck and continuing to finish sending; express Packet is composed into a new mpack and sent.
In an embodiment of the present invention, if the length of the sent data field is smaller than the specified threshold, the step 4 includes: inserting the reserved mPuck before the residual data of the Preemptable Packet to send the data, and then forming the mPuck and sending the mPuck;
if the length of the sent data field is not less than the specified threshold, the step 4 includes: and (5) composing the Preemptable Packet residual data into mPuck and sending.
In an embodiment of the present invention, the Express Packet is a fast frame, and the fast frame is a time-sensitive frame with the highest transmission priority;
the Preemptable Packet is a common frame, and the transmission priority of the Preemptable Packet is lower than that of the time-sensitive frame;
the mPuck is a media access control combined data frame.
In an embodiment of the present invention, the mPacket sent data is data after the current mPacket frame delimiter.
In an embodiment of the present invention, the Preemptable Packet, the Express Packet, and the mPacket all conform to the IEEE Std802.3br standard definition.
In the method for preempting the time-sensitive network data frame, a Preemptable Packet forms an mPuck and sends the mPuck; if an Express Packet preemption request is monitored, pausing the Preemptable Packet to form an mPuck; starting to send an Express Packet; and after the Express Packet transmission is finished, the transmission of the data already transmitted by the mPuck and the residual data of the Preemptable Packet is recovered. The method is optimized on the basis of an IEEE Std802.3br & bu frame preemption protocol, maintains the functions and flow of the original frame preemption protocol, and optimizes the response strategy when the preemptible frame is preempted under the specific condition that the sent data length of the preemptible frame is less than the length of a specified threshold value, thereby immediately realizing the transmission of the fast frame and eliminating the uncertain time delay problem in the preemption of the time sensitive frame.
Drawings
Fig. 1 is a schematic flow chart of a method for preempting a time-sensitive network data frame according to the present invention.
Detailed Description
The following describes a method for preempting a time-sensitive network data frame according to the present invention in detail with reference to the accompanying drawings and specific embodiments. Advantages and features of the present invention will become apparent from the following description and from the claims. It is to be noted that the drawings are in a very simplified form and are not to precise scale, which is merely for the purpose of facilitating and distinctly claiming the embodiments of the present invention.
In the present embodiment, the terms of Preemptable Packet, Express Packet, mPacket, etc. are all derived from the IEEE Std802.3br standard definition. Wherein the Express Packet is a time-sensitive frame with the highest transmission priority; the Preemptable Packet is a normal frame, and the transmission priority is lower than the Express Packet (time-sensitive frame). The mPacket sent data is the data after the current mPacket frame delimiter.
The invention provides a method for preempting a time-sensitive network data frame, which comprises the following steps:
s1: a media access control merged data frame (mPacket) is formed by preemptible Packet frames (i.e. common frames) and is sent;
s2: when monitoring that an Express Packet (namely a fast frame) preemption request, pausing to form the residual data of the Preemptable Packet into an mPuck;
s3: detecting the length of the sent data field of the current mPuck, and if the length of the sent data field is smaller than a specified threshold, executing S4; otherwise, executing S5; wherein the specified threshold may be set to 60 bytes.
S4: canceling the current mPacket transmission, retaining the data sent by the current mPacket, and then executing S6;
s5: adding a frame check sequence to the current mPacket and finishing the transmission, and then executing S6;
s6: forming a new mPuck by using an Express Packet and sending the new mPuck;
s7: if the step S6 is obtained by skipping from S4, before the Preemptable Packet residual data, the sent data saved in the step S4 is inserted, and then the mPacket is formed and sent;
if the step S6 is obtained by jumping to S5, the Preemptable Packet residual data is composed into mPacket and sent.
The above description is only for the purpose of describing the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention, and any variations and modifications made by those skilled in the art based on the above disclosure are within the scope of the appended claims.

Claims (7)

1. A method for preempting a time sensitive network data frame is characterized by comprising the following steps:
step 1, the Preemptable Packet forms mPuck and sends;
step 2, if an Express Packet preemption request is monitored, pausing the residual data of the Preemptable Packet to form an mPuck;
step 3, starting to send Express Packet;
and 4, recovering the residual data of the Preemptable Packet after the Express Packet is sent, and continuously forming the mPuck and sending the mPuck.
2. The method of time sensitive network data frame preemption of claim 1, after step 2 and before step 3, further comprising:
detecting the sent data field length of the current mPuck;
and if the length of the sent data field is smaller than a specified threshold, canceling the sending of the current mPuck, and keeping the sent data of the current mPuck.
3. The method of preempting a time sensitive network data frame according to claim 2, wherein if the sent data field length is less than a specified threshold, said step 3 comprises: forming a new mPuck by using an Express Packet and sending the new mPuck;
if the length of the sent data field is not less than the specified threshold, the step 3 includes: adding a frame check sequence to the current mPuck and continuing to finish sending; express Packet is composed into a new mpack and sent.
4. The method of preempting time sensitive network data frames according to claim 3, wherein if the sent data field length is less than a specified threshold, said step 4 comprises: inserting the reserved mPuck before the residual data of the Preemptable Packet to send the data, and then forming the mPuck and sending the mPuck;
if the length of the sent data field is not less than the specified threshold, the step 4 includes: and (5) composing the Preemptable Packet residual data into mPuck and sending.
5. The method for preempting time-sensitive network data frames according to claim 1, wherein said Express Packet is a fast frame, said fast frame is a time-sensitive frame, and a transmission priority thereof is highest;
the Preemptable Packet is a common frame, and the transmission priority of the Preemptable Packet is lower than that of the time-sensitive frame;
the mPuck is a media access control combined data frame.
6. The method of claim 1, wherein the mPacket sent data is data after a current mPacket frame delimiter.
7. The method of claim 1, wherein the Preemptable Packet, the Express Packet, and the mPacket all conform to IEEE Std802.3br standard definitions.
CN202210439319.9A 2022-04-25 2022-04-25 Time-sensitive network data frame preemption method Pending CN114884890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210439319.9A CN114884890A (en) 2022-04-25 2022-04-25 Time-sensitive network data frame preemption method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210439319.9A CN114884890A (en) 2022-04-25 2022-04-25 Time-sensitive network data frame preemption method

Publications (1)

Publication Number Publication Date
CN114884890A true CN114884890A (en) 2022-08-09

Family

ID=82672435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210439319.9A Pending CN114884890A (en) 2022-04-25 2022-04-25 Time-sensitive network data frame preemption method

Country Status (1)

Country Link
CN (1) CN114884890A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116032846A (en) * 2022-11-17 2023-04-28 中国第一汽车股份有限公司 MAC IP core device supporting frame preemption, data frame transmitting method and receiving method supporting frame preemption
CN116405163A (en) * 2023-04-13 2023-07-07 中国电子科技集团公司第五十八研究所 Transmission reliability enhancement method for time sensitive network TSN key data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190007941A1 (en) * 2017-06-28 2019-01-03 Intel Corporation Device, Method and System to Implement Preemptive Transmission of a Wireless Time Sensitive Network Frame
US20200367263A1 (en) * 2019-08-01 2020-11-19 Intel Corporation Medium access control layer transmission opportunity preemption for wi-fi
CN112291161A (en) * 2020-10-10 2021-01-29 燕山大学 Time-sensitive network mixed flow scheduling method
CN112332951A (en) * 2020-11-20 2021-02-05 昆高新芯微电子(江苏)有限公司 Ethernet frame preemption method, device, equipment and storage medium
CN112821977A (en) * 2021-04-16 2021-05-18 之江实验室 Asynchronous low-delay time sensitive data processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190007941A1 (en) * 2017-06-28 2019-01-03 Intel Corporation Device, Method and System to Implement Preemptive Transmission of a Wireless Time Sensitive Network Frame
US20200367263A1 (en) * 2019-08-01 2020-11-19 Intel Corporation Medium access control layer transmission opportunity preemption for wi-fi
CN112291161A (en) * 2020-10-10 2021-01-29 燕山大学 Time-sensitive network mixed flow scheduling method
CN112332951A (en) * 2020-11-20 2021-02-05 昆高新芯微电子(江苏)有限公司 Ethernet frame preemption method, device, equipment and storage medium
CN112821977A (en) * 2021-04-16 2021-05-18 之江实验室 Asynchronous low-delay time sensitive data processing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张弛;韩丽;杨宏;: "时间敏感网络关键技术与标准化现状", 自动化仪表, no. 03 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116032846A (en) * 2022-11-17 2023-04-28 中国第一汽车股份有限公司 MAC IP core device supporting frame preemption, data frame transmitting method and receiving method supporting frame preemption
CN116405163A (en) * 2023-04-13 2023-07-07 中国电子科技集团公司第五十八研究所 Transmission reliability enhancement method for time sensitive network TSN key data

Similar Documents

Publication Publication Date Title
CN114884890A (en) Time-sensitive network data frame preemption method
CN109981208B (en) Method and device for transmitting service flow based on flexible Ethernet Flexe
TWI601395B (en) Method for traffic shaping of data frames in network and device and computer program product therefor
CN112491493B (en) Time slot allocation method and message forwarding method for time-sensitive network
CN113068263B (en) Time slot scheduling method for time-sensitive network, terminal and storage medium
US6954651B2 (en) Radio communication system using timeout control with flexible timeout interval setting
CN112332951B (en) Ethernet frame preemption method, device, equipment and storage medium
US11882053B2 (en) Communication system, communication method, and computer program product
JP7191253B2 (en) A method implemented by computer means of a communicating entity in a packet-switched network, and a computer program and computer-readable non-transitory recording medium thereof, and a communicating entity of a packet-switched network
CN115914134A (en) Vehicle-mounted Ethernet data transmission method and device based on TSN frame preemption mechanism
CN112565105A (en) Method, device and equipment for reducing time-sensitive frame forwarding time delay
CN115695576B (en) Data frame conversion method and device compatible with TSN frame preemption protocol
JP5372699B2 (en) In-vehicle network device
CN111181678B (en) Time synchronization method applied to time-triggered FC network
CN115065646A (en) Message timing sending method and device based on software and hardware cooperation
Satka et al. Experimental Analysis of Wireless TSN Networks for Real-time Applications
CN111510953A (en) Data processing method, terminal and storage medium
CN111092712B (en) Preemptive scheduling method for time-triggered Ethernet
CN114584258B (en) Service delay reduction method, device, equipment and readable storage medium
CN114500581B (en) Method for realizing equal-delay distributed cache Ethernet MAC architecture
CN115883482B (en) Implementation method for enhancing TSN equipment gating list and related equipment
US20230171198A1 (en) Communication control device, information processing device, communication control method, and information processing method
CN114650445B (en) TLV data packet filtering method, storage medium and terminal equipment
JP2024504520A (en) A method implemented in a packet-switched network for scheduling the transmission of Ethernet frames
US20230171200A1 (en) Communication control device, information processing device, communication control method, information processing method, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination