Real-time creating method for virtual channel link of avionic system

文档序号:1190590 发布日期:2020-08-28 浏览:7次 中文

阅读说明:本技术 航电系统虚通道链路实时创建方法 (Real-time creating method for virtual channel link of avionic system ) 是由 朱道山 邵永杰 钟瑜 方科 谢玲 于 2020-04-01 设计创作,主要内容包括:本发明公开的一种航电系统虚通道链路实时创建方法,旨在提供一种简单可靠,快速灵活,复杂度低的虚通道链路创建方法。本发明通过下述技术方案予以实现:基于高速串行RapidIO总线,向节点管理软件发送虚通道链路创建请求,以通道名称作为通信双方节点之间虚通道链路的首要标识,通过外部微控制单元MCU或各通信节点调试接口,注入通信双方节点的虚通道名称及虚通道相关参数;然后,节点管理软件在对各通信节点发起的虚通道创建请求信息进行存储后,对收发双方的相关参数的一致性进行匹配;按照一致性判定结果,把虚通道相关配置信息下发至相关通信节点,等待各相关节点返回确认字符ACK信号,确定是否完成虚通道链路创建工作。(The invention discloses a virtual channel link real-time creating method for an avionic system, and aims to provide a virtual channel link creating method which is simple, reliable, rapid, flexible and low in complexity. The invention is realized by the following technical scheme: based on a high-speed serial RapidIO bus, sending a virtual channel link establishing request to node management software, taking a channel name as a primary identifier of a virtual channel link between two communication nodes, and injecting the virtual channel name and virtual channel related parameters of the two communication nodes through an external micro control unit MCU or debugging interfaces of each communication node; then, after storing the virtual channel creation request information initiated by each communication node, the node management software matches the consistency of the relevant parameters of the transmitting party and the receiving party; and according to the consistency judgment result, issuing the virtual channel related configuration information to the related communication nodes, waiting for acknowledgement character ACK (acknowledgement character) signals returned by the related nodes, and determining whether the virtual channel link establishment work is completed.)

1. A real-time creating method for a virtual channel link of an avionic system is characterized by comprising the following steps: firstly, two or more communication nodes in an avionic system send virtual channel link establishment requests to node management software in a memory mapping writing mode based on a high-speed serial RapidIO bus, the name of a virtual channel with exclusivity in the avionic system is used as a primary identifier of the virtual channel link between two communication nodes, and the name of the virtual channel and related parameters of the virtual channel of the two communication nodes are injected through an external micro control unit MCU or debugging interfaces of each communication node; then, after storing the virtual channel creation request information initiated by each communication node, the node management software matches the consistency of relevant parameters of the virtual channel name, the cache number and the size of the two parties of the transceiver; then, whether virtual channel link establishment is carried out on nodes of both relevant communication parties is determined according to the consistency matching result; after the avionic system is initialized, the node management software enters a virtual channel link creating process of the communication nodes, whether virtual channel links are created or not is judged according to the consistency relation of relevant parameters such as the virtual channel names, the cache numbers, the sizes and the like of the nodes of both communication sides, relevant configuration information of the virtual channels is issued to relevant communication nodes according to the consistency judging result, the relevant nodes are waited to return acknowledgement character ACK signals, and whether virtual channel link creating work is completed or not is determined.

2. The method for creating virtual channel links of an avionics system in real time as claimed in claim 1, characterized by: after receiving the virtual channel configuration information under the node management software, the communication node analyzes the virtual channel configuration information and updates the virtual channel name, the cache size, the number and other related parameters of the related nodes.

3. The method for creating virtual channel links of an avionics system in real time as claimed in claim 1, characterized by: and the virtual channel link is established in real time and is carried out at any time after the initialization of the avionics system is finished.

4. The method for creating virtual channel links of an avionics system in real time as claimed in claim 1, characterized by: in order to ensure that the virtual channel names are not repeated in a large-scale avionics system, the virtual channel creation request parameters comprise at least 4 fields, the virtual channel name of 32 bytes, the number of virtual channels of 1Byte, the virtual channel size of 4 bytes and the control parameters of 3 bytes.

5. The method for creating virtual channel links of an avionics system in real time as claimed in claim 1, characterized by: the virtual channel name field selects Byte bytes, in the FPGA communication node, the virtual channel name needs to adopt a character string type, 1 character occupies 1Byte, and 32 bytes represent 32 characters.

6. The method for creating virtual channel links of an avionics system in real time as claimed in claim 1, characterized by: a virtual channel number field of 1Byte, which represents the number of 1-255 virtual channels; a 4Byte virtual channel size field indicating the size of 1 Byte-4 GByte memory; the control parameter of 3Byte represents the transmission of direction, flow control and reliable transmission parameters.

7. The method for creating virtual channel links of an avionics system in real time as claimed in claim 1, characterized by: after the avionic system is initialized, the active creation flow of virtual channel links of communication nodes is entered, firstly, the communication nodes 1-N send virtual channel link creation requests to node management software through an SRIO switching network, the node management software records all channel creation request information in the nodes 1-N, and after all channel creation request information in the nodes 1-N is matched, matching information is sent to the nodes 1-N.

8. The method for creating virtual channel links of an avionics system in real time as claimed in claim 1, characterized by: the node management software starts to time from the receipt of the request for establishing the virtual channel link of the first communication node, and establishes the appointed time T in the single virtual channel link of the avionics system0In the method, all received virtual channel creation requests are recorded, and more than T is abandoned0Then the received virtual channel creating request information reaches T0After the time, the node management software enters a communication node virtual channel link parameter matching process.

9. The method for creating virtual channel links of an avionics system in real time as claimed in claim 1, characterized by: in the virtual channel establishing parameter matching process, node management software performs virtual channel name and related parameter matching with the rest communication nodes one by one from the communication node with the smallest serial number which sends the virtual channel link establishing request in a polling mode, and waits for T0All virtual channel creation request information recorded in time is completely traversed, if all parameters are successfully matched, the virtual channel creation request information is recorded, and information such as port numbers and the like is distributed to links related to the group of communication nodes; if the matching is completed within the specified time, managing communication node software to print channel matching success information and issuing virtual channel creation related parameter information to communication nodes of both communication parties; if the matching is not completed within the specified time, printing channel matching unsuccessful information and informing the communication nodes of both communication parties that the virtual channel is failed to be established.

10. The method for creating virtual channel links of an avionics system in real time as claimed in claim 9, characterized by: and sending a virtual channel link establishing instruction to the successfully matched communication nodes, and finishing the active establishing process of the virtual channel link in the current round after each communication node returns an ACK signal.

Technical Field

The invention relates to a real-time creating method for an avionics system virtual channel link in the field of avionic communication

Background

In recent years, with the emergence of new and attractive multimedia services in different fields, a great deal of research work has been put into the construction of asynchronous transfer mode ATM networks. In order to facilitate the control of traffic flows and the management of network resources, ATM networks introduce the concept of virtual path vp (virtual path). The ATM switch is completed on a cell basis based on information of the cell header. An ATM switch may use only the Virtual Path Identifier (VPI) portion of the cell header, only the virtual path identifier (VCI) portion, or both to determine how to forward the cell. The virtual channel identifier simply refers to a logical number that identifies the virtual channel of the communication. A virtual path link is a group of links having the same virtual path identification between the point at which the virtual path link is assigned a virtual path identifier VPI value and another point at which that identification is converted or cancelled. On the physical medium, virtual paths and channels are not transmitted in parallel, ATM does not utilize frequency or microwave multiplexing. All input virtual channels on the path may lead to some output channels, which facilitates the management of data units. The advantage of this processing is faster throughput and lower internal delay at the switching device. Each connection is assigned a unique Virtual Path Identifier (VPI) and Virtual Channel Identifier (VCI). The virtual path and virtual channel are transmitted on the same wavelength on the physical medium, distinguished by inserting different VPI/VCI values in the cell header. The combination of VPI/VCI is used to distinguish a connection within the ATM network. Many endpoints on an ATM network can be mapped to each other using VPI/VCI identifiers. In the virtual path and virtual channel of ATM in the cell structure, VPI and VCI are the two most important parts. Together, these two parts constitute routing information for a cell, i.e. where the cell comes from, to, and where it goes. The ATM switch determines which line to send each cell to based on the VPI-VCI on that cell. A communication line can be divided into several sub-channels by means of synchronous time division multiplexing, e.g. a narrowband ISDN subscriber line can be divided into two 64kbit/sB channels and a 16kbit/s D channel. In the asynchronous transfer mode, a communication line may be divided into a plurality of sub-channels using the concept of virtual paths and virtual channels. All cells with VPI 1 belong to one subchannel and all cells with VPI 2 belong to another subchannel, which are generally called virtual paths, and each virtual path can be further divided into several virtual channels. An important advantage of using ATM for broadband ISDN subscriber lines is the flexibility to divide the subscriber line into sub-channels with different rates to accommodate different communication requirements. These sub-channels are the virtual path and virtual channel. At different times, the communication requirements of the users are different, and the virtual paths and virtual channels are used differently. When a communication is required, the ATM switch can select an idle VPI and VCI for the communication, the VPI-VCI always indicates that the communication is in progress during the communication, and after the communication is used, a VPI-VCI can be used for other communication. This communication process is called establishing virtual paths, virtual channels and tearing down virtual paths, virtual channels. A virtual path is a logical structure that is applicable to all virtual channels. Multiple virtual channels may be placed within one virtual path identifier. The use of the path/path concept allows the ATM switching device to handle all the paths on one path in the same way. The path may tie many channels together for common processing. Common handling is required for connections (tunnels) requiring service classes. Each virtual concatenation on a transport link may be uniquely identified by a value of a virtual path identifier VPI and a virtual channel identifier VCI. The virtual connection in ATM is formed by virtual path VP and virtual channel VC, and data is divided into fixed length cells by adopting connection-oriented transmission mode and is switched by virtual connection. The virtual connection in ATM consists of a virtual path VP and a virtual channel VC. The virtual path identifier VPI, VCI values of the cells between two adjacent switches in the virtual connection remain unchanged, and the VPI, virtual channel identification VCI values in the cell header will be mapped into new virtual path identifiers VPI, VCI according to the destination reference connection mapping table to be transmitted when the cell passes through the switches. This is accurately transmitted to the destination via a series of VP, VC switched cells. Since a virtual channel VP comprises a number of virtual paths VC, each virtual channel has a unique virtual channel identifier VPI (where VP corresponds to a group and VC corresponds to a session). Each virtual path occupies one row of the VCI translation table, and when there are many virtual connections established and continuously established and released, it is a considerable burden for the memory and processor of the switch. The optimization problem of the VP topology structure mainly comprises the selection of VP terminals, the determination of VP bandwidth and the planning of VP routing. The routing planning technique for establishing connection service for call, abbreviated as VPR problem, is an NP complete problem. Two minimum route based algorithms are proposed. One is that the traffic requirement of the minimum route splitting algorithm VP, i.e. bandwidth balance, is split to each shortest route, but this method will bring multiplexing gain reduction and VP management difficulty because the same VP uses multiple routes; the other method is a random minimum routing algorithm, a route is randomly selected from the minimum routes connected with the VP, and the algorithm is proved to ensure max2lnmmax with probability l, and the performance of the solution is not satisfactory.

Avionics systems, referred to as avionics systems for short, are important components of modern civil aircraft. And data transmission is carried out among all airborne equipment forming the avionic system through an aviation bus. Common aviation buses of large civil aircraft are AFDX, ARINC429 and other types. With the push of information technology and the traction of high-efficiency operation requirements under information conditions, the structure of an avionic system has evolved from a combined digital structure to a very large-scale highly integrated modular structure. The number of tasks of the avionics system is multiplied, the realized functions are increasingly complex, and the requirements on information processing and distribution speed and bandwidth are higher and higher particularly in the fields of radars, data chains and the like. The traditional transmission mode of sharing the I/O parallel bus becomes the bottleneck of an avionic system, and the packet switching architecture-based high-speed serial RapidIO bus provides a good solution for meeting the high-speed interconnection among multiple processors in the avionic system by virtue of the characteristics of high bandwidth, low delay, high reliability and the like. At present, for interconnection communication among a plurality of communication nodes in an avionic system, virtual channel communication is a better mode, one or a plurality of virtual communication links are established among the plurality of communication nodes in a software heterogeneous mode, software and hardware bottom layer information is shielded, a uniform interface is provided for different communication nodes, and distribution and reception of information such as data, control, commands and the like among the communication nodes are completed.

In the existing avionic system, the creation of a virtual channel link for interconnection communication among multiple nodes is generally realized by adopting a mode of pre-configuring a fixed channel. Firstly, link relations of all communication nodes in the avionic system need to be combed, and the number of virtual channels needed by interconnection communication among the communication nodes is determined. Then, the related parameters of the direction, the cache number, the size and the port number of different virtual channels among the communication nodes are determined. After determining the relevant information pre-configured by each node, forming a virtual channel pre-configuration table, and after the system is initialized, establishing the virtual channel link of each node according to the information in the virtual channel pre-configuration table. The virtual channel link is established by adopting the pre-configured fixed mode, the process is relatively simple, and the method is only suitable for avionics systems with small scale. For a large avionics system, there are three disadvantages. First, maintenance costs of the avionics system are increased. In a large avionics system, the number of communication nodes is as large as dozens or hundreds, and the number of virtual channel links between each communication node is as large as hundreds or thousands. The time spent on combing the relevant virtual channel link information once is huge, and particularly in an avionics system, the combing operation needs to be carried out again every time a communication node is newly added or reduced. Secondly, the real-time performance of the avionic system is reduced, each time the parameters and the link relation of the virtual channel are adjusted, the adjustment needs to be carried out after the avionic system is initialized, and the requirement of real-time virtual channel link establishment by a function with higher real-time requirement in the avionic system cannot be supported. Moreover, for the FPGA communication node, all the virtual channels are bound to the port number in advance, and the binding relationship of the virtual channels cannot be modified when the FPGA program runs, so that the coupling of software and hardware in the avionic system is increased, and the migration work of the program is not facilitated.

Disclosure of Invention

The invention aims to provide a virtual channel link establishing method of an avionic system, which has the advantages of low manpower maintenance cost, high real-time performance, no restriction of actual functions of hardware and capability of reducing the coupling degree of software and hardware, aiming at the defects in the prior art and the requirements of efficient and flexible deployment and operation of multiple nodes in the avionic system, so as to solve the problems of high manpower maintenance cost, low real-time performance, high software and hardware coupling degree and the like of a virtual channel link establishing pre-configuration scheme in the conventional avionic system.

The above object of the present invention can be achieved by the following measures, a method for creating a virtual channel link of an avionics system in real time, which is characterized by comprising the following steps: firstly, two or more communication nodes in an avionic system send virtual channel link establishment requests to node management software in a memory mapping writing mode based on a high-speed serial RapidIO bus, the name of a virtual channel with exclusivity in the avionic system is used as a primary identifier of the virtual channel link between two communication nodes, the virtual channel name and the related parameters of the virtual channel of the two communication nodes are injected through an external micro control unit MCU or debugging interfaces of the communication nodes, and then the node management software stores the virtual channel establishment request information initiated by the communication nodes and matches the consistency of the related parameters of the virtual channel name, the cache number and the size of the receiving and transmitting parties; then according to the consistency matching result, determining whether to establish a virtual channel link for the nodes of both sides of the related communication; after the avionic system is initialized, the node management software enters a virtual channel link creating flow of the communication nodes, whether virtual channel links are created or not is judged according to the consistency relation of relevant parameters of the virtual channel names, the cache numbers and the sizes of the nodes of both communication sides, relevant configuration information of the virtual channels is issued to the relevant communication nodes according to the consistency judging result, confirmation character ACK signals are returned by the relevant nodes, and whether virtual channel link creating work is completed or not is determined.

Compared with the prior art, the invention has the following beneficial effects:

the manpower maintenance cost is low, and the real-time is high. Aiming at two or more communication nodes in an avionic system, the virtual channel creation request information is sent to node management software by adopting a memory mapping writing mode based on a high-speed serial RapidIO bus. After the node management software stores the virtual channel creation request information sent by the relevant communication nodes, whether the virtual channel is created for the relevant communication nodes is determined by consistency matching of relevant parameters such as virtual channel names, cache numbers, sizes and the like. The virtual channel link is established in real time by actively applying for establishing the virtual channel link from the node management software by two or more communication nodes in the avionic system, a specially-assigned person is not required to be responsible for establishing the virtual channel link, a large amount of manpower is saved, and the real-time performance of the avionic system is improved.

The invention utilizes the mode that two or more than two communication nodes in the avionic system actively apply for creating the virtual channel link from the node management software, and the same virtual channel name is existed only once. Several virtual channels are needed between nodes of two communication sides, and the virtual channel links are created in real time corresponding to several different virtual channel names. The virtual channel link is set exclusively by name, and is used as a primary identifier of the virtual channel link and is not bound with the virtual channel port number in the pre-configuration table. Several virtual channels are needed between the nodes of two communication sides, and the nodes correspond to several different virtual channel names. By using the virtual channel name, the binding relationship between the virtual channel link and the port number of the FPGA communication node in the original design is replaced, so that the FPGA communication node is consistent with processor communication nodes such as a PPC (point-to-point communication) and a DSP (digital signal processor) in the aspect of virtual channel link creation, the virtual channel link is not limited by the actual function of hardware, and the coupling degree of software and hardware is reduced.

Drawings

For a more clear understanding of the present invention, the invention will now be described by reference to the accompanying drawings, in which:

fig. 1 is a schematic diagram of a communication node virtual channel link creation request parameter of the present invention.

Fig. 2 is a flow chart of active creation of a virtual channel link of a communication node according to the present invention.

The following will describe the present invention in further detail with reference to the accompanying drawings.

Detailed Description

See fig. 1. According to the method, firstly, two or more communication nodes in an avionic system send virtual channel link creation requests to node management software in a memory mapping writing mode based on a high-speed serial RapidIO bus, the name of a virtual channel with exclusivity in the avionic system is used as a primary identifier of the virtual channel link between two communication nodes, the virtual channel name and the virtual channel related parameters of the two communication nodes are injected through an external micro control unit MCU or each communication node debugging interface, and then the node management software stores the virtual channel creation request information initiated by each communication node and matches the consistency of the related parameters of the virtual channel name, the cache number and the size of the two transceivers; then according to the consistency matching result, determining whether to establish a virtual channel link for the nodes of both sides of the related communication; after the avionic system is initialized, the node management software enters a virtual channel link creating process of the communication nodes, whether virtual channel links are created or not is judged according to the consistency relation of relevant parameters such as the virtual channel names, the cache numbers, the sizes and the like of the nodes of both communication sides, relevant configuration information of the virtual channels is issued to relevant communication nodes according to the consistency judging result, the relevant nodes are waited to return acknowledgement character ACK signals, and whether virtual channel link creating work is completed or not is determined. After receiving the virtual channel configuration information under the node management software, the communication node analyzes the virtual channel configuration information, and updates the virtual channel name, the cache size, the number and other relevant parameters of the relevant nodes so as to be used in the next communication. The real-time creation mode of the virtual channel link can be carried out at any time after the initialization of the avionics system is completed.

In fig. 1, the virtual channel link real-time creating work step: in order to ensure that the virtual channel names are not repeated in a large-scale avionic system, the virtual channel creation request parameters comprise at least 4 fields, the virtual channel name of 32 bytes, the number of virtual channels of 1Byte, the virtual channel size of 4 bytes and the control parameters of 3 bytes, and the total number of 40 bytes meets the requirement of transmitting the size of a data packet by a RapidIO protocol. The Byte is selected by the virtual channel name field because in the FPGA communication node, the virtual channel name needs to adopt a character string type, 1 character occupies 1Byte, and 32 bytes can represent 32 characters. The number of virtual channels field of 1Byte can represent the number of 1-255 virtual channels. The 4Byte virtual channel size field can indicate the size of 1 Byte-4 GByte memory. The control parameters of 3Byte represent the transmission of parameters such as direction, flow control, reliable transmission and the like.

See fig. 2. After the avionic system is initialized, the active creation process of the virtual channel link of the communication node can be entered. Firstly, communication nodes 1 to N send virtual channel link establishment requests to node management software through an SRIO switching network, the node management software records all channel establishment request information in the nodes 1 to N, and after matching all the channel establishment request information in the nodes 1 to N, the matching information is sent to the nodes 1 to N. The node management software starts to time from the receipt of the request for establishing the virtual channel link of the first communication node, and establishes the appointed time T in the single virtual channel link of the avionics system0In the method, all received virtual channel creation requests are recorded, and more than T is abandoned0And then receiving the virtual channel creation request information. At the time of reaching T0After the time, the node management software enters a communication node virtual channel link parameter matching process. In the virtual channel establishing parameter matching process, a polling mode is adopted for carrying out virtual channel name and related parameter matching with the rest communication nodes one by one from the communication node with the smallest number for sending the virtual channel link establishing request, and waiting for T0And all the virtual channel creation request information recorded in the time is completely traversed. And if all the parameters are successfully matched, recording, and distributing information such as port numbers and the like to links related to the group of communication nodes. If the matching is completed within the specified time, managing communication node software to print channel matching success information and issuing virtual channel creation related parameter information to communication nodes of both communication parties; if the matching is not completed within the specified time, printing channel matching unsuccessful information and informing the communication nodes of both communication parties that the virtual channel is failed to be established. And sending a virtual channel link establishing instruction to the successfully matched communication nodes, and finishing the active establishing process of the virtual channel link in the current round after each communication node returns an ACK signal. Virtual communication to matching failureAnd the channel creation request is displayed in a management communication node software interface in a printing mode. In data communication, an acknowledgement character ack (acknowledgement) is a transmission-class control character sent by a receiving station to a sending station, which indicates that the data sent has been acknowledged without errors. When the transmitting side receives the ACK signal, the next data can be transmitted. If the sender does not receive the signal, the sender may retransmit the current data packet or may stop transmitting data.

The above embodiments are merely illustrative, and not restrictive, and any modifications, equivalents, improvements and the like that may occur to those skilled in the art without departing from the spirit and principles of the present invention are intended to be included within the scope of the present invention.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种报文处理方法和装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!