[go: up one dir, main page]

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
data transmission
transmission
data
node
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

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, and this Ethernet comprises a plurality of nodes that are equal and have mutual communication connections, each node has a data link layer for data transmission, and the data it transmits includes Time-triggered data and event-triggered data are characterized in that a session layer is set above the data link layer for data transmission coordination between nodes during the data transmission process, and the session layer divides the communication time into duration Equal and cyclically repeated communication loops, each communication loop includes a static segment and a dynamic segment set in sequence, the static segment consists of multiple time slots with equal duration and different numbers, used for time-triggered data transmission , the dynamic segment is used for event-triggered data transmission according to priority, wherein each time slot corresponds to a node or a time-triggered data transmission task.

Description

一种可用于实时传输的以太网通信方法An Ethernet Communication Method Applicable to Real-time Transmission

技术领域technical field

本发明涉及一种以太网通信方法,具体涉及一种可用于实时传输的以太网通信方法。The invention relates to an Ethernet communication method, in particular to an Ethernet communication method which can be used for real-time transmission.

背景技术Background technique

以太网是目前应用最为广泛的一种局域网通信技术,经过40多年的发展,其传输介质不断改进,传输速率和效率均具有很大的提升。随着城域以太网论坛(MEF)不断将以太网技术作为交换技术和传输技术广泛应用于城域网建设,以太网已经不仅仅局限于局域网应用,而是能够更广泛地应用到城域网(MAN)和广域网(WAN)的领域。Ethernet is currently the most widely used LAN communication technology. After more than 40 years of development, its transmission medium has been continuously improved, and its transmission rate and efficiency have been greatly improved. As the Metro Ethernet Forum (MEF) continues to widely apply Ethernet technology as a switching technology and transmission technology to the construction of MANs, Ethernet is not limited to LAN applications, but can be more widely used in MANs. (MAN) and Wide Area Network (WAN) domains.

现有技术的以太网数据传输多采用CSMA/CD介质访问控制机制,各个节点之间的传输冲突采用BEB算法进行处理,具有排队延迟的缺陷,使之无法在工业控制中得到有效的使用。因此,在工业控制中应用得较多的仍然是能够更好地实现实时、确定性通信的现场总线技术,或者是以太网与现场总线相结合的综合控制网络。The existing Ethernet data transmission mostly adopts the CSMA/CD media access control mechanism, and the transmission conflict between nodes is processed by the BEB algorithm, which has the defect of queuing delay, which makes it unable to be effectively used in industrial control. Therefore, the field bus technology that can better realize real-time and deterministic communication, or the comprehensive control network combining Ethernet and field bus, is still widely used in industrial control.

然而,与现场总线相比,以太网具有以下优点:(1)软硬件资源丰富,应用广泛,成本低廉;(2)通信速率高,比目前任何一种现场总线都快;(3)以太网支持多种传输介质、支持总线型和星型拓扑结构、易于与Internet连接,因此可扩展性强,能将工业控制网络的信息无缝集成,实现生产过程的远程监控、设备管理、软件维护和故障诊断。所以,改进以太网的通信方式,使以太网能够实现实时确定的通信,提升其实时性、确定性和通信可靠性已经成了目前以太网开发的迫切需求之一。However, compared with fieldbus, Ethernet has the following advantages: (1) rich hardware and software resources, wide application, low cost; (2) high communication rate, faster than any current fieldbus; (3) Ethernet It supports multiple transmission media, supports bus and star topologies, and is easy to connect to the Internet, so it has strong scalability and can seamlessly integrate information from industrial control networks to realize remote monitoring, equipment management, software maintenance and Troubleshooting. Therefore, improving the communication mode of Ethernet, enabling Ethernet to realize real-time deterministic communication, and improving its real-time performance, determinism and communication reliability have become one of the urgent needs of Ethernet development.

发明内容Contents of the invention

为解决上述问题,提供一种能够实现实时通信的以太网,本发明采用了如下技术方案:In order to solve the above problems, a kind of Ethernet capable of realizing real-time communication is provided, and the present invention adopts the following technical solutions:

本发明提供了一种可用于实时传输的以太网通信方法,该以太网包含多个平等并且具有相互通信连接的节点,每个节点具有用于进行数据传输的数据链路层,其传输的数据包括时间触发型数据和事件触发型数据,其特征在于:在数据链路层之上设置一个会话层,用于进行数据传输过程中节点之间的数据传输协调,会话层将通信时间分为持续时间相等并且循环重复的通信循环,每个通信循环均包括依次设置的一个静态段和一个动态段,静态段由多个时长相等并且具有不同编号的时隙构成,用于进行时间触发型数据的传输,动态段用于根据优先级进行事件触发型数据的传输,其中,每个时隙对应一个节点或一个时间触发型的数据传输任务,会话层至少用于记录时隙编号、起止时间及每个时隙所对应的节点或数据传输任务。The present invention provides a kind of Ethernet communication method that can be used for real-time transmission, and this Ethernet comprises a plurality of nodes that are equal and have mutual communication connections, each node has a data link layer for data transmission, and the data it transmits Including time-triggered data and event-triggered data, it is characterized in that a session layer is set above the data link layer for data transmission coordination between nodes in the data transmission process, and the session layer divides the communication time into continuous A communication cycle with equal time and repeated cycles. Each communication cycle includes a static segment and a dynamic segment set in sequence. The static segment consists of multiple time slots with equal duration and different numbers, which are used for time-triggered data transmission. Transmission, the dynamic segment is used for event-triggered data transmission according to priority, where each time slot corresponds to a node or a time-triggered data transmission task, and the session layer is at least used to record the time slot number, start and end time, and each Nodes or data transmission tasks corresponding to time slots.

本发明提供的可用于实时传输的以太网通信方法,还可以具有如下技术特征:其中,动态段由多个时长相等并且具有不同编号的微时隙构成,每个节点具有互不相同的优先级,当节点需要进行事件触发型数据的传输时,优先级最高的节点占用一定数量的微时隙进行事件触发型数据的传输,会话层还用于记录和收发微时隙的编号和起止时间、节点的优先级以及需要进行事件触发型数据传输的节点队列。The Ethernet communication method that can be used for real-time transmission provided by the present invention can also have the following technical features: wherein, the dynamic segment is composed of a plurality of mini-slots with equal duration and different numbers, and each node has a different priority , when a node needs to transmit event-triggered data, the node with the highest priority occupies a certain number of mini-slots for event-triggered data transmission, and the session layer is also used to record and send and receive the number and start and end time of the mini-slot, The priority of the nodes and the queue of nodes that require event-triggered data transfers.

本发明提供的可用于实时传输的以太网通信方法,还可以具有如下技术特征:其中,当一个节点完成一次事件触发型数据传输时,该节点通过会话层发送一个结束报文,让下一个优先级的节点进行事件触发型数据的传输。The Ethernet communication method that can be used for real-time transmission provided by the present invention can also have the following technical features: wherein, when a node completes an event-triggered data transmission, the node sends an end message through the session layer, allowing the next priority Nodes at the same level perform event-triggered data transmission.

本发明提供的可用于实时传输的以太网通信方法,还可以具有如下技术特征:其中,静态段内的数据传输采用预定的固定带宽,动态段内的数据传输采用可变带宽。The Ethernet communication method that can be used for real-time transmission provided by the present invention can also have the following technical features: wherein, the data transmission in the static segment adopts a predetermined fixed bandwidth, and the data transmission in the dynamic segment adopts a variable bandwidth.

本发明提供的可用于实时传输的以太网通信方法,还可以具有如下技术特征:其中,通信循环还包括一个设置在动态段之后的空闲段,该空闲段内所有的节点均不进行数据传输。The Ethernet communication method for real-time transmission provided by the present invention may also have the following technical features: wherein, the communication cycle further includes an idle segment set after the dynamic segment, and all nodes in the idle segment do not perform data transmission.

发明作用与效果Invention function and effect

根据本发明提供的可用于实时传输的以太网通信方法,由于在数据链路层上增设了一层会话层,该会话层将通信时间分为持续时间相等并且循环重复的通信循环,每个通信循环均具有一个静态段,该静态段包括多个编号不同且与节点或传输任务一一对应的时隙,因此能够各个节点之间的时间触发型通信并保证定时传输任务的完成,使以太网实现了时间确定性的通信,能够应用于具有实时通信要求的网络环境中。According to the Ethernet communication method that can be used for real-time transmission provided by the present invention, since a layer of session layer is added on the data link layer, the session layer divides the communication time into communication loops with equal duration and repeated cycles. Each cycle has a static segment, which includes a number of time slots with different numbers and one-to-one correspondence with nodes or transmission tasks, so that time-triggered communication between nodes can be performed and the completion of scheduled transmission tasks can be guaranteed, making Ethernet The time-deterministic communication is realized, and it can be applied in the network environment with real-time communication requirements.

附图说明Description of drawings

图1是本发明的以太网通信方法所采用的以太网通信系统结构示意图;Fig. 1 is the structural representation of the Ethernet communication system that Ethernet communication method of the present invention adopts;

图2是本发明的通信循环的结构示意图;Fig. 2 is a structural schematic diagram of the communication cycle of the present invention;

图3是本发明的时隙与微时隙的结构示意图。Fig. 3 is a schematic structural diagram of a time slot and a mini-slot in the present invention.

具体实施方式detailed description

以下结合附图来说明本发明的具体实施方式。The specific implementation manners of the present invention will be described below in conjunction with the accompanying drawings.

本发明的以太网通信方法所采用的以太网通信系统包括多个平等并且具有相互通信连接的节点。The Ethernet communication system adopted by the Ethernet communication method of the present invention includes a plurality of nodes that are equal and have mutual communication connections.

图1是本发明的以太网通信方法所采用的以太网通信系统结构示意图。FIG. 1 is a schematic structural diagram of an Ethernet communication system adopted by the Ethernet communication method of the present invention.

如图1所示,每个节点均具有自上而下设置的应用层、传输层、网络层、会话层、数据链路层以及物理层。其中,应用层、传输层、网络层、数据链路层以及物理层的设置及结构与通常的以太网系统相同。其中,应用层是最高层,是用户与网络的交互界面,负责处理网络特定的细节信息,应用层可为用户提供多种应用协议,如HTTP、SMTP和FTP等提供终端用户服务;传输层主要用于进行互联网络终端间的通信,为多台主机上的应用程序提供端到端的通信。网络层又称互联网层,主要功能为:逻辑寻址、数据封装、处理及传输、路由等。As shown in Figure 1, each node has an application layer, a transport layer, a network layer, a session layer, a data link layer, and a physical layer arranged from top to bottom. Among them, the settings and structures of the application layer, transport layer, network layer, data link layer and physical layer are the same as those of the usual Ethernet system. Among them, the application layer is the highest layer, which is the interactive interface between the user and the network, and is responsible for processing specific details of the network. The application layer can provide users with a variety of application protocols, such as HTTP, SMTP and FTP, etc. to provide end-user services; It is used for communication between Internet terminals and provides end-to-end communication for applications on multiple hosts. The network layer is also called the Internet layer, and its main functions are: logical addressing, data encapsulation, processing and transmission, routing, etc.

数据链路层主要包括逻辑链路控制子层(Logical Link Control,LLC)和媒体介入控制子层(Media Access Control,MAC)。其中,逻辑链路控制子层用于接收滤波、收发超载通知和进行恢复管理,媒体介入控制子层用于进行数据封装/拆装、帧编码、媒体访问管理等。会话层位于数据链路层之上,用于进行节点之间数据传输过程中的协调控制。另外,物理层作为传输媒体,用于进行位编码和解码、位定时和同步。The data link layer mainly includes a logical link control sublayer (Logical Link Control, LLC) and a media access control sublayer (Media Access Control, MAC). Among them, the logical link control sublayer is used for receiving filtering, sending and receiving overload notification, and recovery management, and the media access control sublayer is used for data encapsulation/disassembly, frame encoding, media access management, etc. The session layer is located above the data link layer and is used for coordination and control in the process of data transmission between nodes. In addition, the physical layer acts as a transmission medium for bit encoding and decoding, bit timing, and synchronization.

图2是本发明的通信循环的结构示意图。Fig. 2 is a schematic structural diagram of the communication cycle of the present invention.

如图2所示,本发明的会话层通过将通信时间分为持续时间相等并且循环重复的通信循环来完成通信过程中的协调工作。每个通信循环均包括依次设置的静态段、动态段和空闲段,静态段用于进行确定性实时通信,其数据传输采用预先设定的预定带宽;动态段用于进行事件触发型数据传输,其数据传输采用可变带宽。空闲段为通信循环的结束阶段,在该空闲段内网络处于空闲模式,各个节点均不进行数据传输。在系统组态时,各个节点之间的时间均事先进行同步,因而每个通信循环的开始时刻均源自于一个同步时基的触发信号。As shown in FIG. 2, the session layer of the present invention completes the coordination work in the communication process by dividing the communication time into communication cycles with equal duration and repeated cycles. Each communication cycle includes a static segment, a dynamic segment, and an idle segment set in sequence. The static segment is used for deterministic real-time communication, and its data transmission adopts a preset predetermined bandwidth; the dynamic segment is used for event-triggered data transmission. Its data transmission uses variable bandwidth. The idle segment is the end stage of the communication cycle, in which the network is in an idle mode, and each node does not transmit data. During system configuration, the time between each node is synchronized in advance, so the start moment of each communication cycle is derived from a trigger signal of a synchronous time base.

图3是本发明的时隙与微时隙的结构示意图。Fig. 3 is a schematic structural diagram of a time slot and a mini-slot in the present invention.

如图3所示,静态段分为n个持续时间相同的时隙(即slot),这些时隙的编号各不相同,因而每个时隙的编号均是唯一的,即,这些时隙按照时间排序,编号分别为slot 1~slot n。并且,每个时隙的持续时间、开始时刻和结束时刻均在系统组态时就设定好;当使用双通道模式通信时,两个通道上的时隙格式(编号、持续时间、起止时刻)也完全相同。每个时隙均对应一个需要进行定时传输的节点或者数据传输任务,其对应关系由节点或任务的编号与时隙编号一一对应来实现。例如,当一个节点具有定时传输的需要时,在系统组态时就为其分配一个编号确定的时隙,该节点的会话层在该时隙的开始时刻让其通过开始进行定时数据的传输,并在该时隙的结束时刻让其停止传输。As shown in Figure 3, the static segment is divided into n time slots (that is, slots) with the same duration, and the numbers of these time slots are different, so the number of each time slot is unique, that is, these time slots Sorted by time, numbered from slot 1 to slot n. Moreover, the duration, start time and end time of each time slot are all set during system configuration; when using dual-channel mode communication, the time slot format (number, duration, start and end time) on the two channels ) is also exactly the same. Each time slot corresponds to a node or data transmission task that needs to be transmitted regularly, and the corresponding relationship is realized by one-to-one correspondence between the number of the node or task and the number of the time slot. For example, when a node has a need for timing transmission, it is allocated a time slot with a certain number during system configuration, and the session layer of the node allows it to start timing data transmission at the beginning of the time slot. And let it stop transmitting at the end of the time slot.

其中,会话层记录有这些时隙的编号、起止时刻以及对应的节点或任务编号,让需要进行定时传输的节点以及定时传输任务所需的节点在其对应的时隙内进行数据传输。Among them, the session layer records the number of these time slots, the start and end time, and the corresponding node or task number, so that the nodes that need to perform scheduled transmission and the nodes required for the scheduled transmission task can perform data transmission in their corresponding time slots.

如图3所示,动态段分为多个持续时间相同的微时隙,这些微时隙同样具有各不相同的编号。在本实施例中,微时隙的编号按照同一通讯循环的时隙编号来进行继续编号,即微时隙的编号为n+1,n+2,n+3,……,n+x。当一个节点需要进行事件触发型的数据传输时,该节点向网络上发送一个要求进行数据传输的报文,并且将其编号记入事件触发型数据传输的队列。不同的节点具有不同的优先级,该优先级同样在系统组态时分配给各个节点并记录在会话层中。As shown in Figure 3, the dynamic segment is divided into multiple mini-slots of the same duration, and these mini-slots also have different numbers. In this embodiment, the mini-slots are numbered continuously according to the slot numbers of the same communication cycle, that is, the mini-slots are numbered n+1, n+2, n+3, . . . , n+x. When a node needs to perform event-triggered data transmission, the node sends a message requesting data transmission to the network, and records its number into the event-triggered data transmission queue. Different nodes have different priorities, which are also assigned to each node during system configuration and recorded in the session layer.

当事件触发型数据传输的队列中,某个节点的优先级最高时,该节点就占用一定数量的微时隙,并将这些微时隙作为动态时隙来进行事件触发型的数据传输,发送相应的动态段数据帧。每个动态段数据帧结尾包括一个帧尾标识符,让其他节点的会话层接收该节点发送结束的信息,从而使下一个优先级的节点继续占用该微时隙以后的一定数量微时隙来进行传输。When a node has the highest priority in the event-triggered data transmission queue, the node will occupy a certain number of mini-slots and use these mini-slots as dynamic time slots for event-triggered data transmission. The corresponding dynamic segment data frame. The end of each dynamic segment data frame includes an end-of-frame identifier, allowing the session layer of other nodes to receive the information sent by the node, so that the next priority node continues to occupy a certain number of mini-slots after this mini-slot. to transfer.

其中,会话层还记录有这些微时隙的编号、起止时刻、需要进行事件触发型数据传输的节点队列以及各个节点的优先级。让需要进行定时传输的节点以及定时传输任务所需的节点在其对应的时隙内进行数据传输。Among them, the session layer also records the numbers of these mini-slots, the start and end times, the node queues that need to perform event-triggered data transmission, and the priority of each node. Let the nodes that need to perform timing transmission and the nodes required for timing transmission tasks perform data transmission in their corresponding time slots.

实施例作用与效果Function and effect of embodiment

根据本实施例提供的可用于实时传输的以太网通信方法,由于在数据链路层上增设了一层会话层,该会话层将通信时间分为持续时间相等并且循环重复的通信循环,每个通信循环均具有一个静态段,该静态段包括多个编号不同且与节点或传输任务一一对应的时隙,因此能够各个节点之间的时间触发型通信并保证定时传输任务的完成,使以太网实现了时间确定性的通信,能够应用于具有实时通信要求的网络环境中。According to the Ethernet communication method that can be used for real-time transmission provided by this embodiment, since a layer of session layer is added on the data link layer, the session layer divides the communication time into communication loops with equal duration and repeated cycles, each Each communication cycle has a static segment, which includes multiple time slots with different numbers and one-to-one correspondence with nodes or transmission tasks, so that time-triggered communication between nodes is possible and the completion of scheduled transmission tasks is guaranteed, making Ethernet The network realizes time-deterministic communication and can be applied to network environments with real-time communication requirements.

另外,由于通过会话层还能够将动态段分为多个持续时间相同的微时隙,让节点能够按照优先级占用一定数量的微时隙来进行事件触发型数据传输,并且节点的优先级及相应的事件触发型数据传输可通过会话层来进行收发和记录,因此本实施例的可用于实时传输的以太网通信方法还能够同时实现依优先级进行的事件触发型通信,让本实施例所涉及的以太网具有了确定性、可容错性以及强实时性。In addition, since the dynamic segment can also be divided into multiple mini-slots with the same duration through the session layer, the nodes can occupy a certain number of mini-slots according to the priority for event-triggered data transmission, and the priority of the node and Corresponding event-triggered data transmission can be sent, received and recorded through the session layer, so the Ethernet communication method that can be used for real-time transmission in this embodiment can also realize event-triggered communication according to priority at the same time, so that the present embodiment The Ethernet involved is deterministic, fault-tolerant, and strong real-time.

Claims (5)

1.一种可用于实时传输的以太网通信方法,该以太网包含多个平等并且具有相互通信连接的节点,每个节点具有用于进行数据传输的数据链路层,其传输的数据包括时间触发型数据和事件触发型数据,其特征在于:1. An Ethernet communication method that can be used for real-time transmission, the Ethernet includes a plurality of nodes that are equal and have mutual communication connections, each node has a data link layer for data transmission, and the data it transmits includes time Triggered data and event-triggered data, characterized by: 在所述数据链路层之上设置一个会话层,用于进行数据传输过程中所述节点之间的数据传输协调,setting a session layer above the data link layer for data transmission coordination between the nodes during the data transmission process, 所述会话层将通信时间分为持续时间相等并且循环重复的通信循环,每个所述通信循环均包括依次设置的一个静态段和一个动态段,The session layer divides the communication time into communication cycles with equal duration and repeated cycles, each of which includes a static segment and a dynamic segment set in sequence, 所述静态段由多个时长相等并且具有不同编号的时隙构成,用于进行所述时间触发型数据的传输,The static segment is composed of a plurality of time slots with equal duration and different numbers, and is used for the transmission of the time-triggered data, 所述动态段用于根据优先级进行所述事件触发型数据的传输,The dynamic segment is used to transmit the event-triggered data according to the priority, 其中,每个所述时隙对应一个节点或一个时间触发型的数据传输任务,Wherein, each time slot corresponds to a node or a time-triggered data transmission task, 所述会话层至少用于记录所述时隙编号、起止时间及每个所述时隙所对应的节点或数据传输任务。The session layer is at least used to record the time slot number, start and end time, and the node or data transmission task corresponding to each time slot. 2.根据权利要求1所述的可用于实时传输的以太网通信方法,其特征在于:2. the Ethernet communication method that can be used for real-time transmission according to claim 1, is characterized in that: 其中,所述动态段由多个时长相等并且具有不同编号的微时隙构成,Wherein, the dynamic segment is composed of a plurality of mini-slots with equal duration and different numbers, 每个所述节点具有互不相同的优先级,当所述节点需要进行事件触发型数据的传输时,所述优先级最高的所述节点占用一定数量的微时隙进行所述事件触发型数据的传输,Each of the nodes has a different priority. When the nodes need to transmit event-triggered data, the node with the highest priority occupies a certain number of mini-slots to transmit the event-triggered data. transmission, 所述会话层还用于记录和收发所述微时隙的编号和起止时间、所述节点的优先级以及需要进行所述事件触发型数据传输的节点队列。The session layer is also used to record and send and receive the number and start and end time of the mini-slot, the priority of the node, and the queue of nodes that need to perform the event-triggered data transmission. 3.根据权利要求2所述的可用于实时传输的以太网通信方法,其特征在于:3. the Ethernet communication method that can be used for real-time transmission according to claim 2, is characterized in that: 其中,当一个所述节点完成一次所述事件触发型数据传输时,该节点通过所述会话层发送一个结束报文,让下一个优先级的节点进行事件触发型数据的传输。Wherein, when one of the nodes completes an event-triggered data transmission, the node sends an end message through the session layer to allow the next priority node to perform event-triggered data transmission. 4.根据权利要求1所述的可用于实时传输的以太网通信方法,其特征在于:4. the Ethernet communication method that can be used for real-time transmission according to claim 1, is characterized in that: 其中,所述静态段内的数据传输采用预定的固定带宽,Wherein, the data transmission in the static segment adopts a predetermined fixed bandwidth, 所述动态段内的数据传输采用可变带宽。Data transmission within the dynamic segment employs a variable bandwidth. 5.根据权利要求1所述的可用于实时传输的以太网通信方法,其特征在于:5. the Ethernet communication method that can be used for real-time transmission according to claim 1, is characterized in that: 其中,所述通信循环还包括一个设置在所述动态段之后的空闲段,该空闲段内所有的所述节点均不进行所述数据传输。Wherein, the communication cycle further includes an idle segment set after the dynamic segment, and all the nodes in the idle segment do not perform the data transmission.
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 航天东方红卫星有限公司 A Communication Method of FlexRay Bus Application Layer for Small Satellites
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 航天东方红卫星有限公司 A Communication Method of FlexRay Bus Application Layer for Small Satellites

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
US12395449B2 (en) Packet transmission method and apparatus
CN102237718B (en) Method and device of operating wind power electric field power network with improved data transmission protocol
CN110870285B (en) Method for high-performance data transmission in data networks with partial real-time requirements and device for carrying out said method
CN108012106B (en) A kind of method and system regarding networking monitoring source synchronous
CN114884811B (en) Method for realizing centralized user configuration of time sensitive network
CN115834508B (en) A method for determining a message period and a related device thereof
US10819535B2 (en) Method for data packet transmission and/or reception
CN109151058A (en) A kind of data transmission method and device
CN106603364B (en) A kind of ethernet communication method can be used for real-time Transmission
US9166868B2 (en) Distributed control plane for link aggregation
US12267248B2 (en) Network infrastructure device, communication terminal and method for synchronizing control applications via a communication network for transferring time-critical data
JP6152425B2 (en) Real-time message transmission method and computer network for transmitting real-time messages
CN110138730B (en) A subscription method, device and storage medium for protocol conversion equipment
Weber EtherCAT and TSN-Best Practices for Industrial Ethernet System Architectures
CN115189983A (en) A TSN device for accessing AUTBUS network
CN109347930A (en) A kind of task processing method and device
CN110784683B (en) A management method, device and storage medium for monitoring resources
Simon et al. Ethernet with time sensitive networking tools for industrial networks
CN111510341A (en) Network testing method and device for video network
CN104869041A (en) Method for dynamic path planning in ring network
CN110557594B (en) A video call processing method, device and storage medium
CN110417933B (en) Business object processing method and device and storage medium
Ma et al. Evaluation of flexilink as unified real-time protocol for industrial networks
CN110933512A (en) Load determination method and device based on video network
EP4629589A1 (en) Packet transmission method, apparatus, network device, 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

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