# US 2021/0279109 A1 · Method and apparatus for acquiring information

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

- Number: US 2021/0279109 A1
- Document ID: US20210279109A1
- Status: Published application
- Kind: A1
- Application number: 17/022,026
- Filed: 2020-09-15
- Published: 2021-09-09
- Earliest claimed: 2020-03-09
- Assignees: Beijing Baidu Netcom Science Technology Co., Ltd.
- Applicants: Beijing Baidu Netcom Science and Technology Co., Ltd.
- Inventors: Chaoping JI; Xiaoxu CHEN; Tao YANG; Xiang GAO
- Web page: https://patentgrep.com/patent/US20210279109A1

## CPC

- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- H04L 43/0876: Network utilisation, e.g. volume of load or congestion level
- G06F 9/5072: {Grid computing}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- H04L 43/16: Threshold monitoring
- G06F 2209/5021: Priority
- G06F 2209/5022: Workload threshold
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments of the present disclosure disclose a method and apparatus for acquiring information. The method may include: acquiring cloud resource use information; comparing the cloud resource use information with a use rate threshold value, to obtain a comparison result; obtaining use state information of a cloud resource corresponding to the cloud resource use information according to the comparison result; and generating cloud resource state information based on the use state information.

## Claims

### Claim 1

A method for acquiring information, comprising:
acquiring cloud resource use information, the cloud resource use information being used to represent a use rate of a corresponding cloud resource within set time;
comparing the cloud resource use information with a use rate threshold value, to obtain a comparison result;
obtaining use state information of the cloud resource corresponding to the cloud resource use information according to the comparison result; and
generating cloud resource state information based on the use state information.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the use state information is any one of normal, warning or high-risk, and
the obtaining use state information of the cloud resource corresponding to the cloud resource use information according to the comparison result comprises:
marking the use state information of the cloud resource corresponding to the cloud resource use information as normal, in response to the comparison result being less than or equal to a first use level threshold value;
marking the use state information of the cloud resource corresponding to the cloud resource use information as warning, in response to the comparison result being greater than the first use level threshold value and less than or equal to a second use level threshold value; and
marking the use state information of the cloud resource corresponding to the cloud resource use information as high-risk, in response to the comparison result being greater than the second use level threshold value.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the generating cloud resource state information based on the use state information comprises:
setting the use state information to the cloud resource state information, in response to determining that the use state information refers to one piece of use state information.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the generating cloud resource state information based on the use state information comprises:
performing, in response to determining that the use state information refers to a plurality of pieces of use state information, a mean value calculation on the plurality of pieces of use state information to obtain use state mean value information, the use state mean value information including normal mean value information, warning mean value information and high-risk mean value information; and
setting a product of the use state mean value information including the normal mean value information, the warning mean value information and the high-risk mean value information and a corresponding weight value to the cloud resource state information.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
querying a target cloud resource instance according to the cloud resource state information.

### Claim 6

An electronic device, comprising:
one or more processors; and
a storage device, for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform operations, the operations comprising:
acquiring cloud resource use information, the cloud resource use information being used to represent a use rate of a corresponding cloud resource within set time;
comparing the cloud resource use information with a use rate threshold value, to obtain a comparison result;
obtaining use state information of the cloud resource corresponding to the cloud resource use information according to the comparison result; and
generating cloud resource state information based on the use state information.

### Claim 7 (depends on 6)

The electronic device according to claim 6, wherein the use state information is any one of normal, warning or high-risk, and
the obtaining use state information of the cloud resource corresponding to the cloud resource use information according to the comparison result comprises:
marking the use state information of the cloud resource corresponding to the cloud resource use information as normal, in response to the comparison result being less than or equal to a first use level threshold value;
marking the use state information of the cloud resource corresponding to the cloud resource use information as warning, in response to the comparison result being greater than the first use level threshold value and less than or equal to a second use level threshold value; and
marking the use state information of the cloud resource corresponding to the cloud resource use information as high-risk, in response to the comparison result being greater than the second use level threshold value.

### Claim 8 (depends on 6)

The electronic device according to claim 6, wherein the generating cloud resource state information based on the use state information comprises:
setting the use state information to the cloud resource state information, in response to determining that the use state information refers to one piece of use state information.

### Claim 9 (depends on 6)

The electronic device according to claim 6, wherein the generating cloud resource state information based on the use state information comprises:
performing, in response to determining that the use state information refers to a plurality of pieces of use state information, a mean value calculation on the plurality of pieces of use state information to obtain use state mean value information, the use state mean value information including normal mean value information, warning mean value information and high-risk mean value information; and
setting a product of the use state mean value information including the normal mean value information, the warning mean value information and the high-risk mean value information and a corresponding weight value to the cloud resource state information.

### Claim 10 (depends on 6)

The electronic device according to claim 6, the operations further comprising:
querying a target cloud resource instance according to the cloud resource state information.

### Claim 11

A non-transitory computer readable medium, storing a computer program thereon, wherein the program, when executed by a processor, causes the processor to perform operations, the operations comprising:
acquiring cloud resource use information, the cloud resource use information being used to represent a use rate of a corresponding cloud resource within set time;
comparing the cloud resource use information with a use rate threshold value, to obtain a comparison result;
obtaining use state information of the cloud resource corresponding to the cloud resource use information according to the comparison result; and
generating cloud resource state information based on the use state information.

### Claim 12 (depends on 11)

The non-transitory computer readable medium according to claim 11, wherein the use state information is any one of normal, warning or high-risk, and
the obtaining use state information of the cloud resource corresponding to the cloud resource use information according to the comparison result comprises:
marking the use state information of the cloud resource corresponding to the cloud resource use information as normal, in response to the comparison result being less than or equal to a first use level threshold value;
marking the use state information of the cloud resource corresponding to the cloud resource use information as warning, in response to the comparison result being greater than the first use level threshold value and less than or equal to a second use level threshold value; and
marking the use state information of the cloud resource corresponding to the cloud resource use information as high-risk, in response to the comparison result being greater than the second use level threshold value.

### Claim 13 (depends on 11)

The non-transitory computer readable medium according to claim 11, wherein the generating cloud resource state information based on the use state information comprises:
setting the use state information to the cloud resource state information, in response to determining that the use state information refers to one piece of use state information.

### Claim 14 (depends on 11)

The non-transitory computer readable medium according to claim 11, wherein the generating cloud resource state information based on the use state information comprises:
performing, in response to determining that the use state information refers to a plurality of pieces of use state information, a mean value calculation on the plurality of pieces of use state information to obtain use state mean value information, the use state mean value information including normal mean value information, warning mean value information and high-risk mean value information; and
setting a product of the use state mean value information including the normal mean value information, the warning mean value information and the high-risk mean value information and a corresponding weight value to the cloud resource state information.

### Claim 15 (depends on 11)

The non-transitory computer readable medium according to claim 11, the operations further comprising:
querying a target cloud resource instance according to the cloud resource state information.
