Dual redundant computer equipment based on the domestic Loongson platform

By designing dual-redundant computer equipment on the domestic Loongson platform, using the main and backup machine synchronization and switching modules and the health monitoring module, the problem of insufficient reliability of the domestic computer system has been solved, and the high reliability and data fault tolerance of the system have been achieved. Expands computer application scenarios.

CN111767244BActive Publication Date: 2024-09-03JIANGSU AUTOMATION RESEARCH INSTITUTE
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202010661388.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-10
Publication Date
2024-09-03
Estimated Expiration
2040-07-10

AI Technical Summary

Technical Problem

At this stage, domestic computer systems have shortcomings in reliability. In particular, autonomous and controllable domestic software and hardware are difficult to improve system reliability through stand-alone software and hardware, and perform poorly in harsh environments.

Method used

Design a dual-redundant computer equipment based on the domestic Loongson platform, using the active and standby machine synchronization module, active and standby switching module and cabinet management module, through the BMC module to perform hardware interface identification and self-test, real-time synchronization of data and status information, and Automatically switches when a fault occurs, and provides a health monitoring module to reduce the probability of equipment crash.

Benefits of technology

It improves the reliability and data processing efficiency of the system, ensures uninterrupted operation of the system, reduces the probability of platform crashes caused by equipment instability, expands the application scenarios of domestic computers, and meets the needs of most domestic computer systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111767244B
    Figure CN111767244B
Patent Text Reader

Abstract

The present invention discloses a dual-redundant computer device based on a domestic Loongson platform, the device comprises a main computer device and a standby computer device respectively recorded as a host and a standby machine, a main-standby synchronization module, a main-standby switching module and a cabinet management module deployed on the domestic Loongson platform; each computer device comprises: a BMC module and a measurement and control CPU module; the BMC module is provided with a CAN and GPIO communication interface. The present invention utilizes a dual-redundant hot backup method to ensure that the device can operate normally and effectively for a long time, and provides a health monitoring module, which can greatly reduce the probability of platform crash caused by device instability, and effectively provide a stable and reliable operation platform for the domestic Loongson module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of reinforced computers, and in particular relates to a dual-redundancy computer device based on a domestic Loongson platform. Background Art

[0002] Reliability is an important indicator for measuring automation systems, especially for domestic computers used in harsh environments. Due to the current limitations of domestic computer technology, reliability issues have always been one of the main problems facing domestic computer systems. Therefore, studying how to improve the reliability of domestic computers is a very important topic in the current development of domestic computers.

[0003] Traditional computer time systems are generally composed of a computer main module, an operating system, and an application software system. Traditional computers mainly solve the problem of system reliability by improving the reliability of stand-alone software and hardware. According to past experience, simply improving the reliability of stand-alone software and hardware cannot meet the reliability requirements of the entire system, especially for the reliability of self-controlled domestic software and hardware. It is relatively difficult to improve the reliability of stand-alone software and hardware. Summary of the invention

[0004] The object of the present invention is to provide a dual redundant computer device capable of improving the reliability of a computer system in view of the above-mentioned deficiencies in the prior art.

[0005] The technical solution to achieve the purpose of the present invention is: a dual redundant computer device based on the domestic Loongson platform, the device includes a main computer device and a standby computer device respectively recorded as a host and a standby machine deployed on the domestic Loongson platform, a main-standby synchronization module, a main-standby switching module and a cabinet management module; each computer device includes: a BMC module and a measurement and control CPU module; the BMC module is provided with a CAN and GPIO communication interface;

[0006] The BMC module is used to read the slot information of the GPIO communication interface, and identify the host and the standby machine according to the information, and for the host, control the corresponding measurement and control CPU module to immediately power on and start and perform self-test, and for the standby machine, control the corresponding measurement and control CPU module to delay power on and start and perform self-test; it is also used to receive CPU self-test information, and when the CPU self-test information indicates that the operating status is normal, the BMC module controls the measurement and control CPU module to work normally;

[0007] The master-slave synchronization module is used to synchronize the data and status information of the master and the slave in real time;

[0008] The master-slave switching module is used to monitor the heartbeat signals and switching command signals of the master and the standby machines in real time, perform master-slave switching according to the signals, and then broadcast the switching results to other modules and report them to the cabinet management module through the CAN communication interface of the BMC module;

[0009] The cabinet management module is used to realize the communication between the main machine and the backup machine.

[0010] Furthermore, the dual redundant computer equipment also includes a monitoring module, which is used to suspend the dual redundant computer equipment when receiving a fault warning signal, or switch the normal working mode of the dual redundant computer equipment to a single machine working mode when one of the main or standby computer equipment is working normally; the normal working mode is that both the main and standby computers are working normally, and the single machine working mode is that the main or standby computer that has a fault does not work;

[0011] Wherein, the fault warning signal is sent by the BMC module to the monitoring module through the RS232 serial port when the BMC module receives the CPU self-check information indicating that the operating status is abnormal.

[0012] Furthermore, the dual-redundancy computer device also includes a VGA and an Ethernet communication interface, wherein the VGA is used to output the status of the computer device, and the Ethernet interface is used to update, upgrade and debug the computer device.

[0013] Furthermore, the status information includes: ready state, indicating whether the current computer device is operating normally, a high level indicates normal, and a low level indicates abnormal; active / standby state, indicating that the current computer device is acting as a host or standby machine, the active state is a high level, and the standby state is a low level; a reset board signal, indicating whether the current computer device needs to reset and restart the other computer device when the other computer device fails.

[0014] Furthermore, the master-slave switching module performs master-slave machine switching in the following manner:

[0015] Heartbeat detection mechanism: The master and the standby monitor each other's heartbeat signals. When the standby is in the ready state, standby state and heartbeat signal is normal, and the standby fails to detect the heartbeat signal of the master within a certain period, and the standby sends an agreed command to the master but receives no response, the standby sends a master-standby switch request signal to the master-standby switch module, and the master-standby switch module implements the master-standby switch, converts the current master state to the standby state, and converts the current standby state to the master state;

[0016] Switching command mechanism: The host sends a master-slave switching command to the master-slave switching module, which implements the master-slave switching, converting the current host's master state to the standby state, and converting the current standby state to the master state.

[0017] Furthermore, the master / standby switching request signal / master / standby switching command is sent via a heartbeat signal.

[0018] Compared with the prior art, the present invention has the following significant advantages: 1) the dual redundancy technology is adopted to improve the reliability of the system; the system operates by signal synchronization, and when a computer fails, another computer can be switched to take over the work in time to ensure the uninterrupted operation of the system; 2) a health monitoring module (BMC module) is provided, which can greatly reduce the probability of platform crash caused by equipment instability, and effectively provide a stable and reliable operation platform for the domestic Loongson module; 3) the two computers can monitor each other's status, so that the health status of the computers becomes transparent to each other, and if a problem is found, it can be switched in time to avoid unnecessary losses; 4) the two computers deployed by the dual redundant computer are in hot standby state, which can improve the data processing efficiency of the entire computer system during simultaneous operation, and at the same time ensure data fault tolerance.

[0019] The present invention is further described in detail below in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 Schematic diagram of the dual redundant computer composition of the domestic Loongson platform in one embodiment.

[0021] Figure 2 This is a workflow diagram for initializing dual redundant computers on a domestic Loongson platform in one embodiment.

[0022] Figure 3 This is a workflow diagram of a dual-redundant computer on a domestic Loongson platform in one embodiment.

[0023] Figure 4 The figure is a functional block diagram of a BMC management board in an embodiment. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0025] In one embodiment, in combination Figure 1 , provides a dual-redundant computer device based on the domestic Loongson platform, the device includes a main computer device and a standby computer device, respectively recorded as a host and a standby machine, deployed on the domestic Loongson platform, a main-standby synchronization module, a main-standby switching module and a cabinet management module; each computer device includes: a BMC module and a measurement and control CPU module; the BMC module is provided with a CAN and GPIO communication interface;

[0026] The BMC module is used to read the slot information of the GPIO communication interface, and identify the host and the standby machine according to the information, and for the host, control the corresponding measurement and control CPU module to immediately power on and start and perform self-test, and for the standby machine, control the corresponding measurement and control CPU module to delay power on and start and perform self-test; it is also used to receive CPU self-test information, and when the CPU self-test information indicates that the operating status is normal, the BMC module controls the measurement and control CPU module to work normally;

[0027] Here, the master and backup machines are identified based on the slot information without involving software, and are identified using hardware interface signals. For example, a certain string of binary digits may represent the master machine, and a certain string of binary digits may represent the backup machine, which is specifically defined by the user.

[0028] Here, the self-check is also performed based on the hardware interface signal, and the self-check rules can also be customized by the user.

[0029] Here, the BMC module includes a voltage and temperature detection circuit, which is used to detect whether the voltage and temperature of the CPU module are normal. Preferably, the temperature detection circuit uses a MF11-10k-10% plug-in thermistor.

[0030] Here, combined Figure 4 The BMC health management module uses an independent DC 3.3V power supply. The module includes: 2 C bus, dual redundant CAN bus, 4 input IO interfaces for identifying the slot numbers of the host and backup machines, 1 reset output signal interface, 1 serial port, 1 power-on control interface, and 3 voltage and temperature detection signal interfaces.

[0031] The master-slave synchronization module is used to synchronize the data and status information of the master and the slave in real time;

[0032] The master-slave switching module is used to monitor the heartbeat signals and switching command signals of the master and the standby machines in real time, perform master-slave switching according to the signals, and then broadcast the switching results to other modules and report them to the cabinet management module through the CAN communication interface of the BMC module;

[0033] The cabinet management module is used to realize the communication between the main machine and the backup machine.

[0034] Combination Figure 2 , the domestic Loongson computer platform is a dual redundant computer initialization workflow:

[0035] The basic initialization workflow of the dual redundant computer hot standby system. After the module is powered on, the BMC module starts, and then reads the GPIO slot signal. If the module is identified as the host, the CPU is powered on. If the module is identified as the standby, the CPU is powered on after a delay. The CPU initializes and self-checks, and then sends the relevant information of the self-check to the BMC health management board on the board via RS232. If the operating status is abnormal, the BMC module on the board sends a fault warning message; if the operating status is normal, the module enters a normal working state. See Table 1 below for handling initialization abnormalities:

[0036] Table 1 System initialization abnormal situation handling

[0037]

[0038] Note: Assume that host A is the default host and host B is the default standby host (identified by slot signals).

[0039] Furthermore, in one of the embodiments, the dual redundant computer device further comprises a monitoring module, which is used to suspend the operation of the dual redundant computer device upon receiving a fault warning signal, or switch the normal operation mode of the dual redundant computer device to a single machine operation mode when one of the main or backup computer devices is operating normally; the normal operation mode is that both the main and backup computers are operating normally, and the single machine operation mode is that the main or backup computer that has a fault is not operating;

[0040] Wherein, the fault warning signal is sent by the BMC module to the monitoring module through the RS232 serial port when the BMC module receives the CPU self-check information indicating that the operating status is abnormal.

[0041] Furthermore, in one embodiment, the dual redundant computer device further comprises a VGA and an Ethernet communication interface, wherein the VGA is used to output the status of the computer device, and the Ethernet interface is used to update, upgrade and debug the computer device.

[0042] Furthermore, in one of the embodiments, the status information includes: ready state, indicating whether the current computer device is operating normally, a high level indicates normal, and a low level indicates abnormal; active / standby state, indicating that the current computer device is acting as a host or standby machine, the active state is a high level, and the standby state is a low level; a reset board signal, indicating whether the current computer device needs to reset and restart the other computer device when the other computer device fails.

[0043] Further, in one of the embodiments, the master-slave switching module performs master-slave machine switching in the following manner:

[0044] Heartbeat detection mechanism: The master and the standby monitor each other's heartbeat signals. When the standby is in the ready state, standby state and the heartbeat signal is normal (periodic heartbeat signal), and the standby fails to detect the heartbeat signal of the master within a certain period, and the standby sends an agreed command to the master but does not receive a response (indicating that the master fails), the standby sends a master-standby switch request signal to the master-standby switch module, and the master-standby switch module implements the master-standby switch, converts the current master state to the standby state (pulls the master state output signal low), and converts the current standby state to the master state (pulls the standby state output signal high);

[0045] Switching command mechanism: (When the host self-detects a fault, the host will actively request switching) The host sends a master-slave switching command to the master-slave switching module, and the master-slave switching module implements the master-slave switching, converting the current host's master state to the standby state, and the current standby state to the master state.

[0046] Further, in one of the embodiments, the master-standby switching request signal / master-standby switching command is sent via GPIO.

[0047] Here, the active / standby switching request signal / active / standby switching command is generally carried by a certain bit of data in the byte corresponding to the heartbeat signal, for example, one byte: the 0th bit is specified as the in-position signal, and the 1st bit is the switching request signal.

[0048] Furthermore, in one of the embodiments, the host machine and the backup machine send a heartbeat signal via an RS232 serial port.

[0049] Furthermore, in one of the embodiments, the standby machine sends the agreed command to the host machine by sending the agreed command through a cabinet management module.

[0050] Based on the above embodiments, combined with Figure 3 When the dual redundant hot standby initialization is completed, the system can enter the dual redundant hot standby working state. This working state involves two types of working scenarios:

[0051] Scenario 1: The host detects a fault and actively sends a switch request

[0052] During the self-check process, the host finds its own fault, and at the same time detects that the standby is in the ready state and the heartbeat of the standby is normal. The host sends a switch request signal to the standby through the serial port and sets the current active state signal to a low level. The standby receives the status signal and switch request signal of the host through the serial port. When the standby recognizes that the active state signal is set to a low level, it prepares for the standby to take over the system. The system application layer calculates and processes the received system data in combination with the latest synchronization data, and the hot standby management component switches the host and the standby. The standby state signal is set to a high level and notifies the taken-over host through the serial port. At this time, the standby takes over the system. After the host recognizes that the standby has completed the switch between the host and the standby, it broadcasts the information to other modules and reports it to the cabinet management module through the CAN interface of the BMC module. Then the standby decides whether to reset and restart the host according to the preset.

[0053] Scenario 2: The host machine is out of control or crashes, and the backup machine automatically switches

[0054] When the standby machine cannot receive the serial heartbeat signal of the host machine, and the agreed signal actively sent by the standby machine has no response, the standby machine believes that the host machine may be out of control and needs to take over the system actively. At the same time, in order to prevent misjudgment, the cabinet management module will ask the host machine whether it is normal. If the host does not respond, the system can determine that the host is out of control. At this time, the standby machine will analyze and process the received system data in combination with the latest synchronization data of the system application layer, and switch the system between the host and the standby machine. The standby machine sets the main status signal to a high level, starts to send data outward, and broadcasts it to other modules. The standby machine reports to the cabinet management module through the CAN interface of the BMC module, and then the standby machine decides whether to reset and restart the host machine according to the system preset.

[0055] Furthermore, in one of the embodiments, the master-slave synchronization module specifically utilizes the FC-AE-1553 communication card to synchronize the data and status information of the master and the backup.

[0056] Furthermore, in one of the embodiments, the domestic Loongson platform adopts the Loongson 2K1000 chip; and the BMC module adopts HHD32F103.

[0057] All signal transmission, identification, control, etc. in the present invention are implemented by hardware and hardware interfaces, and do not involve software programs.

[0058] The dual redundant computer equipment of the domestic Loongson platform proposed in the present invention is not only autonomous and controllable, but also greatly improves the fault tolerance and reliability of the computer system, thereby expanding the application scenarios of domestic computers and fully meeting the application needs of most domestic computer systems.

[0059] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A dual redundant computer device based on the domestic Loongson platform, characterized in that: The equipment includes a main computer device and a standby computer device, which are respectively recorded as a host and a standby machine and are deployed on a domestic Loongson platform, a main-standby synchronization module, a main-standby switching module and a cabinet management module; each computer device includes: a BMC module and a measurement and control CPU module; the BMC module is provided with a CAN and GPIO communication interface; The BMC module is used to read the slot information of the GPIO communication interface, and identify the host and the standby machine according to the information, and for the host, control the corresponding measurement and control CPU module to immediately power on and start and perform self-test, and for the standby machine, control the corresponding measurement and control CPU module to delay power on and start and perform self-test; it is also used to receive CPU self-test information, and when the CPU self-test information indicates that the operating status is normal, the BMC module controls the measurement and control CPU module to work normally; The master-slave synchronization module is used to synchronize the data and status information of the master and the slave in real time; The master-slave switching module is used to monitor the heartbeat signals and switching command signals of the master and the standby machines in real time, perform master-slave switching according to the signals, and then broadcast the switching results to other modules and report them to the cabinet management module through the CAN communication interface of the BMC module; The cabinet management module is used to realize communication between the main machine and the backup machine; The dual redundant computer equipment also includes a monitoring module, which is used to suspend the dual redundant computer equipment when receiving a fault warning signal, or switch the normal working mode of the dual redundant computer equipment to a single machine working mode when one of the main or standby computer equipment is working normally; the normal working mode is that both the main and standby computers are working normally, and the single machine working mode is that the main or standby computer that has a fault does not work; Wherein, the fault warning signal is sent by the BMC module to the monitoring module through the RS232 serial port when the BMC module receives the CPU self-check information that the operating status is abnormal; The status information includes: ready state, indicating whether the current computer device is operating normally, a high level indicates normal, and a low level indicates abnormal; active / standby state, indicating that the current computer device is acting as a host or standby, the active state is a high level, and the standby state is a low level; a reset board signal, indicating whether the current computer device needs to reset and restart the other computer device when the other computer device fails.

2. The dual redundant computer equipment based on the domestic Loongson platform according to claim 1 is characterized in that: The dual-redundant computer equipment also includes a VGA and an Ethernet communication interface, wherein the VGA is used to output the status of the computer equipment, and the Ethernet interface is used to update, upgrade and debug the computer equipment.

3. The dual redundant computer equipment based on the domestic Loongson platform according to claim 1 is characterized in that: The method in which the active / standby switching module performs active / standby machine switching includes: Heartbeat detection mechanism: The master and the standby monitor each other's heartbeat signals. When the standby is in the ready state, standby state and heartbeat signal is normal, and the standby fails to detect the heartbeat signal of the master within a certain period, and the standby sends an agreed command to the master but receives no response, the standby sends a master-standby switch request signal to the master-standby switch module, and the master-standby switch module implements the master-standby switch, converts the current master state to the standby state, and converts the current standby state to the master state; Switching command mechanism: The host sends a master-slave switching command to the master-slave switching module, which implements the master-slave switching, converting the current host's master state to the standby state, and converting the current standby state to the master state.

4. The dual redundant computer equipment based on the domestic Loongson platform according to claim 3 is characterized in that: The master-slave switching request signal / master-slave switching command is sent via GPIO.

5. The dual redundant computer equipment based on the domestic Loongson platform according to claim 3 is characterized in that: The host and the standby machines send heartbeat signals via the RS232 serial port.

6. The dual redundant computer equipment based on the domestic Loongson platform according to claim 3 is characterized in that: The standby machine sends the agreed command to the host machine specifically by sending the agreed command through the cabinet management module.

7. The dual redundant computer equipment based on the domestic Loongson platform according to claim 1 is characterized in that: The master-slave synchronization module specifically uses the FC-AE-1553 communication card to achieve synchronization of data and status information of the master and the standby.

8. The dual redundant computer equipment based on the domestic Loongson platform according to claim 1 is characterized in that: The domestic Loongson platform adopts the Loongson 2K1000 chip; the BMC module adopts the HHD32F103.

Citation Information

Patent Citations

  • Redundancy switching unit of Chinese-made-Loongson-processor-based measurement and control devices

    CN107728463A

  • A dual-computer arbitration switching system and method

    CN109739694A

  • Safe computer based on divide binary digit (DIVBIT) technology

    CN202771317U

  • Dual-redundancy computer equipment based on domestic Loongson platform

    CN212541329U

  • Method for switching redundant computer system

    JP1996185330A