Power supply system, device power supply method, electronic device and storage medium

By independently setting up the power management device in the electronic device, monitoring and evaluating power supply abnormalities, and sending abnormal signals to the substrate management controller, the problem of heavy burden on the substrate management controller and unstable power supply of the electronic device is solved, and the reliability of the electronic device and the performance of the substrate management controller are improved.

CN120233853APending Publication Date: 2025-07-01INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510714895.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-30
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

The substrate management controller is burdened, and the power supply of electronic equipment is unstable, which affects the reliability of electronic equipment.

Method used

By independently setting up a power management device in the electronic device, it monitors and evaluates whether the power supply of the electronic device is abnormal, and sends a power supply abnormal signal to the substrate management controller when determining the abnormality, discards the untrusted power supply information.

Benefits of technology

It reduces the burden on the substrate management controller, improves the reliability of the power supply monitoring of electronic equipment, reduces the impact on the reliability of electronic equipment, and improves the performance of the substrate management controller.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120233853A_ABST
    Figure CN120233853A_ABST
Patent Text Reader

Abstract

The invention discloses a power supply system, an equipment power supply method, electronic equipment and a storage medium, and relates to the technical field of computers, and the power supply system comprises an electronic equipment power supply and a power supply management device which is independently arranged relative to a substrate management controller. The power supply management device can perform power supply abnormity monitoring on the power supply of the electronic equipment, and transfers the burdensome work of power supply monitoring of the electronic equipment to the independent power supply management device from the substrate management controller. And when the power management device judges that the power supply of the electronic equipment is abnormal, the feedback substrate management controller discards the untrusted power supply information, so that the condition that the substrate management controller is misguided by the untrusted power supply information to generate misoperation is reduced. Therefore, the technical problems that the substrate management controller is heavy in burden, the power supply of the electronic equipment is unstable, and even the reliability of the electronic equipment is affected are solved, and the technical effects of improving the performance of the substrate management controller and improving the reliability of the electronic equipment are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technologies, and in particular, to a power supply system, a device power supply method, an electronic device, and a computer-readable storage medium. Background Art

[0002] During the operation of electronic devices such as servers, storage devices, and switches, there is data interaction between the electronic device power supply and the baseboard management controller. To ensure the accuracy of data transmission, a verification mechanism is usually added on the side of the baseboard management controller, that is, the baseboard management controller will verify whether the power supply of the electronic device and the power supply information carried by it are abnormal.

[0003] Furthermore, to ensure data accuracy, the baseboard management controller will read the power supply information multiple times, significantly improving the utilization rate of the baseboard management controller but easily causing the resources of the baseboard management controller to be over-occupied, significantly increasing the burden on the baseboard management controller and thus affecting the reliability of the electronic device. Also, when the electronic device power supply supplies power abnormally, the power supply information also has the risk of being unreliable, and the baseboard management controller has the risk of being unable to give a reliable feedback for abnormal power supply situations, and there is also a risk of affecting the reliability of the electronic device while the power supply of the electronic device is unstable. Summary of the Invention

[0004] This application provides a power supply system, a device power supply method, an electronic device, and a computer-readable storage medium to at least solve the problems in the related art that the baseboard management controller has a heavy burden, and at the same time, the power supply of the electronic device power supply is unstable and even affects the reliability of the electronic device.

[0005] This application provides a device power supply method for a power supply system. The power supply system includes: an electronic device power supply and a power management device; the electronic device power supply is used to output power supply for the electronic device to the electronic device; the power management device is connected to the electronic device power supply; the power management device includes a management module, and the management module is used to monitor the power supply for the electronic device output by the electronic device power supply; wherein, the power management device is independently arranged in the electronic device relative to the baseboard management controller of the electronic device; evaluate whether the power supply for the electronic device is abnormal in power supply; in response to determining that the power supply is abnormal, send a power supply abnormal signal to the baseboard management controller to cause the baseboard management controller to discard the power supply information carried by the abnormal power supply.

[0006] The present application also provides a device power supply method, which includes: a power management device monitors the power supply output by an electronic device to the electronic device; wherein, the power management device is independently arranged relative to the baseboard management controller in the electronic device; evaluates whether the power supply of the electronic device is abnormal; in response to determining that the power supply is abnormal, sends a power supply abnormality signal to the baseboard management controller to cause the baseboard management controller to discard the power supply information carried by the abnormal power supply.

[0007] The present application also provides an electronic device, which includes: a memory for storing a computer program; a processor for implementing the steps of any of the above device power supply methods when executing the computer program.

[0008] The present application also provides a computer-readable storage medium, in which a computer program is stored, and wherein the computer program implements the steps of any of the above device power supply methods when executed by a processor.

[0009] Through the present application, the device power supply method includes monitoring the power supply abnormality of the electronic device power supply through a power management device independently arranged compared with the baseboard management controller, and transferring the cumbersome work of monitoring the power supply of the electronic device from the baseboard management controller to an independent power management device. At the same time, when the power management device determines the power supply abnormality of the electronic device power supply, it can be considered that there is a risk of untrustworthy power supply information, so the untrustworthy power supply information is discarded to reduce the situation that the baseboard management controller is misled by the untrustworthy power supply information and generates incorrect operations, thereby reducing the impact on the reliability of the electronic device. Therefore, the technical problems of the heavy burden on the baseboard management controller and the unstable power supply of the electronic device power supply and even affecting the reliability of the electronic device are solved, and the technical effects of improving the performance of the baseboard management controller and improving the reliability of the electronic device are achieved. Description of the Drawings

[0010] To more clearly illustrate the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0011] Figure 1 It is a schematic structural diagram of an embodiment of the electronic device of the present application; Figure 2 It is a schematic structural diagram of an embodiment of the power supply system of the present application; Figure 3 It is a schematic structural diagram of an embodiment of the power management device of the present application; Figure 4 It is a schematic structural diagram of another embodiment of the power supply system of the present application; Figure 5 Schematic flowchart of an embodiment of the device power supply method of the present application; Figure 6 Schematic flowchart of an embodiment of the power supply to the management module of the present application; Figure 7 Schematic flowchart of another embodiment of the device power supply method of the present application; Figure 8 Schematic flowchart of an embodiment of the abnormal response of the control module of the present application. Detailed implementation manners

[0012] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the protection scope of the present application.

[0013] It should be noted that in the description of the present application, the terms "include", "comprise" or any other variant thereof are intended to cover a non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. The terms "first", "second", etc. in the present application are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0014] In order to enable those skilled in the art of the present technology to better understand the solution of the present application, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation manners.

[0015] To solve the technical problems in the related art that the baseboard management controller has a heavy burden, and at the same time, the power supply of the electronic device is unstable or even affects the reliability of the electronic device. The present application provides a device power supply method, a power management device, an electronic device, an electronic device, and a computer-readable storage medium. The following gives examples to elaborate on the detailed architecture and working principle of the present application.

[0016] Combined with the specific application environment architecture or specific hardware architecture on which the execution of the device power supply method depends, the specific application environment architecture or specific hardware architecture will be described herein.

[0017] Taking the application environment architecture as an electronic device as an example, please refer to Figures 1 to 3 , Figure 1 Schematic structural diagram of an embodiment of the electronic device of the present application, Figure 2 Schematic structural diagram of an embodiment of the power supply system of the present application, Figure 3This is a schematic structural diagram of an embodiment of the power management device of the present application.

[0018] In one embodiment, the electronic device includes an electronic device body 10, a power supply system, and a baseboard management controller 12.

[0019] In this embodiment, the electronic device can be a server, a storage device, a switch, etc. Taking the electronic device as a server as an example, a server is an IT (Information Technology) device or software system that specifically provides computing power, storage resources, or application services in a network environment. Generally speaking, the electronic device has functions such as responding to requests, resource allocation, and service guarantee. For example, the electronic device can receive and process service requirements from clients (such as personal computers, mobile phones, etc.); the electronic device can manage hardware such as the CPU (Central Processing Unit) and memory, as well as software resources such as the operating system and database, to ensure the stable operation of the service; the electronic device can also ensure its reliability through redundant designs such as RAID (Redundant Arrays of Independent Disks) storage and high-performance components.

[0020] As the name implies, the electronic device body 10 is a collection of basic components for realizing the functions of the electronic device, which can include a power supply system and a baseboard management controller 12.

[0021] The power supply system can include an electronic device power supply 11 and a power management device 20.

[0022] Among them, the electronic device power supply 11 is used to supply power to the electronic device to maintain the operation of the electronic device. For example, the electronic device power supply 11 can include a PSU (Power supply unit), etc., which is connected to an external power supply to convert the standard alternating current provided by the external power supply into the low-voltage stable direct current required during the operation of the electronic device, and transmit the converted direct current to electronic device components such as the baseboard management controller 12 in the electronic device body 10 for use. And / or, the electronic device power supply 11 can include a rechargeable battery, which can supply power to the electronic device body 10 through the rechargeable battery, so as to assist in powering the electronic device, ensure the stability and anti-risk ability of the electronic device power supply, and thus contribute to improving the operation reliability of the electronic device.

[0023] The baseboard management controller 12 can be, for example, a BMC (Baseboard Management Controller), which can be regarded as a dedicated service processor capable of monitoring computers, electronic devices, hardware drive devices, etc. using sensors. Moreover, the baseboard management controller 12 can communicate with the system administrator through an independent connection line. For example, the baseboard management controller 12 can be regarded as a part of the intelligent platform control interface, and generally, the baseboard management controller 12 can be designed to be integrated on the main board or the main circuit board of the device to be monitored.

[0024] Furthermore, the electronic device body 10 can also include an electronic device housing, a CPU, a heat dissipation device, a GPU (Graphics Processing Unit) module, a storage module such as RAID, etc., which will not be elaborated here.

[0025] Among them, the electronic device housing serves as the basic carrier of the electronic device, playing a role in carrying and protecting each component of the electronic device. The CPU is the operation and control core of the computer system and is the final execution unit for information processing and program operation. When component modules of the electronic device such as the CPU module and the GPU module are running, heat is usually generated, and the heat dissipation device is used to dissipate heat inside the electronic device. In the GPU module, the GPU is also called a display core, a display chip, or a video processor. As the name implies, the GPU is a coprocessor used for processing image and graphics operations.

[0026] The power management device 20 is provided in the electronic device body 10 and is connected to the electronic device power supply 11. Moreover, the power management device 20 can also be connected to the baseboard management controller 12. The power management device 20 can include a management module 21, and the management module 21 is used to monitor the electronic device power supply output by the electronic device power supply 11; among them, the power management device 20 is independently arranged in the electronic device relative to the baseboard management controller 12 of the electronic device; evaluate whether the electronic device power supply is abnormally powered; in response to determining that the power supply is abnormally powered, send a power supply abnormal signal to the baseboard management controller 12 to cause the baseboard management controller 12 to discard the power supply information carried by the abnormal power supply.

[0027] Different from monitoring the power supply of the electronic device 11 by the baseboard management controller 12 in the related art, in this embodiment, the power supply of the electronic device 11 is monitored by an independently designed power management device 20, and the power supply task of the electronic device is separated from the baseboard management controller 12, which is beneficial to reducing the operating burden of the baseboard management controller 12 and releasing relevant demand resources so that the baseboard management controller 12 can participate in other services, operations, etc. to improve the performance of the baseboard management controller 12.

[0028] At the same time, the traditional method for the baseboard management controller 12 to monitor the power supply of the electronic device 11 is implemented by software. That is, when the power supply of the electronic device 11 supplies power to the baseboard management controller 12, it usually carries power supply information such as the electrical parameters of the power supply of the electronic device with the power supply of the electronic device to transmit the power supply information to the baseboard management controller 12. The baseboard management controller 12 identifies the received power supply information to determine whether the power supply of the electronic device is abnormal. In this regard, because the baseboard management controller 12 identifies the power supply information carried by the power supply of the electronic device, when the power supply of the electronic device is abnormal, there is also a risk that the carried power supply information is distorted during the transmission process, resulting in the power supply information read by the baseboard management controller 12 being incorrect information. It will identify the incorrect information and evaluate whether the power supply of the electronic device is abnormal based on this, making the evaluation result untrustworthy and possibly generating incorrect response methods, and even possibly affecting the operating stability of the electronic device.

[0029] That is to say, in the interaction process between the PSU and the BMC, to ensure the accuracy of data transmission, a read verification mechanism can usually be added. For the information transmitted by the PSU, the BMC and / or the electronic device system can perform a verification operation. If the verification is successful, the information will be regarded as normal and received; if the verification fails, this information will be determined to be incorrect and then discarded without entering the subsequent processing link. Further, to ensure data accuracy, the BMC can read the information multiple times to reduce the risk of incorrect data entering to a certain extent. However, due to the limited storage space of the BMC such as flash (flash memory), there will be some fixed information without enough codes for verification, which may cause abnormal data to enter the processing flow, and ultimately may even trigger an alarm of the electronic device, affecting the stable operation of the electronic device. And, as described above, reading the information multiple times to ensure data accuracy, although it can reduce the risk of incorrect data entering to a certain extent, will greatly increase the utilization rate of the BMC, causing the BMC resources to be over-occupied, and even there is a risk that other functions undertaken by the BMC are restricted due to insufficient resources, which also has an adverse impact on the overall performance of the electronic device.

[0030] In view of this, in this embodiment, through the power management device 20 independently provided compared with the baseboard management controller 12, physical monitoring and hardware monitoring are performed on the power supply of the electronic device, so as to improve the reliability of the power supply monitoring of the electronic device. Thus, the power management device 20 can evaluate whether the power supply of the electronic device is abnormal based on the power supply of the electronic device obtained through physical monitoring, which is beneficial to respond to the current power supply situation of the electronic device through a reliable response strategy, and further improve the reliability of the electronic device.

[0031] That is to say, the embodiment of the present application also provides a power management device 20. The following will give examples to elaborate on the components and working principles of the power management device 20 of the present application.

[0032] Please continue to refer to Figures 1 to 3 .

[0033] In one embodiment, as described above, the power management device 20 may include a management module 21. The management module 21 is mainly used to monitor the power supply of the electronic device and evaluate whether the power supply of the electronic device is abnormal.

[0034] That is to say, the management module 21 may include a monitoring module 211 and a processing module 212.

[0035] Among them, the monitoring module 211 is used to monitor the power supply of the electronic device output by the electronic device power supply 11.

[0036] The processing module 212 is connected to the monitoring module 211 and is used to implement the device power supply method. That is, the processing module 212 can obtain the power supply situation of the power supply of the electronic device monitored by the monitoring module 211, evaluate whether the electronic device power supply 11 is abnormal based on the power supply situation, and execute the corresponding response strategy when it is determined that the electronic device power supply 11 is abnormal. In other words, the processing module 212 can obtain the power supply of the electronic device output by the electronic device power supply 11 monitored by the monitoring module 211, evaluate whether the power supply of the electronic device output by the electronic device power supply 11 is abnormal, and send a power supply abnormality signal to the baseboard management controller 12 when the power supply is abnormal. For example, at least when the processing module 212 determines that the electronic device power supply 11 is abnormal, it can consider that the power supply information carried by the electronic device power supply is unreliable, and send a power supply abnormality signal to the baseboard management controller 12, so that the baseboard management controller 12 discards the power supply information carried by the abnormal power supply, thereby further reducing the occupation of the storage space of the baseboard management controller 12 by untrusted information, reducing the burden on the baseboard management controller 12 and improving the performance of the baseboard management controller 12, and at the same time being beneficial to improving the reliability of the electronic device.

[0037] Please continue to refer to Figures 1 to 3, in one embodiment, the power management device 20 may further include a battery module 22.

[0038] The battery module 22 is connected to the monitoring module 211 and the processing module 212, and is used for storing electric energy to supply power to the monitoring module 211 and the processing module 212 when the power supply of the electronic device 11 does not supply power.

[0039] That is to say, in this embodiment, an independent battery module 22 that can supply power to the management module 21 is provided. Especially, before the electronic device is powered on, the battery module 22 is used to supply power to the management module 21, so as to effectively monitor the power supply of the electronic device when the electronic device is powered on.

[0040] Generally understood, when there is no independent battery module 22 to supply power to the management module 21, the power supply of the electronic device 11 can supply power to the management module 21. During the power-on stage of the electronic device, the power supply of the electronic device 11 synchronously sends the power supply of the electronic device to the management module 21 to synchronously initialize the management module 21 and the electronic device. After the electronic device is powered on, the management module 21 operates relying on the power supply of the electronic device provided by the power supply of the electronic device 11, and monitors whether the power supply of the electronic device 11 can supply power reliably and abnormally.

[0041] In this embodiment, it is further considered that there may be relatively abnormal power supplies of the electronic device such as intermediate voltages during the power-on process of the electronic device. To further improve the reliability of the power supply monitoring of the electronic device, the management module 21 and the electronic device are started asynchronously through the independently provided battery module 22, that is, there can be a power-on time difference between the battery module 22 and the electronic device, so that the management module 21 can complete startup and operate reliably before the electronic device is powered on. Thus, during the power-on process of the electronic device, the battery module 22 can reliably monitor the power supply of the electronic device provided by the power supply of the electronic device 11, reliably identify the possible intermediate voltages and the like during the power-on process of the electronic device, and feedback that the baseboard management controller 12 does not trust the power supply information carried by the current power supply of the electronic device, further improving the functionality of the device power supply method, and being able to reliably monitor and evaluate whether the power supply of the electronic device 11 is abnormal during the power-on stage and the operation stage of the electronic device, and further improving the reliability of the electronic device.

[0042] Furthermore, the battery module 22 may include a switch module, a battery module, a display module, and an identification module.

[0043] Specifically, the switch module is used to obtain a conduction signal and send a startup instruction to the recognition module. For example, the switch module can be a virtual switch module such as a virtual button integrated in the display screen, or a physical switch such as a push-button switch or a rocker switch, which is not limited here. The user can control whether to enable the battery module by triggering the switch module to be in different switch states. In an alternative embodiment, the battery module 22 may also not include a switch module.

[0044] The recognition module is used to evaluate the remaining power of the battery module and control the implementation of corresponding response strategies. Specifically, the recognition module can detect the remaining power of the battery module in response to obtaining a startup instruction. In response to the remaining power being higher than the power threshold, a control instruction can be sent to the battery module to control the battery module to provide management power supply to the management module 21, and a first display instruction can be sent to the display module to control the display module to be in the first display mode. Or, in response to the remaining power being less than the power threshold, a second display instruction can be sent to the display module to control the display module to be in the second display mode. Optionally, when detecting that the remaining power of the battery module 22 is less than the power threshold, a control instruction can be selectively sent to the battery module, that is, it can be selected to send a control instruction to the battery module, or it can be selected not to send a control instruction to the battery module.

[0045] The display module is used to be in the first display mode in response to the first display instruction, or to be in the second display mode in response to the second display instruction, to identify that the battery module is in different remaining power states. For example, the display module can be a display screen, an indicator light, etc. Taking the display module as an indicator light as an example, the first display mode can be to turn on the light, and the second display mode can be not to turn on the light; or the light colors of the first display mode and the second display mode are different, which is not limited here.

[0046] The battery module can store and release electrical energy to be able to independently supply power to the management module 21. In this embodiment, the battery module can supply power to the management module 21 in response to obtaining the control instruction sent by the recognition module.

[0047] Please continue to refer to Figure 3 , in an embodiment, the power management device 20 may further include a control module 23.

[0048] The control module 23 can be connected to the management module 21. The control module 23 can obtain the abnormal power supply information fed back by the management module 21 to evaluate and execute an abnormal response strategy adapted to the abnormal power supply information.

[0049] Combined with the architecture example of the management module 21 in the foregoing embodiments, the control module 23 can be connected to the processing module 212. The control module 23 can be used to obtain the abnormal power supply information fed back by the processing module 212 to evaluate and execute an abnormal response strategy adapted to the abnormal power supply information. Specific abnormal response strategies will be exemplified later and will not be elaborated here.

[0050] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of another embodiment of the power supply system of the present application.

[0051] It should be noted that in this embodiment, taking an electronic device as an application scenario as an example, components related to power management in the power supply system of the electronic device are exemplified, and other electronic device component modules, devices, etc. are omitted. Figure 4 The dotted connecting lines in represent the link through which the electronic device power supply supplies power to the electronic device. At the same time, when the management module determines that the electronic device power supply is an abnormal power supply, the baseboard management controller can also obtain the power supply information through this link to perform parallel power supply abnormality assessment. The solid connecting lines are used to represent the working link of the power management device.

[0052] In one embodiment, the electronic device power supply can include multiple power supply units. Such as Figure 4 the power supply units PSU0 to PSU n exemplified in.

[0053] The multiple power supply units of the electronic device power supply are connected to the baseboard management controller through a switch, and the multiple power supply units can supply power to the devices of the electronic device body through the switch to supply power to the devices of the electronic device body.

[0054] As exemplified in the foregoing, the power management device can include a management module, a battery module, and a control module. For example, the control module can be such as CPLD (Complex Programmable Logic Device), PLC (Programmable Logic Controller), PCB (Printed Circuit Board Assembly after components are mounted or plugged in), etc., which is not limited here.

[0055] That is to say, in this embodiment, the operation of the abnormal response policy can be deployed in the control module to decouple the management operations of the power management device, significantly reducing the operation burden of each module and component of the power management device. For example, it is beneficial to ensure the reliability of the evaluation by the processing module of whether the power supply to the monitored electronic device is abnormal, further improving the reliability of power management and the electronic device.

[0056] Among them, the management module may include a monitoring module and a processing module. The battery module may include a switch module, a display module, an identification module ( Figure 4 not shown in the figure), and a battery module.

[0057] The monitoring module is connected to the power supply of the electronic device to monitor the power supply provided by the power supply of the electronic device.

[0058] The monitoring module is also connected to the processing module to transmit the power supply situation of the power supply of the electronic device it monitors to the processing module. The processing module evaluates whether the power supply of the electronic device is abnormal power supply, that is, evaluates whether the power supply of the electronic device is abnormal. When the processing module determines that the current power supply of the electronic device by the power supply of the electronic device is abnormal power supply, it can give an abnormal feedback to the baseboard management controller and the control module.

[0059] The switch module, the display module, and the battery module are connected to each other. The switch module can obtain an external conduction instruction to form a conduction signal.

[0060] The display module can be in a display mode matching the remaining power of the battery module based on the conduction signal.

[0061] The battery module can supply power to the monitoring module and the processing module in response to the conduction signal. Further, when the electronic device is powered on and the power supply provided by the power supply of the electronic device is relatively stable and reliable, the battery module can obtain and store the power supply provided by the power supply of the electronic device to achieve the charging of the battery module, thereby reducing the cumbersome operation of frequently replacing the battery module, reducing the risk of the battery module running out of power, reducing the situation where power supply to the monitoring module and the processing module cannot be reliably supplied, further improving the reliability of power management, and thus improving the reliability of the electronic device.

[0062] Further, for the description of the features in the corresponding embodiment of the power management device, reference can be made to the relevant description in the corresponding embodiment of the device power supply method, which will not be elaborated here one by one.

[0063] An embodiment of the present application provides a device power supply method. The device power supply method will be described in detail below in combination with the execution process of the device power supply method.

[0064] Please refer toFigure 5 , Figure 5 This is a schematic flowchart of an embodiment of the method for powering the device of the present application. It should be noted that in this embodiment, the overall power management device is used as the execution subject of each process step for illustration.

[0065] S101: The power management device monitors the power supply of the electronic device output by the electronic device power supply; wherein, the power management device is independently arranged relative to the baseboard management controller in the electronic device.

[0066] In this embodiment, after the electronic device is powered on, the electronic device power supply can output the power supply of the electronic device to supply power to the electronic components inside the electronic device. In this embodiment, a power management device independent of the baseboard management controller is arranged inside the electronic device. By using the independent power management device to monitor the electronic device power supply, the burden on the baseboard management controller can be reduced while improving the reliability of the electronic device power supply monitoring. Optionally, the power management device can monitor the power supply of the electronic device through software similar to that of the baseboard management controller; or, the power management device can be different from the principle of the baseboard management controller for power supply monitoring, and it can monitor the hardware power supply parameters to further improve the reliability of the monitoring data.

[0067] S102: Evaluate whether the power supply of the electronic device is abnormal.

[0068] In this embodiment, the power management device can evaluate whether the power supply of the electronic device it monitors is abnormal.

[0069] For example, evaluating whether the power supply of the electronic device is abnormal can evaluate electrical specifications such as power, current, voltage, etc.; and / or, it can evaluate the timing specification, which is not limited here.

[0070] S103: In response to determining that the power supply is abnormal, send a power supply abnormality signal to the baseboard management controller to cause the baseboard management controller to discard the power supply information carried by the abnormal power supply.

[0071] In this embodiment, when the power management device determines that the power supply of the electronic device it monitors is abnormal, that is, the power supply of the electronic device is abnormal power supply. Therefore, it can be considered that there is a risk of distortion in the power supply information carried by the abnormal power supply during the transmission process, and it can be considered that the power supply information is untrustworthy. Therefore, a power supply abnormality signal can be sent to the baseboard management controller to cause the baseboard management controller to discard the power supply information carried by the abnormal power supply, so that the power supply information can be obtained again when the normal power supply is restored, the verification process of the power supply information can be reduced, and the power management burden on the baseboard management controller can be further reduced.

[0072] In an alternative embodiment, when the baseboard management controller obtains a power supply anomaly signal, it can verify the power supply information it obtains. When it determines that the power supply information has not been distorted, it can store the power supply information, so as to reduce the information transmission burden of the power supply of the electronic device.

[0073] That is to say, the power supply anomaly monitoring of the electronic device power supply is performed by a power management device independently set compared with the baseboard management controller, and the cumbersome work of the electronic device power supply monitoring is transferred from the baseboard management controller to the independent power management device. At the same time, when the power management device determines that there is a power supply anomaly in the electronic device power supply, it can be considered that there is a risk that the power supply information is untrustworthy. Therefore, the untrustworthy power supply information is discarded to reduce the situation where the baseboard management controller is misled by the untrustworthy power supply information and generates incorrect operations, thereby reducing the impact on the reliability of the electronic device. Therefore, this embodiment can solve the technical problems of the heavy burden of the baseboard management controller and the unstable power supply of the electronic device power supply, which even affects the reliability of the electronic device, and achieve the technical effects of improving the performance of the baseboard management controller and the reliability of the electronic device.

[0074] Please refer to Figure 6 , Figure 6 which is a schematic flowchart of an embodiment for powering the management module of the present application.

[0075] In this embodiment, as described above, the power management device may further include a battery module, and the battery module can be used to supply power to the management module. Further, the battery module may include a battery module, a display module, an identification module, and a switch module. The working principle of supplying power to the management module will be elaborated in detail below. It should be noted that the execution subject of each process step in this embodiment is the power management device. To further clarify the working principles of each module, module, and unit inside the power management device, the specific execution subject is clarified in each step of this embodiment.

[0076] S201: Before the electronic device is powered on, the switch module obtains a conduction signal and sends a start instruction to the identification module.

[0077] In this embodiment, the switch module can be disposed in an area of the electronic device that can be touched by the user, so that the user can input a conduction instruction or a turn-off instruction through the switch module.

[0078] Before the electronic device is powered on, the switch module can obtain the conduction signal converted from the conduction instruction. When the switch module obtains the conduction signal representing the conduction instruction or the conduction signal converted from the conduction instruction, it can consider that the user instructs to supply power to the management module using the battery module. Therefore, the switch module can send a start instruction to the identification module to instruct the identification module to make a corresponding response.

[0079] Of course, in this embodiment, it is also allowed to input a conduction instruction from the switch module after the electronic device is powered on, and no strict limitation is made here. In this embodiment, an example is given in which the switch module obtains a conduction signal before the electronic device is powered on.

[0080] S202: The identification module responds to obtaining a start instruction and detects whether the remaining power of the battery module is higher than the power threshold.

[0081] In this embodiment, when it is determined that the remaining power of the battery module is higher than the power threshold, step S203 can be executed; when it is determined that the remaining power of the battery module is not higher than the power threshold, step S212 can be executed.

[0082] Specifically, when the identification module responds to obtaining a start instruction, it can be considered that the user instructs to supply power to the management module using the battery module. In this embodiment, considering that there may be a situation where the remaining power of the battery module is insufficient, the identification module can detect and obtain the remaining power of the battery module, and evaluate whether the remaining power of the battery module is higher than the power threshold, so as to be able to feedback to the user in time when the remaining power of the battery module is lower than the power threshold, which helps to replace the battery module in time or charge the battery module, and can reduce the risk that the performance of the management module is not ideal due to insufficient power of the battery module, thereby being able to further improve the reliability of power supply monitoring and abnormal power supply assessment of the electronic device, so as to improve the reliability of power management, and further contribute to improving the reliability of the electronic device.

[0083] S203: The identification module controls the battery module to provide management power supply and sends a first display instruction to the display module.

[0084] In this embodiment, when the identification module responds to the remaining power being higher than the power threshold, it can control the battery module to provide management power supply to the management module, and send a first display instruction to the display module to control the display module to be in the first display mode. Among them, the first display mode is used to indicate that the remaining power of the battery module is higher than the power threshold, that is, it can be considered that the current remaining power of the battery module can ensure the reliable operation of the management module.

[0085] Furthermore, during the entire cycle of the battery module supplying power to the management module, the identification module can periodically or in real time obtain the remaining power of the battery module, thereby being able to assist in improving the reliability of the battery module supplying power to the management module.

[0086] S204: The display module is in the first display mode.

[0087] In this embodiment, in response to obtaining the first display instruction, the display module updates the current display mode to the first display mode to visually display the remaining power of the current battery module to the user, thereby facilitating the user to intuitively understand the remaining power situation of the battery module.

[0088] S205: The battery module provides management power supply to the management module.

[0089] In this embodiment, in response to obtaining the control instruction sent by the identification module, the battery module outputs electric energy and transmits it to the management module to realize the battery module providing management power supply to the management module.

[0090] In an alternative embodiment, the battery module can also be connected to the switch module, so that when the battery module obtains the start instruction transmitted by the switch module, the battery module can provide management power supply to the management module, which is not limited here.

[0091] S206: The management module receives the management power supply and detects whether the electronic device is powered on.

[0092] In this embodiment, when it is determined that the electronic device is powered on, step S207 can be executed; when it is determined that the electronic device is not powered on, step S205 can be executed. Among them, the electronic device not being powered on can indicate that the electronic device power supply does not output electronic device power supply.

[0093] In response to the electronic device not being powered on and obtaining the management power supply transmitted by the battery module, the management module initializes and starts. The management module uses the management power supply as the working power supply. Relying on the input working power supply, the management module can monitor whether the electronic device is powered on and whether the electronic device power supply outputs electronic device power supply.

[0094] S207: The management module monitors the electronic device power supply output by the electronic device power supply.

[0095] In this embodiment, the management module receives the management power supply to detect whether the electronic device is powered on. When the management module monitors that the electronic device is powered on and the electronic device power supply outputs the electronic device power supply, the management module can monitor the electronic device power supply. That is, in this embodiment, the management module can monitor the electronic device power supply in response to the electronic device being powered on.

[0096] S208: The management module evaluates whether the electronic device power supply is abnormally powered.

[0097] In this embodiment, when it is determined that the electronic device power supply is abnormally powered, step S211 can be executed; when it is determined that the electronic device power supply is not abnormally powered, step S209 can be executed.

[0098] The management module evaluates whether the power supply to the electronic device output by the monitored electronic device is abnormal. When the power supply to the electronic device output by the electronic device is an abnormal power supply, as in the previous embodiment, the management module can feedback to the baseboard management controller to discard the power supply information carried by the abnormal power supply.

[0099] Meanwhile, in this embodiment, the management module can also selectively switch the working power supply based on whether the power supply to the electronic device is abnormal. The specific working principle can be elaborated in the following steps.

[0100] S209: The management module switches to obtaining the power supply to the electronic device as its working power supply, and the battery module obtains the power supply to the electronic device and stores energy.

[0101] In this embodiment, in response to determining that the power supply to the electronic device is not abnormal, the management module can consider that the power supply to the electronic device output by the current electronic device is a normal power supply, or it can also consider that the power supply to the electronic device output by the current electronic device is relatively stable. Therefore, it can obtain the power supply to the electronic device as its working power supply. Optionally, it can also monitor the duration during which the power supply to the electronic device continues to be normal. When the duration reaches a predetermined duration, the management module can determine that the power supply to the electronic device output by the electronic device is relatively stable, and then switch the power supply to the electronic device as its working power supply. Optionally, it can also combine devices such as the CPU in the electronic device to realize switching the power supply to the electronic device as the working power supply of the management module, which will not be elaborated here.

[0102] Optionally, the battery module can also obtain the power supply to the electronic device and store energy to charge the battery module in the battery module, which is beneficial to maintaining the battery module in a powered state, being able to respond in a timely manner to situations such as power loss of the electronic device, and is also beneficial when the power supply to the electronic device of the electronic device power supply is unstable, and the battery module assists in powering the internal devices of the electronic device.

[0103] S210: The management module evaluates whether the power supply to the electronic device is abnormal.

[0104] In this embodiment, when it is determined that the power supply to the electronic device is abnormal, step S211 can be executed; when it is determined that the power supply to the electronic device is not abnormal, step S210 can be executed.

[0105] In response to using the power supply to the electronic device as its working power supply, the management module can continue to monitor whether the power supply to the electronic device is abnormal, so as to perform power management during the operation of the electronic device after the electronic device is powered on, which is beneficial to ensuring the stability of the operation of the electronic device.

[0106] S211: The management module executes the abnormal power supply handling process.

[0107] In this embodiment, when the management module determines that the power supply of the electronic device output by the power supply of the electronic device is abnormal, it can execute the power supply abnormality handling process.

[0108] Among them, the abnormality handling process may include, as exemplified in the foregoing, that the management module may feedback to the baseboard management controller to discard the power supply information carried by the electronic device power supply.

[0109] Furthermore, the management module may also feedback the abnormal power supply information to the baseboard management controller and / or the control module, so that the baseboard management controller and / or the control module responds to the abnormal power supply. For example, the management module may feedback the abnormal power supply information to the baseboard management controller; or, the management module may feedback the abnormal power supply information to the control module; or, the management module may feedback the abnormal power supply information to the baseboard management controller and / or the control module.

[0110] Optionally, as mentioned in the foregoing, the battery module may also be used to assist in powering the internal components of the electronic device.

[0111] For example, the management module may obtain the rated power supply parameters of the baseboard management controller. Among them, the rated power supply parameters may represent the power supply parameters of the standard power supply for the stable operation of the baseboard management controller. For example, the rated power supply parameters may include at least one of rated power, rated voltage, and rated current.

[0112] The management module may evaluate the power supply deviation of the electronic device power supply compared with the rated power supply parameters. Thus, the management module may control the battery module to output the power supply deviation to the baseboard management controller, so that the power supply input to the baseboard management controller matches its rated power supply parameters, which is beneficial to ensuring the reliable operation of the baseboard management controller, thereby improving the performance of the baseboard management controller. Furthermore, in this embodiment, it may also be that when the power supply of the electronic device is lower than the rated power supply parameters, the power supply deviation is output to the baseboard management controller. The battery module in this embodiment may further include a load module. When the power supply of the electronic device is higher than the rated power supply parameters, the load module may be scheduled and utilized to bear the power supply deviation of the electronic device power supply, which will not be elaborated here.

[0113] S212: The identification module responds to the remaining power being less than the power threshold, sends a second display instruction to the display module, and controls the display module to be in the second display mode.

[0114] In this embodiment, when the recognition module responds that the remaining power is higher than the power threshold, it can control the battery module to provide management power supply to the management module and send a second display instruction to the display module to control the display module to be in the second display mode. The second display mode is used to indicate that the remaining power of the battery module is lower than the power threshold, that is, it can be considered that the current remaining power of the battery module can ensure the reliable operation of the management module.

[0115] S213: The display module is in the second display module.

[0116] In this embodiment, when the display module responds to obtaining the second display instruction, it updates its current display mode to the second display mode. Especially when the electronic device is not powered on and it is difficult for the battery module to perform adaptive charging, when the battery module has insufficient power, the situation of insufficient power of the battery module can be intuitively understood based on the second display mode, so that the battery module can be replaced or charged in time.

[0117] Generally speaking, in this embodiment, the additional battery module can include a battery module for storing and releasing electrical energy, a display module, a recognition module, and a switch module. When the electronic device is not powered on, the battery module can supply power to the monitoring module and the processing module of the management module.

[0118] Specifically, taking the switch module as the battery switch and the display module as the indicator light as an example, when the user presses the battery switch, if the indicator light does not light up, it means that the battery is in a discharged state, and the user can determine whether to update the battery module according to the actual situation.

[0119] If the indicator light works normally, the battery module can supply power to the management module. And when the PSU is powered on and the motherboard works normally after power-on, the power supply of the monitoring module and the processing module can be switched from the battery module power supply to the motherboard power supply, which is equivalent to indirectly supplying power by the PSU, and the battery module closes the output and stops supplying power. At the same time, if the battery module has a power shortage, the battery module can be charged by supplying power to the battery module through the motherboard, which is beneficial to ensuring that the battery module is in a powered state and can ensure the stability of the battery module. In case of abnormal situations such as sudden power failure, the monitoring module can obtain the management power supply output by the battery module to obtain the voltage situation at the moment when the PSU loses power, which can ensure the storage of key data and the integrity of the processing process, and can also facilitate subsequent fault determination and processing.

[0120] That is to say, when the power supply of the electronic device supplies power to the management module, if the battery module determines that the electronic device has lost power, that is, the power supply of the electronic device does not output the electronic device power supply or the abnormal power supply is difficult to maintain the operation of the electronic device and the management module, the battery module can output the management power supply to the management module.

[0121] Please refer to Figure 7 ,Figure 7 It is a schematic flowchart of another embodiment of the power supply method for the device of the present application. It should be noted that in this embodiment, the power management device as a whole is taken as the execution subject of each process step for illustration.

[0122] S301: The power management device monitors the power supply output by the electronic device to the electronic device.

[0123] In this embodiment, as described above, the power management device is independently arranged relative to the baseboard management controller in the electronic device.

[0124] In response to the power-on of the electronic device, the power management device can monitor the power supply output by the electronic device to the electronic device.

[0125] S302: Evaluate whether the power supply to the electronic device is abnormal.

[0126] In this embodiment, when it is determined that the power supply to the electronic device is abnormal, step S303 can be executed; when it is determined that the power supply to the electronic device is not abnormal, step S09 can be executed.

[0127] For example, as described above, the management module of the power management device can include a monitoring module and a processing module. Further, the processing module can include a data unit, a storage unit, and a processing unit.

[0128] Thus, when evaluating whether the power supply to the electronic device is abnormal, the data unit can obtain the original parameters of the power supply to the electronic device monitored by the monitoring module, convert the format of the original parameters to form power supply parameters recognizable by the processing unit, send the power supply parameters to the processing unit, and send the power supply parameters and / or the original parameters to the storage unit.

[0129] In response to obtaining the power supply parameters, the processing unit can obtain the preset power supply stored in the storage unit, and compare the power supply parameters with the preset power supply to evaluate whether the power supply is abnormal.

[0130] The storage unit stores the obtained power supply parameters and / or the original parameters.

[0131] S303: Send a power supply abnormality signal to the baseboard management controller.

[0132] In this embodiment, in response to the determination of power supply abnormality, a power supply abnormality signal can be sent to the baseboard management controller to cause the baseboard management controller to discard the power supply information carried by the abnormal power supply, thereby facilitating the improvement of the performance of the baseboard management controller.

[0133] S304: Send the abnormal power supply information to the baseboard management controller.

[0134] In this embodiment, in response to determining that the power supply of the electronic device output by the power supply of the electronic device is abnormal power supply, the power management device may further send abnormal power supply information to the baseboard management controller.

[0135] In this way, the baseboard management controller can obtain the abnormal power supply information and know that the current power supply of the electronic device is abnormal power supply. Therefore, it can be considered that the power supply information carried by the abnormal power supply is not credible. In this way, the baseboard management controller can, in response to obtaining the abnormal power supply information, detect the power supply signal transmitted by the electronic device power supply, identify the electrical parameters carried by the power supply signal and the device information of the electronic device power supply, so as to review whether the electronic device power supply is abnormally powered.

[0136] Further, when the baseboard management controller and the power management device determine that the power supply of the electronic device returns to normal, an information acquisition request may be sent to the electronic device power supply to obtain the power supply information sent by the electronic device power supply; or, the electronic device power supply may be set to continuously send the power supply information to the baseboard management controller before obtaining the feedback from the baseboard management controller that it has received the power supply information. Other embodiments will not be elaborated here.

[0137] Among them, as elaborated in this step, as a manifestation of the power supply of the electronic device, the power supply information carried by the power supply signal may include electrical parameters and device information of the electronic device power supply. For example, the electrical parameters may include at least one of the voltage, current, power, etc. actually output by the electronic device power supply at present, and the device information of the electronic device power supply may include at least one of the version information, serial number, power supply identifier, etc. of the electronic device power supply.

[0138] Optionally, the abnormal power supply information and the power supply abnormal signal may be transmitted to the baseboard management controller synchronously or separately, which is not limited here.

[0139] S305: Compensate the power supply deviation to the baseboard management controller.

[0140] In this embodiment, as exemplified above, when the power supply of the electronic device power supply is abnormally powered, that is, the power supply of the electronic device output by it is abnormal power supply, the power management device can at least compensate the power supply deviation of the electronic device power supply to the baseboard management controller, which is beneficial to maintaining the reliable operation of the baseboard management controller, and further can improve the operation stability of the electronic device to ensure the reliability of the electronic device.

[0141] Specifically, as exemplified above, the management module can obtain the rated power supply parameters of the baseboard management controller. The management module can evaluate the power supply deviation of the electronic device power supply compared with the rated power supply parameters. The management module can control the battery module to output the power supply deviation to the baseboard management controller.

[0142] S306: The scheduling control module executes an exception response policy.

[0143] In this embodiment, in response to determining that the power supply of the electronic device is abnormal, the power management device can schedule its control module to execute an exception response policy.

[0144] For example, the management module can send abnormal power supply information to the control module, so that the control module can identify the abnormal level of the abnormal power supply and execute an exception response policy that matches the abnormal level.

[0145] In this way, the control module can identify the power supply error of the electronic device power supply compared with the preset power supply, and match the abnormal level corresponding to the power supply error. The control module maintains the current state or intervenes in the current state based on the abnormal level. Specifically, the abnormal response policy of the control module will be elaborated in detail later, and will not be elaborated here.

[0146] S307: Continuously monitor whether the power supply of the electronic device returns to normal.

[0147] In this embodiment, when it is determined that the power supply of the electronic device returns to normal, step S308 can be executed; when it is determined that the power supply of the electronic device does not return to normal, step S307 can be executed.

[0148] That is to say, when the power management device determines that the power supply of the electronic device is abnormal, it can continuously monitor the power supply of the electronic device. Considering that there may be power fluctuations and other situations during the operation of the electronic device, continuously monitoring whether the power supply returns to normal can help to promptly know that the power supply of the electronic device has recovered, pause the current abnormal response policy, and also enable the baseboard management controller to automatically obtain reliable power supply information, thereby helping the baseboard management controller to perform reliable management actions and improving the reliability of the electronic device.

[0149] S308: Send a recovery signal to the baseboard management controller.

[0150] In this embodiment, in response to determining that the power supply of the electronic device returns to normal, a recovery signal can be sent to the baseboard management controller, so that the baseboard management controller can obtain power supply information in response to the recovery signal, realizing the automation of the baseboard management controller to obtain reliable power supply information.

[0151] S309: Determine that the power supply is normal.

[0152] In this embodiment, in response to determining that the power supply of the electronic device is not abnormal, it can be considered that the current power supply is normal. At the same time, the power supply of the electronic device output by the electronic device power supply can be continuously monitored.

[0153] S310: In response to obtaining an exception review signal sent by a baseboard management controller, identify the occurrence time of the abnormal power supply to be reviewed indicated by the exception review signal.

[0154] In this embodiment, it is further considered that when the baseboard management controller stores power supply information or periodically evaluates whether the power supply is normal, there may be a situation where the power management device does not determine that the power supply is abnormal, but the baseboard management controller will find an exception review signal. In this embodiment, it is considered that the reasons for this situation may be that the power management device makes a missed judgment or a misjudgment, or there is an error when the baseboard management controller performs data conversion, etc.

[0155] Therefore, it is necessary to perform a power supply review on the exception review signal fed back by the baseboard management controller to further improve the reliability of the power supply exception evaluation, so as to improve the reliability of the electronic device.

[0156] Therefore, identify the occurrence time of the abnormal power supply to be reviewed indicated by the exception review signal. Among them, the occurrence time can be the current time or a historical time, which is not limited here.

[0157] It should be noted that even if the baseboard management controller periodically evaluates whether the power supply is normal as described above, the evaluation frequency of the baseboard management controller should be lower than that of the power management device. In this way, the parallel evaluation of the baseboard management controller can be used to further ensure the reliability of the exception evaluation result. At the same time, the power management device monitors the power supply of the electronic device with higher accuracy than the baseboard management controller, so as to improve the efficiency and accuracy of capturing the level change.

[0158] S311: Search for the monitoring parameters at the occurrence time from the stored power supply data.

[0159] In this embodiment, in response to obtaining the occurrence time of the abnormal power supply to be reviewed, the monitoring parameters at the occurrence time can be pulled from the storage unit to use the monitoring parameters to review whether the power supply is abnormal at the occurrence time.

[0160] S312: Review whether the monitoring parameters indicate a power supply abnormality.

[0161] In this embodiment, when it is determined that the monitoring parameters indicate a power supply abnormality, step S313 can be executed; when it is determined that the monitoring parameters do not indicate a power supply abnormality, step S314 can be executed.

[0162] Optionally, the to-be-verified power supply parameters carried by the exception verification signal can be parsed. Compare whether the to-be-verified power supply parameters match the monitored parameters. In response to the mismatch between the two and the monitored parameters indicating normal power supply, feedback the monitored parameters to the baseboard management controller, so that the baseboard management controller can obtain the monitored parameters monitored by the power management device, realizing the synchronization of the power supply situation. It is also possible to continue monitoring the power supply of the current electronic device and perform power management based on the power supply of the current electronic device.

[0163] S313: Feedback that the power supply is abnormal at the moment when the baseboard management controller occurs.

[0164] In this embodiment, in response to the review determining that the monitored parameters indicate abnormal power supply, evaluate whether the power supply of the current electronic device has returned to normal. In response to the failure to return to normal power supply, execute the abnormal response strategy. For example, a power supply abnormality signal can be sent to the baseboard management controller to cause the baseboard management controller to discard the power supply information carried by the abnormal power supply.

[0165] Furthermore, it is also possible to send abnormal power supply information to the baseboard management controller and / or the control module, etc., which will not be elaborated here.

[0166] S314: Feedback that the power supply is normal at the moment when the baseboard management controller occurs.

[0167] In this embodiment, in response to the review determining that the monitored parameters indicate normal power supply, the power management device can feedback that the power supply is normal at the moment when the baseboard controller occurs, so as to realize the synchronization and correction of the power supply situation of the electronic device power supply.

[0168] The following elaborates on the detailed working principle of the control module executing the abnormal response strategy by way of example.

[0169] Please refer to Figure 8 , Figure 8 which is a schematic flowchart of an embodiment of the abnormal response of the control module of the present application. It should be noted that in this embodiment, the control module of the power management device is used as the execution subject of each process step for elaboration by way of example.

[0170] S401: Obtain the abnormal power supply information sent by the management module.

[0171] In this embodiment, as exemplified above, the management module can send abnormal power supply information to the control module. Thus, the control module can execute the corresponding abnormal response strategy in response to obtaining the abnormal power supply information sent by the management module.

[0172] S402: Identify the abnormal level of the abnormal power supply.

[0173] In this embodiment, when the control module determines that the anomaly level is a first-level anomaly, step S403 can be executed; when the control module determines that the anomaly level is a second-level anomaly, step S404 can be executed; when the control module determines that the anomaly level is a third-level anomaly, step S405 can be executed; when the control module determines that the anomaly level is a fourth-level anomaly, step S408 can be executed.

[0174] That is to say, in this embodiment, abnormal power supply can be divided into multiple anomaly levels, so as to execute different anomaly response strategies at different anomaly levels, while ensuring the business continuity of the electronic device and improving the abnormal power supply situation of the electronic device. Of course, when the degree of abnormal power supply of the electronic device is relatively high, it can be considered necessary to shut down the electronic device, which can reduce the risk of the electronic device working in a situation with high risks such as downtime and crash, so as to ensure the reliability of the electronic device.

[0175] Specifically, the control module identifies the anomaly level of the abnormal power supply and executes the anomaly response strategy matching the anomaly level.

[0176] For example, the control module can identify the power supply error of the electronic device power supply compared with the preset power supply, and match the anomaly level corresponding to the power supply error. The control module maintains the current state or intervenes in the current state based on the anomaly level.

[0177] It should be noted that the preset power supply can be the rated power supply parameters exemplified in the previous text; or, the preset power supply can be different from the rated power supply parameters, and it can be the power supply parameters that can maintain the reliable operation of the baseboard management controller, which is not limited here.

[0178] S403: Maintain the current power supply state of the electronic device.

[0179] In this embodiment, when the control module determines that the anomaly level is a first-level anomaly, it can be considered that the current abnormal power supply situation has little impact on the reliability of the baseboard management controller and the electronic device. It may also be a slight power supply fluctuation during normal operation or an error in the power supply monitoring of the electronic device. Therefore, the current power supply state of the electronic device can be maintained.

[0180] S404: Send an active reading instruction to the baseboard management controller.

[0181] In this embodiment, when the control module determines that the anomaly level is a second-level anomaly, it can be considered that the current abnormal power supply situation has a certain impact on the reliability of the baseboard management controller and the electronic device. An active reading instruction can be sent to the baseboard management controller to enable the baseboard management controller to actively obtain the power supply information of the electronic device power supply, and monitor and evaluate the current power supply situation of the electronic device through parallel verification.

[0182] S405: Collect the power supply energy information for a preset duration.

[0183] In this embodiment, when the control module determines that the anomaly level is a level-three anomaly, it can be considered that the current power supply anomaly has a greater impact on the reliability of the baseboard management controller and the electronic device. Therefore, the power supply energy information for a preset duration can be collected to evaluate subsequent response strategies.

[0184] S406: Evaluate whether the number of anomalies in the power supply energy information reaches the number threshold.

[0185] In this embodiment, the control module collects the power supply energy information for a preset duration to evaluate whether the number of anomalies in the power supply energy information reaches the number threshold, so as to evaluate whether it is necessary to intervene in the current abnormal power supply situation.

[0186] For example, the number threshold can be five times, ten times, fifteen times, twenty times, etc., which is not limited here. In this way, the number threshold can be reasonably set to reduce the situation of prematurely controlling the electronic device to shut down, and can also reduce the risk of the electronic device crashing.

[0187] S407: Control the electronic device to shut down.

[0188] In this embodiment, in response to determining whether the number of anomalies in the power supply energy information reaches the number threshold, when the number of anomalies reaches the number threshold, it can be considered that the electronic device is operating at risk. Therefore, the control module can control the electronic device to shut down.

[0189] S408: Control the electronic device to shut down.

[0190] In this embodiment, when the control module determines that the anomaly level is a level-four anomaly, it can be considered that the current power supply anomaly has a serious impact on the reliability of the baseboard management controller and the electronic device. Therefore, the electronic device is controlled to shut down.

[0191] Generally speaking, in this application, the processing module can set the voltage specification and timing specification of the electronic device power supply according to the PSU specification. The monitoring module can monitor the change of the level of the PSU signal in real time.

[0192] When the electronic device is initially powered on, due to the initialization of the electronic device system and the PSU, the power-on voltage and timing of some PSUs may be abnormal. If the monitoring module does not detect a power supply anomaly, normal polling can be performed. If a power supply anomaly is detected, the processing module compares it with the designed specification and reports it to the BMC and the CLPD. The CPLD can distinguish the anomaly level according to the signal importance.

[0193] For example, level P0 (such as the level-four anomaly in the foregoing embodiment) is a severe case that requires immediate shutdown. Level P1 (such as the level-three anomaly in the foregoing embodiment) is a relatively severe case that requires continuous observation. If it persists within a specific time, shutdown processing is performed. Level P2 (such as the level-two anomaly in the foregoing embodiment) has a minor impact and requires the BMC to reread PSU information, etc. Level P3 (such as the level-one anomaly in the foregoing embodiment) can be considered as normal power supply for the electronic device without any processing required.

[0194] Among them, after the CPLD determines the abnormal level, relevant operations can be performed on the system and the PSU according to the set level to implement the execution of the abnormal response strategy.

[0195] When the BMC receives the feedback of the existence of an abnormal level, it can immediately start the determination work on the PSU information. During this process, the BMC can verify the data transmitted by the PSU to determine whether there is any abnormal information. When the BMC confirms the existence of abnormal information, it can quickly respond to start the process of rereading this information to ensure the accuracy of the read data. If the BMC determines that the PSU information is normal, the subsequent processing work can be handed over to the CPLD.

[0196] The CPLD can analyze the overall situation according to its preset determination logic, and then determine the appropriate abnormal response strategy. During the period when the BMC normally obtains the PSU information, even if no abnormal level notification is received, if it is found that the obtained data is abnormal, the BMC can also promptly inform the processing module.

[0197] The processing module then conducts a comprehensive investigation of the possible abnormal signals. For example, it can detect the PSU level fluctuation, whether the signal transmission timing is disordered, etc. If it detects abnormal power supply for the electronic device, the processing module can comprehensively consider factors such as the severity of the abnormal signal (i.e., the abnormal level), the occurrence frequency, and the potential impact on system stability, and determine whether to reread the PSU information.

[0198] If the processing module does not find any abnormal level after the investigation, to ensure data reliability, the BMC can still perform the rereading operation to guarantee the reliability of the data relied on by the electronic device system and the baseboard management controller, thus facilitating the stable operation of the electronic device and the efficient development of services.

[0199] In summary, in the present application, a power management device is added between the PSU and the BMC. The power management device can at least include a management module and a battery module.

[0200] The management module can include a monitoring module and a processing module. Among them, the monitoring module can monitor the level of the PSU in real time; the processing module can determine and process the detected PSU voltage and timing, and can notify the BMC and the CPLD after detecting an abnormality.

[0201] Meanwhile, after detecting an abnormal PSU level, the management module can notify the BMC. If the BMC detects an abnormal PSU message at this time, it can perform repeated readings until the message is read normally. If an abnormal level occurs and the evaluation deems it to have a great impact, it can also notify the CPLD to shut down the electronic device system, that is, control the electronic device to shut down, in order to ensure that the electronic device is not damaged and thus contribute to ensuring the reliability of the electronic device.

[0202] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation method.

[0203] The embodiments of the present application also provide an electronic device.

[0204] The electronic device includes a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above embodiments of the device power supply method.

[0205] The embodiments of the present application also provide a computer-readable storage medium.

[0206] A computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute the steps in any one of the above embodiments of the device power supply method when running.

[0207] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: USB flash drive, read-only memory (ROM for short), random access memory (RAM for short), mobile hard disk, magnetic disk, or optical disc, etc., various media that can store computer programs.

[0208] The embodiments of the present application also provide a computer program product. The above computer program product includes a computer program, and when the computer program is executed by a processor, it implements the steps in any one of the above embodiments of the device power supply method.

[0209] The embodiments of the present application also provide another computer program product, including a non-volatile computer-readable storage medium. The non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the steps in any one of the above embodiments of the device power supply method.

[0210] Those skilled in the art may further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0211] The above has introduced in detail a device power supply method, a power management device, an electronic device, an electronic device, and a computer-readable storage medium provided by this application. Specific examples are used herein to elaborate on the principles and implementation manners of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application. It should be noted that for those of ordinary skill in the art, without departing from the principle of this application, several improvements and modifications can be made to this application, and these improvements and modifications also fall within the protection scope of the claims of this application.

Claims

1. A power supply system, characterized in that, The power supply system includes: An electronic device power supply for supplying power to an electronic device. A power management device connected to the electronic device power supply. The power management device includes a management module for monitoring the power supply to the electronic device output by the electronic device power supply. Wherein, the power management device is independently arranged relative to the baseboard management controller of the electronic device in the electronic device; evaluate whether the power supply to the electronic device is abnormal; in response to determining that the power supply is abnormal, send a power supply abnormal signal to the baseboard management controller to cause the baseboard management controller to discard the power supply information carried by the abnormal power supply.

2. The power supply system according to claim 1, wherein The management module includes a monitoring module and a processing module; The monitoring module is used to monitor the power supply to the electronic device output by the electronic device power supply; The processing module is connected to the monitoring module and is used to obtain the power supply to the electronic device monitored by the monitoring module to evaluate whether the power supply to the electronic device is abnormal; and send a power supply abnormal signal to the baseboard management controller when the power supply to the electronic device is abnormal.

3. The power supply system according to claim 2, wherein The power management device further includes: A battery module connected to the monitoring module and the processing module for storing electric energy to supply power to the monitoring module and the processing module when the electronic device power supply does not supply power.

4. The power supply system according to claim 1, characterized in that The power management device further includes: A control module connected to the management module for obtaining the abnormal power supply information fed back by the management module to evaluate and execute an abnormal response strategy adapted to the abnormal power supply information.

5. A method for powering a device applied to the power supply system according to any one of claims 1 to 4, characterized in that, The device power supply method includes: The power management device monitors the power supply to the electronic device output by the electronic device power supply. Wherein, the power management device is independently arranged relative to the baseboard management controller in the electronic device; Evaluate whether the power supply to the electronic device is abnormal; In response to determining that the power supply is abnormal, send a power supply abnormal signal to the baseboard management controller to cause the baseboard management controller to discard the power supply information carried by the abnormal power supply.

6. The method for powering the device according to claim 5, wherein The power management device includes a battery module and a management module; Before the power management device monitors the power supply to the electronic device output by the electronic device power supply, it includes: In response to the electronic device not being powered on, the battery module provides management power supply to the management module; The management module receives the management power supply to detect whether the electronic device is powered on, so that the management module monitors the power supply to the electronic device in response to the electronic device being powered on.

7. The method for powering the device according to claim 6, characterized in that, After evaluating whether the power supply to the electronic device is abnormal, it further includes: In response to determining that the power supply is normal, the management module switches to obtaining the power supply to the electronic device as its working power supply; and / or, The battery module obtains the power supply to the electronic device and stores energy.

8. The method for powering the device according to claim 6, characterized in that, The battery module includes a battery module, a display module, an identification module, and a switch module; The battery module providing management power supply to the management module includes: The switch module obtains a conduction signal and sends a startup instruction to the identification module; The recognition module, in response to obtaining the startup instruction, detects the remaining power of the battery module; in response to the remaining power being higher than the power threshold, controls the battery module to provide management power supply to the management module, and sends a first display instruction to the display module to control the display module to be in the first display mode; in response to the remaining power being less than the power threshold, sends a second display instruction to the display module to control the display module to be in the second display mode.

9. The method for powering the device according to claim 5, characterized in that, The power management device includes a battery module and a management module; after determining power supply abnormality, it further includes: The management module obtains the rated power supply parameters of the baseboard management controller; The management module evaluates the power supply deviation of the electronic device's power supply compared to the rated power supply parameters; The management module controls the battery module to output the power supply deviation to the baseboard management controller.

10. The method for powering a device according to claim 5, wherein The management module of the power management device includes a monitoring module and a processing module, and the processing module includes a data unit, a storage unit, and a processing unit; evaluating whether the power supply of the electronic device is abnormal includes: The data unit obtains the original parameters of the electronic device's power supply monitored by the monitoring module, performs format conversion on the original parameters to form power supply parameters recognizable by the processing unit, sends the power supply parameters to the processing unit, and sends the power supply parameters and / or the original parameters to the storage unit; The processing unit, in response to obtaining the power supply parameters, obtains the preset power supply stored in the storage unit, and compares the power supply parameters with the preset power supply to evaluate whether there is power supply abnormality; The storage unit stores the obtained power supply parameters and / or the original parameters.

11. The method for supplying power to a device according to claim 5, wherein The power management device includes a management module and a control module; After determining power supply abnormality, it further includes: The management module sends abnormal power supply information to the control module; The control module identifies the abnormal level of the abnormal power supply and executes an abnormal response strategy matching the abnormal level.

12. The method for powering the device according to claim 11, wherein The control module identifies the abnormal level of the abnormal power supply and executes an abnormal response strategy matching the abnormal level includes: The control module identifies the power supply error of the electronic device's power supply compared to the preset power supply, and matches the abnormal level corresponding to the power supply error; the control module maintains the current state or intervenes in the current state based on the abnormal level.

13. The method for powering the device according to claim 12, characterized in that, The control module maintaining the current state or intervening in the current state based on the abnormal level includes: When the control module determines that the abnormal level is a first-level abnormality, it maintains the current power supply state of the electronic device; and / or, When the control module determines that the abnormal level is a second-level abnormality, it sends an active reading instruction to the baseboard management controller to make the baseboard management controller actively obtain the power supply information of the electronic device's power supply; and / or, When the control module determines that the abnormal level is a level-three abnormality, it collects power supply energy information for a preset duration and evaluates whether the number of abnormalities in the power supply energy information reaches a number threshold. When the number of abnormalities reaches the number threshold, it controls the electronic device to shut down; and / or, When the control module determines that the abnormal level is a level-four abnormality, it controls the electronic device to shut down.

14. The method for powering the device according to claim 5, wherein After determining the power supply abnormality, it further includes: Sending abnormal power supply information to the baseboard management controller; So that the baseboard management controller, in response to obtaining the abnormal power supply information, detects the power supply signal transmitted by the power supply of the electronic device, identifies the electrical parameters carried by the power supply signal and the device information of the power supply of the electronic device, to review whether the power supply of the electronic device is abnormally powered.

15. The method for powering a device according to claim 5, characterized in that, After determining the power supply abnormality, it further includes: Continuously monitoring whether the power supply of the electronic device resumes normal power supply; In response to the power supply of the electronic device resuming normal power supply, sending a recovery signal to the baseboard management controller, so that the baseboard management controller obtains the power supply information in response to the recovery signal.

16. The method for powering a device according to claim 5, wherein After evaluating whether the power supply of the electronic device is abnormally powered, it further includes: In response to determining that the power supply is normal and obtaining the abnormal review signal sent by the baseboard management controller, identifying the occurrence time of the abnormal power supply to be reviewed indicated by the abnormal review signal; Searching for the monitoring parameters at the occurrence time from the stored power supply data; Reviewing whether the monitoring parameters indicate abnormal power supply.

17. The method for supplying power to a device according to claim 16, wherein After reviewing whether the monitoring parameters indicate abnormal power supply, it further includes: In response to the monitoring parameters indicating abnormal power supply, feeding back to the baseboard management controller that the power supply is abnormally powered at the occurrence time; Evaluating whether the current power supply of the electronic device resumes normal power supply; In response to not resuming normal power supply, executing an abnormal response strategy.

18. The method for supplying power to a device according to claim 16, wherein The reviewing whether the monitoring parameters indicate abnormal power supply includes: Analyzing the power supply parameters to be verified carried by the abnormal review signal; Comparing whether the power supply parameters to be verified match the monitoring parameters; In response to the two not matching and the monitoring parameters indicating normal power supply, feeding back the monitoring parameters to the baseboard management controller.

19. An electronic device, characterized in that, The electronic device includes: A memory for storing a computer program; A processor for implementing the steps of the device power supply method according to any one of claims 5 to 18 when executing the computer program.

20. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, wherein the computer program, when executed by a processor, implements the steps of the device power supply method according to any one of claims 5 to 18.

Citation Information

Patent Citations

  • Power supply device and power supply method

    CN104571446A

  • Power supply fault reporting method

    CN113760073A

  • Substrate management circuit and method, computer equipment and mainboard control system

    CN115407860A

  • BBU power supply method and system, storage medium and equipment

    CN115543053A

  • System and method for detecting power-on abnormity of server board card

    CN117076220A