US 11,704,157 B2
Method and apparatus for comparing acquired cloud resource use information to thresholds to recommend a target cloud resource instance
Chaoping Ji, Beijing (CN); Xiaoxu Chen, Beijing (CN); Tao Yang, Beijing (CN); and Xiang Gao, Beijing (CN)
Assigned to BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD., Beijing (CN)
Filed by BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD., Beijing (CN)
Filed on Sep. 15, 2020, as Appl. No. 17/22,026.
Claims priority of application No. 202010157552.9 (CN), filed on Mar. 9, 2020.
Prior Publication US 2021/0279109 A1, Sep. 9, 2021
Int. Cl. G06F 9/50 (2006.01)
CPC G06F 9/5027 (2013.01) [G06F 9/5072 (2013.01); G06F 9/5077 (2013.01); G06F 2209/5021 (2013.01); G06F 2209/5022 (2013.01)] 9 Claims
OG exemplary drawing
 
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.