A control method, device and server
By detecting the load status of the power supply and dynamically controlling the charging and discharging of the battery to maintain the load rate within a stable range, the problems of high cost and unstable efficiency in power supply design are solved, and the server can operate efficiently and stably.
Patent Information
- Application Number
- CN202210295161.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-24
- Publication Date
- 2026-03-06
- Estimated Expiration
- 2042-03-24
AI Technical Summary
Existing server power supply designs suffer from high costs and unstable energy efficiency due to excessive margins, especially in GPU scenarios where peak power consumption is frequent, making it difficult to maintain a stable power supply.
By detecting the load status of the power supply, the battery charging or discharging is controlled based on the load data to maintain the load rate of the power supply within a stable range. The charging and discharging parameters of the battery are dynamically adjusted to ensure that the output of the power supply remains in the high-efficiency range.
This approach improves the stability and efficiency of the power supply while meeting the normal operating requirements of the server, thereby reducing overall costs and increasing energy efficiency.
Smart Images

Figure CN114567052B_ABST
Abstract
Description
Technical Field
[0001] This application relates to automatic control technology, and more specifically, to a control method, device, and server. Background Technology
[0002] The application scenarios for servers are becoming increasingly diverse and complex, such as those using GPUs (graphics processing units), leading to more frequent peak power consumption usage of server power supplies. To ensure that power supplies meet the peak power consumption requirements of these applications, their hardware design must incorporate higher margins to prevent server shutdowns due to overcurrent protection. However, designing higher margins increases the overall cost of the server, and the energy efficiency of the power supply varies across different application scenarios. Summary of the Invention
[0003] In view of the above, this application provides the following technical solution:
[0004] A control method, applied to a server including a power supply and a battery, comprising:
[0005] Detect first data, which represents the load status of the power supply;
[0006] The first parameter of the power supply is obtained based on the first data;
[0007] Based on the first parameter, the battery is charged or discharged to maintain the load rate of the power supply within a first range.
[0008] Optionally, controlling battery charging or discharging based on the first parameter includes:
[0009] Based on the first parameter, determine the battery charging parameters or battery discharging parameters;
[0010] The battery is controlled to charge based on the battery charging parameters or to discharge based on the battery discharging parameters.
[0011] Optionally, controlling battery charging or discharging based on the first parameter includes:
[0012] When the first parameter is lower than the first value, the power supply is controlled to charge the battery in order to increase the load of the power supply.
[0013] When the first parameter is higher than the second value, the battery is controlled to discharge in order to reduce the load on the power supply, wherein the second value is higher than the first value.
[0014] Optionally, controlling battery charging or discharging based on the first parameter includes:
[0015] When the first parameter is higher than the third value and the first signal is received, the battery is controlled to discharge.
[0016] Optionally, controlling battery discharge when the first parameter is higher than the third value and a first signal is received includes:
[0017] Energy demand data is determined based on the first received signal;
[0018] The available energy data of the power supply is determined based on the first parameter;
[0019] Discharge parameters are determined based on the energy demand data and the available energy data.
[0020] The battery is controlled to discharge based on the aforementioned discharge parameters.
[0021] Optionally, the power supply includes multiple power supply devices, the battery and the multiple power supply devices are connected to the same busbar, and the step of controlling the battery charging or discharging based on the first parameter includes:
[0022] Based on the first parameter, the battery is controlled to obtain power from the bus or release power to the bus.
[0023] Optionally, the detection of the first data includes:
[0024] Detect the voltage level of the current sharing bus;
[0025] The step of obtaining the first parameter of the power supply based on the first data includes:
[0026] The output power of the power supply is obtained based on the voltage level.
[0027] This application also discloses a control device applied to a server including a power supply and a battery, comprising:
[0028] The data detection module is used to detect first data, which represents the load status of the power supply.
[0029] A parameter acquisition module is used to obtain a first parameter of the power supply based on the first data;
[0030] A battery control module is used to control the charging or discharging of the battery based on the first parameter so that the load rate of the power supply is maintained within a first range.
[0031] Optionally, the battery control module includes:
[0032] A parameter determination module is used to determine battery charging parameters or battery discharging parameters based on the first parameter;
[0033] The battery control submodule is used to control the battery to charge based on the battery charging parameters or to discharge based on the battery discharging parameters.
[0034] Furthermore, this application also discloses a server, comprising:
[0035] Power supply;
[0036] Battery;
[0037] processor;
[0038] Memory for storing the executable instructions of the processor;
[0039] The executable instructions include: detecting first data, the first data representing the load status of the power supply; obtaining a first parameter of the power supply based on the first data; and controlling the battery to charge or discharge based on the first parameter so that the load rate of the power supply is maintained within a first range.
[0040] As can be seen from the above technical solutions, compared with the prior art, the embodiments of this application disclose a control method, device, and server, applied to a server including a power supply and a battery. The method includes: detecting first data, the first data representing the load status of the power supply; obtaining a first parameter of the power supply based on the first data; and controlling the battery to charge or discharge based on the first parameter, so that the load rate of the power supply is maintained within a first range. The above implementation can dynamically control the battery to charge or discharge based on the load status of the power supply, and while meeting the normal operation requirements of the server, it can maintain the output of the power supply in a more stable range with higher conversion efficiency, thereby improving the stability and efficiency of the power supply. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0042] Figure 1 This is a flowchart of a control method disclosed in an embodiment of this application;
[0043] Figure 2 This is a load-efficiency diagram of a power supply disclosed in an embodiment of this application;
[0044] Figure 3 This is a flowchart of a process for controlling battery charging or discharging, as disclosed in an embodiment of this application.
[0045] Figure 4 This is a flowchart of a battery discharge control method disclosed in an embodiment of this application;
[0046] Figure 5 This is a schematic diagram of the structure of a control device disclosed in an embodiment of this application;
[0047] Figure 6 This is a schematic diagram of the structure of a server disclosed in an embodiment of this application. Detailed Implementation
[0048] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0049] Figure 1 This is a flowchart of a control method disclosed in an embodiment of this application. Figure 1 The method shown can be applied to servers that include power supplies and batteries. See also Figure 1 As shown, the control method may include:
[0050] Step 101: Detect first data, which represents the load status of the power supply.
[0051] The first data can be obtained in different ways. For example, in one example, the first data can be obtained from the current sharing bus of the power supply; specifically, the first data can be the voltage level on the current sharing bus. In a power supply, the accuracy of the current sharing bus will significantly affect the current sharing of multiple power supplies on the bus. The smaller the error value of the current sharing bus, the closer the output current of each power supply will be when multiple power supplies are connected in parallel, the higher the energy utilization rate of the power supply, and the better it helps to improve the overall stability of the server. Therefore, the higher the accuracy of the current sharing bus, the more accurately the obtained first data, that is, the value of the voltage level, can reflect the actual load of the power supply, which facilitates more precise subsequent control.
[0052] In another example, the first data can be obtained based on the service data currently being carried by the server, including service type, service volume, and power supply standards. Once the service data is determined, the total energy demand can be estimated, which also reflects the load on the power supply.
[0053] Step 102: Obtain the first parameters of the power supply based on the first data.
[0054] The first parameter can be the output power of the power supply, which corresponds to the voltage level on the current sharing bus or the service energy demand. Obtaining the power supply's output power in this step is for subsequent determination of whether to increase or decrease the load on the power supply based on its operating status, so that the load on the power supply remains within a stable range. Therefore, detecting the first data can include: detecting the voltage level of the current sharing bus; obtaining the first parameter of the power supply based on the first data can include: obtaining the output power of the power supply based on the voltage level.
[0055] Figure 2 This is a load-efficiency diagram of a power supply disclosed in an embodiment of this application, showing the approximate conversion efficiency of different types of power supplies under different loads. Combined with... Figure 2 It is clear that the power supply's conversion efficiency is higher when the load rate is in the middle range. Therefore, the power supply's load rate can be controlled and maintained within a fixed range, such as 30% to 70%, which will ensure that the power supply's conversion efficiency remains at a stable and high level.
[0056] Given that the power supply's power supply capacity is known, the power supply's output power can effectively reflect the power supply's load rate. Therefore, in this step, it is necessary to determine the first parameter of the power supply, namely the output power.
[0057] After step 102, proceed to step 103.
[0058] Step 103: Control the battery charging or discharging based on the first parameter so that the load rate of the power supply is maintained within a first range.
[0059] If the first parameter indicates that the load rate of the power supply exceeds the set range, it means that the current load rate of the power supply is too high and the battery needs to share part of the load. In this case, it is necessary to control the battery to discharge in order to bear part of the load required, so that the load of the power supply is reduced.
[0060] If the first parameter indicates that the load rate of the power supply is lower than the set range, it means that the current load rate of the power supply is too low and its load needs to be increased. In this case, it is necessary to control the power supply to increase its output power and use the extra power to charge the battery while ensuring the normal operation of the server.
[0061] The control method described in this application determines whether the battery is charged or discharged based on the load condition of the power supply, thereby stabilizing the power supply's conversion efficiency within a high range and resulting in more stable operation. The specific implementation of battery charging and discharging will be detailed in later embodiments and will not be elaborated upon here.
[0062] The control method described in this embodiment can dynamically control the battery to charge or discharge based on the load of the power supply. Under the premise of meeting the normal operation requirements of the server, the output of the power supply is kept in a stable range with higher conversion efficiency, thereby improving the stability and efficiency of the power supply.
[0063] Figure 3 This is a flowchart of a battery charging or discharging control method disclosed in an embodiment of this application. (In conjunction with...) Figure 3 As shown, controlling battery charging or discharging based on the first parameter may include:
[0064] Step 301: Determine the battery charging parameters or battery discharging parameters based on the first parameter.
[0065] Step 302: Control the battery to charge based on the battery charging parameters or to discharge based on the battery discharging parameters.
[0066] Understandably, the energy required by a server changes dynamically in real time. Even if a load range for the power supply has been determined, as mentioned earlier, the amount of additional energy or load required to maintain the power supply's load rate within this range varies under different conditions. Therefore, when it is determined that the battery needs to be charged, the charging voltage can be dynamically adjusted based on the current load of the power supply; or, when it is determined that the battery needs to be discharged, the battery discharge voltage also needs to be dynamically adjusted based on the current load of the power supply.
[0067] For example, if the load rate of the power supply needs to be maintained in the range of 30% to 65%, when the load rate of the power supply is determined to be 75% by the first parameter, the discharge voltage of the battery is controlled to be 3.5V. When the load rate of the power supply is determined to be 85% by the first parameter, in order to maintain the load rate of the power supply in the range of 30% to 65%, the battery needs to discharge at a faster rate than when the load rate of the power supply is 75%. In this case, the discharge voltage of the battery can be 5V.
[0068] It should be noted that the above examples are only intended to help those skilled in the art better understand the implementation of this application, and the numerical values are merely illustrative and do not have any practical guiding significance. Furthermore, in reality, the charging or discharging voltage of a battery is not arbitrarily variable, but rather can have several fixed values for control under different circumstances.
[0069] In the above embodiments, controlling battery charging or discharging based on the first parameter may include: when the first parameter is lower than a first value, controlling the power supply to charge the battery to increase the load of the power supply; and when the first parameter is higher than a second value, controlling the battery to discharge to reduce the load of the power supply, wherein the second value is higher than the first value.
[0070] Assuming the power supply load rate needs to be maintained in the range of 30% to 65%, the first value is the value corresponding to the lower limit of the set range, that is, the value corresponding to 30%; the second value is the value corresponding to the upper limit of the set range, that is, the value corresponding to 65%.
[0071] For example, when server traffic is low, the power supply load rate drops to around 20%. In order to maintain the power supply's efficiency at a high level, its load rate needs to be stabilized within a set range, such as the 30% to 65% range mentioned earlier. In this case, the battery is controlled to charge, thereby increasing the power supply load and raising its load rate to the 30% to 65% range.
[0072] For example, in a scenario where the server is at its peak power consumption, the load rate of the power supply will increase rapidly. When the first parameter is obtained, the load rate of the power supply reaches 90%. At this time, in order to stabilize the working state of the power supply and make its load rate quickly drop back to the set range, the battery will quickly discharge to provide some of the load, so as to share the workload of the power supply.
[0073] In some implementations, when a server starts a certain service, it is known from historical data that there will be a relatively large power consumption immediately after starting the service. In this scenario, in order to meet the power consumption requirements of the scenario in a timely manner, a first signal can be generated when the service is triggered. The battery can then be controlled to start discharging based on the first signal, thereby avoiding the situation where the power supply load rate has already increased to a high value before the battery starts discharging, resulting in delayed power supply.
[0074] Using the example of a setting range of 30% to 65%, assuming that the load rate corresponding to the larger power consumption required by the service indicated by the first signal is 30%, if the original load rate of the power supply is 32%, then even if the load rate is increased by 30%, the total load rate will be 62%, which is still within the setting range, and no additional battery power is required. However, if the original load rate of the power supply is 50%, then increasing the load rate by 30% will exceed the setting range, and the battery will be needed to provide some of the load power.
[0075] Based on the above, controlling battery charging or discharging based on the first parameter may include: controlling battery discharging when the first parameter is higher than a third value and a first signal is received. The third value is located between the first value and the second value, that is, a value within the set range.
[0076] Figure 4 This is a flowchart of a battery discharge control method disclosed in an embodiment of this application. (In conjunction with...) Figure 4 As shown, controlling battery discharge when the first parameter is higher than the third value and a first signal is received may include:
[0077] Step 401: Determine energy demand data based on the received first signal.
[0078] Step 402: Determine the available energy data of the power supply based on the first parameter.
[0079] Step 403: Determine the discharge parameters based on the energy demand data and the available energy data.
[0080] Step 404: Control the battery to discharge based on the discharge parameters.
[0081] For example, if the set range is 30% to 65%, the load rate corresponding to the larger power consumption required by the service indicated by the first signal is 40%, which corresponds to the aforementioned energy demand data; if the original load rate of the power supply is 55%, then the available energy data of the power supply corresponds to 45%. Based on the energy demand data and the available energy data, the discharge parameters can be determined to allow the power supply to provide an additional 10% of the load corresponding to the original load rate of 55%. The energy supply for the remaining 35% of the load corresponding to the load rate of the service indicated by the first signal, excluding this 10% energy supply, can be provided by the battery, thereby determining the battery discharge parameters.
[0082] It should be noted that the above examples are only used to help technical personnel in the field better understand this implementation, and the numerical examples are only used to help visualize the implementation content and do not have practical guiding significance.
[0083] In practical applications, servers include multiple power supplies, typically grouped together and connected to a bus. The energy provided by these power supplies is then output to the load. Similarly, batteries also need to be connected to the bus. When a battery needs charging, it receives power from the bus; when a battery needs discharging, it sends power to the bus, which then distributes the received power to the load. The number of power supplies and batteries connected to a bus can be set based on actual needs, and this application does not impose a fixed limit. Based on the above, the power supply (which can be understood as a combination of power supplies) can include multiple power supply devices (which can be understood as power supplies). The battery and the multiple power supply devices are connected to the same bus. Controlling battery charging or discharging based on the first parameter can include: controlling the battery to receive power from the bus or release power to the bus based on the first parameter.
[0084] For the foregoing method embodiments, in order to simplify the description, they are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0085] The methods described in the above-disclosed embodiments of this application are detailed in terms of the methods. The methods of this application can be implemented by various forms of apparatus. Therefore, this application also discloses an apparatus. Specific embodiments are given below for detailed description.
[0086] Figure 5 This is a schematic diagram of the structure of a control device disclosed in an embodiment of this application. Figure 5 The device shown is used in a server that includes a power supply and a battery. See also Figure 5 As shown, the control device 50 may include:
[0087] The data detection module 501 is used to detect first data, which represents the load status of the power supply.
[0088] The parameter acquisition module 502 is used to obtain the first parameter of the power supply based on the first data.
[0089] The battery control module 503 is used to control the charging or discharging of the battery based on the first parameter so that the load rate of the power supply is maintained within a first range.
[0090] The control device described in this embodiment can dynamically control the battery to charge or discharge based on the load of the power supply. Under the premise of meeting the normal operation requirements of the server, the output of the power supply is kept in a more stable range with higher conversion efficiency, thereby improving the stability and efficiency of the power supply.
[0091] In one implementation, the battery control module may include: a parameter determination module, used to determine battery charging parameters or battery discharging parameters based on the first parameter; and a battery control submodule, used to control the battery to charge based on the battery charging parameters or to discharge based on the battery discharging parameters.
[0092] In one implementation, the battery control module can be used to: control the power supply to charge the battery when the first parameter is lower than a first value, so as to increase the load of the power supply; and control the battery to discharge when the first parameter is higher than a second value, so as to reduce the load of the power supply, wherein the second value is higher than the first value.
[0093] In one implementation, the battery control module can be used to control battery discharge when the first parameter is higher than the third value and a first signal is received.
[0094] In one implementation, the battery control module can be used to: determine energy demand data based on a received first signal; determine available energy data of the power supply based on the first parameter; determine discharge parameters based on the energy demand data and the available energy data; and control the battery to discharge based on the discharge parameters.
[0095] In one implementation, the power supply includes multiple power supply devices, and the battery and the multiple power supply devices are connected to the same busbar. Specifically, the battery control module can be used to: control the battery to obtain power from the busbar or release power to the busbar based on the first parameter.
[0096] In one implementation, the data detection module can be specifically used to: detect the voltage level of the current sharing bus; the parameter acquisition module can be specifically used to: obtain the output power of the power supply based on the voltage level.
[0097] Any of the control devices described in the above embodiments includes a processor and a memory. The data detection module, parameter acquisition module, battery control module, parameter determination module, battery control sub-module, etc. in the above embodiments are all stored as program modules in the memory, and the processor executes the above program modules stored in the memory to realize the corresponding functions.
[0098] The processor contains a kernel, which retrieves the corresponding program modules from memory. One or more kernels can be configured, and the processing of backtracking data can be achieved by adjusting kernel parameters.
[0099] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0100] In an exemplary embodiment, a computer-readable storage medium is also provided, which can be directly loaded into the internal memory of a computer, and contains software code. After being loaded and executed by the computer, the computer program can implement the steps shown in any of the embodiments of the control method described above.
[0101] In an exemplary embodiment, a computer program product is also provided, which can be directly loaded into the internal memory of a computer and contains software code. After being loaded and executed by the computer, the computer program can implement the steps shown in any embodiment of the control method described above.
[0102] Furthermore, embodiments of this application provide an electronic device. Figure 6 This is a schematic diagram of the structure of a server disclosed in an embodiment of this application. See also... Figure 6 As shown, server 60 includes at least one processor 601, and at least one memory 602, bus 603, power supply 604 and battery 605 connected to the processor; wherein, the processor and memory communicate with each other through the bus; the processor is used to call executable program instructions in the memory to execute the above control method.
[0103] The executable program instructions include: detecting first data, the first data representing the load status of the power supply; obtaining a first parameter of the power supply based on the first data; and controlling the battery to charge or discharge based on the first parameter so that the load rate of the power supply is maintained within a first range.
[0104] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.
[0105] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0106] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0107] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A control method applied to a server comprising a power supply and a battery, comprising: detecting first data, the first data representing a load condition of the power supply; obtaining a first parameter of the power supply based on the first data; controlling the battery to charge or discharge based on the first parameter, so that a load rate of the power supply is maintained in a first range; wherein a conversion efficiency of the power supply when the load rate of the power supply is in the first range is higher than a conversion efficiency of the power supply when the load rate of the power supply is in a non-first range; the controlling the battery to charge or discharge based on the first parameter comprises: in a case that the first parameter is lower than a first value, the first value being a value corresponding to a lower limit of the first range, controlling the power supply to charge the battery, so as to increase a load amount of the power supply; in a case that the first parameter is higher than a second value, the second value being higher than the first value, the second value being a value corresponding to an upper limit of the first range, controlling the battery to discharge, so as to decrease the load amount of the power supply. 2.The control method of claim 1, the controlling the battery to charge or discharge based on the first parameter comprises: determining a battery charging parameter or a battery discharging parameter based on the first parameter; controlling the battery to charge based on the battery charging parameter or to discharge based on the battery discharging parameter. 3.The control method of claim 1, the controlling the battery to charge or discharge based on the first parameter comprises: in a case that the first parameter is higher than a third value and a first signal is received, controlling the battery to discharge. 4.The control method of claim 3, the controlling the battery to discharge in the case that the first parameter is higher than the third value and the first signal is received comprises: determining energy demand data based on the received first signal; determining available energy data of the power supply based on the first parameter; determining a discharging parameter based on the energy demand data and the available energy data; controlling the battery to discharge based on the discharging parameter. 5.The control method of claim 1, the power supply comprising a plurality of power supply devices, the battery and the plurality of power supply devices being connected to a same bus, the controlling the battery to charge or discharge based on the first parameter comprises: controlling the battery to obtain power from the bus or to release power to the bus based on the first parameter. 6.The control method of claim 1, the detecting the first data comprises: detecting a voltage level of a current-sharing bus; the obtaining the first parameter of the power supply based on the first data comprises: obtaining an output power of the power supply based on the voltage level. 7.A control device applied to a server comprising a power supply and a battery, comprising: a data detection module configured to detect first data, the first data representing a load condition of the power supply; a parameter obtaining module configured to obtain a first parameter of the power supply based on the first data; a battery control module configured to control charging or discharging of the battery based on the first parameter, so as to maintain a load rate of the power supply within a first range, wherein a conversion efficiency of the power supply when the load rate of the power supply is within the first range is higher than a conversion efficiency of the power supply when the load rate of the power supply is not within the first range; the control of the charging or discharging of the battery based on the first parameter comprises: when the first parameter is lower than a first value, the first value corresponding to a lower limit of the first range, the power supply is controlled to charge the battery, so as to increase a load of the power supply; when the first parameter is higher than a second value, the second value being higher than the first value, the second value corresponding to an upper limit of the first range, the battery is controlled to discharge, so as to decrease the load of the power supply.
8. The control device of claim 7, wherein the battery control module comprises: a parameter determination module configured to determine a battery charging parameter or a battery discharging parameter based on the first parameter; and a battery control sub-module configured to control the battery to charge based on the battery charging parameter or to discharge based on the battery discharging parameter.
9. A server, comprising: a power supply; a battery; a processor; a memory configured to store executable instructions of the processor; wherein the executable instructions comprise: detecting first data, the first data representing a load condition of the power supply; obtaining a first parameter of the power supply based on the first data; controlling charging or discharging of the battery based on the first parameter, so as to maintain a load rate of the power supply within a first range, wherein a conversion efficiency of the power supply when the load rate of the power supply is within the first range is higher than a conversion efficiency of the power supply when the load rate of the power supply is not within the first range; the control of the charging or discharging of the battery based on the first parameter comprises: when the first parameter is lower than a first value, the first value corresponding to a lower limit of the first range, the power supply is controlled to charge the battery, so as to increase a load of the power supply; when the first parameter is higher than a second value, the second value being higher than the first value, the second value corresponding to an upper limit of the first range, the battery is controlled to discharge, so as to decrease the load of the power supply.
Citation Information
Patent Citations
Battery assisted power
CN105531904A