Resource quota adjustment method and device

By adjusting the cloud computing resource quota based on user characteristic information, the problem that fixed resource quota in the cloud computing platform cannot meet personalized needs is solved, dynamic adjustment and personalized configuration of resource quota are achieved, and resource utilization efficiency and user experience are improved.

CN112783635BActive Publication Date: 2024-11-08ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911077461.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-06
Publication Date
2024-11-08
Estimated Expiration
2039-11-06

AI Technical Summary

Technical Problem

In the prior art, the fixed resource quota provided by the cloud computing platform to users cannot meet the personalized needs of users, resulting in the inability to meet the needs of different usage scenarios and business types.

Method used

By receiving the user's resource quota application, determine whether the user meets the resource quota application conditions based on the user's characteristic information (such as user activity, resource ownership, resource rating, historical behavior and credit rating), and adjust the resources based on the quota application weight factor. Credit: When the target credit limit is less than or equal to the first threshold, the resource credit limit is adjusted to the target credit limit.

Benefits of technology

It realizes dynamic adjustment of resource quotas according to users’ personalized needs, meets users’ personalized needs, and improves resource utilization efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112783635B_ABST
    Figure CN112783635B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a resource quota adjustment method and device. The method comprises: receiving a resource quota application sent by a user, wherein the resource quota application includes a user identifier and a target quota; determining user characteristic information corresponding to the user according to the user identifier; judging whether the user meets the resource quota application conditions according to the user characteristic information; when the user meets the resource quota application conditions and the target quota is less than or equal to a first threshold, adjusting the user's resource quota to the target quota. The present disclosure can provide users with resource quotas that meet their personalized needs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a resource quota adjustment method and device. Background Art

[0002] With the rapid development of computer technology and the popularization of cloud computing, more and more users are using cloud computing resources to realize their own business. In actual applications, cloud computing platforms set resource reserves when providing resources to users, that is, restricting users to use only fixed resource quotas.

[0003] However, due to differences in usage scenarios, business types, etc., each user has different needs for cloud computing resources, and fixed resource quotas often cannot meet users' personalized needs. Summary of the invention

[0004] In view of this, the present disclosure proposes a resource quota adjustment method and device to solve the problem that the fixed resource quota in the prior art cannot meet the personalized needs of users.

[0005] According to a first aspect of the present disclosure, a resource quota adjustment method is provided, comprising: receiving a resource quota application sent by a user, the resource quota application including a user identifier and a target quota; determining user feature information corresponding to the user based on the user identifier; judging whether the user meets resource quota application conditions based on the user feature information; when the user meets the resource quota application conditions and the target quota is less than or equal to a first threshold, adjusting the user's resource quota to the target quota.

[0006] In a possible implementation, the user characteristic information includes: user activity, resource holdings, resource holding level, historical risk control behavior, and user credit level.

[0007] In one possible implementation, judging whether the user meets the resource quota application conditions based on the user characteristic information includes: determining a weight evaluation factor corresponding to each user characteristic information; determining a quota application weight factor corresponding to the user based on each user characteristic information and the corresponding weight evaluation factor; and determining whether the user meets the resource quota application conditions based on the quota application weight factor.

[0008] In a possible implementation, the number of user characteristic information is n; determining the credit application weight factor corresponding to the user according to each user characteristic information and the corresponding weight evaluation factor includes: determining the credit application weight factor by the following formula:

[0009]

[0010] Where A is the weight factor for the quota application, x i is the feature information of the ith user, y i is the weight evaluation factor corresponding to the i-th user characteristic information, and z is the preset correction coefficient.

[0011] In a possible implementation, the method further includes: determining the first threshold by: determining a total amount and an available resource amount in a resource pool; and determining the first threshold based on the total amount, the available resource amount, and a preset redundant resource ratio.

[0012] In a possible implementation manner, the resource quota application also includes a target duration, and the target duration is a maximum duration of occupying the resources of the target quota.

[0013] In a possible implementation manner, the method further includes: when the duration of occupying the resources of the target quota reaches the target duration, releasing the target quota.

[0014] According to the second aspect of the present disclosure, a resource quota adjustment device is provided, comprising: a receiving module, used to receive a resource quota application sent by a user, the resource quota application including a user identifier and a target quota; a first determination module, used to determine user feature information corresponding to the user according to the user identifier; a judgment module, used to judge whether the user meets the resource quota application conditions according to the user feature information; a quota adjustment module, used to adjust the user's resource quota to the target quota when the user meets the resource quota application conditions and the target quota is less than or equal to a first threshold.

[0015] In a possible implementation, the user characteristic information includes: user activity, resource holdings, resource holding level, historical risk control behavior, and user credit level.

[0016] In one possible implementation, the judgment module includes: a first determination submodule, used to determine the weight evaluation factor corresponding to each user characteristic information; a second determination submodule, used to determine the quota application weight factor corresponding to the user based on each user characteristic information and the corresponding weight evaluation factor; a third determination submodule, used to determine whether the user meets the resource quota application conditions based on the quota application weight factor.

[0017] In a possible implementation, the number of the user characteristic information is n; the second determination submodule is specifically used to determine the credit limit application weight factor by the following formula:

[0018]

[0019] Where A is the weight factor for the quota application, x i is the feature information of the ith user, y i is the weight evaluation factor corresponding to the i-th user characteristic information, and z is the preset correction coefficient.

[0020] In one possible implementation, the device also includes: a second determination module, used to determine the first threshold in the following manner: determine the total amount and the available resource amount in the resource pool; determine the first threshold based on the total amount, the available resource amount, and a preset redundant resource ratio.

[0021] In a possible implementation manner, the resource quota application also includes a target duration, and the target duration is a maximum duration of occupying the resources of the target quota.

[0022] In a possible implementation manner, the device further includes: a quota releasing module, configured to release the target quota when the duration of occupying the resources of the target quota reaches the target duration.

[0023] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the resource quota adjustment method described in the first aspect above.

[0024] According to a fourth aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions, when executed by a processor, implement the resource quota adjustment method described in the first aspect above.

[0025] Receive a resource quota application sent by a user, determine user characteristic information corresponding to the user based on the user identifier included in the resource quota application, and judge whether the user meets the resource quota application conditions based on the user characteristic information. When the user meets the resource quota application conditions and the target quota included in the resource quota application is less than or equal to a first threshold, adjust the user's resource quota to the target quota, thereby providing the user with a resource quota that meets the user's personalized needs.

[0026] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.

[0028] Figure 1A schematic diagram showing a scenario in which a cloud computing platform according to an embodiment of the present disclosure provides cloud computing resources to a user;

[0029] Figure 2 A schematic diagram showing a flow chart of a resource quota adjustment method according to an embodiment of the present disclosure;

[0030] Figure 3 A schematic diagram showing a cloud computing platform according to an embodiment of the present disclosure providing cloud computing resources to a user;

[0031] Figure 4 A schematic diagram showing a cloud computing platform according to an embodiment of the present disclosure providing cloud computing resources to a user;

[0032] Figure 5 A schematic diagram showing the structure of a resource quota adjustment device according to an embodiment of the present disclosure;

[0033] Figure 6 A schematic structural diagram of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0034] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0035] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0036] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.

[0037] Cloud computing is an emerging shared infrastructure. Cloud computing platforms can connect huge resource pools to provide various Internet services. Cloud computing platforms can provide available and convenient network access to cloud computing resource pools. Cloud computing resources are computing, storage and other resources used to support cloud services in cloud computing platforms, such as servers. At present, when cloud computing platforms provide cloud computing resources to users, in order to protect cloud computing resources and prevent cloud computing resources from being maliciously applied for, users are restricted to using cloud computing resources with a fixed resource quota. Figure 1 A schematic diagram of a scenario in which a cloud computing platform according to an embodiment of the present disclosure provides cloud computing resources to a user is shown. Figure 1 As shown, first, the user sends a resource application to the cloud computing platform; second, after receiving the resource application sent by the user, the cloud computing platform provides the user with cloud computing resources with a fixed resource quota, that is, the user only has the right to use the cloud computing resources with a fixed resource quota (for example, the cloud computing resources with a fixed quota are 20 servers) in the cloud computing resource pool (for example, the resource pool includes 100 servers); finally, the user realizes his own business based on the fixed-quota cloud computing resources.

[0038] In the related art, when a cloud computing platform provides cloud computing resources to users, it restricts users to only use cloud computing resources with a fixed resource quota for all scenarios and users, making it impossible to meet the personalized needs of users.

[0039] The resource quota adjustment method provided in the present disclosure can be applied to Figure 1 The cloud computing platform provides cloud computing resources to users in order to provide users with resource quotas that meet their personalized needs. Those skilled in the art should understand that the resource quota adjustment of cloud computing resources is only an example of an application scenario of the present disclosure and does not constitute a limitation of the present disclosure. The resource quota adjustment method provided by the present disclosure can also be applied to application scenarios of resource quota adjustment of other resources.

[0040] Figure 2 A schematic diagram showing a flow chart of a resource quota adjustment method according to an embodiment of the present disclosure is shown. Figure 2 As shown, the method may include:

[0041] Step S21, receiving a resource quota application sent by a user, wherein the resource quota application includes a user identifier and a target quota.

[0042] In one example, when a user needs to implement his / her own business through a cloud computing platform, the user sends a resource quota application to the cloud computing platform, and the resource quota application includes the user's user ID and the target quota that the user wants to apply for. The cloud computing platform receives the resource quota application sent by the user.

[0043] Step S22: determining the user characteristic information corresponding to the user according to the user identifier.

[0044] In one example, after receiving a resource quota application sent by a user, the cloud computing platform determines user characteristic information corresponding to the user according to a user identifier of the user included in the resource quota application.

[0045] When a user first uses the cloud computing platform, he / she needs to register. The cloud computing platform determines the user ID based on the registration information provided by the user. The user ID can be used to represent the user's identity and distinguish different users. When the user uses the cloud computing platform, the cloud computing platform determines the user's corresponding user feature information based on the user's user behavior data, and establishes a corresponding relationship between the user ID and the user feature information, and stores it, so that after receiving the resource quota application sent by the user, the user feature information corresponding to the user can be determined based on the user ID.

[0046] Step S23: judging whether the user meets the resource quota application conditions according to the user characteristic information.

[0047] Step S24: when the user meets the resource quota application conditions and the target quota is less than or equal to the first threshold, the user's resource quota is adjusted to the target quota.

[0048] In one example, the cloud computing platform determines whether the user meets the resource quota application conditions based on the user characteristic information corresponding to the determined user. Then, when the cloud computing platform determines that the user meets the resource quota application conditions and the target quota included in the resource quota application sent by the user is less than or equal to the first threshold, the cloud computing platform adjusts the user's resource quota to the target quota.

[0049] Figure 3 FIG. 1 is a schematic diagram showing a cloud computing platform according to an embodiment of the present disclosure providing cloud computing resources to a user. Figure 3 As shown, a temporary resource policy is pre-created in the cloud computing platform. The temporary resource policy is used to determine whether the user meets the resource quota application conditions when the user needs to apply for a resource quota. The temporary resource policy can include multi-dimensional factors (user feature information) required for policy calculation, as well as weight evaluation factors corresponding to any dimensional factor, etc.

[0050] In a possible implementation, the user characteristic information includes: user activity, resource holdings, resource holding level, historical risk control behavior, and user credit level.

[0051] Among them, user activity is related to the number of times or frequency of use of the cloud computing platform by the user. The more times or the higher the frequency of use of the cloud computing platform by the user, the higher the user activity; the resource holdings are the amount of cloud computing resources currently occupied (already purchased) by the user; the resource holding level is related to the user's resource holdings and the length of time the user occupies the cloud computing resources. The higher the user's resource holding level, the higher the performance of cloud computing resources that the user can purchase; historical risk control behaviors are behaviors related to risk control security that the user has performed on the cloud computing platform (for example, illegal operations); the user credit level is related to the user's historical consumption data on the cloud computing platform. The higher the user's historical consumption on the cloud computing platform, the higher the user's user credit level.

[0052] By evaluating user differences through user characteristic information, we can accurately determine whether the user meets the resource quota application conditions, thereby preparing to provide users with resource quotas that meet their personalized needs.

[0053] In addition to the above user characteristic information, the temporary resource policy may also include other user characteristic information. The number of user characteristic information may be set according to actual conditions, and the present disclosure does not make any specific limitation on this.

[0054] like Figure 3 As shown, the cloud computing platform receives a resource quota application sent by a user, and the cloud computing platform determines the user characteristic information corresponding to the user according to the temporary resource strategy and the user identifier included in the resource quota application.

[0055] For example, the cloud computing platform receives a resource quota application sent by a user, and the resource quota application includes the user's user ID. The user characteristic information included in the temporary resource policy in the cloud computing platform is: user activity, resource holdings, resource holding level, historical risk control behavior, and user credit level. Therefore, the cloud computing platform determines the user characteristic information corresponding to the user based on the user's user ID: the user activity, the user's resource holdings, the user's resource holding level, the user's historical risk control behavior, and the user's user credit level.

[0056] In one possible implementation, judging whether a user meets the resource quota application conditions is performed based on the user characteristic information, including: determining a weight evaluation factor corresponding to each user characteristic information; determining a quota application weight factor corresponding to the user based on each user characteristic information and the corresponding weight evaluation factor; and determining whether the user meets the resource quota application conditions based on the quota application weight factor.

[0057] like Figure 3As shown, the cloud computing platform determines the quota application weight factor corresponding to the user based on the temporary resource strategy and the user characteristic information corresponding to the user. Specifically: based on the temporary resource strategy, determine the weight evaluation factor corresponding to each user characteristic information; and then calculate the quota application weight factor corresponding to the user based on each user characteristic information and the corresponding weight evaluation factor. Among them, the quota application weight factor can be used to determine whether the user meets the resource quota application conditions. When the quota application weight factor is greater than or equal to the second threshold, it can be determined that the user meets the resource quota application conditions, that is, the user has the authority to apply for the target quota; when the quota application weight factor is less than the second threshold, it can be determined that the user does not meet the resource quota application conditions, that is, the user does not have the authority to apply for the target quota. The value of the second threshold can be determined according to the actual situation, and the present disclosure does not make specific restrictions on this.

[0058] In a possible implementation, the number of user characteristic information is n; determining the credit application weight factor corresponding to the user according to each user characteristic information and the corresponding weight evaluation factor includes: determining the credit application weight factor by the following formula:

[0059]

[0060] Among them, A is the weight factor of the quota application, x i is the feature information of the i-th user, y i is the weight evaluation factor corresponding to the i-th user feature information, and z is the preset correction coefficient.

[0061] The temporary resource strategy can pre-set a calculation formula for determining the weight factor of the quota application based on each user's characteristic information and the corresponding weight evaluation factor. In order to improve the accuracy of the calculation result, a preset correction coefficient can be added to the calculation formula. After the cloud computing platform determines each user's characteristic information and the corresponding weight factor, the corresponding quota application weight factor of the user can be calculated according to the calculation formula in the temporary resource strategy.

[0062] The temporary resource strategy can determine the user's corresponding quota application weight factor based on each user's characteristic information and the corresponding weight evaluation factor in addition to the calculation formula recorded above, and other methods can also be used. This disclosure does not make specific restrictions on this. Return a prompt message to remind the user that he does not have the authority to apply for the target quota, and end the process

[0063] like Figure 3As shown, whether the user meets the resource quota application conditions is determined based on the user's quota application weight factor. If not (the user does not meet the resource quota application conditions), the cloud computing platform can return a prompt message to the user, which prompts the user that he does not have the authority to apply for the target quota; if (the user meets the resource quota application conditions), the cloud computing platform further determines whether the target quota included in the resource quota application sent by the user is less than or equal to a first threshold, where the first threshold is the maximum resource quota that the cloud computing platform can provide to the user.

[0064] The cloud computing platform is a shared platform for multiple users. Different users can use the cloud computing resources in the cloud computing platform to realize their own business. Therefore, the amount of cloud computing resources that the cloud computing platform can provide (the first threshold) is constantly changing. Figure 3 As shown, after determining that the user meets the resource quota application conditions, the cloud computing platform needs to determine the size of the current first threshold.

[0065] In a possible implementation, it also includes: determining the first threshold in the following manner: determining the total amount and the available resource amount in the resource pool; determining the first threshold according to the total amount, the available resource amount, and the preset redundant resource ratio.

[0066] In order to maintain the cloud computing resources in use in the resource pool, the cloud computing platform presets a redundant resource ratio so that the cloud computing resources in the resource pool with the preset redundant resource ratio are not occupied.

[0067] For example, the cloud computing resources in the resource pool of the cloud computing platform are servers, the total quota in the resource pool is 100, the available resource quota is 70, and the preset redundant resource ratio is 10%, that is, there are a total of 100 servers in the resource pool, 70 servers are currently in an available state (30 servers are in use), and 10 servers (100*10%=10) are reserved in the resource pool and are not occupied. Finally, the cloud computing platform determines that the maximum resource quota (first threshold) that can be provided to the user is 60.

[0068] like Figure 3 As shown, when the user meets the resource quota application conditions, the cloud computing platform determines whether the target quota included in the resource quota application sent by the user is less than or equal to the first threshold. If not (the target quota is greater than the first threshold), the cloud computing platform can return a prompt message to the user, which prompts the user that the target quota cannot be applied for; if (the target quota is less than or equal to the first threshold), the cloud computing platform adjusts the user's resource quota to the target quota, and then provides the user with resources of the target quota, so as to meet the user's personalized resource quota needs.

[0069] In a possible implementation, the resource quota application also includes a target duration, which is the maximum duration of occupying the target quota resources.

[0070] For example, the resource quota application sent by the user includes a target quota and a target duration, which means that the user wants to occupy the resources of the target quota in the resource pool for the target duration.

[0071] In a possible implementation manner, the method further includes: when the duration of occupying the target quota of resources reaches the target duration, releasing the target quota of resources.

[0072] like Figure 3 As shown, after the cloud computing platform adjusts the user's resource quota to the target quota, it can monitor the user's resource occupation process, and release the target quota when it is determined that the user has occupied the target quota resources for a certain period of time, and then update the available resource quota in the resource pool.

[0073] Figure 4 FIG. 1 is a schematic diagram showing a cloud computing platform according to an embodiment of the present disclosure providing cloud computing resources to a user. Figure 4 As shown, the user sends a resource quota application to the cloud computing platform, and the resource quota application includes a user identifier, a target quota, and a target duration. After receiving the resource quota application sent by the user, the cloud computing platform determines five user feature information corresponding to the user according to the user identifier and the temporary resource policy pre-created in the cloud computing platform: user activity, resource holdings, resource holding level, historical risk control behavior, and user credit level. The application authority evaluation policy device in the cloud computing platform determines whether the user meets the resource quota application conditions according to the five user feature information corresponding to the user and the temporary resource policy. When it is determined that the user meets the resource quota application conditions, the processor in the cloud computing platform determines a first threshold value according to the total quota provided by the resource pool, the available resource quota, and the preset redundant resource ratio, and then determines whether the target quota included in the resource quota application sent by the user is less than or equal to the first threshold value. When it is determined that the target quota is less than or equal to the first threshold value, the resource quota adjuster in the cloud computing platform adjusts the user's resource quota to the target quota, and the resource pool updates the available resource quota. The quota expiration timer in the cloud computing platform monitors the user's resource occupation process. When it is determined that the user has occupied the target quota of resources for a certain period of time, the target quota is released and the resource pool updates the available resource quota.

[0074] According to the resource quota adjustment method disclosed in the present invention, by receiving a resource quota application sent by a user, determining the user characteristic information corresponding to the user according to the user identifier included in the resource quota application, judging whether the user meets the resource quota application conditions according to the user characteristic information, when the user meets the resource quota application conditions and the target quota included in the resource quota application is less than or equal to a first threshold, adjusting the user's resource quota to the target quota, thereby providing the user with a resource quota that meets the user's personalized needs.

[0075] Figure 5 A schematic diagram showing the structure of a resource quota adjustment device according to an embodiment of the present disclosure is shown. Figure 5 The device 50 shown can be used to implement Figure 2 The steps of the method embodiment shown, the device 50 includes:

[0076] The receiving module 51 is used to receive a resource quota application sent by a user, where the resource quota application includes a user identifier and a target quota;

[0077] A first determination module 52, used to determine user characteristic information corresponding to the user according to the user identifier;

[0078] The judgment module 53 is used to judge whether the user meets the resource quota application conditions according to the user characteristic information;

[0079] The quota adjustment module 54 is used to adjust the resource quota of the user to the target quota when the user meets the resource quota application conditions and the target quota is less than or equal to the first threshold.

[0080] In a possible implementation, the user characteristic information includes: user activity, resource holdings, resource holding level, historical risk control behavior, and user credit level.

[0081] In a possible implementation, the determination module 53 includes:

[0082] The first determination submodule is used to determine the weight evaluation factor corresponding to each user feature information;

[0083] The second determination submodule is used to determine the credit application weight factor corresponding to the user according to each user's characteristic information and the corresponding weight evaluation factor;

[0084] The third determination submodule is used to determine whether the user meets the resource quota application conditions when the quota application weight factor is greater than or equal to the second threshold.

[0085] In a possible implementation, the number of user characteristic information is n;

[0086] The second determination submodule is specifically used for:

[0087] The weight factor for the quota application is determined by the following formula:

[0088]

[0089] Among them, A is the weight factor of the quota application, x i is the feature information of the i-th user, y i is the weight evaluation factor corresponding to the i-th user feature information, and z is the preset correction coefficient.

[0090] In a possible implementation, the device 50 further includes:

[0091] The second determining module is used to determine the first threshold in the following manner:

[0092] Determine the total amount in the resource pool and the amount of available resources;

[0093] A first threshold is determined according to the total amount, the available resource amount, and the preset redundant resource ratio.

[0094] In a possible implementation, the resource quota application also includes a target duration, which is the maximum duration of occupying the target quota resources.

[0095] In a possible implementation, the device 50 further includes:

[0096] The quota release module is used to release the target quota when the duration of occupying the resources of the target quota reaches the target duration.

[0097] The device 50 provided by the present disclosure can achieve Figure 2 The various steps in the method embodiment shown achieve the same technical effect and will not be described again here to avoid repetition.

[0098] Figure 6 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. Figure 6 As shown, at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Among them, the memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage, etc. Of course, the electronic device may also include hardware required for other services.

[0099] The processor, network interface and memory can be interconnected through an internal bus, which can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0100] The memory stores the program. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include internal memory and non-volatile memory, and provides instructions and data to the processor.

[0101] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a resource quota adjustment device at the logical level. The processor executes the program stored in the memory and specifically performs: receiving a resource quota application sent by a user, the resource quota application including a user identifier and a target quota; determining user feature information corresponding to the user according to the user identifier; judging whether the user meets the resource quota application conditions according to the user feature information; when the user meets the resource quota application conditions and the target quota is less than or equal to a first threshold, adjusting the user's resource quota to the target quota.

[0102] In a possible implementation, the user characteristic information includes: user activity, resource holdings, resource holding level, historical risk control behavior, and user credit level.

[0103] In one possible implementation, the processor is specifically configured to perform: determining a weight evaluation factor corresponding to each user characteristic information; determining a quota application weight factor corresponding to the user based on each user characteristic information and the corresponding weight evaluation factor; and determining whether the user meets the resource quota application conditions when the quota application weight factor is greater than or equal to a second threshold.

[0104] In a possible implementation, the number of user characteristic information is n, and the processor is specifically configured to execute: determining the credit application weight factor by the following formula:

[0105]

[0106] Among them, A is the weight factor of the quota application, x i is the feature information of the ith user, y iis the weight evaluation factor corresponding to the i-th user feature information, and z is the preset correction coefficient.

[0107] In one possible implementation, the processor is further configured to execute: determining the first threshold in the following manner: determining the total amount and the available resource amount in the resource pool; determining the first threshold based on the total amount, the available resource amount, and a preset redundant resource ratio.

[0108] In a possible implementation, the resource quota application also includes a target duration, which is the maximum duration of occupying the target quota resources.

[0109] In a possible implementation manner, the processor is further configured to execute: when the duration of occupying the target quota resources reaches the target duration, releasing the target quota.

[0110] The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of this specification may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of this specification may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0111] The electronic device may perform Figure 2 The method shown in the method embodiment is executed to achieve the above Figure 2 The functions of the method embodiment shown are not described in detail in this specification.

[0112] The embodiment of the present specification also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by an electronic device including multiple application programs, enable the electronic device to execute Figure 2 The resource quota adjustment method in the embodiment shown is specifically implemented Figure 2 Steps of the method embodiment are shown.

[0113] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0114] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0115] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0116] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0117] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0118] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0119] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0120] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0121] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A resource quota adjustment method, characterized in that: Applied to the scenario where a cloud computing platform provides cloud computing resources to users, a temporary resource policy is pre-created in the cloud computing platform, and the temporary resource policy is used to determine whether the user meets the resource quota application conditions when the user needs to apply for a resource quota. The temporary resource policy includes user feature information required in the policy calculation, and the user feature information includes user activity and resource holdings. The resource holdings are the amount of cloud computing resources currently purchased by the user, including: Receive a resource quota application sent by a user, wherein the resource quota application includes a user identifier and a target quota; Determining user characteristic information corresponding to the user according to the user identifier; Determining whether the user meets the resource quota application conditions according to the user characteristic information; When the user meets the resource quota application conditions and the target quota is less than or equal to a first threshold, the user's resource quota is adjusted to the target quota to provide the user with resources of the target quota. The first threshold is the maximum resource quota that the cloud computing platform can currently provide.

2. The method according to claim 1, characterized in that The user characteristic information also includes: Resource retention level, historical risk control behavior, and user credit rating.

3. The method according to claim 1, characterized in that Judging whether the user meets the resource quota application conditions according to the user characteristic information includes: Determine the weight evaluation factor corresponding to each user feature information; Determine the credit application weight factor corresponding to each user based on the characteristic information of each user and the corresponding weight evaluation factor; According to the quota application weight factor, it is determined whether the user meets the resource quota application conditions.

4. The method according to claim 3, characterized in that The number of user characteristic information is n; According to each user's characteristic information and the corresponding weight evaluation factor, the credit application weight factor corresponding to the user is determined, including: The weight factor of the quota application is determined by the following formula: Where A is the weight factor for the quota application, x i is the feature information of the ith user, y i is the weight evaluation factor corresponding to the i-th user characteristic information, and z is the preset correction coefficient.

5. The method according to claim 1, characterized in that The method further comprises: The first threshold is determined by: Determine the total amount in the resource pool and the amount of available resources; The first threshold is determined according to the total amount, the available resource amount, and a preset redundant resource ratio.

6. The method according to claim 1, characterized in that The resource quota application also includes a target duration, which is the maximum duration of occupying the resources of the target quota.

7. The method according to claim 6, characterized in that The method further comprises: When the duration of occupying the target amount of resources reaches the target duration, the target amount of resources is released.

8. A resource quota adjustment device, characterized in that: Applied to the scenario where a cloud computing platform provides cloud computing resources to users, a temporary resource policy is pre-created in the cloud computing platform, and the temporary resource policy is used to determine whether the user meets the resource quota application conditions when the user needs to apply for a resource quota. The temporary resource policy includes user feature information required in the policy calculation, and the user feature information includes user activity and resource holdings. The resource holdings are the amount of cloud computing resources currently purchased by the user, including: A receiving module, used to receive a resource quota application sent by a user, wherein the resource quota application includes a user identifier and a target quota; A first determining module, used to determine user characteristic information corresponding to the user according to the user identifier; A judgment module, used to judge whether the user meets the resource quota application conditions according to the user characteristic information and the temporary resource policy; The quota adjustment module is used to adjust the user's resource quota to the target quota when the user meets the resource quota application conditions and the target quota is less than or equal to a first threshold, so as to provide the user with resources of the target quota. The first threshold is the maximum resource quota that the cloud computing platform can currently provide.

9. The device according to claim 8, characterized in that The user characteristic information also includes: Resource retention level, historical risk control behavior, and user credit rating.

10. The device according to claim 8, characterized in that The judging module comprises: The first determination submodule is used to determine the weight evaluation factor corresponding to each user feature information; The second determination submodule is used to determine the credit application weight factor corresponding to the user according to each user's characteristic information and the corresponding weight evaluation factor; The third determination submodule is used to determine whether the user meets the resource quota application conditions according to the quota application weight factor.

11. The device according to claim 10, characterized in that The number of user characteristic information is n; The second determining submodule is specifically used for: The weight factor of the quota application is determined by the following formula: Where A is the weight factor for the quota application, x i is the feature information of the ith user, y i is the weight evaluation factor corresponding to the i-th user characteristic information, and z is the preset correction coefficient.

12. The device according to claim 8, characterized in that The device also includes: The second determining module is configured to determine the first threshold in the following manner: Determine the total amount in the resource pool and the amount of available resources; The first threshold is determined according to the total amount, the available resource amount, and a preset redundant resource ratio.

13. The device according to claim 8, characterized in that The resource quota application also includes a target duration, which is the maximum duration of occupying the resources of the target quota.

14. The device according to claim 13, characterized in that The device also includes: The quota releasing module is used to release the target quota when the duration of occupying the resources of the target quota reaches the target duration.

15. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to execute the resource quota adjustment method described in any one of claims 1-7.

16. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the resource quota adjustment method according to any one of claims 1 to 7 is implemented.