CN106603364B - A kind of ethernet communication method can be used for real-time Transmission - Google Patents

A kind of ethernet communication method can be used for real-time Transmission Download PDF

Info

Publication number
CN106603364B
CN106603364B CN201710009337.2A CN201710009337A CN106603364B CN 106603364 B CN106603364 B CN 106603364B CN 201710009337 A CN201710009337 A CN 201710009337A CN 106603364 B CN106603364 B CN 106603364B
Authority
CN
China
Prior art keywords
transmission
time
node
data
event triggering
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
CN201710009337.2A
Other languages
Chinese (zh)
Other versions
CN106603364A (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

Landscapes

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

Abstract

The present invention provides a kind of ethernet communication method that can be used for real-time Transmission, the Ethernet includes multiple equalitys and has the node for being in communication with each other connection, each node has the data link layer for carrying out data transmission, its data transmitted includes time trigger type data and event triggering type data, it is characterized by: a session layer is arranged on data link layer, coordinate for carrying out data transmission the transmission of the data between process interior joint, call duration time is divided into that the duration is equal and the communication cycles of circulating repetition by session layer, each communication cycles include the static section and a dynamic segment set gradually, equal by the multiple durations and time slot with different numbers of static section is constituted, for carrying out the transmission of time trigger type data, dynamic segment is used to carry out the transmission of event triggering type data according to priority, wherein, The data transfer task of the corresponding node of each time slot or a time trigger type.

Description

A kind of ethernet communication method can be used for real-time Transmission
Technical field
The present invention relates to a kind of ethernet communication methods, and in particular to a kind of ethernet communication side that can be used for real-time Transmission Method.
Background technique
Ethernet is a kind of local area network communication technology being most widely used at present, by development in more than 40 years, transmission Medium is continuously improved, and transmission rate and efficiency all have very big promotion.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 local area network Using, but the field of Metropolitan Area Network (MAN) (MAN) and wide area network (WAN) can be applied even more extensively.
The Ethernet data of the prior art, which transmits, mostly uses CSMA/CD media access control mechanism, between each node Transmission collision is handled using BEB algorithm, the defect with queueing delay, is allowed to not obtain in Industry Control effective It uses.Therefore, apply in Industry Control more is still that real-time, deterministic communication scene can be better achieved always The comprehensively control network that line technology or Ethernet are combined with fieldbus.
However, Ethernet has the advantage that (1) software and hardware resources are abundant compared with fieldbus, it is widely used, at This is cheap;(2) traffic rate is high, all faster than current any fieldbus;(3) Ethernet supports a variety of transmission mediums, branch It holds bus-type and stelliform connection topology configuration, be easy to connect with Internet, therefore scalability is strong, it can be by the letter of industrial control network Seamless integration- is ceased, realizes long-range monitoring, equipment management, software maintenance and the fault diagnosis of production process.So improving Ethernet Communication mode, enable Ethernet to realize in real time determining communication, promoted its real-time, certainty and communication reliability At one of the urgent need of current Ethernet exploitation.
Summary of the invention
To solve the above problems, providing a kind of Ethernet that can be realized real time communication, present invention employs following technologies Scheme:
The present invention provides a kind of ethernet communication method that can be used for real-time Transmission, the Ethernet include multiple equalitys simultaneously And there is the node for being in communication with each other connection, each node has the data link layer for carrying out data transmission, the number of transmission According to including time trigger type data and event triggering type data, it is characterised in that: a session is arranged on data link layer Layer is coordinated for carrying out data transmission the transmission of the data between process interior joint, and call duration time is divided into the duration by session layer Equal and circulating repetition communication cycles, each communication cycles include the static section and a dynamic set gradually Section, equal by the multiple durations and time slot with different numbers of static section is constituted, for carrying out the biography of time trigger type data Defeated, dynamic segment is used to carry out the transmission of event triggering type data according to priority, wherein the corresponding node or one of each time slot The data transfer task of a time trigger type, it is right that session layer is at least used to record time-gap number, beginning and ending time and each time slot institute The node or data transfer task answered.
The ethernet communication method provided by the invention that can be used for real-time Transmission, can also have following technical characteristic: its In, equal by the multiple durations and mini-slot with different numbers of dynamic segment is constituted, and each node has mutually different excellent First grade, when node needs to carry out the transmission of event triggering type data, when the node of highest priority occupies a certain number of micro- Gap carries out the transmission of event triggering type data, and session layer is also used to record and receive and dispatch number and the beginning and ending time, node of mini-slot Priority and need to carry out event triggering type data transmission node queue.
The ethernet communication method provided by the invention that can be used for real-time Transmission, can also have following technical characteristic: its In, when a node completes an event triggering type data transmission, which sends an end message by session layer, allows The node of next priority carries out the transmission of event triggering type data.
The ethernet communication method provided by the invention that can be used for real-time Transmission, can also have following technical characteristic: its In, the data transmission in static section uses scheduled fixed-bandwidth, and the data transmission in dynamic segment uses bandwidth varying.
The ethernet communication method provided by the invention that can be used for real-time Transmission, can also have following technical characteristic: its In, communication cycles further include the free segment being arranged in after dynamic segment, and all nodes are without number in the free segment According to transmission.
Invention action and effect
The ethernet communication method that can be used for real-time Transmission provided according to the present invention, due to adding on data link level Call duration time is divided into that the duration is equal and the communication cycles of circulating repetition by one layer conversation layer, the session layer, Mei Getong Letter circulation all has a static section, which includes multiple numbers differences and when with node or one-to-one transformation task Gap, thus can the time trigger type between each node communicate and guarantee the completion of timing transmission task, realize Ethernet The communication of time determinability can be applied in the network environment that there is real time communication to require.
Detailed description of the invention
Fig. 1 is ethernet communication system structure diagram used by ethernet communication method of the invention;
Fig. 2 is the structural schematic diagram of communication cycles of the invention;
Fig. 3 is the structural schematic diagram of time slot and mini-slot of the invention.
Specific embodiment
Illustrate a specific embodiment of the invention below in conjunction with attached drawing.
Ethernet communication system used by ethernet communication method of the invention includes multiple equalitys and has mutual The node of communication connection.
Fig. 1 is ethernet communication system structure diagram used by ethernet communication method of the invention.
As shown in Figure 1, each node all has the application layer being arranged from top to bottom, transport layer, network layer, session layer, number According to link layer and physical layer.Wherein, the setting and structure of application layer, transport layer, network layer, data link layer and physical layer It is identical as 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 a variety of application protocols for user, such as HTTP, SMTP and FTP provide terminal and use Family service;Transport layer is mainly used for carrying out the communication of internet terminal room, provides end for the application program on multiple host and arrives The communication at end.Network layer is also known as internet layer, major function are as follows: logic addressing, data encapsulation, processing and transmission, routing 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 super for accepting filter, receiving and dispatching It carries notice and carries out recovery management, media intervention control sublayer is for carrying out data encapsulation/dismounting, frame coding, media interviews pipe Reason etc..Session layer is located on data link layer, for carrying out the coordinated control between node in data transmission procedure.In addition, Physical layer as transmission media, for carry out position coding and decoding, bit timing with it is synchronous.
Fig. 2 is the structural schematic diagram of communication cycles of the invention.
As shown in Fig. 2, session layer of the invention is by being divided into that the duration is equal and circulating repetition for call duration time Communication cycles complete the co-ordination in communication process.Each communication cycles include the static section set gradually, dynamic segment And free segment, static section are used for being determined property real time communication, data transmission uses preset bandwidth;Dynamic segment For carrying out the transmission of event triggering type data, data transmission uses bandwidth varying.Free segment is the ending phase of communication cycles, Network is in idle mode in the free segment, and each node is transmitted without data.In system configuration, each node it Between time synchronize in advance, thus be derived from the beginning of each communication cycles base when one synchronous triggering letter Number.
Fig. 3 is the structural schematic diagram of time slot and mini-slot of the invention.
As shown in figure 3, static section is divided into n duration identical time slot (i.e. slot), the number of these time slots is respectively not It is identical, thus the number of each time slot is unique, that is, these time slots according to time-sequencing, number be respectively slot 1~ slot n.Also, duration, start time and the finish time of each time slot just set in system configuration;When making When being communicated with dual channel mode, the time slot format (number, duration, start/stop time) on two channels is also identical.Often A time slot corresponding one needs to be timed the node or data transfer task of transmission, and corresponding relationship is by node or task Number and time-gap number correspond to realize.For example, when a node has when needing of timing transmission, in system configuration When be just the determining time slot of one number of its distribution, the session layer of the node allowed at the beginning of the time slot its by 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 number, start/stop time and corresponding node or the mission number of these time slots, and allowing needs The node of the node and timing transmission required by task that are timed transmission carries out data transmission in its corresponding time slot.
As shown in figure 3, dynamic segment is divided into identical mini-slot of multiple duration, these mini-slot equally have each not phase Same number.In the present embodiment, the number of mini-slot carries out continuing to number according to the time-gap number of same communication circulation, i.e., The number of mini-slot is n+1, n+2, n+3 ... ..., n+x.When a node needs to carry out the data transmission of event triggering type, The node sends one on network and requires the message carried out data transmission, and is numbered and charge to event triggering type data biography Defeated queue.Different nodes has different priority, which equally distributes to each node in system configuration simultaneously It is recorded in session layer.
In the queue of event triggering type data transmission, when the highest priority of some node, which is just occupied centainly The mini-slot of quantity, and the data that these mini-slot carry out event triggering type as dynamic slot are transmitted, it sends corresponding Dynamic segment data frame.Each dynamic segment data End of Frame includes a postamble identifier, and allowing the session layer of other nodes to receive should Node send terminate information, thus make the node of next priority hold over the later certain amount of the mini-slot it is micro- when Gap is transmitted.
Wherein, session layer also records the number for having these mini-slot, start/stop time, needs to carry out event triggering type data biography The priority of defeated node queue and 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 action and effect
According to the ethernet communication method provided in this embodiment that can be used for real-time Transmission, due to increasing on data link level If a layer conversation layer, which is divided into call duration time that the duration is equal and the communication cycles of circulating repetition, each Communication cycles all have a static section, which includes that multiple numbers are different and one-to-one with node or transformation task Time slot, thus can the time trigger type between each node communicate and guarantee the completion of timing transmission task, keep Ethernet real The communication for having showed time determinability can be applied in the network environment that there is real time communication to require.
In addition, since dynamic segment can also be divided into identical mini-slot of multiple duration by session layer, node is allowed A certain number of mini-slot can be occupied according to priority to carry out the transmission of event triggering type data, and the priority of node and Corresponding event triggering type data transmission can be received and dispatched and be recorded by session layer, therefore the present embodiment can be used in real time The ethernet communication method of transmission can also realize the event triggering type communication carried out according to priority simultaneously, allow involved by the present embodiment And Ethernet be provided with certainty, fault tolerant and hard real-time.

Claims (4)

1. a kind of ethernet communication method that can be used for real-time Transmission, which includes that multiple equalitys and having are in communication with each other The node of connection, each node have the data link layer for carrying out data transmission, and the data of transmission include time trigger Type data and event triggering type data, it is characterised in that:
One session layer is set on the data link layer, for the number between the node during carrying out data transmission Coordinate according to transmission,
Call duration time is divided into that the duration is equal and the communication cycles of circulating repetition by the session layer, and each communication follows Ring includes the static section, a dynamic segment and a free segment set gradually,
Equal by the multiple durations and time slot with different numbers of the static section is constituted, for carrying out the time trigger type The transmission of data,
The dynamic segment is used to carry out the transmission of the event triggering type data according to priority,
The free segment is the ending phase of the communication cycles,
Wherein, the data transfer task of each corresponding node of the time slot or a time trigger type,
The session layer is at least used to record node or number corresponding to the time-gap number, beginning and ending time and each time slot According to transformation task.
2. the ethernet communication method according to claim 1 that can be used for real-time Transmission, it is characterised in that:
Wherein, equal by the multiple durations and mini-slot with different numbers of the dynamic segment is constituted,
Each node has mutually different priority, when the node needs to carry out the transmission of event triggering type data When, the node of the highest priority occupies the transmission that a certain number of mini-slot carry out the event triggering type data,
The session layer be also used to record and receive and dispatch the mini-slot number and the beginning and ending time, the node priority and Need to carry out the node queue of the event triggering type data transmission.
3. the ethernet communication method according to claim 2 that can be used for real-time Transmission, it is characterised in that:
Wherein, when a node completes primary event triggering type data transmission, which passes through the session layer An end message is sent, the node of next priority is allowed to carry out the transmission of event triggering type data.
4. the ethernet communication method according to claim 1 that can be used for real-time Transmission, it is characterised in that:
Wherein, the data transmission in the static section uses scheduled fixed-bandwidth,
Data transmission in the dynamic segment uses bandwidth varying.
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 CN106603364A (en) 2017-04-26
CN106603364B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8467324B2 (en) * 2010-11-03 2013-06-18 Broadcom Corporation Managing devices within a vehicular communication network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN106603364A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN101741538B (en) Synchronous dispatching method
US20130070788A1 (en) Method and Apparatus for Interchanging Data, and Network
CN106603364B (en) A kind of ethernet communication method can be used for real-time Transmission
CN110519119B (en) Bandwidth management method and device based on video network and storage medium
CN109462753B (en) System and method for testing multiple video conferences
US8462687B2 (en) Method and apparatus for recovery processing of synchronously transmitted service data
CN109379254B (en) Network connection detection method and system based on video conference
CN110300283B (en) Monitoring and inspection control method and device based on video networking
CN110381119B (en) Method, system and device for acquiring log information and storage medium
CN103533661A (en) Wireless channel access control method based on virtual token
CN110049273B (en) Video networking-based conference recording method and transfer server
JP2006180510A (en) Method for controlling transfer of short data telegram
CN109889779A (en) A kind for the treatment of method and apparatus of packet out-ordering
CN109729388B (en) Method and device for switching video networking servers
CN110581975A (en) Conference terminal updating method and video networking system
CN105812492B (en) A kind of method of data synchronization and system
CN109660753A (en) Resource synchronization method and device
CN110224988B (en) Image data processing method, system and device and storage medium
CN109525463B (en) Method and device for detecting 64-bit video networking protocol communication function
CN101686431A (en) Synchronous processing method and device
US20120224488A1 (en) Method of connectivity monitoring by subscriber line terminating apparatus
CN101237319B (en) Time synchronization method in Ethernet ring network and Ethernet ring system
CN109819198A (en) A kind of meeting measures and procedures for the examination and approval and device based on view networking
CN108173763A (en) Message processing method, equipment and system
CN110557608B (en) Resource monitoring method, device and computer readable 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

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

TR01 Transfer of patent right