CN106603364A - Ethernet communication method for real-time transmission - Google Patents

Ethernet communication method for real-time transmission Download PDF

Info

Publication number
CN106603364A
CN106603364A CN201710009337.2A CN201710009337A CN106603364A CN 106603364 A CN106603364 A CN 106603364A CN 201710009337 A CN201710009337 A CN 201710009337A CN 106603364 A CN106603364 A CN 106603364A
Authority
CN
China
Prior art keywords
time
node
transmission
data
real
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.)
Granted
Application number
CN201710009337.2A
Other languages
Chinese (zh)
Other versions
CN106603364B (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.)
Zhangzhou Longwen Shipeng Information Technology Co ltd
Original Assignee
University of Shanghai for Science and Technology
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 University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN201710009337.2A priority Critical patent/CN106603364B/en
Publication of CN106603364A publication Critical patent/CN106603364A/en
Application granted granted Critical
Publication of CN106603364B publication Critical patent/CN106603364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • H04L12/40163Bus networks involving priority mechanisms by assigning priority to messages according to a message field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • H04L12/4015Bus networks involving priority mechanisms by scheduling the transmission of messages at the communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • H04L12/40156Bus networks involving priority mechanisms by using dedicated slots associated with a priority level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/407Bus networks with decentralised control

Abstract

The invention provides an Ethernet communication method for real-time transmission. The Ethernet comprises multiple equal nodes in a mutual communication connection, each node has a data link layer for data transmission, and the transmitted data comprises time triggered data and event triggered data. The method is characterized in that a session layer is set in the data link layer and is used for the data transmission coordination between nodes in data transmission process, the session layer divides a communication time into repeated communication cycles with equal time duration, each communication cycle comprises orderly arranged static segment and dynamic segment, the static segment is formed by multiple time slots with the same time length and different numbers and is used for transmitting the time triggered data, and the dynamic segment is used for transmitting the event triggered data according to a priority, wherein each time slot is corresponding to a node or a time triggered type data transmission task.

Description

A kind of ethernet communication method that can be used for real-time Transmission
Technical field
The present invention relates to a kind of ethernet communication method, and in particular to a kind of ethernet communication side that can be used for real-time Transmission Method.
Background technology
Ethernet is a kind of local area network communication technology being most widely used at present, through the development of more than 40 years, its transmission Medium is updated, and transfer rate and efficiency are respectively provided with very big lifting.As Metro Ethernet Forum (MEF) is constantly by ether Network technology is widely used in establishing of MAN as switching technology and transmission technology, and Ethernet has been not limited solely to LAN Using, but the field of Metropolitan Area Network (MAN) (MAN) and wide area network (WAN) can be applied even more extensively.
The Ethernet data transmission of prior art adopts CSMA/CD media access control mechanisms, between each node Transmission collision is processed using BEB algorithms, the defect with queueing delay, is allowed to obtain in Industry Control effectively Use.Therefore, remaining for applying in Industry Control more can be better achieved the live total of real-time, deterministic communication Line technology, or Comprehensive Control network of the Ethernet in combination with fieldbus.
However, compared with fieldbus, Ethernet has advantages below:(1) software and hardware resources enrich, and are widely used, into This is cheap;(2) traffic rate is high, all faster than current any one fieldbus;(3) Ethernet is supported various transmission mediums, is propped up Hold bus-type and stelliform connection topology configuration, be easy to be connected with Internet, therefore extensibility is strong, can be by the letter of industrial control network Breath Seamless integration-, realizes remote monitoring, equipment control, software maintenance and the fault diagnosis of production process.So, improve Ethernet Communication mode, enable Ethernet to realize the communication of real-time determination, lifted its real-time, definitiveness and communication reliability One of urgent needss into the exploitation of current Ethernet.
The content of the invention
To solve the above problems, there is provided a kind of Ethernet that can realize real-time Communication for Power, following technology is present invention employs Scheme:
The invention provides a kind of ethernet communication method that can be used for real-time Transmission, the Ethernet comprising multiple equalitys simultaneously And with the node of connection is in communication with each other, each node has the data link layer for carrying out data transmission, the number of its transmission According to including Time Triggered type data and event flip-over type data, it is characterised in that:One session is set on data link layer Layer, coordinates for carrying out data transmission the data transfer between process interior joint, and call duration time is divided into the persistent period by session layer Equal and circulating repetition communication cycles, each communication cycles include the static section for setting gradually and a dynamic Section, static section is equal by multiple durations and constitutes with the different time slots numbered, for carrying out the biography of Time Triggered type data Defeated, dynamic segment is used to carry out the transmission of event flip-over type data according to priority, wherein, each time slot correspondence one node or The data transfer task of individual Time Triggered type, session layer is at least right for recording time-gap number, beginning and ending time and each time slot institute The node answered or data transfer task.
What the present invention was provided can be used for the ethernet communication method of real-time Transmission, can also have following technical characteristic:Its In, dynamic segment is equal by multiple durations and constitutes with the different mini-slot numbered, and each node has mutually different excellent First level, when node needs to carry out the transmission of event flip-over type data, when the node of highest priority takes a number of micro- Gap carries out the transmission of event flip-over type data, and session layer is additionally operable to record and receive and dispatch the numbering of mini-slot and beginning and ending time, node Priority and need to carry out the node queue of event flip-over type data transfer.
What the present invention was provided can be used for the ethernet communication method of real-time Transmission, can also have following technical characteristic:Its In, when a node completes an event flip-over type data transfer, the node sends an end message by session layer, allows The node of next priority carries out the transmission of event flip-over type data.
What the present invention was provided can be used for the ethernet communication method of real-time Transmission, can also have following technical characteristic:Its In, the data transfer in static section adopts predetermined fixed-bandwidth, the data transfer in dynamic segment to adopt bandwidth varying.
What the present invention was provided can be used for the ethernet communication method of real-time Transmission, can also have following technical characteristic:Its In, communication cycles also include a free segment being arranged on after dynamic segment, and all of node does not enter line number in the free segment According to transmission.
Invention effect and effect
According to the ethernet communication method that can be used for real-time Transmission that the present invention is provided, due to setting up on data link level Call duration time is divided into one layer conversation layer, the session layer persistent period is equal and communication cycles of circulating repetition, and each leads to Letter circulation is respectively provided with a static section, and the static section includes that multiple numberings are different and during with node or one-to-one transformation task Gap, communicates and ensures completing for timing transmission task therefore, it is possible to the Time Triggered type between each node, realizes Ethernet The communication of time determinability, during the network environment required with real-time Communication for Power can be applied to.
Description of the drawings
Fig. 1 is the ethernet communication system structure diagram that the ethernet communication method of the present invention is adopted;
Fig. 2 is the structural representation of the communication cycles of the present invention;
Fig. 3 is the structural representation of the time slot with mini-slot of the present invention.
Specific embodiment
The specific embodiment of the present invention is illustrated below in conjunction with accompanying drawing.
The ethernet communication system that the ethernet communication method of the present invention is adopted includes multiple equalitys and with mutual The node of communication connection.
Fig. 1 is the ethernet communication system structure diagram that the ethernet communication method of the present invention is adopted.
As shown in figure 1, each node is respectively provided with application layer, transport layer, Internet, session layer, the number for arranging from top to bottom According to link layer and physical layer.Wherein, the setting of application layer, transport layer, Internet, data link layer and physical layer and structure It is identical with common Ethernet system.Wherein, application layer is top, is the interactive interface of user and network, is responsible for processing net The specific detailed information of network, application layer can provide the user various application protocols, and such as HTTP, SMTP and FTP provides terminal and use Family services;Transport layer is mainly used in carrying out the communication of internet terminal room, provides end for the application program on multiple host and arrives The communication at end.Internet is also known as internet layer, major function:Logic is addressed, data are encapsulated, processed and is transmitted, route etc..
Data link layer mainly includes that logical link control sublayer (Logical Link Control, LLC) and media are situated between Enter to control sublayer (Media Access Control, MAC).Wherein, logical link control sublayer is used to accept filter, receives and dispatches super Carry and notify and carry out recovery management, media intervention control sublayer is used to carry out data encapsulation/dismounting, frame coding, media interviews pipe Reason etc..Session layer is located on data link layer, for carrying out the coordination control between node in data transmission procedure.In addition, Physical layer is used to into line position encode and decoding, bit timing and synchronization as transmission media.
Fig. 2 is the structural representation of the communication cycles of the present invention.
As shown in Fig. 2 the session layer of the present invention is equal and circulating repetition by the way that call duration time is divided into into the persistent period Communication cycles to complete communication process in co-ordination.Each communication cycles includes static section, the dynamic segment for setting gradually And free segment, for being determined property real-time Communication for Power, its data transfer is using bandwidth set in advance for static section;Dynamic segment For carrying out event flip-over type data transfer, its data transfer adopts bandwidth varying.Free segment is the ending phase of communication cycles, Network is in idle pulley in the free segment, and each node does not carry out data transmission.In system configuration, each node it Between time synchronize in advance, thus the start time of each communication cycles be derived from a base when synchronization triggering letter Number.
Fig. 3 is the structural representation of the time slot with mini-slot of the present invention.
As shown in figure 3, static section is divided into n persistent period identical time slot (i.e. slot), the numbering of these time slots is each not It is identical, thus the numbering of each time slot is unique, i.e. these time slots according to time-sequencing, numbering be respectively slot 1~ slot n.Also, persistent period of each time slot, start time and finish time just set in system configuration;When making When being communicated with dual channel mode, the time slot format (numbering, persistent period, start/stop time) on two passages is also identical.Often Individual time slot corresponds to a node for needing to be timed transmission or data transfer task, and its corresponding relation is by node or task Numbering and time-gap number correspond to realize.For example, when a node has when needing of timing transmission, in system configuration When the time slot that just determines for one numbering of its distribution, the session layer of the node the start time of the time slot allow its pass through to start into The transmission of row timing data, and allow it to stop transmission in the finish time of the time slot.
Wherein, session layer record has numbering, start/stop time and corresponding node or the mission number of these time slots, and allowing needs The node for being timed the node of transmission and timing transmission required by task carries out data transmission in its corresponding time slot.
As shown in figure 3, dynamic segment is divided into multiple persistent period identical mini-slot, these mini-slot equally have each not phase Same numbering.In the present embodiment, the numbering of mini-slot carries out continuation numbering according to the time-gap number of same communication circulation, i.e., The numbering of mini-slot is n+1, n+2, n+3 ... ..., n+x.When a node needs to carry out the data transfer of event flip-over type, The node sends one on network and requires the message that carries out data transmission, and number and charge to event flip-over type data and pass Defeated queue.Different nodes has different priority, and the priority equally distributes to each node simultaneously in system configuration Record is in session layer.
When in the queue of event flip-over type data transfer, during the highest priority of certain node, the node just takes necessarily The mini-slot of quantity, and using these mini-slot as dynamic slot carrying out the data transfer of event flip-over type, send corresponding Dynamic segment Frame.Each dynamic segment data End of Frame includes a postamble identifier, allows the session layer reception of other nodes to be somebody's turn to do Node sends the information for terminating so that the node of next priority hold over the later certain amount of the mini-slot it is micro- when Gap is being transmitted.
Wherein, session layer also records the numbering of these mini-slot, start/stop time, needs to carry out event flip-over type data biography Defeated node queue and the priority of each node.Needs are allowed to be timed the node and timing transmission required by task of transmission Node carry out data transmission in its corresponding time slot.
Embodiment is acted on and effect
According to the ethernet communication method that can be used for real-time Transmission that the present embodiment is provided, due to increasing on data link level If a layer conversation layer, call duration time is divided into the session layer persistent period is equal and communication cycles of circulating repetition, each Communication cycles are respectively provided with a static section, and the static section includes that multiple numberings are different and one-to-one with node or transformation task Time slot, communicates and ensures completing for timing transmission task therefore, it is possible to the Time Triggered type between each node, makes Ethernet reality The communication of time determinability is showed, during the network environment required with real-time Communication for Power can be applied to.
Further, since dynamic segment can also be divided into into multiple persistent period identical mini-slot by session layer, node is allowed A number of mini-slot can be taken according to priority to carry out event flip-over type data transfer, and the priority of node and Corresponding event flip-over type data transfer can be received and dispatched and recorded by session layer, therefore the present embodiment can be used in real time The ethernet communication method of transmission can also simultaneously realize that the event flip-over type carried out according to priority communicates, and allow involved by the present embodiment And Ethernet be provided with definitiveness, fault tolerant and hard real-time.

Claims (5)

1. a kind of ethernet communication method that can be used for real-time Transmission, the Ethernet is comprising multiple equalitys and with being in communication with each other The node of connection, each node has the data link layer for carrying out data transmission, and the data of its transmission include Time Triggered Type data and event flip-over type data, it is characterised in that:
One session layer is set on the data link layer, for the number during carrying out data transmission between the node Coordinate according to transmission,
Call duration time is divided into the session layer persistent period is equal and communication cycles of circulating repetition, and each described communication is followed Ring includes the static section for setting gradually and a dynamic segment,
The static section is equal by multiple durations and constitutes with the different time slots numbered, for carrying out the Time Triggered type The transmission of data,
The dynamic segment is used to carry out the transmission of the event flip-over type data according to priority,
Wherein, the data transfer task of each time slot one node of correspondence or a Time Triggered type,
The session layer is at least used to record the node or number corresponding to the time-gap number, beginning and ending time and each described time slot According to transformation task.
2. the ethernet communication method that can be used for real-time Transmission according to claim 1, it is characterised in that:
Wherein, the dynamic segment is equal by multiple durations and constitutes with the different mini-slot numbered,
Each described node has mutually different priority, when the node needs to carry out the transmission of event flip-over type data When, the node of the highest priority takes a number of mini-slot carries out the transmission of the event flip-over type data,
The session layer be additionally operable to record and receive and dispatch the numbering of the mini-slot and beginning and ending time, the priority of the node and Need the node queue for carrying out the event flip-over type data transfer.
3. the ethernet communication method that can be used for real-time Transmission according to claim 2, it is characterised in that:
Wherein, when a node completes once the event flip-over type data transfer, the node is by the session layer An end message is sent, allows the node of next priority to carry out the transmission of event flip-over type data.
4. the ethernet communication method that can be used for real-time Transmission according to claim 1, it is characterised in that:
Wherein, the data transfer in the static section adopts predetermined fixed-bandwidth,
Data transfer in the dynamic segment adopts bandwidth varying.
5. the ethernet communication method that can be used for real-time Transmission according to claim 1, it is characterised in that:
Wherein, the communication cycles also include a free segment being arranged on after the dynamic segment, all of in the free segment The node does not carry out the data transfer.
CN201710009337.2A 2017-01-06 2017-01-06 A kind of ethernet communication method can be used for real-time Transmission Active CN106603364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710009337.2A CN106603364B (en) 2017-01-06 2017-01-06 A kind of ethernet communication method can be used for real-time Transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710009337.2A CN106603364B (en) 2017-01-06 2017-01-06 A kind of ethernet communication method can be used for real-time Transmission

Publications (2)

Publication Number Publication Date
CN106603364A true CN106603364A (en) 2017-04-26
CN106603364B CN106603364B (en) 2019-11-01

Family

ID=58582997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710009337.2A Active CN106603364B (en) 2017-01-06 2017-01-06 A kind of ethernet communication method can be used for real-time Transmission

Country Status (1)

Country Link
CN (1) CN106603364B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108449285A (en) * 2018-03-01 2018-08-24 中国航空无线电电子研究所 Fraction dispatching method applied to shared Ethernet
CN111147514A (en) * 2019-12-31 2020-05-12 上海理工大学 Communication frame suitable for real-time Ethernet session layer and design method
CN112887180A (en) * 2021-01-28 2021-06-01 上海理工大学 Communication method of bus type real-time Ethernet

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120105637A1 (en) * 2010-11-03 2012-05-03 Broadcom Corporation Multi-Level Video Processing Within A Vehicular Communication Network
CN103024093A (en) * 2011-09-21 2013-04-03 Nxp股份有限公司 System and method for creating a slot table entry address for a communications device
CN103269297A (en) * 2013-05-10 2013-08-28 航天东方红卫星有限公司 Communication method of application layer of FlexRay bus for small satellite
CN103581061A (en) * 2012-07-23 2014-02-12 美国博通公司 FlexRay communications using Ethernet

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120105637A1 (en) * 2010-11-03 2012-05-03 Broadcom Corporation Multi-Level Video Processing Within A Vehicular Communication Network
CN103024093A (en) * 2011-09-21 2013-04-03 Nxp股份有限公司 System and method for creating a slot table entry address for a communications device
CN103581061A (en) * 2012-07-23 2014-02-12 美国博通公司 FlexRay communications using Ethernet
CN103269297A (en) * 2013-05-10 2013-08-28 航天东方红卫星有限公司 Communication method of application layer of FlexRay bus for small satellite

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108449285A (en) * 2018-03-01 2018-08-24 中国航空无线电电子研究所 Fraction dispatching method applied to shared Ethernet
CN108449285B (en) * 2018-03-01 2022-05-17 中国航空无线电电子研究所 Split scheduling method applied to shared Ethernet
CN111147514A (en) * 2019-12-31 2020-05-12 上海理工大学 Communication frame suitable for real-time Ethernet session layer and design method
CN112887180A (en) * 2021-01-28 2021-06-01 上海理工大学 Communication method of bus type real-time Ethernet

Also Published As

Publication number Publication date
CN106603364B (en) 2019-11-01

Similar Documents

Publication Publication Date Title
CN109120962A (en) The method and apparatus of software terminal connection view networking
CN101741538B (en) Synchronous dispatching method
KR102164032B1 (en) Network devices and how to select transmission of network devices
WO2008124854A2 (en) Communication method and device for efficient and secure transmission of tt ethernet messages
CN106603364A (en) Ethernet communication method for real-time transmission
CN101389036B (en) Error correcting device suitable for video conference and method thereof
CN107273228A (en) Method for message transmission based on star topology framework
CN109068186A (en) The treating method and apparatus of packet loss
JP2006180510A (en) Method for controlling transfer of short data telegram
CN110149262A (en) A kind for the treatment of method and apparatus and storage medium of signaling message
CN109743136A (en) Transmitting message transfer approach, method of reseptance and processing unit
CN109889779A (en) A kind for the treatment of method and apparatus of packet out-ordering
CN109246486A (en) A kind of framing method and device
CN109787873A (en) A kind of method and apparatus of multi-to-multi incoming communication
CN109617830A (en) A kind of method and apparatus regarding real time demonstration business in networking
CN110138730B (en) Subscription method and device of protocol conversion equipment and storage medium
CN101686431A (en) Synchronous processing method and device
CN110557608B (en) Resource monitoring method, device and computer readable storage medium
US11271711B2 (en) Communication control device, communication control method, network switch, route control method, and communication system
CN102164066A (en) Reliable data transmission method for CAN (control area network)-based measurement and control subsystem
CN109802990B (en) Resource log reading and writing method and device for reducing data redundancy
CN107566294A (en) A kind of network storm suppressing method suitable for IEC62439 standards
CN102480471B (en) Method for realizing QoS (quality of service) processing in monitoring RRPP (rapid ring protection protocol) ring and network node
CN110933385A (en) Video streaming transmission system based on visible light unidirectional network isolation
CN110852692A (en) Conference scoring method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240115

Address after: Room 1404, Building 3, Zhangzhou Zhonghai 2017P03, No. 12 Shicang South Road, Longwen District, Zhangzhou City, Fujian Province, 363000

Patentee after: Zhangzhou Longwen Shipeng Information Technology Co.,Ltd.

Address before: 200093 No. 516, military road, Shanghai, Yangpu District

Patentee before: University of Shanghai for Science and Technology