CN109495292B - Dual-redundancy hot standby device - Google Patents
Dual-redundancy hot standby device Download PDFInfo
- Publication number
- CN109495292B CN109495292B CN201811182614.0A CN201811182614A CN109495292B CN 109495292 B CN109495292 B CN 109495292B CN 201811182614 A CN201811182614 A CN 201811182614A CN 109495292 B CN109495292 B CN 109495292B
- Authority
- CN
- China
- Prior art keywords
- module
- network controller
- controller module
- network
- computer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Hardware Redundancy (AREA)
Abstract
The invention discloses a dual-redundancy hot standby device, which comprises: the system comprises an upper computer main standby state setting module and a lower computer main standby state setting module, wherein the upper computer main standby state setting module and the lower computer main standby state setting module respectively comprise a network controller module, a channel signal acquisition module and a channel calculation logic module, and the channel calculation logic module is respectively connected with the network controller module and the channel signal acquisition module; the data broadcasting module is respectively connected with the network controller module; and the channel selection module is respectively connected with the channel calculation logic module and the data broadcasting module. The method solves the problem of data hot backup of network nodes of the combat system suitable for the upper-lower computer framework, fully considers the system framework and high reliability requirements of the combat system, can perform dynamic configuration adjustment according to the actual network deployment environment of the combat system, and has good flexibility and expansibility.
Description
Technical Field
The invention relates to the technical field of computer networks and electronic information, in particular to a dual-redundancy hot standby device.
Background
The adoption of an upper-lower computer architecture is an important measure for improving the system performance of the network nodes of the current battle system and increasing the overall computing performance of a single node. In the architecture, an upper computer generally only deploys human-computer interaction software to provide smooth software running experience for users, a lower computer is connected with an external combat network, is assigned with a unique fixed IP address and is responsible for transactional work such as data collection, calculation, analysis and result generation, the data processing amount is large, the frequency is high, the real-time requirement is high, and the upper computer and the lower computer are connected by a network data exchange module to form an internal network of a node. The operation instruction input by the user is simply processed by the upper computer and then transmitted to the lower computer by the internal network for service processing, and meanwhile, the lower computer analyzes and processes the received external combat network data and then sends the data to the upper computer for displaying. The lower computer plays a role of an information transmission pipeline between the external combat network and the node internal network, belongs to a key node, and the reliability of the lower computer directly influences the overall availability of the network node, so that the improvement of the reliability of the lower computer is beneficial to enhancing the availability of the combat system.
The main and standby system can degrade the operation when a single point of failure occurs in a single computer system through redundant components and special software, and the reliability of the system can be greatly improved. At present, there are many technical schemes for constructing a main backup system, and the most widely used system is a dual-computer hot backup system. The invention discloses a 'double-computer backup redundancy control device' applied by the seventh research institute of the ninth research institute of China aerospace science and technology group company, which adopts two identical computers, respectively installs redundancy control devices, and is connected through a lead, a single computer determines a host through a main/standby right-robbing mechanism, the host outputs an external public signal, an externally input remote control command is received by the two computers at the same time, the main/standby positions of the single computer are unconditionally switched, the reliability of a single common computer node can be effectively improved, and the invention is suitable for double-computer hot-standby of non-network nodes. The invention discloses a dual-computer hot standby method and a dual-computer hot standby system, which are applied by the institute of computing technology of Chinese academy of sciences, and the invention adopts a method of matching an aging output cache with a concentrator, so that a standby machine can detect the failure of a main machine in real time under the condition of abnormal work of the main machine, complete the main-standby switching process and take over the continuous work of the main machine, and is suitable for a dual-computer hot standby solution scheme which has low real-time requirement and does not have the working requirement on a network address of a data sending end. The invention relates to a method for detecting the validity of an IP address of an upper network node, which is characterized in that a lower computer of a network node of a combat system is directly connected with a combat network and is distributed with a unique network IP address, the working state of the lower computer is driven by the operational network and the input of an operation instruction of a user of an upper computer, and the two inventions are not suitable for the redundancy design of the lower computer of the network node of the combat system of an upper-lower computer framework when the combat system adopts a network safety management measure based on a network IP address white list and needs to detect the validity of the IP address of the upper network node in real time.
In addition, the network node of the combat system is used as a carrier for deploying combat application software, the role of an upper computer playing a role of a user operation instruction receiver is determined, the bridge function of communication between a user and a lower computer is played, and the important position of the upper computer is gradually displayed along with the continuous increase of the functions of the combat application software, so that the reliability of the upper computer also restricts the overall usability of a single network node. Therefore, it is desirable to provide a data hot backup technique for network nodes of a combat system suitable for both upper and lower rack architectures as a whole.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a dual-redundancy hot standby device, which solves the problem of data hot standby of network nodes of a combat system suitable for an upper-lower computer framework, fully considers the system framework and high reliability requirements of the combat system, can perform dynamic configuration adjustment according to the actual network deployment environment of the combat system, and has good flexibility and expansibility.
The purpose of the invention is realized by adopting the following technical scheme:
a dual redundant hot standby apparatus, comprising:
the lower computer host backup state setting module comprises a first network controller module, a second network controller module, a first channel signal acquisition module and a first channel calculation logic module, wherein the first channel calculation logic module is respectively connected with the first network controller module, the second network controller module and the first channel signal acquisition module.
The host computer is provided with a state setting module, the state setting module comprises a third network controller module, a fourth network controller module, a second channel signal acquisition module and a second channel calculation logic module, and the second channel calculation logic module is respectively connected with the third network controller module, the fourth network controller module and the second channel signal acquisition module.
The first data broadcasting module is respectively connected with the third network controller module and the fourth network controller module;
and the channel selection module is respectively connected with the first channel calculation logic module and the first data broadcasting module.
Further, the device further comprises a fifth network controller module, and the fifth network controller module is respectively connected with the channel selection module and the external network.
Further, the device further comprises a message conversion module, and the device further comprises a second data broadcasting module, wherein the second data broadcasting module is respectively connected with the first network controller module, the second network controller module and the second channel calculation logic module.
Further, the device further comprises a second data broadcasting module, and the second data broadcasting module is respectively connected with the first network controller module, the second network controller module and the second channel calculation logic module.
Further, the apparatus further comprises a third data broadcasting module, and the third data broadcasting module is connected with the first network controller module, the second network controller module and the fifth network controller module respectively.
Furthermore, the device further comprises a terminal management module, and the terminal management module is connected with the message conversion module.
Furthermore, the device further comprises a terminal management module, and the terminal management module is connected with the message conversion module.
Further, the lower computer master standby state setting module further comprises a first working state analysis module, and the first working state analysis module is respectively connected with the first network controller module and the second network controller module; the host computer standby state setting further comprises a second working state analysis module, and the second working state analysis module is respectively connected with the third network controller module and the fourth network controller module.
Further, the lower computer master standby state setting module further comprises a first working state indicator light, and the first working state indicator light is connected with the first working state analysis module; the host computer standby state setting module further comprises a second working state indicator light, and the second working state indicator light is connected with the second working state analysis module.
Further, the dual-redundancy hot standby device further comprises an upper computer and a lower computer, and the upper computer is connected with the upper computer main standby state setting module; and the lower computer is connected with the lower computer master standby state setting module.
Further, the upper computer comprises a first upper computer and a second upper computer, and the first upper computer is connected with the third network controller module; the second upper computer is connected with the fourth network controller module; the lower computer comprises a first lower computer and a second lower computer, the first lower computer is connected with the first network controller module, and the second lower computer is connected with the second network controller module.
Compared with the prior art, the invention has the beneficial effects that: the method not only solves the problem of data hot backup of network nodes of the combat system suitable for the upper-lower computer framework, fully considers the system framework and high reliability requirements of the combat system, but also can perform dynamic configuration adjustment according to the actual network deployment environment of the combat system, and has good flexibility and expansibility. The invention has important popularization and application value in the fields with higher requirements on reliability and real-time performance, such as a QoS guarantee system, an intrusion detection system, an industrial control system and the like, which adopt the network application of an upper-lower computer framework.
Drawings
Fig. 1 is a block diagram of a dual redundant hot standby apparatus according to a first embodiment of the present invention;
FIG. 2 is a standard IPv4 protocol data header format defined by the tunnel selection module in accordance with a first embodiment of the present invention;
FIG. 3 is a flow chart of the lower computer on-duty host and output decision in the first embodiment of the present invention; wherein, fig. 3a shows a first lower computer on-duty host and an output decision flow chart; FIG. 3b shows a second lower computer on-duty host and output decision flow chart;
FIG. 4 is a flowchart illustrating a host computer and an output decision-making process of the upper computer during the work according to the first embodiment of the present invention; wherein, fig. 4a shows a first upper computer on-duty host and an output decision flow chart; FIG. 4b shows a second host computer on duty and an output decision flow chart;
fig. 5 is a flowchart of information processing for receiving extranet data according to the first embodiment of the present invention.
In the figure: 1. a first data broadcasting module; 2. a channel selection module; 3. a fifth network controller module; 4. a message conversion module; 5. a second data broadcasting module; 6. a third data broadcasting module; 7. a terminal management module; 11. a first network controller module; 12. a second network controller module; 13. a first channel signal acquisition module; 14. a first channel computation logic module; 15. a first working state analysis module; 16. a first operating condition indicating lamp; 21. a third network controller module; 22. a fourth network controller module; 23. a second channel signal acquisition module; 24. a second channel calculation logic module; 25. a second working state analysis module; 26. and a second operating condition indicating lamp.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
Fig. 1 is a block diagram of a dual redundant hot standby apparatus according to a first embodiment of the present invention. The dual redundant hot standby apparatus of this embodiment includes: the system comprises an upper computer main standby state setting module, a lower computer main standby state setting module, a first data broadcasting module 1, a channel selection module 2, a fifth network controller module 3, a message conversion module 4, a second data broadcasting module 5, a third data broadcasting module 6 and a terminal management module 7.
The lower computer master-slave state setting module comprises a first network controller module 11, a second network controller module 12, a first channel signal acquisition module 13, a first channel calculation logic module 14, a first working state analysis module 15 and a first working state indicator lamp 16, wherein the first channel calculation logic module 14 is respectively connected with the first network controller module 11, the second network controller module 12 and the first channel signal acquisition module 13; the first working state analysis module 15 is respectively connected with the first network controller module 11 and the second network controller module 12; the first operating state indicator light 16 is connected to the first operating state analysis module 15.
In the embodiment of the invention, the lower computer master-slave state setting module is used for determining the current on-duty master and the current on-duty spare in the two lower computers. The first network controller module 11 and the second network controller module 12 are configured to perform network communication with two lower computers, and meanwhile, the first network controller module 11 and the second network controller module 12 also output their real-time working states to the first channel calculation logic module 14; the first channel signal acquisition module 13 is controlled by a toggle binary switch, and when the switch is ON, a high level is output to indicate that the first lower computer is in a working state and the second lower computer is in a standby working state; when the switch is OFF, outputting a low level to indicate that the first lower computer is in a standby working state and the second lower computer is in a working state; the first channel signal acquisition module 13 outputs an electrical signal to an input terminal of the first channel calculation logic module 14. The first channel calculation logic block 14, which employs combinational logic circuits, has inputs that include both data inputs and control inputs. Data input is from the network data output by the first network controller module 11 and the second network controller module 12; the control inputs of the toggle switch value electric signal output by the first channel signal acquisition module 13 and the real-time working states of the first network controller module 11 and the second network controller module 12; the result of the control input determines whether the data input is conducted or not.
The upper computer main standby state setting module comprises a third network controller module 21, a fourth network controller module 22, a second channel signal acquisition module 23, a second channel calculation logic module 24, a second working state analysis module 25 and a second working state indicator lamp 26, wherein the second channel calculation logic module 24 is respectively connected with the third network controller module 21, the fourth network controller module 22 and the second channel signal acquisition module 23; the second working state analysis module 25 is respectively connected with the third network controller module 21 and the fourth network controller module 22; the second operating state indicator lamp 26 is connected to the second operating state analysis module 25.
In the embodiment of the invention, the host-standby state setting state of the upper computer is used for determining the current on-duty host and the current on-duty standby machine in the two upper computers. The third network controller module 21 and the fourth network controller module 22 are used for performing network communication with two upper computers, and meanwhile, the third network controller module 21 and the fourth network controller module 22 also output the real-time working states thereof to the second channel calculation logic module 24; the second channel signal acquisition module 23 is controlled by a toggle binary switch, and when the switch is ON, a high level is output to indicate that the first upper computer is in a working state and the second upper computer is in a standby working state; when the switch is OFF, outputting a low level to indicate that the first upper computer is in a standby working state and the second upper computer is in a working state; the second channel signal acquisition module 23 outputs an electrical signal to an input terminal of the second channel calculation logic module 24. The second channel calculation logic block 24, which employs combinational logic circuits, has inputs that include both data inputs and control inputs. Data input is from the network data output by the third network controller module 21 and the fourth network controller module 22; the control input comes from the toggle switch value electric signal output by the second channel signal acquisition module 23 and the real-time working state of the third network controller module 21 and the fourth network controller module 22; the result of the control input determines whether the data input is conducted or not.
In the embodiment of the present invention, the first channel signal collecting module 13 and the second channel signal collecting module 23 are two components with the same function, and receive the on-duty host selected by the user. The first channel signal acquisition module 13 serves as an acquirer for the lower computer master/standby switching signal 1, and the second channel signal acquisition module 23 serves as an acquirer for the upper computer master/standby switching signal 2. Each channel signal acquisition module is triggered by adopting a level, a high level signal represents that the data of the network controller module of the first lower computer or the first upper computer is output preferentially, and the data of the network controller module of the second lower computer or the second upper computer is output for standby; the opposite is true for low level signals.
In the embodiment of the present invention, the first channel calculation logic module 14 and the second channel calculation logic module 24 are two components with the same function; digital logic programmable chips are adopted to realize the function of short-circuiting the input end to the output end according to a computational logic model. The data input of the first channel calculation logic module 14 is a data stream x1 of the first network controller module 11 and a data stream x2 of the second network controller module 12, the control input is three paths of high and low level signals, which are respectively an energization state U1 of the first network controller module 11, a working state U2 of the second network controller module 12 and a main/standby signal value W1 of the first channel signal acquisition module 13, and the network controller data x1 or (mutual exclusion) x2 of the current lower computer on duty is output. When the lower computer works in the dual-computer hot standby mode, the first channel calculation logic module 14 realizes the function of determining the current on-duty lower computer according to the selection of the user. The computational logic model of the first channel computational logic module 14 is:
the truth table of the above calculation model is:
it can be seen from the results that when U1 and U2 are not all 0 or all 1, only one lower computer works, the lower computer is in the dual-computer cold standby working mode, the main/standby switching signal 1 is invalid, and the working lower computer serves as the on-duty host at this time; when the number of the U1 and the number of the U2 are all 1, that is, the dual lower computers work simultaneously, the dual hot standby mode is switched to, the main/standby switching signal 1 is valid, when the number of the W1 is equal to 0, the first lower computer is selected as the current host on duty, when the number of the W1 is equal to 1, the second lower computer is selected as the current host on duty, and in the two working modes, only the host on duty communicates with the external operation network and the upper computer. Therefore, the function that the lower computer determines the current on-duty host through the main/standby switching signal by the user in the dual-computer hot standby working mode is realized. The working principle of the second channel calculation logic module 24 is the same as that of the first channel calculation logic module 14, and the problem of determining the current on-duty host from two upper computers is mainly solved, and the calculation logic model is as follows:
the corresponding truth table is:
it can be seen from the results that when U3 and U4 are not all 0 or all 1, only one upper computer works, the upper computer is in a dual-computer cold standby working mode, the main/standby switching signal 2 is invalid, and at this time, the working upper computer serves as an on-duty host; when U1 and U2 are all 1, that is, two upper computers operate simultaneously, the mode is switched to the dual-computer hot standby mode, the main/standby switching signal 2 is active, when W2 is equal to 0, the first upper computer is selected as the current host on duty, and when W2 is equal to 1, the second upper computer is selected as the current host on duty. In the two working modes, only the on-duty host communicates with the lower computer, so that the function that the user determines the current on-duty host in the dual-computer hot standby working mode of the upper computer is realized.
In the embodiment of the present invention, the first operating state analyzing module 15 and the second operating state analyzing module 25 are two components with the same function, and are used for displaying and judging whether the dual-computer system operates in the cold standby mode or the hot standby mode. By adopting a combinational logic circuit, the first working state analysis module 15 inputs working state signals of the first network controller module 11 and the second network controller module 12, and judges whether the lower computer system is in a single-computer cold-standby or double-computer hot-standby working mode according to a calculation logic rule, wherein the working state signals correspond to a state combination value respectively and are used for controlling the first working state indicator light 16. Similarly, the second working state analyzing module 25 inputs the working state signals of the third network controller module 21 and the fourth network controller module 22, and determines whether the upper computer system is in the single-computer cold-standby or dual-computer hot-standby working mode according to the calculation logic rule, and the working state signals correspond to a state combination value respectively for controlling the second working state indicator lamp 26.
Specifically, the first operating state analyzing module 15 adopts a combinational logic circuit, inputs the operating states of the first network controller module 11 and the second network controller module 12, and outputs a two-bit binary number P1P2, where P1P2 is 10, which indicates a two-machine cold standby operating mode at the current lower computer, and the lamp 1 of the first operating state indicator lamp 16 is on, and the lamp 2 is off; P1P2 ═ 01 indicates that the current lower computer is in the dual-computer hot standby operating mode, and the lamp number 1 and the lamp number 2 of the first operating state indicator lamp 16 are simultaneously on; when the P1P2 is equal to 0, it means that neither the first network controller module 11 nor the second network controller module 12 is powered on, that is, neither the first lower computer nor the second lower computer is powered on, and then neither the lamp 1 nor the lamp 2 of the first operating status indicator lamp 16 is turned on. Computational model of P1:computational model of P2: p1 ═ U1U 2.
The first working state analysis module 15 realizes the judgment and indication of the dual-computer cold and hot standby working modes of the lower computer; the logic calculation truth table is realized by the following steps:
U1 | U2 | P1 | P2 | description of the |
0 | 0 | 0 | 0 | The first lower computer and the second lower computer are not started |
0 | 1 | 1 | 0 | The dual computers are cold-standby, the first lower computer is shut down, the second lower computer is started |
1 | 0 | 1 | 0 | The two machines are cold standby, the first lower machine is started, and the second lower machine is shut down |
1 | 1 | 0 | 1 | The dual computers are hot standby, the first lower computer is started, the second lower computer is started |
The second operating state analyzing module 25 implements the judgment and indication of the dual-computer cold/hot standby operating mode of the upper computer, and the calculation logic thereof is similar to that of the first operating state analyzing module 15.
The channel selection module 2 is respectively connected with the first channel calculation logic module 14 and the first data broadcasting module 1, the first data broadcasting module 1 is respectively connected with the third network controller module 21 and the fourth network controller module 22; the second channel calculation logic module 24 is respectively connected with the first network controller module 11 and the second network controller module 12 through the second data broadcasting module 5; the channel selection module 2 is also connected with a message conversion module 4, and the message conversion module 4 is respectively connected with a terminal management module 7 and a fifth network controller module 3; the fifth network controller module 3 is respectively connected with the first network controller module 11 and the second network controller module 12 through the third data broadcasting module 6;
in the embodiment of the present invention, the fifth network controller module 3 is used to implement network communication with an external combat network. Specifically, in the embodiment of the present invention, the first network controller module 11, the second network controller module 12, the third network controller module 21, the fourth network controller module 22, and the fifth network controller module 3 are five components with the same function, and a standard ethernet network controller interface chip is adopted, an IEEE-802.3 physical layer and data link layer protocol is encapsulated, and a lower computer, an upper computer, and an external combat network data exchange device are connected, so as to implement interconnection and intercommunication and network data transceiving between the two upper computers, the two lower computers, and the external combat network. When the network controller modules transmit data, the network controller modules convert the network data into bit stream electronic and electric signals, and when the network controller modules receive combat network data, the network controller modules are responsible for converting analog data into digital binary streams which can be processed and identified by a computer. In addition, each network controller module also outputs the real-time working state of the network controller module. The working state of the network controller is represented by 0 or 1, 0 represents that the network controller module is not powered on or has a fault, and 1 represents that the network controller module works normally.
In the embodiment of the invention, the channel selection module 2 is used for selectively sending the network data from the lower computer to the upper computer or sending the network data to an external combat network. Specifically, the channel selection module 2 adopts a programmable controller to input network data sent from a lower computer, and determines that the data is forwarded to the fifth network controller module 3 by analyzing a message header of a network data packet, and the data is sent to an external combat network by the fifth network controller module 3; or the data is sent to an upper computer through the first data broadcasting module 1.
Specifically, the channel selection module 2 adopts a programmable controller chip and a standard ethernet input interface, the input data format is an IPv4 datagram based on the TCP/IP protocol, the header definition of the datagram is shown in fig. 2, and it is determined whether the destination of the network data to be forwarded is an upper computer or an external network by designing a channel calculation algorithm. The algorithm for determining the destination of the network message to be forwarded by the lower computer comprises the following steps:
theorem 1: let Ω denote any network data message sent by the lower computer, the length is L (bytes), Bi denotes the content starting from the ith byte of the message, i is greater than or equal to 0 and less than or equal to L, then the destination network IP address Addrdd and the sender network IP address Addrsd of the message satisfy the following equation:
Addrdd=B16-B20;
Addrsd=B12-B16;
s1, calculating Addrdd and Addrsd of each message in real time according to theorem 1
S2, limiting the subnet mask of the node internal network to be 255.255.255.0, enabling the first lower computer, the second lower computer, the first upper computer and the second upper computer to be in the same network segment, so that a message destination can be determined according to Addrdd and Addrsd, and the decision rule is as follows:
(1)mod16777216 is 0 and is a datagram to be sent to an external network, 16 decimal numbers of decimal 16777216, 4278190080 are 0x1000000, 0xFF000000 respectively;
(3) in other cases: is a datagram to be sent to the upper computer;
theorem 2: if the network IP address allocated to the node belonging to the device 1 by the combat system is Addrnode, Addrsd is Addrnode.
In the embodiment of the invention, a first data broadcasting module 1, a second data broadcasting module 5 and a third data broadcasting module 6 are three components with the same function, and adopt a double-channel high-speed digital signal repeater with a cache to copy two paths of the same data of received network input data and synchronously output the copied data to an upper computer or a lower computer network controller module, wherein the third data broadcasting module 6 is mainly responsible for synchronously forwarding the data from an external operation network to two lower computers, the first data broadcasting module 1 copies two paths of the network output data of the lower computers and distributes the copied data to the two upper computers, and the second data broadcasting module 5 copies two paths of the network output data of the upper computers and distributes the copied data to the two lower computers.
Specifically, the first data broadcasting module 1, the second data broadcasting module 5, and the third data broadcasting module 6 are three components with the same function, and each data broadcasting module mainly uses a one-to-two converter digital chip to copy and output two paths of the same data. The third data broadcasting module 6 inputs the external combat system network data received from the fifth network controller module 3, and copies two identical paths, wherein one path is transmitted to the first network controller module 11, and the other path is transmitted to the second network controller module 12, so that the network data from the combat system can be ensured, and the two lower computers can receive the network data synchronously and accurately in real time. The first data broadcasting module 1 inputs the network data output by the current on-duty lower computer forwarded by the first channel calculation logic module 14, and copies two identical paths, wherein one path is transmitted to the third network controller module 21, and the other path is transmitted to the fourth network controller module 22, so that the network data sent by the current on-duty lower computer can be received by the two upper computers in real time, synchronously and accurately. The work flow of the second data broadcasting module 5 is just opposite to that of the data broadcasting module 2, and mainly transmits the network data sent by the upper computer to the two lower computers synchronously.
In the embodiment of the invention, the message conversion module 4 adopts a programmable controller chip, the network data message omega and the node network IP Address Addrnode provided by the input channel selection module 2 are input, and the field 'Source IP Address' content is replaced by the network Address of the operation system distributed by the node according to the theorem 2 by analyzing the IPv4 data message header structure of the Ethernet TCP/IP protocol, so that the strategy ensures that the device can adapt to the operation system and adopt network safety management measures based on a network IP Address white list.
In the embodiment of the present invention, the terminal management module 7 uses a programmable controller, on one hand, provides a management interface to support a user to modify the network configuration information of the device 1, which mainly includes a network IP address and a subnet mask, and on the other hand, is responsible for managing a small-capacity erasable memory storing the configuration information.
In actual work, the dual-redundancy hot standby device determines the current working state of the two lower computers and the two upper computers and the main/standby switching signal under the participation of a user, determines the on-duty lower computer which receives external combat network data and transmits the on-duty lower computer to the upper computers, and transmits the user operation response calculation result received by the upper computers to the lower computers, wherein the complete on-duty host computers of the lower computers and the upper computers and the output decision algorithm are shown in fig. 3 and 4. After the device is powered on and reset, the working state analysis module 1 and the working state analysis module 2 respectively collect network states of a first lower computer and a second lower computer and a first upper computer and a second upper computer in each working period, and determine that the working mode is a dual-computer cold-standby (single-computer) working mode, at the moment, P1 output by the lower computers correspondingly is a high-level signal, P2 is a low-level signal, only P1 lamps are on, or P3 output by the upper computers correspondingly is a high-level signal, P4 is a low-level signal, only P3 lamps are on, or the working mode is a dual-computer hot-standby working mode, at the moment, P1 and P2 output by the lower computers correspondingly are high-level signals, P1 and P2 lamps are simultaneously on, or P3 and P4 output by the lower computers correspondingly are high-level signals, and P3 and P4 lamps are simultaneously on. In the dual-computer cold standby working mode, a lower computer or an upper computer which works by power-on is used as an on-duty host; when the dual computers work in a hot standby mode, a user manually selects and determines an on-duty host of the current lower computer and an on-duty host of the upper computer through a main/standby switching signal; when the switch is ON, the second lower computer or the second upper computer is used as the current ON-duty host, and when the switch is OFF, the first lower computer or the first upper computer is used as the current ON-duty host. The main/standby switching signal of the lower computer and the main/standby switching signal of the upper computer are independently arranged and do not influence each other.
The complete processing flow for receiving the extranet data during actual work is shown in fig. 5, firstly, the third data broadcasting module 6 synchronously sends the received combat network data to the first lower computer and the second lower computer, the lower computer transfers the received combat network data to business logic processing after receiving the data, the current on-duty host of the lower computer is further determined according to the decision algorithm of the on-duty host of the lower computer, and the calculation result is synchronously sent to the first upper computer and the second upper computer through the data broadcasting module 2.
In the working process of the device, a user can modify the network IP address distributed by the combat system through the terminal management module 7 in real time and permanently store the network IP address in a memory of the dual-redundancy hot standby device. Two configuration instructions are designed, and the input format of a user is as follows:
(1) configuring a node network IP address of the dual-redundancy hot standby device: setAddr xxx. xxx, the IP address consists of between 4 groups 0-255 of "separate;
(2) configuring a node network subnet mask of the dual-redundancy hot standby device: setMask yyy.yy.yyy.yyy.yy, subnet mask is also composed of 4 groups of numbers, which can only take 0 or 255;
under the dual-computer hot standby working mode, a user can control a main/standby switching signal of the lower computer and a main/standby switching signal of the upper computer through a switch, the upper computer and the lower computer which serve as the on-duty host are manually assigned to be independently configured and not mutually influenced, and the device does not need to be restarted after the signal state is changed, takes effect immediately and responds to output in real time.
At any time, no matter the dual-computer redundancy working mode of the upper computer or the lower computer is changed, or the current on-duty host computer is changed in the dual-computer hot standby working mode, the real-time performance, the continuity and the correctness of the output data of the device are not influenced. When the lower computer or the upper computer works in a dual-computer hot standby mode and no signal output failure occurs to one computer suddenly due to hardware, network, power failure and the like, the dual-redundancy hot standby device is automatically switched to a single-computer working mode, the lower computer or the upper computer which works normally processes data and sends a calculation result to a preset transmission channel, the switching process is transparent to a user, data are not lost, and the accuracy of a final data processing result can be guaranteed.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.
Claims (7)
1. A dual redundant hot standby apparatus, the apparatus comprising:
the lower computer master standby state setting module comprises a first network controller module, a second network controller module, a first channel signal acquisition module and a first channel calculation logic module, and the first channel calculation logic module is respectively connected with the first network controller module, the second network controller module and the first channel signal acquisition module;
the host computer standby state setting module comprises a third network controller module, a fourth network controller module, a second channel signal acquisition module and a second channel calculation logic module, and the second channel calculation logic module is respectively connected with the third network controller module, the fourth network controller module and the second channel signal acquisition module;
the first data broadcasting module is respectively connected with the third network controller module and the fourth network controller module;
the channel selection module is respectively connected with the first channel calculation logic module and the first data broadcasting module;
the device comprises a fifth network controller module, wherein the fifth network controller module is connected with an external combat network;
the device comprises a third data broadcasting module, wherein the third data broadcasting module is respectively connected with the first network controller module, the second network controller module and the fifth network controller module;
the device comprises a message conversion module, wherein the message conversion module is respectively connected with the channel selection module and the fifth network controller module;
the channel selection module adopts a programmable controller, inputs network data sent by a lower computer, determines that the data is forwarded to a fifth network controller module by analyzing a message header of a network data packet, and sends the data to an external combat network by the fifth network controller module; the data is sent to an upper computer through a first data broadcasting module;
the network data message and the node network IP Address Addrnode provided by the input channel selection module analyze the IPv4 data message header structure of the Ethernet TCP/IP protocol through the message conversion module, and replace the field 'Source IP Address' content with the network Address of the combat system distributed by the node.
2. The dual redundant hot standby apparatus of claim 1 further comprising a second data broadcast module connected to said first network controller module, said second network controller module and said second channel calculation logic module, respectively.
3. The dual-redundancy hot standby apparatus of claim 2, further comprising a terminal management module, wherein the terminal management module is connected to the message conversion module.
4. The dual-redundancy hot standby apparatus according to claim 1, wherein the lower computer master standby state setting module further comprises a first operating state analyzing module, and the first operating state analyzing module is connected to the first network controller module and the second network controller module respectively; the host computer standby state setting further comprises a second working state analysis module, and the second working state analysis module is respectively connected with the third network controller module and the fourth network controller module.
5. The dual-redundancy hot standby device according to claim 4, wherein the lower computer main standby state setting module further comprises a first operating state indicator light, and the first operating state indicator light is connected with the first operating state analyzing module; the host computer standby state setting module further comprises a second working state indicator light, and the second working state indicator light is connected with the second working state analysis module.
6. The dual-redundancy hot standby device according to claim 1, further comprising an upper computer and a lower computer, wherein the upper computer is connected with the upper computer main standby state setting module; and the lower computer is connected with the lower computer master standby state setting module.
7. The dual-redundancy hot standby device according to claim 6, wherein the upper computer comprises a first upper computer and a second upper computer, and the first upper computer is connected with the third network controller module; the second upper computer is connected with the fourth network controller module; the lower computer comprises a first lower computer and a second lower computer, the first lower computer is connected with the first network controller module, and the second lower computer is connected with the second network controller module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811182614.0A CN109495292B (en) | 2018-10-11 | 2018-10-11 | Dual-redundancy hot standby device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811182614.0A CN109495292B (en) | 2018-10-11 | 2018-10-11 | Dual-redundancy hot standby device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109495292A CN109495292A (en) | 2019-03-19 |
CN109495292B true CN109495292B (en) | 2021-09-28 |
Family
ID=65690280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811182614.0A Active CN109495292B (en) | 2018-10-11 | 2018-10-11 | Dual-redundancy hot standby device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109495292B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110086678B (en) * | 2019-05-16 | 2022-04-19 | 南京华盾电力信息安全测评有限公司 | Dual-channel real-time data acquisition system and acquisition method based on Redis |
CN114500157B (en) * | 2022-04-07 | 2022-07-29 | 浙江中控研究院有限公司 | Redundancy implementation system based on CAN gateway, electronic device and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634150A (en) * | 2013-12-03 | 2014-03-12 | 合肥工大高科信息科技股份有限公司 | Redundant high-safety CAN (controller area network) bus communication system and communication method thereof |
CN108551397A (en) * | 2018-03-26 | 2018-09-18 | 华中科技大学 | The communication control method of network bridge device and application and more PLC master stations and more PLC slave stations |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8510402B2 (en) * | 2008-08-20 | 2013-08-13 | Schneider Automation Inc. | Management of redundant addresses in standby systems |
CN103631178B (en) * | 2013-11-04 | 2016-02-03 | 中国航天科技集团公司第九研究院第七七一研究所 | A kind of double-unit backup redundancy control device |
-
2018
- 2018-10-11 CN CN201811182614.0A patent/CN109495292B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634150A (en) * | 2013-12-03 | 2014-03-12 | 合肥工大高科信息科技股份有限公司 | Redundant high-safety CAN (controller area network) bus communication system and communication method thereof |
CN108551397A (en) * | 2018-03-26 | 2018-09-18 | 华中科技大学 | The communication control method of network bridge device and application and more PLC master stations and more PLC slave stations |
Also Published As
Publication number | Publication date |
---|---|
CN109495292A (en) | 2019-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9294403B2 (en) | Mechanism to control resource utilization with adaptive routing | |
CN109687943B (en) | Dual-computer backup redundancy control system | |
KR20040095632A (en) | Apparatus and method for combining forwarding tables in a distributed architecture router | |
CN104426731A (en) | A method and device for computing a spanning tree | |
CN109495292B (en) | Dual-redundancy hot standby device | |
WO2014083780A1 (en) | Communication device, router having communication device, bus system, and circuit substrate of semiconductor circuit having bus system | |
CN109525041B (en) | Secondary relay protection chip of intelligent substation and data interaction method | |
CN106953814B (en) | Transformer substation process layer network switching chip system, message forwarding processing method thereof and time measurement marking method | |
CN108833272B (en) | Route management method and device | |
CN101087304B (en) | Connection device and method between wireless sensor network and Internet | |
CN100421423C (en) | Central router based on serial Rapid 10 bus | |
US11206216B2 (en) | Flexible ethernet frame forwarding method and apparatus | |
CN104079497A (en) | High-availability loading balancing equipment and method under transparent network bridge mode | |
JP5929720B2 (en) | Communication system and network relay device | |
CN113285878B (en) | Load sharing method and first network equipment | |
CN114690680A (en) | Data processing method, controller and first network equipment | |
CN117880201A (en) | Network load balancing method, system and device based on data processor | |
Han et al. | Survivable virtual network link shared protection method based on maximum spanning tree | |
JP4564433B2 (en) | Transmission apparatus and frame transfer method | |
JP2015127926A (en) | Communication system and communication control method | |
CN111277374A (en) | Method for sampling dual redundant SV of digital device and intelligent substation protection device | |
WO2011148925A1 (en) | Semiconductor device and network routing method and system | |
US10003469B2 (en) | Multicast forwarding method and apparatus in transparent interconnection of lots of link network, and routing bridge | |
US10063465B2 (en) | Network system and relay device | |
Zhang et al. | Very fine-grained fault-tolerant routing algorithm of NoC based on buffer reuse |
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 |