CN107666415A - The optimization method and device of the protocol bridges of FC AE 1553 - Google Patents

The optimization method and device of the protocol bridges of FC AE 1553 Download PDF

Info

Publication number
CN107666415A
CN107666415A CN201710801201.5A CN201710801201A CN107666415A CN 107666415 A CN107666415 A CN 107666415A CN 201710801201 A CN201710801201 A CN 201710801201A CN 107666415 A CN107666415 A CN 107666415A
Authority
CN
China
Prior art keywords
protocol
working condition
bridge
counter
protocol bridge
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.)
Granted
Application number
CN201710801201.5A
Other languages
Chinese (zh)
Other versions
CN107666415B (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710801201.5A priority Critical patent/CN107666415B/en
Publication of CN107666415A publication Critical patent/CN107666415A/en
Application granted granted Critical
Publication of CN107666415B publication Critical patent/CN107666415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40013Details regarding a bus controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Abstract

The invention discloses a kind of optimization method and device of the protocol bridges of FC AE 1553, when can solve the problem that the protocol bridges of FC AE 1553 are connected to the fiber failure in optical-fibre channel transmission network, the problem of causing the equipment of all mountings in whole MIL STD 1553B buses out of hand.This method includes:According to linking for detection cycle detection protocol bridge and optical-fibre channel transmission network, counting operation is carried out to the counter set in protocol bridge according to testing result;According to the value of the counter and the working condition of protocol bridge, the working condition of the protocol bridge is kept or switched.

Description

The optimization method and device of FC-AE-1553 protocol bridges
Technical field
The present invention relates to field of computer technology, more particularly to a kind of optimization method and dress of FC-AE-1553 protocol bridges Put.
Background technology
FC-AE-1553 agreements are the applications of the upper-layer protocol of FC agreements (Fiber Channel, fiber channel protocol), are adopted By the use of optical fiber as transmission medium, speed is high, delay is low, the bit error rate is low.
MIL-STD-1553B agreements are using Shielded Twisted Pair as transmission medium, using central controlled mode, all numbers It is controlled according to transmitting procedure by BC (Bus Controller, bus control unit).
FC-AE-1553 agreements are upper strata mapping of the MIL-STD-1553B agreements in FC agreements, using MIL-STD- The central controlled modes of 1553B, while utilize FC protocol rates height, the characteristic that delay is low, the bit error rate is low.
FC-AE-1553 agreements, FC-AE (Fiber Channel Avionics Environment, fibre channel device Environment) in 07 year specification is carried out, define using FC (Fiber Channel, optical-fibre channel) among aviation electronics environment The form and network topology structure carried out data transmission.FC-AE-1553 agreements are as aviation electronic bus of future generation communication skill Art, can be in terms of transmission rate and transmission time and the bit error rate, and the MIL-STD-1553B agreements than previous generation have very big Lifting.Good forward compatibility can also be kept to previous generation MIL-STD-1553B networks simultaneously, completed to a large amount of existing The requirement of MIL-STD-1553B equipment connection.
FC-AE-1553 protocol bridges are to connect the network of FC networks (optical-fibre channel transmission network) and MIL-STD-1553B buses Protocol conversion bridge, it is used to complete conversion of the FC-AE-1553 agreements to MIL-STD-1553B agreements.FC-AE-1553 protocol bridges In FC networks, exist as a terminal device NT (Net Terminal, the network terminal);In MIL-STD-1553B buses In, exist as BC (Bus Controller, bus control unit).
In process of the present invention is realized, inventor has found that at least there are the following problems in the prior art:
FC-AE-1553 protocol bridges can only realize the data in FC networks and the agreement in MIL-STD-1553B buses Data converting function.When protocol bridge (it is FC-AE-1553 protocol bridges to own " protocol bridge " herein) is connected to the light in FC networks Fibre temporary fault occurs or because other reasonses cause permanent fault after, it will cause whole MIL-STD-1553B The equipment of all mountings is out of hand in bus, in uncontrolled state, is completely in state of paralysis.In existing protocol not Regulation is connected to the specification that the link of FC networks breaks down for protocol bridge, also without disclosed solution.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of optimization method, device and the device of FC-AE-1553 protocol bridges, energy When enough solution FC-AE-1553 protocol bridges are connected to the fiber failure in optical-fibre channel transmission network, cause whole MIL-STD- The problem of equipment of all mountings is out of hand in 1553B buses.
To achieve the above object, a kind of one side according to embodiments of the present invention, there is provided FC-AE-1553 protocol bridges Optimization method.
A kind of optimization method of FC-AE-1553 protocol bridges of the embodiment of the present invention includes:According to detection cycle detection protocol bridge With linking for optical-fibre channel transmission network, counting operation is carried out to the counter set in protocol bridge according to testing result;According to The value of the counter and the working condition of protocol bridge, keep or switch the working condition of the protocol bridge.
Alternatively, carrying out counting operation to the counter according to testing result includes:When protocol bridge and optical-fibre channel pass When the link of defeated network is normal, the value of the counter is arranged to detect number;When protocol bridge and optical-fibre channel transmission network Link break down, and the value of the counter be more than zero when, the value of the counter is subtracted one.
Alternatively, according to the value of the counter and the working condition of protocol bridge, keep or switch the work of the protocol bridge Include as state:When the value of the counter is detection number, and the working condition of the protocol bridge is protocol conversion state, Keep the working condition of the protocol bridge;When the value of the counter is detection number, and the working condition of the protocol bridge is During bus control unit state, the working condition of the protocol bridge is switched into protocol conversion state;When the value of the counter is Zero, and when the working condition of the protocol bridge is bus control unit state, keep the working condition of the protocol bridge;When the meter The value of number devices is zero, and when the working condition of the protocol bridge is protocol conversion state, the working condition of the protocol bridge is cut It is changed to bus control unit state.
Alternatively, the detection cycle is set according to the minimum time precision of system.
Alternatively, according to switching time setting detection number after the failure of system requirements so that switching time after failure= Detection cycle * detects number.
To achieve the above object, a kind of one side according to embodiments of the present invention, there is provided FC-AE-1553 protocol bridges Optimization device.
A kind of optimization device of FC-AE-1553 protocol bridges of the embodiment of the present invention includes:Link detection module, for according to Detection cycle detection protocol bridge links with optical-fibre channel transmission network, according to testing result to the counter that is set in protocol bridge Carry out counting operation;Switching control module, for the value and the working condition of protocol bridge according to the counter, keep or switch The working condition of the protocol bridge.
Alternatively, link detection module is additionally operable to:When protocol bridge is with optical-fibre channel transmission network when linking normal, by institute The value for stating counter is arranged to detect number;When protocol bridge and linking for optical-fibre channel transmission network break down, and the meter When the value of number device is more than zero, the value of the counter is subtracted one.
Alternatively, switching control module is additionally operable to:When the value of the counter is detection number, and the work of the protocol bridge When to make state be protocol conversion state, the working condition of the protocol bridge is kept;When the counter value for detection number, and When the working condition of the protocol bridge is bus control unit state, the working condition of the protocol bridge is switched into protocol conversion shape State;When the value of the counter is zero, and the working condition of the protocol bridge is bus control unit state, the agreement is kept The working condition of bridge;When the value of the counter is zero, and the working condition of the protocol bridge is protocol conversion state, by institute The working condition for stating protocol bridge switches to bus control unit state.
Alternatively, the detection cycle is set according to the minimum time precision of system.
Alternatively, according to switching time setting detection number after the failure of system requirements so that switching time after failure= Detection cycle * detects number.
To achieve the above object, another further aspect according to embodiments of the present invention, there is provided one kind realizes that FC-AE-1553 is assisted Discuss the electronic equipment of the optimization method of bridge.
The a kind of electronic equipment of the embodiment of the present invention includes:One or more processors;Storage device, for storing one Or multiple programs, when one or more of programs are by one or more of computing devices so that one or more of Processor realizes the optimization method of the FC-AE-1553 protocol bridges of the embodiment of the present invention.
To achieve the above object, a kind of another aspect according to embodiments of the present invention, there is provided computer-readable medium.
A kind of computer-readable medium of the embodiment of the present invention, is stored thereon with computer program, and described program is processed Make the optimization method of the FC-AE-1553 protocol bridges of the computer execution embodiment of the present invention when device performs for realization.
One embodiment in foregoing invention has the following advantages that or beneficial effect:Because using according to protocol bridge and FC nets The linking status of network (optical-fibre channel transmission network), keeps or the working condition of handoff protocol bridge is protocol conversion state or bus The technological means of controller state, so overcoming when the optical fiber that protocol bridge is connected to FC networks breaks down, whole MIL- In STD-1553B buses the equipment of all mountings can out of control technical problem, and then after link breaks down, and When start BC controller modules (bus control unit module), prevent that the total built-in units of MIL-STD-1553B are in paralyzed state Technique effect.And by setting counter in protocol bridge, with counting mode linking come record protocol bridge and FC networks State, so as to after a period of time for being broken down in link, start BC controller modules, prevent can not it is fault-tolerant caused by it is wrong Erroneous judgement.Can also be after link failure recovery, effectively the working condition of handoff protocol bridge is protocol data transition status (protocol conversion state), by the control of whole total built-in unit transfer to NC (Net Controller, network controller, entirely Transmitting-receiving in FC networks between all data is all network controlled device control), realize dynamic control right transfer.Moreover, by fixed When detection protocol bridge and FC networks linking status, so as to rapidly find linkage fault and fault recovery, cut in time Change the working condition of protocol bridge.
Further effect adds hereinafter in conjunction with embodiment possessed by above-mentioned non-usual optional mode With explanation.
Brief description of the drawings
Accompanying drawing is used to more fully understand the present invention, does not form inappropriate limitation of the present invention.Wherein:
Fig. 1 is the schematic diagram of the key step of the optimization method of FC-AE-1553 protocol bridges according to embodiments of the present invention;
Fig. 2 is the schematic diagram of the main modular of the optimization device of FC-AE-1553 protocol bridges according to embodiments of the present invention;
Fig. 3 is the schematic diagram of the system architecture of the optimization method of FC-AE-1553 protocol bridges according to embodiments of the present invention;
Fig. 4 is the signal of the working-flow of the optimization method of FC-AE-1553 protocol bridges according to embodiments of the present invention Figure;
Fig. 5 is that the embodiment of the present invention can apply to exemplary system architecture figure therein;
Fig. 6 is adapted for the structural representation for realizing the terminal device of the embodiment of the present invention or the computer system of server Figure.
Embodiment
The one exemplary embodiment of the present invention is explained below in conjunction with accompanying drawing, including the various of the embodiment of the present invention Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize Arrive, various changes and modifications can be made to the embodiments described herein, without departing from scope and spirit of the present invention.Together Sample, for clarity and conciseness, the description to known function and structure is eliminated in following description.
The technical scheme of the embodiment of the present invention adds link detecting, BC controls and state switching performance in protocol bridge.It is first Watch Dog (counter, also known as house dog) are first set;Timing carries out link detecting, that is, detects connection protocol bridge and FC networks Whether the optical fiber of (optical-fibre channel transmission network) breaks down;If fault-free, it is 10 to set Watch Dog, and keeps or switch Protocol bridge is protocol conversion working condition (i.e. FC network transmissions), is then carried out down according to default detection cycle (i.e. timing results) Link detecting;If it is faulty, and Watch Dog are more than 0, then subtract 1 by Watch Dog, then according to the default clock cycle Link detecting next time is carried out, when Watch Dog are 0, keep or the working condition of handoff protocol bridge is BC controller states.
Fig. 1 is the schematic diagram of the key step of the optimization method of FC-AE-1553 protocol bridges according to embodiments of the present invention;
As shown in figure 1, the optimization method of the FC-AE-1553 protocol bridges of the embodiment of the present invention mainly comprises the following steps:
Step S101:According to linking for detection cycle detection protocol bridge and optical-fibre channel transmission network, according to testing result Counting operation is carried out to the counter set in protocol bridge.In this step, protocol bridge and optical-fibre channel transmission network can be worked as Link it is normal when, by the value of the counter be arranged to detect number;When linking for protocol bridge and optical-fibre channel transmission network Break down, and the value of the counter be more than zero when, the value of the counter is subtracted one.Detection cycle can be according to system Minimum time precision is set., can be by FC-AE-1553 protocol bridge (agreements for setting counter in protocol bridge Bridge) in set counter Watch Dog (house dog) realize.
Step S102:According to the value of the counter and the working condition of protocol bridge, keep or switch the protocol bridge Working condition.In this step, the value that can work as the counter is detection number, and the working condition of the protocol bridge is association When discussing transition status, the working condition of the protocol bridge is kept;When the value of the counter is detection number, and the protocol bridge Working condition when being bus control unit state, the working condition of the protocol bridge is switched into protocol conversion state;When described The value of counter is zero, and when the working condition of the protocol bridge is bus control unit state, keeps the work of the protocol bridge State;When the value of the counter is zero, and the working condition of the protocol bridge is protocol conversion state, by the protocol bridge Working condition switch to bus control unit state.Detecting number can set according to switching time after the failures of system requirements, So that switching time=detection cycle * detection numbers after failure.
Fig. 3 is the schematic diagram of the system architecture of the optimization method of FC-AE-1553 protocol bridges according to embodiments of the present invention.
As shown in figure 3, the embodiment of the present invention is in addition to the protocol conversion function (protocol conversion module) of protocol bridge script, Link detecting (link detection module), protocol bridge state switching control (protocol bridge state switching control are added in protocol bridge Module) and BC controllers (BC controller modules) function.
After electric (energization) in protocol bridge, link detection module utilizes the link detecting work(for accessing optical module in FC networks Can, timing constantly detects the state of FC links, and (all " link " refers both to the light in FC networks herein by link It is fine) connection status it is lasting report protocol bridge state switching control module.
Protocol conversion function (protocol conversion module) is the function of protocol bridge script, is responsible for completing FC-AE-1553 data frames With the mutual translation function of MIL-STD-1553B data words.FC data frames are converted into MIL-STD-1553B data words, sent Into MIL-STD-1553B buses;The data that MIL-STD-1553B is sent to protocol bridge are converted to FC data frames and are sent to FC In network.
Protocol bridge state switching control function (protocol bridge state switching control module) is that protocol bridge working condition switches Controller, the state of its FC link detected according to link detection module, the working condition of handoff protocol bridge.In link failure In the case of, BC controller modules are enabled, protocol bridge is switched to BC controller state of a controls;At any time, if detecting Link failure recovery, then stop falling BC controller modules, protocol bridge is returned into protocol conversion working condition.
BC controller functions (BC controller modules) are after link breaks down, by protocol bridge state switch controller (association View bridge like state switching control function) started.The embodiment of the present invention by control command list configuration in BC controllers, in FC In the case of link failure, controller cyclically sends commands to bus, the number being responsible in control MIL-STD-1553B buses According to transmitting-receiving and the transmission of control instruction.BC controller modules are controlled by protocol bridge state switching control module.BC controllers are made For a controller role, control command is sent in a network and completes the control to whole network communication.
The Optimized Implementation Method of specific FC-AE-1553 protocol bridges is as follows:
Fig. 4 is the signal of the working-flow of the optimization method of FC-AE-1553 protocol bridges according to embodiments of the present invention Figure.
The embodiment of the present invention is provided with counter (Watch Dog, house dog) first in protocol bridge, for record protocol The linking status of bridge and FC networks, it is 10 to set Watch Dog initial values.
As shown in figure 4, the embodiment of the present invention detects FC Link States first after system starts, when FC links are normal When, the value for setting Watch Dog is 10 and checks protocol bridge working condition, judges whether it is in protocol conversion state, if Then wait and enter next detection clock (detection cycle), if the state of protocol bridge otherwise is switched into protocol conversion work shape State, then wait into next detection clock (detection cycle);, will when FC links are abnormal and Watch Dog value is more than 0 Watch Dog value subtracts 1, judges whether Watch Dog are 0 afterwards, if then whether being according to the working condition of protocol bridge Protocol conversion state, protocol bridge is switched to BC controller states and waits into next detection clock (detection cycle) or waits again Wait to enter next detection clock (detection cycle), if being otherwise directly entered next detection clock (detection cycle);When FC chains When road is abnormal and Watch Dog value is not more than 0, judge whether the working condition of protocol bridge is in protocol conversion state, if It is that protocol bridge is switched into BC controller states waits into next detection clock (detection cycle), if otherwise directly entering again Enter next detection clock (detection cycle).
The specific explanations of the workflow of the embodiment of the present invention are as follows:
1. timing detects current FC Link States, each (also known as detection cycle, also known as detection clock) time clock cycle For 1 millisecond (1ms).
In the process of running, do not know when link failure can occur, it is therefore desirable to link is carried out at regular intervals Detection, checks whether link breaks down.The strategy of timing detection is just examined at interval of certain time to the state of link Survey.
Detection cycle is shorter, responds faster after link failure, and system of embodiment of the present invention minimum can support Millisecond Detection, so the embodiment of the present invention selects 1ms as detection cycle.
2. if Link State is in connection status, renewal Watch Dog value is 10 (detection numbers), and detects association (working condition of protocol bridge is by setting a marker bit to identify for the working condition of view bridge.When working state of system switches, The marker bit is changed, detection working condition performs by checking the marker bit), if protocol bridge does not operate at protocol conversion Under working condition, then stop BC controller modules, protocol bridge is switched under protocol conversion state.Then wait and enter next Individual detection cycle.
3. if protocol bridge Link State failure, Watch Dog count value is checked, if greater than 0, by Watch Dog, which is counted, subtracts 1.When counter is 0, protocol bridge working condition is switched to BC controller states.The embodiment of the present invention is even Detect the state switching that protocol bridge is just carried out after link failure for continuous 10 times, prevent certain error detection from causing switching state by mistake. The numerical value of counter is too small to cause link detecting mistake to cause switching state by mistake, and numerical value is too big then to be caused to switch after failure Operation responded slow.
4. a pair Watch Dog values detect, judge whether Watch Dog values are 0, if fruit is not 0, into next Detection cycle is waited;If current Watch Dog values are 0, protocol bridge working condition is checked, if in BC controllers State, then wait and enter next detection cycle, if protocol bridge is in protocol conversion working condition, protocol bridge is worked shape State is switched to BC controller working conditions, waits and enters next detection cycle (descending 1ms).
Protocol bridge working method (state) switch instances are as follows:
A. under protocol bridge working condition, and if only if continuous 10 clock cycle, after all detecting that link breaks down, Just the working condition of protocol bridge can be switched to BC controller states.
It is the optimal selection that system of the embodiment of the present invention passes through many experiments using 10 clock cycle (detection number), It may cause false judgment because error tolerance is too small less than 10, time loss can be caused to become big more than 10.
Other systems environment can be done according to the minimum time precision of switching time and system after the failures of system requirements Go out adjustment, meet formula " switching time after detection cycle * detection number=failures ".Selected parameter (1ms* herein 10=10ms), it is to be selected after being considered based on system precise time and failure recovery time.
B. under BC controller states, after any one detection cycle detects link failure recovery, immediately by protocol bridge Working condition is switched to protocol bridge transition status.
5. after system starts, it will be run always according to working-flow, when system jam or disconnected Terminate after electricity.
The optimization method of FC-AE-1553 protocol bridges according to embodiments of the present invention can be seen that because using according to agreement The linking status of bridge and FC networks (optical-fibre channel transmission network), keeps or the working condition of handoff protocol bridge is protocol conversion shape The technological means of state or bus control unit state, so overcome when the optical fiber that protocol bridge is connected to FC networks breaks down, In whole MIL-STD-1553B buses the equipment of all mountings can out of control technical problem, and then in link generation After failure, start BC controller modules (bus control unit module) in time, prevent the total built-in units of MIL-STD-1553B to be in The technique effect of state of paralysis.And by setting counter in protocol bridge, with counting mode come record protocol bridge and FC nets The linking status of network, so as to after a period of time for being broken down in link, start BC controller modules, preventing can not be fault-tolerant Caused false judgment.Can also be after link failure recovery, effectively the working condition of handoff protocol bridge is protocol data Transition status (protocol conversion state), the control of whole total built-in unit is transferred into NC (Net Controller, network control Device, the transmitting-receiving in whole FC networks between all data are all network controlled device control), realize dynamic control right transfer.Moreover, By the linking status of timing detection protocol bridge and FC networks, so as to rapidly find linkage fault and fault recovery, and When handoff protocol bridge working condition.
Fig. 2 is the schematic diagram of the main modular of the optimization device of FC-AE-1553 protocol bridges according to embodiments of the present invention;
As shown in Fig. 2 the optimization device 200 of the FC-AE-1553 protocol bridges of the embodiment of the present invention mainly includes:Link is examined Survey module 201, switching control module 202.Wherein:
Link detection module 201 can be used for linking according to detection cycle detection protocol bridge and optical-fibre channel transmission network, Counting operation is carried out to the counter set in protocol bridge according to testing result;Switching control module 202 can be used for according to The value of counter and the working condition of protocol bridge, keep or switch the working condition of the protocol bridge.
In addition, link detection module 202 can be additionally used in:When protocol bridge is with optical-fibre channel transmission network when linking normal, The value of the counter is arranged to detect number;When protocol bridge and linking for optical-fibre channel transmission network break down, and institute When stating the value of counter more than zero, the value of the counter is subtracted one.
In addition, the value that switching control module 203 can be additionally used in the counter is detection number, and the work of the protocol bridge When to make state be protocol conversion state, the working condition of the protocol bridge is kept;When the counter value for detection number, and When the working condition of the protocol bridge is bus control unit state, the working condition of the protocol bridge is switched into protocol conversion shape State;When the value of the counter is zero, and the working condition of the protocol bridge is bus control unit state, the agreement is kept The working condition of bridge;When the value of the counter is zero, and the working condition of the protocol bridge is protocol conversion state, by institute The working condition for stating protocol bridge switches to bus control unit state.
In addition, the detection cycle in the optimization device 200 of the FC-AE-1553 protocol bridges of the embodiment of the present invention is according to being What the minimum time precision of system was set, detection number be after the failure according to system requirements switching time set so that Switching time=detection cycle * detection numbers after failure.
From the above, it can be seen that because using linking according to protocol bridge and FC networks (optical-fibre channel transmission network) The working condition of state, holding or handoff protocol bridge is the technological means of protocol conversion state or bus control unit state, so Overcome when the optical fiber that protocol bridge is connected to FC networks breaks down, all mountings in whole MIL-STD-1553B buses Equipment can out of control technical problem, and then after link breaks down, start BC controller module (buses in time Controller module), prevent the total built-in units of MIL-STD-1553B technique effect in paralyzed state.And by agreement Counter is set in bridge, with counting mode come record protocol bridge and the linking status of FC networks, so as to occurring in link therefore After a period of time of barrier, start BC controller modules, preventing can not fault-tolerant caused false judgment.Can also be extensive in link failure After multiple, effectively the working condition of handoff protocol bridge is protocol data transition status (protocol conversion state), by whole bus The control of upper equipment transfers to NC, and (Net Controller, network controller, the transmitting-receiving in whole FC networks between all data is all It is network controlled device control), realize dynamic control right transfer.Moreover, linking by timing detection protocol bridge and FC networks State, so as to rapidly find linkage fault and fault recovery, the working condition of handoff protocol bridge in time.
According to an embodiment of the invention, present invention also offers a kind of electronic equipment and a kind of computer-readable recording medium.
The electronic equipment of the present invention includes:One or more processors;Storage device, for storing one or more journeys Sequence, when one or more of programs are by one or more of computing devices so that one or more of processors are real The optimization method of the FC-AE-1553 protocol bridges of the existing embodiment of the present invention.
The computer-readable medium of the present invention, is stored thereon with computer program, is used when described program is executed by processor In the optimization method for realizing the FC-AE-1553 protocol bridges for making the computer perform the embodiment of the present invention.
Fig. 5 shows the optimization method or FC-AE-1553 for the FC-AE-1553 protocol bridges that can apply the embodiment of the present invention The exemplary system architecture 500 of the optimization device of protocol bridge.
As shown in figure 5, system architecture 500 can include terminal device 501,502,503, network 504 and server 505. Network 504 between terminal device 501,502,503 and server 505 provide communication link medium.Network 504 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted with using terminal equipment 501,502,503 by network 504 with server 505, to receive or send out Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 501,502,503 (merely illustrative) such as the application of page browsing device, searching class application, JICQ, mailbox client, social platform softwares.
Terminal device 501,502,503 can have a display screen and a various electronic equipments that supported web page browses, bag Include but be not limited to smart mobile phone, tablet personal computer, pocket computer on knee and desktop computer etc..
Server 505 can be to provide the server of various services, such as terminal device 501,502,503 is sent Data provide the back-stage management server (merely illustrative) supported.Back-stage management server can enter line number to the data received According to processing such as conversion, analyses, and result is fed back into terminal device.
It should be noted that the optimization method for the FC-AE-1553 protocol bridges that the embodiment of the present invention is provided is typically by servicing Device 505 is performed, and correspondingly, the optimization device of FC-AE-1553 protocol bridges is generally positioned in server 505.
It should be understood that the number of the terminal device, network and server in Fig. 5 is only schematical.According to realizing need Will, can have any number of terminal device, network and server.
Fig. 6 is adapted for the structural representation for realizing the terminal device of the embodiment of the present invention or the computer system of server Figure.
As shown in fig. 6, it illustrates suitable for for realizing the computer system 600 of the terminal device of the embodiment of the present invention Structural representation.Terminal device shown in Fig. 6 is only an example, should not be to the function and use range of the embodiment of the present invention Bring any restrictions.
As shown in fig. 6, computer system 600 includes CPU (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into program in random access storage device (RAM) 603 from storage part 608 and Perform various appropriate actions and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interfaces 605 are connected to lower component:Importation 606 including keyboard, mouse etc.;Penetrated including such as negative electrode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 608 including hard disk etc.; And the communications portion 609 of the NIC including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net performs communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc., it is arranged on as needed on driver 610, in order to read from it Computer program be mounted into as needed storage part 608.
Especially, can be implemented according to embodiment disclosed by the invention, the process of working-flow figure description above For computer software programs.For example, embodiment disclosed by the invention includes a kind of computer program product, it includes being carried on meter Computer program on calculation machine computer-readable recording medium, the computer program are included for the method shown in execution system workflow diagram Program code.In such embodiments, the computer program can be downloaded and pacified from network by communications portion 609 Dress, and/or be mounted from detachable media 611.When the computer program is performed by CPU (CPU) 601, perform The above-mentioned function of being limited in the system of the present invention.
It should be noted that the computer-readable medium shown in the present invention can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer-readable recording medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination.Meter The more specifically example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more wires, just Take formula computer disk, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the present invention, computer-readable recording medium can any include or store journey The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.And at this In invention, computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for By instruction execution system, device either device use or program in connection.Included on computer-readable medium Program code can be transmitted with any appropriate medium, be included but is not limited to:Wirelessly, electric wire, optical cable, RF etc., or it is above-mentioned Any appropriate combination.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of various embodiments of the invention, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, a part for above-mentioned module, program segment or code include one or more For realizing the executable instruction of defined logic function.It should also be noted that some as replace realization in, institute in square frame The function of mark can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actual On can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also It is noted that the combination of each square frame and block diagram in block diagram or flow chart or the square frame in flow chart, can use and perform rule Fixed function or the special hardware based system of operation are realized, or can use the group of specialized hardware and computer instruction Close to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard The mode of part is realized.Described module can also be set within a processor, for example, can be described as:A kind of processor bag Include link detection module and switching control module.Wherein, the title of these units is not formed to the module under certain conditions The restriction of itself, for example, link detection module is also described as " passing according to detection cycle detection protocol bridge and optical-fibre channel The link of defeated network, counting operation is carried out to the counter set in protocol bridge according to testing result ".
As on the other hand, present invention also offers a kind of computer-readable medium, the computer-readable medium can be Included in equipment described in above-described embodiment;Can also be individualism, and without be incorporated the equipment in.Above-mentioned calculating Machine computer-readable recording medium carries one or more program, when said one or multiple programs are performed by the equipment, makes Obtaining the equipment includes:According to linking for detection cycle detection protocol bridge and optical-fibre channel transmission network, according to testing result to association Discuss the counter set in bridge and carry out counting operation;According to the value of the counter and the working condition of protocol bridge, keep or cut Change the working condition of the protocol bridge.
The said goods can perform the method that the embodiment of the present invention is provided, and possesses the corresponding functional module of execution method and has Beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present invention is provided.
Technical scheme according to embodiments of the present invention, because using according to protocol bridge and FC networks (optical-fibre channel transmission network Network) linking status, keep or the working condition of handoff protocol bridge for protocol conversion state or bus control unit state technology Means, so overcoming when the optical fiber that protocol bridge is connected to FC networks breaks down, institute in whole MIL-STD-1553B buses Have mounting equipment can out of control technical problem, and then after link breaks down, start BC controllers in time Module (bus control unit module), prevent the total built-in units of MIL-STD-1553B technique effect in paralyzed state.And lead to Cross and counter is set in protocol bridge, with counting mode come the linking status of record protocol bridge and FC networks, so as in chain After a period of time that road is broken down, start BC controller modules, preventing can not fault-tolerant caused false judgment.Can also be in chain After the fault recovery of road, effectively the working condition of handoff protocol bridge is protocol data transition status (protocol conversion state), will The control of whole total built-in unit transfers to NC (Net Controller, network controller, in whole FC networks between all data Transmitting-receiving be all network controlled device control), realize dynamic control right transfer.Moreover, pass through timing detection protocol bridge and FC nets The linking status of network, so as to rapidly find linkage fault and fault recovery, the working condition of handoff protocol bridge in time.
Above-mentioned embodiment, does not form limiting the scope of the invention.Those skilled in the art should be bright It is white, depending on design requirement and other factors, various modifications, combination, sub-portfolio and replacement can occur.It is any Modifications, equivalent substitutions and improvements made within the spirit and principles in the present invention etc., should be included in the scope of the present invention Within.

Claims (12)

  1. A kind of 1. optimization method of FC-AE-1553 protocol bridges, it is characterised in that including:
    According to linking for detection cycle detection protocol bridge and optical-fibre channel transmission network, according to testing result to being set in protocol bridge Counter carry out counting operation;
    According to the value of the counter and the working condition of protocol bridge, the working condition of the protocol bridge is kept or switched.
  2. 2. optimization method according to claim 1, it is characterised in that counted according to testing result to the counter Operation includes:
    When protocol bridge when linking normal, the value of the counter is arranged to detect number with optical-fibre channel transmission network;
    When protocol bridge and linking for optical-fibre channel transmission network break down, and the value of the counter is more than zero, by described in The value of counter subtracts one.
  3. 3. optimization method according to claim 1, it is characterised in that according to the work of the value of the counter and protocol bridge State, the working condition for keeping or switching the protocol bridge include:
    When the value of the counter is detection number, and the working condition of the protocol bridge is protocol conversion state, institute is kept State the working condition of protocol bridge;
    When the value of the counter is detection number, and the working condition of the protocol bridge is bus control unit state, by institute The working condition for stating protocol bridge switches to protocol conversion state;
    When the value of the counter is zero, and the working condition of the protocol bridge is bus control unit state, the association is kept Discuss the working condition of bridge;
    When the value of the counter is zero, and the working condition of the protocol bridge is protocol conversion state, by the protocol bridge Working condition switch to bus control unit state.
  4. 4. optimization method according to claim 1, it is characterised in that the detection cycle is smart according to the minimum time of system Degree is set.
  5. 5. optimization method according to claim 4, it is characterised in that set according to switching time after the failure of system requirements Detect number so that switching time=detection cycle * detection numbers after failure.
  6. A kind of 6. optimization device of FC-AE-1553 protocol bridges, it is characterised in that including:
    Link detection module, for linking according to detection cycle detection protocol bridge and optical-fibre channel transmission network, according to detection As a result counting operation is carried out to the counter set in protocol bridge;
    Switching control module, for the value and the working condition of protocol bridge according to the counter, keep or switch the agreement The working condition of bridge.
  7. 7. optimization device according to claim 6, it is characterised in that link detection module is additionally operable to:
    When protocol bridge when linking normal, the value of the counter is arranged to detect number with optical-fibre channel transmission network;
    When protocol bridge and linking for optical-fibre channel transmission network break down, and the value of the counter is more than zero, by described in The value of counter subtracts one.
  8. 8. optimization device according to claim 6, it is characterised in that switching control module is additionally operable to:
    When the value of the counter is detection number, and the working condition of the protocol bridge is protocol conversion state, institute is kept State the working condition of protocol bridge;
    When the value of the counter is detection number, and the working condition of the protocol bridge is bus control unit state, by institute The working condition for stating protocol bridge switches to protocol conversion state;
    When the value of the counter is zero, and the working condition of the protocol bridge is bus control unit state, the association is kept Discuss the working condition of bridge;
    When the value of the counter is zero, and the working condition of the protocol bridge is protocol conversion state, by the protocol bridge Working condition switch to bus control unit state.
  9. 9. optimization device according to claim 6, it is characterised in that the detection cycle is smart according to the minimum time of system Degree is set.
  10. 10. optimization device according to claim 9, it is characterised in that set according to switching time after the failure of system requirements Regular inspection surveys number so that switching time=detection cycle * detection numbers after failure.
  11. 11. a kind of electronic equipment, it is characterised in that including:
    One or more processors;
    Storage device, for storing one or more programs,
    When one or more of programs are by one or more of computing devices so that one or more of processors are real The now method as described in any in claim 1-5.
  12. 12. a kind of computer-readable medium, is stored thereon with computer program, it is characterised in that described program is held by processor The method as described in any in claim 1-5 is realized during row.
CN201710801201.5A 2017-09-07 2017-09-07 Optimization method and device of FC-AE-1553 protocol bridge Active CN107666415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710801201.5A CN107666415B (en) 2017-09-07 2017-09-07 Optimization method and device of FC-AE-1553 protocol bridge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710801201.5A CN107666415B (en) 2017-09-07 2017-09-07 Optimization method and device of FC-AE-1553 protocol bridge

Publications (2)

Publication Number Publication Date
CN107666415A true CN107666415A (en) 2018-02-06
CN107666415B CN107666415B (en) 2020-11-03

Family

ID=61097148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710801201.5A Active CN107666415B (en) 2017-09-07 2017-09-07 Optimization method and device of FC-AE-1553 protocol bridge

Country Status (1)

Country Link
CN (1) CN107666415B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587029A (en) * 2018-11-29 2019-04-05 北京计算机技术及应用研究所 FC-AE-1553 bus and MIL-STD-1553B bus non-transparent bridge welding system
CN110998509A (en) * 2018-07-16 2020-04-10 华为技术有限公司 Method, equipment and system for acquiring optical module link negotiation information
CN112000605A (en) * 2020-08-26 2020-11-27 北京控制与电子技术研究所 Method and device for transmitting instructions and data
CN112350983A (en) * 2019-08-08 2021-02-09 横河电机株式会社 Protocol converter, data transmission method, storage medium, and data transmission system
CN112995808A (en) * 2021-04-21 2021-06-18 北京国科天迅科技有限公司 FC-AE-1553 network optimization method and system
WO2022016823A1 (en) * 2020-07-22 2022-01-27 北京国科天迅科技有限公司 Method for processing faulty node of optical fibre network system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080052728A1 (en) * 2003-01-13 2008-02-28 Steinmetz Joseph H Method and interface for access to memory within a first electronic device by a second electronic device
CN102075247A (en) * 2009-11-25 2011-05-25 中国科学院光电研究院 High-speed optical fiber bus and realization method for redundance topological structure thereof
CN102624574A (en) * 2011-01-27 2012-08-01 西门子公司 Security testing method and device for protocol implementation
CN105049308A (en) * 2015-07-13 2015-11-11 成都成电光信科技股份有限公司 Adaptive BC based on protocol conversion bridge and operation method of adaptive BC

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080052728A1 (en) * 2003-01-13 2008-02-28 Steinmetz Joseph H Method and interface for access to memory within a first electronic device by a second electronic device
CN102075247A (en) * 2009-11-25 2011-05-25 中国科学院光电研究院 High-speed optical fiber bus and realization method for redundance topological structure thereof
CN102624574A (en) * 2011-01-27 2012-08-01 西门子公司 Security testing method and device for protocol implementation
CN105049308A (en) * 2015-07-13 2015-11-11 成都成电光信科技股份有限公司 Adaptive BC based on protocol conversion bridge and operation method of adaptive BC

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110998509A (en) * 2018-07-16 2020-04-10 华为技术有限公司 Method, equipment and system for acquiring optical module link negotiation information
US11256635B2 (en) 2018-07-16 2022-02-22 Huawei Technolgoies Co., Ltd. Optical module link negotiation information obtaining method, device, and system
CN109587029A (en) * 2018-11-29 2019-04-05 北京计算机技术及应用研究所 FC-AE-1553 bus and MIL-STD-1553B bus non-transparent bridge welding system
CN112350983A (en) * 2019-08-08 2021-02-09 横河电机株式会社 Protocol converter, data transmission method, storage medium, and data transmission system
CN112350983B (en) * 2019-08-08 2023-04-07 横河电机株式会社 Protocol converter, data transmission method, storage medium, and data transmission system
WO2022016823A1 (en) * 2020-07-22 2022-01-27 北京国科天迅科技有限公司 Method for processing faulty node of optical fibre network system
CN112000605A (en) * 2020-08-26 2020-11-27 北京控制与电子技术研究所 Method and device for transmitting instructions and data
CN112995808A (en) * 2021-04-21 2021-06-18 北京国科天迅科技有限公司 FC-AE-1553 network optimization method and system
WO2022222371A1 (en) * 2021-04-21 2022-10-27 北京国科天迅科技有限公司 Fc-ae-1553 network optimization method and system

Also Published As

Publication number Publication date
CN107666415B (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN107666415A (en) The optimization method and device of the protocol bridges of FC AE 1553
CN101408755B (en) Electric power system protection and control system and distributed control system
CN106646186B (en) Batch test method and system for chips
CN107844324A (en) Customer terminal webpage redirects treating method and apparatus
US20130315362A1 (en) Nuclear digital instrumentation and control system
CN110457176A (en) For the monitoring method of distributed system, device, storage medium and electronic equipment
US9280426B2 (en) System and method for server redundancy
KR20220008736A (en) Robustness determining method, device, electronic equipment and readable storage medium
CN107749778A (en) A kind of communications optical cable fault early warning method and device
CN110505074A (en) A kind of application module integrated approach and device
CN112491047A (en) Fault positioning method, device and equipment for secondary equipment of transformer substation
CN100498618C (en) Computer network monitoring system for flexible electric PC board stitching machine
WO2023211030A1 (en) Integrated management method using integrated single-sign-on manufacturing information management system
CN104734900A (en) Sending control method for communication protocol testing
US20100229041A1 (en) Device and method for expediting feedback on changes of connection status of monitioring equipments
CN103279110B (en) A kind of inspection control device of locomotive stand-by motor overhaul of the equipments line
CN110162499A (en) A kind of PECI bus switch device, method and system
WO2022131447A1 (en) Process-line-changeable process management method, and smart process system
CN101931539A (en) Power supply overload control method
Zhang et al. Co-simulation for cyber-physical distribution network under cyber attacks
WO2011087169A1 (en) Method for determining problem level in operating system
CN104601221A (en) State monitoring system for merging unit and intelligent terminal
CN105656719B (en) Judge device, judgment method and the method for saving chip of chip communication frequency
CN103472798A (en) Distributed type aircraft monitoring system
CN203433354U (en) Distributed monitoring system for aircraft

Legal Events

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