Power supply information reading method and server

By reading and storing power supply information in the preset time interval in the server, the resource competition problem when multiple computing device groups share power supply devices is solved, ensuring the normal operation of the computing system.

CN119065481APending Publication Date: 2024-12-03SHENZHEN FULIAN FUGUI PRECISION INDUSTRY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310628616.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-30
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

When multiple computing device groups share a PSU power supply device, it may lead to resource competition, resulting in a certain computing device group being unable to access the power supply device normally, affecting the execution of the computing strategy of the computing system.

Method used

By reading the working information of the power supply device and storing it in the server, when receiving the query request from the computing device group, the latest working information is obtained and transmitted from the preset storage space to avoid resource competition.

Benefits of technology

Ensure that multiple computing device groups can access the power supply device normally, avoid resource competition, and ensure that the computing strategy of the computing system can be executed normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065481A_ABST
    Figure CN119065481A_ABST
Patent Text Reader

Abstract

The invention discloses a power supply information reading method and a server, the server comprises a power supply device and at least one arithmetic device group, and the power supply device is used for supplying power to the at least one arithmetic device group; the power supply information reading method comprises the following steps: reading working information of a power supply device according to a preset time interval; storing the working information in a preset storage space; when a query request of one arithmetic device group for the power supply device is received, the working information is acquired from the preset storage space and transmitted to the arithmetic device group. According to the method, the working information of the power supply device is pre-read and stored, and the pre-read working information is acquired from the preset storage space when the query request is received and is transmitted to the corresponding arithmetic device group, so that even if the plurality of arithmetic device groups read the working information of the power supply device through the query request at the same time, resource competition is not generated; therefore, the operation device group is prevented from being incapable of normally accessing the power supply device, and the operation strategy of the corresponding operation system can be normally executed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power management, and in particular to a power information reading method and a server. Background Art

[0002] At present, in order to increase the computing power per unit volume in the server, multiple computing device groups are generally set up in the server chassis, and each computing device group constitutes a computing system. That is, multiple computing systems are set up in the server to increase the computing power of data. And each computing device group will share a PSU power supply unit (PSU) for power supply. According to the management mechanism of the server, the computing system will send a query request to the power supply unit at intervals to read the working information of the power supply unit, so as to adjust its own computing strategy according to the working information.

[0003] In the related art, the computing device group (computing system) in the existing server is connected to the power device through a PMBUS (power management bus) to send query requests to the power device and obtain the working information of the power device. However, in a server with multiple computing device groups, multiple computing device groups will access the power device through PMBUS at the same time, resulting in resource competition between computing device groups, which may cause a computing device group to be unable to access the power device normally, thereby affecting the normal execution of the computing strategy of the corresponding computing system. Summary of the invention

[0004] In view of this, the present application provides a power information reading method and server, which are used to prevent the computing device group in the server of the multi-computing system from being unable to normally access the power device. The technical solution of the present application is as follows:

[0005] The first aspect of the present application provides a power information reading method, which is applied to a server, wherein the server includes a power supply device and at least one computing device group, and the power supply device is used to supply power to the at least one computing device group; wherein the power information reading method includes: reading the working information of the power supply device at a preset time interval; storing the working information in a preset storage space; and upon receiving a query request from one of the computing device groups to the power supply device, obtaining the working information from the preset storage space and transmitting it to the computing device group.

[0006] In an embodiment of the present application, storing the work information in a preset storage space includes: associating the work information with a corresponding timestamp and storing it in the preset storage space.

[0007] In one embodiment of the present application, obtaining the work information from the preset storage space and transmitting it to the computing device group includes: filtering out target work information whose timestamp meets a first preset condition from the preset storage space; and transmitting the target work information to the computing device group.

[0008] In an embodiment of the present application, the first preset condition includes: the time difference between the current time and the timestamp is less than or equal to a first preset value.

[0009] In an embodiment of the present application, the method further includes: filtering out, from the preset storage space, the invalid working information whose timestamp meets a second preset condition; and deleting the invalid working information from the preset storage space.

[0010] In an embodiment of the present application, the second preset condition includes: the time difference between the current time and the timestamp is greater than a second preset value.

[0011] The second aspect of the present application provides a server, including a power supply device, at least one computing device group and a controller, wherein the power supply device is used to supply power to the at least one computing device group, and the controller is connected to the power supply device and the computing device group respectively through signal lines; the controller is used to: read the working information of the power supply device at a preset time interval; store the working information in a preset storage space; and upon receiving a query request from one of the computing device groups to the power supply device, obtain the working information from the preset storage space and transmit it to the computing device group.

[0012] In one embodiment of the present application, the controller is further configured to associate the work information with a corresponding timestamp and store it in the preset storage space.

[0013] In one embodiment of the present application, the controller is further used to: filter out target work information whose timestamp meets a first preset condition from the preset storage space; and transmit the target work information to the computing device group.

[0014] In an embodiment of the present application, the first preset condition includes: the time difference between the current time and the timestamp is less than or equal to a first preset value.

[0015] In the power information reading method of the present application, the working information of the power supply device is pre-read at a preset time interval and stored. When a query request from the computing device group is received, the pre-read working information is obtained from the preset storage space and transmitted to the corresponding computing device group. Therefore, even if multiple computing device groups in the server read the working information of the power supply device through query requests at the same time, there will be no problem of resource competition, thereby avoiding the computing device groups in the server of multiple computing systems from being unable to access the power supply device normally, and thus the computing strategies of the computing systems corresponding to the computing device groups can be executed normally. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 The present invention is a structural schematic diagram of an existing server.

[0017] Figure 2 It is a schematic block diagram of a server provided in an embodiment of the present application.

[0018] Figure 3 It is a flowchart of a power information reading method provided in an embodiment of the present application.

[0019] Figure 4 It is a flowchart of a second power information reading method provided in an embodiment of the present application.

[0020] Figure 5 It is a flowchart of a third power information reading method provided in an embodiment of the present application.

[0021] Figure 6 It is a schematic block diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] It should be noted that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0023] It should also be noted that the method disclosed in the embodiments of the present application or the method shown in the flowchart includes one or more steps for implementing the method. Without departing from the scope of the claims, the execution order of multiple steps can be interchanged with each other, and some of the steps can also be deleted.

[0024] At present, in order to increase the computing power per unit volume in the server, multiple computing device groups are generally set up in the server chassis, and each computing device group constitutes a computing system. That is, multiple computing systems are set up in the server to increase the computing power of data. And each computing device group will share a PSU power supply unit (PSU) for power supply. According to the management mechanism of the server, the computing system will send a query request to the power supply unit at intervals to read the working information of the power supply unit, so as to adjust its own computing strategy according to the working information.

[0025] In related technologies, such as Figure 1 In the existing server 100 shown, the computing device group 110 (computing system) in the server 100 is connected to the power device 120 through a PMBUS (power management bus) to send query requests to the power device and obtain the working information of the power device. However, in a server 100 with multiple computing device groups 110, multiple computing device groups 110 may access the power device 120 through the PMBUS at the same time, thereby causing resource competition between the computing device groups 110, which may cause a computing device group 110 to be unable to normally access the power device, thereby affecting the normal execution of the computing strategy of the corresponding computing system.

[0026] The present application provides a power information reading method and server, which are used to prevent a computing device group in a server of a multi-computing system from being unable to normally access a power device, so that the computing strategy of the computing system corresponding to the computing device group can be executed normally.

[0027] Please refer to Figure 2 , Figure 2 A schematic block diagram of a server 200 provided in an embodiment of the present application, wherein the server 200 includes a plurality of computing device groups 210, a power supply device 220, and a controller 230. The power supply device 220 is used to supply power to each computing device group 210, and the controller 230 is connected to the power supply device 220 and the computing device group 210 through signal lines, respectively. The signal line includes a PMBUS (power management bus).

[0028] Please refer to Figure 3 , Figure 3 A schematic diagram of a flow chart of a power information reading method provided in an embodiment of the present application, the power information reading method specifically comprises the following steps:

[0029] Step S31: reading the working information of the power supply device at a preset time interval.

[0030] In an embodiment of the present application, the controller in the server can detect and read the working information of the power supply device according to a preset time, that is, before the computing device group has no need to read the working information of the power supply device, the controller can pre-read the working information of the power supply device.

[0031] The controller includes but is not limited to a processor. In the embodiment of the present application, the type and location of the controller are not limited, as long as it can implement the power information reading method. For example, in some scenarios, the controller can be a processor in a server. In other scenarios, the controller can also be directly set in the power supply device, such as integrated on the PSU backplane.

[0032] Step S32: storing the work information into a preset storage space.

[0033] In an embodiment of the present application, after obtaining the working information of the power supply device, the controller can store the working information in a preset storage space, wherein the preset storage space can be the data storage space of the controller itself, or the data storage space in the server, which is not limited here.

[0034] Step S33: upon receiving a query request from one of the computing device groups to the power supply device, obtaining the working information from the preset storage space and transmitting the information to the computing device group.

[0035] In the embodiment of the present application, when the controller receives a query request from one of the computing device groups, it will obtain the latest working information of the power supply device from the preset storage space and transmit the working information to the computing device group that sent the query request. If the controller receives query requests from multiple computing device groups at the same time, the latest working information will be sent to the multiple computing device groups at the same time.

[0036] It can be understood that in the embodiment of the present application, the working information of the power supply device is pre-read at a preset time interval and stored. When a query request from the computing device group is received, the pre-read working information is obtained from the preset storage space and transmitted to the corresponding computing device group. Therefore, even if multiple computing device groups in the server read the working information of the power supply device through query requests at the same time, there will be no problem of resource competition, thereby avoiding the computing device groups in the server of multiple computing systems from being unable to access the power supply device normally, and then the computing strategies of the corresponding computing systems of the computing device groups can be executed normally.

[0037] Please refer to Figure 4 , Figure 4 A schematic flow chart of a second power information reading method provided in an embodiment of the present application, wherein the power information reading method specifically includes the following steps:

[0038] Step S41: reading the working information of the power supply device at a preset time interval.

[0039] This step is consistent with the above step S31 and will not be described again here.

[0040] Step S42: associate the work information with the corresponding timestamp and store it in a preset storage space.

[0041] In the embodiment of the present application, when the controller obtains the working information of the power supply device, it can also generate a corresponding timestamp according to the time when the information is obtained, and store the working information in a preset storage space after associating the working information with the corresponding timestamp. The timestamp can reflect the time point corresponding to the working information, so as to analyze the working condition of the power supply device.

[0042] Step S43: when receiving a query request from one of the computing device groups to the power supply device, selecting target operation information whose timestamp meets the first preset condition from the preset storage space.

[0043] Step S44: Transmit the target operation information to the computing device group.

[0044] In an embodiment of the present application, when the controller receives a query request from one of the computing device groups, or receives query requests from multiple computing device groups at the same time, it can filter out target work information that meets the first preset condition from the preset storage space according to the timestamp.

[0045] The first preset condition includes: the time difference between the current time and the timestamp is less than or equal to the first preset value, that is, the work information closer to the current time is selected from the preset storage space according to the first preset value as the target work information to reduce delay.

[0046] Please refer to Figure 5 , Figure 5 A schematic diagram of a third power information reading method provided in an embodiment of the present application, wherein Figure 5 The power information reading method shown is the same as Figure 4 The power information reading method shown in the figure is different in that it also includes the following steps:

[0047] Step S45: Filter out the invalid work information whose timestamp meets the second preset condition from the preset storage space.

[0048] Step S46: deleting the invalid work information from the preset storage space.

[0049] In the embodiment of the present application, the controller will also clear the invalid working information in real time to ensure that the preset storage space is not occupied by the invalid working information for a long time. Among them, the controller selects the invalid working information from the preset storage space according to the timestamp and the second preset condition. Specifically, the second preset condition includes: the time difference between the current time and the timestamp is greater than the second preset value. That is, the above-mentioned invalid working information is working information that is relatively far away from the current time.

[0050] In some embodiments, the second preset value is greater than the first preset value.

[0051] Please refer to Figure 6 , Figure 6 A schematic block diagram of a server 600 provided in an embodiment of the present application, wherein the server 600 includes a power supply device 610, at least one computing device group 620, and a controller 630, wherein the power supply device 610 is used to supply power to the at least one computing device group 620, and the controller 630 is connected to the power supply device 610 and the computing device group 620 through signal lines.

[0052] In an embodiment of the present application, the controller 630 is used to: read the working information of the power supply device 610 at a preset time interval, store the working information in a preset storage space, and upon receiving a query request from one of the computing device groups 620 to the power supply device 610, obtain the working information from the preset storage space and transmit it to the computing device group 620.

[0053] The controller 630 is further used to associate the work information with the corresponding timestamp and store it in a preset storage space. And, the controller 630 is further used to: filter out the target work information whose timestamp meets the first preset condition from the preset storage space, and transmit the target work information to the computing device group 620. The first preset condition includes: the time difference between the current time and the timestamp is less than or equal to the first preset value.

[0054] It can be understood that the beneficial effects that can be achieved by the server 600 provided in the embodiment of the present application can refer to the beneficial effects of the corresponding power information reading method provided above, and will not be repeated here.

[0055] An embodiment of the present application further provides a computer storage medium, which stores a computer program. When the computer program is executed by a controller, the controller executes the above-mentioned power information reading method.

[0056] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer storage medium or transmitted through the computer storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0057] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes. In the absence of conflict, the technical features in this embodiment and the implementation scheme can be combined arbitrarily.

[0058] The embodiments described above are merely preferred embodiments of the present application and are not intended to limit the scope of the present application. Without departing from the design spirit of the present application, various modifications and improvements made to the technical solutions of the present application by ordinary technicians in this field should fall within the protection scope determined by the claims of the present application.

Claims

1. A method for reading power information, characterized in that: Applied to a server, the server includes a power supply device and at least one computing device group, the power supply device is used to supply power to the at least one computing device group; wherein the power supply information reading method includes: reading the working information of the power supply device at a preset time interval; Storing the work information in a preset storage space; When a query request from one of the computing device groups to the power supply device is received, the working information is acquired from the preset storage space and transmitted to the computing device group.

2. The method for reading power information according to claim 1, wherein: The storing the work information into a preset storage space includes: The work information is associated with a corresponding timestamp and stored in the preset storage space.

3. The power information reading method according to claim 2, characterized in that: The obtaining the working information from the preset storage space and transmitting the working information to the computing device group includes: Filtering target work information whose timestamp meets a first preset condition from the preset storage space; The target operation information is transmitted to the computing device group.

4. The method for reading power information according to claim 3, wherein: The first preset condition includes: The time difference between the current time and the timestamp is less than or equal to a first preset value.

5. The method for reading power information according to claim 2, wherein: The method further comprises: Filter out the invalid work information whose timestamp meets the second preset condition from the preset storage space; The invalid working information is deleted from the preset storage space.

6. The method for reading power information according to claim 5, wherein: The second preset condition includes: The time difference between the current time and the timestamp is greater than a second preset value.

7. A server, characterized in that: The device comprises a power supply device, at least one computing device group and a controller, wherein the power supply device is used to supply power to the at least one computing device group, and the controller is connected to the power supply device and the computing device group respectively through signal lines; the controller is used to: reading the working information of the power supply device at a preset time interval; Storing the work information in a preset storage space; When a query request from one of the computing device groups to the power supply device is received, the working information is acquired from the preset storage space and transmitted to the computing device group.

8. The server according to claim 7, characterized in that The controller is further configured to associate the working information with a corresponding timestamp and store it in the preset storage space.

9. The server according to claim 8, characterized in that The controller is also used for: Filtering target work information whose timestamp meets a first preset condition from the preset storage space; The target operation information is transmitted to the computing device group.

10. The server according to claim 9, characterized in that The first preset condition includes: the time difference between the current time and the timestamp is less than or equal to a first preset value.