# US 12,222,796 B2 · Control method and system for power consumption upper limit of server, and related component

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,222,796 B2
- Document ID: US12222796B2
- Status: Granted
- Kind: B2
- Application number: 18/008,398
- Filed: 2021-02-23
- Published: 2023-09-14
- Granted: 2025-02-11
- Earliest claimed: 2020-07-28
- Assignees: Shandong Yingxin Computer Technologies Co., Ltd.
- Applicants: Shandong Yingxin Computer Technologies Co., Ltd.
- Inventors: Yihai Duan; Fan Shao
- Web page: https://patentgrep.com/patent/US12222796B2

## CPC

- G06F 1/3296: by lowering the supply or operating voltage
- G06F 1/28: Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
- G06F 1/3206: Monitoring of events, devices or parameters that trigger a change in power modality
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A control method, system and device for a power consumption upper limit of a server, and a readable storage medium, includes: determining, according to a server policy, a power consumption upper limit of a management engine (ME) to be a first expected upper limit; acquiring actual power consumption of a server; comparing the current actual power consumption with the first expected upper limit and a second expected upper limit; and if the current actual power consumption is greater than the first expected upper limit and does not exceed the second expected upper limit, lowering a current power consumption upper limit until the current actual power consumption is lowered such that same does not exceed the first expected upper limit.

## Claims

### Claim 1

A control method for a power consumption upper limit of a server, comprising:
determining, according to a server policy, a power consumption upper limit of a management engine (ME) to be a first expected upper limit;
in response to an intelligent platform management interface (IPMI) command, controlling the ME to perform a power consumption limitation on the server according to a first desired upper limit as a current power consumption upper limit of the ME;
acquiring a current actual power consumption of the server;
comparing the current actual power consumption with the first expected upper limit and a second expected upper limit; and
in response to the current actual power consumption being greater than the first expected upper limit and not exceeding the second expected upper limit, lowering the current power consumption upper limit of the ME until the current actual power consumption is lowered by the ME such that the current actual power consumption of the server does not exceed the first expected upper limit;
wherein, the lowering the current power consumption upper limit of the ME until the current actual power consumption is lowered by the ME such that the current actual power consumption of the server does not exceed the first expected upper limit comprises:
updating the current power consumption upper limit of the ME according to a lowering formula, the lowering formula comprising:
an+1=an−en+1,en+1=s(xn−an)+(1−s)en,n=1,2, . . . ;
wherein xn refers to the current actual power consumption of the server at an nth lowering; an refers to the current power consumption upper limit of the ME at the nth lowering; a1 is set at a value equal to the first expected upper limit; en refers to a current allowable error interval value at the nth lowering; e1 is set at a difference value between the second expected upper limit and the first expected upper limit; and s refers to a correction coefficient.

### Claim 2 (depends on 1)

The control method according to claim 1, wherein the correction coefficient is greater than 0.5.

### Claim 3 (depends on 1)

The control method according to claim 1, further comprising:
in response to the current actual power consumption exceeding the second expected upper limit, determining that the power consumption limitation of the ME fails.

### Claim 4 (depends on 3)

The control method according to claim 3, wherein the determining, according to a server policy, a power consumption upper limit of an ME to be a first expected upper limit comprises:
determining, according to the server policy, the power consumption upper limit of the ME to be the first expected upper limit through the IPMI command.

### Claim 5 (depends on 4)

The control method according to claim 4, wherein the in response to the current actual power consumption being greater than the first expected upper limit and not exceeding the second expected upper limit, lowering the current power consumption upper limit of the ME until the current actual power consumption is lowered by the ME such that the current actual power consumption of the server does not exceed the first expected upper limit comprises:
in response to the current actual power consumption being greater than the first expected upper limit and not exceeding the second expected upper limit, lowering the current power consumption upper limit through the IPMI command until the current actual power consumption is lowered such that the current actual power consumption does not exceed the first expected upper limit.

### Claim 6 (depends on 1)

The control method according to claim 1, wherein the second expected upper limit is a power value less than 105% of the first expected upper limit.

### Claim 7

A control device for a power consumption upper limit of a server comprising:
a memory, configured to store a computer program; and
a processor, configured to execute the computer program, wherein the computer program is configured to cause the processor to perform operations comprising:
determining, according to a server policy, a power consumption upper limit of a management engine (ME) to be a first expected upper limit;
in response to an intelligent platform management interface (IPMI) command, controlling the ME to perform a power consumption limitation on the server according to a first desired upper limit as a current power consumption upper limit of the ME;
acquiring a current actual power consumption of the server;
comparing the current actual power consumption with the first expected upper limit and a second expected upper limit; and
in response to the current actual power consumption being greater than the first expected upper limit and not exceeding the second expected upper limit, lowering the current power consumption upper limit of the ME until the current actual power consumption is lowered by the ME such that the current actual power consumption of the server does not exceed the first expected upper limit;
wherein, the lowering the current power consumption upper limit of the ME until the current actual power consumption is lowered by the ME such that the current actual power consumption of the server does not exceed the first expected upper limit comprises:
updating the current power consumption upper limit of the ME according to a lowering formula, the lowering formula comprising:
an+1=an−en+1,en+1=s(xn−an)+(1−s)en,n=1,2, . . . ;
wherein xn refers to the current actual power consumption of the server at an nth lowering; an refers to the current power consumption upper limit of the ME at the nth lowering; a1 is set at a value equal to the first expected upper limit; en refers to a current allowable error interval value at the nth lowering; e1 is set at a difference value between the second expected upper limit and the first expected upper limit; and s refers to a correction coefficient.

### Claim 8 (depends on 7)

The control device according to claim 7, wherein the correction coefficient is greater than 0.5.

### Claim 9 (depends on 7)

The control device according to claim 7, further comprising:
in response to the current actual power consumption exceeding the second expected upper limit, determining that the power consumption limitation of the ME fails.

### Claim 10 (depends on 9)

The control device according to claim 9, wherein the determining, according to a server policy, a power consumption upper limit of an ME to be a first expected upper limit comprises:
determining, according to the server policy, the power consumption upper limit of the ME to be the first expected upper limit through the IPMI command.

### Claim 11

A non-transitory computer-readable storage medium, storing a computer program that is executed executable by a processor, and upon execution by the processor, the computer program is configured to cause the processor to perform operations comprising:
determining, according to a server policy, a power consumption upper limit of a management engine (ME) to be a first expected upper limit;
in response to an intelligent platform management interface (IPMI) command, controlling the ME to perform a power consumption limitation on a server according to a first desired upper limit as a current power consumption upper limit of the ME;
acquiring a current actual power consumption of the server;
comparing the current actual power consumption with the first expected upper limit and a second expected upper limit; and
in response to the current actual power consumption being greater than the first expected upper limit and not exceeding the second expected upper limit, lowering the current power consumption upper limit of the ME until the current actual power consumption is lowered by the ME such that the current actual power consumption of the server does not exceed the first expected upper limit;
wherein, the lowering the current power consumption upper limit of the ME until the current actual power consumption is lowered by the ME such that the current actual power consumption of the server does not exceed the first expected upper limit comprises:
updating the current power consumption upper limit of the ME according to a lowering formula, the lowering formula comprising:
an+1=an−en+1,en+1=s(xn−an)+(1−s)en,n=1,2, . . . ;
wherein xn refers to the current actual power consumption of the server at an nth lowering; an refers to the current power consumption upper limit of the ME at the nth lowering; a1 is set at a value equal to the first expected upper limit; en refers to a current allowable error interval value at the nth lowering; ej is set at a difference value between the second expected upper limit and the first expected upper limit; and s refers to a correction coefficient.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein the correction coefficient is greater than 0.5.

### Claim 13 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, further comprising:
in response to the current actual power consumption exceeding the second expected upper limit, determining that the power consumption limitation of the ME fails.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium according to claim 13, wherein the determining, according to a server policy, a power consumption upper limit of an ME to be a first expected upper limit comprises:
determining, according to the server policy, the power consumption upper limit of the ME to be the first expected upper limit through the IPMI command.
