CN113127191B - Resource updating method, storage medium and related device - Google Patents

Resource updating method, storage medium and related device Download PDF

Info

Publication number
CN113127191B
CN113127191B CN202010043253.2A CN202010043253A CN113127191B CN 113127191 B CN113127191 B CN 113127191B CN 202010043253 A CN202010043253 A CN 202010043253A CN 113127191 B CN113127191 B CN 113127191B
Authority
CN
China
Prior art keywords
ordering
subscription
resource
memory
event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010043253.2A
Other languages
Chinese (zh)
Other versions
CN113127191A (en
Inventor
廉振
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Suzhou Software Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010043253.2A priority Critical patent/CN113127191B/en
Publication of CN113127191A publication Critical patent/CN113127191A/en
Application granted granted Critical
Publication of CN113127191B publication Critical patent/CN113127191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a resource updating method, a storage medium and a related device, wherein the method comprises the following steps: obtaining an ordering event, wherein the ordering event is characterized in that an ordering user orders an event of a physical machine and/or a virtual machine; responding to an order event, and acquiring historical order data of an order user and resource order limit information distributed for the order user; predicting the subscription result of the subscription event based on the historical subscription data and the resource subscription quota information; and updating the resource subscription quota information under the condition that the subscription result represents that the subscription event fails. Therefore, the resource subscription quota of the subscriber can be automatically adjusted.

Description

Resource updating method, storage medium and related device
Technical Field
The present application relates to the field of resource updating, and in particular, to a resource updating method, a storage medium, and a related apparatus.
Background
In order to save the cost of developing a server excellent in performance, many enterprises or organizations rent servers to various cloud service platforms providing public cloud services. The servers provided by the cloud service platform comprise a physical machine and a virtual machine, wherein the physical machine is formed by a physical computer, the virtual machine is a plurality of independent physical machine-like parts which are virtualized on one physical machine through virtual software, and each part can use a separate operating system to share the resources on the physical machine. Generally, a subscriber with high requirements for privacy and performance of the server (e.g., high processing speed and low latency) will select a physical machine with high lease price but excellent performance, and a subscriber with low requirements for performance of the server will select a virtual machine with low lease price and performance inferior to the physical machine. In order to allocate server resources to the subscriber as required, the cloud service platform may also allocate, according to the amount of resources actually required to be ordered by each subscriber, available resource order quota including the number of available physical machines, the available memory capacity, and the available IP (Internet Protocol) address number for the subscriber.
However, as shown in fig. 1, when the subscription fails due to insufficient resource subscription amount allocated by the subscription user (S101 and S102) in the related art, the operation and maintenance personnel at the background of the cloud service platform needs to manually adjust (expand) the available resource amount (S103) for the user, and perform the second activation of the subscription service for the user (S104). In practical application, the resource ordering limit available to the ordering user cannot be automatically adjusted through the cloud service platform, the problem that the ordering user fails to order is solved manually, the workload of operation and maintenance personnel is increased, the ordering service efficiency is low, the background operation load of the cloud service platform is increased, and the resource utilization rate is reduced. Moreover, under the condition that the problem of ordering failure appears in large quantity, the operation and maintenance personnel are difficult to maintain, and the operation failure rate is increased.
Disclosure of Invention
In view of this, embodiments of the present application are expected to provide a resource updating method, a storage medium, and a related device, which implement automatic adjustment of resource ordering quota.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a resource updating method, which comprises the following steps:
obtaining an ordering event, wherein the ordering event is characterized in that an ordering user orders an event of a physical machine and/or a virtual machine;
responding to an order event, and acquiring historical order data of an order user and resource order limit information distributed for the order user;
predicting the subscription result of the subscription event based on the historical subscription data and the resource subscription quota information;
and updating the resource subscription quota information under the condition that the subscription result represents that the subscription event fails.
In the above scheme, the historical subscription data includes the capacity of the single subscription memory of the subscription user and/or the total capacity of the subscription memory;
the resource subscription quota information comprises the capacity of the memory which can be subscribed for one time and/or the total capacity of the memory which can be subscribed for one time distributed for the subscriber;
determining that the subscription event fails if a difference between the capacity of the single-orderable memory allocated to the subscriber and the capacity of the single-orderable memory, and a ratio of the difference to the capacity of the single-orderable memory allocated to the subscriber, is less than a first threshold value, and/or if a difference between the total capacity of the single-orderable memory allocated to the subscriber and the total capacity of the single-orderable memory allocated to the subscriber, and a ratio of the total capacity of the single-orderable memory allocated to the subscriber, and the total capacity of the single-orderable memory allocated to the subscriber, is less than a second threshold value;
correspondingly, the updating the resource subscription quota information includes:
increasing the capacity of the memory that the subscriber can subscribe to at a single time and/or the total capacity of the memory that the subscriber can subscribe to.
In the above solution, the historical subscription data includes the number of IP addresses subscribed by the subscriber;
the resource subscription quota information comprises the number of usable IP addresses distributed for the subscriber;
determining that the subscription event fails if a difference between the number of its usable IP addresses allocated to the subscriber and the number of IP addresses subscribed to by the subscriber is less than a third threshold;
correspondingly, the updating of the resource subscription quota information comprises the following steps: the number of usable IP addresses is increased.
In the above scheme, the historical ordering data includes the number of physical machines ordered by the ordering user at a time and/or the total number of the physical machines ordered;
the resource ordering quota information comprises the number of physical machines which can be ordered once and/or the total number of the physical machines which can be ordered;
determining that the ordering event fails in the case that the difference between the number of single orderable physical machines distributed to the ordering user and the number of single ordering physical machines is smaller than a fourth threshold value and/or the difference between the total number of single orderable physical machines distributed to the ordering user and the total number of ordering user ordering physical machines is smaller than a fifth threshold value;
correspondingly, the updating of the resource subscription quota information comprises the following steps:
increasing the number of physical machines that the ordering user can order at a single time and/or the total number of physical machines that the ordering user can order.
In the above solution, after the resource subscription quota information is updated, the method further includes:
monitoring the subscription of the subscription event by using the updated resource subscription limit information;
and under the condition that the subscription event fails to subscribe by using the updated resource subscription quota information, updating the resource subscription quota information again.
In the foregoing solution, the method further includes:
obtaining a Virtual Private Cloud (VPC) parameter of an IP address subscribed by the subscriber in the historical subscription data;
accordingly, the increasing the number of usable IP addresses includes:
the added IP address is an IP address having the same VPC parameter as the IP address subscribed by the subscriber in the historical subscription data.
The embodiment of the application also provides a resource updating device, which comprises a first obtaining module, a second obtaining module, a predicting module and an updating module.
The first acquisition module is used for acquiring an ordering event, wherein the ordering event is characterized by an event that an ordering user orders a physical machine and/or a virtual machine;
the second acquisition module is used for responding to the subscription event and acquiring the historical subscription data of the subscriber and the resource subscription limit information distributed for the subscriber;
the prediction module is used for predicting the subscription result of the subscription event based on the historical subscription data and the resource subscription quota information;
and the updating module is used for updating the resource subscription quota information under the condition that the subscription result represents that the subscription event fails.
In the foregoing solution, the prediction module includes: a first prediction sub-module;
the historical ordering data comprises the capacity of a single-order memory of the ordering user and/or the total capacity of the ordering memory;
the resource subscription limit information comprises the capacity of the memory which can be subscribed for one time and/or the total capacity of the memory which can be subscribed for one time distributed for the user;
the first prediction sub-module is configured to determine that the subscription event fails when a ratio of a difference between a capacity of the single-time orderable memory allocated to the subscriber and a capacity of the single-time orderable memory of the subscriber to the capacity of the single-time orderable memory of the subscriber is smaller than a first threshold, and/or when a ratio of a difference between a total capacity of the single-time orderable memory allocated to the subscriber and a total capacity of the single-time orderable memory of the subscriber to the total capacity of the single-time orderable memory of the subscriber is smaller than a second threshold;
correspondingly, the updating module is configured to increase the capacity of the memory that the subscriber can subscribe to at a single time and/or the total capacity of the memory that the subscriber can subscribe to.
In the foregoing solution, the prediction module includes: a second prediction sub-module;
the historical subscription data comprises the number of IP addresses subscribed by the subscriber;
the resource subscription quota information comprises the number of usable IP addresses distributed to the user;
the second prediction sub-module is used for determining that the subscription event fails when the difference between the number of the usable IP addresses allocated to the subscription user and the number of the subscribed IP addresses is smaller than a third threshold;
correspondingly, the updating module is also used for the number of usable IP addresses.
In the foregoing solution, the prediction module includes: a third prediction sub-module;
the historical ordering data comprises the number of single ordering physical machines and/or the total number of ordering physical machines of the ordering user;
the resource ordering quota information comprises the number of physical machines which can be ordered once and/or the total number of the physical machines which can be ordered;
the third prediction submodule is used for determining that the ordering event is failed in the case that the difference between the number of physical machines which can be ordered once and the number of physical machines ordered once, which are distributed to the ordering user, is smaller than a fourth threshold value, and/or in the case that the difference between the total number of physical machines which can be ordered once and the total number of physical machines ordered by the ordering user is smaller than a fifth threshold value;
correspondingly, the updating module is further used for increasing the number of physical machines which can be ordered by the ordering user in a single time and/or the total number of the physical machines which can be ordered by the ordering user.
In the above solution, after the updating module updates the resource subscription quota information, the apparatus further includes:
the monitoring module is used for monitoring the subscription of the subscription event by utilizing the updated resource subscription quota information;
the updating module is further configured to update the resource subscription quota information again when it is monitored that the subscription event fails to subscribe using the updated resource subscription quota information.
In the above scheme, the second obtaining module is further configured to obtain a VPC parameter of the IP address subscribed by the subscriber in the historical subscription data;
correspondingly, the updating module is configured to increase the number of available IP addresses allocated to the subscriber, and includes:
the added IP address is an IP address having the same VPC parameter as the IP address subscribed by the subscriber in the historical subscription data.
Embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the above-mentioned method.
An embodiment of the present application further provides a resource updating apparatus, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the program, and the steps of the method are performed by the processor.
The embodiment of the invention provides a resource updating method, a storage medium and a related device, wherein the method comprises the following steps: obtaining an ordering event, wherein the ordering event is characterized in that an ordering user orders an event of a physical machine and/or a virtual machine; responding to an order event, and acquiring historical order data of an order user and resource order limit information distributed to the order user; predicting the subscription result of the subscription event based on the historical subscription data and the resource subscription quota information; and updating the resource subscription quota information under the condition that the subscription result represents that the subscription event fails.
Therefore, the automatic updating of the resource ordering amount is realized, and compared with the manual updating scheme of the related technology, the method can at least reduce the workload of operation and maintenance personnel and reduce the error rate caused by frequent manual operation. In addition, by predicting the ordering event and updating the resource limit information in time under the condition that the prediction is failed, the problem of low ordering success rate caused by actual ordering failure can be greatly avoided, the efficiency of ordering service can be at least improved, and the resource burden caused by the actual ordering event failure is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only the embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart illustrating a resource updating method in the prior art;
fig. 2 is a first flowchart illustrating a resource updating method according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a second method for updating resources according to an embodiment of the present application;
fig. 4 is a third schematic flowchart of a resource updating method according to an embodiment of the present application;
fig. 5 is a fourth schematic flowchart of a resource updating method according to an embodiment of the present application;
fig. 6 is a first schematic structural diagram of a resource updating apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a second component of a resource updating apparatus according to an embodiment of the present application;
fig. 8 is a schematic hardware configuration diagram of a resource updating apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict.
As shown in fig. 2, an embodiment of the present application provides a resource updating method, where the method includes:
s201: obtaining an ordering event, wherein the ordering event is characterized in that an ordering user orders an event of a physical machine and/or a virtual machine;
s202: responding to an order event, and acquiring historical order data of an order user and resource order limit information distributed for the order user;
s203: predicting the subscription result of the subscription event based on the historical subscription data and the resource subscription quota information;
s204: and updating the resource subscription quota information under the condition that the subscription result represents that the subscription event fails.
Here, the subject performing steps S201 to S204 is a background of the cloud service platform;
the method comprises the steps of obtaining an ordering event through a background, further responding to the event to obtain historical ordering data of an ordering user and resource ordering amount information distributed to the ordering user, predicting the result of the ordering event based on the information, updating the resource ordering amount information through the background under the condition that the ordering event is predicted to fail, avoiding manual updating of background operation and maintenance personnel, reducing the working pressure of the operation and maintenance personnel and reducing the fault rate of frequent manual operation, and in addition, updating the resource ordering amount information through the result of the ordering event is predicted, so that the failure of the ordering event is greatly reduced, and the burden of the background is reduced.
In S201, when an ordering user needs to order a cloud service resource, first, identity information such as an account and a password of the ordering user needs to be input on a login interface of a foreground of a cloud service platform, a "login" button is clicked to achieve login, if the login action is successful, an ordering event is generated on the foreground, the foreground sends the ordering event to a background, and the background receives the ordering event. And monitoring the event that the user logs in the cloud service platform in real time by the background, and generating an ordering event when the user logs in successfully.
Furthermore, in S202, after the subscription event is obtained, the background responds to the subscription event, and searches in the background database according to the subscription information (such as identity information of an account of the user) included in the subscription event, so as to obtain the historical subscription data of the subscriber and the resource subscription quota information allocated to the subscriber; and the data in the database is stored in a server where the cloud service platform is located. The historical ordering data is historical ordering data of a physical machine and/or a virtual machine ordered by a user before when the current user logs in the cloud service platform. The resource ordering amount information distributed for the subscriber comprises physical machine resource ordering amount information and/or virtual machine resource ordering amount information which can be subscribed by the current subscriber.
Those skilled in the art should understand that the physical machine in the embodiment of the present application is a physical computer, such as a physical server, and the virtual machine is a virtual computer, such as a virtual server obtained by using virtual software on the physical server. In the cloud service platform, the virtual machine may be specifically a cloud host.
When a user needs to order a virtual machine, the obtained historical ordering data of the ordering user comprises the capacity of the memory ordered by the user in a single time and/or the total capacity of the ordered memory in the past ordering record, and the number of the ordered IP addresses; the total capacity of the ordered memory is the sum of the capacities of the memories ordered by the ordering user in a single time until the ordering user logs in the cloud service platform at present. The resource ordering quota information is the capacity of the memory which can be ordered once and/or the total capacity of the memory which can be ordered for the subscriber distributed for the subscriber in the current login state, and the number of the usable IP addresses distributed for the subscriber; the total capacity of the memory which can be ordered by the subscriber is allocated to the subscriber, and the sum of the capacities of the single-time memory which can be ordered and is allocated to the subscriber cannot exceed the memory capacity.
When a user needs to order physical machines, the obtained historical ordering data of the ordering user further comprises the number of physical machines ordered at a time and/or the total number of the physical machines ordered in the past ordering record; the total number of the ordering physical machines is the sum of the number of the physical machines ordered by the ordering user at a time until the ordering user logs in the cloud service platform at present. The resource ordering credit line information also comprises the number of physical machines which can be ordered once and/or the total number of the physical machines which can be ordered for the ordering user in the current login state; the total number of the orderable physical machines distributed to the ordering user is the number of the physical machines which cannot be exceeded by the sum of the number of the single orderable physical machines distributed to the ordering user.
In the above description, the memory capacity and the number of IP addresses are the underlying resources provided by the cloud service platform, the capacity of the memory that can be subscribed by the user at a single time and/or the total capacity of the orderable memory, and the number of usable IP addresses allocated to the memory, and the underlying resource quota provided by the cloud service platform for the subscribed user.
Through the server resources which can be ordered by the subscriber in a single time in the historical ordering data and/or the total server resources ordered by the subscriber, the maximum purchasing power of the subscriber can be known, so that whether the ordering event can be successfully predicted reasonably in the next step and the resource ordering amount information of the subscriber can be reasonably updated.
Next, in S203, based on the historical subscription data obtained from the database and the resource subscription quota information allocated to the subscription user, predicting, by the background, a result of a subscription event in which the subscription user subscribes to the physical machine and/or the virtual machine in the current login state; specifically, the prediction aims at predicting whether the resource ordering amount currently distributed to the subscriber can meet the resource ordering requirement of the subscriber, including whether the resource ordering amount which can be ordered once can meet the current resource ordering requirement and/or whether the total resource ordering amount which can be ordered can meet the total resource ordering requirement, and server resources are provided for the subscriber according to requirements, so that the failure rate of the ordering event is reduced on one hand, and the utilization rate of the server resources is improved on the other hand.
Finally, in S204, if the result of the subscription event predicted in S203 is that the subscription event fails, the resource subscription quota information that can be subscribed at a single time and/or the total resource subscription quota information that can be subscribed by the subscriber are/is updated to ensure that the requirement of the subscriber for the resource in the current subscription event can be met, so that not only is the failure rate of the subscription event greatly reduced, but also the resource subscription quota information of the subscriber is automatically updated, and the operation and maintenance staff does not need to manually configure in the background, thereby reducing the workload and the working pressure of the operation and maintenance staff.
In summary, according to the embodiment of the present application, through responding to the obtained subscription event, the subscription result of the subscription event is predicted based on the historical subscription data and the resource subscription quota information, and the resource subscription quota information is updated when the subscription result represents that the subscription event fails. The background predicts the success or failure of the ordering event according to the historical ordering data and the current resource ordering amount information, and automatically updates the resource ordering amount set for the ordering user under the condition that the result of the ordering event is predicted to be failure.
In a resource updating method provided in an embodiment of the present application, the method includes: when a subscribing user needs to subscribe a physical machine and/or a virtual machine, the historical subscription data comprises the capacity of a single subscription memory and/or the total capacity of the subscription memory of the subscribing user; the resource subscription quota information comprises the capacity of the memory which can be subscribed once and/or the total capacity of the memory which can be subscribed;
here, in order to embody the maximum ordering capability of the ordering User on the memory capacity and reasonably predict the ordering event result in the following, the background screens out the maximum historical value from the memory capacity of single ordering in the obtained historical ordering data, and the maximum historical value is used as the capacity USUM (User single used memory) of the memory ordered by the ordering User in a single time; in addition, the sum of the capacities of the memories subscribed once in the historical subscription data is used as the total capacity UUM (User used memory) of the memory subscribed by the subscribing User.
When the User logs in the cloud service platform, the memory capacity which is configured for the User account and allows the User to order at a single time is used as the capacity USTM (User single total memory) of the memory which can be ordered at a single time by the User; and when the subscribing User logs in the cloud service platform at present, using the total capacity of the memory allowed to be subscribed by the User configured for the User account as the total capacity UTM (User total memory) of the memory which can be subscribed by the subscribing User.
As shown in fig. 3, the corresponding execution steps of the above scheme are:
s301: obtaining an ordering event of an ordering user as an ordering physical machine and/or a virtual machine;
s302: responding to the subscription event, and acquiring historical subscription data of the subscriber and resource subscription quota information distributed for the subscriber; wherein, when the capacity of the memory ordered by the ordering user in a single time is considered, the step S303a is executed; when the total capacity of the memory ordered by the ordering user is considered, executing step S303b;
s303a: acquiring the capacity USUM of the memory ordered by the subscriber once and the capacity USTM of the memory which can be ordered by the subscriber once and is distributed to the subscriber; next, S304a is executed;
s303b: acquiring the total capacity UUM of the ordered memory of the ordering user and the total capacity UTM of the orderable memory distributed for the ordering user; next, S304b is executed;
after the steps are executed, the background processes the obtained information, and determines that the ordering event fails when the difference between the capacity of the single orderable memory allocated to the ordering user and the capacity of the single ordering memory and the ratio of the capacity of the single orderable memory to the capacity of the single orderable memory are smaller than a first threshold value, and/or when the difference between the total capacity of the orderable memory allocated to the ordering user and the total capacity of the ordering memory allocated to the ordering user and the ratio of the total capacity of the orderable memory allocated to the ordering user to the total capacity of the ordering memory are smaller than a second threshold value; through reasonable prediction of the ordering event, an ordering event result is obtained, and processing can be performed according to the ordering event result in the next step, so that the failure rate of the current ordering event is reduced, and the work load of a background is reduced.
Here, in order to predict whether the current subscription event of the subscriber fails, when the capacity of the memory subscribed for a single time is considered, it is assumed that the capacity of the memory subscribed for the subscriber in the current subscription event is the capacity of the memory subscribed for the subscriber in accordance with the USUM obtained in the historical subscription data, how many percent of the capacity of the memory subscribed for a single time that the USTM configured for the subscriber in the current subscription event will remain is calculated, and if the remaining certain percent of the capacity of the memory subscribed for a single time is smaller than a first threshold value, it is described that the remaining certain percent of the capacity of the memory subscribed for a single time is insufficient, so that it can be determined that the current subscription event fails;
when the total ordered memory capacity is considered, assuming that the UUM obtained from the historical ordering data is the total ordered memory capacity of the ordering user in the current ordering event, calculating the percentage of the total orderable memory capacity of the UTM configured for the ordering user in the current ordering event, and if the remaining percentage of the total orderable memory capacity is smaller than a second threshold, indicating that the remaining percentage of the orderable memory capacity is insufficient in the current ordering event, so that the failure of the current ordering event can be determined;
as shown in fig. 3, the corresponding execution steps of the above scheme are:
s304a: judging whether the (USTM-USUM)/USTM is smaller than a first threshold value;
s304b: judging whether the (UTM-UUM)/UTM is smaller than a second threshold value;
here, the first and second thresholds are determined empirically to ensure that reasonable subscription event outcomes can be predicted.
Correspondingly, the updating of the resource subscription quota information comprises: and increasing the capacity of the memory which can be subscribed by the subscriber in a single time and/or the total capacity of the memory which can be subscribed by the subscriber. By automatically updating the resource ordering quota information, the operation and maintenance personnel do not need to manually update, so that the labor is saved, and the failure rate of ordering events is greatly reduced.
After the current subscription event is determined to fail through prediction, the capacity of the memory which can be subscribed by the subscriber at a single time and/or the total capacity of the memory which can be subscribed by the subscriber are adjusted (increased) so as to ensure that the subscription of the subscriber succeeds after the resource subscription quota information is updated, and the failure rate of the subscription event is greatly reduced.
Specifically, as shown in fig. 3, if it is determined in S304a that (USTM-USUM)/USTM is smaller than the first threshold, the corresponding execution steps of the above scheme are S305a1: USTM = USTM + first parameter USTM; otherwise, the capacity USTM of the memory which can be subscribed by the subscriber at a single time is not updated.
If it is determined in S304b that (UTM-UUM)/UTM is smaller than the second threshold, the corresponding execution steps of the above scheme are S305b1: UTM = UTM + second parameter UTM; otherwise, the total memory capacity UTM which can be ordered by the ordering user is not updated.
Here, the first parameter and the second parameter are determined according to practical experience, and it is ensured that the orderable memory capacity can be provided for the user according to the requirement.
In the scheme, whether the ordering event is successfully ordered or not is predicted by obtaining the USUM and/or UUM ordered by the ordering user in the historical ordering data and the USTM and/or UTM which can be ordered and distributed for the ordering user, and the ordering quota information related to the memory capacity resource is updated under the condition that the ordering event fails due to insufficient memory capacity is predicted, so that the ordering event can be successfully executed in practice, on one hand, the increase of the operation load of a background under the condition that the ordering fails is avoided, on the other hand, the ordering event result is automatically predicted through the background, and the resource quota is updated according to the result, so that the utilization rate of the resource is improved, the increase of the work load of operation and maintenance personnel is avoided, and the error rate of the ordering event is reduced.
Specifically, in order to more clearly embody the principle of the above-mentioned scheme, the following descriptions can be referred to:
when the cloud service resources subscribed by the subscribing user are physical machines and/or virtual machines, the historical subscription data of the cloud service resources comprise the capacity of the memory subscribed at a single time and/or the total capacity of the subscribed memory, and the resource subscription quota information comprises the capacity of the memory subscribed at a single time and/or the total capacity of the memory subscribed at a single time.
In consideration of the capacity of the memory of a single subscription:
when the capacity of the maximum single-order memory of the subscriber, which is screened in the database by the background until the current login in the historical data, is 399G, the USUM obtained at the moment is 399G; if the capacity of the single-time orderable memory configured for the ordering user by the background in the current login state is 400G, namely the USTM is 400G. Assuming the first threshold is set to 10%, that is, (USTM-USUM)/USTM is less than 10%, characterizing the subscription event will fail. In order to prevent the subscription event from failing in the execution process, the first parameter is set to be 20%, at this time, the background will increase the capacity of the single-time orderable memory configured for the subscriber by 20% on the original basis, the USTM of the subscriber is updated to 480G, at this time, (USTM-USUM)/USTM satisfies greater than or equal to 10%, and it can be ensured that the subscription event succeeds.
The above-mentioned process is specifically processed in the background as follows: when (USTM-USUM)/UTM is less than 10%, returning to 1, and returning to 0 for the rest; when returning to 1, USTM = USTM + 20%. USTM; wherein, returning 1 indicates that the relevant resource subscription amount information is updated, and returning 0 indicates that the relevant resource subscription amount information is not updated.
Taking into account the total capacity of the ordered memory:
when the sum of the capacities of the memories subscribed by the subscribing user at a single time, namely the total capacity of the memories subscribed by the user, obtained by the background in the database until the current login in the historical data is 900G of memory, the UUM is 900G at the moment; and if the total capacity of the orderable memory configured by the background for the ordering user in the current login state is 1T, namely UTM is 1T. Assuming that the second threshold is 10%, i.e. (UTM-UUM)/UTM is less than 10%, the characterization of the subscription event will fail. In order to prevent the subscription event from failing in the execution process, the second parameter is set to be 20%, at this time, the background will increase the capacity of the single-time orderable memory configured for the subscriber by 20% on the original basis, the USTM of the subscriber is updated to 1.2T, and at this time, (USTM-USUM)/USTM satisfies greater than or equal to 10%, which can ensure the success of the subscription event.
The above-mentioned process is specifically processed in the background as follows: when the (UTM-UUM)/UTM is less than 10%, returning to 1, and returning to 0 for the rest; UTM = UTM +20% UTM when returned to 1; wherein, returning 1 indicates that the relevant resource subscription amount information is updated, and returning 0 indicates that the relevant resource subscription amount information is not updated.
According to the resource updating method provided by the embodiment of the application, the capacity of the memory which can be ordered once by the ordering user and/or the total capacity of the ordered memory in the resource ordering amount information are/is updated, the operation and maintenance personnel do not need to update manually after the ordering event fails, the workload and the operation error rate of the operation and maintenance personnel are reduced, in addition, the background predicts the capacity of the memory ordered once and/or the ordering result of the total capacity of the ordered memory in the ordering event, the updating is carried out according to the ordering result obtained by prediction, the ordering event is executed again, the probability of failure of the ordering event due to insufficient memory capacity is greatly reduced, the load of the background is reduced, and the resource updating method is provided for the ordering user according to needs, so that the resource utilization rate is improved.
In the resource updating method provided in the embodiment of the present application, the method further includes: when a subscriber needs to subscribe to a physical machine and/or a virtual machine, the historical subscription data comprises the number of IP addresses subscribed by the subscriber; the resource subscription quota information comprises the number of usable IP addresses distributed to the subscriber;
in order to embody the maximum subscription capability of the subscriber to the number of the IP addresses and reasonably predict the result of the subscription event next, the background screens out the maximum value from the number of the subscription IP addresses in the obtained historical subscription data, and uses the maximum value as the number UUI (User used IP) of the IP addresses subscribed and used by the subscriber.
And taking the number of orderable IP addresses configured for the User account by the subscriber when the subscriber logs in the cloud service platform at present as the number UTI (User total IP) of usable IP addresses allocated to the subscriber.
As shown in fig. 4, the corresponding execution steps of the above scheme are:
s401: obtaining an ordering event of an ordering user as an ordering physical machine and/or a virtual machine;
s402: responding to the subscription event, and acquiring historical subscription data of the subscriber and resource subscription quota information distributed for the subscriber; wherein, when the number of the IP addresses subscribed by the subscriber is considered, step S403 is executed;
s403: obtaining the number UUI of the IP addresses subscribed by the subscriber and the number UTI of the usable IP addresses distributed to the subscriber;
after the steps are executed, the background processes the obtained information, and determines that the subscription event fails under the condition that the difference between the number of the usable IP addresses distributed to the subscriber and the number of the IP addresses subscribed by the subscriber is smaller than a third threshold;
here, in order to predict whether the current subscription event of the subscriber fails, it is assumed that the number of IP addresses that the subscriber will subscribe to in the current subscription event is determined according to UUI obtained in the historical subscription data, how many orderable IP addresses will remain for UTI configured for the subscriber in the current subscription event is calculated, and if the number of remaining IP addresses is less than a third threshold, it is described that the number of remaining IP addresses is insufficient in the current subscription event, so that the failure of the current subscription event can be determined;
as shown in fig. 4, the corresponding implementation steps of the above scheme are:
s404: determining whether (UTI-UUI) is less than a third threshold;
here, the third threshold is determined empirically to ensure that a reasonable outcome of the subscription event can be predicted.
Correspondingly, the updating of the resource subscription quota information comprises the following steps: the number of usable IP addresses is increased as in S405a. By automatically updating the resource ordering amount information, the manual updating of operation and maintenance personnel is not needed, so that the labor is saved, and the failure rate of ordering events is greatly reduced.
After the current subscription event is determined to fail through prediction, the number of the IP addresses which can be subscribed by the subscriber is adjusted (increased) to ensure that the subscriber successfully subscribes after the resource subscription quota information is updated. Otherwise, as shown in fig. 4, when (UTI-UUI) is greater than or equal to the third threshold, S405b is performed: the number of usable IP addresses is not increased.
For how to allocate more number of IP addresses available to the subscriber, in this embodiment, the method further includes: obtaining a Virtual Private Cloud (VPC) parameter of an IP address subscribed by the subscriber in the historical subscription data;
accordingly, the increased number of usable IP addresses includes:
the added usable IP address has the same VPC parameter as the IP address subscribed by the subscriber in the historical subscription data.
It should be noted that each subscriber account has a VPC set up in the background for it, each VPC has a corresponding network address field configured for the subscriber only for its use, any address field and its IP address under the network address field belong to the subscriber and are not available for other subscribers, so the IP address field added for the subscriber needs to satisfy the condition under the VPC of the subscriber.
According to the scheme, whether the ordering event is ordered successfully or not is predicted by obtaining the UUI ordered by the ordering user in the historical ordering data and the UTI which is distributed for the ordering user and can be ordered, the ordering amount information of the IP address resource is updated under the condition that the ordering event fails due to the fact that the number of the IP addresses is not enough, the ordering user can be enabled to be successful when the resource is actually ordered, on one hand, the increase of the running load of a background under the condition that the ordering fails is avoided, on the other hand, the result of the ordering event is automatically predicted through the background, and the updating of the resource is carried out, so that the utilization rate of the resource is improved, the increase of the working load of operation and maintenance personnel is avoided, and the error rate of the ordering event is reduced.
Specifically, in order to more clearly embody the principle of the above-mentioned scheme, the following descriptions can be referred to:
when the cloud service resource subscribed by the subscriber is a physical machine and/or a virtual machine, the historical subscription data of the cloud service resource comprises the number of subscribed IP addresses, and the resource subscription quota information comprises the number of IP addresses which can be subscribed.
Assuming that when a subscriber creates a user account on a cloud service platform, a VPC network segment allocated to the subscriber by a background is 192.168.0.0/16, address segments with the same prefix 192.168.0.0/24, 192.168.2.0/23, 192.168.2.0/24 and the like as the VPC network segment are all address segments under the same VPC of the subscriber under the VPC network address segment, the address segments respectively have the same or different IP address numbers according to the respective unchanged prefixes, and when an IP address allocated to the subscriber is not enough, an address segment under the same VPC is added to the subscriber, and 254 usable IP addresses are actually added to the subscriber.
When the maximum number of IP addresses ordered by the subscriber, which are screened in the database by the background until the current login, is 250 in the historical data, the UUIs are set to be 250 at the moment; if the number of the subscribed IP addresses configured by the background for the subscriber in the current login state is 254 (that is, only one address field under VPC is opened for the subscriber, and the address field has 254 IP addresses), that is, the UTI is 254. Assuming that the third threshold is 10, i.e. (UTI-UUI) is less than 10, the characterization of the subscription event will fail. In order to prevent the subscription event from failing in the execution process, assuming that an address field under the same VPC is added for this purpose, the background increases the number of single-subscribed IP addresses configured for the subscriber by 254 (i.e. an address field with 254 IP addresses under the same VPC is added), and the USTM of the subscriber is updated to 508, and at this time (USTM-USUM) is greater than or equal to 10, which can ensure that the subscription event is successful.
The above process specifically includes the following steps: when (UTI-UUI) <10, return 1, and return 0 for the rest; when the return is 1, adding other address fields under the same VPC; wherein, returning 1 indicates that the relevant resource subscription amount information is updated, and returning 0 indicates that the relevant resource subscription amount information is not updated.
According to the resource updating method provided by the embodiment of the application, the number of the IP addresses which can be ordered by the ordering user in the resource ordering amount information is updated, the operation and maintenance personnel do not need to update manually after the ordering event fails, the workload and the operation error rate of the operation and maintenance personnel are reduced, in addition, the background predicts the ordering result of the number of the IP addresses which can be ordered in the ordering event, the ordering result is updated according to the prediction, the ordering event is executed again, the probability of failure of the ordering event due to insufficient number of the IP addresses is greatly reduced, the load of the background is reduced, and the resource updating method is provided for the ordering user according to needs, so that the resource utilization rate is improved.
In the resource updating method provided in the embodiment of the present application, the method further includes: when an ordering user needs to order physical machines, the historical ordering data further comprises the number of the ordering user ordering the physical machines at a time and/or the total number of the ordering physical machines;
the resource ordering quota information comprises the number of physical machines which can be ordered once and/or the total number of the physical machines which can be ordered;
here, in order to embody the maximum ordering capability of the ordering User on the number of Physical machines and reasonably predict the result of the ordering event in the next time, the background screens out the maximum historical value from the number of Physical machines ordered once in the obtained historical ordering data as the number USUPM (User single used Physical Machine) of Physical machines ordered once by the ordering User; in addition, the sum of the number of Physical machines subscribed at a single time in the historical subscription data is taken as the total number UUPM (User used Physical Machine) of the Physical machines subscribed by the subscribing User.
When the User logs in the cloud service platform currently, the number of Physical machines which are configured for the User account and allow the User to order at a time is used as the number USTPM (User single total Physical Machine) of the Physical machines which can be ordered at a time by the User; and when the subscriber logs in the cloud service platform currently, taking the total number of the Physical machines allowed to be ordered configured for the User account as the total number UTPM (User total Physical Machine) of the Physical machines which can be ordered by the subscriber.
As shown in fig. 5, the corresponding steps executed in the above scheme are:
s501: obtaining an ordering event of an ordering user as an ordering physical machine;
s502: responding to the subscription event, and acquiring historical subscription data of the subscriber and resource subscription quota information distributed to the subscriber; wherein, when the number of the physical machines ordered by the ordering user in a single time is considered, the step S503a is executed; when the total number of the physical machines subscribed by the subscribing user is considered, executing step S503b;
s503a: obtaining the number USUPM of the physical machines ordered by the ordering user in a single time and the number USTPM of the physical machines which can be ordered by the ordering user in a single time, which is distributed to the ordering user;
s503b: obtaining the total number UUPM of the subscribed users and the total number UTPM of the subscribed users which can be ordered by the subscribed users;
after the steps are executed, processing the obtained information by a background, and determining that the ordering event fails when the difference between the number of physical machines which can be ordered once and are distributed to the ordering user and the number of the physical machines which can be ordered once is smaller than a fourth threshold value and/or when the difference between the total number of the physical machines which can be ordered and are distributed to the ordering user and the total number of the physical machines ordered by the ordering user is smaller than a fifth threshold value; the result of the order event is obtained through reasonable prediction of the order event, and the processing can be carried out according to the result of the order event in the next step, so that the failure rate of the current order event is reduced, and the workload of a background is reduced.
Here, in order to predict whether the current subscription event of the subscriber fails, when the number of physical machines subscribed at a single time is considered, it is assumed that how many physical machines capable of being subscribed at a single time are left for the USTPM configured for the subscriber at the current subscription event according to the USUPM obtained from the historical subscription data, and if the number of the remaining physical machines capable of being subscribed at a single time is less than a fourth threshold, it is described that the number of the remaining physical machines capable of being subscribed at a single time is insufficient in the current subscription event, so that it can be determined that the current subscription event fails;
when the total number of ordered physical machines is considered, assuming that UUPM obtained from historical ordering data is the total number of the physical machines to be ordered by an ordering user in a current ordering event, calculating how many orderable physical machines are left in the UTPM configured for the ordering user in the current ordering event, and if the number of the remaining orderable physical machines is smaller than a fifth threshold, indicating that the number of the remaining orderable physical machines is insufficient in the current ordering event, so that the failure of the current ordering event can be determined;
as shown in fig. 5, the above scheme is implemented by the following steps;
s504a: (USTPM-USUPM) is less than a fourth threshold;
s504b: (UTPM-UUPM) is less than a fifth threshold;
here, the fourth and fifth thresholds are determined empirically to ensure that reasonable subscription event outcomes can be predicted.
Correspondingly, the updating of the resource subscription quota information comprises the following steps: increasing the number of physical machines that the ordering user can order at a single time and/or the total number of physical machines that the ordering user can order. By automatically updating the resource ordering amount information, the manual updating of operation and maintenance personnel is not needed, so that the labor is saved, and the failure rate of ordering events is greatly reduced.
Here, after it is determined by prediction that the current subscription event fails, the number of physical machines that the subscriber can subscribe to at a single time and/or the total number of physical machines that the subscriber can subscribe to is adjusted (increased) to ensure that the subscriber succeeds in subscription after the resource subscription quota information is updated.
Specifically, as shown in fig. 5, if it is determined in S504a that (USTPM-USUPM) is smaller than the fourth threshold, the foregoing scheme correspondingly executes S504a1: USTPM = USTPM + fourth parameter; otherwise, the number USTPM of the physical machines which can be ordered by the ordering user in a single time is not updated.
If it is determined in S504b that (UTPM-UUPM) is smaller than the fifth threshold, the above-mentioned scheme correspondingly executes S505b1: UTPM = UTPM + fifth parameter; otherwise, the total number UTPM of the physical machines which can be ordered by the ordering user is not updated.
Here, the fourth parameter and the fifth parameter are determined based on practical experience, and it is ensured that the user is provided with the orderable physical machine number according to the requirement.
In the scheme, whether the ordering event is successfully ordered or not is predicted by obtaining the USUPM and/or the UUPPM ordered by the ordering user in the historical ordering data and the USTPM and/or the UTPM distributed to the ordering user, and the ordering amount information related to the number of the physical machines is updated under the condition that the ordering event fails due to insufficient number of the physical machines is predicted, so that the actual execution of the ordering event can be successful, on one hand, the increase of the operation load of a background under the condition that the ordering fails is avoided, on the other hand, the result of the ordering event is automatically predicted through the background, and the resource amount is updated, so that the utilization rate of resources is improved, the increase of the work load of operation and maintenance personnel is avoided, and the error rate of the ordering event is reduced.
Specifically, in order to more clearly embody the principle of the above-mentioned scheme, the following descriptions can be referred to:
when the cloud service resources subscribed by the subscribing user are physical machines and/or virtual machines, the historical subscription data of the cloud service resources comprise the number of physical machines subscribed at a time and/or the total number of subscribed physical machines, and the resource subscription quota information comprises the number of physical machines subscribed at a time and/or the total number of physical machines subscribed at a time.
In the case of considering the number of physical machines of a single order:
when the maximum number of physical machines which are screened from the database by the background until the current login is 5 in the historical data, the number of USUPM is 5 at the moment; if the number of the single-time orderable physical machines configured for the ordering user by the background in the current login state is 6, namely the number of the USTPM is 6. Assuming a fourth threshold of 5 stations, i.e. (USTPM-USUPM) in the case of less than 5 stations, the characterization subscription event will fail. In order to prevent the subscription event from failing in the execution process, the fourth parameter is set to 10, at this time, the background will increase the number of single-time orderable physical machines configured for the subscription user by 10, and the USTPM of the subscription user is updated to 16, and at this time (USTPM-USUPM) is greater than or equal to 5, which can ensure that the subscription event is successful.
The above-mentioned process is specifically processed in the background as follows: when (USTPM-USUPM) <5, returning to 1, and returning to 0 for the rest; when the return is 1, USTPM = USTPM +10; wherein, returning 1 indicates that the relevant resource subscription amount information is updated, and returning 0 indicates that the relevant resource subscription amount information is not updated.
In case of considering the total number of ordered physical machines:
when the sum of the number of physical machines which are screened in the database by the background until the current login is 15, the number of UUPMs is 15; if the total number of orderable physical machines configured by the background for the ordering user in the current login state is 16, namely, the UTPM is 16. Assuming that the fifth threshold is 5 stations, i.e. (UTPM-UUPM) is less than 5 stations, the characterization of the subscription event will fail. In order to prevent the subscription event from failing in the execution process, the fifth parameter is set to 10, at this time, the background will increase the total number of orderable physical machines configured for the subscriber by 10, the UTPM of the subscriber is updated to 26, and at this time (UTPM-UUPM) is greater than or equal to 5, it can be ensured that the subscription event is successful.
The above-mentioned process is specifically processed in the background; when (UTPM-UUPM) <5, returning to 1, and returning to 0 for the rest; UTPM = UTPM +10 when returning to 1; wherein, returning 1 indicates that the relevant resource subscription amount information is updated, and returning 0 indicates that the relevant resource subscription amount information is not updated.
According to the resource updating method provided by the embodiment of the application, the number of physical machines which can be ordered by the ordering user at a time and/or the total number of the orderable physical machines in the resource ordering amount information are/is updated, the operation and maintenance personnel do not need to update manually after the ordering event fails, the workload and the operation error rate of the operation and maintenance personnel are reduced, in addition, the ordering result of the number of the physical machines which can be ordered at a time and/or the total number of the orderable physical machines in the ordering event is predicted by the background, the ordering event is updated according to the predicted ordering result, the ordering event is executed again, the probability of failure of the ordering event due to insufficient number of the physical machines is greatly reduced, the load of the background is reduced, and the resource updating method is provided for the ordering user according to needs, so that the resource utilization rate is improved.
In an embodiment of the present application, after the updating of the resource subscription quota information, the method further includes:
monitoring the subscription of the subscription event by using the updated resource subscription limit information;
and under the condition that the subscription event fails to subscribe by using the updated resource subscription quota information, updating the resource subscription quota information again.
In the above scheme, if the resource ordered by the ordering user still exceeds the updated resource ordering amount information, the method provided in the embodiment of the application may further monitor the ordering of the ordering event, and under the condition that it is monitored that the ordering event fails to order by using the updated resource ordering amount information, the resource ordering amount information is updated again through automatic operation of the background, so as to prevent operation and maintenance personnel from manually setting new resource ordering amount information for the ordering user and opening the ordering event for the second time after the ordering event fails.
An embodiment of the present application further provides a resource updating apparatus, as shown in fig. 6, the apparatus includes: a first acquisition module 61, a second acquisition module 62, a prediction module 63, and an update module 64.
The first obtaining module 61 is configured to obtain an ordering event, where the ordering event is characterized by an event that an ordering user orders a physical machine and/or a virtual machine;
when an ordering user needs to order cloud service resources, identity information such as an account and a password of the ordering user is input on a login interface of a foreground of a cloud service platform, a login button is clicked to realize login, if the login action is successful, an ordering event is generated on the foreground, the foreground sends the ordering event to a background, and the background receives the ordering event. And monitoring the event that the user logs in the cloud service platform in real time by the background, and generating an ordering event when the user logs in successfully.
The second obtaining module 62 is further configured to respond to a subscription event, and obtain historical subscription data of a subscriber and resource subscription quota information allocated to the subscriber;
here, after the first obtaining module 61 obtains the current subscription event, the second obtaining module 62 responds to the current subscription event, searches in a background database according to subscription information (such as identity information of an account of a user) included in the subscription event, and obtains historical subscription data of a subscriber and resource subscription quota information allocated to the subscriber; the data in the database are stored in a server where a cloud service platform is located; the historical ordering data comprises historical ordering data of a user for ordering a physical machine and/or a virtual machine until the user logs in the cloud service platform at present, and the resource ordering amount information distributed for the ordering user comprises physical machine resource ordering amount information and/or virtual machine resource ordering amount information which can be ordered by the ordering user at present.
It should be understood by those skilled in the art that the physical machine in the embodiments of the present application is a physical computer, such as a physical server, and the virtual machine is a virtual computer, such as a virtual server obtained by virtualizing on the physical server by using virtual software. In the cloud service platform, the virtual machine may be specifically a cloud host.
The prediction module 63 is configured to predict a subscription result of the subscription event based on the historical subscription data and the resource subscription quota information;
here, the prediction module 63 predicts the result of the subscription event of the current subscription user logging in and subscribing the physical machine and/or the virtual machine based on the historical subscription data obtained from the database and the resource subscription quota information allocated to the subscription user; specifically, the prediction aims at predicting whether the resource ordering amount currently distributed to the ordering user can meet the resource ordering requirement of the ordering user, including whether the resource ordering amount which can be ordered once can meet the resource ordering requirement of the ordering user at this time and/or whether the total bottom resource ordering amount which can be ordered can meet the total resource ordering requirement of the ordering user, and server resources are provided for the ordering user according to the requirements, so that the failure rate of the ordering event is reduced on one hand, and the utilization rate of the server resources is improved on the other hand.
The updating module 64 is configured to update the resource subscription quota information when the subscription result indicates that the subscription event fails.
Here, if the result of the predicted ordering event in the prediction module 63 is that the ordering event fails, the update module 64 updates the resource ordering amount information that can be ordered once and/or the total resource ordering amount information that can be ordered once allocated to the ordering user, so as to ensure that the requirement of the ordering user for the resource in the ordering event can be met, which not only greatly reduces the failure rate of the ordering event, but also automatically updates the resource ordering amount information of the ordering user, and does not require the operation and maintenance personnel to manually configure at the background, thereby reducing the workload and the working pressure of the operation and maintenance personnel.
In the above solution, the first obtaining module 61 obtains an ordering event and informs the second obtaining module 62 of the ordering event, the second obtaining module 62 responds to the information, searches a background database, obtains historical ordering data of an ordering user and resource ordering amount information allocated to the ordering user, the predicting module 63 predicts an ordering result of the ordering event based on the historical ordering data of the ordering user and the resource ordering amount information allocated to the ordering user, and the updating module 64 updates the resource ordering amount information when the ordering result is characterized as an ordering failure.
According to the technical scheme, the resource updating device provided by the embodiment of the application predicts the result of the ordering event through the resource ordering amount which is based on the historical ordering data and can be used by the current ordering user, updates the resource ordering amount according to the prediction result, effectively avoids the ordering failure event caused by insufficient resource ordering amount distributed for the ordering user, reduces the work load of the background of the cloud service platform, improves the resource utilization rate, and simultaneously reduces the work pressure of the users and avoids the error rate caused by frequent manual updating of the resource ordering amount because the operation and maintenance personnel are no longer required to manually set the resource ordering amount which can be used by the user after the ordering failure.
As shown in fig. 7, in the embodiment of the present application, the prediction module 63 includes: a first prediction sub-module 631;
the historical subscription data received by the first prediction sub-module 631 from the second acquisition module 62 includes: the volume of the memory ordered by the ordering user in a single time and/or the total volume of the memory ordered;
the resource subscription quota information received by the first prediction sub-module 631 from the second obtaining module 62 includes the capacity of the memory and/or the total capacity of the memory allocated to the user for single subscription;
the first prediction sub-module 631 is configured to determine that the subscription event fails when a ratio of a difference between the capacity of the single-subscribed memory allocated to the subscriber and the capacity of the single-subscribed memory of the subscriber to the capacity of the single-subscribed memory of the subscriber is smaller than a first threshold, and/or when a ratio of a difference between a total capacity of the single-subscribed memory allocated to the subscriber and the total capacity of the single-subscribed memory of the subscriber to the total capacity of the single-subscribed memory of the subscriber is smaller than a second threshold;
accordingly, the updating module 64 is configured to increase the capacity of the memory that can be subscribed by the subscribing user at a single time and/or the total capacity of the memory that can be subscribed by the subscribing user.
In the above solution, the first prediction sub-module 631 is a module that predicts a result of a subscription event for memory capacity in the prediction module 63. It receives the capacity of the single-time ordered memory and/or the total capacity of the ordered memory of the ordered user from the second obtaining module 62, and the capacity of the single-time ordered memory and/or the total capacity of the memory allocated to the user;
based on this information, the first prediction sub-module 631 determines, according to the program within the module: (USTM-USUM)/USTM is less than a first threshold, and/or (UTM-UUM)/UTM is less than a second threshold; wherein the first threshold and the second threshold are determined based on practical experience to ensure reasonable prediction of the outcome of the subscription event.
And if the (USTM-USUM)/USTM is smaller than a first threshold value and/or the (UTM-UUM)/UTM is smaller than a second threshold value, predicting that the subscription event of the subscriber fails.
When the first prediction sub-module 631 determines that the subscription event of the subscriber has failed, the update module makes USTM = USTM + first parameter USTM, and/or UTM = UTM + second parameter UTM; the first parameter and the second parameter are determined according to practical experience, and memory capacity can be provided for the ordering user according to requirements.
According to the scheme, whether the ordering event is ordered successfully or not is predicted by obtaining the USUM and/or UUM ordered by the ordering user in the historical ordering data and the USTM and/or UTM which is distributed for the ordering user and allows the ordering user to order, and the ordering amount information of the memory capacity resource is updated under the condition that the ordering event fails due to insufficient memory capacity is predicted, so that the ordering user can order the resource successfully in practice, on one hand, the increase of the running load of a background under the condition that the ordering fails is avoided, on the other hand, the updating of the resource amount is carried out through the automatic prediction of the result of the ordering event by the background, the utilization rate of the resource is improved, the increase of the working load of operation and maintenance personnel is avoided, and the error rate of the ordering event is reduced.
As shown in fig. 7, in the embodiment of the present application, the prediction module 63 includes: a second prediction sub-module 632;
the second prediction sub-module 632, configured to receive the historical subscription data from the second obtaining module 62, where the historical subscription data includes the number of IP addresses subscribed by the subscriber;
the second prediction sub-module 632 is configured to receive the resource subscription quota information from the second obtaining module 62, where the resource subscription quota information includes the number of available IP addresses allocated to the user;
the second prediction sub-module 632 is configured to determine that the subscription event fails if a difference between the number of available IP addresses allocated to the subscriber and the number of subscribed IP addresses is smaller than a third threshold;
accordingly, the updating module 64 is further configured to increase the number of available IP addresses allocated to the subscriber.
In the above solution, the second prediction sub-module 632 is a module that predicts the result of the subscription event for the number of IP addresses in the prediction module 63. It receives from second acquisition module 62 the number of IP addresses subscribed by the subscriber and the number of IP addresses allocated for the subscriber that it can use;
based on this information, the second prediction sub-module 632 determines, according to the procedure within the module: (UTI-UUI) is less than a third threshold; wherein the third threshold is determined based on practical experience to ensure reasonable prediction of the ordering event outcome.
And if the (UTI-UUI) is smaller than the third threshold, judging that the subscription event of the subscriber fails.
The update module increases the number of available IP addresses when the second prediction sub-module 632 determines that the subscription event of the subscriber has failed.
Accordingly, the updating module 64 is configured to increase the number of the IP addresses allocated to the subscriber and available to the subscriber, and includes:
the added usable IP address has the same VPC parameter as the IP address subscribed by the subscriber in the historical subscription data.
It should be noted that each user account of the subscriber has a VPC (Virtual Private Cloud) set up in the background for the subscriber, each VPC has a corresponding network address field configured for the subscriber and provided for the subscriber only, any address field under the network address field and their IP addresses belong to the subscriber and are not available for other subscribers, so the IP address field added for the subscriber needs to satisfy the condition under the VPC of the subscriber.
According to the scheme, whether the ordering event is successfully ordered or not is predicted by obtaining the UUIs ordered by the ordering user in the historical ordering data and the orderable UTIs distributed for the ordering user, the ordering amount information of the IP address resources is updated under the condition that the ordering event fails due to the fact that the number of the IP addresses is insufficient, the ordering user can succeed in actually ordering the resources, on one hand, the increase of the operation load of a background is avoided under the condition that the ordering fails, on the other hand, the result of the ordering event is automatically predicted through the background, the resource amount is updated, the utilization rate of the resources is improved, the increase of the work load of operation and maintenance personnel is avoided, and the error rate of the ordering event is reduced.
As shown in fig. 7, in the embodiment of the present application, the prediction module includes: a third predictor submodule 633;
the historical ordering data received by the third predictor sub-module 633 from the second obtaining module 62 includes the number of physical machines ordered by the ordering user at a time and/or the total number of physical machines ordered;
the resource subscription quota information received by the third predictor sub-module 633 from the second obtaining module 62 includes the number of physical machines that can be subscribed at a single time and/or the total number of physical machines that can be subscribed to the subscriber;
the third prediction sub-module 633 is configured to determine that the subscription event fails if a difference between the number of single orderable physical machines allocated to the subscription user and the number of single ordering physical machines is smaller than a fourth threshold, and/or if a difference between the total number of single orderable physical machines allocated to the subscription user and the total number of subscription physical machines of the subscription user is smaller than a fifth threshold;
accordingly, the updating module 64 is further configured to increase the number of physical machines that the ordering user can order at a single time and/or the total number of physical machines that the ordering user can order.
In the above solution, the third prediction sub-module 633 is a module that predicts the result of the ordering event for the number of physical machines in the prediction module 63. It receives the number of physical machines ordered by the user at a time and/or the total number of ordered physical machines from the second acquisition module 62, and the number of physical machines and/or the total number of physical machines that the user can order at a time are allocated to the user;
based on this information, the third predictor submodule 633 determines according to the program within the module: (USTPM-USUPM) is less than a fourth threshold, and/or (UTPM-UUPM) is less than a fifth threshold; the fourth threshold and the fifth threshold are determined according to actual experience, and therefore reasonable prediction of the result of the subscription event is guaranteed.
And if the (USTPM-USUPM) is smaller than the fourth threshold value and/or the (UTPM-UUPPM) is smaller than the fifth threshold value, judging that the subscription event of the subscriber fails.
When the third prediction sub-module 633 determines that the subscription event of the subscription user fails, the update module 64 makes the USTPM = the USTPM + the fourth parameter, and/or the UTPM = the UTPM + the fifth parameter; the fourth parameter and the fifth parameter are determined according to practical experience, and the number of physical machines can be provided for ordering users according to requirements.
In the scheme, whether the ordering event is successfully ordered or not is predicted by obtaining the USUPM and/or the UUPPM ordered by the ordering user in the historical ordering data and the USTPM and/or the UTPM distributed to the ordering user, and the ordering amount information of the memory capacity resources is updated under the condition that the ordering event fails due to insufficient memory capacity, so that the ordering user can successfully order the resources actually, on one hand, the increase of the running load of a background is avoided under the condition that the ordering fails, on the other hand, the result of the ordering event is automatically predicted through the background, and the resource amount is updated, so that the utilization rate of the resources is improved, the increase of the working load of operation and maintenance personnel is avoided, and the error rate of the ordering event is reduced.
In this embodiment of the application, after the update module updates the resource subscription quota information, the apparatus further includes:
a monitoring module 65, configured to monitor subscription of the subscription event by using the updated resource subscription quota information;
the updating module 64 is further configured to update the resource subscription quota information again when it is monitored that the subscription event fails to subscribe with the updated resource subscription quota information.
In the above scheme, if the resource ordered by the ordering user still exceeds the updated resource ordering amount information, the device provided in the embodiment of the present application may further monitor the ordering of the ordering event, and under the condition that it is monitored that the ordering event fails to order by using the updated resource ordering amount information, the resource ordering amount information is updated again through automatic operation of the background, so as to prevent operation and maintenance personnel from manually setting new resource ordering amount information for the ordering user and opening the ordering event for the second time after the ordering event fails.
In the embodiment of the present application, the first obtaining module 61, the second obtaining module 62, the predicting module 63, and the updating module 64 in the resource updating apparatus may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU), or a Programmable Gate Array (FPGA) in the resource updating apparatus in practical application.
It should be noted that, in the resource updating apparatus according to the embodiment of the present application, because the principle of the resource updating apparatus for solving the problem is similar to that of the resource updating method, the implementation process and the implementation principle of the resource updating apparatus can be described by referring to the implementation process and the implementation principle of the resource updating method, and repeated details are not repeated.
Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, where the computer program is configured to, when executed by a processor, perform at least the steps of the method shown in any one of fig. 2 to 5. The computer readable storage medium may be specifically a memory.
As shown in fig. 8, an embodiment of the present invention further provides a hardware structure of a resource updating apparatus, where the resource updating apparatus includes: a communication component 73 for data transmission, at least one processor 71 and a memory 72 for storing computer programs capable of running on the processor 71. The various components in the terminal are coupled together by a bus system 74. It will be appreciated that the bus system 74 is used to enable connected communication between these components. The bus system 74 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are identified in fig. 8 as the bus system 74.
Wherein the processor 71 executes the computer program to perform at least the steps of the method of any of fig. 2 to 5.
It will be appreciated that the memory 72 may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a magnetic random access Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), synchronous Static Random Access Memory (SSRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (ESDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), synchronous Dynamic Random Access Memory (SLDRAM), direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 72 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the above embodiments of the present invention may be applied to the processor 71, or implemented by the processor 71. The processor 71 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 71. The processor 71 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 71 may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 72, and the processor 71 reads the information in the memory 72 and performs the steps of the method in combination with its hardware.
In an exemplary embodiment, the resource updating apparatus may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, programmable Logic Devices (PLDs), complex Programmable Logic Devices (CPLDs), FPGAs, general purpose processors, controllers, MCUs, microprocessors (microprocessors), or other electronic components, for performing the aforementioned resource updating method.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and shall cover the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (8)

1. A method for resource update, the method comprising:
obtaining an ordering event, wherein the ordering event is characterized in that an ordering user orders an event of a physical machine and/or a virtual machine;
responding to an order event, and acquiring historical order data of an order user and resource order limit information distributed to the order user;
predicting the subscription result of the subscription event based on the historical subscription data and the resource subscription quota information;
under the condition that the subscription result represents that the subscription event fails, updating the resource subscription quota information;
the historical ordering data comprises the capacity of a single-order memory of the ordering user and/or the total capacity of the ordering memory; the resource subscription quota information comprises the capacity of the memory which can be subscribed for one time and/or the total capacity of the memory which can be subscribed for one time distributed to the subscriber; the method further comprises the following steps: determining that the subscription event fails if a difference between the capacity of the single-subscribed memory allocated to the subscriber and the capacity of the single-subscribed memory, and a ratio of the capacity of the single-subscribed memory to the capacity of the single-subscribed memory, is smaller than a first threshold value, and/or if a difference between a total capacity of the single-subscribed memory allocated to the subscriber and the total capacity of the single-subscribed memory allocated to the subscriber, and a ratio of the total capacity of the single-subscribed memory allocated to the subscriber to the total capacity of the single-subscribed memory is smaller than a second threshold value; correspondingly, the updating the resource subscription quota information includes: increasing the capacity of the memory which can be ordered by the ordering user in a single time and/or the total capacity of the memory which can be ordered by the ordering user;
the historical subscription data comprises a number of internet protocol, IP, addresses subscribed by the subscriber; the resource subscription quota information comprises the number of usable IP addresses distributed for the subscriber; the method further comprises the following steps: determining that the subscription event fails if a difference between the number of its usable IP addresses allocated to the subscriber and the number of IP addresses subscribed to by the subscriber is less than a third threshold; correspondingly, the updating of the resource subscription quota information comprises the following steps: increasing the number of usable IP addresses;
the historical ordering data comprises the number of single ordering physical machines and/or the total number of ordering physical machines of the ordering user; the resource ordering quota information comprises the number of physical machines which can be ordered once and/or the total number of the physical machines which can be ordered; the method further comprises the following steps: determining that the ordering event fails if a difference between the number of physical machines which can be ordered once allocated to the ordering user and the number of physical machines ordered once is smaller than a fourth threshold value and/or if a difference between the total number of physical machines which can be ordered once allocated to the ordering user and the total number of physical machines ordered by the ordering user is smaller than a fifth threshold value; correspondingly, the updating of the resource subscription quota information comprises the following steps: increasing the number of physical machines that the ordering user can order at a single time and/or the total number of physical machines that the ordering user can order.
2. The method of claim 1, wherein after updating the resource subscription quota information, the method further comprises:
monitoring the subscription of the subscription event by using the updated resource subscription limit information;
and under the condition that the subscription event fails to subscribe by using the updated resource subscription quota information, updating the resource subscription quota information again.
3. The method of claim 1, further comprising:
obtaining a Virtual Private Cloud (VPC) parameter of an IP address subscribed by the subscriber in the historical subscription data;
accordingly, the increasing the number of usable IP addresses includes:
the added IP address is an IP address having the same VPC parameter as the IP address subscribed by the subscriber in the historical subscription data.
4. A resource updating apparatus, comprising a first obtaining module, a second obtaining module, a predicting module, and an updating module, wherein,
the first acquisition module is used for acquiring an ordering event, wherein the ordering event is characterized in that an ordering user orders an event of a physical machine and/or a virtual machine;
the second acquisition module is used for responding to the subscription event and acquiring the historical subscription data of the subscriber and the resource subscription limit information distributed for the subscriber;
the prediction module is used for predicting the subscription result of the subscription event based on the historical subscription data and the resource subscription quota information;
the updating module is used for updating the resource subscription quota information under the condition that the subscription result represents that the subscription event fails;
the prediction module comprises: a first prediction sub-module; the historical ordering data comprises the capacity of a single ordering memory of the ordering user and/or the total capacity of the ordering memory; the resource subscription limit information comprises the capacity of the memory which can be subscribed for one time and/or the total capacity of the memory which can be subscribed for one time distributed for the user; the first prediction sub-module is configured to determine that the subscription event fails when a ratio of a difference between a capacity of the single-time orderable memory allocated to the subscriber and a capacity of the single-time orderable memory of the subscriber to the capacity of the single-time orderable memory of the subscriber is smaller than a first threshold, and/or when a ratio of a difference between a total capacity of the single-time orderable memory allocated to the subscriber and a total capacity of the single-time orderable memory of the subscriber to the total capacity of the single-time orderable memory of the subscriber is smaller than a second threshold; correspondingly, the updating module is configured to increase the capacity of the memory that can be subscribed by the subscribing user at a single time and/or the total capacity of the memory that can be subscribed by the subscribing user;
the prediction module comprises: a second prediction sub-module; the historical subscription data comprises the number of IP addresses subscribed by the subscriber; the resource subscription quota information comprises the number of usable IP addresses distributed to the user; the second prediction sub-module is used for determining that the subscription event fails when the difference between the number of the usable IP addresses allocated to the subscription user and the number of the subscribed IP addresses is smaller than a third threshold; correspondingly, the updating module is also used for the number of usable IP addresses;
the prediction module comprises: a third prediction sub-module; the historical ordering data comprises the number of single ordering physical machines and/or the total number of ordering physical machines of the ordering user; the resource ordering quota information comprises the number of physical machines which can be ordered once and/or the total number of the physical machines which can be ordered; the third prediction submodule is used for determining that the ordering event is failed in the case that the difference between the number of physical machines which can be ordered once and the number of physical machines which can be ordered once, which are distributed to the ordering user, is smaller than a fourth threshold value and/or the difference between the total number of physical machines which can be ordered once and the total number of physical machines which can be ordered once, which are distributed to the ordering user, and the total number of the physical machines which can be ordered by the ordering user is smaller than a fifth threshold value; correspondingly, the updating module is further used for increasing the number of physical machines which can be ordered by the ordering user in a single time and/or the total number of the physical machines which can be ordered by the ordering user.
5. The apparatus of claim 4, wherein after the updating module updates the resource subscription amount information, the apparatus further comprises:
the monitoring module is used for monitoring the subscription of the subscription event by utilizing the updated resource subscription quota information;
the updating module is further configured to update the resource subscription quota information again when it is monitored that the subscription event fails to subscribe using the updated resource subscription quota information.
6. The apparatus of claim 4, wherein the second obtaining module is further configured to obtain a VPC parameter of the IP address subscribed by the subscriber in the historical subscription data;
correspondingly, the updating module is configured to increase the number of available IP addresses allocated to the subscriber, and includes:
the added IP address is an IP address having the same VPC parameter as the IP address subscribed by the subscriber in the historical subscription data.
7. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3.
8. A resource updating apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1 to 3 when executing the program.
CN202010043253.2A 2020-01-15 2020-01-15 Resource updating method, storage medium and related device Active CN113127191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010043253.2A CN113127191B (en) 2020-01-15 2020-01-15 Resource updating method, storage medium and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010043253.2A CN113127191B (en) 2020-01-15 2020-01-15 Resource updating method, storage medium and related device

Publications (2)

Publication Number Publication Date
CN113127191A CN113127191A (en) 2021-07-16
CN113127191B true CN113127191B (en) 2023-02-28

Family

ID=76771833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010043253.2A Active CN113127191B (en) 2020-01-15 2020-01-15 Resource updating method, storage medium and related device

Country Status (1)

Country Link
CN (1) CN113127191B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117495504A (en) * 2023-11-20 2024-02-02 广州市翎泷科技有限公司 Order data analysis method, system, equipment and storage medium for digital commodity

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108306851A (en) * 2017-03-28 2018-07-20 腾讯科技(深圳)有限公司 Information acquisition method, providing method, apparatus and system
US20190058758A1 (en) * 2017-08-21 2019-02-21 Boe Technology Group Co., Ltd. Method and Device for Managing Heterogeneous Distributed Cloud Resources, Apparatus, and Computer-Readable Storage Medium
CN109885764A (en) * 2019-01-29 2019-06-14 努比亚技术有限公司 A kind of subscription information processing method, mobile terminal and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108306851A (en) * 2017-03-28 2018-07-20 腾讯科技(深圳)有限公司 Information acquisition method, providing method, apparatus and system
US20190058758A1 (en) * 2017-08-21 2019-02-21 Boe Technology Group Co., Ltd. Method and Device for Managing Heterogeneous Distributed Cloud Resources, Apparatus, and Computer-Readable Storage Medium
CN109885764A (en) * 2019-01-29 2019-06-14 努比亚技术有限公司 A kind of subscription information processing method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN113127191A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN106302565B (en) Scheduling method and system of service server
EP3664372B1 (en) Network management method and related device
CN111209110B (en) Task scheduling management method, system and storage medium for realizing load balancing
CN108347339B (en) Service recovery method and device
CN110808857B (en) Network intercommunication method, device, equipment and storage medium for realizing Kubernetes cluster
US20220318071A1 (en) Load balancing method and related device
CN112698952A (en) Unified management method and device for computing resources, computer equipment and storage medium
US10642585B1 (en) Enhancing API service schemes
CN112003895B (en) Cloud host evacuation method, device, equipment and storage medium in OpenStack cloud platform
CN113886089A (en) Task processing method, device, system, equipment and medium
CN113821340A (en) Dynamic balancing method, system, terminal and storage medium of distributed system
CN113127191B (en) Resource updating method, storage medium and related device
CN111538585A (en) Js-based server process scheduling method, system and device
US11726833B2 (en) Dynamically provisioning virtual machines from remote, multi-tier pool
CN114257550A (en) Automatic control method and device for interface access flow, storage medium and server
US20230254223A1 (en) Optimizing network slices using service profile aggregation
CN110049065B (en) Attack defense method, device, medium and computing equipment of security gateway
CN108718285B (en) Flow control method and device of cloud computing cluster and server
US11163612B2 (en) Multi-tier coordination of destructive actions
CN113760446A (en) Resource scheduling method, device, equipment and medium
CN114422565A (en) Network connection management method based on connection pool and related device
CN113055199A (en) Gateway access method and device and gateway equipment
CN115794470A (en) Operation management method and device of virtual machine, electronic equipment and storage medium
CN116467113B (en) Abnormality processing method, abnormality processing device, electronic device, and computer-readable storage medium
CN113760458A (en) Node management method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant