CN102201978B - Avionics fiber channel network multiprotocol controller and controlling method thereof - Google Patents

Avionics fiber channel network multiprotocol controller and controlling method thereof Download PDF

Info

Publication number
CN102201978B
CN102201978B CN 201110067632 CN201110067632A CN102201978B CN 102201978 B CN102201978 B CN 102201978B CN 201110067632 CN201110067632 CN 201110067632 CN 201110067632 A CN201110067632 A CN 201110067632A CN 102201978 B CN102201978 B CN 102201978B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
data
asm
av
port
exchange
Prior art date
Application number
CN 201110067632
Other languages
Chinese (zh)
Other versions
CN102201978A (en )
Inventor
赵长啸
丁凡
熊华钢
吴庆
Original Assignee
北京航空航天大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Grant date

Links

Abstract

本发明提供一种航空电子光纤通道网络多协议控制器及其控制方法,该控制器包括多个交换端口、多协议数据管理器和交换调度器,交换端口包括数据接收交换端口和数据输出交换端口。 An avionic Fiber Channel network controller and a control method of multi-protocol, comprising a plurality of switch ports of the controller, data manager, and multi-protocol switching scheduler exchange port comprises receiving data switch port and the data output port exchange . 每个交换端口均由数据缓存区、信誉管理模块、视频信誉计数器和匿名订阅信誉计数器组成。 Each switch port by the data cache, reputation management module, a video counter credibility and the credibility of anonymous subscriptions counter. 所述的协议数据管理器由多协议类型判断模块和多协议数据处理模块组成。 The protocol data from the processing module manager determining module type multi-protocol and multi-protocol data. 该控制器的控制方法能够针对不同协议类型数据分配不同的数据缓存队列,采用不同的流量控制方法同时保证音视频数据的高带宽要求与命令、控制数据的高实时性要求,克服在航空电子多协议网络环境下交换机将所有类型数据采用统一处理方式下不能满足不同类型数据不同要求的缺点。 The control method of the controller can be of different protocols for different types of data allocation data buffer queue, using a different method of flow control while maintaining the high bandwidth requirements of video and audio data command, real-time requirements of the control data, plurality overcome avionics all types of data exchange protocol network environment using the unitary mode can not satisfy the requirements of the different disadvantages of different types of data.

Description

一种航空电子光纤通道网络多协议控制器及其控制方法 One kind avionic Fiber Channel network controller and a control method for multi-protocol

技术领域 FIELD

[0001] 本发明属于光纤通道(FC, Fibre Channel)技术领域,具体涉及一种航空电子光纤通道网络多协议控制器及其控制方法。 [0001] The present invention belongs to the Fiber Channel (FC, Fibre Channel) technologies, and particularly relates to an avionic multiple Fiber Channel network protocol controller and a control method.

背景技术 Background technique

[0002] 光纤通道具有高速度、低延迟、低错位率等特征,且其支持多种上层协议映射,能够很好满足新型航空电子互联系统的要求,已成为航空电子统一网络的主要候选协议。 [0002] Fiber Channel with high speed, low latency, wherein the low dislocation rate, and which supports a variety of upper-layer protocol mapping, and can meet the requirements of new interconnect avionics systems, has become a major candidate for a unified avionics network protocol.

[0003]航空环境下匿名订阅消息协议(FC-AE-ASM, Fibre Channe1-AvionicsEnvironment-Anonymous Subscriber Messaging)以其高可靠性、容错性和支持实时控制/响应的确定性行为,适用于传输机载的命令、控制、测试设备、仿真、信号处理和传感器数据。 [0003] Under the aviation environment anonymous subscription Message Protocol (FC-AE-ASM, Fibre Channe1-AvionicsEnvironment-Anonymous Subscriber Messaging) with its high reliability, fault tolerance and support for real-time control / response deterministic behavior for airborne transmission command, control, test equipment, simulation, signal processing and sensor data. 而光纤通道音视频协议(FC-AV, Fibre Channel-Audio Video)通过容器系统规定了数字音、视频到FC帧格式的映射规则,为FC网络传输数字音视频提供了一种标准,能够满足航空电子网络中高速的数字音视频传输需要。 Fiber Channel protocol and audio video (FC-AV, Fibre Channel-Audio Video) provides digital audio, video mapping rule FC frame format through the container system provides a standard for the transmission of digital audio and video FC network to meet aviation electronic network of high-speed digital audio and video transmission needs.

[0004] 音视频信息数据量大,需要占据较大的网络带宽,控制、命令消息有高实时性要求。 [0004] The audio and video information data is large, the need to occupy a larger bandwidth, a control command message with a real-time requirements. 现有的交换机未对交换的数据内容进行区分,采用统一的方式进行数据转发和交换,难以同时满足音视频数据的高带宽和控制、命令消息的高实时性要求。 Existing switches exchange data content not distinguish unified manner and exchange data forwarding, control and difficult to meet high-bandwidth video data while the audio, real-time demanding command message. 在参考文献1:胡嘉罗,志祥,夏鸣等,使用多级交换网络进行大容量光纤通道交换机设计[J]光通信技术,2006,04:11〜13中公开了一种流水线并行处理方式的交换机,旨在提高交换容量,但是未考虑不同类型数据的不同需求,虽然交换容量得以提高,但是并不能够同时满足不同类型数据的传输要求。 In Reference 1: Hu Jialuo, Zhixiang, Ming Xia et al., The use of multi-stage switching network bulk fiber channel switch design [J] Optical Communication Technology, 2006,04: 11~13 disclosed in an embodiment of the pipelined parallel processing switch, designed to increase the exchange capacity, but does not consider the different needs of different types of data, while the exchange capacity is improved, but is not able to meet the requirements of different types of data transmission. 在参考文献2:杨金龙,谢军等,光纤通道交换机接口的设计与实现[J]光通信技术,2010,11:11〜13中公开了使用FPGA实现的一种高速交换端口,但是未考虑对不同类型数据进行分别缓存和处理,虽然提高了总的交换端口速率,但是对于具体的消息,传输要求难以满足。 In Reference 2: Yang Jinlong, Xie Jun et al., Design and implementation of a switch interface Fiber Channel [J] optical communication technology, 2010 and 2011: 11~13 discloses the use of a high-speed switching port FPGA implementation, but does not consider different types of data and processing for buffering, while increasing the overall exchange rate ports, but for a particular message, difficult to meet transmission requirements.

发明内容 SUMMARY

[0005] 针对现有技术中存在的问题,本发明提供一种航空电子光纤通道网络多协议控制器及其控制方法。 [0005] For the problems in the prior art, the present invention provides an avionics multi-protocol Fiber Channel network controller and a control method. 该多协议控制器和控制方法能够针对不同协议类型数据分配不同的数据缓存队列,采用不同的流量控制方法同时保证音视频数据的高带宽要求与命令、控制数据的高实时性要求。 The multi-protocol controller and method capable of different protocols for different types of data allocated data buffer queue, using a different method of flow control while maintaining the high bandwidth requirements of video and audio data command, real-time requirements of the control data. 克服在航空电子多协议网络环境下交换机将所有类型数据采用统一处理方式下不能满足不同类型数据不同要求的缺点。 Overcome in avionics multi-protocol network environments switch the weaknesses of all types of data under a unified approach can not meet the different requirements of different types of data.

[0006] 本发明提出的一种航空电子光纤通道网络多协议控制器,为交换机中实现多协议数据处理功能的部分。 [0006] The present invention provides a proposed avionic Fiber Channel network controller multi-protocol, multi-protocol switch to data processing function section. 该控制器包括多个交换端口、多协议数据管理器和交换调度器。 The controller includes a plurality of switch ports, data manager, and multi-protocol switching scheduler. 所述的交换端口的总个数为2〜256,其中I〜255个为数据接收交换端口,其中I〜255个为数据输出交换端口,数据接收交换端口的个数与数据输出交换端口的个数的总和为交换端口的总个数。 The total number of the switch port is 2~256, wherein the data receiving I~255 a switch port, wherein the data output I~255 a switch port, the received data switch port number and a data output port exchange the total number of the total number of switch ports. 数据由数据接收交换端口进入经过处理后由数据输出交换端口输出。 Data received by the data exchange port to the output port after treatment by the data output switch.

[0007] 所述的多协议数据管理器包含多协议类型判断模块和多协议数据处理模块。 [0007] The multi-protocol data manager module comprises a multi-protocol and multi-protocol type determining data processing module. 多协议类型判断模块通过光纤通道帧头(FC帧头)判断光纤通道消息(FC消息)的类型;多协议数据处理模块可以根据不同的消息类型,分别将视频消息(AV消息)放入视频数据缓存区(AV数据缓存区)中或将匿名订阅消息(ASM消息)放入匿名订阅消息数据缓存区(ASM消息数据缓存区)中。 Multi-protocol type determining module determines that the type of message Fiber Channel (FC message) via a Fiber Channel frame header (FC frame header); multi-protocol data processing module according to different message types, the video message (AV message) into video data buffer (AV data cache) or anonymous subscription message (ASM message) into anonymous subscription message data buffer (ASM message data buffer) in.

[0008] 所述的数据输出交换端口和数据接收交换端口主要由数据缓存区、信誉管理模块、视频消息信誉计数器(AV信誉计数器)和匿名订阅消息信誉计数器(ASM信誉计数器)组成。 And a data output port exchange data [0008] The receiving switch port mainly by the data cache, the credibility of the management module, a video message credit counter (AV credit counter) and anonymous credit counter subscription message (ASM credit counter) composition. 所述的数据缓存区由视频数据缓存区(AV数据缓存区)和匿名订阅数据缓存区(ASM数据缓存区)组成。 Said data buffer by the video data buffer area (AV data cache) and anonymous subscription data buffer (ASM data buffer) composition. 在数据缓存区中,按照该对应的数据接收交换端口的数目对AV消息或ASM消息分别进行虚拟输出排队,形成AV虚拟缓存队列和ASM虚拟缓存队列。 In the data cache in accordance with the received data corresponding to the number of ports to exchange AV message or message ASM virtual output queue, respectively, formed AV virtual buffer queues and ASM virtual buffer queue. AV数据缓存区包含AV虚拟缓存队列,ASM数据缓存区包含ASM虚拟缓存队列。 AV AV data cache contains a virtual buffer queue, ASM ASM virtual data cache contains cached queue. AV虚拟缓存队列和ASM虚拟缓存队列的数目均与交换端口I的总个数相同。 AV queue and the number of the virtual buffer ASM virtual buffer queue are the same as the total number I of switch ports.

[0009] 数据接收交换端口接收数据后通过将数据协议类型判断模块传输至多协议数据处理模块进行处理,处理后的数据返回至数据接收交换端口进行处理,经其处理后由交换调度器查看输出至数据输出交换端口。 [0009] The data receiving switch port receives data data protocol type determining module transport up protocol data processing module for processing by data processing returns to the data reception exchange port, and outputs through which the process checks to see by the switch scheduler to output port exchange data. 所述的信誉管理模块控制AV信誉计数器和ASM信誉计数器。 The reputation of the management module and ASM AV credit counter credit counter. 信誉管理模块具有信誉协商和信誉管理功能。 Reputation management module has a credibility and reputation management consultation. 信誉协商功能为:数据接收交换端口配合信誉管理模块为登录设备分别提供独立的ASM消息信誉值和AV消息信誉值,并将协商得到的AV消息信誉值和ASM消息信誉值返回给登录设备;信誉管理功能为:通过监视交换端口数据缓存区的变化控制ASM信誉计数器和AV信誉计数器的计数值数。 Credit negotiation function: receiving a data exchange port to log in with the credibility of the device management module ASM separate message reputation value and credibility values ​​AV message, and the message obtained through negotiation AV reputation value and reputation value ASM message is returned to the registration apparatus; reputation management functions are: controlling the counter value count, and AV ASM credit counter credit by monitoring changes in the exchange port data cache.

[0010] 本发明提出的一种航空电子光纤通道多协议控制器的控制方法,包括步骤: [0010] A method for controlling a multi-avionic Fiber Channel protocol controller proposed by the invention, comprising the steps of:

[0011] 步骤一:数据接收交换端口监视其他登陆设备(如雷达、火控计算机、平视显示器等)的登录请求,若未收到登陆设备的登陆请求则继续监视,若收到登陆设备的登录请求后由信誉管理模块进行端口信誉协商,将协商得到的AV消息信誉值和ASM消息信誉值返回给登录设备。 [0011] Step a: receiving a data exchange port monitoring other landing devices (such as radar, fire control computer, a head-up display and the like) login request, login login request has not been received then the device continues to monitor, if the received login login device after the request port credit negotiated by reputation management module, the negotiated value of AV news credibility and reputation value ASM message is returned to the logon device. 协商过程中,数据接收交换端口为登录设备分别提供独立的ASM消息信誉值和音频消息信誉值; Negotiation process, the log data receiving port exchange device separate message ASM reputation value and credibility values ​​audio message;

[0012] 步骤二:监视数据接收交换端口是否有光纤通道数据(简写为FC数据)到来,若有FC数据到来时,将FC数据传输至多协议类型判断模块,多协议类型判断模块查看帧头消息类型域,通过光纤通道帧头(FC帧头)判断FC消息的类型; [0012] Step Two: monitoring whether or not there is a data receiving Fiber Channel data exchange port (abbreviated as FC data) coming, when the data arrives if FC, the FC data transfer protocol type determining module up, multi-protocol header message type determining module See type field, FC message type is determined by the fiber channel frame header (FC frame header);

[0013] 步骤三:根据不同的数据类型由多协议数据处理模块进行数据处理,到达的FC消息为ASM消息,则多协议数据处理模块将其放入数据接收交换端口数据缓存区的ASM数据缓存区中,在交换机调度器的调度下按照ASM消息的目的地址存入对应的ASM虚拟输出队列,同时信誉管理模块管理的ASM信誉计数器的计数值加I ;若FC消息为AV消息,则多协议数据处理模块将其放入数据接收交换端口数据缓存区的AV数据缓存区中,在交换机调度器的调度下按照AV消息的目的地址存入对应的AV虚拟输出队列,同时信誉管理模块管理AV信誉数据计数器的计数值加I ; [0013] Step Three: FC message data according to different types of data processing by the multi-protocol data block, the ASM arriving message, the multi-protocol processing module that received data into the data buffer exchange port data cache ASM zone, the scheduler at the switch scheduler is stored in the destination address of the message corresponding to ASM ASM virtual output queues, while ASM credit counter credit management module manages the count value I; if the message is an AV FC message, the multi-protocol the data processing module which receives data exchange port into the data buffer area AV data buffer area, at the switch scheduler is stored in the scheduler corresponding to the destination address of the message AV AV virtual output queues, while the credit management module manages AV reputation counter by the count value data I;

[0014] 步骤四:交换调度器查看数据接收交换端口的ASM数据缓存区是否为空,若不为空,将ASM数据缓存区中的ASM虚拟缓存队列进行交换转发调度,向数据输出交换端口进行转发或交换,同时信誉管理模块控制ASM信誉计数器的计数值减1,然后交换调度器返回继续查看数据接收交换端口的ASM数据缓存区。 [0014] Step Four: whether to exchange the exchange data received scheduler See ASM port data buffer is empty, if not empty, the data in the cache ASM ASM virtual buffer queue scheduling forwarding exchange, switching to the data output port forwarding or switching the count value, while the credibility of the management module ASM credit counter is decremented by 1, and then return to continue viewing exchanger scheduler ASM data buffer receiving data exchange port. 若交换调度器查看该数据接收交换端口的ASM数据缓存区为空,则查看AV数据缓存区。 If switch scheduler to see the ASM data receiving port exchange data buffer is empty, to view the AV data cache. 若AV数据缓存区不为空,则对该AV数据缓存区AV虚拟缓存队列消息进行交换转发调度,向数据输出交换端口进行转发或交换,同时信誉管理模块控制AV信誉计数器的计数值减I,然后交换调度器返回继续查看数据接收交换端口的数据缓存区,然后交换调度器返回继续查看数据接收交换端口的ASM数据缓存区;若AV数据缓存区为空,则不对该数据接收交换端口进行任何处理,继续查看数据接收交换端口的ASM数据缓存区。 If the AV data buffer is not empty, then the virtual buffer AV AV data buffer queue scheduling message forwarding exchange, the exchange port forwarding or switching to the data output while the count value of the credibility of the management module AV credit counter by I, the scheduler then returns exchanger continue to view data receiving buffer exchange data port, and then returns to continue viewing exchanger scheduler ASM data buffer receiving data switch port; AV data if the buffer is empty, the data is not received any exchange port treatment, continue to view the data reception ASM data buffer exchange ports.

[0015] 本发明具有的优点在于: [0015] The present invention has the advantage that:

[0016] (I)本发明提供的一种航空电子光纤通道网络多协议控制器及其控制方法,考虑到在航空电子网络中不同类型的消息数据对资源的不同需求,对音视频消息和命令控制数据分别采取独立的信誉,克服了在音视频消息占据较多数据缓存区时,控制命令消息由于信誉不足无法传输的问题; [0016] (I) Multi-protocol controller and a control method for an avionics network of the present invention provides a fiber channel, taking into account the different types of message data avionics different network resource requirements, audio and video messages and commands control data were taken independent reputation overcome when the audio and video messages take up more data cache, issue the command message can not be transferred due to lack of credit control;

[0017] (2)本发明提供的一种航空电子光纤通道网络多协议控制器及其控制方法,在交换端口对ASM数据和AV数据采用不同的数据缓存区存储,使得交换机能够对不同类型数据进行区分调度,增强了对控制命令消息的传输时间确定性保证; [0017] (2) Multi-protocol controller and a control method for an avionics present invention provides a Fiber Channel network, the exchange port in the different storage area of ​​the data buffer ASM data and AV data, so that the switch can be different types of data distinguish scheduling enhanced transmission time control command message to ensure certainty;

[0018] (3)本发明提供的一种航空电子光纤通道网络多协议控制器及其控制方法,对音视频数据和命令控制数据进行区分调度,考虑到音视频数据量大,弱实时性要求(即允许部分数据实际延迟比规定延迟大),控制命令数据量较小,强实时性要求(即要求所有数据必须在规定延迟内传输完成)的特性,在交换端口有ASM消息的情况下,优先选择对控制命令数据进行交换调度,能够进一步保证控制命令消息的强实时性要求。 [0018] (3) An avionics multi-protocol Fiber Channel network controller and a control method of the present invention provides, for the audio and video data and control data to distinguish the command scheduling, taking into account the large amount of video and audio data, real-time requirements weak next (i.e., to allow some actual data is larger than a predetermined delay), the control command data amount is small, strong real-time requirements (i.e., all required data transfer must be completed within a predetermined delay) characteristics, with a switch port in the case where message ASM, preference for scheduling control command data are exchanged, it is possible to further ensure strong real-time requirements of a control command message.

附图说明 BRIEF DESCRIPTION

[0019] 图1:本发明提出的一种航空电子光纤通道网络多协议控制器的结构示意图; [0019] Figure 1: The structure of a multi-avionics Fiber Channel network protocol controller of the present invention proposed a schematic view;

[0020] 图2:本发明提出的一种航空电子光纤通道网络多协议控制器的交换端口结构框图; [0020] FIG. 2: a block diagram of a switch fabric port avionic one kind of Multi Fiber Channel network protocol controller proposed by the invention;

[0021] 图3:本发明提出的一种航空电子光纤通道网络多协议控制器的控制过程中信誉协商流程图; [0021] FIG 3: a control process of the present invention provides a proposed avionic multiple Fiber Channel network protocol negotiation flowchart credit controller;

[0022] 图4:本发明提出的一种航空电子光纤通道网络多协议控制器的控制过程中多协议数据管理器处理流程图; [0022] Figure 4: a process control avionics multiple Fiber Channel network protocol controller of the present invention proposed a multi-protocol data manager processing flowchart;

[0023] 图5:本发明提出的一种航空电子光纤通道网络多协议控制器的控制过程中ASM消息和AV消息处理流程图。 [0023] FIG. 5: ASM AV message and message processing flowchart of the control procedure proposed avionic present invention provides a multi-protocol Fiber Channel network controller.

[0024] 图中: [0024] In the drawings:

[0025] 1-交换端口; 2-多协议数据管理器; 3-交换调度器; [0025] 1- switch ports; 2- multi-protocol data manager; 3- exchanger scheduler;

[0026] 4-数据接收交换端口; 5-数据输出交换端口; 201-多协议类型判断模 [0026] 4- exchange data receiving port; 5- exchange a data output port; 201- multi-protocol type judgment module

[0027] 块; [0027] block;

[0028] 202-多协议数据处理模101-数据缓存区; 102-信誉管理模块; [0028] 202- multi-protocol data processing mode data buffer 101; 102- reputation management module;

[0029]块; [0029] block;

[0030] 103-AV信誉计数器; 104-ASM信誉计数器; 1011-AV数据缓存区; [0030] 103-AV credit counter; 104-ASM credit counter; 1011-AV data cache;

[0031] 1012-ASM数据缓存区; 1011-1-AV虚拟缓存队列; [0031] 1012-ASM data buffer; 1011-1-AV virtual buffer queue;

[0032] 1012-2-ASM虚拟缓存队列。 [0032] 1012-2-ASM virtual buffer queue. 具体实施方式 detailed description

[0033] 下面将结合附图对本发明作进一步的详细说明。 [0033] The following with reference to the present invention will be further described in detail.

[0034] 本发明提出的一种航空电子光纤通道网络多协议控制器,为交换机中实现多协议数据处理功能的部分。 [0034] The present invention provides a proposed avionic Fiber Channel network controller multi-protocol, multi-protocol switch to data processing function section. 如图1所示,该控制器包括多个交换端口1、多协议数据管理器2和交换调度器3。 As shown in FIG. 1, the controller 1 comprises a plurality of switch ports, multi-protocol data manager 2 and scheduler 3 exchanger. 所述的交换端口I的总个数为2〜256,其中I〜255个为数据接收交换端口4,其中I〜255个为数据输出交换端口5,数据接收交换端口4的个数与数据输出交换端口5的个数的总和为交换端口I的总个数。 The total number of the switch port is 2~256 I, wherein one of the data receiving I~255 exchange port 4, wherein I~255 a data output port exchange 5, the number of data receiving output data of the switch port 4 the total number of switching port 5 of the total number I of the switch ports. 数据由数据接收交换端口4进入经过处理后由数据输出交换端口5输出。 Data received by the data exchange port 4 into the output port 5 after processed by the data output switch.

[0035] 所述的多协议数据管理器2包含多协议类型判断模块201和多协议数据处理模块202。 [0035] The multi-protocol data manager 2 comprises a multi-protocol type determining module 201 and multi-protocol data processing module 202. 多协议类型判断模块201通过光纤通道帧头(FC帧头)判断光纤通道消息(FC消息)的类型;多协议数据处理模块202可以根据不同的消息类型,分别将视频消息(AV消息)放入视频数据缓存区(AV数据缓存区1011)中或将匿名订阅消息(ASM消息)放入匿名订阅消息数据缓存区(ASM消息数据缓存区1012)中。 Multi-protocol type determining module 201 determines the type of message Fiber Channel (FC message) via a Fiber Channel frame header (FC frame header); multi-protocol data processing module 202 according to different message types, the video message (AV message) into video data buffer area (AV data buffer 1011) or anonymous subscription message (ASM message) into anonymous data buffer subscription message (ASM message data buffer 1012) is.

[0036] 所述的交换端口I主要由数据缓存区101、信誉管理模块102、视频信誉计数器(AV信誉计数器103)和匿名订阅信誉计数器(ASM信誉计数器104)组成。 The exchange port [0036] I consists of data cache 101, reputation management module 102, credit counter video (AV credit counter 103) and a subscription anonymous credit counter (ASM credit counter 104) components. 如图2所示,所述的数据缓存区101由视频数据缓存区1011 (AV数据缓存区)和匿名订阅数据缓存区1012 (ASM数据缓存区)组成。 As shown, the data buffer 101 by the video data buffer 1011 (AV data cache) and anonymous subscription data buffer 1012 (ASM data cache) 2 composition. 在数据缓存区101中,按照该对应的数据接收交换端口4的数目对AV消息或ASM消息分别进行虚拟输出排队,形成AV虚拟缓存队列1011-1和ASM虚拟缓存队列1012-2。 In the data cache 101, in accordance with the number of ports 4 corresponding to the AV data receiving message exchange messages or virtual output queuing ASM, respectively, formed AV virtual buffer queues 1011-1 and 1012-2 ASM virtual buffer queue. AV数据缓存区1011包含AV虚拟缓存队列1011-1。 AV AV data buffer 1011 contains a virtual buffer queue 1011-1. ASM数据缓存区1012包含ASM虚拟缓存队列1012-2。 ASM ASM data buffer 1012 contains a virtual queue buffer 1012-2. AV虚拟缓存队列1011-1和ASM虚拟缓存队列1012-2的数目均与交换端口I的总个数相同。 AV virtual queue buffer 1011-1 and 1012-2 ASM virtual buffer queue number are the same as the total number I of switch ports.

[0037] 数据接收交换端口4接收数据后通过将数据协议类型判断模块201判断后传输至多协议数据处理模块202进行处理,处理后的数据返回至数据接收交换端口4进行处理,经其处理后由交换调度器3查看处理后输出至数据输出交换端口5。 After the [0037] received data exchange port 4 receives the data by the data protocol type determining module 201 determines transport up protocol data processing module 202 for processing, the processed data is returned to the data receiving exchange port 4 for processing, after its processing by the after the exchange of the scheduler 3 to the data output view exchange processes the output port 5. 所述的信誉管理模块102控制AV信誉计数器103和ASM信誉计数器104。 The credit management module 102 controls the AV credit counter 103 and counter 104 ASM credibility. 信誉管理模块102具有信誉协商和信誉管理功能;信誉协商功能为:数据接收交换端口4配合信誉管理模块102为登录设备分别提供独立的ASM消息信誉值和AV消息信誉值,并将协商得到的AV消息信誉值和ASM消息信誉值返回给登录设备;信誉管理功能为:通过监视数据接收交换端口4数据缓存区101的变化控制ASM信誉计数器104和AV信誉计数器103的计数值数。 Credit management module 102 has a reputation and reputation management consultations; negotiation is credibility: receiving a data exchange port 4 with the credit log management module 102 to provide device independent message ASM reputation value and credibility AV message respectively, and the negotiated AV ASM message reputation value and reputation value message is returned to the registration apparatus; credit management functions: receiving the data exchange by monitoring changes in the data buffer 101 port 4 ASM credit control counter 104 and the count value of the counter credibility AV 103. 数据缓存区101的ASM数据缓存区1012和AV数据缓存区101与多协议数据处理模块202相连接,用于将多协议数据处理模块202的数据分别放入对应的ASM数据缓存区1012或AV数据缓存区1011进行处理,交换调度器3查看ASM数据缓存区1012和AV数据缓存区1011,将需要转发或交换的数据向数据输出交换端口进行输出5。 ASM data cache data buffer 101 and 1012 of the AV data buffer 101 is connected to the multi-protocol processing module 202, multi-protocol data for the data processing module 202, respectively, corresponding to ASM into the data buffer 1012 or the AV data processed data buffer 1011, the scheduler exchanger 3 See ASM data cache 1012 and the AV data buffer 1011, will be forwarded to the switch port or switch data output 5 output.

[0038] 本发明提出的一种航空电子光纤通道多协议控制器的控制方法,包括步骤: [0038] A method for controlling a multi-avionic Fiber Channel protocol controller proposed by the invention, comprising the steps of:

[0039] 步骤一:数据接收交换端口4监视其他登陆设备(如雷达、火控计算机或平视显示器等)的登录请求,若未收到登陆设备的登陆请求则继续监视,如图3所示,若收到登陆设备的登录请求后由信誉管理模块102进行端口信誉协商,将协商得到的AV消息信誉值和ASM消息信誉值返回给登录设备。 [0039] Step a: monitoring data received another log in the exchange equipment (e.g., radar, fire control computer or the like head-up display) login request port 4, has not been received login login request device continues to monitor, shown in Figure 3, If the login request is received after the landing device port negotiated by credit reputation management module 102, the negotiated value and credibility of an AV message ASM message is returned to the registration apparatus reputation value. 协商过程中,数据接收交换端口4为登录设备分别提供独立的ASM消息信誉值和音频消息信誉值;[0040] 步骤二:监视数据接收交换端口4是否有光纤通道数据(简写为FC数据)到来,如图4所示,若有FC数据到来时,将FC数据传输至多协议类型判断模块,多协议类型判断模块201查看帧头消息类型域,通过光纤通道帧头(FC帧头)判断FC消息的类型; Negotiation process, the data receiving switch port 4 to logging in separate ASM message reputation value and the audio message credit values; [0040] Step Two: monitoring data receiver switch port 4 if there is a Fiber Channel (abbreviated as FC data) coming , shown in Figure 4, when the data arrives if FC, an FC data transfer up protocol type determining module, multi-protocol type determining module header message type field 201 to view, via fiber channel frame header (header FC) FC message is determined type;

[0041] 步骤三:多协议数据处理模块结合数据接收交换端口对到达的不同类型的数据进行独立存储和虚拟排队,如图4所示,若到达的FC消息为ASM消息,则多协议数据处理模块202将其放入数据接收交换端口4数据缓存区101的ASM数据缓存区1012中,在交换机调度器3的调度下按照ASM消息的目的地址存入对应的ASM虚拟输出队列1012-2,同时信誉管理模块102管理的ASM信誉计数器104的计数值加I ;若FC消息为AV消息,则多协议数据处理模块202将其放入数据接收交换端口4数据缓存区101的AV数据缓存区1011中,在交换机调度器3的调度下按照AV消息的目的地址存入对应的AV虚拟输出队列1011-1,同时信誉管理模块102管理AV信誉计数器103的计数值加I ; [0041] Step Three: Multi-protocol data processing module receives the binding data exchange port for different types of data arriving independent storage and virtual queue, as shown, when the message is arriving FC message ASM FIG 4, the multi-protocol data processing module 202 which receives the data into the data buffer 101 ASM switch port 4 data buffer 1012, the scheduler in the scheduler switch 3 is stored in the destination address corresponding to ASM ASM virtual output queue message 1012-2, while credit management module 102 manages the ASM credit count value of the counter 104 I; FC message if the message is AV, the multi-protocol processing module 202 which receives data exchange port 4 into the data buffer 101 buffers AV data area 1011 , deposited at the corresponding switch scheduler scheduler 3 on the destination address of the message AV AV virtual output queues 1011-1, while the count value of the credit management module 102 manages credit counter 103 plus AV I;

[0042] 步骤四:如图5所示,交换调度器3查看数据接收交换端口4的ASM数据缓存区1012是否为空,若不为空,将ASM数据缓存区1012中的ASM虚拟缓存队列1012-2进行交换转发调度,向数据输出交换端口4进行转发或交换,同时信誉管理模块102控制ASM信誉计数器104的计数值减I,然后交换调度器3返回继续查看数据接收交换端口4的ASM数据缓存区1012。 [0042] Step Four: 5, scheduler exchanger 3 See ASM data buffer receiving data exchange port 1012 whether or 4 empty, if not empty, to the data buffer 1012 ASM ASM virtual buffer queue 1012 -2 scheduling forwarding exchange, the exchange 4 to the data output port forwarding or exchanged, while the credit management module 102 controls the count value of the counter 104 minus the credibility ASM I, then the scheduler exchanger 3 returns continue to view the data receiving data exchange port ASM 4 buffer 1012. 若交换调度器3查看该数据接收交换端口4的ASM数据缓存区104为空,则查看AV数据缓存区1011。 If switch scheduler 3 to see the data exchange ASM received data buffer 104 of the port 4 is empty, the cache 1011 to view the AV data. 若AV数据缓存区1011不为空,则对该AV数据缓存区1011的AV虚拟缓存队列消息1011-1进行交换转发调度,向数据输出交换端口4进行转发或交换,同时信誉管理模块102控制AV信誉计数器103的计数值减I,然后交换调度器3返回继续查看数据接收交换端口4的数据缓存区101的AV数据缓存区1011 ;若AV数据缓存区1011为空,则不对该数据接收交换端口4进行任何处理,继续查看数据接收交换端口4的ASM数据缓存区1012。 If the AV data buffer 1011 is not empty, then the virtual buffer 1011 AV AV data buffer queue scheduling message forwarding exchange 1011-1 will be forwarded or switched to the data output switch port 4, while the credit management module 102 controls the AV credit count value of the counter 103 minus I, then the scheduler exchanger 3 returns continue to view data receiving port exchange data buffer 4 an AV data buffer 101, 1011; if the AV data buffer 1011 is empty, no data is received the switch port 4 any processing continues to view the data receiving exchange data buffer 1012 ASM port 4.

[0043] 接收数据交换端口4对接收到的消息数据按照数据类型存储在不同的数据缓存区101中,同时信誉管理模块102和针对AV消息和ASM消息分别控制AV信誉计数器103和ASM信誉计数器104进行数据的流量管理。 Message Data [0043] The exchange port 4 receives data according to the received data stored in different types of data buffer 101 while the credibility of the management module 102 and an AV credit counter 103 and a credit counter 104 for ASM AV control the message and message ASM traffic management data. 对不同类型的消息进行区别管理,使得对消息数据的区别调度成为可能。 Management distinguish different types of messages, such that the difference between the scheduling of the message data becomes possible.

[0044] 登陆设备和数据接收交换端口4协商同时得到AV消息信誉值和ASM消息信誉值。 [0044] Log data receiving device and the exchange port 4 negotiation message simultaneously to obtain the reputation value AV and ASM message reputation value. 当有大量AV消息传输时,仅占用数据接收交换端口4中AV消息的信用值,在大量AV消息进行传输时,当有ASM消息需要传输时,仍可以即时传输。 When a large number of AV message transmission, only data exchange credit value received AV port 4 in the message, the message is transmitted when a large number of AV, ASM when a message needs to be transmitted, the transmission can still instantly. 防止了AV消息和ASM消息共享信誉值时,大数据量AV消息传输占用全部信誉后,ASM消息需要等待AV消息传输完毕后才可以传输的缺点。 After time to prevent the AV ASM messages and messages shared values ​​of credibility, the large amount of data AV messaging occupy all credibility, ASM messages need to wait for news after the transfer is complete AV shortcomings that can be transmitted.

Claims (8)

  1. 1.一种航空电子光纤通道网络多协议控制器,其特征在于:该控制器包括交换端口、多协议数据管理器和交换调度器;所述的交换端口分为数据输出交换端口和数据接收交换端口;所述的多协议数据管理器包含多协议类型判断模块和多协议数据处理模块;所述的数据输出交换端口和数据接收交换端口均包括数据缓存区、信誉管理模块、AV信誉计数器和ASM信誉计数器;所述的数据缓存区由AV数据缓存区和ASM数据缓存区组成;所述的AV数据缓存区包含AV虚拟缓存队列,ASM数据缓存区包含ASM虚拟缓存队列; 所述的信誉管理模块用于进行端口信誉协商,并将协商后的数据返回于登陆设备;所述的数据接收交换端口接收数据后通过将数据协议类型判断模块传输至多协议数据处理模块,处理后的数据返回至该数据接收交换端口的ASM数据缓存区或AV数据缓存区中进行 An avionic multiple Fiber Channel network protocol controller, wherein: the controller comprises a switch port, multi-protocol data manager and switch scheduler; into the data switch port and the output port exchange data receiving exchange port; said plurality of protocol data manager module comprises a multi-protocol and multi-protocol type determining data processing module; said data output switching port and the data receiver comprises a data exchange port buffer, the credibility of the management module, and the AV credit counter ASM credit counter; data buffer of the data buffer by the AV data buffer composition and ASM; AV data of the AV buffer containing the virtual buffer queue, ASM ASM virtual data buffer comprises a buffer queue; the credit management module port for credit negotiation and negotiation data returned to the landing equipment; after receiving the data exchange port to receive data via the data transmission protocol type determining module up data protocol processing module, the processed data is returned to the data ASM receiving switch port or AV data buffer for the data cache 理,经其处理后的数据由交换调度器查看处理后,将数据向数据输出交换端口输出;所述的信誉管理模块控制AV信誉计数器和ASM信誉计数器;所述的AV代表视频,ASM代表匿名订阅。 Li, through which the data processed by the switching process scheduler view, the exchange of data output to the data output port; reputation management module controls the AV credit counter credit counter and ASM; AV representative of the video, ASM for anonymous subscription.
  2. 2.根据权利要求1所述的一种航空电子光纤通道网络多协议控制器,其特征在于:信誉管理模块具有信誉协商和信誉管理功能;信誉协商功能为:数据接收交换端口配合信誉管理模块为登录设备分别提供独立的ASM消息信誉值和AV消息信誉值,并将协商得到的AV消息信誉值和ASM消息信誉值返回给登录设备;信誉管理功能为:通过监视交换端口数据缓存区的变化控制ASM信誉计数器和AV信誉计数器的计数。 2. According to a Fiber Channel network avionics multi-protocol controller according to claim 1, wherein: the management module has a reputation and reputation management consultations credibility; credibility negotiation of: receiving a data exchange with the credit management port module logging in each separate message ASM message reputation value and reputation value AV, AV message and the negotiated message ASM reputation value and reputation value is returned to the registration apparatus; credit management functions: by monitoring changes in the exchange port data cache control ASM credit counter and the count of the counter AV credibility.
  3. 3.根据权利要求1所述的一种航空电子光纤通道网络多协议控制器,其特征在于:所述的AV虚拟缓存队列和ASM虚拟缓存队列的数目均与交换端口的总个数相同。 3. According to a Fiber Channel network avionics multi-protocol controller according to claim 1, wherein: the number of virtual AV virtual cache queue buffer queue and ASM are the same as the total number of switch ports.
  4. 4.根据权利要求1所述的一种航空电子光纤通道网络多协议控制器,其特征在于:所述的交换端口的总个数为2〜256。 4. According to a Fiber Channel network avionics multi-protocol controller according to claim 1, wherein: the total number of ports of the exchange of 2~256.
  5. 5.根据权利要求3所述的一种航空电子光纤通道网络多协议控制器,其特征在于:所述的数据接收交换端口个数为I〜255,所述的数据输出交换端口的个数为I〜255。 5. According to a Fiber Channel network avionics multi-protocol controller according to claim 3, wherein: the number of data receiving port exchange I~255, the number of output data of the switch port I~255.
  6. 6.一种航空电子光纤通道网络多协议控制器的控制方法,其特征在于:包括以下几个步骤: 步骤一:数据接收交换端口监视登陆设备的登录请求,若未收到登陆设备的登陆请求则继续监视;若收到登陆设备的登录请求后由信誉管理模块进行端口信誉协商;步骤二:监视数据接收交换端口是否有FC数据到来,若有FC数据到来时,将FC数据传输至多协议类型判断模块,多协议类型判断模块查看帧头消息类型域,通过光纤通道帧头判断FC消息的类型; 步骤三:根据不同的数据类型由多协议数据处理模块进行数据处理,将数据放入ASM数据缓存区或AV数据缓存区; 步骤四:交换调度器查看数据接收交换端口的ASM数据缓存区是否为空,若不为空,将ASM数据缓存区中的ASM虚拟缓存队列进行交换转发调度,向数据输出交换端口进行转发或交换,同时信誉管理模块控制ASM信誉计 A method for controlling an avionics Multi Fiber Channel network protocol controller, characterized by: comprising the following steps: Step a: receiving a registration request data exchange device port monitoring landing, landing equipment has not been received login request it continues to monitor; if after receiving the login request landing device port credit negotiated by reputation management module; step two: monitoring data exchange whether a port receives data arrives FC, FC when if data arrives, the data transmission of up to FC protocol type a determining module, multi-protocol type determining module to view the message type header field, the type is determined by the fiber channel FC message header; step three: performing data processing in accordance with different data types by the multi-protocol processing module, data of the data into the ASM buffer or buffers AV data area; step four: See exchanger scheduler whether the received data exchange port ASM data buffer is empty, if not empty, the data in the cache ASM ASM virtual buffer queue exchange forwarding and scheduling, to output port exchange data forwarding or exchanged, while the credibility of the management module ASM reputation scoring 器的计数值减1,然后交换调度器返回继续查看数据接收交换端口的ASM数据缓存区;若交换调度器查看该数据接收交换端口的ASM数据缓存区为空,则查看AV数据缓存区,若AV数据缓存区不为空,则对该AV数据缓存区AV虚拟缓存队列消息进行交换转发调度,向数据输出交换端口进行转发或交换,同时信誉管理模块控制AV信誉计数器的计数值减1,然后交换调度器返回继续查看数据接收交换端口的数据缓存区,然后交换调度器返回继续查看数据接收交换端口的ASM数据缓存区;若AV数据缓存区为空,则继续查看数据接收交换端口的ASM数据缓存区;所述的AV代表视频,ASM代表匿名订阅,FC代表光纤通道。 The count value is decremented by one, and then switching the scheduler returns to continue to view the data receiving ASM data buffer exchange port; If switch scheduler to see the data receiving ASM data buffer exchange port is empty, see AV data cache, if the count value of the AV data buffer is not empty, the message to the virtual cache queue buffer AV AV data exchange forwarding and scheduling, switch port or switch to forwarding a data output, while the credibility of the management module AV credit counter is decremented by 1, and then exchanger scheduler returns to continue to view the data receiving exchange data cache ports, then swap the scheduler returns to continue to view the data receiving ASM data buffer exchange port; if the AV data buffer is empty, then continue to view the data receiving switch port ASM data buffer; AV representative of said video, ASM subscription for anonymous, FC fiber channel behalf.
  7. 7.根据权利要求6所述的一种航空电子光纤通道网络多协议控制器的控制方法,其特征在于:所述的步骤三具体为:多协议数据处理模块结合数据接收交换端口对到达的不同类型的数据进行独立存储和虚拟排队,若到达的FC消息为ASM消息,则多协议数据处理模块将其放入数据接收交换端口数据缓存区的ASM数据缓存区中,在交换机调度器的调度下按照ASM消息的目的地址存入对应的ASM虚拟输出队列,同时信誉管理模块管理的ASM信誉计数器的计数值加I ;若FC消息为AV消息,则多协议数据处理模块将其放入数据接收交换端口数据缓存区的AV数据缓存区中,在交换机调度器的调度下按照AV消息的目的地址存入对应的AV虚拟输出队列,同时信誉管理模块管理AV信誉计数器的计数值加I。 A method for controlling an avionics multiple Fiber Channel network protocol controller according to claim 6, wherein: said step of three specifically: multi-protocol data processing module receives the binding data arriving on the different switch ports type of data storage and independent virtual queuing, if the message is arriving ASM FC message, the multi-protocol processing module receives data into its data cache ASM exchange port data buffer, the next scheduled switch scheduler the destination address stored in the corresponding message ASM ASM virtual output queue, and the count value of the counter ASM credit management module manages credit plus I; if the message is an AV FC message, the multi-protocol processing module receives the data exchange it into AV data cache port data buffer, the scheduler at the switch scheduler is stored in the destination address corresponding to an AV AV virtual output queue messages, manage AV credit count value of the counter plus reputation management module I.
  8. 8.根据权利要求6所述的一种航空电子光纤通道网络多协议控制器的控制方法,其特征在于:所述的登陆设备为`雷达、火控计算机或平视显示器。 A method for controlling an avionics multiple Fiber Channel network protocol controller according to claim 6, wherein: said apparatus is `landing radar fire control computer or HUD.
CN 201110067632 2011-03-21 2011-03-21 Avionics fiber channel network multiprotocol controller and controlling method thereof CN102201978B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110067632 CN102201978B (en) 2011-03-21 2011-03-21 Avionics fiber channel network multiprotocol controller and controlling method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110067632 CN102201978B (en) 2011-03-21 2011-03-21 Avionics fiber channel network multiprotocol controller and controlling method thereof

Publications (2)

Publication Number Publication Date
CN102201978A true CN102201978A (en) 2011-09-28
CN102201978B true CN102201978B (en) 2013-11-13

Family

ID=44662380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110067632 CN102201978B (en) 2011-03-21 2011-03-21 Avionics fiber channel network multiprotocol controller and controlling method thereof

Country Status (1)

Country Link
CN (1) CN102201978B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413322A (en) * 2011-12-07 2012-04-11 中国航空无线电电子研究所 Avionics digital video bus (ADVB) framing system and method based on line synchronization
CN102523132A (en) * 2011-12-07 2012-06-27 中国航空无线电电子研究所 Monitoring structure for supporting data capture of port and virtual link as well as monitoring method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060230218A1 (en) 2005-04-11 2006-10-12 Emulex Design & Manufacturing Corporation Method and apparatus for SATA tunneling over fibre channel
US7239642B1 (en) 2001-07-16 2007-07-03 Network Appliance, Inc. Multi-protocol network interface card
CN101917231A (en) 2010-08-27 2010-12-15 电子科技大学 Data caching method of fibre channel switch

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7239642B1 (en) 2001-07-16 2007-07-03 Network Appliance, Inc. Multi-protocol network interface card
US20060230218A1 (en) 2005-04-11 2006-10-12 Emulex Design & Manufacturing Corporation Method and apparatus for SATA tunneling over fibre channel
CN101917231A (en) 2010-08-27 2010-12-15 电子科技大学 Data caching method of fibre channel switch

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
徐压军,张晓林,熊华钢.基于光纤通道的航空电子网络研究.《遥测遥控》.2006,第27卷(第3期),全文.
柴红刚.基于SoPC的光纤通道控制器的设计及FC-2层实现.《中国优秀硕士学位论文全文数据库 信息科技辑》.2009,全文.

Also Published As

Publication number Publication date Type
CN102201978A (en) 2011-09-28 application

Similar Documents

Publication Publication Date Title
US7362702B2 (en) Router with routing processors and methods for virtualization
US6137807A (en) Dual bank queue memory and queue control system
US6526451B2 (en) Method and network device for creating circular queue structures in shared memory
US7120113B1 (en) Systems and methods for limiting low priority traffic from blocking high priority traffic
US6044418A (en) Method and apparatus for dynamically resizing queues utilizing programmable partition pointers
US6792002B2 (en) Packet transfer system
US20020152328A1 (en) Network adapter with shared database for message context information
US20050088969A1 (en) Port congestion notification in a switch
US20110231570A1 (en) Method and Apparatus for Mirroring Frames to a Remote Diagnostic System
US20040252685A1 (en) Channel adapter with integrated switch
US7436845B1 (en) Input and output buffering
US20030108061A1 (en) Fibre channel arbitrated loop bufferless switch circuitry to increase bandwidth without significant increase in cost
US20030118040A1 (en) Fibre channel arbitrated loop bufferless switch circuitry to increase bandwidth without significant increase in cost
US6804731B1 (en) System, method and article of manufacture for storing an incoming datagram in switch matrix in a switch fabric chipset system
US6356962B1 (en) Network device and method of controlling flow of data arranged in frames in a data-based network
US20110058573A1 (en) User selectable multiple protocol network interface device
US20140032796A1 (en) Input/output processing
US6731631B1 (en) System, method and article of manufacture for updating a switching table in a switch fabric chipset system
US6754222B1 (en) Packet switching apparatus and method in data network
US8041875B1 (en) Resource virtualization switch
US20030058880A1 (en) Multi-service queuing method and apparatus that provides exhaustive arbitration, load balancing, and support for rapid port failover
US6922408B2 (en) Packet communication buffering with dynamic flow control
US20090304022A1 (en) Shared virtual network interface
US7042842B2 (en) Fiber channel switch
US20020152327A1 (en) Network interface adapter with shared data send resources

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model