CN111092712B - Preemptive scheduling method for time-triggered Ethernet - Google Patents

Preemptive scheduling method for time-triggered Ethernet Download PDF

Info

Publication number
CN111092712B
CN111092712B CN201911192136.6A CN201911192136A CN111092712B CN 111092712 B CN111092712 B CN 111092712B CN 201911192136 A CN201911192136 A CN 201911192136A CN 111092712 B CN111092712 B CN 111092712B
Authority
CN
China
Prior art keywords
message
preemption
byte
sent
sending
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.)
Active
Application number
CN201911192136.6A
Other languages
Chinese (zh)
Other versions
CN111092712A (en
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.)
Xian Aeronautics Computing Technique Research Institute of AVIC
Original Assignee
Xian Aeronautics Computing Technique Research Institute of AVIC
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 Xian Aeronautics Computing Technique Research Institute of AVIC filed Critical Xian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN201911192136.6A priority Critical patent/CN111092712B/en
Publication of CN111092712A publication Critical patent/CN111092712A/en
Application granted granted Critical
Publication of CN111092712B publication Critical patent/CN111092712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0058Allocation criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0015Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control

Abstract

The invention belongs to the technical field of network communication, and particularly relates to a preemptive scheduling method for time-triggered Ethernet, which solves the risk problem that interrupted ET messages may pass through frame verification at a receiving end. The invention can reduce the transmission jitter of TT message, ensure the reliable transmission of ET message, and enlarge the application range of the preemptive dispatching method of time-triggered Ethernet by adopting the method of constructing invalid frame check sequence.

Description

Preemptive scheduling method for time-triggered Ethernet
Technical Field
The invention belongs to the technical field of network communication, and relates to a preemptive scheduling method for time-triggered Ethernet.
Background
Time triggered ethernet may implement a hybrid communication of time triggered TT messages, event triggered ET messages (rate limited RC messages or, as far as possible, BE messages) on a unified network architecture.
Considering contention of TT message and ET message data traffic on network link resources, the scheduling policy directly affects the system performance of the time triggered Ethernet. The following scheduling methods are currently included: a priority scheduling method, a reserved time period scheduling method and a preemptive scheduling method. The priority scheduling method enables TT messages to have large jitter, and system performance is affected. The reserved time period scheduling method may cause a problem of bandwidth waste or complex implementation. The preemptive scheduling method has the advantages of small TT message jitter and high network bandwidth utilization rate, but has the risk problem that a receiver only receives fragment data of an ET message and frame check is possible, and the use range is limited.
Disclosure of Invention
The invention provides a preemptive scheduling method for time-triggered Ethernet, which can reduce the transmission jitter of TT messages and solve the risk problem that interrupted ET messages may pass through frame verification at a receiving end by adopting a method of constructing an invalid frame verification sequence.
In order to achieve the purpose, the invention is realized by the following technical scheme:
a preemptive scheduling method for time-triggered Ethernet comprises the following steps:
step 1, sending TT messages at predefined sending moments of a TT message sending schedule, wherein the predefined sending moments are called preemption moments, and if no ET message is sent, the TT messages are normally sent; otherwise, executing step 2;
step 2, judging the length of an ET message segment sent out before the preemption time, and if the length of the ET message segment sent out before the preemption time is less than 64 bytes, executing step 3; if the length of the ET message fragment sent before the preemption moment is more than or equal to 64 bytes and is less than (frame length-1) bytes of the ET message, executing the step 4; if the length of the ET message fragment sent before the preemption moment is equal to the (frame length-1) byte of the ET message, executing the step 6;
step 3, interrupting the ET message being sent, and sending a TT message at the preemption moment;
step 4, before the preemption moment, forming FCS1 by 4 bytes of data sent by the ET message at last, judging whether FCS1 is equal to the check value of the frame content between the 1 st byte and the 5 th byte before the preemption moment of the sent ET message segment, if so, executing step 5, and if not, sending TT message at the preemption moment;
step 5, sending out a 1-byte construction data after the preemption moment, and sending the preempted TT message after sending out the 1-byte construction data; the 1-byte construction data construction process comprises the following steps: 1-byte construction data is placed after 3-byte data sent out at the end of an ET message segment, and a 4-byte data FCS2 is reconstructed, so that FCS2 is not equal to a check value of frame contents between the 1 st byte of the sent-out ET message segment and the 4 th reciprocal byte before the preemption moment;
and 6, reserving 1 byte data time after the preemption moment, and sending the preempted TT message after completely sending out the last byte data of the ET message.
Further, in step 1, the ET message includes an RC message or a BE message.
Compared with the prior art, the technical scheme of the invention has the beneficial effects that:
the method can solve the risk problem that the interrupted ET message segment can pass through the frame verification at the receiving end in the preemptive scheduling method of the time-triggered Ethernet, ensure the reliable transmission of the ET message and enlarge the application range of the preemptive scheduling method of the time-triggered Ethernet.
Drawings
FIG. 1 is a scenario 1 in which a TT message preempts an ET message in the method of the present invention;
FIG. 2 is a scenario 2 of the TT message preempting the ET message in the method of the present invention;
fig. 3 is a TT message preemption ET message scenario 3 in the method of the present invention.
Detailed Description
Embodiments of the present invention are further described below with reference to the accompanying drawings.
In the process of time-triggered Ethernet scheduling, the preemptive scheduling method is used, so that the advantages of reducing TT message transmission jitter and increasing the network bandwidth utilization rate are achieved, but the risk problem that ET message (RC message or BE message) segments interrupted by TT messages may pass through frame check and check of a receiving party exists, and the application range of the preemptive scheduling method is limited. The invention provides a preemptive scheduling method for time-triggered Ethernet, which can reduce the transmission jitter of TT messages by adopting a method for constructing an invalid frame check sequence, solve the risk problem that interrupted ET messages can pass through frame check at a receiving end and ensure the reliable transmission of the ET messages.
According to the time triggered Ethernet standard, the frame structures of TT message and ET message adopt the common Ethernet frame structure, and are distinguished by the Ethernet frame type field. When a TT message is transmitted at a transmission time (called a preemption time) predefined by the TT message transmission schedule, there are four cases:
1) no ET message is in transmission; 2) the length of the sent ET message segment is less than 64 bytes; 3) the length of the sent ET message segment is greater than or equal to 64 bytes and smaller than (frame length-1) bytes of the ET message; 4) the length of the transmitted ET message segment is equal to (frame length-1) bytes of the ET message.
Aiming at the four situations, a scheduling method is respectively designed:
1) normally sending TT information at the preemption moment;
2) interrupting the ET message being sent, and sending a TT message at the preemption moment;
3) judging whether an FCS1 formed by 4 bytes of data sent by the ET message before the preemption time is equal to a check value of frame contents between the 1 st byte of an sent ET message fragment and the 5 th reciprocal byte before the preemption time, if so, sending a 1-byte construction data after the preemption time, wherein the principle of the 1-byte construction data is as follows: after the last 3 bytes of data sent out by the ET message segment, a 4-byte data FCS2 is reconstructed, so that FCS2 is not equal to the check value of the frame content between the 1 st byte and the 4 th byte before the preemption moment of the sent out ET message segment; after the 1 byte construction data is sent, sending the occupied TT message;
4) and reserving 1 byte data time after the preemption moment, and sending the preempted TT message after completely sending out the last byte data of the ET message.
Based on the above description, the present invention provides a preemptive scheduling method for time-triggered ethernet, which comprises the following detailed steps:
step 1, when TT information is sent at the sending time (called as preemption time) predefined by a TT information sending schedule, if no ET information is in sending, the TT information is normally sent; otherwise, executing step 2;
step 2, judging the length of an ET message segment sent out before the preemption time, and if the length of the ET message segment sent out before the preemption time is less than 64 bytes, executing step 3 as shown in figure 1; if the length of the ET message fragment sent before the preemption moment is greater than or equal to 64 bytes and smaller than (frame length-1) bytes of the ET message, as shown in fig. 2, executing step 4; if the length of the ET message fragment sent before the preemption moment is equal to (frame length-1) bytes of the ET message, as shown in FIG. 3, executing step 6;
step 3, as shown in fig. 1, interrupting the ET message being sent, and sending a TT message at the preemption time T3;
step 4, as shown in fig. 2, determining whether an FCS1 composed of 4 bytes of data (i.e., between time T5 and time T3 in fig. 2) sent by the ET message last before the preemption time T3 is equal to a check value of a frame content between the 1 st byte of the sent ET message segment and the 5 th byte before the last preemption time (i.e., between time T1 and time T5 in fig. 2), if so, executing step 5, and if not, sending a TT message at the preemption time;
step 5, sending out a 1-byte construction data after the preemption time T3, wherein the principle of the 1-byte construction data is as follows: the 1-byte construction data is put after the last sent 3-byte data in the ET message segment (i.e. between time T6 and T3 in fig. 2), a 4-byte data FCS2 is reassembled, so that the FCS2 is not equal to the check value of the frame content between the 1 st byte of the sent ET message segment and the 4 th byte data before the preemption time (i.e. time T1 to T6 in fig. 2), and after the 1-byte construction data is sent, the preempted TT message is sent at time T4;
step 6, as shown in fig. 3, after the preemption time T3, a 1-byte data time is reserved, and after the last byte data of the ET message is completely sent out, the preempted TT message is sent at time T2.

Claims (2)

1. A preemptive scheduling method for time-triggered Ethernet is characterized by comprising the following steps:
step 1, sending TT messages at predefined sending moments of a TT message sending schedule, wherein the predefined sending moments are called preemption moments, and if no ET message is sent, the TT messages are normally sent; otherwise, executing step 2;
step 2, judging the length of an ET message segment sent out before the preemption time, and if the length of the ET message segment sent out before the preemption time is less than 64 bytes, executing step 3; if the length of the ET message fragment sent before the preemption moment is more than or equal to 64 bytes and is less than (frame length-1) bytes of the ET message, executing the step 4; if the length of the ET message fragment sent before the preemption moment is equal to the (frame length-1) byte of the ET message, executing the step 6;
step 3, interrupting the ET message being sent, and sending a TT message at the preemption moment;
step 4, before the preemption moment, forming FCS1 by 4 bytes of data sent by the ET message at last, judging whether FCS1 is equal to the check value of the frame content between the 1 st byte and the 5 th byte before the preemption moment of the sent ET message segment, if so, executing step 5, and if not, sending TT message at the preemption moment;
step 5, sending out a 1-byte construction data after the preemption moment, and sending the preempted TT message after sending out the 1-byte construction data; the 1-byte construction data construction process comprises the following steps: 1-byte construction data is placed after 3-byte data sent out at the end of an ET message segment, and a 4-byte data FCS2 is reconstructed, so that FCS2 is not equal to a check value of frame contents between the 1 st byte of the sent-out ET message segment and the 4 th reciprocal byte before the preemption moment;
and 6, reserving 1 byte data time after the preemption moment, and sending the preempted TT message after completely sending out the last byte data of the ET message.
2. The time-triggered ethernet preemptive scheduling method according to claim 1, wherein: in step 1, the ET message includes an RC message or a BE message.
CN201911192136.6A 2019-11-28 2019-11-28 Preemptive scheduling method for time-triggered Ethernet Active CN111092712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911192136.6A CN111092712B (en) 2019-11-28 2019-11-28 Preemptive scheduling method for time-triggered Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911192136.6A CN111092712B (en) 2019-11-28 2019-11-28 Preemptive scheduling method for time-triggered Ethernet

Publications (2)

Publication Number Publication Date
CN111092712A CN111092712A (en) 2020-05-01
CN111092712B true CN111092712B (en) 2022-04-05

Family

ID=70393236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911192136.6A Active CN111092712B (en) 2019-11-28 2019-11-28 Preemptive scheduling method for time-triggered Ethernet

Country Status (1)

Country Link
CN (1) CN111092712B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0825542A2 (en) * 1996-08-21 1998-02-25 Alcatel Method for synchronizing the presentation of static and dynamic components of an interactive multimedia document
CN104717104A (en) * 2013-12-17 2015-06-17 中国航空工业集团公司第六三一研究所 Monitoring method based on time triggering Ethernet
CN106773928A (en) * 2016-12-05 2017-05-31 中国航空无线电电子研究所 A kind of gigabit TTE end system controllers based on FPGA
CN109450817A (en) * 2018-12-07 2019-03-08 中国航空工业集团公司西安航空计算技术研究所 The mixed scheduling method that time trigger Ethernet multi-service message is sent

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AT411948B (en) * 2002-06-13 2004-07-26 Fts Computertechnik Gmbh COMMUNICATION PROCESS AND APPARATUS FOR TRANSMITTING TIME-CONTROLLED AND EVENT-CONTROLLED ETHERNET MESSAGES
US9769082B2 (en) * 2015-04-01 2017-09-19 Honeywell International Inc. System and method for network bandwidth, buffers and timing management using hybrid scheduling of traffic with different priorities and guarantees
CN110460548B (en) * 2019-08-14 2020-09-15 电子科技大学 Multi-plane-based time-triggered Ethernet switch and scheduling packet switching method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0825542A2 (en) * 1996-08-21 1998-02-25 Alcatel Method for synchronizing the presentation of static and dynamic components of an interactive multimedia document
CN104717104A (en) * 2013-12-17 2015-06-17 中国航空工业集团公司第六三一研究所 Monitoring method based on time triggering Ethernet
CN106773928A (en) * 2016-12-05 2017-05-31 中国航空无线电电子研究所 A kind of gigabit TTE end system controllers based on FPGA
CN109450817A (en) * 2018-12-07 2019-03-08 中国航空工业集团公司西安航空计算技术研究所 The mixed scheduling method that time trigger Ethernet multi-service message is sent

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Searching of best-effort messages in TTEthemet switches during the timely blocking intervals;Ekarin Suethanuwong等;《2016 IEEE RIVF International Conference on Computing & Communication Technologies, Research, Innovation, and Vision for the Future (RIVF)》;20161109;全文 *
TTE网络混合业务调度器设计和实现;张志平等;《信息通信》;20190515;全文 *
基于TTE端系统协议处理软件的研究与设计;罗泽雄等;《航空电子技术》;20161215(第04期);全文 *
浅析时间触发以太网TTE;单行车jing;《简书》;20171030;全文 *

Also Published As

Publication number Publication date
CN111092712A (en) 2020-05-01

Similar Documents

Publication Publication Date Title
CN112105080B (en) Time-sensitive network data transmission system and transmission method
JP2526013B2 (en) Packet switching communication method
WO2019128467A1 (en) Flexible ethernet (flexe)-based service flow transmission method and apparatus
CN112491493B (en) Time slot allocation method and message forwarding method for time-sensitive network
CN103346949B (en) Based on Embedded dual pathways network packet unpack and organize bag method and system
CN108521343B (en) OAM message processing method and device
CN113068263B (en) Time slot scheduling method for time-sensitive network, terminal and storage medium
CN111432440A (en) Method, device and system for realizing service continuity
CN109547162B (en) Data communication method based on two sets of one-way boundaries
EP3968586B1 (en) Packet processing method and related apparatus
CN111147184A (en) Ethernet transmitting and receiving equipment and transmission device supporting multi-service preemption and continuous transmission
CN114513335B (en) Data flow fusion efficient transmission method based on one-way optical gate
CN112910909B (en) Data packet processing method based on conversion of CoAP protocol and HTTP protocol
CN111092712B (en) Preemptive scheduling method for time-triggered Ethernet
TWI756666B (en) Method implemented by computer means of a communicating entity in a packet-switched network, and computer program and computer-readable non-transient recording medium thereof, and communicating entity of a packet-switched network
CN109450817B (en) Mixed scheduling method for time-triggered Ethernet multi-service message transmission
CN101534297B (en) Dynamic stream creation method for realizing stream control transmission protocol
CN112511919A (en) OAM information sending method, device, equipment and storage medium
CN115344405A (en) Data processing method, network interface card, electronic equipment and storage medium
CN112994848B (en) MCS (modulation and coding scheme) adjusting method and device, storage medium and wireless node
CN111198840B (en) GOOSE and MMS common network communication method and system suitable for dual-core system
CN110572474B (en) Method for embedded terminal long-connection communication
CN113438218A (en) Communication method and device based on SOME/IP protocol, storage medium and terminal
CN114221912A (en) Time-sensitive network access method for non-periodic time-triggered service flow
CN113747564B (en) Time delay control method, system, device, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant