IP Library › Granted Patent US 11,704,157
Granted Patent B2
US 11,704,157 · App. 17/022,026 · Granted Jul 18, 2023

Method and apparatus for comparing acquired cloud resource use information to thresholds to recommend a target cloud resource instance

Inventors: Chaoping Ji (Beijing, CN); Xiaoxu Chen (Beijing, CN); Tao Yang (Beijing, CN); Xiang Gao (Beijing, CN)
Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
G06F9/5027G06F9/5072G06F9/5077G06F2209/5021G06F2209/5022
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,704,157
App. No.
17/022,026
Granted
Jul 18, 2023
Kind
B2
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 (57)

1. A method for acquiring information, comprising:

acquiring, by a cloud resource server providing cloud resources, cloud resource use information of a user from a terminal used by the user in response to detecting by the cloud resource server access of the user to pieces of cloud resources provided by the cloud resource server, the cloud resource use information of the user being used to represent use rates of the pieces of cloud resources within set time;

comparing, by the cloud resource server, the cloud resource use information of the user with use rate threshold values, to obtain a comparison result;

obtaining, by the cloud resource server, use state information of the pieces of cloud resources corresponding to the cloud resource use information of the user according to the comparison result;

generating, by the cloud resource server, cloud resource state information of the user based on the use state information and sending the generated cloud resource state information to the user, wherein the cloud resource state information of the user represents data security of the pieces of cloud resources currently accessed by the user;

querying, by the cloud resource server, a target cloud resource instance from the cloud resources provided by the cloud resource server according to the cloud resource state information of the user, and recommending the target cloud resource instance queried from the cloud resources provided by the cloud resource server to the user; and

actively recommending, by the cloud resource server to the user, the target cloud resource instance based on the cloud resource state information,

wherein the generating cloud resource state information of the user based on the use state information comprises:

in response to determining that the use state information refers to a plurality of pieces of use state information marked as normal, warning, and high-risk, performing mean value calculations on the plurality of pieces of use state information marked as normal, warning, and high-risk respectively to obtain normal mean value information, warning mean value information, and high-risk mean value information, wherein the normal mean value is set with a first weight value, the warning mean value is set with a second weight value, and the high-risk mean value is set with a third weight value, and each of the first, second, and third weight values represents importance of a corresponding mean value; and

calculating a sum of a product of the normal mean value and the first weight value, a product of the warning mean value and the second weight value, and a product of the high-risk mean value and the third weight value, and setting the sum as the cloud resource state information of the user.

2. The method according to claim 1 , wherein the use state information is any one of normal, warning or high-risk, and

the comparing, by the cloud resource server, the cloud resource use information of the user with use rate threshold values, to obtain a comparison result, comprises: comparing a piece of cloud resource corresponding to the cloud resource use information with the use rate threshold values, to obtain a comparison result of the piece of cloud resource corresponding to the cloud resource use information,

the obtaining use state information of the pieces of cloud resources corresponding to the cloud resource use information according to the comparison result comprises:

marking the use state information of a first piece of cloud resource corresponding to the cloud resource use information as normal, in response to the comparison result of the first piece of cloud resource corresponding to the cloud resource use information being less than or equal to a first use level threshold value;

marking the use state information of a second piece of cloud resource corresponding to the cloud resource use information as warning, in response to the comparison result of the second piece of cloud resource corresponding to the cloud resource use information 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 a third piece of cloud resource corresponding to the cloud resource use information as high-risk, in response to the comparison result of the third piece of cloud resource corresponding to the cloud resource use information being greater than the second use level threshold value.

3. The method according to claim 1 , wherein the generating cloud resource state information of the user based on the use state information comprises:

setting the use state information of the user as the cloud resource state information of the user, in response to determining that the use state information refers to one piece of use state information.

4. 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, by a cloud resource server providing cloud resources, cloud resource use information of a user from a terminal used by the user in response to detecting by the cloud resource server access of the user to pieces of cloud resources provided by the cloud resource server, the cloud resource use information of the user being used to represent use rates of the pieces of cloud resources within set time;

comparing, by the cloud resource server, the cloud resource use information of the user with use rate threshold values, to obtain a comparison result;

obtaining, by the cloud resource server, use state information of the pieces of cloud resources corresponding to the cloud resource use information of the user according to the comparison result;

generating, by the cloud resource server, cloud resource state information of the user based on the use state information and sending the generated cloud resource state information to the user, wherein the cloud resource state information of the user represents data security of the pieces of cloud resources currently accessed by the user;

querying, by the cloud resource server, a target cloud resource instance from the cloud resources provided by the cloud resource server according to the cloud resource state information of the user, and recommending the target cloud resource instance queried from the cloud resources provided by the cloud resource server to the user; and

actively recommending, by the cloud resource server to the user, the target cloud resource instance based on the cloud resource state information,

wherein the generating cloud resource state information of the user based on the use state information comprises:

in response to determining that the use state information refers to a plurality of pieces of use state information marked as normal, warning, and high-risk, performing mean value calculations on the plurality of pieces of use state information marked as normal, warning, and high-risk respectively to obtain normal mean value information, warning mean value information, and high-risk mean value information, wherein the normal mean value is set with a first weight value, the warning mean value is set with a second weight value, and the high-risk mean value is set with a third weight value, and each of the first, second, and third weight values represents importance of a corresponding mean value; and

calculating a sum of a product of the normal mean value and the first weight value, a product of the warning mean value and the second weight value, and a product of the high-risk mean value and the third weight value, and setting the sum as the cloud resource state information of the user.

5. The electronic device according to claim 4 , wherein the use state information is any one of normal, warning or high-risk, and

the comparing, by the cloud resource server, the cloud resource use information of the user with use rate threshold values, to obtain a comparison result, comprises: comparing a piece of cloud resource corresponding to the cloud resource use information with the use rate threshold values, to obtain a comparison result of the piece of cloud resource corresponding to the cloud resource use information,

the obtaining use state information of the pieces of cloud resources corresponding to the cloud resource use information according to the comparison result comprises:

marking the use state information of a first piece of cloud resource corresponding to the cloud resource use information as normal, in response to the comparison result of the first piece of cloud resource corresponding to the cloud resource use information being less than or equal to a first use level threshold value;

marking the use state information of a second piece of cloud resource corresponding to the cloud resource use information as warning, in response to the comparison result of the second piece of cloud resource corresponding to the cloud resource use information 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 a third piece of cloud resource corresponding to the cloud resource use information as high-risk, in response to the comparison result of the third piece of cloud resource corresponding to the cloud resource use information being greater than the second use level threshold value.

6. The electronic device according to claim 4 , wherein the generating cloud resource state information of the user based on the use state information comprises:

setting the use state information of the user as the cloud resource state information of the user, in response to determining that the use state information refers to one piece of use state information.

7. 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, by a cloud resource server providing cloud resources, cloud resource use information of a user from a terminal used by the user in response to detecting by the cloud resource server access of the user to pieces of cloud resources provided by the cloud resource server, the cloud resource use information of the user being used to represent use rates of the pieces of cloud resources within set time;

comparing, by the cloud resource server, the cloud resource use information of the user with use rate threshold values, to obtain a comparison result;

obtaining, by the cloud resource server, use state information of the pieces of cloud resources corresponding to the cloud resource use information of the user according to the comparison result;

generating, by the cloud resource server, cloud resource state information of the user based on the use state information and sending the generated cloud resource state information to the user, wherein the cloud resource state information of the user represents data security of the pieces of cloud resources currently accessed by the user;

querying, by the cloud resource server, a target cloud resource instance from the cloud resources provided by the cloud resource server according to the cloud resource state information of the user, and recommending the target cloud resource instance queried from the cloud resources provided by the cloud resource server to the user; and

actively recommending, by the cloud resource server to the user, the target cloud resource instance based on the cloud resource state information,

wherein the generating cloud resource state information of the user based on the use state information comprises:

in response to determining that the use state information refers to a plurality of pieces of use state information marked as normal, warning, and high-risk, performing mean value calculations on the plurality of pieces of use state information marked as normal, warning, and high-risk respectively to obtain normal mean value information, warning mean value information, and high-risk mean value information, wherein the normal mean value is set with a first weight value, the warning mean value is set with a second weight value, and the high-risk mean value is set with a third weight value, and each of the first, second, and third weight values represents importance of a corresponding mean value; and

calculating a sum of a product of the normal mean value and the first weight value, a product of the warning mean value and the second weight value, and a product of the high-risk mean value and the third weight value, and setting the sum as the cloud resource state information of the user.

8. The non-transitory computer readable medium according to claim 7 , wherein the use state information is any one of normal, warning or high-risk, and

the comparing, by the cloud resource server, the cloud resource use information of the user with use rate threshold values, to obtain a comparison result, comprises: comparing a piece of cloud resource corresponding to the cloud resource use information with the use rate threshold values, to obtain a comparison result of the piece of cloud resource corresponding to the cloud resource use information,

the obtaining use state information of the pieces of cloud resources corresponding to the cloud resource use information according to the comparison result comprises:

marking the use state information of a first piece of cloud resource corresponding to the cloud resource use information as normal, in response to the comparison result of the first piece of cloud resource corresponding to the cloud resource use information being less than or equal to a first use level threshold value;

marking the use state information of a second piece of cloud resource corresponding to the cloud resource use information as warning, in response to the comparison result of the second piece of cloud resource corresponding to the cloud resource use information 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 a third piece of cloud resource corresponding to the cloud resource use information as high-risk, in response to the comparison result of the third piece of cloud resource corresponding to the cloud resource use information being greater than the second use level threshold value.

9. The non-transitory computer readable medium according to claim 7 , wherein the generating cloud resource state information of the user based on the use state information comprises:

setting the use state information of the user as the cloud resource state information of the user, in response to determining that the use state information refers to one piece of use state information.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 18, 2023
From: JI, CHAOPING; CHEN, XIAOXU; YANG, TAO; GAO, XIANG
To: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
Reel/Frame 063026/0994 →
Priority Claims (1)
CN 202010157552.9 · Mar 9, 2020 · national
Continuity (1)
Related Publication 20210279109A1 · Sep 9, 2021