CN108712351B - Time-triggered Ethernet switch based on biplane and packet switching method - Google Patents

Time-triggered Ethernet switch based on biplane and packet switching method Download PDF

Info

Publication number
CN108712351B
CN108712351B CN201810509357.0A CN201810509357A CN108712351B CN 108712351 B CN108712351 B CN 108712351B CN 201810509357 A CN201810509357 A CN 201810509357A CN 108712351 B CN108712351 B CN 108712351B
Authority
CN
China
Prior art keywords
frame
time
data
triggered
service
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
CN201810509357.0A
Other languages
Chinese (zh)
Other versions
CN108712351A (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.)
Xidian University
Original Assignee
Xidian University
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 Xidian University filed Critical Xidian University
Priority to CN201810509357.0A priority Critical patent/CN108712351B/en
Publication of CN108712351A publication Critical patent/CN108712351A/en
Application granted granted Critical
Publication of CN108712351B publication Critical patent/CN108712351B/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
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports
    • H04L49/254Centralised controller, i.e. arbitration or scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority

Abstract

The invention discloses a biplane-based time-triggered Ethernet switch and a packet switching method, which mainly solve the problem that the existing time-triggered Ethernet switch has poor certainty and instantaneity in forwarding a time-triggered TT service. The device comprises: the device comprises an input shunt module (1), a clock synchronizer (2), a time-triggered TT switching plane (3), an event-triggered ET switching plane (4) and an output arbitration module (5). The input shunting module is respectively connected with the clock synchronizer, the TT switching plane and the ET switching plane so as to respectively complete the clock synchronization of the switch and the forwarding of the TT service frame and the ET service frame; the TT switching plane and the ET switching plane are both connected with the output arbitration module to select the service frame which is sent preferentially and finish data sending. The invention can ensure the absolute priority forwarding of the time triggered TT business, reduces the forwarding time delay of the time triggered TT business, and can be applied to a high-speed low-delay time triggered switching network.

Description

Time-triggered Ethernet switch based on biplane and packet switching method
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a time-triggered Ethernet switch which can be applied to an Ethernet switching network supporting real-time performance, reliability and high safety of a time-triggered function.
Background
The ethernet transmission technology is widely applied to various industries of society due to its advantages of low cost, high bandwidth, suitability for various services, and the like. However, with the development of the distributed system, the real-time performance, reliability and high security of data interaction between devices in the system are more urgent, so that the ethernet technology cannot be applied to the corresponding service field. Due to the fact that TTE (time triggered Ethernet) is adopted, the real-time performance and the certainty of the time triggered technology are combined with the advantages of the traditional Ethernet, the defect that the traditional Ethernet cannot meet the requirements of high real-time performance and reliability is effectively overcome, and the time triggered Ethernet TTE is widely applied to the fields of aerospace, industrial control and the like with the requirements of high real-time performance and high safety. The TTE switch is an important component of the TTE, and the design structure and the switching method thereof directly influence the working performance of the TTE. On one hand, the time-triggered Ethernet switch can realize the deterministic and real-time forwarding of the time-triggered TT service, and on the other hand, the time-triggered Ethernet switch is compatible with the common Ethernet and can forward the event-triggered ET service with relaxed requirements on determinacy and real-time.
The patent document of Beijing computer technology and application research application discloses a time-triggered Ethernet switch in a highly synchronous time-triggered Ethernet device and method (application number: 201710616838.7, publication number: CN 107483135A). The device comprises a switching/control logic, a local clock, a synchronization primitive receiving module, a clock synchronization module, a time trigger, a central controller and a task scheduling control module. The switching/control logic is used for controlling the network end system connected with the switching/control logic by the switch; the local clock is used for providing an integral working clock of the switch; the synchronous primitive receiving module is used for receiving data sent by the end system, distinguishing a clock synchronous primitive and a transmission data frame and transmitting the two parts of data to the central controller; the clock synchronization module is used for receiving a clock synchronization control command sent by the central controller, generating clock synchronization specific information and realizing clock synchronization; the time trigger is used for providing time trigger conditions and time information required by time trigger events; the central controller is used for controlling the work of each module in the switch; and the task scheduling control module is used for carrying out classification control on the data received in the switch according to the task scheduling table and putting different data into corresponding data buffers. The device has the defects that the task scheduling control module uniformly schedules the time triggered TT service and the event triggered ET service, the time triggered TT service and the event triggered ET service interfere with each other in most operations such as internal scheduling, the time triggered TT service is processed in the switch too long in time delay, and the requirements on the certainty and the real-time performance of the time triggered TT service cannot be met.
Disclosure of Invention
The present invention aims to provide a biplane-based time-triggered ethernet switch and a packet switching method, so as to ensure absolute priority forwarding of a time-triggered TT service, minimize forwarding delay of the time-triggered TT service, and meet the requirements of certainty and real-time performance of the time-triggered TT service.
In order to achieve the purpose, the time-triggered Ethernet switch based on the biplane is realized by a programmable logic chip FPGA, the switching plane of the switch is divided into a time-triggered TT switching plane and an event-triggered ET switching plane, wherein the time-triggered TT switching plane is responsible for switching and time synchronization of a time-triggered TT service; the event trigger ET switching plane is responsible for switching event trigger ET traffic. The whole Ethernet switch comprises:
the input shunting module is used for receiving a data frame transmitted into the switch from a network interface of the switch, classifying the frame data into a protocol control PCF frame, a time trigger TT service frame and an event trigger ET service frame according to a frame type value in an extracted data frame header, sending the protocol control PCF frame into a clock synchronizer, sending the time trigger TT service frame into a time trigger TT switching plane, and sending the event trigger ET service frame into an event trigger ET switching plane;
the clock synchronizer is used for solidifying and compressing the protocol control PCF frame, calculating a global synchronous clock value and providing a stable global synchronous clock value for the time-triggered TT switching plane;
the time trigger TT switching plane is used for filtering the time trigger TT business frame and forwarding the filtered frame data to the output arbitration module;
the event trigger ET switching plane is used for storing and scheduling the event trigger ET service frame and forwarding the scheduled frame data to the output arbitration module;
the output arbitration module is used for arbitrating data frames transmitted by the time trigger TT switching plane and the event trigger ET switching plane and determining the data frames to be transmitted preferentially.
The method for packet switching by using the switch comprises the following steps
1) Judging the type of the incoming data frame according to the field of the type field of the Ethernet data frame:
1a) the data frame is transmitted into the interior of the switch from a network interface of the switch, and when the head byte of the data frame is stored in the data register, a counter is started to calculate the offset of the currently received byte relative to the head byte of the data frame;
1b) when the counter counts from 1 to 14 and 15, extracting the corresponding data frame header type field in the data register;
1c) judging the type of the currently received data frame according to the field value of the extracted data frame header type field:
if the type field value is '0 x891 d', then it is judged as a protocol control PCF frame, and step 2) is executed;
if the type field value is '0 x88d 7', judging as the time trigger TT service frame, and executing step 3);
if the field value of the type field is the other type values, judging that the field value is an event triggering ET service frame, and executing the step 4);
2) solidifying and compressing the protocol control PCF frame, calculating a global synchronous clock value, transmitting the global synchronous clock value into a time trigger TT switching plane as a time reference for receiving and forwarding a time trigger TT service frame;
3) filtering and forwarding a TT service frame:
3a) according to the configured time scheduling table, a data receiving window is opened at a planned receiving time point, an incoming time trigger TT service frame is received, and a data frame arriving after the data receiving window is closed is discarded;
3b) extracting the ID number of the time triggered TT service frame, discarding the received frame with the service ID number inconsistent with the ID number field of the time scheduling table, and finishing the filtering of the time triggered TT service frame;
3c) forwarding the filtered time-triggered TT service frame data to a data memory through a straight-through type full-interconnection switching network;
3d) according to the configured time scheduling table, after receiving a data forwarding instruction at a planned forwarding time point, judging whether a complete data frame exists in the data memory, if so, sending the data frame to an output arbitration module, and executing the step 5); otherwise, rejecting the sending and returning to the step 1);
4) carrying out packet processing, queue management and scheduling on the incoming event trigger ET service frame in sequence, forwarding the scheduled data frame to an output arbitration module through a Crossbar switching network, and executing the step 5);
5) arbitrating data frames to be sent by the output bus in priority:
when the time-triggered TT service frame needs to be sent by an output bus, an output data frame of an ET plane is interrupted or blocked, and the time-triggered TT service frame is sent by the output bus;
when an event trigger ET service frame needs to be sent by an output bus, judging whether the sending time period of the event trigger ET service frame is overlapped with the sending window of a time trigger TT service or not according to the frame length of the event trigger ET service frame and the sending window time of the time trigger TT service frame, if not, sending the event trigger ET service frame through the output bus, otherwise, not allowing the event trigger ET service frame to be sent.
Compared with the prior art, the invention has the following advantages:
1. the switching plane of the switch is provided with a time trigger TT switching plane and an event trigger ET switching plane, the time trigger TT switching plane adopts straight-through forwarding, and after the input end finishes the detection on the legality of the time trigger TT service frame, the time trigger TT switching plane is directly forwarded to the output port through the full internet; the event triggers ET switching plane to adopt storage forwarding, and data frames are forwarded through Crossbar switching network; compared with the traditional Ethernet switch storage forwarding type single plane switching, the double-switching plane ensures the absolute priority forwarding of the time triggered TT business and reduces the forwarding time delay of the time triggered TT business;
2. according to the invention, the output arbitration module arbitrates the data frames which are preferentially sent by the output bus, absolute priority forwarding is carried out on the time-triggered TT service frames, feasibility judgment is carried out on the output application of the event-triggered ET service frames, and the generation of wrong data fragments of the event-triggered ET service frames can be reduced on the premise of ensuring real-time forwarding of the time-triggered TT service frames;
3. in the receiving and caching process of the time triggered TT business frame, the length of the data frame is firstly detected, the data frame with the frame length exceeding the limit is directly discarded, then the ID number of the time triggered TT business frame is extracted, the receiving frame with the business ID number inconsistent with the field of the ID number of the time scheduling table is discarded, and the number of error frames transmitted in the network is reduced;
4. the invention adopts the method of opening the data receiving window in the receiving process of the time-triggered TT business frame, and takes the closing time point of the receiving window and the length of the data frame buffer window as the forwarding time point of the data frame, and the forwarding time point is fixed no matter when the time-triggered TT business frame arrives in the receiving window, thereby counteracting the time delay uncertainty generated when the data frame is transmitted in the upstream path and improving the certainty of the forwarding time of the time-triggered TT business frame.
Drawings
FIG. 1 is a block diagram of the apparatus of the present invention;
FIG. 2 is a block diagram of an input splitter module of the apparatus of the present invention;
FIG. 3 is a schematic diagram of the time triggered TT switch plane in the apparatus of the present invention;
FIG. 4 is a block diagram of the event triggered ET switch plane in the apparatus of the present invention;
FIG. 5 is a block diagram of an output arbitration module of the apparatus of the present invention;
FIG. 6 is a general flow chart of packet switching using the apparatus of the present invention;
fig. 7 is a sub-flowchart of filtering and forwarding time triggered TT service frames in packet switching according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
Referring to fig. 1, the apparatus of the present invention comprises: the system comprises an input shunt module 1, a clock synchronizer 2, a time-triggered TT switching plane 3, an event-triggered ET switching plane 4 and an output arbitration module 5. Wherein:
the input shunting module 1 receives a data frame transmitted into the interior of the switch from a network interface of the switch, classifies frame data into three frame types of a protocol control PCF frame, a time trigger TT service frame and an event trigger ET service frame according to a frame type value in a data frame header, transmits the protocol control PCF frame into a clock synchronizer 2, transmits the time trigger TT service frame into a time trigger TT switching plane 3 and transmits the event trigger ET service frame into an event trigger ET switching plane 4;
the clock synchronizer 2 is used for solidifying and compressing the protocol control PCF frame input by the input shunt module 1, and calculating a global synchronous clock value to provide a stable global synchronous clock for the time-triggered TT switching plane 3;
the time-triggered TT switching plane 3 filters the time-triggered TT service frames input by the input shunting module 1 and forwards the filtered frame data to the output arbitration module 5;
the event trigger ET switching plane 4 is used for storing and scheduling the event trigger ET service frame input by the input shunting module 1 and forwarding the scheduled frame data to the output arbitration module 5;
and the output arbitration module 5 arbitrates the data frames input by the time trigger TT switching plane 3 and the event trigger ET switching plane 4, determines the data frame to be sent by the output bus preferentially, and completes the sending of the data frame.
Referring to fig. 2, the input splitting module 1 includes: a data register 11, a counter 12, a frame header information extraction module 13 and a selector 14. Wherein:
the data register 11 stores data frames incoming from the network interface of the switch;
the counter 12 calculates the number of bytes of the data frame stored in the data register 11;
a frame header information extraction module 13, which extracts the type domain field in the data frame header in the data register 11 and transmits the extracted type domain field to the selector 14;
a selector 14 for classifying the data frame according to the type field, that is, determining the data frame with the type field of "0 x891 d" as the protocol control PCF frame, and sending the data frame into the clock synchronizer 2; determining a data frame with a type field of '0 x88d 7' as a time-triggered TT service frame, and sending the data frame into a time-triggered TT switching plane 3; and determining the data frame with the type field as the rest type as an event trigger ET service frame, and sending the data frame into an event trigger ET switching plane 4.
Referring to fig. 3, the time-triggered TT switch plane 3 includes: a scheduler module 31, a scheduling module 32, an input processing module 33, a fully interconnected switching network 34 and an output processing module 35. Wherein:
a schedule table module 31 which stores a time schedule table planned in advance, the time schedule table including a transmission time point, a forwarding time point, and a reception time point of each time triggered TT service frame;
a scheduling module 32 for generating a data receiving command and a data forwarding command at a scheduled receiving time point according to the scheduled time scheduling table 31, transmitting the data receiving command to the input processing module 33, and transmitting the data forwarding command to the output processing module 35;
the input processing module 33 receives the time-triggered TT service frame transmitted by the selector 13, starts a data receiving window within a planned time according to a data receiving instruction transmitted by the scheduling module 32, discards a data frame arriving after the data receiving window is closed, extracts a time-triggered TT service ID number, discards a received frame with the service ID number inconsistent with the ID number field of the time scheduling table 31, and completes filtering of the triggered TT service frame; and transmits the filtered frame data to the fully interconnected switching network 34;
a full interconnection switching network 34, which forwards the frame data transmitted from the input processing module 33 to the output processing module 35 through the full interconnection network;
the output processing module 35, according to the data forwarding instruction sent by the scheduling module 32, determines whether a complete data frame exists in the data memory: if yes, the frame data transmitted by the fully-interconnected switching network 34 is forwarded to the output arbitration module 5; otherwise, the forwarding is refused.
Referring to fig. 4, the event-triggered ET switching plane 4 includes: an input processing module 41 and a Crossbar switching network module 42. The input processing module 41 performs packet processing, queue management and scheduling on the event trigger ET service frame received from the selector 13, and then transmits the scheduled data frame to the Crossbar switching network module 42; the switching network module 42 transmits the data frame to the output arbitration module 5 through the full interconnection network.
Referring to fig. 5, the output arbitration module 5 includes: an arbiter block 51 and a data register block 52. The arbiter module 51 arbitrates the data frames incoming from the time triggered TT switch plane 3 and the event triggered ET switch plane 4 according to the criterion that the time triggered TT switch plane 3 has absolute priority:
if the time-triggered TT service frame needs to be sent by the output bus, the arbiter 51 interrupts or blocks the output data frame of the event-triggered ET switching plane 4, and transmits the time-triggered TT service frame to the data register module 52 for sending through the output bus;
if an event trigger ET service frame needs to be sent by an output bus, the event trigger ET switching plane sends an output application to the arbiter 51, the arbiter 51 judges whether the sending time period of the event trigger ET service frame is overlapped with the sending window of the time trigger TT service according to the frame length of the event trigger ET service frame and the sending window time of the time trigger TT service frame, if the sending time period of the event trigger ET service frame is not overlapped with the sending window of the time trigger TT service frame, the event trigger ET service frame is transmitted to the data register module 52 through the output bus to be sent, otherwise, the sending of the event trigger ET service frame is not allowed.
Referring to fig. 6, the steps of the present invention for packet switching using the above-described apparatus are as follows:
step 1: and judging the type of the incoming data frame according to the field of the type field of the Ethernet data frame.
1a) The data frame is transmitted into the inside of the switch from a network interface of the switch, and when the head byte of the data frame is stored in the data register 11, the input shunting module 1 starts the counter 12 to calculate the offset of the currently received byte relative to the head byte of the data frame;
1b) when the counter 12 counts from 1 to 14 and 15, the frame header information extraction module 13 extracts the corresponding data frame header type field in the data register 11;
1c) the selector 14 judges the type of the currently received data frame according to the field value of the extracted header type field of the data frame:
if the type field value is '0 x891 d', it is determined as a protocol control PCF frame, and step 2 is executed;
if the type field value is '0 x88d 7', judging that the TT service frame is time-triggered, and executing the step 3;
if the field value of the type field is the other type values, the field value is judged to be an event triggering ET service frame, and the step 4 is executed.
Step 2: the PCF frame is solidified and compressed and a global synchronization clock value is calculated.
The clock synchronizer 2 performs solidification and compression processing on the protocol control PCF frame input by the selector 14 according to a synchronization method proposed by the American society of automotive engineering SAE AS6802 standard, calculates a global synchronous clock value, and transmits the global synchronous clock value to the time-triggered TT switching plane 3 AS a time reference for receiving and forwarding a time-triggered TT service frame.
And step 3: and filtering and forwarding the TT service frame.
Referring to fig. 7, the specific implementation of this step is as follows:
3a) according to the configured time schedule table 31, the scheduling module 32 opens a data receiving window at a planned receiving time point, receives a time trigger TT service frame transmitted by the selector 14, and discards a data frame arriving after the data receiving window is closed;
3b) the input processing module 33 extracts the ID number of the time-triggered TT service frame, discards the received frame with the service ID number inconsistent with the ID number field of the time scheduling table, and completes the filtering of the time-triggered TT service frame;
3c) the input processing module 33 forwards the filtered time-triggered TT service frame data to the data memory through the straight-through type full-interconnection switching network;
3d) according to the configured time scheduling table 31, after receiving a data forwarding instruction at a scheduled forwarding time point, the output processing module 35 judges whether a complete data frame exists in the data memory, and if so, sends the data frame to the output arbitration module 5, and executes step 5); otherwise, rejecting the sending and returning to the step 1).
And 4, step 4: the store-and-forward event triggers the ET traffic frame.
The input processing module 41 sequentially performs packet processing, queue management and scheduling on the event trigger ET service frame transmitted by the selector 14, forwards the scheduled data frame to the output arbitration module 5 through the Crossbar switching network 42, and executes step 5).
And 5: the data frames to be transmitted by the bus are arbitrated to be output.
When a time-triggered TT service frame needs to be sent by an output bus, the output arbitration module 5 interrupts or blocks an output data frame of the event-triggered ET switching plane 4, and sends the time-triggered TT service frame through the output bus;
when there is an event-triggered ET service frame that needs to be sent by the output bus, the output arbitration module 5 determines whether the sending time period of the event-triggered ET service frame overlaps with the sending window of the time-triggered TT service frame according to the frame length of the event-triggered ET service frame and the sending window time of the time-triggered TT service frame by the following two discrimination formulas:
t1<t<t2+IFG,
t+t3+IFG<t1
wherein, t1Indicates the transmission start time, t, of the time triggered TT traffic frame2Indicating the transmission end time of the time triggered TT traffic frame, IFG indicating the minimum frame interval time, t3The sending time length of an event trigger ET service frame is shown, and t represents the current time;
if the two discrimination formulas are not satisfied, the transmitting time interval of the event trigger ET service frame is not overlapped with the transmitting window of the time trigger TT service, and the event trigger ET service frame is transmitted through the output bus;
otherwise, the sending time interval of the event trigger ET business frame is overlapped with the sending window of the time trigger TT business, and the sending of the event trigger ET business frame is not allowed.
The foregoing description is only an example of the present invention and is not intended to limit the invention, so that it will be apparent to those skilled in the art that various changes and modifications in form and detail may be made therein without departing from the spirit and scope of the invention.

Claims (6)

1. A biplane-based time-triggered ethernet switch, comprising:
the system comprises an input shunting module (1) and a clock synchronizer (2), wherein the input shunting module is used for receiving a data frame transmitted into the switch from a network interface of the switch, classifying the frame data into a protocol control PCF frame, a time trigger TT service frame and an event trigger ET service frame according to a frame type value in an extracted data frame header, transmitting the protocol control PCF frame into the clock synchronizer (2), transmitting the time trigger TT service frame into a time trigger TT switching plane (3) and transmitting the event trigger ET service frame into an event trigger ET switching plane (4);
the clock synchronizer (2) is used for solidifying and compressing the protocol control PCF frame, calculating a global synchronous clock value and providing a stable global synchronous clock value for the time-triggered TT switching plane (3);
the time-triggered TT switching plane (3) is used for filtering the time-triggered TT service frame and forwarding the filtered frame data to the output arbitration module (5);
the event trigger ET switching plane (4) is used for storing and scheduling event trigger ET service frames and forwarding the scheduled frame data to the output arbitration module (5);
an output arbitration module (5) for arbitrating data frames incoming from the time-triggered TT switch plane (3) and the event-triggered ET switch plane (4) and determining a data frame to be sent preferentially, wherein the output arbitration module (5) comprises: an arbiter module (51) and a data register module (52); the arbitrator module (51) arbitrates data frames incoming from the time-triggered TT switching plane (3) and the event-triggered ET switching plane (4) according to a criterion that the time-triggered TT switching plane (3) has absolute priority:
if the time-triggered TT business frame needs to be sent by the output bus, the arbiter interrupts or blocks the output data frame of the ET plane, and transmits the time-triggered TT business frame to the data register module (52) for sending through the output bus;
if an event trigger TT business frame needs to be sent by an output bus, an event trigger ET exchange plane sends an output application to an arbiter, the arbiter judges whether the sending time period of the event trigger ET business frame is overlapped with the sending window of the time trigger TT business according to the frame length of the event trigger ET business frame and the sending window time of the time trigger TT business frame, if not, the event trigger ET business frame is transmitted to a data register module (52) through the output bus to be sent, otherwise, the sending of the event trigger ET business frame is not allowed.
2. A switch according to claim 1, characterized in that: the input splitting module (1) comprises:
a data register (11) for storing data frames incoming from the network interface of the switch;
a counter (12) for counting the number of bytes of the data frame stored in the data register (11);
a frame header information extraction module (13) for extracting a type domain field in a data frame header in the data register (11) and transmitting the extracted type domain field to the selector (14);
a selector (14) for classifying the data frame according to the type field, namely determining the data frame with the type field of '0 x891 d' as the protocol control PCF frame, and sending the data frame into the clock synchronizer (2); determining a data frame with a type field of '0 x88d 7' as a time-triggered TT service frame, and sending the data frame into a time-triggered TT switching plane (3); and determining the data frame with the type field as the rest type as an event trigger ET service frame, and sending the data frame into an event trigger ET switching plane (4).
3. A switch according to claim 1, characterized in that: the time-triggered TT switching plane (3) comprising:
a schedule module (31) for storing a time schedule planned in advance, the time schedule including a forwarding time point and a receiving time point of each time triggered TT service frame;
a scheduling module (32) for generating a data reception instruction and a data forwarding instruction at a scheduled reception time point according to the configured time schedule (31), and transmitting the data reception instruction to the input processing module (33), and the data forwarding instruction to the output processing module (35);
the input processing module (33) is used for receiving the time-triggered TT service frame transmitted by the selector (13), opening a data receiving window in the planned time according to a data receiving instruction transmitted by the scheduling module (32), discarding the data frame arriving after the data receiving window is closed, extracting the ID number of the time-triggered TT service, discarding the receiving frame with the service ID number inconsistent with the ID number field of the time scheduling table (31), and finishing the filtering of the triggered TT service frame; and transmitting the filtered frame data to a fully interconnected switching network (34);
a full interconnection switching network (34) for forwarding the frame data incoming from the input processing module (33) to the output processing module (35) through the full interconnection network;
the output processing module (35) judges whether a complete data frame exists in the data memory according to the data forwarding instruction sent by the scheduling module (32), and if so, forwards the frame data transmitted by the fully-interconnected switching network (34) to the output arbitration module (5) to complete the switching; otherwise, the forwarding is refused.
4. A switch according to claim 1, characterized in that: the event-triggered ET switching plane (4) comprising:
the system comprises an input processing module (41) and a Crossbar switching network module (42), wherein the input processing module (41) carries out packet processing, queue management and scheduling on an event trigger ET service frame transmitted by a selector (13) and transmits a scheduled data frame to the Crossbar switching network module (42); the switching network module (42) transmits the data frame to the output arbitration module (5) through the full interconnect network.
5. A method for packet switching using the switch of claim 1, comprising the steps of:
1) judging the type of the incoming data frame according to the field of the type field of the Ethernet data frame:
1a) the data frame is transmitted into the interior of the switch from a network interface of the switch, and when the head byte of the data frame is stored in the data register, a counter is started to calculate the offset of the currently received byte relative to the head byte of the data frame;
1b) when the counter counts from 1 to 14 and 15, extracting the corresponding data frame header type field in the data register;
1c) judging the type of the currently received data frame according to the field value of the extracted data frame header type field:
if the type field value is '0 x891 d', then it is judged as a protocol control PCF frame, and step 2) is executed;
if the type field value is '0 x88d 7', judging as the time trigger TT service frame, and executing step 3);
if the field value of the type field is the other type values, judging that the field value is an event triggering ET service frame, and executing the step 4);
2) solidifying and compressing the protocol control PCF frame, calculating a global synchronous clock value, transmitting the global synchronous clock value into a time trigger TT switching plane as a time reference for receiving and forwarding a time trigger TT service frame;
3) filtering and forwarding a TT service frame:
3a) according to the configured time scheduling table, a data receiving window is opened at a planned receiving time point, an incoming time trigger TT service frame is received, and a data frame arriving after the data receiving window is closed is discarded;
3b) extracting the ID number of the time triggered TT service frame, discarding the received frame with the service ID number inconsistent with the ID number field of the time scheduling table, and finishing the filtering of the time triggered TT service frame;
3c) forwarding the filtered time-triggered TT service frame data to a data memory through a straight-through type full-interconnection switching network;
3d) according to the configured time scheduling table, after receiving a data forwarding instruction at a planned forwarding time point, judging whether a complete data frame exists in the data memory, if so, sending the data frame to an output arbitration module, and executing the step 5); otherwise, rejecting the sending and returning to the step 1);
4) carrying out packet processing, queue management and scheduling on the incoming event trigger ET service frame in sequence, forwarding the scheduled data frame to an output arbitration module through a Crossbar switching network, and executing the step 5);
5) arbitrating data frames to be sent by the output bus in priority:
when the time-triggered TT service frame needs to be sent by an output bus, an output data frame of an ET plane is interrupted or blocked, and the time-triggered TT service frame is sent by the output bus;
when an event trigger ET service frame needs to be sent by an output bus, judging whether the sending time period of the event trigger ET service frame is overlapped with the sending window of a time trigger TT service or not according to the frame length of the event trigger ET service frame and the sending window time of the time trigger TT service frame, if not, sending the event trigger ET service frame through the output bus, otherwise, not allowing the event trigger ET service frame to be sent.
6. The method of claim 5, wherein the step 5) of determining whether the transmission time interval of the event-triggered ET service frame overlaps with the transmission window of the time-triggered TT service is performed according to the following two criteria:
t1<t<t2+IFG
t+t3+IFG<t1
wherein, t1Indicates the transmission start time, t, of the time triggered TT traffic frame2Indicating the transmission end time of the time triggered TT traffic frame, IFG indicating the minimum frame interval time, t3The sending time length of an event trigger ET service frame is shown, and t represents the current time;
if the two discrimination formulas are not satisfied, the transmission time interval of the event trigger ET service frame is not overlapped with the transmission window of the time trigger TT service;
otherwise, the sending time interval of the event trigger ET business frame is overlapped with the sending window of the time trigger TT business.
CN201810509357.0A 2018-05-24 2018-05-24 Time-triggered Ethernet switch based on biplane and packet switching method Active CN108712351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810509357.0A CN108712351B (en) 2018-05-24 2018-05-24 Time-triggered Ethernet switch based on biplane and packet switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810509357.0A CN108712351B (en) 2018-05-24 2018-05-24 Time-triggered Ethernet switch based on biplane and packet switching method

Publications (2)

Publication Number Publication Date
CN108712351A CN108712351A (en) 2018-10-26
CN108712351B true CN108712351B (en) 2020-11-03

Family

ID=63869566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810509357.0A Active CN108712351B (en) 2018-05-24 2018-05-24 Time-triggered Ethernet switch based on biplane and packet switching method

Country Status (1)

Country Link
CN (1) CN108712351B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110460548B (en) * 2019-08-14 2020-09-15 电子科技大学 Multi-plane-based time-triggered Ethernet switch and scheduling packet switching method
CN110691047B (en) * 2019-09-03 2022-03-15 中国航空工业集团公司西安飞行自动控制研究所 Switch data forwarding method and device
CN111147184B (en) * 2019-12-23 2022-06-10 西安云维智联科技有限公司 Ethernet transmitting and receiving equipment supporting multi-service preemption and continuous transmission and transmission device
CN112087356B (en) * 2020-08-27 2021-12-14 中国航空无线电电子研究所 uTTE network system compatible with general TTE
CN112039803B (en) * 2020-09-10 2022-09-06 中国舰船研究设计中心 Data transmission method in time-triggered network
CN114285767B (en) * 2021-11-23 2024-04-09 陕西电器研究所 Service forwarding performance detection device for time-triggered Ethernet switch
CN114448914B (en) * 2021-12-29 2024-01-19 中国航空工业集团公司西安航空计算技术研究所 TT data exchange execution monitoring system based on double FPGAs

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1663201A (en) * 2002-06-13 2005-08-31 Fts电脑技术有限公司 Communication method and system for the transmission of time-driven and event-driven Ethernet messages
CN107241179A (en) * 2017-04-19 2017-10-10 西安电子科技大学 A kind of generation method of time triggered business static schedule
CN107342833A (en) * 2017-06-15 2017-11-10 西安微电子技术研究所 A kind of time triggered Ethernet exchanging controller and its control method
CN107483135A (en) * 2017-07-26 2017-12-15 北京计算机技术及应用研究所 A kind of high synchronous time triggered Ethernet device and method
CN107819539A (en) * 2017-11-17 2018-03-20 西安电子科技大学 A kind of device and method for realizing time triggered ethernet side system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AT512290B1 (en) * 2011-12-19 2013-07-15 Fts Computertechnik Gmbh PROCESS FOR TIMELY OBSERVING TTETHERNET MESSAGES

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1663201A (en) * 2002-06-13 2005-08-31 Fts电脑技术有限公司 Communication method and system for the transmission of time-driven and event-driven Ethernet messages
CN107241179A (en) * 2017-04-19 2017-10-10 西安电子科技大学 A kind of generation method of time triggered business static schedule
CN107342833A (en) * 2017-06-15 2017-11-10 西安微电子技术研究所 A kind of time triggered Ethernet exchanging controller and its control method
CN107483135A (en) * 2017-07-26 2017-12-15 北京计算机技术及应用研究所 A kind of high synchronous time triggered Ethernet device and method
CN107819539A (en) * 2017-11-17 2018-03-20 西安电子科技大学 A kind of device and method for realizing time triggered ethernet side system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
实时性容错以太网交换机的电路设计;郭秦;《中国优秀硕士学位论文全文数据库信息科技辑》;20171215;第4节 *
时间触发太网交换机设计;高鹏飞;《中国优秀硕士学位论文全文数据库信息科技辑》;20160415;第4节 *

Also Published As

Publication number Publication date
CN108712351A (en) 2018-10-26

Similar Documents

Publication Publication Date Title
CN108712351B (en) Time-triggered Ethernet switch based on biplane and packet switching method
CN106773928B (en) A kind of gigabit TTE end system controller based on FPGA
CN107342833B (en) A kind of time trigger Ethernet exchanging control method
CN106850466B (en) Method and device for forwarding data packet in time-triggered network
US11323384B2 (en) Packet processing technique for a communication network
US7346001B1 (en) Systems and methods for limiting low priority traffic from blocking high priority traffic
CN102427426B (en) Method and device for simultaneously supporting AFDX (Avionics Full-duplex Switched Ethernet) and common Ethernet switching
US20150120803A1 (en) Method and Device for Relaying Time-Triggered and Event-Triggered Communications
Reimann et al. Timing analysis of Ethernet AVB-based automotive E/E architectures
CN113424500B (en) Method for routing in a time-sensitive network
CN105141552A (en) Data scheduling and transmitting method supporting time trigger mechanism in FC switch
WO2016107375A1 (en) Packet forwarding method and device
CN112511376A (en) Method and terminal for measuring TSN network forwarding time characteristic
CN102201988A (en) Scheduling method of avionics full duplex switched Ethernet (AFDX) exchanger
CN104641602A (en) Exporting real time network traffic latency and buffer occupancy
CN108833366B (en) Control frame compression method based on AS6802 protocol
CN114124279B (en) Time-triggered Ethernet TT service time deterministic transmission design method
CN110460548B (en) Multi-plane-based time-triggered Ethernet switch and scheduling packet switching method
CN112821977B (en) Asynchronous low-delay time sensitive data processing method
CN104486250A (en) Deadline-oriented scheduling method capable of meeting time determinability
CN115065646A (en) Message timing sending method and device based on software and hardware cooperation
CN110691047B (en) Switch data forwarding method and device
CN110475288B (en) Method, device and system for transmitting signaling message of satellite network preferentially
Liang et al. Intelligent Substation Switch Traffic Scheduling Model Based on Time-Sensitive Network
Guo et al. A flow-grained end-to-end delay analysis for RC traffic in TTEthernet

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