[go: up one dir, main page]

CN105049308B - A kind of adaptive BC and its operation method based on protocol conversion bridge - Google Patents

A kind of adaptive BC and its operation method based on protocol conversion bridge Download PDF

Info

Publication number
CN105049308B
CN105049308B CN201510407066.7A CN201510407066A CN105049308B CN 105049308 B CN105049308 B CN 105049308B CN 201510407066 A CN201510407066 A CN 201510407066A CN 105049308 B CN105049308 B CN 105049308B
Authority
CN
China
Prior art keywords
module
protocol conversion
adaptive
backup
modules
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510407066.7A
Other languages
Chinese (zh)
Other versions
CN105049308A (en
Inventor
高翔
解军
呂亮
徐鸿亚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHENGDU CHENGDIAN GUANGXIN TECHNOLOGY Co Ltd
Original Assignee
CHENGDU CHENGDIAN GUANGXIN TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHENGDU CHENGDIAN GUANGXIN TECHNOLOGY Co Ltd filed Critical CHENGDU CHENGDIAN GUANGXIN TECHNOLOGY Co Ltd
Priority to CN201510407066.7A priority Critical patent/CN105049308B/en
Publication of CN105049308A publication Critical patent/CN105049308A/en
Application granted granted Critical
Publication of CN105049308B publication Critical patent/CN105049308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a kind of adaptive BC and its operation method based on protocol conversion bridge, adaptive BC includes optical module, FC protocol process module, adaptive link condition judgment module, protocol conversion module and emulation backup BC modules, optical module, adaptive link condition judgment module and protocol conversion module are connect with FC protocol process module, emulate backup BC modules and protocol conversion module is connect with adaptive link condition judgment module.Optical module receives the FC frames of FC networks and converts optical signals into as electric signal, for FC protocol process module by effective content transmission of FC frames to protocol conversion module, FC protocol process module judges that the information that will determine that after the link connection state information that optical module exports is transferred to adaptive link condition judgment module.Adaptive link condition judgment module selects protocol conversion module or emulation backup BC modules as operational module respectively according to the on off operating mode of FC links.The present invention can maintain the normal operation of MIL STD 1553B buses when the FC links of bridging device disconnect.

Description

A kind of adaptive BC and its operation method based on protocol conversion bridge
Technical field
It is specifically a kind of based on the adaptive BC of protocol conversion bridge and its operation side the present invention relates to aviation electronics field Method.
Background technology
Bus network in aviation electronics field is undergoing by the evolution of MIL-STD-1553B to FC networks.Although FC networks substitute MIl-STD-1553B bus network with surprising rapidity with high bandwidth and its good real-time, still MIL-STD-1553B buses are widely used for many years in aviation electronics field, existing FC networks be difficult substitute it completely, so How to allow two kinds of networks coexisted in aviation electronic bus be many people research at present project.
In order to meet the above demand, the aviation electronics environment subcommittee of FC has investigated a set of compatible MIL-STD-1553B FC networks and MIL-STD- may be implemented by the special mapping relations of the agreement in the agreement of bus --- FC-AE-1553 Data communication between 1553B buses.Wherein, the equipment that can realize the mapping relations is known as assisting in FC-AE-1553 agreements Discuss bridge device.
The remote terminal of all carries in the MIL-STD-1553B buses bridged at present(RT)Pass through the net in FC networks Network controller(NC)It controls, in order to ensure the stability of communication network, the double remainings of traditional aviation electronic bus generally use Design ensures that when a network controller NC goes offline, remaining network controller NC can continue to run.However, being set in bridge joint When standby optical fiber disconnects, all MIL-STD-1553B which is connected will lose the control of NC, in paralysis shape State, this can influence the normal operation of MIL-STD-1553B buses.
Invention content
It is an object of the invention to overcome the deficiencies of the prior art and provide a kind of adaptive BC based on protocol conversion bridge And its operation method, the normal operation of MIL-STD-1553B buses can be also maintained when the FC links of bridging device disconnect.
The present invention, which solves the above problems, to be achieved through the following technical solutions:It is a kind of based on the adaptive of protocol conversion bridge BC, including optical module, FC protocol process module, adaptive link condition judgment module, protocol conversion module and emulation backup BC Module, wherein:
Optical module is used to receive the FC frames of FC networks and converts optical signals into as electric signal;
FC protocol process module is connected with optical module, protocol conversion module and adaptive link condition judgment module, right FC content frames and FC primitive contents carry out validity judgement, and by effective content transmission of FC frames to protocol conversion module;FC is assisted View processing module also judges the link connection state information of optical module output, and link-state information is transferred to adaptively Link state judgment module;
Adaptive link condition judgment module is also connected with emulation backup BC modules and protocol conversion module, is assisted according to FC The make-and-break status information of the FC links of processing module output is discussed to select input data source, selects agreement to turn when FC links are connected Change the mold input data source of the block as MIL-STD-1553B buses, select to emulate when FC links disconnect backup BC modules as The input data source of MIL-STD-1553B buses;
Protocol conversion module is used to receive the FC content frames of FC protocol process module output, is assisted according to FC-AE-1553 Specific mapping is made in the requirement of view, and will be in the data transmission after mapping to MIL-STD-1553B buses;
Backup BC modules are emulated, are used to receive bus marco table, and advised according to bus marco table when FC links are disconnected Fixed message sending cycle controls MIL-STD-1553B buses.
It is further, a kind of for the transmission of buffered data in the present invention because the message transmission rate of FC networks is higher Adaptive BC based on protocol conversion bridge further includes DDR2 controllers, and the DDR2 controllers are arranged in FC protocol process module On the circuit being connect with protocol conversion module, the data for being used to FC protocol process module being transferred to protocol conversion module carry out Protocol conversion module is transmitted to after caching again.
Further, a kind of adaptive BC based on protocol conversion bridge, further includes USB controller, the USB controller with It emulates backup BC modules to be connected, is used to the bus marco table of reception being transferred to emulation backup BC modules.The present invention is specific When implementation, the interface between hardware and PC of the invention is not limited to USB interface, and PCIE, PCI, RS232, RJ45 also can be used It is realized Deng other interfaces.
Further, a kind of adaptive BC based on protocol conversion bridge, further includes MIL-STD-1553B transceivers, described Protocol conversion module and emulation backup BC modules are connected with MIL-STD-1553B transceivers, and protocol conversion module and emulation Backup BC modules transfer data to MIL-STD-1553B buses by MIL-STD-1553B transceivers.
A kind of operation method of the adaptive BC based on protocol conversion bridge, includes the following steps:
Step 1: in protocol bridge initializtion protocol bridge device after the power is turned on, and by emulate backup BC modules receive it is spare total Line traffic control is tabulated and spare configuration parameter;
Step 2: adaptive link condition judgment module judge in optical module FC links whether normal ON, connect if normal It is logical, the control emulation backup BC modules closing of adaptive link condition judgment module, command frame, the data frame that the NC of FC networks is sent out Become the command word and data word that MIL-STD-1553B can be identified by protocol conversion module mapping;If non-normal ON, from It adapts to link state judgment module control emulation backup BC modules to start, MIL-STD-1553B buses, which bring into operation, to be powered on initially The bus marco table loaded when change;
Step 3: step 2 is repeated, until protocol bridge, which is closed, terminates operation.Wherein, the present invention under normal conditions, FC chains Line state is normal, and emulation backup BC modules are closed, and bridge joint 1553B buses are controlled by NC, after FC links disconnect, emulates backup BC Module starts, and bridge joint 1553B buses are by emulation backup BC modules control.When protocol conversion module is run, agreement turns the present invention Change the mold block also becomes status frames and data by the RT of carry in the MIL-STD-1553B buses status words replied and data word mapping Frame replies to the NC of FC networks.
Further, the bus marco table includes the subframe of multiple ordered arrangements, and each subframe includes a plurality of orderly row The message of cloth, wherein message is the minimum unit that user sends, including command word, status word and data word, is disappeared in each subframe The quantity of breath is no more than 256;Each message in poll bus control table always when backup BC modules start is emulated, and is pressed The time slice that bus marco table distributes sends message.
In conclusion the invention has the advantages that:The present invention is by being arranged adaptive link condition judgment module With emulation backup BC modules, can be monitored in real time by adaptive link condition judgment module and automatic identification in present invention application The on off operating mode of FC networks, FC networks under normal circumstances, adaptive link condition judgment module select protocol conversion module make For the data input pin of MIL-STD-1553B buses, the backup BC in protocol bridge is in unactivated state, MIL-STD-1553B The RT of bus is completely controlled by the NC of FC networks, and when FC networks disconnect, adaptive link condition judgment module opens emulation Backup BC modules, MIL-STD-1553B buses are still up at this time, but are no longer controlled by the NC of FC networks, but controlled In emulation backup BC, the message in bus is in backup BC in protocol bridge initialization procedure just designated good bus table. In this way, the present invention is when protocol bridge FC network links disconnect, MIL-STD-1553B buses also can autonomous operation.
Description of the drawings
Structure when Fig. 1 is NC in external PC, MIL-STD-1553B bus of a specific embodiment of the invention and FC networks Schematic diagram;
Fig. 2 is the work flow diagram of a specific embodiment of the invention.
Specific implementation mode
With reference to embodiment and attached drawing, detailed description further, but embodiments of the present invention are done to the present invention It is without being limited thereto.
Embodiment 1:
As shown in Figure 1, a kind of adaptive BC based on protocol conversion bridge, including it is optical module, FC protocol process module, adaptive Answer link state judgment module, protocol conversion module and emulation backup BC modules, optical module, adaptive link condition judgment module And protocol conversion module is connect with FC protocol process module, emulate backup BC modules and protocol conversion module with adaptive chain Line state judgment module connects.The optical module of the present embodiment is used to receive the FC frames of FC networks and converts optical signals into as telecommunications Number, the optical signal of optical module output includes FC content frames and FC protocol modeling language contents, and FC protocol process module is transmitted according to FC assists View carries out validity judgement to FC content frames and FC primitive contents, and by effective content transmission of FC frames to protocol conversion module, The FC protocol process module of the present embodiment also judges the link connection state information of optical module output, and by link state Information is transferred to adaptive link condition judgment module.Adaptive link condition judgment module is exported according to FC protocol process module The make-and-break status informations of FC links select input data source, select protocol conversion module as MIL- when FC links are connected The input data source of STD-1553B buses selects emulation backup BC modules total as MIL-STD-1553B when FC links disconnect The input data source of line.The protocol conversion module of the present embodiment is used to receive the FC content frames of FC protocol process module output, root Specific mapping is made according to the requirement of FC-AE-1553 agreements, and will be in the data transmission after mapping to MIL-STD-1553B buses. The emulation backup BC modules of the present embodiment are provided when FC links are disconnected according to bus marco table for receiving bus marco table Message sending cycle control MIL-STD-1553B buses.Wherein, the mapping that protocol conversion module is made includes command frame- The mapping of command word, data frame-data word and status frames-status word, emulation backup BC modules have complete MIL-STD- 1553B bus control unit functions, including bus table is defined, send command word, data word, reception state word, data word etc..
The adaptive BC of the present embodiment(Adaptive bus control unit)In application, optical module passes through in optical fiber and FC networks Network controller(NC)Connection, in this way, the FC frames that NC is sent out are passed to optical module by FC networks by optical fiber.When the present embodiment is applied The backup external PC of BC modules is emulated, bus marco table is specified by the software being equipped in PC.
As shown in Fig. 2, when the adaptive BC operations of the present embodiment, include the following steps:Step 1: powering on beginning, initially Change equipment, issues bus marco table;Step 2: judge FC links whether normal ON, connect if normal, then enter step three, Otherwise four are entered step;Step 3: emulation backup BC modules are closed, protocol conversion module is started to work;Step 4: emulation backup BC modules start, and poll sends preset bus marco table message;Step 5: step 2~step 4 is repeated, until protocol bridge is closed Close end operation.The specific implementation step of step 1 is in the present embodiment:In protocol bridge initializtion protocol bridge device after the power is turned on, and Spare bus marco table and spare configuration parameter are issued from software to emulation backup BC modules.Step 2 exists in the present embodiment When implementation, the connection status of FC links is timely captured by adaptive link condition judgment module.The step of the present embodiment three Protocol conversion module carries out following processing in the specific implementation:Command frame that protocol conversion module sends out the NC of FC networks, number Become the command word and data word that MIL-STD-1553B can be identified according to frame mapping.In this way, the present embodiment is in application, adaptive Link state judgment module control always synchronization emulation backup BC modules and protocol conversion module only there are one working.
The bus marco table of the present embodiment includes the subframe of multiple ordered arrangements, and each subframe includes a plurality of ordered arrangement Message, wherein message is the minimum unit that user sends, including command word, status word(Broadcast the message no status word)And number According to word, the quantity of message is no more than 256 in each subframe.It emulates when backup BC modules start in poll bus control table always Each message, and the time slice distributed by bus marco table sends message.In the present embodiment message interval can by with Family is self-defined, and it is 1 us to differentiate forthright and sincere, and the time for sending a subframe is known as the minor cycle, minimum support 1ms, the message in subframe The summation at interval was necessarily less than equal to the minor cycle, and all message in endless subframe are otherwise sent in the minor cycle.In the present embodiment The set of multiple subframes constitutes prime frame, i.e., entire bus marco table, and the time for sending a prime frame is known as a large period.This reality The data structure for applying bus marco table in example also can be used a two-dimensional array to indicate, the first dimension is message index, two-dimensional representation Minor cycle indexes, and the two confirms absolute position of the message in bus table jointly.It is expressed as defining this when value is 0 and disappear Breath indicates there is this message in the minor cycle when value is 1.
Embodiment 2:
The present embodiment is made that restriction further below on the basis of embodiment 1:The adaptive BC of the present embodiment is also wrapped Include DDR2 controllers, wherein DDR2 controllers are arranged on the circuit that FC protocol process module is connect with protocol conversion module, such as This, FC protocol process module is transferred to the data of protocol conversion module and need to be cached through DDR2 controllers when the present embodiment is applied It is transmitted to protocol conversion module again afterwards.
Embodiment 3:
The present embodiment is made that restriction further below on the basis of embodiment 1 or embodiment 2:The present embodiment it is adaptive It further includes USB controller to answer BC, wherein USB controller by USB3.0 interfaces with emulation backup BC modules be connected, be used for by The bus marco table of reception is transferred to emulation backup BC modules.The present embodiment is in system electrification, by USB controller by MIL- Bus marco table spare STD-1553B and spare configuration parameter are transferred to emulation backup BC modules.
Embodiment 4:
The present embodiment is made that limit further below in 1~embodiment of embodiment 3 on the basis of any one embodiment It is fixed:The adaptive BC of the present embodiment further includes MIL-STD-1553B transceivers, wherein the MIL-STD-1553B of the present embodiment is received Hair device is connected with BJ77 connectors, and protocol conversion module and emulation backup BC modules are connected with MIL-STD-1553B transceivers, MIL-STD-1553B transceivers are connected with BJ77 connectors, and are connected with MIL-STD-1553B buses by Shielded Twisted Pair, such as This, the present embodiment in application, protocol conversion module mapping after MIL-STD-1553B command words, data word, and emulation backup The data of BC modules output are sent to MIL-STD- by MIL-STD-1553B transceivers, BJ77 connectors and Shielded Twisted Pair In 1553B buses.The present embodiment in the specific implementation, when FC link states are normal, emulation backup BC modules closing, not to MIL-STD-1553B transceivers transmit any data content, and when FC link states disconnect, emulation backup BC modules start, to Command word and data word content in MIL-STD-1553B transceiver transmission backup bus marco tables.
The above content is combine specific preferred embodiment to the further description of the invention made, and it cannot be said that originally The specific implementation mode of invention is confined to these explanations.For those of ordinary skill in the art to which the present invention belongs, The other embodiment obtained in the case where not departing from technical scheme of the present invention, should be included within the scope of the present invention.

Claims (4)

1. a kind of adaptive BC based on protocol conversion bridge, which is characterized in that including optical module, FC protocol process module, adaptive Link state judgment module, protocol conversion module and emulation backup BC modules are answered, wherein:
Optical module is used to receive the FC frames of FC networks and converts optical signals into as electric signal;
FC protocol process module is connected with optical module, protocol conversion module and adaptive link condition judgment module, to FC frames Content and FC primitive contents carry out validity judgement, and by effective content transmission of FC frames to protocol conversion module;At FC agreements Reason module also judges the link connection state information of optical module output, and link-state information is transferred to adaptive link Condition judgment module;
Adaptive link condition judgment module is also connected with emulation backup BC modules and protocol conversion module, at FC agreements The make-and-break status information of the FC links of module output is managed to select input data source, protocol conversion mould is selected when FC links are connected Input data source of the block as MIL-STD-1553B buses selects emulation backup BC modules as MIL- when FC links disconnect The input data source of STD-1553B buses;
Protocol conversion module is used to receive the FC content frames of FC protocol process module output, according to FC-AE-1553 agreements It is required that specific mapping is made, and will be in the data transmission after mapping to MIL-STD-1553B buses;
Backup BC modules are emulated, are used to receive bus marco table, and when FC links are disconnected according to as defined in bus marco table Message sending cycle controls MIL-STD-1553B buses.
2. a kind of adaptive BC based on protocol conversion bridge according to claim 1, which is characterized in that further include DDR2 controls Device processed, the DDR2 controllers are arranged on the circuit that FC protocol process module is connect with protocol conversion module, are used for FC Protocol process module be transferred to protocol conversion module data cached after be transmitted to protocol conversion module again.
3. a kind of adaptive BC based on protocol conversion bridge according to claim 1, which is characterized in that further include USB controls Device processed, the USB controller are connected with emulation backup BC modules, are used to the bus marco table of reception being transferred to emulation backup BC modules.
4. a kind of adaptive BC based on protocol conversion bridge according to any one of claims 1 to 3, feature exist In further including MIL-STD-1553B transceivers, the protocol conversion module and emulation backup BC modules are and MIL-STD- 1553B transceivers are connected, and protocol conversion module and emulation backup BC modules are by MIL-STD-1553B transceivers by data It is sent to MIL-STD-1553B buses.
CN201510407066.7A 2015-07-13 2015-07-13 A kind of adaptive BC and its operation method based on protocol conversion bridge Active CN105049308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510407066.7A CN105049308B (en) 2015-07-13 2015-07-13 A kind of adaptive BC and its operation method based on protocol conversion bridge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510407066.7A CN105049308B (en) 2015-07-13 2015-07-13 A kind of adaptive BC and its operation method based on protocol conversion bridge

Publications (2)

Publication Number Publication Date
CN105049308A CN105049308A (en) 2015-11-11
CN105049308B true CN105049308B (en) 2018-09-18

Family

ID=54455529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510407066.7A Active CN105049308B (en) 2015-07-13 2015-07-13 A kind of adaptive BC and its operation method based on protocol conversion bridge

Country Status (1)

Country Link
CN (1) CN105049308B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107666415B (en) * 2017-09-07 2020-11-03 北京京东尚科信息技术有限公司 Optimization method and device of FC-AE-1553 protocol bridge
CN108923537B (en) * 2018-07-14 2020-07-07 东方电子股份有限公司 Intelligent substation maintenance method based on link switching
CN109491950B (en) * 2018-09-26 2020-07-03 北京时代民芯科技有限公司 A simplified system interface 1553B remote terminal circuit
CN109587029A (en) * 2018-11-29 2019-04-05 北京计算机技术及应用研究所 FC-AE-1553 bus and MIL-STD-1553B bus non-transparent bridge welding system
CN113114549B (en) * 2021-03-16 2022-09-16 国营芜湖机械厂 Integrated simulation system of avionics system with hybrid bus structure

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075247A (en) * 2009-11-25 2011-05-25 中国科学院光电研究院 High-speed optical fiber bus and realization method for redundance topological structure thereof
CN104618207A (en) * 2015-01-08 2015-05-13 中国科学院空间应用工程与技术中心 Heterogeneous FC-AE-1553 network system and exchange method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075247A (en) * 2009-11-25 2011-05-25 中国科学院光电研究院 High-speed optical fiber bus and realization method for redundance topological structure thereof
CN104618207A (en) * 2015-01-08 2015-05-13 中国科学院空间应用工程与技术中心 Heterogeneous FC-AE-1553 network system and exchange method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
FC-AE-1553与MIL-STD-1553协议转换方案的设计;查翔等;《计算机工程与设计》;20120331;第33卷(第3期);第895-900页 *

Also Published As

Publication number Publication date
CN105049308A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
CN105049308B (en) A kind of adaptive BC and its operation method based on protocol conversion bridge
CN106776188A (en) Bus failure injected system based on DSP and FPGA
CN103049414A (en) Method for converting and transmitting data between FC (fiber channel) bus and CAN (controller area network) bus
CN106603358A (en) High-speed bus system based on an MLVDS interface and implementation method
CN107065668A (en) Industrial gateway remote data monitoring system and method based on intelligent sensor device
CN110635982A (en) Double-host communication method and system on communication bus, industrial control gateway and storage medium
CN102501862B (en) Network with vehicle-mounted display screen as core
CN104104519B (en) A kind of power-off restarting method, apparatus and system
CN203434983U (en) Fiber-channel data interface card with configurable FPGA (Field Programmable Gate Array)
CN209964093U (en) Hierarchical isolation information exchange equipment for industrial bus
CN107357756A (en) The system that more equipment carry out IIC communications under holotype
CN102662371B (en) Control system based on RS485
CN108519936A (en) A verification system and method for payload subsystem data transmission bus
CN105722128B (en) A GPRS network wireless data transmission method for multi-site communication
CN204044808U (en) The device that a kind of RS232 of realization, RS485 and USB turn mutually
CN202758347U (en) Controller of re-identifying universal serial bus (USB) device
CN102088385B (en) Direct interface method for Loytec module bus and high speed intelligent unified bus
CN102609388B (en) Slave node circuit, communication method and communication device
CN205942587U (en) Server
CN210072592U (en) Online upgrading system of extender
CN210804414U (en) Circuit with reusable communication interface
CN204013549U (en) A kind of CAN bus network based on optical fiber communication
CN202513930U (en) Multi-channel fiber data transmitting device
CN203951462U (en) On-off control circuit and magnetic resonance system
CN203119926U (en) Profibus DP/PA coupler

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant