Optical fiber network-based comprehensive avionics system backup method

文档序号:308609 发布日期:2021-11-26 浏览:23次 中文

阅读说明:本技术 一种基于光纤网络的综合航电系统备份方法 (Optical fiber network-based comprehensive avionics system backup method ) 是由 李谦 袁盾 贾磊 刘康 于 2021-09-06 设计创作,主要内容包括:本发明属于计算机技术领域,具体涉及一种基于光纤网络的综合航电系统备份方法。该方法在以光纤为通讯网络的综合模块化航电系统架构下,利用双冗余热备份模式,提出主控模块备份、通用模块备份和光纤交换机备份等三种备份模式,解决了系统模块、光纤交换机的故障恢复问题,该方法可以快速、可靠的恢复系统模块的功能,降低了对系统功能的影响,提高了综合航电系统的备份恢复效率。(The invention belongs to the technical field of computers, and particularly relates to a comprehensive avionics system backup method based on an optical fiber network. According to the method, under the comprehensive modular avionics system architecture taking optical fibers as a communication network, a dual-redundancy hot backup mode is utilized, three backup modes of a main control module backup, a universal module backup, an optical fiber switch backup and the like are provided, the problem of fault recovery of a system module and an optical fiber switch is solved, the functions of the system module can be quickly and reliably recovered, the influence on the system functions is reduced, and the backup recovery efficiency of the comprehensive avionics system is improved.)

1. A backup method of an integrated avionics system based on an optical fiber network is characterized in that modules in the integrated avionics system comprise: the system comprises a main control module, a universal module and an optical fiber switch module, wherein a standby module is configured for each module; each main control module, the general module and the standby module thereof are respectively connected to two optical fiber switch modules, namely an optical fiber switch module 1 and an optical fiber switch module 2; therefore, the standby module of the main control module is defined as a standby main control module; defining a standby module of the universal module as a standby universal module; in the optical fiber switch module 1 and the optical fiber switch module 2, one of the optical fiber switch modules is a standby module of the other optical fiber switch module, and the standby module of the optical fiber switch module is defined as a standby optical fiber switch module;

the main control module is used for monitoring the state of each module, managing and controlling backup of each module and configuring resources of each module, and the universal module is used for providing universal and special computing services according to task requirements;

under the normal working state of the integrated avionics system, the master control module monitors the states of the universal modules 1 to N, the optical fiber switch module 1 and the optical fiber switch module 2 in real time; the standby main control module is used for monitoring the states of the main control module, the general modules 1 to N, the optical fiber switch module 1 and the optical fiber switch module 2 in real time;

the main control module sends messages to the universal module and the standby universal module simultaneously in the working process, when receiving the messages, the main control module only receives the messages of the universal module, and the standby universal module in the backup state only receives the messages from the main control module and other universal modules; the standby main control module only receives the message of the universal module, and the universal module sends the message to other universal modules and the main control module;

the following roles are defined in the integrated avionics system: MC represents the main control main role of the system, MCB represents the main control standby role of the system, DPT represents the general module main role of the system, DPT _ B represents the general module standby role of the system, FCS represents the optical fiber switch main role of the system, and FCS _ B represents the optical fiber switch standby role of the system; therefore, in each module in the integrated avionics system, the role of the main control module is MC, the role of the standby main control module is MCB, the roles of the universal modules 1 to universal modules N are DPT, the roles of the standby universal modules 1 to standby universal modules N are DPT _ B, the role of the fiber switch module is FCS, and the role of the standby fiber switch module is FCS _ B;

aiming at the comprehensive avionics system architecture, the method provides three backup modes:

A. a main control module backup mode;

B. a universal module backup mode;

C. a fiber switch backup mode;

the working process of the backup mode of the main control module is as follows:

step A1: after the system is normally started, the main control module sends a periodic self-checking message to the standby main control module;

step A2: the standby main control module receives the periodic self-checking message of the main control module, if the periodic self-checking message is successfully obtained, the periodic self-checking message is continuously received, otherwise, whether the periodic self-checking message is not received for more than X times is judged, if the periodic self-checking message is not received for more than X times, the periodic self-checking message is continuously received, otherwise, the operation is transferred to the step A3;

step A3: the standby main control module sets the state of the main control module to be an offline state and starts a backup strategy;

step A4: the standby main control module sets the role of the standby main control module as MC and opens a data sending channel; at the moment, the role is set as the standby main control module of the MC, and the standby main control module is redefined as the main control module;

step A5: the current main control module sends a message to other general modules, and the message content is the physical address and the role of the current main control module;

step A6: and the universal module sets the receiving and sending channels as the current main control module according to the received physical address and role information of the current main control module.

2. The integrated avionics system backup method based on the optical fiber network according to claim 1, wherein in the master control module backup mode workflow, when a master control module in an offline state is restarted or is online again in other manners, whether a master control module in an MC role exists in the current system is detected, if the master control module in the offline state exists, the master control module in the MC role is set to be an MCB, that is, the master control module is changed to be a standby master control module, and then the states of the master control module, the universal modules 1 to N, the optical fiber switch module 1 and the optical fiber switch module 2 are monitored in real time.

3. The integrated avionics system backup method based on the fiber optic network of claim 1, wherein the general module backup mode workflow is as follows:

step B1: after the system is normally started, the universal module sends periodic self-checking information to the main control module;

step B2: the main control module receives the periodic self-checking message of the universal module m, if the message is successfully obtained, the periodic self-checking message is continuously received, otherwise, whether the message is not received for more than X times is judged, if the message is not received for more than X times, the periodic self-checking message is continuously received, otherwise, the operation goes to the step B3;

step B3: the master control module sets the state of the universal module m to be an offline state and starts a backup strategy;

step B4: the master control module sends a message to the standby universal module m to inform the standby universal module m of starting backup activation;

step B5: the standby universal module m receives the starting activation message, sets the role of the standby universal module m into DPT, opens a sending channel and informs the main control module of finishing starting; at this time, the role is set as a standby universal module m of the DPT, and the standby universal module m is redefined as the universal module m;

step B6: the main control module sends messages to other universal modules, and the content is the physical address and the role of the universal module m; when other universal modules need to communicate with the universal module m, only the universal module m with the current role of DPT of the system sends and receives messages;

step B7: and the standby universal module m completes the backup switching work and sends periodic self-checking information to the main control module.

4. The integrated avionics system backup method based on the fiber optic network of claim 3, wherein the value of m is less than or equal to N.

5. The integrated avionics system backup method based on the optical fiber network according to claim 3, wherein in the universal module backup mode workflow, when a universal module m in an offline state is restarted or is brought online again in other manners, whether the universal module m in a DPT role exists in the current system is detected, if the universal module m in the offline state exists, the role of the universal module m is set to DPT _ B, that is, the universal module m is changed to be a standby universal module m, and an online message, a physical address and the role are notified to the main control module.

6. The integrated avionics system backup method based on a fiber optic network of claim 3, wherein the fiber optic switch backup mode workflow is as follows:

when the system is started normally, the two optical fiber switch modules work simultaneously and receive forwarding data simultaneously; the main control module, the standby main control module, the universal modules 1 to N and the standby universal modules 1 to N receive and process the data of the optical fiber switch module 1 and receive the data of the optical fiber switch module 2 by default; that is, the role of the optical fiber switch module 1 defaults to FCS, and the role of the optical fiber switch module 2 defaults to FCS _ B;

when the data of the optical fiber switch module 1 is not received in 5 periods, a query message is sent to the optical fiber switch module 1, if the query returns successfully, the optical fiber switch module 1 works normally, then the main control module is informed that the data of other board cards have problems, and the main control module processes the problems of other modules; if the query fails, it indicates that the optical fiber switch module 1 is not working normally, the data of the optical fiber switch module 2 is automatically received and processed, and the master control module sets the role of the optical fiber switch module 2 as FCS.

7. The integrated fiber optic network-based avionics system backup method of claim 6, wherein said fiber optic switch backup mode workflow comprises the steps of:

step C1: after the system is normally started, the two optical fiber switch modules work simultaneously, and the main control module and the universal module send and receive data through the optical fiber switch module 1 and the optical fiber switch module 2; the main control module and the universal module only process data sent by the optical fiber switch module 1 by default;

step C2: the main control module periodically inquires the data transmission condition of the optical fiber switch module 1, if the data transmission exists, the data transmission condition is continuously and periodically inquired, otherwise, whether the data transmission does not exist for more than Y times is judged, if the data transmission does not exceed Y times, the data transmission condition is continuously and periodically inquired, otherwise, the operation goes to the step C3;

step C3: the main control module sends query information to the optical fiber switch module 1, if the query success message is received, the optical fiber switch module 1 is judged to be normal, the problems of other universal modules are checked, otherwise, the problem of the optical fiber switch module 1 is judged to be generated, the main control module sets the state of the optical fiber switch module 1 to be an offline state, and an optical fiber switch backup strategy is started;

step C4: the main control module sends messages to the standby main control module, the universal module and the standby universal module, informs the standby main control module, switches to a channel of the optical fiber switch module 2, and receives and sends the messages through the optical fiber switch module 2;

step C5: the main control module sets the role of the optical fiber switch module 2 as FCS, and the optical fiber switch module 2 completes backup switching work.

8. The integrated avionics system backup method based on the fiber optic network of claim 7, wherein when the fiber switch module 1 in the offline state is restarted or brought online again in other manners, and the main control module receives an online message of the fiber switch module 1, it detects whether a fiber switch module with an FCS role exists in the current system, and if so, sets the role of the fiber switch module 1 as FCS _ B.

9. The integrated optical network-based avionics system backup method according to any one of claims 1 to 8, wherein the systems are all integrated avionics systems.

10. The integrated avionics system backup method based on a fiber optic network of claim 1, wherein the X times are three times and the Y times are five times.

Technical Field

The invention belongs to the technical field of computers, and particularly relates to a comprehensive avionics system backup method based on an optical fiber network.

Background

In order to meet the complex military and civil needs, avionics systems have undergone a lengthy development process, from discrete to federated, from integrated to highly integrated. Integrated Modular Avionics (IMA) is the highest level of structural integration of Avionics systems, and has been used on F-22, F-35 military aircraft and civilian aircraft such as airbus A380 and Boeing 787 in the United states. IMA adopts modularization and universalization design ideas, considers a plurality of airborne equipment with independent functions as a whole, and the software and hardware of the system formed are highly coupled, so that the reusability and the reconfigurable capability of the system are improved, and meanwhile, the power consumption, the quality and the volume of the system are obviously reduced.

With the continuous development of IMA, more and more application functions are integrated into the IMA architecture system, so that an urgent need is provided for the reliability of the system, and when a system module fails, how to realize the quick and reliable system recovery function and realize the effective scheduling and redundancy support of various resources is a hot problem to be solved urgently.

Disclosure of Invention

Technical problem to be solved

The technical problem to be solved by the invention is as follows: in order to overcome the problems, how to provide a backup method of an integrated avionics system is provided.

(II) technical scheme

In order to solve the technical problem, the invention provides a backup method of an integrated avionics system based on an optical fiber network, wherein modules in the integrated avionics system comprise: the system comprises a main control module, a universal module and an optical fiber switch module, wherein a standby module is configured for each module; each main control module, the general module and the standby module thereof are respectively connected to two optical fiber switch modules, namely an optical fiber switch module 1 and an optical fiber switch module 2; therefore, the standby module of the main control module is defined as a standby main control module; defining a standby module of the universal module as a standby universal module; in the optical fiber switch module 1 and the optical fiber switch module 2, one of the optical fiber switch modules is a standby module of the other optical fiber switch module, and the standby module of the optical fiber switch module is defined as a standby optical fiber switch module;

the main control module is used for monitoring the state of each module, managing and controlling backup of each module and configuring resources of each module, and the universal module is used for providing universal and special computing services according to task requirements;

under the normal working state of the integrated avionics system, the master control module monitors the states of the universal modules 1 to N, the optical fiber switch module 1 and the optical fiber switch module 2 in real time; the standby main control module is used for monitoring the states of the main control module, the general modules 1 to N, the optical fiber switch module 1 and the optical fiber switch module 2 in real time;

the main control module sends messages to the universal module and the standby universal module simultaneously in the working process, when receiving the messages, the main control module only receives the messages of the universal module, and the standby universal module in the backup state only receives the messages from the main control module and other universal modules; the standby main control module only receives the message of the universal module, and the universal module sends the message to other universal modules and the main control module;

the following roles are defined in the integrated avionics system: MC represents the main control main role of the system, MCB represents the main control standby role of the system, DPT represents the general module main role of the system, DPT _ B represents the general module standby role of the system, FCS represents the optical fiber switch main role of the system, and FCS _ B represents the optical fiber switch standby role of the system; therefore, in each module in the integrated avionics system, the role of the main control module is MC, the role of the standby main control module is MCB, the roles of the universal modules 1 to universal modules N are DPT, the roles of the standby universal modules 1 to standby universal modules N are DPT _ B, the role of the fiber switch module is FCS, and the role of the standby fiber switch module is FCS _ B;

aiming at the comprehensive avionics system architecture, the method provides three backup modes:

A. a main control module backup mode;

B. a universal module backup mode;

C. a fiber switch backup mode;

the working process of the backup mode of the main control module is as follows:

step A1: after the system is normally started, the main control module sends a periodic self-checking message to the standby main control module;

step A2: the standby main control module receives the periodic self-checking message of the main control module, if the periodic self-checking message is successfully obtained, the periodic self-checking message is continuously received, otherwise, whether the periodic self-checking message is not received for more than X times is judged, if the periodic self-checking message is not received for more than X times, the periodic self-checking message is continuously received, otherwise, the operation is transferred to the step A3;

step A3: the standby main control module sets the state of the main control module to be an offline state and starts a backup strategy;

step A4: the standby main control module sets the role of the standby main control module as MC and opens a data sending channel; at the moment, the role is set as the standby main control module of the MC, and the standby main control module is redefined as the main control module;

step A5: the current main control module sends a message to other general modules, and the message content is the physical address and the role of the current main control module;

step A6: and the universal module sets the receiving and sending channels as the current main control module according to the received physical address and role information of the current main control module.

In the working process of the master control module backup mode, when a master control module in an offline state is restarted or is online again in other modes, whether the master control module with the MC role exists in the current system or not is detected, if the master control module with the MC role exists, the role of the master control module is set to be MCB, namely the master control module is changed to be a standby master control module, and then the states of the master control module, the universal modules 1 to N, the optical fiber switch module 1 and the optical fiber switch module 2 are monitored in real time.

The working process of the backup mode of the universal module comprises the following steps:

step B1: after the system is normally started, the universal module sends periodic self-checking information to the main control module;

step B2: the main control module receives the periodic self-checking message of the universal module m, if the message is successfully obtained, the periodic self-checking message is continuously received, otherwise, whether the message is not received for more than X times is judged, if the message is not received for more than X times, the periodic self-checking message is continuously received, otherwise, the operation goes to the step B3;

step B3: the master control module sets the state of the universal module m to be an offline state and starts a backup strategy;

step B4: the master control module sends a message to the standby universal module m to inform the standby universal module m of starting backup activation;

step B5: the standby universal module m receives the starting activation message, sets the role of the standby universal module m into DPT, opens a sending channel and informs the main control module of finishing starting; at this time, the role is set as a standby universal module m of the DPT, and the standby universal module m is redefined as the universal module m;

step B6: the main control module sends messages to other universal modules, and the content is the physical address and the role of the universal module m; when other universal modules need to communicate with the universal module m, only the universal module m with the current role of DPT of the system sends and receives messages;

step B7: and the standby universal module m completes the backup switching work and sends periodic self-checking information to the main control module.

Wherein the value of m is less than or equal to N.

In the general module backup mode work flow, when the general module m in the off-line state is restarted or is on-line again in other modes, whether the general module m with the DPT role exists in the current system or not is detected, if the general module m with the DPT role exists in the current system, the role of the general module m is set to be DPT _ B, namely the general module m is changed to be set to be the standby general module m, and the on-line message, the physical address and the role are notified to the main control module.

The backup mode working process of the optical fiber switch comprises the following steps:

when the system is started normally, the two optical fiber switch modules work simultaneously and receive forwarding data simultaneously; the main control module, the standby main control module, the universal modules 1 to N and the standby universal modules 1 to N receive and process the data of the optical fiber switch module 1 and receive the data of the optical fiber switch module 2 by default; that is, the role of the optical fiber switch module 1 defaults to FCS, and the role of the optical fiber switch module 2 defaults to FCS _ B;

when the data of the optical fiber switch module 1 is not received in 5 periods, a query message is sent to the optical fiber switch module 1, if the query returns successfully, the optical fiber switch module 1 works normally, then the main control module is informed that the data of other board cards have problems, and the main control module processes the problems of other modules; if the query fails, it indicates that the optical fiber switch module 1 is not working normally, the data of the optical fiber switch module 2 is automatically received and processed, and the master control module sets the role of the optical fiber switch module 2 as FCS.

The backup mode working process of the optical fiber switch comprises the following steps:

step C1: after the system is normally started, the two optical fiber switch modules work simultaneously, and the main control module and the universal module send and receive data through the optical fiber switch module 1 and the optical fiber switch module 2; the main control module and the universal module only process data sent by the optical fiber switch module 1 by default;

step C2: the main control module periodically inquires the data transmission condition of the optical fiber switch module 1, if the data transmission exists, the data transmission condition is continuously and periodically inquired, otherwise, whether the data transmission does not exist for more than Y times is judged, if the data transmission does not exceed Y times, the data transmission condition is continuously and periodically inquired, otherwise, the operation goes to the step C3;

step C3: the main control module sends query information to the optical fiber switch module 1, if the query success message is received, the optical fiber switch module 1 is judged to be normal, the problems of other universal modules are checked, otherwise, the problem of the optical fiber switch module 1 is judged to be generated, the main control module sets the state of the optical fiber switch module 1 to be an offline state, and an optical fiber switch backup strategy is started;

step C4: the main control module sends messages to the standby main control module, the universal module and the standby universal module, informs the standby main control module, switches to a channel of the optical fiber switch module 2, and receives and sends the messages through the optical fiber switch module 2;

step C5: the main control module sets the role of the optical fiber switch module 2 as FCS, and the optical fiber switch module 2 completes backup switching work.

When the optical fiber switch module 1 in the offline state is restarted or brought online again in other manners, the main control module detects whether the optical fiber switch module with the FCS role exists in the current system when receiving an online message of the optical fiber switch module 1, and if so, sets the role of the optical fiber switch module 1 to be FCS _ B.

Wherein, the systems are all integrated avionics systems.

Wherein, the X times are three times, and the Y times are five times.

(III) advantageous effects

Compared with the prior art, the comprehensive avionics system backup method based on the optical fiber network utilizes the dual-redundancy hot backup mode under the comprehensive modularized avionics system architecture taking optical fibers as a communication network, provides three backup modes of the main control module backup, the universal module backup, the optical fiber switch backup and the like, solves the problem of fault recovery of the system module and the optical fiber switch, can quickly and reliably recover the functions of the system module, reduces the influence on the system function, and improves the backup recovery efficiency of the comprehensive avionics system.

Drawings

FIG. 1 is a diagram of an integrated avionics system architecture of the present invention.

Fig. 2 is a backup flow chart of the main control module according to the present invention.

FIG. 3 is a flowchart of a universal module backup process according to the present invention.

Fig. 4 is a backup flow chart of the fabric switch according to the present invention.

Detailed Description

In order to make the objects, contents, and advantages of the present invention clearer, the following detailed description of the embodiments of the present invention will be made in conjunction with the accompanying drawings and examples.

In order to solve the technical problems, the invention provides a backup method of an integrated avionics system based on an optical fiber network, wherein the architecture of the integrated avionics system is shown in the attached drawing 1, the integrated avionics system adopts an open architecture, data transmission adopts the optical fiber network, each module deployed in the system independently provides computing resources and data input and output services, and application software with different functions is deployed; the modules in the integrated avionics system comprise: the system comprises a main control module, a universal module and an optical fiber switch module, wherein a standby module is configured for each module; each main control module, the general module and the standby module thereof are respectively connected to two optical fiber switch modules, namely an optical fiber switch module 1 and an optical fiber switch module 2; therefore, the standby module of the main control module is defined as a standby main control module (namely, a main control module (standby)); defining a standby module of the universal modules as a standby universal module (i.e., universal module (standby)); in the optical fiber switch module 1 and the optical fiber switch module 2, one of the optical fiber switch modules is a standby module of the other optical fiber switch module, and the standby module of the optical fiber switch module is defined as a standby optical fiber switch module;

the main control module is used for monitoring the state of each module, managing and controlling backup of each module and configuring resources of each module, and the universal module is used for providing universal and special computing services according to task requirements;

under the normal working state of the integrated avionics system, the master control module monitors the states of the universal modules 1 to N, the optical fiber switch module 1 and the optical fiber switch module 2 in real time; the standby main control module is used for monitoring the states of the main control module, the general modules 1 to N, the optical fiber switch module 1 and the optical fiber switch module 2 in real time;

the main control module sends messages to the universal module and the standby universal module simultaneously in the working process, when receiving the messages, the main control module only receives the messages of the universal module, and the standby universal module in the backup state only receives the messages from the main control module and other universal modules; the standby main control module only receives the message of the universal module, and the universal module sends the message to other universal modules and the main control module;

the following roles are defined in the integrated avionics system: MC represents the main control main role of the system, MCB represents the main control standby role of the system, DPT represents the general module main role of the system, DPT _ B represents the general module standby role of the system, FCS represents the optical fiber switch main role of the system, and FCS _ B represents the optical fiber switch standby role of the system; in fig. 1, therefore, among the various modules in the integrated avionics system, the role of the master control module is MC, the role of the standby master control module is MCB, the roles of the universal modules 1 to universal modules N are DPT, the roles of the standby universal modules 1 to standby universal modules N are DPT _ B, the role of the fabric switch module is FCS, and the role of the standby fabric switch module is FCS _ B;

aiming at the comprehensive avionics system architecture, the method provides three backup modes:

A. a main control module backup mode;

B. a universal module backup mode;

C. a fiber switch backup mode;

the working process of the backup mode of the main control module is as follows:

step A1: after the system is normally started, the main control module sends a periodic self-checking message to the standby main control module;

step A2: the standby main control module receives the periodic self-checking message of the main control module, if the periodic self-checking message is successfully obtained, the periodic self-checking message is continuously received, otherwise, whether the periodic self-checking message is not received for more than X times is judged, if the periodic self-checking message is not received for more than X times, the periodic self-checking message is continuously received, otherwise, the operation is transferred to the step A3;

step A3: the standby main control module sets the state of the main control module to be an offline state and starts a backup strategy;

step A4: the standby main control module sets the role of the standby main control module as MC and opens a data sending channel; at the moment, the role is set as the standby main control module of the MC, and the standby main control module is redefined as the main control module;

step A5: the current main control module sends a message to other general modules, and the message content is the physical address and the role of the current main control module;

step A6: and the universal module sets the receiving and sending channels as the current main control module according to the received physical address and role information of the current main control module.

In the working process of the master control module backup mode, when a master control module in an offline state is restarted or is online again in other modes, whether the master control module with the MC role exists in the current system or not is detected, if the master control module with the MC role exists, the role of the master control module is set to be MCB, namely the master control module is changed to be a standby master control module, and then the states of the master control module, the universal modules 1 to N, the optical fiber switch module 1 and the optical fiber switch module 2 are monitored in real time.

The working process of the backup mode of the universal module comprises the following steps:

step B1: after the system is normally started, the universal module sends periodic self-checking information to the main control module;

step B2: the main control module receives the periodic self-checking message of the universal module m, if the message is successfully obtained, the periodic self-checking message is continuously received, otherwise, whether the message is not received for more than X times is judged, if the message is not received for more than X times, the periodic self-checking message is continuously received, otherwise, the operation goes to the step B3;

step B3: the master control module sets the state of the universal module m to be an offline state and starts a backup strategy;

step B4: the master control module sends a message to the standby universal module m to inform the standby universal module m of starting backup activation;

step B5: the standby universal module m receives the starting activation message, sets the role of the standby universal module m into DPT, opens a sending channel and informs the main control module of finishing starting; at this time, the role is set as a standby universal module m of the DPT, and the standby universal module m is redefined as the universal module m;

step B6: the main control module sends messages to other universal modules, and the content is the physical address and the role of the universal module m; when other universal modules need to communicate with the universal module m, only the universal module m with the current role of DPT of the system sends and receives messages;

step B7: and the standby universal module m completes the backup switching work and sends periodic self-checking information to the main control module.

Wherein the value of m is less than or equal to N.

In the general module backup mode work flow, when the general module m in the off-line state is restarted or is on-line again in other modes, whether the general module m with the DPT role exists in the current system or not is detected, if the general module m with the DPT role exists in the current system, the role of the general module m is set to be DPT _ B, namely the general module m is changed to be set to be the standby general module m, and the on-line message, the physical address and the role are notified to the main control module.

The backup mode working process of the optical fiber switch comprises the following steps:

when the system is started normally, the two optical fiber switch modules work simultaneously and receive forwarding data simultaneously; the main control module, the standby main control module, the universal modules 1 to N and the standby universal modules 1 to N receive and process the data of the optical fiber switch module 1 and receive the data of the optical fiber switch module 2 by default; that is, the role of the optical fiber switch module 1 defaults to FCS, and the role of the optical fiber switch module 2 defaults to FCS _ B;

when the data of the optical fiber switch module 1 is not received in 5 periods, a query message is sent to the optical fiber switch module 1, if the query returns successfully, the optical fiber switch module 1 works normally, then the main control module is informed that the data of other board cards have problems, and the main control module processes the problems of other modules; if the query fails, it indicates that the optical fiber switch module 1 is not working normally, the data of the optical fiber switch module 2 is automatically received and processed, and the master control module sets the role of the optical fiber switch module 2 as FCS.

The backup mode working process of the optical fiber switch comprises the following steps:

step C1: after the system is normally started, the two optical fiber switch modules work simultaneously, and the main control module and the universal module send and receive data through the optical fiber switch module 1 and the optical fiber switch module 2; the main control module and the universal module only process data sent by the optical fiber switch module 1 by default;

step C2: the main control module periodically inquires the data transmission condition of the optical fiber switch module 1, if the data transmission exists, the data transmission condition is continuously and periodically inquired, otherwise, whether the data transmission does not exist for more than Y times is judged, if the data transmission does not exceed Y times, the data transmission condition is continuously and periodically inquired, otherwise, the operation goes to the step C3;

step C3: the main control module sends query information to the optical fiber switch module 1, if the query success message is received, the optical fiber switch module 1 is judged to be normal, the problems of other universal modules are checked, otherwise, the problem of the optical fiber switch module 1 is judged to be generated, the main control module sets the state of the optical fiber switch module 1 to be an offline state, and an optical fiber switch backup strategy is started;

step C4: the main control module sends messages to the standby main control module, the universal module and the standby universal module, informs the standby main control module, switches to a channel of the optical fiber switch module 2, and receives and sends the messages through the optical fiber switch module 2;

step C5: the main control module sets the role of the optical fiber switch module 2 as FCS, and the optical fiber switch module 2 completes backup switching work.

When the optical fiber switch module 1 in the offline state is restarted or brought online again in other manners, the main control module detects whether the optical fiber switch module with the FCS role exists in the current system when receiving an online message of the optical fiber switch module 1, and if so, sets the role of the optical fiber switch module 1 to be FCS _ B.

Wherein, the systems are all integrated avionics systems.

Wherein, the X times are three times, and the Y times are five times.

Example 1

The architecture of the integrated avionics system described in this embodiment is shown in fig. 1, where the integrated avionics system adopts an open architecture, data transmission adopts an optical fiber network, each module deployed in the system independently provides computing resources and data input/output services, and deploys application software with different functions. The modules in the system are divided into a main control module and a universal module, each module is provided with a standby module, and each module is respectively connected to two optical fiber switches. The main control module is mainly used for monitoring the state of each module, managing and controlling backup of each module and configuring resources of each module, and the general module mainly provides general and special computing services according to task requirements.

And under the normal working state of the system, the master control module monitors the states of the universal modules 1 to N and the optical fiber switches 1 and 2 in real time. The master control module (standby) monitors the states of the master control module, the universal modules 1 to N and the optical fiber switches 1 and 2 in real time.

The main control module sends messages to the general module and the general module (standby) simultaneously in the working process, when receiving the messages, the main control module only receives the messages of the general module, and the general module in the backup state only receives the messages from the main control module and other general modules. The master control module (standby) only receives the message of the universal module, and the universal module sends the message to other universal modules and the master control module.

The method comprises the following steps that the following roles are defined in the integrated avionics system, MC represents the main control role of the system, MCB represents the main control backup role of the system, DPT represents the main role of a universal module of the system, DPT _ B represents the backup role of the universal module of the system, FCS represents the main role of a fiber switch of the system, and FCS _ B represents the backup role of the fiber switch of the system. In fig. 1, the role of the master control module is MC, the role of the master control module (backup) is MCB, the roles of the universal modules 1 to N are DPT, the roles of the universal modules (backup) 1 to N are DPT _ B, the role of the fabric switch is FCS, and the role of the fabric switch (backup) is FCS _ B.

For the described integrated avionics system architecture, the invention proposes three backup modes:

1. master control module backup mode

2. Universal module backup mode

3. Fiber switch backup mode

The main control module backup mode work flow is as follows.

1) After the system is normally started, the main control module sends a periodic self-checking message to the main control module (standby).

2) And (3) the main control module (standby) receives the periodic self-checking message of the main control module, if the periodic self-checking message is successfully obtained, the periodic self-checking message is continuously received, otherwise, whether the periodic self-checking message is not received for more than three times is judged, if the periodic self-checking message is not received for more than three times, the periodic self-checking message is continuously received, and otherwise, the step is switched to the step 3).

3) The master control module (standby) sets the state of the master control module to be an off-line state, and starts a backup strategy.

4) The master control module (standby) sets the role of the master control module as MC and opens a data transmission channel.

5) The main control module (standby) sends messages to other general modules, and the message content is the physical address and the role of the main control module (standby).

6) And the universal module sets the receiving and sending channels as the current main control module according to the received physical address and role information of the current main control module.

When the main control module in the offline state is restarted or is online again in other modes, whether the main control module with the MC role exists in the current system or not is detected, if the main control module with the MC role exists, the role of the main control module is set to be MCB, and the states of the main control module, the general modules 1 to N and the optical fiber switches 1 and 2 are monitored in real time.

The general module backup mode workflow is as follows.

1) And after the system is normally started, the universal module sends periodic self-checking information to the main control module.

2) And (3) the main control module receives the periodic self-checking message of the universal module m, if the message is successfully acquired, the periodic self-checking message is continuously received, otherwise, whether the message is not received for more than three times is judged, if the message is not received for more than three times, the periodic self-checking message is continuously received, and otherwise, the operation goes to the step 3).

3) The master control module sets the state of the universal module m to be an off-line state and starts a backup strategy.

4) The master control module sends a message to the universal module m (standby) to inform the universal module m (standby) to start backup activation.

5) And the universal module m (standby) receives the starting activation message, sets the role of the universal module m into DPT, opens a sending channel and informs the main control module of finishing starting.

6) The main control module sends messages to other universal modules, and the content is the physical address and the role of the universal module m. And when other universal modules need to communicate with the universal module m, only sending and receiving messages with the current universal module m of the system.

7) The universal module m (standby) completes the backup switching work and sends periodic self-checking information to the main control module.

When the general module m in the offline state is restarted or is online again in other modes, whether the main control module with the DPT role exists in the current system or not is detected, if the main control module with the DPT role exists, the role of the general module m is set to be DPT _ B, and the main control module is informed of an online message, a physical address and the role.

Fiber switch backup mode:

when the system is started normally, the two optical fiber switches work simultaneously and receive and forward data at the same time. The method comprises the steps that data of an optical fiber switch 1 and data of an optical fiber switch 2 are received and processed in a default mode in a main control module, a main control module (standby), a universal module 1 to a universal module N and a universal module 1 (standby) to a universal module N (standby), when the data of the optical fiber switch 1 are not received in 5 periods, query information is sent to the optical fiber switch, if query returns successfully, the optical fiber switch 1 works normally, then the main control module is informed that the data of other board cards have problems, and the main control module processes the problems of other modules; if the query fails, which indicates that the optical fiber switch 1 is not working normally, the data of the optical fiber switch 2 is automatically received and processed, and the master control module sets the role of the optical fiber switch 2 as FCS.

1) After the system is normally started, the two optical fiber switches work simultaneously, the main control module and the universal module send and receive data through the optical fiber switch 1 and the optical fiber switch 2, and the main control module and the universal module only process the data sent by the optical fiber switch 1 in a default mode.

2) The main control module periodically inquires the data transmission condition of the optical fiber switch 1, if the data transmission exists, the data transmission condition is continuously and periodically inquired, otherwise, whether the data transmission does not exist for more than five times is judged, if the data transmission does not exceed five times, the data transmission condition is continuously and periodically inquired, and if not, the operation goes to the step 3).

3) The main control module sends query information to the optical fiber switch 1, if the query success message is received, the optical fiber switch 1 is judged to be normal, the problems of other universal modules are checked, otherwise, the optical fiber switch 1 has the problems, the main control module sets the state of the optical fiber switch 1 to be an offline state, and an optical fiber switch backup strategy is started.

4) The main control module sends messages to the main control module (standby), the general module and the general module (standby), informs the main control module (standby), switches to the channel of the optical fiber switch 2, and receives and sends messages through the optical fiber switch 2.

5) The main control module sets the role of the optical fiber switch 2 as FCS, and the optical fiber switch 2 completes backup switching work.

When the optical fiber switch 1 in the offline state is restarted or brought online again in other manners, the main control module detects whether an optical fiber switch with an FCS role exists in the current system when receiving an online message of the optical fiber switch 1, and if so, sets the role of the optical fiber switch 1 as FCS _ B.

Example 2

The embodiment provides a backup method of an integrated avionics system based on an optical fiber network, which is based on an integrated avionics system architecture taking the optical fiber network as communication, wherein the architecture comprises a main control module and a universal module, each module is configured with a standby module, and each module is respectively connected to two optical fiber switches.

The main control module is mainly used for monitoring the state of each module, managing and controlling backup of each module and configuring resources of each module, and the universal module is mainly used for providing universal and special computing services according to task requirements.

The invention provides three backup modes: the master control module backup mode, the universal module backup mode and the optical fiber switch backup mode are respectively used for backup recovery of the master control module, the universal module and the optical fiber switch.

The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种光纤连接器出厂前检验质检设备

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!