Full-duplex communication method and device in optical fiber avionics communication system

文档序号:1172707 发布日期:2020-09-18 浏览:19次 中文

阅读说明:本技术 一种光纤航电通讯系统中全双工通信方法及装置 (Full-duplex communication method and device in optical fiber avionics communication system ) 是由 刘晓娟 李龙威 葛鹏 邱达 房亮 谢鹏 于 2020-06-18 设计创作,主要内容包括:本申请涉及一种光纤航电通讯系统中全双工通信方法及装置,所述系统包含多个网络控制器,FC-2V模块管理多个网络控制器,对每个网络控制器的执行指令进行查询在第一时间收到第一网络控制器的第一执行指令时发送该指令,其中该指令指示第一网络控制器在第二时间发送或接收数据;对其他网络控制器的执行指令进行查询,确定在第二时间需要接收或发送数据的第二执行指令,发送该第二执行指令;其中第一执行指令和第二执行指令指示的数据收发方向相反。(The application relates to a full-duplex communication method and a device in an optical fiber avionic communication system, wherein the system comprises a plurality of network controllers, an FC-2V module manages the plurality of network controllers, and an execution instruction of each network controller is inquired and sent when a first execution instruction of a first network controller is received at a first time, wherein the instruction instructs the first network controller to send or receive data at a second time; inquiring the execution instructions of other network controllers, determining a second execution instruction which needs to receive or send data at a second time, and sending the second execution instruction; the first execution instruction and the second execution instruction indicate opposite data transceiving directions.)

1. A method for full duplex communication in a fiber optic avionics communication system, the fiber optic avionics communication system including a plurality of network controllers, the method comprising:

the FC-2V module manages the plurality of network controllers and inquires an execution instruction of each network controller;

the FC-2V module receives a first execution instruction of a first network controller in the plurality of network controllers at a first time and sends the first execution instruction to a corresponding network terminal; wherein the first execution instruction instructs the first network controller to transmit or receive data at a second time;

the FC-2V module inquires the execution instructions of other network controllers in the plurality of network controllers, determines a second execution instruction which needs to receive or send data at the second time in the execution instructions of the other network controllers, and sends the second execution instruction to a corresponding network terminal;

wherein the first execution instruction and the second execution instruction indicate opposite data receiving or sending directions.

2. The method of full duplex communication in a fiber optic avionics communication system of claim 1, further comprising: and simultaneously sending the first execution instruction, the FC-2V module inquires the second execution instruction.

3. A method for full duplex communication in a fiber optic avionics communication system as claimed in claim 1, wherein in said method: storing a list of execution instructions of the plurality of network controllers by an execution message list, the list of execution instructions being in the form of a control block index.

4. A method of full duplex communication in a fiber optic avionics communication system according to claim 3, wherein in said method: all concurrent network controllers have independent lists of the execution messages.

5. A method of full duplex communication in a fiber optic avionics communication system according to claim 3, wherein in said method: all the concurrent network controllers share one control block.

6. The full-duplex communication method in the fiber optic avionics communication system of claim 5, wherein: and the FC-2V module polls other concurrent execution message lists of the network controllers when receiving the first execution instruction of the first network controller at the first time, and sends the second execution instruction to a corresponding network terminal when inquiring the second execution instruction.

7. A method of full duplex communication in a fiber optic avionics communication system according to claim 1, wherein in said method: the system further comprises a plurality of network terminals, wherein the first execution instruction is used for scheduling a first network terminal in the plurality of network terminals, and the second execution instruction is used for scheduling other network terminals in the plurality of network terminals.

8. A full duplex communication apparatus in an optical fiber avionics communication system, comprising an FC-2V module and a plurality of network controllers, wherein:

the FC-2V module is used for managing the plurality of network controllers and inquiring the execution instruction of each network controller;

the FC-2V module is further configured to receive a first execution instruction of a first network controller of the plurality of network controllers at a first time, and send the first execution instruction to a corresponding network terminal; wherein the first execution instruction instructs the first network controller to transmit or receive data at a second time;

the FC-2V module is further configured to query execution instructions of other network controllers in the plurality of network controllers, determine a second execution instruction that needs to receive or send data at the second time among the execution instructions of the other network controllers, and send the second execution instruction to a corresponding network terminal;

wherein the first execution instruction and the second execution instruction indicate opposite data receiving or sending directions.

9. The full-duplex communication apparatus in a fiber optic avionics communication system of claim 8, wherein in said apparatus: and simultaneously sending the first execution instruction, the FC-2V module inquires the second execution instruction.

10. The full-duplex communication apparatus in a fiber optic avionics communication system of claim 8, wherein: the system further comprises a plurality of network terminals, wherein the first execution instruction is used for scheduling a first network terminal in the plurality of network terminals, and the second execution instruction is used for scheduling other network terminals in the plurality of network terminals.

Technical Field

The present disclosure relates to the field of optical fiber communication technologies, and in particular, to a full duplex communication method and apparatus in an optical fiber avionics communication system.

Background

Fig. 1 is a structure diagram of a conventional fiber-optic avionics protocol (FC-AE-1553) transmission. As shown in fig. 1, the first NODE1 and the second NODE2 both have a 4-layer FC (Fibre Channel) structure, and the FC4 module is used for implementing an FC-AE-1553 protocol and sends protocol data to the FC-2V module; the FC-2V module is used for management of exchange, and the bottom layer (FC-2M module and optical fiber port) is responsible for ensuring data receiving and transmitting in a full duplex mode.

Under this structure, although the underlying protocol can support the full duplex mode, in order to ensure that no collision occurs between data, a non-concurrent mode is adopted, as shown in fig. 2. Fig. 2 is a prior art transmit-receive data timing, with the Network Controller (NC) responsible for initiating all exchanges in the standard FC-AE-1553 protocol. When DATA is transmitted, the NC firstly transmits command frame CMD1 and DATA frame DATA1 information, does not receive DATA at the moment, and receives state frame STA1 information after the CMD1 and DATA1 are transmitted; when receiving data, the device sends a command frame first and then waits for receiving a data frame and a status frame. Although the system has separate transmit and receive lines, the entire transmit and receive process is half-duplex.

When the NC is in the transmitting state, the receiving end RX is in the idle state, and when the NC is in the receiving state, the transmitting end TX is in the idle state, which reduces the utilization rate of the bandwidth and reduces the transmission efficiency of the data. If full duplex is supported by the existing architecture, the upper layer has only one FC4, which causes data collision and requires considerable changes to the FC4 module and protocol.

Disclosure of Invention

The embodiment of the application provides a full-duplex communication method and device in an optical fiber avionic communication system, aiming at the problem of data collision in a full-duplex mode in the prior art.

A first aspect of embodiments of the present application provides a full-duplex communication method in an optical fiber avionics communication system, the optical fiber avionics communication system including a plurality of network controllers NC, the method including:

the FC-2V module manages the plurality of network controllers and inquires an execution instruction of each network controller;

the FC-2V module receives a first execution instruction of a first network controller in the plurality of network controllers at a first time and sends the first execution instruction to a corresponding network terminal; wherein the first execution instruction instructs the first network controller to transmit or receive data at a second time;

the FC-2V module inquires the execution instructions of other network controllers in the plurality of network controllers, determines a second execution instruction which needs to receive or send data at the second time in the execution instructions of the other network controllers, and sends the second execution instruction to a corresponding network terminal;

wherein the first execution instruction and the second execution instruction indicate opposite data receiving or sending directions.

In some embodiments, the method further comprises: and simultaneously sending the first execution instruction, the FC-2V module inquires the second execution instruction.

In some embodiments, the method further comprises: storing a list of execution instructions of the plurality of network controllers by an execution message list, the list of execution instructions being in the form of a control block index.

In some embodiments, the method further comprises: all concurrent network controllers have independent lists of the execution messages.

In some embodiments, the method further comprises: all the concurrent network controllers share one control block.

In some embodiments, the FC-2V module polls an execution message list of other concurrent network controllers when receiving the first execution instruction of the first network controller at a first time, and sends the second execution instruction to a corresponding network terminal when querying the second execution instruction.

In some embodiments, the method further comprises: the system further comprises a plurality of network terminals, wherein the first execution instruction is used for scheduling a first network terminal in the plurality of network terminals, and the second execution instruction is used for scheduling other network terminals in the plurality of network terminals.

Another aspect of the embodiments of the present application provides a full-duplex communication apparatus in an optical fiber avionics communication system, including an FC-2V module and a plurality of network controllers, in the apparatus:

the FC-2V module is used for managing the plurality of network controllers and inquiring the execution instruction of each network controller;

the FC-2V module is further configured to receive a first execution instruction of a first network controller of the plurality of network controllers at a first time, and send the first execution instruction to a corresponding network terminal; wherein the first execution instruction instructs the first network controller to transmit or receive data at a second time;

the FC-2V module is further configured to query execution instructions of other network controllers in the plurality of network controllers, determine a second execution instruction that needs to receive or send data at the second time among the execution instructions of the other network controllers, and send the second execution instruction to a corresponding network terminal;

wherein the first execution instruction and the second execution instruction indicate opposite data receiving or sending directions.

In some embodiments, in the device: and simultaneously sending the first execution instruction, the FC-2V module inquires the second execution instruction.

In some embodiments, the system further comprises a plurality of network terminals, the first execution instruction is used for scheduling a first network terminal in the plurality of network terminals, and the second execution instruction is used for scheduling other network terminals in the plurality of network terminals.

Another aspect of the embodiments of the present application provides a full duplex communication method in an optical fiber avionics communication system, where the system includes a plurality of network controllers NC and a plurality of network terminals NT, and the FC-2V manages the plurality of NTs and receives a plurality of execution instructions sent to the NTs; FC-2V receives a first execution instruction at a first time instructing NT1 to send upstream data at a second time, and FC-2V sends the first execution instruction to NT 1.

In some embodiments, the first execution instruction and the second execution instruction are issued simultaneously.

In some embodiments, the control message for NT is stored in SCB, and when FC-2V receives the execute instruction, it reads the control information in SCB and executes the control information.

The application provides a full-duplex communication method and device in an optical fiber avionic communication system, and the effect of improving the bandwidth utilization rate is achieved by arranging a plurality of Network Controllers (NC) under the condition that NC modules are not required to be changed.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that it is also possible for a person skilled in the art to apply the application to other similar scenarios without inventive effort on the basis of these drawings. Unless otherwise apparent from the context of language or otherwise indicated, like reference numerals in the figures refer to like structures and operations.

Fig. 1 is a diagram of a protocol transmission structure of a conventional fiber-optic avionics communication system.

Fig. 2 is a timing diagram of transmitting-receiving data in a conventional fiber optic avionics communication system.

Fig. 3 is a block diagram of protocol transmission for a fiber optic avionics communication system in accordance with some embodiments of the present application.

Fig. 4 is a timing diagram illustrating transmit-receive data for a fiber optic avionics communication system according to some embodiments of the present application.

Fig. 5 is a flow diagram illustrating instruction scheduling for a fiber optic avionics communication system in accordance with some embodiments of the present application.

Fig. 6 is a flow chart illustrating data reception for a fiber optic avionics communication system according to some embodiments of the present application.

Detailed Description

In the following detailed description, numerous specific details of the present application are set forth by way of examples in order to provide a thorough understanding of the relevant disclosure. It will be apparent, however, to one skilled in the art that the present application may be practiced without these specific details. It should be understood that the use of the terms "system," "apparatus," "unit" and/or "module" herein is a method for distinguishing between different components, elements, portions or assemblies at different levels of sequential arrangement. However, these terms may be replaced by other expressions if they can achieve the same purpose.

It will be understood that when a device, unit or module is referred to as being "on" … … "," connected to "or" coupled to "another device, unit or module, it can be directly on, connected or coupled to or in communication with the other device, unit or module, or intervening devices, units or modules may be present, unless the context clearly dictates otherwise. For example, as used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

These and other features and characteristics of the present application, as well as the methods of operation and functions of the related elements of structure and the combination of parts and economies of manufacture, will be better understood upon consideration of the following description and the accompanying drawings, which form a part of this specification. It is to be expressly understood, however, that the drawings are for the purpose of illustration and description only and are not intended as a definition of the limits of the application. It will be understood that the figures are not drawn to scale.

Various block diagrams are used in this application to illustrate various variations of embodiments according to the application. It should be understood that the foregoing and following structures are not intended to limit the present application. The protection scope of this application is subject to the claims.

Fig. 3 is a block diagram of protocol transmission for a fiber optic avionics communication system in accordance with some embodiments of the present application. Compared with the prior art in fig. 1, it can be seen that the embodiment of the present application mainly improves a protocol upper layer module, and a plurality of FC4 modules are arranged in each node, so as to implement a control manner in which each node has a plurality of NCs (Network controllers) and/or a plurality of NTs (Network terminals) at the same time.

As shown in the flow chart of fig. 5, in some embodiments, a fiber optic avionics communications system includes multiple NCs and multiple NT, FC-2V management NCs, querying execution instructions for each NC; FC-2V receives a first execution instruction of NC1 at a first time, the first execution instruction instructing NC1 to send or receive data at a second time, FC-2V sends the first execution instruction; and the FC-2V inquires the execution instructions of other NCs, inquires a second execution instruction which needs to receive or send data at a second time, and sends the second execution instruction. The first execution instruction and the second execution instruction indicate opposite data transmission directions.

Further, fig. 4 shows a timing chart of the transmission-reception data in this embodiment. As can be seen from fig. 4, in the embodiment of the present application, when the transmitting terminal TX transmits DATA, in addition to the first command frame CMD1 and the first DATA frame DATA1 (downlink DATA), a second command frame CMD2 is also transmitted to control other terminals to transmit uplink DATA to the receiving terminal RX; at this time, the receiving end RX receives the second status frame STA2, then receives the second DATA frame DATA2 information (uplink DATA), and then receives the first status frame STA 1. Based on this, in the technical scheme of the application, both the transmitting end TX and the receiving end RX can transmit and receive data while the other end works, thereby realizing real full-duplex communication.

The fiber optic avionics communication system can communicate by using an FC-AE-1553 protocol.

The NC is implemented by an FC4 module. FC4 may be referred to as NC or NT. A plurality of FC4 modules coexist in NODE1, and each FC4 module realizes an FC-AE-1553 protocol. FC-2V realizes the coexistence of multiple channels for the upper layer, each concurrent FC4 corresponds to two channels of FC-2V, each channel manages one exchange, and one sending and receiving process is called as one exchange. The bottom FC-2M and FC PORT (fiber PORT) enable full duplex data exchange.

The protocol transmission flow is that a plurality of FC4 coexist in the protocol layer, a plurality of FC4 run concurrently, and the protocol data are sent to FC-2V in parallel; the FC-2V polls and inquires data sent by each concurrent FC4 and caches the data, updates the channel state of the received data, inquires the state of the channels of all the data, and sends the data to the FC-2M in series in sequence, and each channel of the FC-2V maintains the channel state according to the data content, including information such as whether exchange is opened or not.

As shown in the data receiving flow chart of fig. 6, when FC-2V receives a data frame from a lower layer protocol, it will query whether the received frame belongs to an existing exchange, and if so, send the frame to the corresponding FC4 through the corresponding channel of the existing exchange; if the received frame does not belong to one of all existing exchanges, a exchange is created and allocated to a channel of the concurrent FC4, and then the received frame is transmitted to the corresponding FC 4.

In some embodiments, FC-2V is responsible for managing concurrent processes, e.g., 5 FC4 modules configured as NC1-NC5, FC-2V queries at a first time for a first execution instruction from NC1 instructing NT1 to transmit upstream data at a second time, FC-2V sends the first execution instruction; and the FC-2V queries the to-be-executed instructions of the NC2-NC5, searches for an instruction for transmitting downlink data to other NT at the second time, and sends a second execution instruction after querying the second execution instruction.

In some embodiments, the first execution instruction instructs NC1 to send downstream data to NT1 at the second time, and the second execution instruction instructs other NTs to send upstream data to other NCs at the second time.

The advantage of this design has been increased a plurality of NC and NT, has realized full duplex when having improved bandwidth utilization, does not carry out great change to FC4, but carries out message buffer processing through FC-2V layer, carries out the inquiry of a plurality of FC4 messages, and the parallel data transceiver of a plurality of exchanges of rational arrangement has effectively improved data transmission efficiency.

Other advantages of the design are that the coexistence of multiple FC4 is capable of providing more flexibility to products using FC-AE-1553 protocol, on one hand, multiple applications can be associated with multiple FC4, and the system provides one FC4 for each application, so that multiple sets of master-slave communication structures can be implemented on one set of optical fiber link; on the other hand, a single application may be associated with multiple FCs 4, making more efficient use of system bandwidth.

In some embodiments, FC4 is used as NC, and control messages that the NC needs to execute are stored in control blocks CB (control block), where 256 CBs are provided, and each CB corresponds to one control message; the WQ (execution message list) stores CB indices, which are a list of execution instructions to be executed by the NC. In the concurrent state, each NC has an independent WQ, and all NCs share the same CB.

In some embodiments, a communication system includes a controller for sequentially configuring a plurality of NCs, such as NC1-NC5, in a chronological order of desired performance according to a plurality of messages that need to be configured. When no data is transmitted and received in a certain time period, the FC-2V polls each channel of NC1-NC5 for CB instructions, inquires the instructions needing to transmit and receive data in the time period, and sends the instructions.

For example, the FC-2V queries a first execution instruction that the NC1 needs to receive uplink data in the time period, the FC-2V polls a CB instruction of the NC2-NC5, and queries a second execution instruction that downlink data needs to be sent in the time period. After the FC-2V finishes the instruction query of the time period, the CB instruction polling of NC1-NC5 is continued for the next time period until all instructions to be executed of the NC are scheduled to a certain time period, or until M time periods are scheduled to be finished.

In order to leave the system with the capability of dealing with burst traffic, the FC-2V can only arrange adjacent M continuous time periods or M discontinuous designated time periods; m is a natural number of 1 or more.

When no data transceiving exists in the current time period or all the time periods, the FC-2V sends a first to-be-executed instruction of the NC 1.

The CQ is a message Completion Queue, is fully assembled into Completion Queue, and is used for placing the execution result of each round of each message, and the CQ is stored in an independent cache.

And when the first execution instruction indicates to send downlink data, the second execution instruction indicates to receive uplink data.

In some embodiments, the first execution instruction and the second execution instruction are after both are queried, and the FC-2V serially transfers both instructions to the FC-2M layer in turn.

In some embodiments, the first execution instruction is transmitted to the FC-2M layer first, the FC-2V executes the query of the second execution instruction at the same time, and the second execution instruction is transmitted to the FC-2M layer after the query of the second execution instruction.

In some embodiments, the FC4 is used as NT, all messages of the NT end are stored in SCB (subaddress control block), and when each concurrent NT receives an instruction, the SCB corresponding to the current instruction message is read, and subsequent operations are executed according to the messages in the SCB. All concurrent NTs share SCB, and NT-CQ is the message completion queue for NT.

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

the message is cached through the FC-2V layer, and the concurrence of a plurality of FC4 is realized under the condition that an existing protocol is used by an FC4 module.

And secondly, flexibly scheduling the CB instruction of the concurrent FC4 through the FC-2V layer, improving the utilization rate of system bandwidth and realizing full-duplex data transceiving.

It is to be understood that the above-described embodiments of the present application are merely illustrative of or illustrative of the principles of the present application and are not to be construed as limiting the present application. Therefore, any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the present application shall be included in the protection scope of the present application. Further, it is intended that the appended claims cover all such changes and modifications that fall within the scope and range of equivalents of the appended claims, or the equivalents of such scope and range.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种低实时光纵同步方法及电力专用CPU芯片

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类