CN112202690B - A High-speed Bus Network Based on Switching and Ring Network Redundancy - Google Patents
A High-speed Bus Network Based on Switching and Ring Network Redundancy Download PDFInfo
- Publication number
- CN112202690B CN112202690B CN202011054860.5A CN202011054860A CN112202690B CN 112202690 B CN112202690 B CN 112202690B CN 202011054860 A CN202011054860 A CN 202011054860A CN 112202690 B CN112202690 B CN 112202690B
- Authority
- CN
- China
- Prior art keywords
- network
- scheduling
- data
- nodes
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/55—Prevention, detection or correction of errors
- H04L49/552—Prevention, detection or correction of errors by ensuring the integrity of packets received through redundant connections
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40169—Flexible bus arrangements
- H04L12/40176—Flexible bus arrangements involving redundancy
- H04L12/40195—Flexible bus arrangements involving redundancy by using a plurality of nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/55—Prevention, detection or correction of errors
- H04L49/555—Error detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/55—Prevention, detection or correction of errors
- H04L49/557—Error correction, e.g. fault recovery or fault tolerance
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及总线技术领域,尤其是一种基于交换和环网冗余的高速总线网络。The invention relates to the field of bus technology, in particular to a high-speed bus network based on switching and ring network redundancy.
背景技术Background technique
随着信息技术革命浪潮的深入发展,航电系统数据总线技术也在快速更新,以满足各级系统设备的数据传输和信息互联要求。With the in-depth development of the wave of information technology revolution, the data bus technology of avionics system is also being updated rapidly to meet the data transmission and information interconnection requirements of system equipment at all levels.
MIL-STD-1553B作为第一代航电系统数据总线技术,具有良好的冗余容错能力和实时性(响应时间为毫秒级),但传输速率只有1Mbps,无法满足大容量数据传输的要求;FC-AE-1553B总线基于MIL-STD-1553B与光纤通信技术,在兼容MIL-STD-1553B总线的基础上,又具有光纤通信的高传输速率、低误码率等特性,得到了快速发展和广泛应用,但FC-AE-1553B总线无时间同步功能和冗余管理功能,同时和MIL-STD-1553B一样,需要专有硬件支持,大大提高了设计成本以及设计周期;AFDX(Avionics Full Duplex SwitchedEthernet,航空电子全双工交换式以太网)总线最大的优势是可以使用通用以太网硬件实现,同时采用虚拟链路技术和冗余管理技术,提高了数据传输的可靠性,但传输速率一般为100Mbps,且实时性无法保证;TTE(Time Trigged Ethernet,时间触发以太网)在传统以太网协议IEEE802.3的基础上,引入时钟同步技术,增加时间触发服务,既能全面兼容传统以太网通信,又能实现高实时性时间触发通信,但TTE目前能实现的最高速率为1Gbps,且需要采用专有硬件;在普通的以太网硬件上,TTE只能通过软件实现,速率最高为100Mbps。以上各种总线的特性对比如下表所示。MIL-STD-1553B, as the first generation of avionics system data bus technology, has good redundancy and fault tolerance and real-time performance (response time is millisecond level), but the transmission rate is only 1Mbps, which cannot meet the requirements of large-capacity data transmission; FC -AE-1553B bus is based on MIL-STD-1553B and optical fiber communication technology. On the basis of being compatible with MIL-STD-1553B bus, it also has the characteristics of high transmission rate and low bit error rate of optical fiber communication. It has been developed rapidly and widely application, but the FC-AE-1553B bus has no time synchronization function and redundancy management function. At the same time, like MIL-STD-1553B, it needs proprietary hardware support, which greatly increases the design cost and design cycle; AFDX (Avionics Full Duplex SwitchedEthernet, The biggest advantage of the avionics full-duplex switched Ethernet) bus is that it can be realized by general-purpose Ethernet hardware. At the same time, virtual link technology and redundancy management technology are used to improve the reliability of data transmission, but the transmission rate is generally 100Mbps. And the real-time performance cannot be guaranteed; TTE (Time Triggered Ethernet) introduces clock synchronization technology and adds time-triggered services on the basis of the traditional Ethernet protocol IEEE802.3, which can not only be fully compatible with traditional Ethernet communication, but also To achieve high real-time time-triggered communication, but the highest rate that TTE can currently achieve is 1Gbps, and proprietary hardware is required; on ordinary Ethernet hardware, TTE can only be realized by software, with a rate of up to 100Mbps. The comparison of the characteristics of the above various buses is shown in the table below.
未来,随着航电设备复杂度的提升,数据吞吐量越来越大,对数据传输的可靠性和实时性要求也越来越高,因此迫切需要发展新的总线技术,来满足航电系统的复杂需求。In the future, with the increase in the complexity of avionics equipment, the data throughput will increase, and the reliability and real-time requirements for data transmission will become higher and higher. Therefore, it is urgent to develop new bus technology to meet the needs of avionics systems. complex needs.
发明内容Contents of the invention
鉴于上述的分析,本发明旨在提供一种基于交换和环网冗余的高速总线网络;解决未来航电系统对数据量、实时性和可靠性的要求问题。In view of the above analysis, the present invention aims to provide a high-speed bus network based on switching and ring network redundancy; to solve the requirements of future avionics systems on data volume, real-time performance and reliability.
本发明公开了一种基于交换和环网冗余的高速总线网络,包括N个交换节点和M*N个终端节点;The invention discloses a high-speed bus network based on switching and ring network redundancy, which includes N switching nodes and M*N terminal nodes;
每一个交换节点与M个终端节点首尾相连组成环网,N个交换节点之间按星型结构互联,构成一个交换+环网的复合网络结构;Each switching node is connected end-to-end with M terminal nodes to form a ring network, and N switching nodes are interconnected in a star structure to form a composite network structure of switching + ring network;
在所述复合网络结构中,交换节点作为网络的核心节点,对全网的数据交互和通信互联进行通信调度,使整个网络在一个全局统一时间内,达到同步稳定状态,避免传输冲突的发生;In the composite network structure, the switching node, as the core node of the network, performs communication scheduling for the data interaction and communication interconnection of the entire network, so that the entire network can reach a synchronous and stable state within a global unified time, avoiding the occurrence of transmission conflicts;
终端节点作为网络的数据终端,用于通信数据流的产生和接收处理。As the data terminal of the network, the terminal node is used for the generation, reception and processing of communication data streams.
进一步地,所述交换节点和交换节点之间,交换节点和终端节点之间,终端节点和终端节点之间均采用光纤和以太网双绞线进行连接,光纤和以太网互为冗余。Further, the switching nodes and the switching nodes, between the switching nodes and the terminal nodes, and between the terminal nodes are connected by optical fibers and Ethernet twisted-pair wires, and the optical fibers and the Ethernet are mutually redundant.
进一步地,所述高速总线网络的通信调度中,采用有序调度和自由调度相结合的网络通信调度方法,将每个总线网络调度周期分成有序调度周期和自由调度周期;Further, in the communication scheduling of the high-speed bus network, a network communication scheduling method combining ordered scheduling and free scheduling is adopted, and each bus network scheduling period is divided into an ordered scheduling period and a free scheduling period;
在有序调度周期,作为总线控制器的交换节点向其他交换节点和终端节点有序发送包括控制命令在内的高实时、小数据流、低带宽的周期数据;In the orderly scheduling period, the switching node as the bus controller sends high real-time, small data flow, and low-bandwidth periodic data including control commands to other switching nodes and terminal nodes in an orderly manner;
在自由调度周期,网络中各节点之间自由进行包括传感器和多媒体数据在内的低实时、大数据流、高带宽的数据的传输。In the free scheduling period, the nodes in the network are free to transmit low real-time, large data flow, and high bandwidth data including sensor and multimedia data.
进一步地,所述通信调度方法包括以下步骤:Further, the communication scheduling method includes the following steps:
1)将总线时间划分为确定的基本周期;1) Divide the bus time into definite basic cycles;
2)在每个总线网络调度周期的起始时刻,以交换节点中的其中一个作为总线控制器,发送一个广播报文到所有的网络节点,指示当前进入有序调度阶段;2) At the beginning of each bus network scheduling cycle, one of the switching nodes is used as the bus controller to send a broadcast message to all network nodes, indicating that it is currently entering the orderly scheduling phase;
3)当各节点的有序调度结束后,总线控制器会再发送一个广播报文,指示当前的调度阶段进入自由调度阶段。3) After the orderly scheduling of each node ends, the bus controller will send another broadcast message, indicating that the current scheduling phase enters the free scheduling phase.
进一步地,在有序调度阶段,作为总线控制器的交换节点发起的网络传输其他交换节点和终端节点必须进行响应,并且不允许其他节点主动发起网络数据传输。Furthermore, in the ordered scheduling phase, other switching nodes and terminal nodes must respond to the network transmission initiated by the switching node as the bus controller, and other nodes are not allowed to actively initiate network data transmission.
进一步地,根据总线控制器发送控制命令的周期特性,总线控制器选择在控制指令没有改变的总线网络调度周期只进行自由调度,不进行有序调度。Further, according to the cycle characteristics of the control command sent by the bus controller, the bus controller chooses to only perform free scheduling in the bus network scheduling period when the control command does not change, and does not perform ordered scheduling.
进一步地,自由调度采用点到点通信,在网络中允许同时传输多个方向的数据。Furthermore, free scheduling adopts point-to-point communication, which allows simultaneous transmission of data in multiple directions in the network.
进一步地,在每个总线网络周期的自由调度阶段,各网络节点对数据流进行轮询,当发现存在数据流时,则进行点对点的数据传输,直到这个总线网络周期结束;如果数据块很大,传输时间大于一个总线网络调度周期的自由调度周期,则按照每个自由调度周期最大数据传输量将数据块分成若干个数据子块,在连续的总线网络周期的自由调度阶段,依次传输所述数据字块直至完成整个数据块的传输。Furthermore, in the free scheduling phase of each bus network cycle, each network node polls the data flow, and when it finds that there is a data flow, it performs point-to-point data transmission until the end of the bus network cycle; if the data block is large , the transmission time is greater than the free scheduling cycle of a bus network scheduling cycle, the data block is divided into several data sub-blocks according to the maximum data transmission amount of each free scheduling cycle, and the data are transmitted sequentially in the free scheduling phase of the continuous bus network cycle Data word block until complete transfer of the entire data block.
进一步地,所述总线网络在物理层、链路层,网络层、传输层和应用层均采用冗余容错,保证网络的可靠性。Further, the bus network adopts redundant fault tolerance in the physical layer, link layer, network layer, transport layer and application layer to ensure the reliability of the network.
进一步地,所述冗余容错包括以下方法:Further, the redundant fault tolerance includes the following methods:
1)物理层的光电冗余;通过光纤和以太网的互为冗余,利用铜缆的抗振动、抗拉伸性能和光缆的抗电磁干扰性能,提升传输的可靠性;1) Photoelectric redundancy at the physical layer; through the mutual redundancy of optical fiber and Ethernet, the reliability of transmission is improved by using the anti-vibration and anti-stretch performance of copper cables and the anti-electromagnetic interference performance of optical cables;
2)链路层的帧校验去冗余;对网络中多条冗余路径带来的报文冗余进行帧校验去除冗余数据报文,上传链路层唯一正确的数据报文;2) Frame verification at the link layer to remove redundancy; perform frame verification to remove redundant data messages from message redundancy brought by multiple redundant paths in the network, and upload the only correct data message at the link layer;
3)数据重传;对数据报文进行逐条的传输超时时间配置,当出现传输超时提供重传机制,支持包括三次重传的四次传输;3) Data retransmission; configure the transmission timeout period one by one for data messages, provide a retransmission mechanism when a transmission timeout occurs, and support four transmissions including three retransmissions;
4)固定响应回环;通过在传输层进行在线判断,固定响应回环判断通信的传输层、链路层、物理层通信状况,用于实现通信故障的监听;4) Fixed response loopback; through online judgment at the transport layer, the fixed response loopback judges the communication status of the transport layer, link layer, and physical layer of the communication, and is used to monitor communication failures;
5)传输层调度控制切换;在交换节点设置两个完全相同且彼此独立的交换单元,两者互为冗余备份,备份交换单元冗余通过路径持续监听主交换单元的网络调度过程,当发现主交换单元停止调度后,备份交换单元立即启动,接替总线网络的持续调度,避免网络瘫痪。5) Transmission layer scheduling control switching; set two identical and independent switching units at the switching node, the two are mutually redundant backups, and the backup switching unit redundantly monitors the network scheduling process of the main switching unit continuously through the path. After the main switching unit stops scheduling, the backup switching unit starts immediately to take over the continuous scheduling of the bus network to avoid network paralysis.
6)应用层运行监控;对应用层响应回环进行刷新,监控应用层运行状况。6) Application layer operation monitoring; refresh the application layer response loopback, and monitor the application layer operation status.
本发明至少实现以下有益效果之一:The present invention at least achieves one of the following beneficial effects:
1、本发明提出的这种新型高速总线,实现了大数据块(传感器和多媒体数据)高带宽和小数据块(控制命令)高实时的并行调度,既能满足航电系统对高通信速率的要求,又可以保证实时消息的确定性。1. This novel high-speed bus proposed by the present invention has realized the high-bandwidth and high-real-time parallel scheduling of large data blocks (sensor and multimedia data) and small data blocks (control commands), which can satisfy the requirements of avionics systems for high communication rates. Requirements, but also to ensure the certainty of real-time news.
2、本发明提出的这种新型高速总线,采用多种冗余容错技术,在不同协议层次上加强网络的冗余容错设计,从而有效提升总线网络的可靠性。2. The new high-speed bus proposed by the present invention adopts multiple redundant fault-tolerant technologies to strengthen the redundant fault-tolerant design of the network at different protocol levels, thereby effectively improving the reliability of the bus network.
3、本发明提出的这种新型高速总线,采用成熟物理层技术以及COTS通用器件,设计难度和成本低,传输速率高,实时性好,可靠性高,可以满足高速/低速相结合的多协议分层网络,可以满足航电系统的复杂需求,具有广阔的应用前景。3. The new high-speed bus proposed by the present invention adopts mature physical layer technology and COTS general-purpose devices, which has low design difficulty and cost, high transmission rate, good real-time performance and high reliability, and can meet the combination of high-speed/low-speed multi-protocol The layered network can meet the complex requirements of the avionics system and has broad application prospects.
附图说明Description of drawings
附图仅用于示出具体实施例的目的,而并不认为是对本发明的限制,在整个附图中,相同的参考符号表示相同的部件。The drawings are for the purpose of illustrating specific embodiments only and are not to be considered as limitations of the invention, and like reference numerals refer to like parts throughout the drawings.
图1为本发明实施例中的高速总线的拓扑结构图;Fig. 1 is the topological structure diagram of the high-speed bus in the embodiment of the present invention;
图2是本发明实施例中的高速总线的网络调度示意图;Fig. 2 is a schematic diagram of network scheduling of a high-speed bus in an embodiment of the present invention;
图3是本发明实施例中的高速总线的协议层次结构图。Fig. 3 is a diagram of the protocol layer structure of the high-speed bus in the embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图来具体描述本发明的优选实施例,其中,附图构成本申请一部分,并与本发明的实施例一起用于阐释本发明的原理。Preferred embodiments of the present invention will be specifically described below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of the application and are used together with the embodiments of the present invention to explain the principles of the present invention.
本实施例公开了一种基于交换和环网冗余的高速总线网络,如图1所示,其网络拓扑结构中包括N个交换节点和M*N个终端节点;This embodiment discloses a high-speed bus network based on switching and ring network redundancy. As shown in FIG. 1 , its network topology includes N switching nodes and M*N terminal nodes;
每一个交换节点与M个终端节点首尾相连组成环网,N个交换节点之间按星型结构互联,构成一个交换+环网的复合网络结构;Each switching node is connected end-to-end with M terminal nodes to form a ring network, and N switching nodes are interconnected in a star structure to form a composite network structure of switching + ring network;
并且,交换节点和交换节点之间,交换节点和终端节点之间,终端节点和终端节点之间均采用光纤和以太网双绞线进行连接,光电互为冗余设计。In addition, optical fiber and Ethernet twisted pair are used for connection between switching nodes, between switching nodes and terminal nodes, and between terminal nodes, and the photoelectric mutual redundancy design.
在所述复合网络结构中,交换节点作为网络的核心节点,对全网的数据交互和通信互联进行通信调度,使整个网络在一个全局统一时间内,达到同步稳定状态,避免传输冲突的发生;In the composite network structure, the switching node, as the core node of the network, performs communication scheduling for the data interaction and communication interconnection of the entire network, so that the entire network can reach a synchronous and stable state within a global unified time, avoiding the occurrence of transmission conflicts;
具体的,交换节点包含两个完全相同且彼此独立的交换单元,两者可以互为冗余备份,备份交换单元冗余通过路径持续监听主交换单元的网络调度过程,当发现主交换单元停止调度后,备份交换单元立即启动,接替总线网络的持续调度,避免网络瘫痪。Specifically, the switching node includes two completely identical switching units that are independent of each other. The two can serve as redundant backups for each other. The backup switching unit redundantly monitors the network scheduling process of the main switching unit continuously through the path. When it is found that the main switching unit stops scheduling After that, the backup switching unit starts immediately to take over the continuous scheduling of the bus network to avoid network paralysis.
终端节点作为网络的数据终端,用于通信数据流的产生和接收处理。As the data terminal of the network, the terminal node is used for the generation, reception and processing of communication data streams.
交换节点和终端节点均采用COTS通用光收发器和以太网收发器器件,并提供多路光纤接口和以太网电口,其中光纤用来传输大容量高带宽数据,最高可实现几十Gbps的传输速率;以太网口既可以传输大数据,也可以传输时间同步信息。Both switching nodes and terminal nodes adopt COTS general-purpose optical transceivers and Ethernet transceiver devices, and provide multi-channel optical fiber interfaces and Ethernet electrical ports, among which optical fibers are used to transmit large-capacity and high-bandwidth data, and can achieve transmission of up to tens of Gbps Speed; the Ethernet port can transmit both large data and time synchronization information.
交换节点包含用于时间同步的电路模块,通过执行IEEE1588协议实现时间同步,使整个网络维护一个全局统一时间,精度可达ns级。终端节点通过接收交换节点发送过来的时间信息,与相连的交换节点保持时间同步,经过一段时间的报文交换和时间信息处理,整个网络的全局时间达到同步稳定状态。The switching node includes circuit modules for time synchronization, and realizes time synchronization by implementing the IEEE1588 protocol, so that the entire network maintains a global unified time, and the precision can reach ns level. The terminal node maintains time synchronization with the connected switching node by receiving the time information sent by the switching node. After a period of message exchange and time information processing, the global time of the entire network reaches a stable state of synchronization.
在一个具体的实施例中,与每个交换节点接成环网的终端节点数量不超过8个,交换节点数量不超过16个,全网通信节点数量最大可达128个。In a specific embodiment, the number of terminal nodes connected to each switching node to form a ring network does not exceed 8, the number of switching nodes does not exceed 16, and the maximum number of communication nodes in the entire network can reach 128.
本实施例的高速总线网络的通信调度,采用有序调度和自由调度相结合的网络通信调度方法,将每个总线网络调度周期分成有序调度周期和自由调度周期;通过周期性地调度网络,来满足小数据块和大数据块组合调度的要求。The communication scheduling of the high-speed bus network in this embodiment adopts a network communication scheduling method combining ordered scheduling and free scheduling, and divides each bus network scheduling cycle into an ordered scheduling cycle and a free scheduling cycle; by periodically scheduling the network, To meet the requirements of combined scheduling of small data blocks and large data blocks.
在有序调度周期,可任意指定一个交换节点总线控制器;作为总线控制器的交换节点向其他交换节点和终端节点有序发送包括控制命令在内的高实时、小数据流、低带宽的周期数据;In the orderly scheduling cycle, a switching node bus controller can be arbitrarily designated; the switching node as the bus controller sends orderly high real-time, small data flow, and low bandwidth cycles including control commands to other switching nodes and terminal nodes data;
在自由调度周期,网络中各节点之间自由进行包括传感器和多媒体数据在内的低实时、大数据流、高带宽的数据的传输。In the free scheduling period, the nodes in the network are free to transmit low real-time, large data flow, and high bandwidth data including sensor and multimedia data.
具体的网络通信调度方法如图2所示,The specific network communication scheduling method is shown in Figure 2.
1)将总线时间划分为确定的基本周期;1) Divide the bus time into definite basic cycles;
基本周期可根据具体的应用场景进行划分,长度以低至500us。The basic cycle can be divided according to specific application scenarios, and the length can be as low as 500us.
2)在每个总线网络调度周期的起始时刻,以交换节点中的其中一个作为总线控制器,发送一个广播报文到所有网络节点,指示当前进入有序调度周期;2) At the beginning of each bus network scheduling cycle, one of the switching nodes is used as the bus controller to send a broadcast message to all network nodes, indicating that the current order scheduling cycle is entered;
所述广播报文作为包括控制命令的高优先级调度同步指示包,发送到所有的网络节点,协调各节点的有序调度。The broadcast message is sent to all network nodes as a high-priority scheduling synchronization instruction packet including control commands to coordinate orderly scheduling of each node.
有序调度阶段,主要传输控制命令等周期数据,每个总线网络周期固定传输一次,由某个交换节点作为总线控制器发起网络传输,其他交换节点和终端节点必须对总线控制器发起的传输进行响应,而不允许主动发起网络数据传输。在这个阶段中,总线网络的所有数据流都不会发生任何竞争,数据在严格的时间定义下执行,时间确定性好,适合传输高可靠、高实时的控制数据。In the orderly scheduling stage, the periodic data such as control commands are mainly transmitted, which is fixedly transmitted once in each bus network cycle. A certain switching node acts as the bus controller to initiate network transmission, and other switching nodes and terminal nodes must carry out the transmission initiated by the bus controller. Responses, rather than actively initiating network data transfers. In this stage, all data streams of the bus network will not have any competition, and the data is executed under strict time definition, with good time determinism, which is suitable for transmitting highly reliable and high real-time control data.
具体的,控制指令包括时间同步信息,传感器参数配置命令以及其他自定义的命令;Specifically, the control instructions include time synchronization information, sensor parameter configuration commands and other custom commands;
具体的,各节点响应的内容为时间同步信息,传感器当前参数配置、工作状态是否正常或者命令是否配置成功等;并且各节点的响应报文里面包含目的地址信息;Specifically, the content of the response of each node is time synchronization information, the current parameter configuration of the sensor, whether the working status is normal or whether the command configuration is successful, etc.; and the response message of each node contains destination address information;
当一个节点收到其他节点的响应报文时进行目的地址信息判断,当发现目的地址不是自己时,将响应报文转发出去,以此方式,所有的响应报文经过各节点的转发最终会汇聚到总线控制器;总线控制器根据各节点响应报文的源地址(节点地址)和目的地址信息,可判断各节点的响应情况,总线控制器收到了所有节点的响应报文后,可认为有序调度周期结束;或者,在设定的时间范围内没有接到节点的响应报文,即认为有序调度周期结束。所述设定的时间范围可根据具体的调度和响应要求决定。When a node receives a response message from other nodes, it judges the destination address information. When it finds that the destination address is not its own, it forwards the response message. In this way, all the response messages will eventually converge after being forwarded by each node. to the bus controller; the bus controller can judge the response status of each node according to the source address (node address) and destination address information of each node response message, after the bus controller receives the response messages of all nodes, it can be considered Or, if no response message is received from the node within the set time range, the in-order scheduling cycle is considered to be over. The set time range may be determined according to specific scheduling and response requirements.
上述的控制命令与响应报文数据,虽然每个周期都要传输,但数据量并不大,占用带宽较小。也可以根据控制命令的周期特性,固定每几个总线网络周期才调度一次,进一步减小其占用的带宽。Although the above-mentioned control commands and response message data are transmitted every cycle, the amount of data is not large, and the occupied bandwidth is relatively small. It is also possible to schedule once every several bus network cycles according to the cycle characteristics of the control command, so as to further reduce the occupied bandwidth.
3)当有序调度周期结束后,总线控制器会再发送一个广播报文,指示当前的调度阶段进入自由调度阶段。3) When the ordered scheduling period is over, the bus controller will send another broadcast message, indicating that the current scheduling phase enters the free scheduling phase.
所述广播报文,包括自由调度指令的低优先级调度同步指示包,使各节点可以明确进入自由调度阶段。The broadcast message includes the low-priority scheduling synchronization instruction packet of the free scheduling instruction, so that each node can clearly enter the free scheduling phase.
自由调度阶段,主要传输大数据流高带宽的周期数据,如传感器和多媒体数据。每个总线调度周期的后半段,也就是有序调度的命令都处理完成以后,网络进入自由调度阶段。自由调度一般采用点到点通信,在网络中可以同时传输多个方向的数据,从而实现总线带宽的倍增。在自由调度阶段,网络冗余、通信确认与重传等差错恢复措施依然有效,适合传输高带宽的音视频数据。In the free scheduling stage, it mainly transmits periodic data with large data flow and high bandwidth, such as sensor and multimedia data. In the second half of each bus scheduling cycle, that is, after the ordered scheduling commands are processed, the network enters the free scheduling phase. Free scheduling generally adopts point-to-point communication, and data in multiple directions can be transmitted in the network at the same time, thereby realizing the doubling of the bus bandwidth. In the free scheduling stage, error recovery measures such as network redundancy, communication confirmation, and retransmission are still effective, which is suitable for transmitting high-bandwidth audio and video data.
自由调度阶段在每个总线网络周期每个要发送数据的节点对多个可能的大数据流进行轮询,如果有数据则传输一定数量的数据,直到这个总线网络周期结束。如果数据块很大,总线并不要求也不允许在一个总线网络周期内完成整个数据块的传输,而是按照每个自由调度周期最大数据传输量将数据块分成若干个数据子块,在连续的总线网络周期的自由调度阶段,依次传输所述数据字块直至完成整个数据块的传输。In the free scheduling phase, each node to send data polls multiple possible large data streams in each bus network cycle, and if there is data, a certain amount of data is transmitted until the end of the bus network cycle. If the data block is very large, the bus does not require or allow the transmission of the entire data block within one bus network cycle, but divides the data block into several data sub-blocks according to the maximum data transmission amount of each free scheduling cycle, and continuously In the free scheduling phase of the bus network cycle, the data blocks are transmitted sequentially until the transmission of the entire data block is completed.
另外,从图2可以看出,有序调度的优先级为高,自由调度的优先级为低。In addition, it can be seen from Figure 2 that the priority of ordered scheduling is high, and the priority of free scheduling is low.
进一步地,本实施例的总线网络的总线控制器还还同时提供了另外两种事件触发,分别为高优先级非周期调度以及低优先级非周期调度,用于紧急或突发事件的传输。Further, the bus controller of the bus network in this embodiment also provides two other event triggers, which are high-priority aperiodic scheduling and low-priority aperiodic scheduling, which are used for emergency or emergency event transmission.
在总线网络调度的周期性调度过程中,全程允许插入高优先级非周期消息和网络中断;在自由调度时间段内,允许插入低优先级非周期消息;以提高总线在应急状态下的实时响应能力。In the periodic scheduling process of bus network scheduling, it is allowed to insert high-priority aperiodic messages and network interruptions throughout the process; in the free scheduling time period, it is allowed to insert low-priority aperiodic messages; to improve the real-time response of the bus in an emergency state ability.
优选的,对总线网络中终端节点的优先级进行分级,正常情况下,通过周期调度传送各终端节点的数据,当发生突发事件时,需要对高优先级的终端节点数据优先进行传递,则可在周期性调度过程的全程,通过插入高优先级非周期消息和网络中断,优先该传递高优先级的终端节点数据;如需要对低优先级的终端节点数据也进行优先的传递,可在自由调度时间段内,插入低优先级非周期消息;以提高总线在应急状态下的实时响应能力。Preferably, the priority of the terminal nodes in the bus network is classified. Under normal circumstances, the data of each terminal node is transmitted through periodic scheduling. When an emergency occurs, it is necessary to prioritize the transmission of high-priority terminal node data, then In the whole process of periodic scheduling, by inserting high-priority non-periodic messages and network interruptions, the high-priority terminal node data should be transmitted preferentially; if the low-priority terminal node data needs to be transmitted preferentially, it can be in In the free scheduling time period, low priority aperiodic messages are inserted to improve the real-time response capability of the bus in an emergency state.
例如,航电系统中不同位置的传感器,对整个系统的运行起到不同作用。有些传感器如位置,姿态、关键位置温度、气压等数据非常重要,就需要设为高优先级;其他非关键类传感器如系统内亮度,系统外温度、气压等等就是低优先级。For example, sensors in different positions in the avionics system play different roles in the operation of the entire system. Some sensors such as position, attitude, key position temperature, air pressure and other data are very important, so they need to be set as high priority; other non-critical sensors such as brightness inside the system, temperature outside the system, air pressure, etc. are low priority.
正常情况下,通过周期调度传送各传感器的数据,当发生突发事件时,需要对某个位置传感器重点监测,或者需要获取除周期性传输数据以外的更多信息时,则可在周期性调度过程的全程,通过插入高优先级非周期消息和网络中断,保证该关键传感器数据的通讯。或者,在周期调度外需要优先获得某非关键类传感器的数据,也可在在自由调度时间段内,通过插入低优先级非周期消息,保证该非关键传感器数据的通讯,以提高总线在应急状态下的实时响应能力。Under normal circumstances, the data of each sensor is transmitted through periodic scheduling. When an emergency occurs, it is necessary to focus on monitoring a certain position sensor, or when it is necessary to obtain more information other than periodic transmission data, it can be used in periodic scheduling. Throughout the process, the communication of this critical sensor data is guaranteed by inserting high-priority acyclic messages and network interruptions. Or, if the data of a non-critical sensor needs to be obtained preferentially outside the periodic scheduling, it is also possible to insert a low-priority non-periodic message during the free scheduling time period to ensure the communication of the non-critical sensor data, so as to improve the emergency response time of the bus. real-time responsiveness in the state.
由以上可以看出,该总线实现了大数据块(传感器和多媒体数据)高带宽和小数据块(控制命令)高实时的并行调度,既能满足航电系统对高通信速率的要求,又可以保证实时消息的确定性。It can be seen from the above that the bus realizes the high bandwidth of large data blocks (sensor and multimedia data) and high real-time parallel scheduling of small data blocks (control commands), which can not only meet the requirements of avionics systems for high communication rates, but also can Guarantee the certainty of real-time news.
由于网络具有不可靠性,要进行可靠的信息传输,就必须采用一系列的冗余容错措施,实际中常采用的方法是基于物理冗余备份的方式,但在航电系统的复杂应用环境中,仅仅依靠物理链路的冗余不足以满足可靠性指标,需要更多的手段和多层次的方法,保证数据的正确性,提升网络的冗余容错性能。Due to the unreliability of the network, a series of redundant fault-tolerant measures must be adopted in order to carry out reliable information transmission. The method often used in practice is based on physical redundancy backup. However, in the complex application environment of avionics systems, Only relying on the redundancy of physical links is not enough to meet the reliability index. More means and multi-level methods are needed to ensure the correctness of data and improve the redundancy and fault tolerance performance of the network.
图3为本发明提出的高速总线的协议结构。该协议结构包括五层结构,分别为物理层、链路层,网络层、传输层和应用层。Fig. 3 is the protocol structure of the high-speed bus proposed by the present invention. The protocol structure includes five layers, which are physical layer, link layer, network layer, transport layer and application layer.
本实施例的总线网络在在以上不同协议层次采用冗余容错设计来保证网络的可靠性。具体如下:The bus network of this embodiment adopts redundant fault-tolerant design at the above different protocol levels to ensure the reliability of the network. details as follows:
1)在物理层采用光电冗余技术,通过光纤和以太网的互为冗余,利用铜缆的抗振动、抗拉伸性能和光缆的抗电磁干扰性能,弥补单一介质上存在的不足,提升传输的可靠性;1) The photoelectric redundancy technology is adopted at the physical layer, through the mutual redundancy of optical fiber and Ethernet, the anti-vibration and anti-stretch performance of copper cables and the anti-electromagnetic interference performance of optical cables are used to make up for the shortcomings of a single medium and improve transmission reliability;
2)在链路层采用帧校验去冗余技术,对网络中多条冗余路径带来的报文冗余进行帧校验去除冗余数据报文,上传链路层唯一正确的数据报文;2) In the link layer, the frame verification de-redundancy technology is used to perform frame verification on the message redundancy brought by multiple redundant paths in the network to remove redundant data messages, and upload the only correct data message in the link layer arts;
3)在采用重传技术;对数据报文进行逐条的传输超时时间配置,当出现传输超时提供重传机制,支持包括三次重传的四次传输;3) Using retransmission technology; configure the transmission timeout period for data packets one by one, provide a retransmission mechanism when a transmission timeout occurs, and support four transmissions including three retransmissions;
4)固定响应回环;通过在传输层进行在线判断,固定响应回环判断通信的传输层、链路层、物理层通信状况,用于实现通信故障的监听;4) Fixed response loopback; through online judgment at the transport layer, the fixed response loopback judges the communication status of the transport layer, link layer, and physical layer of the communication, and is used to monitor communication failures;
5)传输层调度控制器切换,在交换节点设置两个完全相同且彼此独立的交换单元,两者互为冗余备份,备份交换单元冗余通过路径持续监听主交换单元的网络调度过程,当发现主交换单元停止调度后,备份交换单元立即启动,接替总线网络的持续调度,避免网络瘫痪。5) The transmission layer scheduling controller is switched, and two identical and independent switching units are set on the switching node. After finding that the main switching unit stops scheduling, the backup switching unit starts immediately to take over the continuous scheduling of the bus network to avoid network paralysis.
6)应用层运行监控;对应用层响应回环进行刷新,监控应用层(一般软件)运行状况。6) Application layer operation monitoring; refresh the application layer response loopback, and monitor the operation status of the application layer (general software).
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011054860.5A CN112202690B (en) | 2020-09-28 | 2020-09-28 | A High-speed Bus Network Based on Switching and Ring Network Redundancy |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011054860.5A CN112202690B (en) | 2020-09-28 | 2020-09-28 | A High-speed Bus Network Based on Switching and Ring Network Redundancy |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112202690A CN112202690A (en) | 2021-01-08 |
CN112202690B true CN112202690B (en) | 2022-11-15 |
Family
ID=74008514
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011054860.5A Active CN112202690B (en) | 2020-09-28 | 2020-09-28 | A High-speed Bus Network Based on Switching and Ring Network Redundancy |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112202690B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112953803B (en) * | 2021-02-10 | 2022-07-08 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Airborne redundant network data transmission method |
CN115913810A (en) * | 2022-11-02 | 2023-04-04 | 西安现代控制技术研究所 | A real-time dynamic bandwidth allocation method for bus communication network |
CN115766906B (en) * | 2022-11-10 | 2023-09-05 | 北京中航科电测控技术股份有限公司 | Multi-protocol fusion communication detection system of single hardware platform |
CN116781608B (en) * | 2023-08-17 | 2023-11-21 | 中移信息系统集成有限公司 | Data transmission system, method, electronic device and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848154A (en) * | 2010-05-17 | 2010-09-29 | 华为技术有限公司 | System based on advanced telecom computation architecture |
JP2014011604A (en) * | 2012-06-29 | 2014-01-20 | Azbil Corp | Ring/star type ethernet system, ring/star type switch, and frame transfer control method |
CN106656715A (en) * | 2016-11-11 | 2017-05-10 | 安徽维德工业自动化有限公司 | Industrial Ethernet switch redundancy loop technology |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AT404656B (en) * | 1992-10-16 | 1999-01-25 | Semcotec Handel | LINE-REDUNDANT FIELD BUS SYSTEM, PREFERABLY WITH RING TOPOLOGY |
CN101123592B (en) * | 2007-05-24 | 2011-04-27 | 中国北车股份有限公司大连电力牵引研发中心 | MVB-CAN gateway based on ARM7 micro processor |
CN100474184C (en) * | 2007-05-24 | 2009-04-01 | 中国北车股份有限公司 | ARM9 core based microprocessor train control unit |
CN102075247B (en) * | 2009-11-25 | 2014-08-06 | 中国科学院空间应用工程与技术中心 | High-speed optical fiber bus |
CN102111299A (en) * | 2011-03-07 | 2011-06-29 | 中控科技集团有限公司 | Redundant network system and method for realizing redundancy |
CN104579606B (en) * | 2014-09-19 | 2018-04-06 | 长春工业大学 | Double-unit traction controller network system redundancy design method |
-
2020
- 2020-09-28 CN CN202011054860.5A patent/CN112202690B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848154A (en) * | 2010-05-17 | 2010-09-29 | 华为技术有限公司 | System based on advanced telecom computation architecture |
JP2014011604A (en) * | 2012-06-29 | 2014-01-20 | Azbil Corp | Ring/star type ethernet system, ring/star type switch, and frame transfer control method |
CN106656715A (en) * | 2016-11-11 | 2017-05-10 | 安徽维德工业自动化有限公司 | Industrial Ethernet switch redundancy loop technology |
Also Published As
Publication number | Publication date |
---|---|
CN112202690A (en) | 2021-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112202690B (en) | A High-speed Bus Network Based on Switching and Ring Network Redundancy | |
JP4040762B2 (en) | Method and apparatus for transmitting packet data from a medium access controller | |
CN102237718B (en) | Method and device of operating wind power electric field power network with improved data transmission protocol | |
US5245609A (en) | Communication network and a method of regulating the transmission of data packets in a communication network | |
JPH0716203B2 (en) | Method for adjusting transmission of packet from node, node for communication ring and buffer insertion communication ring | |
Strole | The IBM token-ring network—A functional overview | |
US8812759B2 (en) | Bus subscriber device for connection to a line-redundant data bus, and method for controlling the communication of a bus subscriber with a line-redundant serial data bus | |
WO1996022642A1 (en) | Communications network interface, and adapter and method therefor | |
US9143464B2 (en) | Method and system for speed negotiation for twisted pair links using intelligent E-FIFO in fibre channel systems | |
JP2008160227A (en) | Network device and communication system | |
JP2002171268A (en) | Transmission method and apparatus in linear or ring network | |
US20190268235A1 (en) | Method for managing network nodes and communication control method thereof | |
EP1471705A1 (en) | A means and control method for adapting different media of transmission link of network on physical layer. | |
CN203883860U (en) | Network communication architecture of campus network | |
CN109413094A (en) | Aerospace data Transmission system based on HS-ADIX network | |
CN113219909A (en) | Data transmission method based on industrial-grade deterministic network and fusion control system | |
WO2014044190A1 (en) | Method and device for adjusting ethernet data transmission rate | |
CN115174370B (en) | Distributed mixed data deterministic transmission device and method | |
CN118337557A (en) | SRB-based data transmission system and method | |
CN117834434A (en) | Port configuration method and device of switch, electronic equipment and storage medium | |
CN212276260U (en) | Communication control device and motion control system based on multiple Ethernet | |
CN115514593A (en) | Method for rapidly acquiring link node data in industrial control looped network link interruption | |
KR101442567B1 (en) | Seamless network communication method using frame based routing on the ring topology | |
CN100550756C (en) | A kind of method that on the SPI4.2 bus, realizes multicast | |
Wei et al. | Development of data bus technology in next generation spacecraft |
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: 20240812 Address after: Room 301, 3rd Floor, Building 11, No. 30 Shixing Street, Shijingshan District, Beijing 100000 Patentee after: Beijing Century Yuanxiang Technology Co.,Ltd. Country or region after: China Address before: 100013 No. 11 East Hepingli street, Beijing, Dongcheng District Patentee before: BEIJING HANGXING MACHINERY MANUFACTURING Co.,Ltd. Country or region before: China |