A task-level dual-machine hot standby system and method based on management platform

By introducing the management platform and intelligent control module into the dual-machine hot standby system, rapid task-level switching of the main and backup machines is realized, which solves the problem of insufficient switching time in the existing technology and improves the real-time performance and reliability of the computer equipment.

CN111930573BActive Publication Date: 2024-09-13TIANJIN QISUO PRECISION ELECTROMECHANICAL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010771622.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-04
Publication Date
2024-09-13
Estimated Expiration
2040-08-04

AI Technical Summary

Technical Problem

The existing dual-machine hot standby system based on system migration cannot meet the requirements of active and standby switching time in application scenarios with extremely high real-time requirements. Especially in applications such as aircraft control, the switching time cannot reach the 1/10 second level. .

Method used

Adopt a task-level dual-machine hot standby system based on the management platform, connect the host and standby machines through the management platform, use the external interface conversion module, KVM switching module, data synchronization module and watchdog module, and control through ARM and FPGA to achieve active and standby The machine's task instructions are synchronized and switched to ensure that the standby machine can be quickly switched to the main machine when the main machine is abnormal.

Benefits of technology

It achieves task-level dual-machine hot standby switching within 100 milliseconds, improves the task reliability of computer equipment, and meets the requirements of high real-time and high reliability application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111930573B
    Figure CN111930573B
Patent Text Reader

Abstract

The present invention relates to a task-level dual-machine hot standby system and method based on a management platform, wherein the system comprises a host A, a host B, a redundant power supply A, a redundant power supply B, an intelligent management platform, an external device, a command center and a human-computer interaction device, wherein the management platform is connected to the host A and the host B through a network interface, a serial interface, a CPCI bus, a VGA and a USB signal interface, is connected to the command center through a network interface and a serial interface, is connected to the external device through a serial interface and an A / D interface, is connected to the human-computer interaction device through a VGA and a USB signal interface, the redundant power supply A, the host A and the management platform are connected to the CPCI bus, and the redundant power supply B, the host B and the management platform are connected to the CPCI bus. The present invention realizes the switching of the main and standby machines within 100 milliseconds by using the management platform, and achieves the task-level dual-machine hot standby switching, improves the task reliability of the computer device, and meets some application scenarios with high real-time requirements and high reliability of the computer device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of computer control, and in particular to a task-level dual-machine hot standby system based on a management platform and a method thereof. Background Art

[0002] In some high-reliability application scenarios, such as navigation data servers, aircraft controllers and other equipment, once the computer executing the task fails, it will cause significant economic losses or serious safety accidents. To avoid this risk, a dual-machine redundant backup system is usually adopted to improve the task reliability of computer equipment. Dual-machine redundant backup can be divided into cold backup and hot backup. Cold backup is when the main machine is abnormal and the standby machine is started to work. It is usually used in scenarios with low real-time requirements for task execution; hot backup is when the main machine and the standby machine work at the same time. Once the main machine is abnormal, the standby machine switches to the main machine, and the standby machine takes over the task execution through system migration and other methods. It is usually used in scenarios with certain requirements for task execution real-time, in which the switching time of dual-machine hot backup is shorter than that of cold backup. However, in application scenarios with high real-time requirements, such as aircraft control application scenarios, the main and standby switching time reaches the level of 1 / 10 second. The dual-machine hot backup system based on system migration cannot meet this application scenario. Summary of the invention

[0003] The purpose of the present invention is to overcome the deficiencies of the prior art and to propose a task-level dual-machine hot standby system and method based on a management platform, which can realize task-level dual-machine hot standby switching.

[0004] The present invention solves the technical problem by adopting the following technical solutions:

[0005] A task-level dual-machine hot standby system based on a management platform comprises a host A, a host B, a redundant power supply A, a redundant power supply B, an intelligent management platform, external equipment, a command center and a human-computer interaction device. The management platform is connected to the host A and the host B via a network interface, a serial interface, a CPCI bus, a VGA and a USB signal interface, is connected to the command center via a network interface and a serial interface, is connected to external equipment via a serial interface and an A / D interface, is connected to the human-computer interaction device via a VGA and a USB signal interface, the redundant power supply A, the host A and the management platform are connected to the CPCI bus, and the redundant power supply B, the host B and the management platform are connected to the CPCI bus.

[0006] Moreover, the management platform includes an external interface conversion module, a KVM switching module, a data synchronization module and a watchdog module, and is controlled by ARM and FPGA, wherein the external interface conversion module and the KVM switching module are controlled by FPGA, the data synchronization module and the watchdog module are controlled by ARM, and ARM is connected to FPGA via a GPMC bus.

[0007] Moreover, the host A and host B are exactly the same, the redundant power supply A and redundant power supply B are exactly the same, the serial interface and A / D interface of the system host are connected to the device, and the system standby machine is not connected to the device.

[0008] A method for a task-level dual-machine hot standby system based on a management platform as claimed in claim 1, comprising the following steps:

[0009] Step 1: Start host A and host B. The management platform selects the system host and the system standby machine and forwards the task instructions to the system host and the system standby machine. The host and the standby machine execute the task instructions.

[0010] Step 2: The management platform determines the operation status of the system host and the system standby machine. If the system host and the system standby machine are operating normally, the system host and the system standby machine continue to execute the task instructions. If the system host is abnormal, proceed to step 3; if the system standby machine is abnormal, proceed to step 4.

[0011] Step 3: The management platform switches the system host and the system standby machine;

[0012] Step 4: The management platform restarts the system standby machine and puts it in hot standby state.

[0013] Moreover, the specific implementation method of step 1 is: after host A and host B are powered on, the management platform defaults host A as the system host and host B as the system standby; the system host and system standby respectively send startup completion signals to the management platform and prepare to receive external task instructions; the management platform receives the task command from the command center and forwards the task instructions to the system host and system standby, and the system host and system standby synchronously execute the received task instructions.

[0014] Moreover, the specific implementation method of step 2 is: the system host and the system standby machine start the timed dog feeding task, and send a watchdog feeding operation to the management platform through the serial interface at a certain time interval. At the same time, the system host and the system standby machine accumulate the counts of the task instructions received and executed, and send the task instruction counting results to the management platform. The management platform updates the count of the executed task instructions. At the same time, the management platform compares the task instruction counts of the system host and the system standby machine to determine the operation status of the main and standby machines.

[0015] Moreover, the dog feeding task is to set a certain time timeout to trigger a computer hardware reset signal; the method for the management platform to update the execution task instruction count is that when the system host and the system standby machine are operating normally, the management platform synchronizes the task instruction and execution result data, and for the execution results involving the external device status, the management platform forwards the system host execution result to the system standby machine, and the system standby machine updates the latest task execution result. When the execution task instruction counts of the system host and the system standby machine are the same, the watchdog timeout interrupt is not triggered, wherein the serial interface and A / D interface of the system host are connected to the external device, and the system standby machine is not connected to the external device.

[0016] Moreover, the specific implementation method of step 3 is as follows: if the CPU of the system host is blocked in the task and cannot send the watchdog hardware feeding operation regularly, the system host watchdog of the management platform triggers a timeout interrupt and sends a system host reset signal, and the management platform starts the hardware reset of the system host; if other communication abnormalities occur in the system host, the regular dog feeding signal is normal, but the task instruction count cannot be sent correctly, after the system standby machine completes the task, the management platform calculates that the host task instruction count is less than the standby machine task instruction count, determines that the host has an abnormality, and starts the hardware reset of the host.

[0017] Moreover, the specific method of starting the hardware reset host is that when the management platform starts the hardware reset host, the serial interface and A / D interface of the external device are switched to connect with the system standby machine. At this time, the system standby machine becomes the host to realize the collection and control of the external device; after the original system host is restarted, it becomes the new system standby machine. The management platform sends the latest task instruction count of the system host to the new system standby machine, synchronizes data information, and the new system standby machine sends the task instruction count and timed dog feeding operation to the management platform.

[0018] Moreover, the specific implementation method of step 4 is: if the system standby machine has an abnormality, the management platform resets the system standby machine through hardware. After the system standby machine restarts, the management sends synchronization data to the standby machine to keep the machine in a hot standby state.

[0019] The advantages and positive effects of the present invention are:

[0020] The present invention starts host A and host B, and the management platform selects the system host and system standby machine and forwards the task instruction to the system host and system standby machine, and the host and standby machine execute the task instruction; the management platform determines the operation status of the system host and system standby machine, and performs different processing modes on the system host and system standby machine according to different operation statuses, thereby realizing the task machine switching of the system host and system standby machine. The present invention realizes the switching of the system host and system standby machine by using the management platform. After testing, the switching time is within 100 milliseconds, achieving the task-level dual-machine hot standby switching, improving the task reliability of computer equipment, and meeting some application scenarios with high real-time requirements and high reliability of computer equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a connection diagram of the device of the present invention;

[0022] Figure 2 It is a flow chart of switching between the system host and the system standby machine of the present invention. DETAILED DESCRIPTION

[0023] The present invention is further described in detail below with reference to the accompanying drawings.

[0024] A task-level dual-machine hot standby system based on a management platform, such as Figure 1 As shown, it includes: host A, host B, redundant power supply A, redundant power supply B, intelligent management platform, external equipment, command center and human-computer interaction equipment, wherein the management platform is connected to host A and host B through a network interface, a serial interface, a CPCI bus, a VGA and a USB signal interface, is connected to the command center through a network interface and a serial interface, is connected to external equipment through a serial interface and an A / D interface, is connected to the human-computer interaction equipment through a VGA and a USB signal interface, the redundant power supply A, host A and the management platform are connected to the CPCI bus, and the redundant power supply B, host B and the management platform are connected to the CPCI bus.

[0025] Moreover, the management platform includes an external interface conversion module, a KVM switching module, a data synchronization module and a watchdog module, and is controlled by ARM and FPGA, wherein the external interface conversion module and the KVM switching module are controlled by FPGA, the data synchronization module and the watchdog module are controlled by ARM, and ARM is connected to FPGA via GPMC bus. ARM is responsible for network interface, serial port interface data reception and transmission, data synchronization processing and watchdog circuit management, and FPGA is responsible for the switching of external interface, USB signal interface and KVM switching module.

[0026] The host A and host B are exactly the same, the redundant power supply A and redundant power supply B are exactly the same, and both can access the management platform through CPCI, wherein when one redundant power supply fails, the remaining redundant power supply supplies power to the system host and the system standby machine.

[0027] A task-level dual-machine hot standby system and method based on a management platform, such as Figure 2 As shown, the following steps are included:

[0028] Step 1: Start host A and host B. The management platform selects the system host and the system standby machine and forwards the task instructions to the system host and the system standby machine. The host and the standby machine execute the task instructions.

[0029] The specific implementation method in this step is: after host A and host B are powered on, the management platform defaults host A as the system host and host B as the system standby; the system host and system standby respectively send startup completion signals to the management platform and prepare to receive external task instructions; the management platform receives the task command from the command center and forwards the task instructions to the system host and system standby, and the system host and system standby synchronously execute the received task instructions.

[0030] Among them, the management platform sets up hardware watchdogs, task instruction counters, and establishes active-standby operation status notification and reset mechanisms between the system host and the system standby machines, builds a command response mechanism based on network or serial port communication, and runs the real-time system VxWorks software on the active and standby machines at the same time to ensure that the task execution response reaches the millisecond level and realizes data synchronization, active-standby switching, KVM and external interface switching functions.

[0031] The serial interface and A / D interface of the system host are connected to the device, but the system standby machine is not connected to the device.

[0032] The command center sends various instructions to the system host and system standby platform. After the system host and system standby parse the instructions, they control the external devices and feed back the execution results to the command center. The command center decides whether to send the next instruction based on the execution results.

[0033] Step 2: The management platform determines the operating status of the system host and the system standby machine. If the system host and the system standby machine are operating normally, the system host and the system standby machine continue to execute the task instructions. If the system host is abnormal, proceed to step 3; if the system standby machine is abnormal, proceed to step 4.

[0034] The specific implementation method of this step is: the system host and system standby start the scheduled watchdog feeding task, and send a watchdog feeding operation to the management platform through the serial interface at an interval of 8ms. At the same time, the system host and system standby accumulate the counts of the task instructions received and executed, and send the task instruction counting results to the management platform. The management platform updates the count of executed task instructions. At the same time, the management platform compares the task instruction counts of the system host and system standby to determine the operation status of the main and standby machines.

[0035] The management platform is internally provided with independent hardware watchdog circuits for the system host and the system standby machine. The system host and the system standby machine receive external task instructions. The task execution time is generally between a few milliseconds and 200 milliseconds. The watchdog is set with a 10ms timeout to trigger a computer hardware reset signal. When the system host and the system standby machine are operating normally, the management platform synchronizes the task instructions and the execution result data. For the execution results involving the external device status, the management platform forwards the execution results of the system host to the system standby machine, and the system standby machine updates the latest task execution results. The execution task instruction counts of the system host and the system standby machine are the same, and the watchdog timeout interrupt is not triggered.

[0036] Step 3: The management platform switches the system host and system standby machine.

[0037] The specific implementation method of this step is: if the system host's CPU is blocked in the task and cannot send the watchdog hardware feeding operation regularly, the system host watchdog of the management platform triggers a timeout interrupt and sends a system host reset signal, and the management platform starts the hardware reset of the system host; if the system host has other communication abnormalities, the regular dog feeding signal is normal, but the task instruction count cannot be sent correctly, after the system standby machine completes the task, the management platform calculates that the host task instruction count is less than the standby machine task instruction count, determines that the host has an abnormality, and starts the hardware reset of the host.

[0038] When the management platform starts the hardware reset of the host, it switches the serial interface and A / D interface of the external device to connect with the system standby machine. At this time, the system standby machine becomes the host to realize the collection and control of the external device. After the original system host is restarted, it becomes the new system standby machine. The management platform sends the latest task instruction count of the system host to the new system standby machine and synchronizes data information. The new system standby machine sends the task instruction count and timed dog feeding operation to the management platform.

[0039] Step 4: The management platform restarts the system standby machine and puts it in hot standby state.

[0040] The specific implementation method of this step is: if the system standby machine has an abnormality, the management platform resets the system standby machine through hardware. After the system standby machine restarts, the management sends synchronization data to the standby machine to keep the machine in a hot standby state.

[0041] By testing the above-mentioned task-level dual-machine hot standby system and method based on the management platform, it was found that the present invention can switch the system host and the system standby within 100 milliseconds, realize task-level dual-machine hot standby, improve the task reliability of computer equipment, and meet some application scenarios with high requirements on real-time performance and high reliability of computer equipment.

[0042] It should be emphasized that the embodiments described in the present invention are illustrative rather than restrictive. Therefore, the present invention includes but is not limited to the embodiments described in the specific implementation manner. Any other implementation manners derived by those skilled in the art based on the technical solution of the present invention also fall within the scope of protection of the present invention.

Claims

1. A method for a task-level dual-machine hot standby system based on a management platform, characterized in that: The system used includes a host A, a host B, a redundant power supply A, a redundant power supply B, an intelligent management platform, an external device, a command center and a human-computer interaction device, wherein the management platform is connected to the host A and the host B via a network interface, a serial interface, a CPCI bus, a VGA and a USB signal interface, is connected to the command center via a network interface and a serial interface, is connected to external devices via a serial interface and an A / D interface, is connected to the human-computer interaction device via a VGA and a USB signal interface, the redundant power supply A, the host A and the management platform are connected to the CPCI bus, and the redundant power supply B, the host B and the management platform are connected to the CPCI bus; The management platform includes an external interface conversion module, a KVM switching module, a data synchronization module and a watchdog module, and is controlled by ARM and FPGA, wherein the external interface conversion module and the KVM switching module are controlled by FPGA, the data synchronization module and the watchdog module are controlled by ARM, and ARM is connected to FPGA via a GPMC bus; The host A and the host B are exactly the same, the redundant power supplies A and the redundant power supplies B are exactly the same, the management platform defaults host A as the system host, host B as the system standby, the serial interface and A / D interface of the system host are connected to the device, and the system standby is not connected to the device; The method comprises the following steps: Step 1: After host A and host B are powered on, the management platform defaults host A as the system host and host B as the system standby; the system host and the system standby respectively send startup completion signals to the management platform and prepare to receive external task instructions; the management platform receives the task command from the command center and forwards the task instruction to the system host and the system standby, and the system host and the system standby synchronously execute the received task instructions; Step 2: The management platform determines the operation status of the system host and the system standby machine. If the system host and the system standby machine are operating normally, the system host and the system standby machine continue to execute the task instructions. If the system host is abnormal, proceed to step 3; if the system standby machine is abnormal, proceed to step 4. Step 3: The management platform switches the system host and the system standby machine; Step 4: The management platform restarts the system standby machine and puts it in hot standby state.

2. The method of a task-level dual-machine hot standby system based on a management platform according to claim 1, characterized in that: The specific implementation method of step 2 is: the system host and the system standby machine start the timed watchdog feeding task, and send a watchdog feeding operation to the management platform through the serial interface at a certain time interval. At the same time, the system host and the system standby machine accumulate the counts of the task instructions received and executed, and send the task instruction counting results to the management platform. The management platform updates the count of the executed task instructions. At the same time, the management platform compares the task instruction counts of the system host and the system standby machine to determine the operation status of the main and standby machines.

3. The method of a task-level dual-machine hot standby system based on a management platform according to claim 2, characterized in that: The dog feeding task is to set a certain time timeout to trigger a computer hardware reset signal; the method for the management platform to update the execution task instruction count is that when the system host and the system standby machine are operating normally, the management platform synchronizes the task instruction and execution result data. For the execution results involving the external device status, the management platform forwards the system host execution result to the system standby machine, and the system standby machine updates the latest task execution result. When the execution task instruction counts of the system host and the system standby machine are the same, the watchdog timeout interrupt is not triggered, wherein the serial interface and A / D interface of the system host are connected to the external device, and the system standby machine is not connected to the external device.

4. The method of a task-level dual-machine hot standby system based on a management platform according to claim 1, characterized in that: The specific implementation method of step 3 is as follows: if the system host's CPU is blocked in a task and cannot send the watchdog hardware feeding operation on time, the system host watchdog of the management platform triggers a timeout interrupt and sends a system host reset signal, and the management platform starts a hardware reset of the system host; if the system host has other communication abnormalities, the scheduled dog feeding signal is normal, but the task instruction count cannot be sent correctly, after the system standby machine completes the task, the management platform calculates that the host task instruction count is less than the standby machine task instruction count, determines that the host has an abnormality, and starts a hardware reset of the host.

5. The method of a task-level dual-machine hot standby system based on a management platform according to claim 4, characterized in that: The specific method for starting the hardware reset host is that the management platform starts the hardware reset host and at the same time switches the serial interface and A / D interface of the external device to connect with the system standby machine. At this time, the system standby machine becomes the host to realize the collection and control of the external device; after the original system host is restarted, it becomes the new system standby machine. The management platform sends the latest task instruction count of the system host to the new system standby machine, synchronizes data information, and the new system standby machine sends the task instruction count and timed dog feeding operation to the management platform.

6. The method of a task-level dual-machine hot standby system based on a management platform according to claim 1, characterized in that: The specific implementation method of step 4 is: if the system standby machine has an abnormality, the management platform resets the system standby machine through hardware. After the system standby machine restarts, the management platform sends synchronization data to the system standby machine, so that the system standby machine is always in a hot standby state.