A computer system and its management system

By setting up the automatic switching function of multiple communication links and monitoring components in the computer system, the problem of unstable switching power supply communication links is solved, the communication stability and reliability of the system are improved, and the normal operation of power management is ensured.

CN118567461BActive Publication Date: 2024-11-26INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411038332.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-26
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

There is instability in the design of the communication link of switching power supply in existing computer systems, especially the UART communication between primary DSP and secondary DSP is easily affected by temperature, resulting in communication failure and affecting the operation of the overall system.

Method used

Set up multiple communication links in the computer system and realize link switching between monitoring components. When the current link abnormality is detected, it will automatically switch to the backup link to ensure the stability and reliability of data transmission.

Benefits of technology

Through the redundant multiple communication links and automatic switching function of monitoring components, the communication stability and reliability of switching power supplies are improved, and the power management failure caused by link failure is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567461B_ABST
    Figure CN118567461B_ABST
Patent Text Reader

Abstract

The present invention discloses a computer system and its management system, which relates to the field of computers. In order to solve the problem that the abnormal communication link of the primary side and the secondary side of the power supply of the switching power supply leads to the failure of power management, the system includes a plurality of communication links arranged between a baseboard management controller and the switching power supply; a monitoring component, the monitoring component is used to perform a link switching operation when receiving a switching instruction sent by a monitoring component of other communication sides, and when not receiving a switching instruction sent by a monitoring component of other communication sides, monitor the actual communication state of the current communication link on the local communication side, if the actual communication state is an abnormal state, determine the target communication link, perform a link switching operation, and output a switching instruction. The present invention can seamlessly switch to other standby communication links when the currently used communication link is abnormal, thereby improving the communication stability and reliability of the switching power supply.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a computer system and a management system thereof. Background Art

[0002] The switching power supply in the computer system is a highly efficient power conversion device. The side of the switching power supply connected to the input power supply is called the primary side of the power supply, and the side of the switching power supply generating the output voltage and current is called the secondary side of the power supply. The switching power supply provides the required output voltage and current by converting energy between the primary side and the secondary side. In order to improve the performance, flexibility and intelligence of the switching power supply, independent DSPs (Digital Signal Processing) are configured on the primary side and the secondary side of the switching power supply to perform real-time regulation and control on the working status of the primary side and the secondary side of the power supply, respectively, and realize data interaction between the primary side and the secondary side of the power supply.

[0003] Usually, the primary DSP set on the primary side of the power supply and the secondary DSP set on the secondary side of the power supply communicate via UART (Universal Asynchronous Receiver / Transmitter) through optocouplers. The primary DSP transmits the input temperature, voltage, current, power and other parameters to the secondary side of the power supply. The secondary DSP then summarizes the output parameters and input parameters and reports them to the server's BMC (Baseboard Management Controller) module in real time through IIC (Inter-Integrated Circuit) communication for monitoring and management. In the entire switching power supply, if there is a problem in the communication link from the primary DSP, the secondary DSP to the server BMC, for example, the optocoupler device used for UART communication from the primary DSP to the secondary DSP is greatly affected by temperature, resulting in communication failure, the entire data communication will report an error. Therefore, the reliability of this communication design is not high. Once the communication link fails, it may cause power management failure and affect the operation of the overall system.

[0004] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the invention

[0005] The purpose of the present invention is to provide a computer system and its management system, which can seamlessly switch to other backup communication links when the currently used communication link is abnormal, thereby improving the communication stability and reliability of the switching power supply.

[0006] To solve the above technical problems, the present invention provides a computer system, including a baseboard management controller and a switching power supply, and the computer system also includes:

[0007] A plurality of communication links provided between the baseboard management controller and the switching power supply, each of the communication links being used to transmit data between the switching power supply and the baseboard management controller;

[0008] The power supply primary side, the power supply secondary side and the baseboard management controller side of the switching power supply are all provided with monitoring components, and the monitoring components are used to perform a link switching operation when receiving a switching instruction sent by a monitoring component of other communication sides, and monitor the actual communication state of the current communication link on the local communication side when not receiving a switching instruction sent by a monitoring component of other communication sides, and if the actual communication state is an abnormal state, determine a target communication link, perform the link switching operation, and output the switching instruction including information of the target communication link;

[0009] The link switching operation includes switching the current communication link to the target communication link.

[0010] Wherein, each of the communication links comprises communication modules respectively arranged at a plurality of the communication sides, and the plurality of communication sides comprises the primary side of the power supply, the secondary side of the power supply and the baseboard management controller side;

[0011] The process of monitoring the actual communication status of the current communication link on the local communication side includes:

[0012] Monitoring the actual communication status between the communication module provided at the local communication side and the associated communication module provided at other communication sides in the current communication link;

[0013] The process of switching the current communication link to the target communication link includes:

[0014] The current communication module on the local communication side is switched from the communication module arranged on the local communication side in the current communication link to the communication module arranged on the local communication side in the target communication link.

[0015] The plurality of communication links include a main communication link and at least one backup communication link, the communication module in the main communication link is a wired communication module, and the communication module in the backup communication link is a wireless communication module;

[0016] The process of determining the target communication link includes:

[0017] A backup communication link is determined as a target communication link among the communication links except the current communication link.

[0018] Among them, the wireless communication module arranged on the primary side of the power supply and / or the secondary side of the power supply is used to establish a wireless communication connection with the terminal device after receiving a matching request sent by the terminal device, so that the terminal device can monitor the switching power supply.

[0019] The monitoring operation includes any one or more of a firmware upgrade operation, a power-on operation, a power-off operation, and a cold backup configuration operation.

[0020] Among them, the monitoring component includes multiple monitoring modules, and the monitoring module is used to determine the communication module located on the local communication side in the communication link corresponding to itself as the current communication module when receiving a trigger instruction, monitor the actual communication status between the current communication module and the associated communication modules located on other communication sides, and if the actual communication status is an abnormal state, determine the target communication link and execute the link switching operation.

[0021] The monitoring component is further used to determine the communication type of the current communication link, and determine the associated communication module provided at the other communication side according to the communication type, wherein the communication type includes wireless communication or wired communication.

[0022] The process of monitoring the actual communication status between the communication module provided at the local communication side and the associated communication module provided at other communication sides in the current communication link includes:

[0023] Determine the communication type of the current communication link; the communication type includes wired communication or wireless communication;

[0024] determining at least one phase to be monitored corresponding to the communication type;

[0025] In each of the to-be-monitored stages, the actual communication status between the communication module disposed on the local communication side and the associated communication modules disposed on other communication sides in the current communication link is monitored.

[0026] The process of determining at least one to-be-monitored phase corresponding to the communication type includes:

[0027] When the communication type is the wireless communication, determining that the phase to be monitored is the communication phase;

[0028] When the communication type is the wired communication, it is determined that the phase to be monitored includes a pre-communication phase and a communication phase.

[0029] The process of monitoring the actual communication status between the communication module provided at the local communication side and the associated communication module provided at other communication sides in the current communication link in each of the to-be-monitored stages includes:

[0030] For each of the to-be-monitored stages, communication data corresponding to the to-be-monitored stage is acquired, and an actual communication state between a communication module disposed on a local communication side and associated communication modules disposed on other communication sides in a current communication link is determined based on the communication data.

[0031] Among them, for each of the to-be-monitored stages, the process of obtaining the communication data corresponding to the to-be-monitored stage, and determining the actual communication state between the communication module provided on the local communication side and the associated communication module provided on the other communication side in the current communication link according to the communication data includes:

[0032] When the to-be-monitored stage is the pre-communication stage, obtaining an actual level state on a transmission line between a communication module provided on a local communication side and an associated communication module provided on other communication sides in the current communication link;

[0033] Determining whether the actual level state is a preset fault level state;

[0034] If not, determining that the actual communication state between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link is a normal state;

[0035] If so, determining whether the duration of the actual level state being the preset fault level state is greater than a preset time;

[0036] If the duration is greater than the preset time, it is determined that the actual communication state between the communication module arranged at the local communication side and the associated communication module arranged at the other communication side in the current communication link is an abnormal state.

[0037] Among them, for each of the to-be-monitored stages, the process of obtaining the communication data corresponding to the to-be-monitored stage, and determining the actual communication state between the communication module provided on the local communication side and the associated communication module provided on the other communication side in the current communication link according to the communication data includes:

[0038] When the to-be-monitored stage is the pre-communication stage, controlling the communication module provided on the local communication side in the current communication link to output at least one pre-communication instruction to the associated communication module;

[0039] Determining whether pre-communication success data returned by the associated communication module based on any of the pre-communication instructions is detected;

[0040] If so, determining that the actual communication state between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link is a normal state;

[0041] If not, it is determined that the actual communication state between the communication module arranged at the local communication side and the associated communication module arranged at the other communication side in the current communication link is an abnormal state.

[0042] Among them, for each of the to-be-monitored stages, the process of obtaining the communication data corresponding to the to-be-monitored stage, and determining the actual communication state between the communication module provided on the local communication side and the associated communication module provided on the other communication side in the current communication link according to the communication data includes:

[0043] When the to-be-monitored stage is the communication stage, determining a communication indicator corresponding to the communication type and a reference range corresponding to the communication indicator;

[0044] Acquire communication data between a communication module provided at a local communication side and an associated communication module provided at other communication sides in a current communication link;

[0045] Calculating the communication index according to the communication data;

[0046] Determining whether any of the communication indicators is not within its corresponding reference range;

[0047] If so, determining that the actual communication state between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link is an abnormal state;

[0048] If not, it is determined that the actual communication state between the communication module arranged at the local communication side and the associated communication module arranged at the other communication side in the current communication link is a normal state.

[0049] Among them, for each of the to-be-monitored stages, the process of obtaining the communication data corresponding to the to-be-monitored stage, and determining the actual communication state between the communication module provided on the local communication side and the associated communication module provided on the other communication side in the current communication link according to the communication data includes:

[0050] When the to-be-monitored stage is the communication stage, determining whether there is communication data that has not been successfully transmitted due to timeout between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link;

[0051] If so, determining that the actual communication state between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link is an abnormal state;

[0052] If not, it is determined that the actual communication state between the communication module arranged at the local communication side and the associated communication module arranged at the other communication side in the current communication link is a normal state.

[0053] In order to solve the above technical problems, the present invention further provides a management system for a computer system, wherein the computer system is a computer system as described in any one of the above, and the management system comprises:

[0054] The terminal device is used to monitor the switching power supply in the computer system.

[0055] The present invention provides a computer system, which sets multiple redundant communication links for a switching power supply and a baseboard management controller. When any monitoring component detects that the currently used communication link is abnormal, it triggers the monitoring components of other communication monitoring sides while performing a communication switching operation, so as to seamlessly switch to other backup communication links, thereby improving the communication stability and reliability of the switching power supply. The present invention also provides a management system for a computer system, which has the same beneficial effects as the above-mentioned computer system. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0057] Figure 1 A schematic diagram of the structure of a first computer system provided by the present invention;

[0058] Figure 2 A schematic diagram of the structure of a second computer system provided by the present invention;

[0059] Figure 3 A schematic diagram of the structure of a third computer system provided by the present invention;

[0060] Figure 4 A schematic diagram of the structure of a fourth computer system provided by the present invention;

[0061] Figure 5 A monitoring flow chart provided by the present invention;

[0062] Figure 6 A schematic diagram of the structure of a fifth computer system provided by the present invention;

[0063] Figure 7 This is a structural schematic diagram of a management system of a computer system provided by the present invention. DETAILED DESCRIPTION

[0064] The core of the present invention is to provide a computer system and its management system, which can seamlessly switch to other backup communication links when the currently used communication link is abnormal, thereby improving the communication stability and reliability of the switching power supply.

[0065] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0066] First, please refer to Figure 1 The present invention provides a computer system, including a baseboard management controller 1 and a switching power supply 2, and the computer system also includes:

[0067] A plurality of communication links 3 provided between the baseboard management controller 1 and the switching power supply 2, each communication link 3 being used for transmitting data between the switching power supply 2 and the baseboard management controller 1;

[0068] The power supply primary side, power supply secondary side and baseboard management controller side of the switching power supply 2 are all provided with a monitoring component 4, and the monitoring component 4 is used to perform a link switching operation when receiving a switching instruction sent by the monitoring component 4 of other communication sides, and monitor the actual communication state of the current communication link on the local communication side when not receiving a switching instruction sent by the monitoring component 4 of other communication sides, and if the actual communication state is an abnormal state, determine the target communication link, perform a link switching operation, and output a switching instruction including information of the target communication link;

[0069] The link switching operation includes switching the current communication link to the target communication link.

[0070] In this embodiment, the computer system includes three communication sides, which are respectively arranged at the primary side of the power supply at the end of the switching power supply 2, the secondary side of the power supply of the switching power supply 2, and the baseboard management controller side arranged at the server end. The primary side of the power supply, the secondary side of the power supply, and the baseboard management controller side are respectively provided with a monitoring component 4, and the communication side where the monitoring component 4 is located is the local communication side corresponding to the monitoring component 4. Assuming that the monitoring component 4 includes a first monitoring component, a second monitoring component, and a third monitoring component, and the first monitoring component is arranged at the primary side of the power supply, the primary side of the power supply is the local communication side of the first monitoring component.

[0071] In this embodiment, multiple communication links 3 are set between the baseboard management controller 1 and the switching power supply 2, and the multiple communication links 3 are backup for each other, so that when one communication link 3 is abnormal, it can be switched to other communication links 3 to transmit data between the switching power supply 2 and the baseboard management controller 1. Specifically, each communication link 3 is used to transmit communication data between three communication sides, including but not limited to data between the primary side of the power supply and the secondary side of the power supply, data between the primary side of the power supply and the baseboard management controller 1, and data between the secondary side of the power supply and the baseboard management controller 1, that is, the communication link 3 runs through the primary side of the power supply to the baseboard management controller 1.

[0072] It can be understood that each monitoring component 4 is used to monitor the actual communication state of the current communication link on its local communication side. The current communication link is a communication link 3 currently used by the computer system to transmit data between the switching power supply 2 and the baseboard management controller 1. Taking the first monitoring component as an example, the first monitoring component monitors the actual communication state of the current communication link on the primary side of the power supply, that is, whether the current communication link can normally transmit data between the primary side of the power supply and the secondary side of the power supply and / or the baseboard management controller side. If it cannot be transmitted normally, it means that the actual communication state of the current communication link on the primary side of the power supply is abnormal. When the actual communication state is identified as an abnormal state, in order to ensure the normal monitoring of the switching power supply 2 by the baseboard management controller 1, it is necessary to perform a link switching operation to switch the current communication link to other communication links 3, and the other communication links 3 realize the data transmission between the switching power supply 2 and the baseboard management controller 1. The other communication link 3 selected here is the target communication link in this embodiment. After determining the target communication link, a switching instruction including information of the target communication link is generated, and the switching instruction is sent to the second monitoring component and the third monitoring component, so that the second monitoring component and the third monitoring component synchronously realize the switching of the communication link 3. It can be understood that each monitoring component 4 will monitor the actual communication status of the current communication link on its local communication side, and when it determines that the actual communication status of its local communication side is an abnormal state, it will send a switching instruction including information of the target communication link to the monitoring components 4 on other communication sides. Therefore, even if each monitoring component 4 monitors that there is no abnormality on the local communication side, but receives a switching instruction sent by the monitoring component 4 on other communication sides, it means that the actual communication status of the current communication link on the other communication side is an abnormal state. Therefore, the local communication side must also be switched synchronously to ensure normal communication of the computer system.

[0073] As an optional embodiment, the target communication link can be determined according to the current transmission scenario. The current transmission scenario can be the actual application scenario of the switching power supply 2, or it can be the scenario of what type of data transmission needs to be implemented at present. Of course, as another optional embodiment, the priority of each alternative communication link 3 can also be pre-set, and the priority can be configured by the user. When selecting the target communication link, it can be selected in order from high to low priority, which improves the flexibility and reliability of communication.

[0074] It can be seen that the computer system in this embodiment sets multiple redundant communication links 3 for the switching power supply 2 and the baseboard management controller 1. When any monitoring component 4 detects that the currently used communication link 3 is abnormal, it performs the communication switching operation itself while triggering the monitoring component 4 on the other communication monitoring side to seamlessly switch to other backup communication links, thereby improving the communication stability and reliability of the switching power supply 2.

[0075] Based on the above embodiments:

[0076] In an exemplary embodiment, each communication link 3 includes communication modules respectively arranged at a plurality of communication sides, the plurality of communication sides including a power supply primary side, a power supply secondary side and a baseboard management controller side;

[0077] The process of monitoring the actual communication status of the current communication link on the local communication side includes:

[0078] Monitoring the actual communication status between the communication module provided at the local communication side and the associated communication module provided at other communication sides in the current communication link;

[0079] The process of switching the current communication link to the target communication link includes:

[0080] The current communication module on the local communication side is switched from the communication module arranged on the local communication side in the current communication link to the communication module arranged on the local communication side in the target communication link.

[0081] In this embodiment, each communication link 3 includes communication modules respectively arranged on each communication side. Specifically, each communication link 3 includes at least three communication modules, namely a first communication module, a second communication module and a third communication module. Taking a communication link 3 as an example, the first communication module in the communication link 3 is arranged on the primary side of the power supply, the second communication module in the communication link 3 is arranged on the secondary side of the power supply, and the third communication module in the communication link 3 is arranged on the baseboard management controller side. The first monitoring module monitors the actual communication status between the first communication module and the second communication module and / or the third communication module, that is, determines the communication status of the sub-communication link between the first communication module and the second communication module, and determines the communication status of the sub-communication link between the first communication module and the third communication module.

[0082] Exemplarily, it is assumed that the computer system includes three communication links 3 arranged between the switching power supply 2 and the baseboard management controller 1, namely the first communication link, the second communication link and the third communication link. It is assumed that the current communication link is the first communication link and the target communication link is the third communication link. When the communication link 3 is switched, the first monitoring module arranged on the primary side of the power supply switches the current communication module on the local communication side from the first communication module in the first communication link to the first communication module in the third communication link, the second monitoring module arranged on the secondary side of the power supply switches the current communication module on the local communication side from the second communication module in the first communication link to the second communication module in the third communication link, and the third monitoring component arranged on the baseboard management controller side switches the current communication module on the local communication side from the third communication module in the first communication link to the third communication module in the third communication link.

[0083] In an exemplary embodiment, referring to Figure 2 , the multiple communication links 3 include a main communication link and at least one backup communication link, the communication module in the main communication link is a wired communication module, and the communication module in the backup communication link is a wireless communication module;

[0084] The process of determining the target communication link includes:

[0085] A backup communication link is determined as a target communication link among the communication links 3 except the current communication link.

[0086] In this embodiment, the multiple communication links 3 include a main communication link and at least one backup communication link. Figure 2Only three communication links are shown, namely one main communication link and two backup communication links, and the same applies to other backup communication links. The main communication link uses wired communication to transmit data on the primary side, secondary side and baseboard management controller side of the switching power supply 2, and the backup communication link uses wireless communication to transmit data on the primary side, secondary side and baseboard management controller side of the switching power supply 2. It can be understood that all communication modules in the alternative communication link 3 in this embodiment are wireless communication modules, and the use of wireless technology does not require additional components and wiring inside the switching power supply 2, the power supply and the server motherboard. The main communication link may include but is not limited to a serial link and an IIC link. It can be understood that the main communication link includes a first wired communication module arranged on the primary side of the power supply, a second wired communication module arranged on the secondary side of the power supply, and a third wired communication module arranged on the management and control side of the substrate. The first wired communication module and the second wired communication module perform serial communication through devices such as optocouplers, and the second wired communication module and the third wired communication module perform IIC control through an IIC link. It can be understood that the main communication link is mainly a wired communication technology using PCB routing and optocoupler isolation devices.

[0087] The backup communication link includes a first wireless communication module arranged on the primary side of the power supply, a second wireless communication module arranged on the secondary side of the power supply, and a third wireless communication module arranged on the management and control side of the baseboard. The wireless communication modules in each backup communication link can use the same wireless communication protocol, such as the wireless communication modules in the first backup communication link are all Bluetooth modules, and the wireless communication modules in the second backup communication link can use the same wireless communication protocol as the wireless communication modules in the first backup communication link, or different wireless communication protocols can be used, such as the wireless communication modules in the second backup communication link are all WiFi modules. Of course, in addition to Bluetooth modules and WiFi modules, other wireless communication modules can also be selected for the wireless communication modules, which are not specifically limited in this embodiment.

[0088] When selecting the target communication link, this embodiment selects from the backup communication links using the wireless communication module. In addition to real-time matching, wireless communication does not need to solve the problem of isolated communication. The communication mode is flexible and can achieve one-to-one or one-to-many communication. The primary side of the power supply can communicate directly with the baseboard management controller side, shortening the communication link 3, improving the efficiency and tolerance of communication, and having the advantages of flexibility, non-isolation, and fast communication rate.

[0089] The following is an explanation of the monitoring components 4 on each communication side. For ease of understanding, the monitoring component 4 located on the primary side of the power supply is determined as the first monitoring component, the monitoring component 4 located on the secondary side of the power supply is determined as the second monitoring component, and the monitoring component 4 located on the baseboard management controller side is determined as the third monitoring component. Assuming that the main communication link is the default communication link 3 between the switching power supply 2 and the baseboard management controller 1, when the IIC link and the serial port link of the main communication link are both in normal state, the main communication link transmits data on the primary side of the power supply, the secondary side of the power supply and the baseboard management controller side through wired transmission, and the transmitted data includes but is not limited to temperature data, voltage data, current data, power data, etc.

[0090] It can be understood that the first wired communication module in the main communication link is the current communication module on the primary side of the power supply, and the first monitoring component determines whether a switching instruction sent by the second monitoring component and / or the third monitoring component is received, and the switching instruction includes information corresponding to the target communication link, such as the label of the target communication link, etc. If the first monitoring component receives the switching instruction, it parses the information corresponding to the target communication link in the switching instruction. If the information corresponding to the target communication link indicates that the target communication link is the first backup communication link, the first monitoring component switches the current communication module on the primary side of the power supply from the first wired communication module to the first wireless communication module. If the first monitoring component does not receive the switching instruction, the first monitoring component parses the information corresponding to the target communication link in the switching instruction. When the switching instruction is sent by the second monitoring component and / or the third monitoring component, the first monitoring component first determines the associated communication module located on the secondary side of the power supply and in the same communication link 3 as the first wired communication module. It can be understood that since the current communication module on the primary side of the power supply is the first wired communication module, the associated communication module corresponding to the first wired communication module only includes the second wired communication module located on the secondary side of the power supply. If the current communication module on the primary side of the power supply is the first wireless communication module, the associated communication module corresponding to the first wireless communication module includes the second wireless communication module located on the secondary side of the power supply and the third wireless communication module located on the baseboard management controller side. The first monitoring component monitors the actual communication status between the first wired communication module and the second wired communication module. The actual communication status includes a normal state and an abnormal state. When the actual communication status is a normal state and no switching instruction is received, it is determined that the main communication link is in a normal state, and there is no need to switch the communication link 3. The main communication link can realize the data interaction between the switching power supply 2 and the baseboard management controller 1. When the actual communication status between the first wired communication module and the second wired communication module is an abnormal state, it means that the main communication link is in an abnormal state and needs to be switched to the backup communication link. The backup communication link realizes the data interaction between the switching power supply 2 and the baseboard management controller 1.Specifically, if the first monitoring component detects that the actual communication status between the first wired communication module and the second wired communication module is abnormal, a target communication link is determined among all the backup communication links. Assuming that the determined target communication link is the first alternative communication link 3, the communication switching operation performed on the primary side of the power supply includes switching the current communication module on the primary side of the power supply from the first wired communication module to the first wireless communication module. At the same time, the first monitoring component generates a switching instruction including information of the first alternative communication link 3, and sends the switching instruction to the second monitoring component and the third monitoring component, so that the second monitoring component responds to the switching instruction to perform a communication switching operation, switching the current communication module on the secondary side of the power supply from the second wired communication module to the second wireless communication module, and at the same time, the third monitoring component responds to the switching instruction to perform a communication switching operation, switching the current communication module on the baseboard management controller side from the third wired communication module to the third wireless communication module, thereby realizing seamless switching from the main communication link to the first alternative communication link 3.

[0091] The second monitoring component arranged on the secondary side of the power supply determines whether a switching instruction sent by the first monitoring component and / or the third monitoring component is received, and the switching instruction includes information corresponding to the target communication link. If the second monitoring component receives the switching instruction, it parses the information corresponding to the target communication link in the switching instruction. If the information corresponding to the target communication link indicates that the target communication link is the first backup communication link, the second monitoring component switches the current communication module on the secondary side of the power supply from the second wired communication module to the second wireless communication module. When the second monitoring component does not receive the switching instruction sent by the first monitoring component and / or the third monitoring component, the second monitoring component first determines the associated communication module arranged on the primary side of the power supply and on the baseboard management controller side, which is in the same communication link 3 as the second wired communication module. It can be understood that since the current communication module on the secondary side of the power supply is the second wired communication module, the associated communication modules corresponding to the second wired communication module include the first wired communication module arranged on the primary side of the power supply and the third wired communication module arranged on the baseboard management controller side. The second monitoring component monitors the actual communication status between the second wired communication module and the first wired communication module and the actual communication status between the second wired communication module and the third wired communication module. The actual communication status includes a normal state and an abnormal state. If both actual communication states are normal and no switching instruction is received, it is determined that the main communication link is in a normal state, and there is no need to switch the communication link 3. The data interaction between the switching power supply 2 and the baseboard management controller 1 can be realized by the main communication link. When the actual communication status between the first wired communication module and the second wired communication module is an abnormal state, or when the actual communication status between the third wired communication module and the second wired communication module is an abnormal state, it indicates that the main communication link is in an abnormal state and needs to be switched to the backup communication link. The backup communication link realizes the data interaction between the switching power supply 2 and the baseboard management controller 1.Specifically, if the second monitoring component detects that the actual communication state between the first wired communication module and the second wired communication module is abnormal, or the actual communication state between the third wired communication module and the second wired communication module is abnormal, a target communication link is determined from all backup communication links, assuming that the target communication link is the first alternative communication link 3, the communication switching operation performed by the second monitoring component on the secondary side of the power supply includes switching the current communication module on the secondary side of the power supply from the second wired communication module to the wireless communication module in the first alternative communication link 3 set on the secondary side of the power supply, that is, the second wireless Communication module, at the same time, the second monitoring component generates a switching instruction including information of the first alternative communication link 3, and sends the switching instruction to the first monitoring component and the third monitoring component, so that the first monitoring component responds to the switching instruction to perform a communication switching operation, and switches the current communication module on the primary side of the power supply from the first wired communication module to the first wireless communication module, so that the third monitoring component responds to the switching instruction to perform a communication switching operation, and switches the current communication module on the baseboard management controller side from the third wired communication module to the third wireless communication module, thereby realizing seamless switching from the main communication link to the first alternative communication link 3.

[0092] The third monitoring component arranged on the baseboard management controller side determines whether a switching instruction sent by the second monitoring component and / or the first monitoring component is received, and the switching instruction includes information corresponding to the target communication link. If the third monitoring component receives the switching instruction, the information corresponding to the target communication link in the switching instruction is parsed. If the information corresponding to the target communication link indicates that the target communication link is the first backup communication link, the third monitoring component switches the current communication module on the baseboard management controller side from the third wired communication module to the third wireless communication module. If the third monitoring component does not receive the switching instruction sent by the second monitoring component and / or the first monitoring component, the switching instruction may be performed at the third monitoring component. When a switching instruction is sent, the third monitoring component first determines an associated communication module located on the secondary side of the power supply and in the same communication link 3 as the third wired communication module. It can be understood that since the current communication module on the baseboard management controller side is the third wired communication module, the associated communication module corresponding to the third wired communication module only includes the second wired communication module located on the secondary side of the power supply. If the current communication module on the baseboard management controller side is the third wireless communication module, the associated communication module corresponding to the third wireless communication module includes the second wireless communication module located on the secondary side of the power supply and the first wireless communication module located on the primary side of the power supply. The third monitoring component monitors the actual communication status between the third wired communication module and the second wired communication module. The actual communication status includes a normal state and an abnormal state. When the actual communication status is a normal state and no switching instruction is received, it is determined that the main communication link is in a normal state, and there is no need to switch the communication link 3. The data interaction between the switching power supply 2 and the baseboard management controller 1 can be realized by the main communication link. When the actual communication status between the third wired communication module and the second wired communication module is an abnormal state, it means that the main communication link is in an abnormal state and needs to be switched to the backup communication link. The data interaction between the switching power supply 2 and the baseboard management controller 1 is realized by the backup communication link.Specifically, if the third monitoring component detects that the actual communication state between the third wired communication module and the second wired communication module is abnormal, a target communication link is determined among all the backup communication links. Assuming that the target communication link is the first alternative communication link 3, the communication switching operation performed on the baseboard management controller side includes switching the current communication module on the baseboard management controller side from the third wired communication module to the wireless communication module set on the baseboard management controller side in the first alternative communication link 3, that is, the third wireless communication module. At the same time, the third monitoring component generates a switching instruction including information of the first alternative communication link 3, and sends the switching instruction to the second monitoring component and the first monitoring component, so that the second monitoring component responds to the switching instruction to perform a communication switching operation, switching the current communication module on the secondary side of the power supply from the second wired communication module to the second wireless communication module, so that the first monitoring component responds to the switching instruction to perform a communication switching operation, switching the current communication module on the primary side of the power supply from the first wired communication module to the first wireless communication module, thereby realizing seamless switching from the main communication link to the first alternative communication link 3.

[0093] In an exemplary embodiment, the monitoring component 4 includes multiple monitoring modules, which are used to determine the communication module located on the local communication side in the corresponding communication link 3 as the current communication module when receiving a trigger instruction, monitor the actual communication status between the current communication module and the associated communication modules located on other communication sides, and if the actual communication status is an abnormal state, determine the target communication link and perform a link switching operation.

[0094] It can be understood that when there are multiple communication links 3, each communication side includes multiple communication modules, such as Figure 3As shown, when three communication links 3 are included, the primary side of the power supply includes a first wired communication module, a first wireless communication module and a fourth wireless communication module, the secondary side of the power supply includes a second wired communication module, a second wireless communication module and a fifth wireless communication module, and the baseboard management controller side includes a third wired communication module, a third wireless communication module and a sixth wireless communication module. Still taking the first monitoring component, the second monitoring component and the third monitoring component as an example for explanation, the first monitoring component includes three monitoring modules, namely N11, N12 and N13, wherein N11 is used to monitor the first wired communication module, N12 is used to monitor the first wireless communication module, and N13 is used to monitor the fourth wireless communication module; the second monitoring component includes three monitoring modules, namely N21, N22 and N23, wherein N21 is used to monitor the second wired communication module, N22 is used to monitor the second wireless communication module, and N23 is used to monitor the fifth wireless communication module; the third monitoring component includes three monitoring modules, namely N31, N32 and N33, wherein N31 is used to monitor the third wired communication module, N32 is used to monitor the third wireless communication module, and N33 is used to monitor the sixth wireless communication module. Each of the above-mentioned monitoring modules is used to monitor the actual communication status of the communication module that it needs to monitor and its corresponding associated communication module when receiving the monitoring trigger instruction. The monitoring trigger instruction is used to indicate that the communication module monitored by the monitoring module is the communication module in the communication link 3 that the system currently needs to use. For example, assuming that it is currently necessary to switch to the first alternative communication link 3, then N12, N22 and N32 will receive the monitoring trigger instruction, and N12 starts to monitor the actual communication status between the first wireless communication module and the second wireless communication module and the actual communication status between the first wireless communication module and the third wireless communication module. N22 starts to monitor the actual communication status between the first wireless communication module and the second wireless communication module and the actual communication status between the second wireless communication module and the third wireless communication module, and N32 starts to monitor the actual communication status between the first wireless communication module and the third wireless communication module and the actual communication status between the second wireless communication module and the third wireless communication module. It can be understood that N12, N22 and N32 are interconnected. Assuming that N22 detects that any actual communication status is abnormal, it outputs a switching instruction to both N12 and N32 while executing the communication switching action. The one-to-one monitoring between the monitoring module and the communication module can further improve the communication reliability, improve the switching efficiency, and avoid affecting the power management.

[0095] Of course, it is also possible to set only one monitoring component 4 on each communication side, and the monitoring component 4 monitors all communication modules on its communication side. For example, if only three monitoring components 4 are included, the first monitoring component monitors the actual communication status of the first wired communication module, the first wireless communication module and the fourth wireless communication module, the second monitoring component monitors the second wired communication module, the second wireless communication module and the fifth wireless communication module, and the third monitoring component monitors the third wired communication module, the third wireless communication module and the sixth wireless communication module. The selection can be based on actual project needs, and this embodiment is not limited here.

[0096] In an exemplary embodiment, the monitoring component 4 is also used to determine the communication type of the current communication link, and determine the associated communication module provided at the other communication side according to the communication type, and the communication type includes wireless communication or wired communication.

[0097] In this embodiment, when determining the associated communication module corresponding to the current communication module of a certain communication side, it is necessary to first determine whether the communication side is the primary side of the power supply, the secondary side of the power supply, or the baseboard management controller side, and then determine the communication type of the current communication link. The communication type includes wireless communication or wired communication. If it is wireless communication, the associated communication module of the current communication module includes the associated communication modules arranged on the other two communication sides. If the communication type of the current communication module is wired communication, if the communication side is the primary side of the power supply or the baseboard management controller side, the corresponding associated communication module is one, that is, the wired communication module arranged on the secondary side of the power supply. If the communication side is the secondary side of the power supply, the corresponding associated communication modules are two, that is, the wired communication module arranged on the primary side of the power supply and the wired communication module on the baseboard management controller side.

[0098] In an exemplary embodiment, the process of monitoring the actual communication status between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link includes:

[0099] Determine the communication type of the current communication link; the communication type includes wired communication or wireless communication;

[0100] determining at least one phase to be monitored corresponding to the communication type;

[0101] In each monitoring stage, the actual communication status between the communication module arranged at the local communication side and the associated communication module arranged at other communication sides in the current communication link is monitored.

[0102] It can be understood that if the communication type of the current communication link is wired communication, the communication stage to be monitored of the current communication module includes the communication stage and the pre-communication stage. If the communication type of the current communication module is wireless communication, the communication stage to be monitored of the current communication module includes the communication stage.

[0103] In an exemplary embodiment, the process of monitoring the actual communication status between the communication module provided at the local communication side and the associated communication module provided at other communication sides in the current communication link in each monitoring stage includes:

[0104] For each stage to be monitored, communication data corresponding to the stage to be monitored is obtained, and the actual communication state between the communication module arranged on the local communication side and the associated communication modules arranged on other communication sides in the current communication link is determined according to the communication data.

[0105] It can be understood that in different monitoring stages, the communication data used to determine the actual communication status between the current communication module and the associated communication module on the local communication side is different. Acquiring the communication data between the current communication module and the associated communication module for different monitoring stages can improve the reliability of monitoring and the accuracy of the monitoring results.

[0106] In an exemplary embodiment, for each stage to be monitored, the communication data corresponding to the stage to be monitored is obtained, and the process of determining the actual communication state between the communication module provided on the local communication side and the associated communication module provided on the other communication side in the current communication link according to the communication data includes:

[0107] When the monitored stage is the pre-communication stage, obtaining the actual level state on the transmission line between the communication module provided on the local communication side and the associated communication module provided on the other communication side in the current communication link;

[0108] Determine whether the actual level state is a preset fault level state;

[0109] If not, determining that the actual communication state between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link is a normal state;

[0110] If so, determine whether the duration of the actual level state being the preset fault level state is greater than a preset time;

[0111] If the duration is greater than the preset time, it is determined that the actual communication state between the communication module arranged at the local communication side and the associated communication module arranged at the other communication side in the current communication link is an abnormal state.

[0112] In this embodiment, the monitoring stage before the communication stage is called the self-test stage. Taking serial communication and IIC communication as examples, it can be detected whether the communication link 3 of the clock line and the data line between the current communication module and the associated communication module before the communication starts is turned on, that is, whether there is a situation where the data line or the clock line is always pulled high or low. If there is no such situation, it is a successful self-test, and the actual communication state between the current communication module and the associated communication module is determined to be a normal state, and the current communication module can be turned on normally. It can be understood that if the self-test fails, it is determined that the actual communication state between the current communication module and the associated communication module is an abnormal state, and the monitoring component 4 passes the switching instruction to the monitoring component 4 of the other communication side. Here, the link switching of the primary side, the secondary side and the baseboard management controller side of the power supply can be enabled simultaneously through high and low level I / O signal transmission. It can be understood that if the actual level state is the duration of the preset fault level state does not reach the preset time, other self-test operations can be performed, and then the actual communication state is determined according to the results of other self-test operations.

[0113] In an exemplary embodiment, for each stage to be monitored, the communication data corresponding to the stage to be monitored is obtained, and the process of determining the actual communication state between the communication module provided on the local communication side and the associated communication module provided on the other communication side in the current communication link according to the communication data includes:

[0114] When the monitored stage is a pre-communication stage, controlling a communication module provided on the local communication side in the current communication link to output at least one pre-communication instruction to an associated communication module;

[0115] Determining whether pre-communication success data returned by the associated communication module based on any pre-communication instruction is detected;

[0116] If so, determining that the actual communication state between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link is a normal state;

[0117] If not, it is determined that the actual communication state between the communication module arranged at the local communication side and the associated communication module arranged at the other communication side in the current communication link is an abnormal state.

[0118] In this embodiment, the pre-communication operation is detected and attempted a preset number of times, that is, the current communication module is controlled to output at least one pre-communication instruction to the associated communication module. If any pre-communication success data returned by the associated communication module based on the pre-communication instruction is received, the self-test is determined to be successful.

[0119] In an exemplary embodiment, for each stage to be monitored, the communication data corresponding to the stage to be monitored is obtained, and the process of determining the actual communication state between the communication module provided on the local communication side and the associated communication module provided on the other communication side in the current communication link according to the communication data includes:

[0120] When the monitored phase is a communication phase, determining a communication indicator corresponding to the communication type and a reference range corresponding to the communication indicator;

[0121] Acquire communication data between a communication module provided at a local communication side and an associated communication module provided at other communication sides in a current communication link;

[0122] Calculate communication indicators based on communication data;

[0123] Determine whether any communication indicator is not within its corresponding reference range;

[0124] If so, determining that the actual communication state between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link is an abnormal state;

[0125] If not, it is determined that the actual communication state between the communication module arranged at the local communication side and the associated communication module arranged at the other communication side in the current communication link is a normal state.

[0126] In this embodiment, different communication types and protocol types adopted by different communication modules in this embodiment will affect the communication indicators and reference ranges used to determine the actual communication status between the current communication module and each associated communication module. Therefore, this embodiment first determines the communication indicators and the reference range corresponding to each communication indicator based on the communication type of the current communication module and the protocol type adopted. During the communication stage, the communication indicators are calculated according to the communication data between the current communication module and the associated communication module, and it is determined whether each communication indicator is within its corresponding reference range. If so, it is determined that the actual communication status between the current communication module and the associated communication module is normal. If not, it is determined that the actual communication status between the current communication module and the associated communication module is abnormal.

[0127] Exemplarily, taking the main communication link as an example, including serial communication and IIC communication, the communication indicators include one or more of communication bit error rate, packet loss rate, and signal strength. The monitoring component 4 can calculate the communication bit error rate, packet loss rate, and signal strength through the communication data exchanged between the sender and the receiver in the communication, and respectively determine whether the communication bit error rate, packet loss rate, and signal strength are within the respective reference ranges corresponding to the IIC communication or the respective reference ranges corresponding to the serial communication. If so, it is determined that the actual communication state between the current communication module and the associated communication module is a normal state. If not, it is determined that the actual communication state between the current communication module and the associated communication module is an abnormal state.

[0128] In an exemplary embodiment, for each stage to be monitored, the communication data corresponding to the stage to be monitored is obtained, and the process of determining the actual communication state between the communication module provided on the local communication side and the associated communication module provided on the other communication side in the current communication link according to the communication data includes:

[0129] When the monitoring stage is the communication stage, it is determined whether there is communication data that has not been successfully transmitted due to timeout between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link;

[0130] If so, determining that the actual communication state between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link is an abnormal state;

[0131] If not, it is determined that the actual communication state between the communication module arranged at the local communication side and the associated communication module arranged at the other communication side in the current communication link is a normal state.

[0132] In this embodiment, it is also possible to detect whether the data exchanged between the receiver and the sender during communication has a long timeout and unsuccessful transmission. If so, it is determined that the actual communication state between the current communication module and the associated communication module is an abnormal state. If not, it is determined that the actual communication state between the current communication module and the associated communication module is a normal state. If it is a normal state, communication continues through the main communication link. If there is an abnormality, prevention is taken in advance, and an abnormal signal is sent to other communication sides. This abnormal signal can be sent to other communication sides through high and low level I / O signals.

[0133] On the basis of the above embodiment, the first standby communication link using the Bluetooth module is used as an example for explanation. After switching to the wireless communication module of the standby communication link, if the primary and secondary sides of the power supply need to interact with data, the first wireless communication module on the primary side of the power supply sends a wireless communication request, and the second wireless communication module on the secondary side of the power supply performs password matching. After the matching is successful, the primary and secondary sides of the power supply can perform data communication. Similarly, if the baseboard management controller 1 needs to obtain data from the switching power supply 2, the third wireless communication module on the baseboard management controller side sends a wireless communication request. When the baseboard management controller 1 needs data from the secondary side of the power supply, it matches the password with the second wireless communication module on the secondary side of the power supply. If data from the primary side of the power supply is needed, it matches the password with the first wireless communication module on the primary side of the power supply. At the same time, the baseboard management controller side can also interact with the primary side of the power supply and the secondary side of the power supply at the same time. Therefore, this wireless communication method is more flexible, and it can communicate directly with the primary side of the power supply. The sampling standby wireless communication can be flexible, non-isolated, and has the advantages of fast communication rate. Especially when the firmware on the primary and secondary sides of the power supply is upgraded, the upgrade speed and stability are improved relative to the wired communication method of the main communication unit.

[0134] In summary, refer to Figure 4 The monitoring component 4 includes a pre-communication self-check module, a communication monitoring module, a control module and a switching module. First, the pre-communication self-check module is used to implement the pre-communication self-check operation of each communication module. During communication, the communication monitoring module is used to obtain the communication indicators between each communication module and the associated communication module to complete the monitoring during communication. The result of the self-check operation and the monitoring result during communication are sent to the control module, and the control module determines whether it is necessary to perform a communication switching operation. If it is determined to be necessary, the switching module and the control modules in other monitoring components 4 are triggered. After receiving the trigger of the control module, the switching module responds to the trigger instruction to perform the corresponding communication switching operation to achieve seamless switching from the current communication link to the backup communication link.

[0135] Reference Figure 5 , the monitoring process of the monitoring component 4 is explained by taking only the main communication link and one alternative communication link 3 as an example. Before communication, the pre-communication self-check module monitors whether the main communication link is normal. If so, the main communication link communicates normally. If not, the main communication link abnormality is reported. The digital processor module (DSP module) immediately triggers the switching mechanism. The switching module opens the interface of the wireless communication module in the alternative communication link 3. During the normal communication of the main communication link, the monitoring module monitors whether the main communication link is normal during communication. If not, the main communication link abnormality is reported. The digital processor module (DSP module) of the switching power supply 2 immediately triggers the switching mechanism. The switching module opens the interface of the wireless communication module in the alternative communication link 3. The power supply primary and secondary send a wireless communication request, and switch to the backup communication link after successful matching.

[0136] In an exemplary embodiment, referring to Figure 6 The wireless communication module arranged on the primary side and / or the secondary side of the power supply is used to establish a wireless communication connection with the terminal device 5 after receiving a matching request sent by the terminal device 5, so that the terminal device 5 can monitor the switching power supply 2.

[0137] In an exemplary embodiment, the monitoring operation includes any one or more of a firmware upgrade operation, a power-on operation, a power-off operation, and a configuration cold backup operation.

[0138] In this embodiment, when each wired communication module in the main communication link is communicating normally, the backup communication link can also be enabled at the same time. Each wired communication module in the main communication link is responsible for the communication between the primary side of the power supply, the secondary side of the power supply, and the baseboard management controller side, and the wireless communication module of the backup communication link can be wirelessly matched with terminal devices 54 such as mobile phones and notebooks, so as to realize communication with the switching power supply 2 through the APP of the mobile phone and the Gui (Graphical User Interface) of the computer notebook, and monitor the working conditions of the power consumption, voltage, current and other parameters of the power supply in real time. In addition, the power supply can also be turned on and off, restarted, configured with cold backup and other instructions through the APP of the mobile phone and the Gui of the computer notebook. When the switching power supply 2 needs to upgrade the firmware version, it can also be done through the APP of the mobile phone and the Gui of the computer notebook. By adding a backup communication link, the communication interaction with the laptop and the mobile phone greatly improves the flexibility and simplicity of the operation of the single switching power supply 2, reduces the risk of server service interruption, and improves the reliability and efficiency of operation and maintenance.

[0139] Second, refer to Figure 7 The present invention further provides a management system for a computer system, the computer system being any one of the computer systems described above, the management system comprising:

[0140] Terminal equipment used to monitor the switching power supply in a computer system.

[0141] The computer system includes a baseboard management controller and a switching power supply, and the computer system also includes:

[0142] A plurality of communication links provided between the baseboard management controller and the switching power supply, each communication link being used to transmit data between the switching power supply and the baseboard management controller;

[0143] The primary side, secondary side and baseboard management controller side of the switching power supply are all provided with monitoring components, which are used to perform link switching operations when receiving switching instructions sent by monitoring components on other communication sides, and monitor the actual communication state of the current communication link on the local communication side when not receiving switching instructions sent by monitoring components on other communication sides, and if the actual communication state is an abnormal state, determine the target communication link, perform link switching operations, and output a switching instruction including information of the target communication link;

[0144] The link switching operation includes switching the current communication link to the target communication link.

[0145] Reference Figure 7As shown, the switching power supply includes a primary side conversion circuit and a secondary side conversion circuit, wherein the primary side conversion circuit includes functional modules such as an AC input module, an electromagnetic interference processing module, a rectifier and filter module, and a boost module, and the secondary side conversion circuit includes functional modules such as an output rectifier module, an output filter module, and an isolation output module.

[0146] For an introduction to a management system of a computer system provided by the present invention, please refer to the above-mentioned embodiment, and the present invention will not be described in detail here.

[0147] The management system of a computer system provided by the present invention has the same beneficial effects as the above-mentioned computer system.

[0148] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0149] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A computer system, comprising a baseboard management controller and a switching power supply, characterized in that: The computer system further comprises: A plurality of communication links provided between the baseboard management controller and the switching power supply, each of the communication links being used to transmit data between the switching power supply and the baseboard management controller; The power supply primary side, the power supply secondary side and the baseboard management controller side of the switching power supply are all provided with monitoring components, and the monitoring components are used to perform a link switching operation when receiving a switching instruction sent by a monitoring component of other communication sides, and monitor the actual communication state of the current communication link on the local communication side when not receiving a switching instruction sent by a monitoring component of other communication sides, and if the actual communication state is an abnormal state, determine the preset priority of each of the communication links, determine the target communication link in descending order of the preset priorities, perform the link switching operation, and output the switching instruction including the information of the target communication link; Among them, the link switching operation includes switching the current communication link to the target communication link; when the local communication side of the monitoring component is the primary side of the power supply, the other communication sides corresponding to the monitoring component include the secondary side of the power supply and / or the baseboard management controller side; when the local communication side of the monitoring component is the secondary side of the power supply, the other communication sides corresponding to the monitoring component include the primary side of the power supply and / or the baseboard management controller side; when the local communication side of the monitoring component is the baseboard management controller side, the other communication sides corresponding to the monitoring component include the primary side of the power supply and / or the secondary side of the power supply.

2. The computer system according to claim 1, characterized in that: Each of the communication links comprises communication modules respectively arranged at a plurality of communication sides, wherein the plurality of communication sides comprises the primary side of the power supply, the secondary side of the power supply and the baseboard management controller side; The process of monitoring the actual communication status of the current communication link on the local communication side includes: Monitoring the actual communication status between the communication module provided at the local communication side and the associated communication module provided at other communication sides in the current communication link; The process of switching the current communication link to the target communication link includes: The current communication module on the local communication side is switched from the communication module arranged on the local communication side in the current communication link to the communication module arranged on the local communication side in the target communication link.

3. The computer system according to claim 2, characterized in that: The multiple communication links include a main communication link and at least one backup communication link, the communication module in the main communication link is a wired communication module, and the communication module in the backup communication link is a wireless communication module; The process of determining the target communication link in descending order of the preset priorities includes: Among the communication links other than the current communication link, one of the backup communication links is determined as the target communication link in descending order of the preset priorities.

4. The computer system according to claim 3, characterized in that: The wireless communication module provided on the primary side of the power supply and / or the secondary side of the power supply is used to establish a wireless communication connection with the terminal device after receiving a matching request sent by the terminal device, so that the terminal device can monitor the switching power supply.

5. The computer system according to claim 4, characterized in that: The monitoring operation includes any one or more of a firmware upgrade operation, a power-on operation, a power-off operation, and a configuration cold backup operation.

6. The computer system according to claim 2, characterized in that: The monitoring component includes multiple monitoring modules. The monitoring module is used to, when receiving a trigger instruction, determine the communication module located on the local communication side in the communication link corresponding to itself as the current communication module, monitor the actual communication status between the current communication module and the associated communication modules located on other communication sides, and if the actual communication status is an abnormal state, determine the preset priority of each of the communication links, determine the target communication link in order of the preset priorities from high to low, and execute the link switching operation.

7. The computer system according to claim 2, characterized in that: The monitoring component is also used to determine the communication type of the current communication link, and determine the associated communication module located at the other communication side according to the communication type, wherein the communication type includes wireless communication or wired communication.

8. The computer system according to claim 2, characterized in that: The process of monitoring the actual communication status between the communication module provided at the local communication side and the associated communication module provided at other communication sides in the current communication link includes: Determine the communication type of the current communication link; the communication type includes wired communication or wireless communication; determining at least one phase to be monitored corresponding to the communication type; In each of the to-be-monitored stages, the actual communication status between the communication module disposed on the local communication side and the associated communication modules disposed on other communication sides in the current communication link is monitored.

9. The computer system according to claim 8, characterized in that: The process of determining at least one to-be-monitored phase corresponding to the communication type includes: When the communication type is the wireless communication, determining that the phase to be monitored is the communication phase; When the communication type is the wired communication, it is determined that the phase to be monitored includes a pre-communication phase and a communication phase.

10. The computer system according to claim 9, characterized in that: The process of monitoring the actual communication status between the communication module provided at the local communication side and the associated communication module provided at other communication sides in the current communication link in each of the to-be-monitored stages includes: For each of the to-be-monitored stages, communication data corresponding to the to-be-monitored stage is acquired, and an actual communication state between a communication module disposed on a local communication side and associated communication modules disposed on other communication sides in a current communication link is determined based on the communication data.

11. The computer system according to claim 10, characterized in that: For each of the to-be-monitored stages, the communication data corresponding to the to-be-monitored stage is obtained, and the process of determining the actual communication state between the communication module provided on the local communication side and the associated communication module provided on the other communication side in the current communication link according to the communication data includes: When the to-be-monitored stage is the pre-communication stage, obtaining an actual level state on a transmission line between a communication module provided on a local communication side and an associated communication module provided on other communication sides in the current communication link; Determining whether the actual level state is a preset fault level state; If not, determining that the actual communication state between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link is a normal state; If so, determining whether the duration of the actual level state being the preset fault level state is greater than a preset time; If the duration is greater than the preset time, it is determined that the actual communication state between the communication module arranged at the local communication side and the associated communication module arranged at the other communication side in the current communication link is an abnormal state.

12. The computer system according to claim 10, characterized in that: For each of the to-be-monitored stages, the communication data corresponding to the to-be-monitored stage is obtained, and the process of determining the actual communication state between the communication module provided on the local communication side and the associated communication module provided on the other communication side in the current communication link according to the communication data includes: When the to-be-monitored stage is the pre-communication stage, controlling the communication module provided on the local communication side in the current communication link to output at least one pre-communication instruction to the associated communication module; Determining whether pre-communication success data returned by the associated communication module based on any of the pre-communication instructions is detected; If so, determining that the actual communication state between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link is a normal state; If not, it is determined that the actual communication state between the communication module arranged at the local communication side and the associated communication module arranged at the other communication side in the current communication link is an abnormal state.

13. The computer system according to claim 10, characterized in that: For each of the to-be-monitored stages, the communication data corresponding to the to-be-monitored stage is obtained, and the process of determining the actual communication state between the communication module provided on the local communication side and the associated communication module provided on the other communication side in the current communication link according to the communication data includes: When the to-be-monitored stage is the communication stage, determining a communication indicator corresponding to the communication type and a reference range corresponding to the communication indicator; Acquire communication data between a communication module provided at a local communication side and an associated communication module provided at other communication sides in a current communication link; Calculating the communication index according to the communication data; Determining whether any of the communication indicators is not within its corresponding reference range; If so, determining that the actual communication state between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link is an abnormal state; If not, it is determined that the actual communication state between the communication module arranged at the local communication side and the associated communication module arranged at the other communication side in the current communication link is a normal state.

14. The computer system according to claim 10, characterized in that: For each of the to-be-monitored stages, the communication data corresponding to the to-be-monitored stage is obtained, and the process of determining the actual communication state between the communication module provided on the local communication side and the associated communication module provided on the other communication side in the current communication link according to the communication data includes: When the to-be-monitored stage is the communication stage, determining whether there is communication data that has not been successfully transmitted due to timeout between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link; If so, determining that the actual communication state between the communication module provided at the local communication side and the associated communication module provided at the other communication side in the current communication link is an abnormal state; If not, it is determined that the actual communication state between the communication module arranged at the local communication side and the associated communication module arranged at the other communication side in the current communication link is a normal state.

15. A management system for a computer system, characterized in that: The computer system is a computer system according to any one of claims 1 to 14, and the management system comprises: The terminal device is used to monitor the switching power supply in the computer system.