Dual-redundancy KVM computer based on Feiteng platform and switching control method thereof
By designing a dual-redundant KVM computer based on the Phytium platform, the problems of insufficient reliability and high hardware resource consumption of independently developed computers were solved, achieving efficient computing system management and maintenance, and improving the system's reliability and integration.
Patent Information
- Application Number
- CN202510997952.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-20
- Publication Date
- 2025-11-07
AI Technical Summary
Existing domestically developed computers have shortcomings in reliability and performance, and multiple computer systems consume a lot of hardware resources and have high maintenance costs.
Design a dual-redundant KVM computer based on the Phytium platform, including motherboard modules A/B, a management module, a KVM switching module, and a power module. The management module records the motherboard status and sends switching commands, while the KVM switching module performs signal switching. It supports key presses, keyboard shortcuts, and automatic switching to improve system reliability.
It achieves high reliability and high integration of dual-redundant computers, saves hardware resources, reduces maintenance costs, supports multi-channel display and automatic switching of USB interfaces, and is suitable for complex usage scenarios in data centers and computer rooms.
Smart Images

Figure CN120909447A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of communication, and relates to a dual-redundancy KVM computer and a switching control method thereof, in particular to a dual-redundancy KVM computer based on a Feiteng platform and a switching control method thereof. BACKGROUND
[0002] Under the background of accelerating the construction of a safe and controllable information technology system, independent computer development has been the focus of national development in recent years. Whether it is Feiteng, Loongson CPU, or Kirin operating system, great progress has been made.
[0003] However, the current independent development of computers still exposes problems such as low reliability and insufficient performance, and there is a large optimization space. In addition, with the continuous improvement of informatization, computers have taken on more complex data storage and task processing tasks in various fields. The use of a large number of data centers and computer rooms has also brought more complex usage scenarios and control tasks, and multi-computer or server clusters are becoming more and more common. A large hardware cluster will occupy a large amount of hardware resources, thereby reducing the working efficiency of the computing system and bringing huge maintenance costs.
[0004] Therefore, in view of the above two problems, the present application provides a dual-redundancy KVM computer based on a Feiteng platform and a switching control method thereof.
[0005] After searching, no existing technical disclosure literature identical or similar to the present application has been found. SUMMARY
[0006] The purpose of the present application is to overcome the shortcomings of the prior art, provide a dual-redundancy KVM computer based on a Feiteng platform and a switching control method thereof, and introduce a KVM switching module to facilitate management and maintenance, thereby improving the working efficiency of a multi-computer integrated system.
[0007] The present application solves its practical problems by adopting the following technical solutions:
[0008] A dual-redundancy KVM computer based on a Feiteng platform, comprising: a mainboard module A, a mainboard module B, a management module, a KVM switching module, and a power module;
[0009] The management module is connected with the main control module A, the main control module B, and the KVM switching module, and the management module integrates a KVM switching control program, is responsible for recording the working state of the mainboard module A and the mainboard module B, reporting fault information, and sending a switching instruction to the KVM switching module;
[0010] The KVM switching module is connected with the mainboard module A and the mainboard module B, responsible for receiving HDMI and USB signals output by the double mainboards, and switching the multi-channel HDMI and USB signals according to the key signal or the management module instruction message;
[0011] The KVM switching module is also connected with external devices, so that the double-redundancy computer can provide 4-channel HDMI display and 6-channel USB interface signals.
[0012] Moreover, the mainboard module A and the mainboard module B output 4-channel HDMI display and 6-channel USB interface signals respectively; the input of the KVM switching module is 8-channel HDMI display and 12-channel USB interface signals output by the two mainboards, and the signals of one of the mainboards can be selected for output.
[0013] Moreover, the management module communicates with the mainboard module A, the mainboard module B and the KVM switching module through a serial port, receives the heartbeat message of the mainboard module A and the mainboard module B, and sends a switching instruction to the KVM switching module when one of the mainboards fails or the user switches the display mainboard through a keyboard shortcut, and receives the state signal of the KVM switching module to record the switching information.
[0014] Moreover, the management module can control which mainboard to output and actively switch through a key or a keyboard shortcut, or automatically switch when the running mainboard fails; the management module takes a single-chip microcomputer as a main control chip, responsible for serial communication with the mainboard module A, the mainboard module B and the KVM switching module through an RS-232 interface chip, receiving the mainboard heartbeat message and controlling the KVM switching module to switch; the RS-232 interface chip is used to realize the conversion function from TTL to RS-232 electrical system.
[0015] Moreover, the HDMI switching chip of the KVM switching module is responsible for receiving the HDMI signal output by the mainboard and performing gating output; the USB differential switch of the KVM switching module is responsible for receiving the USB signal output by the mainboard and performing gating output;
[0016] Moreover, the KVM switching control program in the management module is written in C language, used to complete serial communication, receive the mainboard heartbeat message according to the specified protocol, make abnormality judgment, send the switching instruction message to the KVM switching module and record the switching state, and the communication transmission rate is set as 9600 bps by default.
[0017] A switching control method of a double-redundancy KVM computer based on a Feiteng platform, comprising the following steps:
[0018] Step 1, define global variables, including: current working mainboard, switching state;
[0019] Step 2, the single-chip microcomputer initializes three serial ports and creates three threads to communicate with the mainboard modules A / B and the KVM switching module respectively;
[0020] Step 3, the messages of the double mainboard modules are received at a fixed time, and it is judged according to the message content whether it is a heartbeat message or a switching message. If it is a heartbeat message, the heartbeat time is recorded, and if a long time is not received, a switching command is sent to the KVM switching module. If it is a switching message, a switching command is directly sent to the KVM switching module.
[0021] Step 4, whether the switching is successful is judged according to the message content sent by the KVM switching module to the management module. If the switching is successful, the global variable of the current working mainboard is changed, and the working state is recorded. If the switching fails, the switching instruction is continuously sent to the KVM switching module.
[0022] Moreover, the KVM switching module of step 3 connects the HDMI and USB signals output by the double mainboard, and performs two-way switching of the multi-channel HDMI and USB signals according to the key signal or the management module instruction message. The KVM switching module has three switching modes: key switching, keyboard shortcut switching and automatic switching. Among them, the user switching through the key has the highest priority, the keyboard switching is the second, and the automatic switching detected by the management module when one of the mainboards fails has the lowest priority.
[0023] Advantages and beneficial effects of the present application:
[0024] 1. The present application proposes a double-redundancy KVM computer based on a Feiteng platform and a switching control method thereof. The switching control is programmed based on a single-chip microcomputer. The double-redundancy computer supports double-host redundancy function. The whole machine can provide 4-way HDMI display and 6-way USB interface signal redundancy switching function. The active switching can be realized through the key and the keyboard shortcut. When the running mainboard fails, the automatic switching can also be realized. The present application expands the multi-channel peripheral interface, which can save a large amount of hardware resources and reduce the maintenance cost.
[0025] 2. The whole machine of the double-redundancy KVM computer based on a Feiteng platform comprises a mainboard module A / B, a management module, a KVM switching module and a power module. The KVM switching control program is integrated in the management module, which is responsible for recording the mainboard working state, reporting fault information and sending switching instructions to the KVM switching module. The KVM switching module connects the HDMI and USB signals output by the double mainboard modules A / B, and can perform two-way switching of the multi-channel HDMI and USB signals according to the key signal or the management module instruction message. The present application can avoid the loss of working process caused by the relatively low reliability and insufficient performance of the computing system, and improve the reliability of the computing system through redundancy switching.
[0026] 3, The application supports dual-host redundancy function, has display and control switching function, supports external display and automatic switching of USB interface, supports KVM switching through keyboard shortcut keys and switching keys, and provides 6-way USB interface and 4-way HDMI display interface externally. The application can effectively improve the integration of the computing system and save hardware resources, and based on the dual-redundancy function, the reliability of the computing system can be effectively improved.
[0027] 4, The dual-redundancy computer comprises a mainboard module A, a mainboard module B, a management module, a KVM switching module and a power supply module, supports dual-host redundancy function, and can provide 4-way HDMI display and 6-way USB interface signal redundancy switching function externally. Automatic switching, keyboard switching and key switching functions are realized through mutual communication between the mainboard module, the management module and the KVM switching module. The management module is responsible for receiving heartbeat messages of the two mainboards, reporting fault information when one of the mainboards fails, sending switching instructions to the KVM switching module for display and USB switching, receiving KVM switching module state signals and recording switching information; the KVM switching module can switch the output of 4-way HDMI and 6-way USB signals through the front panel keys, keyboard shortcut keys and the management module. The modules of the dual-redundancy computer adopt standard 6U rugged design, meet the CPEX bus specification, support UEFI firmware, and support the Galaxy Kirin operating system. BRIEF DESCRIPTION OF DRAWINGS
[0028] Figure 1 is the dual-redundancy KVM computer whole module diagram based on the Feiteng platform of the application;
[0029] Figure 2 is the management module function and hardware block diagram of the application;
[0030] Figure 3 is the KVM switching module hardware block diagram of the application;
[0031] Figure 4 is the KVM switching principle diagram of the application;
[0032] Figure 5 is the management module software flow chart of the application;
[0033] Figure 6 is the RKVM switching module USB switching circuit diagram of the application;
[0034] Figure 7 is the KVM switching module HDMI switching circuit diagram of the application;
[0035] Figure 8 is the management module serial port circuit diagram of the application;
[0036] Figure 9It is the management module single-chip microcomputer control circuit diagram of the present application. DETAILED DESCRIPTION
[0037] The present application is further described below in conjunction with the accompanying drawings:
[0038] A dual-redundant KVM computer based on a Feiteng platform, as shown in the figure, comprises a mainboard module A, a mainboard module B, a management module, a KVM switching module and a power module; Figure 1
[0039] The management module is connected with the main control module A, the main control module B and the KVM switching module, and the KVM switching control program is integrated in the management module, which is responsible for recording the working state of the mainboard module A and the mainboard module B, reporting fault information and sending switching instructions to the KVM switching module;
[0040] The KVM switching module is connected with the mainboard module A and the mainboard module B, and is responsible for receiving the HDMI and USB signals output by the dual mainboards and switching the multi-channel HDMI and USB signals according to the key signals or the management module instruction message;
[0041] The KVM switching module is also connected with external devices, so that the dual-redundant computer can provide 4-channel HDMI display and 6-channel USB interface signals to the outside.
[0042] In the embodiment, the mainboard module A and the mainboard module B respectively output 4-channel HDMI display and 6-channel USB interface signals; the input of the KVM switching module is 8-channel HDMI display and 12-channel USB interface signals output by the two mainboards, and the signals of one of the mainboards can be selected for output to the outside.
[0043] In the embodiment, the management module communicates with the mainboard module A, the mainboard module B and the KVM switching module through a serial port, receives the heartbeat message of the mainboard module A and the mainboard module B, and sends switching instructions to the KVM switching module when one of the mainboards fails or the user switches the display mainboard through the keyboard shortcut, and receives the state signal of the KVM switching module to record the switching information.
[0044] In the embodiment, the management module can control which mainboard to output and actively switch through the keys or the keyboard shortcut, or automatically switch when the running mainboard fails; the management module takes a single-chip microcomputer as the main control chip, is responsible for serial communication with the mainboard module A, the mainboard module B and the KVM switching module through an RS-232 interface chip, receives the mainboard heartbeat message and controls the KVM switching module to switch; the RS-232 interface chip is used to realize the conversion function from TTL to RS-232 electrical system,
[0045] In the embodiment, the HDMI switching chip of the KVM switching module is responsible for receiving the HDMI signal output by the mainboard and performing gating output; the USB differential switch of the KVM switching module is responsible for receiving the USB signal output by the mainboard and performing gating output.
[0046] In the embodiment, the KVM switching control program in the management module is written in C language and is used for completing serial communication, receiving the mainboard heartbeat message according to a specified protocol, performing abnormality judgment, sending a switching instruction message to the KVM switching module and recording the switching state, and the communication transmission rate is 9600 bps by default.
[0047] The functions and roles of the modules in the dual-redundancy KVM computer based on the Feiteng platform are as follows:
[0048] The overall hardware architecture of the dual-redundancy computer is as shown in Figure 1 The overall hardware architecture of the dual-redundancy computer is as shown in The overall hardware architecture of the dual-redundancy computer is as shown in
[0049] The overall hardware architecture of the dual-redundancy computer is as shown in Figure 2 The overall hardware architecture of the dual-redundancy computer is as shown in The overall hardware architecture of the dual-redundancy computer is as shown in
[0050] The overall hardware architecture of the dual-redundancy computer is as shown in Figure 3 The overall hardware architecture of the dual-redundancy computer is as shown in The overall hardware architecture of the dual-redundancy computer is as shown in
[0051] Each module adopts a standard CPEX 6U board card form, and the overall appearance size is: 482mm (wide) x 132mm (high) x 311mm (deep), and the tolerance is ±2mm.
[0052] A switching control method of a dual-redundant KVM computer based on a Feiteng platform, comprising the following steps:
[0053] Step 1, define global variables (current working mainboard, switching state);
[0054] Step 2, the single-chip microcomputer initializes three serial ports and creates three threads, respectively, to communicate with the mainboard modules A / B and the KVM switching module through serial ports;
[0055] Step 3, the single-chip microcomputer receives messages of the dual-mainboard modules in a timely manner, judges whether the messages are heartbeat messages or switching messages according to the message content, if the messages are heartbeat messages, records the heartbeat time, and if a long time is not accepted, sends a switching command to the KVM switching module, if the messages are switching messages, directly sends a switching command to the KVM switching module;
[0056] Step 4, the KVM switching module sends a message to the management module to judge whether the switching is successful, if the switching is successful, changes the global variable of the current working mainboard, records the working state, if the switching fails, continues to send a switching instruction to the KVM switching module.
[0057] In the embodiment, the KVM switching module of step 3 is connected to HDMI and USB signals output by the dual-mainboard, and two-way HDMI and USB signals are switched according to a key signal or a management module instruction message; the KVM switching module has three switching modes: key switching, keyboard shortcut key switching and automatic switching, wherein the user has the highest priority through key switching, the keyboard switching is followed, and the management module detects one of the mainboards to fail to have the lowest priority of automatic switching.
[0058] The working principle of the application is:
[0059] The purpose of the present application is to provide a dual-redundant KVM computer based on a Feiteng platform and a switching control method thereof. The whole machine is composed of a mainboard module A / B, a management module, a KVM switching module and a power module. The dual-redundant computer supports dual-host redundancy function, can provide 4-way HDMI display and 6-way USB interface signal redundancy switching function, and can actively switch through a key, keyboard shortcut, and automatically switch when the running mainboard fails. The KVM switching control program is integrated in the management module, responsible for recording the working state of the mainboard, reporting fault information and sending switching instructions to the KVM switching module. The KVM switching module connects the HDMI and USB signals output by the dual mainboards, and can switch the multi-channel HDMI and USB signals according to the key signal or management module instruction message.
[0060] The KVM has three switching modes: key switching, keyboard shortcut switching and automatic switching. Among them, the user has the highest priority through key switching, the keyboard switching is second, and the management module detects the failure of one of the mainboards for automatic switching with the lowest priority. The management module processes automatic switching and keyboard control switching, and the key switching signal is directly connected to the KVM switching module, and the switching button action instruction is sent to the management module for identification and confirmation. The front panel status indicator light signal is provided by the management module to monitor whether the mainboard is working normally. The software program is realized by a GD32 single-chip microcomputer.
[0061] The dual-redundant computer switching control software described in the present application is written in C language, mainly completes serial communication, receives mainboard heartbeat messages according to the specified protocol, judges abnormalities, sends switching instruction messages to the KVM switching module and records the switching state. The communication transmission rate is 9600 bps by default.
[0062] The management module processes automatic switching and keyboard control switching, and the switching button signal is directly connected from the KVM switching module, and the switching button action instruction is sent to the management module for identification and confirmation. The front panel status indicator light signal is provided by the management module to monitor whether the mainboard is working normally. The software program is realized by a GD32 single-chip microcomputer.
[0063] The working state of the redundant computer has the following three conditions: the mainboard A / B is normal; the mainboard A is normal and the mainboard B is abnormal; the mainboard A is abnormal and the mainboard B is normal; and the mainboard A / B is abnormal.
[0064] Among them, the KVM switching principle diagram is as shown in Figure 4 , and the default state after power-on is that the mainboard module A outputs HDMI and USB signals to the outside through KVM, as shown in Figure 4 ①.
[0065] I. Both mainboards A / B are normal
[0066] Manually switch button status: Taking the current motherboard module A outputting HDMI and USB signals via KVM as an example, the path is as follows: Figure 4 As shown in ①, the motherboard module B can output HDMI and USB signals to the outside world via the KVM by manually switching the button (directly controlling the KVM). The same applies when the motherboard module B is currently outputting signals to the outside world.
[0067] Keyboard shortcut key switching state: Taking the current motherboard module A outputting HDMI and USB signals to the outside world through KVM as an example, the path is as follows: Figure 4 As shown in ①, motherboard module B can output HDMI and USB signals to the outside world via KVM by using keyboard shortcut keys (sending the switching command to the management module through the current motherboard module (path ①)). The same applies when motherboard module B is currently outputting signals.
[0068] Automatic switching status: Automatic switching will not occur when there is no motherboard failure.
[0069] II. Motherboard B is malfunctioning, while motherboard A is functioning normally.
[0070] Manually switch button status: Currently, motherboard module A outputs HDMI and USB signals via KVM, as shown in the path below. Figure 4 As shown in ①. When switching via the manual switch button, since manual switching has the highest priority, even if motherboard B is faulty, motherboard B can still be displayed externally. When the management module does not receive messages from motherboard B for a period of time, it will automatically switch back to the normal motherboard display.
[0071] Keyboard shortcut key toggle state: Currently, motherboard module A outputs HDMI and USB signals to the outside world via KVM, the path is as follows: Figure 4 As shown in ①. When switching via keyboard shortcuts, since the shortcuts have a higher priority, even if motherboard B is faulty, motherboard B can still be displayed externally. When the management module does not receive messages from motherboard B for a period of time, it will automatically switch back to the normal motherboard display.
[0072] Automatic state switching: When the current output is from motherboard module A, automatic switching will not occur, and only the abnormal state of motherboard B will be recorded; when the current output is from motherboard module B, if the management module does not receive messages from motherboard B for a period of time, it will automatically switch to display from motherboard A.
[0073] III. Motherboard A is malfunctioning, Motherboard B is functioning normally.
[0074] Manually switch button status: Currently, motherboard module B outputs HDMI and USB signals via KVM, as shown in the path... Figure 4As shown in the middle ②. When switching through the manual switch button, since the manual switch has the highest priority, in the state of mainboard A failure, mainboard A can also realize external display, and when the management module cannot receive the message of mainboard A for a period of time, it will automatically switch back to the normal mainboard display.
[0075] Keyboard shortcut key switching state: the current mainboard module B outputs HDMI and USB signals externally through KVM, and the path is as shown in Figure 5 As shown in the middle ②. When switching through the keyboard shortcut key, since the shortcut key switching has higher priority, in the state of mainboard A failure, mainboard A can also realize external display, and when the management module cannot receive the message of mainboard A for a period of time, it will automatically switch back to the normal mainboard display.
[0076] Automatic switching state: when the current mainboard module B outputs externally, no automatic switching is performed, and only the abnormal state of mainboard A is recorded; when the current mainboard module A outputs externally, after the management module cannot receive the message of mainboard A for a period of time, it will automatically switch to mainboard B display.
[0077] Four, both mainboard A / B are abnormal
[0078] When both mainboards fail, no automatic switching is performed.
[0079] Figure 6 For the software work flow of the management module, after the system starts, the software starts running. Step 1: define global variables (current working mainboard, switching state); step two: single-chip microcomputer initializes three serial ports and creates three threads to communicate with mainboard modules A / B and KVM switching module respectively; step three: receive messages of mainboard modules regularly, judge whether the message content is heartbeat message or switching message, if it is heartbeat message, record the heartbeat time, and when no heartbeat is received for a long time, send a switching command to the KVM switching module, if it is a switching message, directly send a switching command to the KVM switching module; step 4: judge whether the switching is successful through the message content sent by the KVM switching module to the management module, if the switching is successful, change the global variable of the current working mainboard, record the working state, if the switching fails, continue to send a switching instruction to the KVM switching module.
[0080] The USB switching circuit is as shown in Figure 7As shown, the gating output of the USB signal is controlled by the USB differential switch, the differential switch chip can switch four differential channels, can switch two complete channels from one source to one of two target positions, also supports one target device connected with two source devices, for example, two platforms share the same peripheral. With a single control line (SEL pin), it can be used to control the signal path between port A and port B, the port bandwidth is greater than or equal to 6GHz. In the application, 6-way USB switching is required, two pieces of USB differential switch are cascaded, and the SEL signal is used as the control signal.
[0081] The HDMI switching circuit is as shown in Figure 8 As shown, the HDMI switching chip signal rate can realize the switching of 3-in-1-out of the HDMI signal, and can support the HDMI input signal of 4K*2K@30HZ resolution at most. The internal switch of DDC and HPD channel is integrated at the same time, which is switched with the corresponding TMDS channel. Only two channels are used in the application, and the unused channels and DDC, HPD signals are suspended, the chip has I2C, IO switching, and the IO switching can only be switched by polling, because the channel is suspended in the scheme, the invalid switching button is avoided, and the I2C signal is controlled.
[0082] Management module circuit: the management module communicates with the mainboard and the KVM switching module through the single-chip microcomputer extension three-way RS232 serial port, and the related circuit is as shown in Figure 9 、 .
[0083] It should be emphasized that the embodiments described in the application are illustrative rather than limiting, and therefore the application includes but is not limited to the embodiments described in the specific embodiments, and any other embodiments derived from the technical solutions of the application by those skilled in the art also belong to the protection scope of the application.
Claims
1. A dual-redundant KVM computer based on Feiteng platform, characterized in that: include: Mainboard Module A, Mainboard Module B, Management Module, KVM Switching Module, and Power Module; The management module is connected to the main control module A, the main control module B and the KVM switching module respectively. The management module integrates the KVM switching control program, which is responsible for recording the working status of the main control module A and the main control module B, reporting fault information and sending switching commands to the KVM switching module. The KVM switching module is connected to motherboard module A and motherboard module B, and is responsible for receiving HDMI and USB signals output from the two motherboards, and switching between multiple HDMI and USB signals according to button signals or management module instruction messages. The KVM switching module also connects to external devices, enabling the dual-redundant computer to provide four HDMI displays and six USB interface signals.
2. The dual-redundant KVM computer based on the Feiteng platform according to claim 1, characterized in that: The motherboard module A and motherboard module B output 4 HDMI display signals and 6 USB interface signals respectively; the input of the KVM switching module is a total of 8 HDMI display signals and 12 USB interface signals from the two motherboards, and it can select one of the motherboards to output the signal to the outside.
3. The dual-redundant KVM computer based on the Feiteng platform according to claim 1 or 2, characterized in that: The management module communicates with motherboard module A, motherboard module B, and KVM switching module via serial port, and receives heartbeat messages from motherboard module A and motherboard module B. When one of the motherboards fails or the user switches the display motherboard via keyboard shortcut, the management module sends a switching command to the KVM switching module, and at the same time receives the status signal of the KVM switching module and records the switching information.
4. The dual-redundant KVM computer based on the Feiteng platform according to claim 1 or 2, characterized in that: The management module can control which motherboard outputs and can actively switch via buttons or keyboard shortcuts, or automatically switch when the running motherboard fails. The management module uses a microcontroller as the main control chip and is responsible for serial communication with motherboard module A, motherboard module B and KVM switching module through an RS-232 interface chip. It receives motherboard heartbeat messages and controls the KVM switching module to switch. The RS-232 interface chip is used to implement the TTL to RS-232 electrical conversion function.
5. The dual-redundant KVM computer based on the Feiteng platform according to claim 1 or 2, characterized in that: The HDMI switching chip of the KVM switching module is responsible for receiving the HDMI signal output from the motherboard and performing selection output; the USB differential switch of the KVM switching module is responsible for receiving the USB signal output from the motherboard and performing selection output.
6. The dual-redundant KVM computer based on the Feiteng platform according to claim 1 or 2, characterized in that: The KVM switching control program in the management module is written in C language and is used to complete serial communication. It receives heartbeat messages from the motherboard according to the specified protocol, performs anomaly judgment, sends switching command messages to the KVM switching module and records the switching status. The default communication transmission rate is 9600bps.
7. A switching control method for a dual-redundant KVM computer based on a Feiteng platform, characterized in that: Includes the following steps: Step 1: Define global variables, including: the current working motherboard and the switching state; Step 2: The microcontroller initializes the three serial ports and creates three threads to communicate with the motherboard modules A / B and the KVM switching module via serial ports respectively. Step 3, the message of the double mainboard module is received in time, and it is judged according to the message content whether it is a heartbeat message or a switching message; if it is a heartbeat message, the heartbeat time is recorded; if a long time is not accepted, a switching command is sent to the KVM switching module; if it is a switching message, a switching command is directly sent to the KVM switching module; Step 4, whether the switching is successful is judged according to the message content sent by the KVM switching module to the management module; if the switching is successful, the global variable of the current working mainboard is changed, and the working state is recorded; if the switching fails, the switching instruction is continuously sent to the KVM switching module.
8. The switching control method of a dual-redundant KVM computer based on the Feiteng platform according to claim 7, characterized in that: The KVM switching module of step 3 is connected with the HDMI and USB signals output by the double mainboards, and the multi-channel HDMI and USB signals are switched according to the key signal or the instruction message of the management module; the KVM switching module has three switching modes: key switching, keyboard shortcut switching and automatic switching; among them, the user has the highest priority through key switching, the keyboard switching is the second, and the automatic switching has the lowest priority when the management module detects that one of the mainboards fails.
Citation Information
Patent Citations
Hot standby dual-redundancy computer control system for AUV (Autonomous Underwater Vehicle)
CN116089176A
Domestic KVM switching system
CN116339527A
Modular KVM switching system
US20230297532A1