CN111698059B - Conflict-free transmission method for protocol control frame - Google Patents

Conflict-free transmission method for protocol control frame Download PDF

Info

Publication number
CN111698059B
CN111698059B CN202010482398.2A CN202010482398A CN111698059B CN 111698059 B CN111698059 B CN 111698059B CN 202010482398 A CN202010482398 A CN 202010482398A CN 111698059 B CN111698059 B CN 111698059B
Authority
CN
China
Prior art keywords
frame
pcf
transmission
sending
messages
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
CN202010482398.2A
Other languages
Chinese (zh)
Other versions
CN111698059A (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 CN202010482398.2A priority Critical patent/CN111698059B/en
Publication of CN111698059A publication Critical patent/CN111698059A/en
Application granted granted Critical
Publication of CN111698059B publication Critical patent/CN111698059B/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
    • 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/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • 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/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • H04L1/0027Scheduling of signalling, e.g. occurrence thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Communication Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a conflict-free transmission method of protocol control frames, which aims to solve the problem of transmission conflict between PCF frames and TT, RC and BE messages. The invention solves the problem of transmission conflict between the PCF frame and the TT message by uniformly arranging the TT message and the PCF frame sending schedule; the method and the device solve the problem of transmission conflict of the PCF frame and RC and BE messages by calculating the allowed frame length of the sending data before the PCF planning time point and comparing the frame lengths of the RC and BE messages to BE sent to enable or disable the transmission of the frames, avoid the time delay caused by the sending waiting of the PCF frame due to the occupied communication link, reduce the dynamic sending time delay to zero, avoid the dynamic measurement in the network operation process and simplify the transmission device of the protocol control frame.

Description

Conflict-free transmission method for protocol control frame
Technical Field
The invention belongs to the technical field of network communication, and relates to a protocol control frame collision-free transmission method.
Background
The time triggered ethernet adopts Protocol Control Frame (PCF) to realize clock synchronization of the whole network, and at the beginning of each period of network operation, a synchronization process is initiated through the PCF Frame, and after reaching a synchronization state, transmission of three services of time triggered TT, rate limited RC and best effort BE is started.
The PCF frame format conforms to the standard Ethernet frame format definition, the Ethernet type field is 0x891d, and the Ethernet Payload contains fields of PCF frame type, transparent time and the like. PCF frame type identifies the type of PCF frame: 0x4 represents a cold start frame (CS), 0x8 represents a cold start acknowledgement frame (CA), and 0x2 represents an integration frame (IN). Transparent time recording of the PCF frame transmission from its sender to its ultimate recipientCumulative delay in the process, least significant bit representing 2 -16 ns (i.e., 0x10000 for 1 ns), but the updating of this field may be done at nanosecond or microsecond granularity in an implementation.
The Transparent time is the transmission accumulated time delay recorded by the Transparent Clock field in the transmission process of the PCF frame, and consists of the sending time delay, the forwarding time delay, the receiving time delay and the line delay in the transmission process of the PCF frame. At the sending end, the transparent time, that is, the time required by the PCF frame from the dispatch time point dispatch _ pit to the sending time point send _ pit, is composed of a dynamic sending delay and a static sending delay:
a. dynamic send delay (dynamic _ send _ delay): at the time of PCF frame transmission, the delay caused by the transmission wait of PCF frames is due to the current communication link being occupied by other frames. Generally, the time delay needs to be measured dynamically during the network operation, which makes the transmission device of the protocol control frame more complex.
b. Static transmission delay (static _ send _ delay): the fixed time delay consumed in the PCF frame sending process is mainly the time required for the PCF frame to be organized, processed and submitted for sending at the sending end. Generally, the delay is obtained by static measurement in conjunction with a specific implementation and configured as a network configuration parameter.
Disclosure of Invention
The invention provides a conflict-free transmission method of a protocol control frame, which aims to solve the problem of transmission conflict of PCF frames and TT, RC and BE messages, avoid the time delay caused by the sending waiting of the PCF frames due to the occupied communication link, reduce the dynamic sending time delay to zero, avoid the dynamic measurement in the network operation process and simplify a transmission device of the protocol control frame.
The technical scheme of the invention is as follows:
the method for conflict-free transmission of the protocol control frame is characterized by comprising the following steps:
1) Judging the state of the synchronous controller SM, and if the synchronous controller SM is in a timing state, entering the step 2); if the state is in the non-timing state, entering the step 6);
2) Judging whether the timer of the synchronous state machine is overtime, and entering the step 3) if the timer of the synchronous state machine is not overtime; if the timer of the synchronous state machine is overtime, entering the step 5);
step 3) calculating len (t) = (t-t) e )*N bw Wherein t represents the time left by the current timer; t is t e The minimum time difference represents the time difference from the completion of the transmission of the non-PCF frame to the start of the transmission of the PCF frame; n is a radical of bw Representing the network transmission rate;
step 4) comparing the frame lengths of the RC and BE messages to BE sent with the len (t) calculated in the step 3), and allowing the RC and BE messages to BE sent when the frame lengths of the RC and BE messages to BE sent are lower than the len (t); otherwise, forbidding the transmission;
step 5) sending a corresponding protocol control frame according to the action requirement of the synchronous state machine;
step 6) in a time-triggered sending schedule, increasing the sending time point sm _ dispatch _ pit of the PCF frame according to the integration period number, wherein the sending time point sm _ dispatch _ pit of the PCF frame does not conflict with the sending time point of the TT frame;
step 7) when the end system waits for the sending time point sm _ dispatch _ pit of the PCF frame, calculating len (t) = (t-t) ex )*N bw Wherein, t represents the remaining time from the current time to the sending time point sm _ dispatch _ pit of the PCF frame; t is t ex The minimum time difference from the completion of the RC and BE message transmission to the start of PCF frame transmission is shown; n is a radical of bw Representing the network transmission rate;
step 8) comparing the frame lengths of the RC and BE messages to BE sent with the len (t) calculated in the step 7), and allowing the RC and BE messages to BE sent when the frame lengths of the RC and BE messages to BE sent are lower than the len (t); otherwise, forbidding the transmission;
and 9) when the local clock is the sending time point sm _ dispatch _ pit of the PCF frame, sending a corresponding protocol control frame according to the action requirement of the synchronous state machine.
Further, the step 6) is specifically as follows: in each integration period, when the local clock is sm _ dispatch _ pit, configuring a PCF frame sending schedule; the transmission schedule adopts off-line static configuration, ensures that the transmission time points of PCF frames and TT frames do not conflict, and is arranged according to the front-back sequence of the transmission time points of PCF frames and TT frames to wait for the arrival of the respective transmission time points in sequence.
Further, the synchronous controller SM is in a timing state at INTEGRATE, UNSYNC, FLOOD, WAIT _4_cycle _startcs or WAIT _4_cycle _start; the synchronous controller SM is in a non-timed state when it is in the TENTATIVE _ SYNC, SYNC or STABLE state.
The invention has the beneficial effects that:
the invention solves the problem of transmission conflict between the PCF frame and the TT message by uniformly arranging the TT message and the PCF frame sending schedule; the method comprises the steps of calculating the length of a data transmission frame allowed before the PCF planning time point, comparing the lengths of RC and BE message frames to BE transmitted, enabling or forbidding the transmission of the RC and BE message frames, solving the problem of transmission conflict between the PCF frame and the RC and BE message, avoiding the time delay caused by the transmission waiting of the PCF frame due to the occupied communication link, reducing the dynamic transmission time delay to zero, avoiding the dynamic measurement in the network operation process, and simplifying a transmission device of a protocol control frame.
Drawings
Fig. 1 is a state machine associated with a timer, local clock, PCF frame transmission.
Detailed Description
The invention is further described below.
The states involved in PCF frame sending in the synchronization controller SM state machine and their transition process according to the AS 6802 time triggered ethernet standard are shown in fig. 1. The synchronization controller SM sends PCF frames in two cases:
A. when the synchronous controller SM is at INTEGRATE, UNSYNC, FLOOD, WAIT _4 _circular _START _CS in these timed states WAIT _4_cycle _start, the timer times out triggering the protocol control frame transmission.
B. When the synchronous controller SM is in the non-timing states of TESTATIVE _ SYNC, SYNC and STABLE, the local clock triggers the protocol to control the frame transmission.
Aiming at the two situations, the invention respectively designs a conflict-free transmission method of the protocol control frame.
1. For the timing state, the conflict-free transmission method of the protocol control frame comprises the following steps:
step 1) judging whether a synchronous state machine timer is overtime, and if the synchronous state machine timer is not overtime, entering step 2); if the timer of the synchronous state machine is overtime, entering the step 4);
step 2) calculation of len (t) = (t-t) e )*N bw Wherein t represents the time left by the current timer; t is t e The minimum time difference represents the time difference from the completion of the transmission of the non-PCF frame to the start of the transmission of the PCF frame; n is a radical of bw Representing the network transmission rate;
step 3) comparing the frame lengths of the RC and BE messages to BE sent with the len (t) calculated in the step 2), and allowing the RC and BE messages to BE sent when the frame lengths of the RC and BE messages to BE sent are lower than the len (t); otherwise, forbidding the transmission of the RC and BE messages to ensure that the transmitted RC and BE messages do not occupy the physical link resources of the PCF frame.
And 4) sending a corresponding protocol control frame according to the action requirement of the synchronous state machine.
2. For the non-timing state, the conflict-free transmission method of the protocol control frame comprises the following steps:
step 1) in a time-triggered sending schedule, increasing the sending time point sm _ dispatch _ pit of the PCF frame according to the number of integration periods, and configuring a PCF frame sending schedule in each integration period when the local clock is sm _ dispatch _ pit; the sending schedule adopts off-line static configuration to ensure that the sending time points of the PCF frame and the TT frame do not conflict, and the PCF frame and the TT sending time points are arranged in sequence, and the sending time points are waited for arriving respectively, thereby ensuring that the sent TT frame does not occupy the physical link resource of the PCF frame.
Step 2) when the end system waits for the sending time point sm _ dispatch _ pit of the PCF frame, calculating len (t) = (t-t) ex )*N bw Wherein t represents the remaining time from the current time to the sending time point sm _ dispatch _ pit of the PCF frame; t is t ex The minimum time difference from the completion of the RC and BE message transmission to the start of PCF frame transmission is shown; n is a radical of bw Representing the network transmission rate.
Step 3) comparing the frame lengths of the RC and BE messages to BE sent with the len (t) calculated in the step 2), and allowing the RC and BE messages to BE sent when the frame lengths of the RC and BE messages to BE sent are lower than the len (t); otherwise, forbidding the transmission of the RC and BE messages to ensure that the transmitted RC and BE messages do not occupy the physical link resources of the PCF frame.
And when the local clock is the sending time point sm _ dispatch _ pit of the PCF frame, sending a corresponding protocol control frame according to the action requirement of the synchronous state machine.

Claims (3)

1. The conflict-free transmission method of the protocol control frame is characterized by comprising the following steps:
1) Judging the state of the synchronous controller SM, and if the synchronous controller SM is in a timing state, entering the step 2); if the state is in the non-timing state, entering the step 6);
2) Judging whether the timer of the synchronous state machine is overtime, and entering the step 3) if the timer of the synchronous state machine is not overtime; if the timer of the synchronous state machine is overtime, entering the step 5);
step 3) calculating len (t) = (t-t) e )*N bw Wherein t represents the time left by the current timer; t is t e The minimum time difference represents the time difference from the completion of the transmission of the non-PCF frame to the start of the transmission of the PCF frame; n is a radical of bw Representing the network transmission rate;
step 4) comparing the frame lengths of the RC and BE messages to BE sent with the len (t) calculated in the step 3), and allowing the RC and BE messages to BE sent when the frame lengths of the RC and BE messages to BE sent are lower than the len (t); otherwise, forbidding the transmission;
the RC is a rate limiting message transmitted after the PCF frame reaches a synchronous state;
the BE is a best effort message transmitted after the PCF frame reaches a synchronous state;
step 5) sending a corresponding protocol control frame according to the action requirement of the synchronous state machine;
step 6) in a time-triggered sending schedule, increasing the sending time point sm _ dispatch _ pit of the PCF frame according to the integration period number, wherein the sending time point sm _ dispatch _ pit of the PCF frame does not conflict with the sending time point of the TT frame;
the TT is a time trigger message transmitted after the PCF frame reaches a synchronous state; step 7) when the end system waits for the sending time point sm _ dispatch _ pit of the PCF frame, calculating len (t) = (t-t) ex )*N bw Wherein, t represents the remaining time from the current time to the sending time point sm _ dispatch _ pit of the PCF frame; t is t ex The minimum time difference from the completion of the RC and BE message transmission to the start of PCF frame transmission is shown; n is a radical of hydrogen bw Representing the network transmission rate;
step 8) comparing the frame lengths of the RC and BE messages to BE sent with the len (t) calculated in the step 7), and allowing the RC and BE messages to BE sent when the frame lengths of the RC and BE messages to BE sent are lower than the len (t); otherwise, forbidding the transmission;
and 9) when the local clock is the sending time point sm _ dispatch _ pit of the PCF frame, sending a corresponding protocol control frame according to the action requirement of the synchronous state machine.
2. The method of collision-free transmission of protocol control frames according to claim 1, characterized in that:
the step 6) is specifically as follows: in each integration period, when the local clock is sm _ dispatch _ pit, configuring a PCF frame sending schedule; the sending schedule adopts off-line static configuration, ensures that the sending time points of the PCF frame and the TT frame do not conflict, and is arranged according to the front-back sequence of the PCF frame and the TT sending time point to wait for the arrival of the respective sending time points in sequence.
3. The method of collision-free transmission of protocol control frames according to claim 1, characterized in that:
the synchronous controller SM is in a timed state when it is INTEGRATE, UNSYNC, FLOOD, WAIT _4 \_cycle _START _CSor WAIT _4_cycle _START; the synchronous controller SM is in a non-timed state when it is in the TENTATIVE _ SYNC, SYNC or STABLE state.
CN202010482398.2A 2020-05-28 2020-05-28 Conflict-free transmission method for protocol control frame Active CN111698059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010482398.2A CN111698059B (en) 2020-05-28 2020-05-28 Conflict-free transmission method for protocol control frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010482398.2A CN111698059B (en) 2020-05-28 2020-05-28 Conflict-free transmission method for protocol control frame

Publications (2)

Publication Number Publication Date
CN111698059A CN111698059A (en) 2020-09-22
CN111698059B true CN111698059B (en) 2023-03-31

Family

ID=72479127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010482398.2A Active CN111698059B (en) 2020-05-28 2020-05-28 Conflict-free transmission method for protocol control frame

Country Status (1)

Country Link
CN (1) CN111698059B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438691B (en) * 2021-05-27 2024-01-05 翱捷科技股份有限公司 TAS frame processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09191484A (en) * 1996-01-09 1997-07-22 Canon Inc Radio exchange system
CN107147465A (en) * 2017-06-30 2017-09-08 西安微电子技术研究所 A kind of exchange clock isochronous controller and control method towards time-triggered network
CN107342833A (en) * 2017-06-15 2017-11-10 西安微电子技术研究所 A kind of time triggered Ethernet exchanging controller and its control method
CN108462653A (en) * 2016-12-12 2018-08-28 中国航空工业集团公司西安航空计算技术研究所 The quick sending method of Protocol Control frame based on TTE
CN109600187A (en) * 2018-11-28 2019-04-09 山东航天电子技术研究所 A kind of time trigger Unified Network transmission end system scheduling method and device
CN110505157A (en) * 2019-08-26 2019-11-26 电子科技大学 A kind of the classification dispatching method and device of adaptation time triggering network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09191484A (en) * 1996-01-09 1997-07-22 Canon Inc Radio exchange system
CN108462653A (en) * 2016-12-12 2018-08-28 中国航空工业集团公司西安航空计算技术研究所 The quick sending method of Protocol Control frame based on TTE
CN107342833A (en) * 2017-06-15 2017-11-10 西安微电子技术研究所 A kind of time triggered Ethernet exchanging controller and its control method
CN107147465A (en) * 2017-06-30 2017-09-08 西安微电子技术研究所 A kind of exchange clock isochronous controller and control method towards time-triggered network
CN109600187A (en) * 2018-11-28 2019-04-09 山东航天电子技术研究所 A kind of time trigger Unified Network transmission end system scheduling method and device
CN110505157A (en) * 2019-08-26 2019-11-26 电子科技大学 A kind of the classification dispatching method and device of adaptation time triggering network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于AS6802的安控测试系统时钟同步技术研究;南东亮等;《电网与清洁能源》;20200525(第05期);全文 *
基于时间触发网络的时间同步研究;何向栋;《信息通信》;20191130(第11期);全文 *

Also Published As

Publication number Publication date
CN111698059A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
US10523579B2 (en) Relay device and data transfer method
US9596187B2 (en) Time-triggered Ethernet-based data transmission method and node device
CN106603367A (en) CAN bus communication method for time synchronization
GB2433005B (en) Interface between network data bus application and avionics data bus
CN106559737B (en) Bluetooth operating mode switching control method and device
EP4002926A1 (en) Data transmission method, terminal, and ran device
CN101771521B (en) Management method of status report retransmission timer in buffer zone
EP4181480A1 (en) Data packet scheduling method and related apparatus
KR930001618A (en) Synchronous Node Controller for Switching Networks
CN111698059B (en) Conflict-free transmission method for protocol control frame
US20220014485A1 (en) Signalling of Dejittering Buffer Capabilities for TSN Integration
CN109845202A (en) The ultra low transmission of accidental network flow postpones
CN114124279B (en) Time-triggered Ethernet TT service time deterministic transmission design method
CN110034942B (en) Networking communication control method and system based on half-duplex radio station
CN113315668B (en) Method, node device and storage medium for adaptively adjusting network configuration
KR101119300B1 (en) Residential Ethernet Node Apparatus For Strict Guarantee of Super Frame's Start and Its Frame Processing Method
EP2096893B1 (en) Intermittent operative communication apparatus adaptively controlling the timing of waiting data reception and a method therefor
KR101085677B1 (en) Periodic Synchronus Method For Start of Super-Frame in Residential Ethernet
CN104170461B (en) Data transmission method and base station
CN101404601B (en) Ethernet communication method and apparatus
CN102624620A (en) Token-frame-based transmission method and system for Ethernet
CN107040440B (en) Method and apparatus for initiating triggers in a network in an Ethernet-based vehicle
JP2008124967A (en) Ether-oam switch apparatus
CN103118339B (en) Speaking right application method, network equipment and terminal equipment
CN109450817B (en) Mixed scheduling method for time-triggered Ethernet multi-service message transmission

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