[go: up one dir, main page]

CN114253712B - Hybrid cloud rapid expansion method, device, system, electronic device and storage medium - Google Patents

Hybrid cloud rapid expansion method, device, system, electronic device and storage medium

Info

Publication number
CN114253712B
CN114253712B CN202111470616.1A CN202111470616A CN114253712B CN 114253712 B CN114253712 B CN 114253712B CN 202111470616 A CN202111470616 A CN 202111470616A CN 114253712 B CN114253712 B CN 114253712B
Authority
CN
China
Prior art keywords
resource
water level
resource pool
cloud
buffer
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
CN202111470616.1A
Other languages
Chinese (zh)
Other versions
CN114253712A (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.)
Hangzhou Bodun Xiyan Technology Co ltd
Original Assignee
Hangzhou Bodun Xiyan 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 Hangzhou Bodun Xiyan Technology Co ltd filed Critical Hangzhou Bodun Xiyan Technology Co ltd
Priority to CN202111470616.1A priority Critical patent/CN114253712B/en
Publication of CN114253712A publication Critical patent/CN114253712A/en
Application granted granted Critical
Publication of CN114253712B publication Critical patent/CN114253712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明实施例提供了一种混合云快速扩容方法、装置、系统、电子设备及存储介质,该方法包括:监测私有云资源池的第一资源水位以及缓冲资源池的第二资源水位;基于第一资源水位、第二资源水位以及私有云资源池的历史资源水位,计算私有云资源池的业务分值;在业务分值小于第一预设阈值的情况下,从公有云资源池中获取云资源至缓冲资源池,并在缓冲资源池中预热云资源得到目标云资源;在业务分值小于第二预设阈值的情况下,将缓冲资源池中的目标云资源添加至私有云资源池中。这样,有利于实现混合云场景下的快速扩容,也能够及时满足高用户访问量的突发需求。

Embodiments of the present invention provide a hybrid cloud rapid capacity expansion method, apparatus, system, electronic device, and storage medium. The method includes: monitoring a first resource level of a private cloud resource pool and a second resource level of a buffer resource pool; calculating a service score for the private cloud resource pool based on the first resource level, the second resource level, and the historical resource level of the private cloud resource pool; when the service score is less than a first preset threshold, acquiring cloud resources from a public cloud resource pool to the buffer resource pool, and preheating the cloud resources in the buffer resource pool to obtain target cloud resources; and when the service score is less than a second preset threshold, adding the target cloud resources in the buffer resource pool to the private cloud resource pool. This facilitates rapid capacity expansion in hybrid cloud scenarios and can also promptly meet sudden demands for high user traffic.

Description

Hybrid cloud rapid expansion method, device and system, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer cloud computing technologies, and in particular, to a method, an apparatus, a system, an electronic device, and a storage medium for rapidly expanding a hybrid cloud.
Background
In the Internet service scene, the user quantity is relatively stable most of the time, but in some cases such as cheerful shopping knots, great promotion shopping activities, hot events and the like, the emergency of large-flow access of the user is often caused, and the system is paralyzed. On the basis, if each internet enterprise builds a private cloud machine room according to the service flow peak value, the production cost is required to be increased, and computer infrastructure is easy to idle after emergency is finished, so that the waste of computing resources is caused.
In the prior art, internet enterprises often manually and temporarily call public cloud resources according to access requirements of actual user quantity on the basis of private cloud so as to meet cloud resource requirements corresponding to service flow peaks. In the mixed cloud scenario, in order to ensure that the cloud host resources to the final service resources are actually available, a plurality of initialization processes need to be performed in the middle, so that the public cloud resources based on manual temporary call cannot be directly used for running the service resources, and the initialization needs to be waited for. Therefore, the rapid capacity expansion of the hybrid cloud cannot be realized, and the sudden demand of high user access cannot be met in real time.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a system, electronic equipment and a storage medium for quickly expanding a hybrid cloud, which are used for solving the problem that the quick expansion of the hybrid cloud cannot be realized in the prior art.
In order to solve the above problems, the embodiments of the present invention are implemented as follows:
in a first aspect, an embodiment of the present invention discloses a method for rapidly expanding a hybrid cloud, including:
Monitoring a first resource water level of the private cloud resource pool and a second resource water level of the buffer resource pool;
calculating a business score of the private cloud resource pool based on the first resource water level, the second resource water level, and the historical resource water level of the private cloud resource pool;
under the condition that the service score is smaller than a first preset threshold value, cloud resources are obtained from a public cloud resource pool to a buffer resource pool, and the cloud resources are preheated in the buffer resource pool to obtain target cloud resources;
and adding the target cloud resources in the buffer resource pool to the private cloud resource pool under the condition that the business score is smaller than a second preset threshold value.
Optionally, the calculating the service score of the private cloud resource pool includes:
determining a resource water level variation of the private cloud resource pool based on the first resource water level and the historical resource water level;
determining the resource water level change amplitude of the private cloud resource pool according to the first resource water level and the resource water level change quantity;
weighting is carried out on the resource water level change amplitude to obtain a weighted score of the private cloud resource pool;
and multiplying the weighted score with the second resource water level to obtain the service score.
Optionally, after the calculating the service score of the private cloud resource pool, the method further includes:
based on the service score, confirming a target resource water level corresponding to the service score in a preset corresponding relation;
and maintaining the resource water level of the buffer resource pool at the target resource water level.
Optionally, the obtaining cloud resources from the public cloud resource pool to the buffer resource pool, and preheating the cloud resources in the buffer resource pool to obtain target cloud resources includes:
calling an external interface of the public cloud resource pool;
based on the external interface, cloud resources are obtained from the public cloud resource pool to a buffer resource pool, and a preheating environment for the cloud resources is initialized in the buffer resource pool;
And deploying service resources in the cloud resources to obtain the target cloud resources.
Optionally, the method further comprises:
And sending the resource water level information and the service capacity expansion information to display equipment through an application program interface so that the display equipment displays the resource water level information and the service capacity expansion information, wherein the resource water level information comprises the first resource water level and the second resource water level, and the service capacity expansion information comprises relevant information of the target cloud resource.
Optionally, the method further comprises:
monitoring a third resource water level of the public cloud resource pool;
And displaying preset alarm information under the condition that the third resource water level is smaller than a third preset threshold value.
In a second aspect, an embodiment of the present invention discloses a hybrid cloud rapid expansion device, where the hybrid cloud rapid expansion device includes a buffering preheating device, and the buffering preheating device includes:
the monitoring module is used for monitoring the first resource water level of the private cloud resource pool and the second resource water level of the buffer resource pool;
the control module is used for calculating the service score of the private cloud resource pool based on the first resource water level, the second resource water level and the historical resource water level of the private cloud resource pool;
the control module is further configured to obtain cloud resources from a public cloud resource pool to a buffer resource pool and preheat the cloud resources in the buffer resource pool to obtain target cloud resources when the service score is smaller than a first preset threshold;
And the control module is further configured to add the target cloud resources in the buffer resource pool to a private cloud resource pool when the service score is smaller than a second preset threshold.
In a third aspect, the embodiment of the invention discloses a hybrid cloud rapid capacity expansion system, which comprises a private cloud resource pool, a public cloud resource pool and a buffer preheating device, wherein the buffer preheating device comprises a buffer resource pool,
The buffer preheating device is used for monitoring a first resource water level of the private cloud resource pool and a second resource water level of the buffer resource pool;
The buffer preheating device is used for calculating a service score of the private cloud resource pool based on the first resource water level, the second resource water level and the historical resource water level of the private cloud resource pool;
the buffer preheating device is used for acquiring cloud resources from a public cloud resource pool to a buffer resource pool under the condition that the service score is smaller than a first preset threshold value, and preheating the cloud resources in the buffer resource pool to obtain target cloud resources;
And the buffer preheating device is used for adding the target cloud resources in the buffer resource pool to the private cloud resource pool under the condition that the service score is smaller than a second preset threshold value.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program when executed by the processor implements the step of fast capacity expansion of the hybrid cloud in the first aspect.
In a fifth aspect, an embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor implements the step of fast capacity expansion of the hybrid cloud according to the first aspect.
In the embodiment of the invention, a first resource water level of a private cloud resource pool and a second resource water level of a buffer resource pool are monitored, service scores of the private cloud resource pool are calculated based on the first resource water level, the second resource water level and historical resource water levels of the private cloud resource pool, cloud resources are obtained from the public cloud resource pool to the buffer resource pool under the condition that the service scores are smaller than a first preset threshold value, cloud resources are preheated in the buffer resource pool to obtain target cloud resources, and the target cloud resources in the buffer resource pool are added into the private cloud resource pool under the condition that the service scores are smaller than a second preset threshold value.
According to the embodiment of the invention, the demand degree of the private cloud resource pool for cloud resources is represented by calculating the service score, when the demand degree is higher, cloud resources are obtained from public cloud into the buffer resource pool and are preheated to obtain target cloud resources, when the private cloud resources are insufficient, the preheated target cloud resources in the buffer resource pool can be directly added to the running service in the private cloud, so that the rapid capacity expansion in a mixed cloud scene is realized, and the sudden demand of high user access can be timely met.
Drawings
Fig. 1 shows a step flow diagram of a hybrid cloud rapid expansion method according to an embodiment of the present invention;
FIG. 2 shows a schematic diagram of a resource water level of a resource pool according to an embodiment of the present invention;
FIG. 3 shows an interactive schematic diagram of a hybrid cloud flash expansion according to an embodiment of the present invention;
FIG. 4 is a schematic diagram showing the internal construction principle of a control module according to an embodiment of the present invention;
Fig. 5 shows a block diagram of a hybrid cloud rapid capacity expansion device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a step flow diagram of a hybrid cloud rapid capacity expansion method according to an embodiment of the present invention is shown. The execution subject of the method may be a buffer preheating device. The buffer preheating device comprises a monitoring module, a control module, a display module and a buffer resource pool. The system comprises a monitoring module, a control module, a buffer resource pool and a display module, wherein the monitoring module is used for collecting and monitoring the resource water level condition of each resource pool, the control module is used for calculating service scores and adjusting the water level relation between a private cloud resource pool and the buffer resource pool according to the service scores, the buffer resource pool is used for receiving cloud resources which are moved from a public cloud resource pool and initialized, and the display module is used for displaying various information. It should be noted that, the hybrid cloud rapid expansion method of the embodiment of the invention can be applied to cloud environments of virtual machine technology or non-virtual machine technology, and also can be applied to cloud environments of container technology or non-container technology, and can realize expansion of private cloud overall global basic cloud resources.
The method specifically comprises the following steps:
step 101, monitoring a first resource water level of a private cloud resource pool and a second resource water level of a buffer resource pool.
In the embodiment of the invention, the private cloud resource pool can refer to a cloud resource server cluster in an enterprise. Private clouds are typically built based on the purpose of the enterprise's individual use, and can provide the most effective control over data, security, and quality of service. For example, individual internet enterprises typically have an internal computer infrastructure and can control the manner in which applications are deployed on the computer infrastructure based on actual needs. The private cloud resource pool is typically deployed within an enterprise data center or within a proprietary hosting internet data center (INTERNET DATA CENTER, IDC) room.
The buffer resource pool may refer to a cloud resource pool corresponding to the buffer preheating device. The buffer preheating device can play roles of buffer preheating and resource allocation in a mixed cloud scene. The resource water level may refer to information formed by the number and/or capacity of a certain resource, where the resource may specifically include a CPU, a memory, a disk capacity, a network bandwidth, and the embodiment of the present invention is not limited thereto. The first resource water level may refer to a current water level of the private cloud resource pool, and the second resource water level may refer to a current water level corresponding to the buffer resource pool.
In this step, in the mixed cloud scenario, the monitoring module in the buffering preheating device may monitor the current water levels of the private cloud resource pool and the buffering resource pool in real time, and the subsequent control module may calculate the service score and allocate the cloud resources based on the first resource water level and the second resource water level.
Illustratively, FIG. 2 shows a schematic diagram of a resource water level of a resource pool in accordance with an embodiment of the present invention. As shown in fig. 2, the resource pool 201 may be considered a pool or graduated flask in which the water contained may be referred to as a cloud resource. The resource water level indicates how much cloud resources are in the current cup, for example, a water level of 80% indicates that 4/5 of the water is in the cup, i.e. the cloud resources are relatively sufficient, and a water level of 20% indicates that only 1/5 of the water is in the cup, i.e. the cloud resources are relatively deficient, and supplementation is needed. As the number of cloud resources in the resource pool 201 changes, the resource water level also changes. Taking the resource pool 201 in fig. 2 as the private cloud resource pool as an example, the current first resource water level 202 of the private cloud resource pool is 50%.
Step 102, calculating a service score of the private cloud resource pool based on the first resource water level, the second resource water level and the historical resource water level of the private cloud resource pool.
In the embodiment of the invention, the historical resource water level may refer to the water level of the private cloud resource pool before the preset time, the preset time is selected according to actual needs, and may refer to 30 seconds or 60 seconds, etc., and correspondingly, the historical resource water level may be the water level of the private cloud resource pool before 30 seconds or the water level of the private cloud resource pool before 60 seconds, etc., and the embodiment of the invention does not limit specific numerical values of the preset time.
The service score may refer to a degree of demand of the private cloud resource pool for cloud resource expansion when performing service operation based on the private cloud resource pool. The business score is used for representing the demand degree of the private cloud resource pool for cloud resource capacity expansion, and the business score is inversely related to the demand degree. When the user quantity is stable, cloud resources in the private cloud resource pool are enough to support operation of user services, the demand degree of the private cloud resource pool for cloud resource expansion is low, service scores are high, when hot spot events and the like occur to cause sudden increase of user access quantity, the cloud resources in the private cloud resource pool are insufficient to support operation of a large number of user services, and the demand degree of the private cloud resource pool for cloud resource expansion is high, and service scores are low.
In this step, after the current first resource water level of the private cloud resource pool and the current second resource water level of the buffer resource pool are obtained, the control module in the preheating buffer device may calculate the service score of the private cloud resource pool based on the first resource water level, the second resource water level and the historical resource water level of the private cloud resource pool, and may implement the scheduling of the cloud resource based on the service score later.
Step 103, under the condition that the service score is smaller than a first preset threshold value, cloud resources are obtained from a public cloud resource pool to a buffer resource pool, and the cloud resources are preheated in the buffer resource pool to obtain target cloud resources.
In the embodiment of the invention, the public cloud resources can be server clusters which are provided by third-party suppliers for users and can be used, the public cloud can be generally used through the Internet, the core attribute of the public cloud is shared cloud computing resource service, and in general, the public cloud has more cloud resources and can provide service in an open public network. The hybrid cloud scenario may refer to a scenario in which cloud resources in private and public clouds are used simultaneously.
The first preset threshold may be a preset critical value of the service score, and when the critical value is smaller than the first preset threshold, the first preset threshold indicates that there is a tendency of insufficient resources in the private cloud resource pool at this time, and cloud resources need to be preheated in advance to realize rapid capacity expansion of the private cloud. The first preset threshold may be specifically set to specific values such as 90, 80, etc., and may be determined according to actual requirements and production costs, which is not limited in the embodiment of the present invention.
The preheating process generally refers to heating by using a test tube in a chemical experiment, so that the experiment progress is faster and smoother, and the test tube is uniformly heated to a certain temperature by using an alcohol lamp before heating, so that the test tube is uniformly heated. In the mixed cloud scene, the preheating process can refer to initializing and preheating the cloud resources, and the cloud resources after initializing and preheating can be directly used for providing business services to the outside so as to accelerate the capacity expansion process of the business. The target cloud resource may refer to a cloud resource after initializing and preheating.
In this step, after calculating the service score, if the service score is smaller than the first preset threshold, the control module indicates that the cloud resource of the private cloud resource pool is insufficient, and the control module obtains cloud resources from the public cloud resource pool to the buffer resource pool, and performs initialization preheating on the cloud resources in the buffer resource pool, so as to obtain target cloud resources which can be directly used for running service, thereby facilitating rapid capacity expansion of the subsequent private cloud resource pool.
And 104, adding the target cloud resources in the buffer resource pool to the private cloud resource pool under the condition that the service score is smaller than a second preset threshold value.
In the embodiment of the present invention, the second preset threshold may be a preset critical value of the service score, where the second preset threshold is smaller than the first preset threshold. When the service score is smaller than a second preset threshold, the fact that the current cloud resources of the private cloud resource pool are insufficient to support operation of the service at the moment is indicated, and capacity expansion is needed. The specific value of the second preset threshold may be set to 70, 60, etc., which may be specifically determined according to the actual requirement and the production cost, which is not limited in the embodiment of the present invention.
In this step, when the service score of the private cloud resource pool is smaller than the second preset threshold, the control module may add the target cloud resource that has been preheated in the buffer resource pool to the private cloud resource pool, and the private cloud resource pool may directly provide services to the outside based on the target cloud resource, so as to implement rapid capacity expansion.
In summary, the method for rapidly expanding the hybrid cloud provided by the embodiment of the invention monitors a first resource water level of a private cloud resource pool and a second resource water level of a buffer resource pool, calculates a service score of the private cloud resource pool based on the first resource water level, the second resource water level and a historical resource water level of the private cloud resource pool, acquires cloud resources from the public cloud resource pool to the buffer resource pool when the service score is smaller than a first preset threshold, preheats the cloud resources in the buffer resource pool to obtain target cloud resources, and adds the target cloud resources in the buffer resource pool to the private cloud resource pool when the service score is smaller than a second preset threshold. According to the embodiment of the invention, the demand degree of the private cloud resource pool for cloud resources is represented by calculating the service score, when the demand degree is higher, cloud resources are obtained from public cloud into the buffer resource pool and are preheated to obtain target cloud resources, when the private cloud resources are insufficient, the preheated target cloud resources in the buffer resource pool can be directly added to the running service in the private cloud, so that the rapid capacity expansion in a mixed cloud scene is realized, and the sudden demand of high user access can be rapidly met.
Optionally, in the embodiment of the present invention, step 102 may specifically include the following steps 1021 to 1024:
and 1021, determining the resource water level change amount of the private cloud resource pool based on the first resource water level and the historical resource water level.
In the embodiment of the invention, the resource water level variation can be the difference value between the current first resource water level and the historical resource water level of the private cloud resource pool. Because the change condition of the water level of the private cloud resource pool is different, the change amount of the water level of the resource can be positive or negative, if the change amount is positive, the whole water level of the resource of the private cloud resource pool is increased, and if the change amount is negative, the whole water level of the resource of the private cloud resource pool is decreased. For example, if the historical resource level is noted as W 1 and the first resource level is noted as W 2, the resource level change may be W 2 minus W 1.
Step 1022, determining the resource water level variation amplitude of the private cloud resource pool according to the first resource water level and the resource water level variation amount.
In the embodiment of the invention, the resource water level change amplitude can refer to the percentage of the resource water level change amplitude of the private cloud resource pool. The change of the resource water level can be positive or negative, and the corresponding change of the resource water level can be positive or negative, when the change of the resource water level is positive, the change of the resource water level can be used for representing the rising proportion of the resource water level of the private cloud resource pool, and when the change of the resource water level is negative, the change of the resource water level can be used for representing the falling proportion of the resource water level of the private cloud resource pool.
For example, if the historical resource level is denoted as W 1, the first resource level is denoted as W 2, the resource level change amount may be (W 2-W1), the resource level change amplitude E may be expressed as:
Step 1023, carrying out weighting processing on the resource water level change amplitude to obtain a weighted score of the private cloud resource pool.
In the embodiment of the invention, the weighted score can be a weighted score corresponding to the change amplitude of the resource water level of the private cloud resource pool. Assuming that 100 points are taken as reference points, if the change amplitude of the water level of the resource is positive, the weight score is obtained by adding the points on the basis of the reference points, and if the change amplitude of the water level of the resource is negative, the weight score is obtained by subtracting the points on the basis of the reference points.
In connection with the same example above, the weighted score may be expressed as:
100+E×100
step 1024, multiplying the weighted score with the second resource water level to obtain the service score.
In the embodiment of the invention, when calculating the service score of the private cloud resource pool, the current second resource water level of the buffer resource pool is a key factor for quickly obtaining the cloud resource to realize quick capacity expansion of the private cloud resource pool, and at the moment, the control module can multiply the weighted score calculated based on the change amplitude of the resource water level of the private cloud resource pool with the second resource water level to obtain the service score corresponding to the private cloud resource pool.
In connection with the same example above, where the second resource water level is denoted as W 3, the business score may be expressed as:
(100+E×100)×W3
The calculation formula of the resource water level change amplitude E is substituted and converted into the following formula:
In this way, the control module can calculate the service score corresponding to the private cloud resource pool based on the formula, and can perform corresponding resource allocation actions based on the service score later. Illustratively, table 1 shows a score table of a business score calculation according to an embodiment of the present invention.
TABLE 1
In the embodiment of the invention, the resource water level change amount of the private cloud resource pool is determined based on the first resource water level and the historical resource water level, the resource water level change amplitude of the private cloud resource pool is determined according to the first resource water level and the resource water level change amount, the resource water level change amplitude is weighted to obtain the weighted score of the private cloud resource pool, and the weighted score is multiplied by the second resource water level to obtain the service score. In this way, in the embodiment of the invention, the control module calculates the service score based on the resource water level conditions of the first resource water level, the second resource water level and the historical resource water level, the service score can accurately reflect the demand level of the private cloud resource pool for cloud resources, the accuracy of cloud resource allocation by the subsequent control module is ensured, and the resource allocation based on the service score can realize rapid capacity expansion, avoid idle running of the calculation resources caused by more expanded cloud resources and save the production cost.
Optionally, in the embodiment of the present invention, after step 102, the hybrid cloud capacity expansion method may further include the following steps S21 to S22:
And S21, confirming a target resource water level corresponding to the service score in a preset corresponding relation based on the service score.
In the embodiment of the invention, the target resource water level may refer to the target water level of the buffer resource pool corresponding to the service score. The service scores are different, the demands of the private cloud resource pools for cloud resources are different, and the corresponding number of preheated target cloud resources placed in the buffer resource pools, namely the target resource water levels, are also different. The preset corresponding relation may be a corresponding relation between a preset service score and a target resource water level, and the higher the service score is, the lower the demand level of the private cloud resource pool for cloud resource expansion is, the lower the corresponding target resource water level is, namely, the target resource water level is inversely related to the service score. The specific value of the preset corresponding relation can be set based on actual requirements.
Illustratively, when the service score is greater than or equal to 80, the private cloud resource pool does not need to be expanded at this time, the target resource water level may be 0, when the service score is less than or equal to 80 and greater than or equal to 60, the target resource water level may be 50%, when the service score is less than or equal to 60 and greater than or equal to 40, the target resource water level may be 60%, when the service score is less than or equal to 40 and greater than or equal to 20, the target resource water level may be 70%, and when the service score is less than 20, the target resource water level may be 80%. The lower the service score is, the higher the demand of the private cloud resource pool for cloud resources is, and the higher the corresponding target resource water level is, so that the private cloud resource pool can be rapidly expanded based on the target cloud resources in the buffer resource pool. Of course, the specific value in the preset corresponding relation can be determined based on the actual requirement, and only the requirement that the service score and the target resource water level are inversely related to ensure the rapid expansion of the private cloud resource pool is required to be ensured.
And step S22, maintaining the resource water level of the buffer resource pool at the target resource water level.
In the embodiment of the invention, after the target resource water level corresponding to the service score is determined, the control module can automatically acquire cloud resources from the public cloud resource pool to the buffer resource pool, and preheat the cloud resources in the buffer resource pool to obtain the target cloud resources so as to ensure that the water level of the buffer resource pool is maintained at the target resource water level, thereby ensuring the quick capacity expansion requirement of the private cloud resource pool and realizing the quick capacity expansion of the private cloud at any time.
It should be noted that in one implementation, the buffer resource pool can be maintained at a higher water level all the time, but under the condition of smaller traffic, the private cloud resource pool has smaller requirements for cloud resources, preheating more target cloud resources easily causes idle running of the cloud resources, and the production cost is increased.
In the embodiment of the invention, the target resource water level corresponding to the service score is confirmed in the preset corresponding relation based on the service score, and the resource water level of the buffer resource pool is maintained at the target resource water level. In this way, the embodiment of the invention determines the target resource water level corresponding to the service score based on the preset corresponding relation and maintains the target resource water level in the buffer resource pool, thereby not only providing the preheated target cloud resource required by the rapid expansion of the private cloud resource pool, but also avoiding the cloud resource idling caused by the constant maintenance of the buffer resource pool at a high water level, and reducing the production cost.
Optionally, in the embodiment of the present invention, step 103 may specifically include the following steps 1031 to 1033:
step 1031, calling an external interface of the public cloud resource pool.
In the embodiment of the invention, the external interface can be an application program interface of a public cloud resource pool. And under the condition that the service score is smaller than a first preset threshold value, the control module can call an external interface in the public cloud resource pool to acquire cloud resources so as to execute a subsequent preheating process.
Step 1032, based on the external interface, obtaining cloud resources from the public cloud resource pool to a buffer resource pool, and initializing a preheating environment for the cloud resources in the buffer resource pool.
In the embodiment of the invention, the cloud resource can be a computer resource required by service operation. The preheating environment may refer to an environment in which cloud resources are preheated, and the cloud resources may be subsequently initialized based on the preheating environment.
In this step, when the control module determines that the service score is smaller than the first preset threshold, the control module executes a corresponding resource allocation action. The control module can firstly call an API (application program interface) of the public cloud resource pool, then create the common general public cloud resource, and then mark the common general public cloud resource as the cloud resource in the buffer resource pool, so that the cloud resource is acquired from the public cloud resource pool to the buffer resource pool. And then, initializing the preheating environment in the buffer resource pool to realize the subsequent preheating process of the cloud resources.
And 1033, deploying service resources in the cloud resources to obtain the target cloud resources.
In the embodiment of the invention, the service resource can refer to various computing resources corresponding to supporting service operation. And after the service score is smaller than a first preset threshold, the control module automatically acquires cloud resources from the public cloud resource pool to the buffer resource pool, initializes a preheating environment in the buffer resource pool and deploys the service resources to obtain target cloud resources which can be directly used for service operation subsequently. In this way, through the preheating process, the control module can convert cloud resources in the public cloud resource pool into business resource information required by business operation of enterprises, namely, target cloud resources capable of directly operating the businesses.
The embodiment of the invention calls an external interface of a public cloud resource pool, acquires cloud resources from the public cloud resource pool to a buffer resource pool based on the external interface, initializes a preheating environment for the cloud resources in the buffer resource pool, and deploys service resources in the cloud resources to obtain target cloud resources. Therefore, the control module can obtain the target cloud resources by preheating the cloud resources in the buffer resource pool, can directly provide services to the outside after the target cloud resources are subsequently expanded to the private cloud resource pool, has higher instantaneity, realizes quick expansion in a mixed cloud scene, and can quickly meet the cloud resource requirements when the user flow suddenly increases.
Optionally, in the embodiment of the present invention, the method for quickly expanding a hybrid cloud may further include the following step S31:
And step S31, sending the resource water level information and the service capacity expansion information to a display device through an application program interface so that the display device displays the resource water level information and the service capacity expansion information, wherein the resource water level information comprises the first resource water level and the second resource water level, and the service capacity expansion information comprises the related information of the target cloud resource.
In the embodiment of the present invention, the application program interface (Application Programming Interface, API) may refer to an external connection channel of the buffer preheating device. The display device may refer to a device for displaying various parameters in a hybrid cloud scene. The display device may be included as a display module in the buffer pre-heating apparatus. The resource water level information may refer to the resource water levels in the respective resource pools of the hybrid cloud. The service expansion information can comprise various information of the target cloud resource and a rapid expansion result.
In this step, the display module of the buffer preheating device can obtain the water level information and the service capacity expansion information of each resource pool from the API interfaces of the monitoring module and the control module, and display the water level information and the service capacity expansion information for the enterprise internet technology (Internet Technology, IT) manager to check, so as to facilitate the real-time monitoring of the user.
In the embodiment of the invention, the resource water level information and the service capacity expansion information are sent to the display equipment through the application program interface, so that the display equipment displays the resource water level information and the service capacity expansion information, wherein the resource water level information comprises a first resource water level and a second resource water level, and the service capacity expansion information comprises related information of the target cloud resource. Therefore, the water level condition and the service capacity expansion condition of each resource pool in the mixed cloud scene can be intuitively displayed, and the real-time monitoring of operation and maintenance personnel is facilitated.
Optionally, in the embodiment of the present invention, the method for quickly expanding a hybrid cloud may further include the following steps S41 to S42:
And step S41, monitoring a third resource water level of the public cloud resource pool.
In the embodiment of the invention, the third resource water level may refer to the current water level of the public cloud resource pool. When the cloud resources of the private cloud resource pool are insufficient, the control module needs to acquire resources from the public cloud resource pool, and in order to ensure the success rate of cloud resource acquisition and cloud resource capacity expansion, the real-time water level of the public cloud resource pool, namely the third resource water level, needs to be monitored.
And step S42, displaying preset alarm information under the condition that the third resource water level is smaller than a third preset threshold value.
In the embodiment of the invention, the third preset threshold value may be an alarm value of a preset public cloud resource pool water level. The third preset threshold is different from the first preset threshold and the second preset threshold used for judging the service score, and is used for judging the resource water level condition of the public cloud resource pool. When the third resource water level is smaller than the third preset threshold, it indicates that the cloud resources in the public cloud resource pool are fewer at the moment, and capacity expansion failure may occur. At this time, the control module in the buffer preheating device can control the display module to display preset alarm information to prompt an IT manager, so that the IT manager can perform corresponding processing in time to ensure the normal operation of the user access service. The preset alarm information can be preset audible and visual alarm information or text information, and the specific type of the preset alarm information is not limited in the embodiment of the invention.
In the embodiment of the invention, the third resource water level of the public cloud resource pool is monitored, and the preset alarm information is displayed under the condition that the third resource water level is smaller than a third preset threshold value. Therefore, by monitoring the real-time water level of the public cloud and carrying out alarm prompt under the condition of lack of public cloud resources, the success rate of quick capacity expansion can be ensured, and meanwhile, normal operation of user business can be ensured by reminding IT management personnel.
Optionally, in the embodiment of the present invention, before step 101, the method for rapid capacity expansion of a hybrid cloud may further include the following steps S51 to S53:
And step S51, acquiring preset connection information of the private cloud resource pool and the public cloud resource pool.
In the embodiment of the invention, the preset connection information may refer to docking information of a private cloud resource pool and a public cloud resource pool, and may specifically include API interface information, user permission information, and the like.
And step S52, installing a buffer preheating device in the mixed cloud environment, wherein the buffer preheating device comprises the buffer resource pool.
In the embodiment of the invention, after the preset connection information of the public cloud and the private cloud is obtained, the buffer preheating device can be installed in the mixed cloud scene so as to realize rapid expansion and buffer preheating of cloud resources.
Step S53, configuring the preset connection information in the buffer preheating device, and starting the buffer preheating device.
In the embodiment of the invention, after the buffer preheating device is installed, the preset connection information can be configured in the buffer preheating device, the buffer preheating device is connected with the public cloud resource pool and the private cloud resource pool, and then the buffer preheating device is started, so that the buffer preheating device can normally collect information and allocate resources for the hybrid cloud, and the rapid expansion of the hybrid cloud service is realized.
IT should be noted that, the execution subject of steps S51 to S53 may be an IT manager, and after the buffer preheating device is started, the subsequent rapid capacity expansion method of the hybrid cloud may be automatically completed by the buffer preheating device, without manual capacity expansion of the IT manager, so that the labor cost is reduced while the operation efficiency is improved.
Fig. 3 is an interactive schematic diagram of a hybrid cloud rapid capacity expansion according to an embodiment of the present invention. As shown in fig. 3, a buffer preheating device is installed in the hybrid cloud environment, and includes a monitoring module 304, a control module 305, a display module 306, and a buffer resource pool 302. The monitoring module 304 of the buffering preheating device is respectively connected with the private cloud resource pool 301, the buffering resource pool 302 and the public cloud resource pool 303, and is used for monitoring the resource water level of each resource pool in real time. The control module 305 is connected to the monitoring module 304, and is configured to calculate a service score corresponding to the private cloud resource pool 301 based on the first resource water level of the private cloud resource pool 301 and the second resource water level of the buffer resource pool 302, automatically analyze a water level threshold of the private cloud resource pool, predict a trend of increasing and decreasing the water level of the private cloud resource pool, and then adjust a water level relationship between the private cloud resource pool 301 and the buffer resource pool 302 according to the service score. The display module 306 is connected with the monitoring module 304 and the control module 305, and is used for displaying the resource water level information and the business expansion information, so that IT manager can check conveniently.
Specifically, the user access service is based on the operation of the existing cloud resources in the private cloud resource pool 301, when the user access amount increases and the private cloud resource pool 301 is deficient in cloud resources, the monitoring module 304 sends the obtained first resource water level and the obtained second resource water level to the control module 305, the control module 305 calculates the service score of the private cloud resource pool based on the resource water level information, and when the service score is smaller than a first preset threshold, the control module 305 automatically obtains cloud resources from the public cloud resource pool 303 to the buffer resource pool 302, initializes a preheating environment in the buffer resource pool 302, deploys the service resources to obtain target cloud resources, and simultaneously maintains the buffer resource pool 302 at the target resource water level corresponding to the service score, and when the service score is smaller than the first preset threshold, the control module 305 places the target cloud resources in the buffer resource pool 302 into the private cloud resource pool 301 to formally provide services, and simultaneously continues the preheating process to maintain the resource water level of the buffer resource pool 302. Therefore, the buffer preheating device can obtain target cloud resources which can be directly used for running service by preheating cloud resources in the buffer resource pool, and can realize the rapid capacity expansion of private cloud.
It should be noted that, in the case that the cloud resources in the private cloud resource pool 301 and the buffer resource pool 302 are extremely scarce, the cloud resources may be temporarily and urgently fetched from the public cloud resource pool 303 into the private cloud resource pool to satisfy the emergency situation, which is not limited by the embodiment of the present invention.
Illustratively, fig. 4 shows a schematic diagram of the internal construction principle of a control module according to an embodiment of the present invention. As shown in fig. 4, the internal structure of the control module 402 includes three logic units, namely an analysis unit 4021, a buffer unit 4022, and a scheduling unit 4023. The analysis unit 4021 is connected to the monitoring module 401, and is responsible for analyzing a water level threshold value of the private cloud resource pool, predicting a trend of water level increase and water level decrease, and calculating a service score corresponding to the private cloud resource pool. The buffer unit 4022 is responsible for temporarily buffering the score table storing the service scores. The scheduling unit 4023 determines to execute the resource allocation according to the score table in the cache unit 4022. Thus, the control module can dynamically allocate public cloud resources to the buffer resource pool according to the service score, and further allocate preheated cloud resources, namely target cloud resources, to the private cloud resource pool.
It should be noted that the analysis unit 4021 in the control module 402 receives the original water level information of each resource pool, such as CPU, memory, disk capacity, network bandwidth, etc., and then performs analysis and conversion to obtain a score table including service scores. The service score in the score table is important information of resource allocation and service initialization of the resource pool, and can be used as a service pressure condition reference of the hybrid cloud.
The resource scheduling in the mixed cloud scene refers to scheduling of computer resources (such as cloud hosts), and scheduling and transmission of the resources are performed through a network channel according to a certain scheduling strategy. In the embodiment of the invention, based on the service score and the preset corresponding relation, the control module can realize reasonable allocation of cloud resources and realize rapid capacity expansion of the hybrid cloud. Illustratively, table 2 shows a table of business score and control module resource allocation control actions according to an embodiment of the present invention.
TABLE 2
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 5, a block diagram of a hybrid cloud rapid expansion device according to the present invention is shown, specifically, the hybrid cloud rapid expansion device 50 includes a buffer preheating device 500, and the buffer preheating device 500 may include the following modules:
A monitoring module 5001, configured to monitor a first resource water level of the private cloud resource pool and a second resource water level of the buffer resource pool;
A control module 5002, configured to calculate a service score of the private cloud resource pool based on the first resource water level, the second resource water level, and a historical resource water level of the private cloud resource pool;
The control module 5002 is further configured to obtain cloud resources from the public cloud resource pool to a buffer resource pool and preheat the cloud resources in the buffer resource pool to obtain target cloud resources when the service score is less than a first preset threshold;
The control module 5002 is further configured to add the target cloud resource in the buffer resource pool to a private cloud resource pool if the service score is less than a second preset threshold.
In summary, the hybrid cloud rapid capacity expansion device provided by the embodiment of the invention monitors a first resource water level of a private cloud resource pool and a second resource water level of a buffer resource pool, calculates a service score of the private cloud resource pool based on the first resource water level, the second resource water level and a historical resource water level of the private cloud resource pool, acquires cloud resources from a public cloud resource pool to the buffer resource pool when the service score is smaller than a first preset threshold, and preheats the cloud resources in the buffer resource pool to obtain target cloud resources, and adds the target cloud resources in the buffer resource pool to the private cloud resource pool when the service score is smaller than a second preset threshold. According to the embodiment of the invention, the demand degree of the private cloud resource pool for cloud resources is represented by calculating the service score, when the demand degree is higher, cloud resources are obtained from public cloud into the buffer resource pool and are preheated to obtain target cloud resources, when the private cloud resources are insufficient, the preheated target cloud resources in the buffer resource pool can be directly added to the running service in the private cloud, so that the rapid capacity expansion in a mixed cloud scene is realized, and the sudden demand of high user access can be rapidly met.
Optionally, the control module 5002 is specifically configured to:
determining a resource water level variation of the private cloud resource pool based on the first resource water level and the historical resource water level;
determining the resource water level change amplitude of the private cloud resource pool according to the first resource water level and the resource water level change quantity;
weighting is carried out on the resource water level change amplitude to obtain a weighted score of the private cloud resource pool;
and multiplying the weighted score with the second resource water level to obtain the service score.
Optionally, the apparatus 500 is further configured to:
Confirming a target resource water level corresponding to the service score in a preset corresponding relation based on the service score, wherein the preset corresponding relation is the corresponding relation between the service score and the target resource water level;
and maintaining the resource water level of the buffer resource pool at the target resource water level.
Optionally, the control module 5002 is further specifically configured to:
calling an external interface of the public cloud resource pool;
based on the external interface, cloud resources are obtained from the public cloud resource pool to a buffer resource pool, and a preheating environment for the cloud resources is initialized in the buffer resource pool;
And deploying service resources in the cloud resources to obtain the target cloud resources.
Optionally, the apparatus 500 is further configured to:
And sending the resource water level information and the service capacity expansion information to display equipment through an application program interface so that the display equipment displays the resource water level information and the service capacity expansion information, wherein the resource water level information comprises the first resource water level and the second resource water level, the service capacity expansion information comprises the related information of the target cloud resource, and the display equipment can be used as a display module to be included in the buffer preheating device 500.
Optionally, the monitoring module 5001 is further configured to monitor a third resource water level of the public cloud resource pool;
the display module is further configured to display preset alarm information when the third resource water level is less than a third preset threshold.
Optionally, the embodiment of the invention also provides a rapid capacity expansion system of the hybrid cloud, which comprises a private cloud resource pool, a public cloud resource pool and a buffer preheating device, wherein the buffer preheating device comprises a buffer resource pool,
The buffer preheating device is used for monitoring a first resource water level of the private cloud resource pool and a second resource water level of the buffer resource pool;
The buffer preheating device is used for acquiring cloud resources from a public cloud resource pool to a buffer resource pool and preheating the cloud resources in the buffer resource pool to obtain target cloud resources under the condition that the service score is smaller than a first preset threshold value;
And the buffer preheating device is used for adding the target cloud resources in the buffer resource pool to the private cloud resource pool under the condition that the service score is smaller than a second preset threshold value.
The hybrid cloud rapid capacity expansion system can realize the processes of the hybrid cloud rapid capacity expansion method embodiment, can achieve the same technical effects, and is not repeated here for avoiding repetition.
Optionally, the embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program when executed by the processor implements each process of the embodiment of the hybrid cloud rapid capacity expansion method, and the same technical effect can be achieved, so that repetition is avoided, and no further description is given here.
Optionally, the embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor implements each process of the embodiment of the hybrid cloud rapid capacity expansion method, and the same technical effect can be achieved, so that repetition is avoided, and details are not repeated here.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be readily apparent to those skilled in the art that any combination of the above embodiments is possible and is thus an embodiment of the present invention, but the present description is not limited to the details given herein.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.

Claims (9)

1. The method for rapidly expanding the volume of the mixed cloud is characterized by comprising the following steps of:
Monitoring a first resource water level of the private cloud resource pool and a second resource water level of the buffer resource pool;
calculating a business score of the private cloud resource pool based on the first resource water level, the second resource water level, and the historical resource water level of the private cloud resource pool;
under the condition that the service score is smaller than a first preset threshold value, cloud resources are obtained from a public cloud resource pool to a buffer resource pool, and the cloud resources are preheated in the buffer resource pool to obtain target cloud resources;
Under the condition that the service score is smaller than a second preset threshold value, adding the target cloud resources in the buffer resource pool into the private cloud resource pool;
the business score is used for representing the demand degree of the private cloud resource pool for the expansion of the cloud resources;
The calculating the service score of the private cloud resource pool comprises the following steps:
determining a resource water level variation of the private cloud resource pool based on the first resource water level and the historical resource water level;
determining the resource water level change amplitude of the private cloud resource pool according to the first resource water level and the resource water level change quantity;
weighting is carried out on the resource water level change amplitude to obtain a weighted score of the private cloud resource pool;
and multiplying the weighted score with the second resource water level to obtain the service score.
2. The method of claim 1, wherein after the calculating the business score for the private cloud resource pool, the method further comprises:
based on the service score, confirming a target resource water level corresponding to the service score in a preset corresponding relation;
and maintaining the resource water level of the buffer resource pool at the target resource water level.
3. The method of claim 1, wherein the obtaining cloud resources from a public cloud resource pool to a buffer resource pool, and preheating the cloud resources in the buffer resource pool to obtain target cloud resources, comprises:
calling an external interface of the public cloud resource pool;
based on the external interface, cloud resources are obtained from the public cloud resource pool to a buffer resource pool, and a preheating environment for the cloud resources is initialized in the buffer resource pool;
And deploying service resources in the cloud resources to obtain the target cloud resources.
4. The method according to claim 1, wherein the method further comprises:
And sending the resource water level information and the service capacity expansion information to display equipment through an application program interface so that the display equipment displays the resource water level information and the service capacity expansion information, wherein the resource water level information comprises the first resource water level and the second resource water level, and the service capacity expansion information comprises relevant information of the target cloud resource.
5. The method according to claim 1, wherein the method further comprises:
monitoring a third resource water level of the public cloud resource pool;
And displaying preset alarm information under the condition that the third resource water level is smaller than a third preset threshold value.
6. The utility model provides a mix quick dilatation device of cloud, its characterized in that, mix quick dilatation device of cloud includes buffering preheating device, buffering preheating device includes:
the monitoring module is used for monitoring the first resource water level of the private cloud resource pool and the second resource water level of the buffer resource pool;
the control module is used for calculating the service score of the private cloud resource pool based on the first resource water level, the second resource water level and the historical resource water level of the private cloud resource pool;
the control module is further configured to obtain cloud resources from a public cloud resource pool to a buffer resource pool and preheat the cloud resources in the buffer resource pool to obtain target cloud resources when the service score is smaller than a first preset threshold;
The control module is further configured to add the target cloud resources in the buffer resource pool to a private cloud resource pool when the service score is less than a second preset threshold;
the business score is used for representing the demand degree of the private cloud resource pool for the expansion of the cloud resources;
The calculating the service score of the private cloud resource pool comprises the following steps:
determining a resource water level variation of the private cloud resource pool based on the first resource water level and the historical resource water level;
determining the resource water level change amplitude of the private cloud resource pool according to the first resource water level and the resource water level change quantity;
weighting is carried out on the resource water level change amplitude to obtain a weighted score of the private cloud resource pool;
and multiplying the weighted score with the second resource water level to obtain the service score.
7. The mixed cloud rapid capacity expansion system is characterized by comprising a private cloud resource pool, a public cloud resource pool and a buffer preheating device, wherein the buffer preheating device comprises a buffer resource pool;
The buffer preheating device is used for monitoring a first resource water level of the private cloud resource pool and a second resource water level of the buffer resource pool;
The buffer preheating device is used for calculating a service score of the private cloud resource pool based on the first resource water level, the second resource water level and the historical resource water level of the private cloud resource pool;
the buffer preheating device is used for acquiring cloud resources from a public cloud resource pool to a buffer resource pool under the condition that the service score is smaller than a first preset threshold value, and preheating the cloud resources in the buffer resource pool to obtain target cloud resources;
The buffer preheating device is used for adding the target cloud resources in the buffer resource pool to a private cloud resource pool under the condition that the service score is smaller than a second preset threshold value;
the business score is used for representing the demand degree of the private cloud resource pool for the expansion of the cloud resources;
The calculating the service score of the private cloud resource pool comprises the following steps:
determining a resource water level variation of the private cloud resource pool based on the first resource water level and the historical resource water level;
determining the resource water level change amplitude of the private cloud resource pool according to the first resource water level and the resource water level change quantity;
weighting is carried out on the resource water level change amplitude to obtain a weighted score of the private cloud resource pool;
and multiplying the weighted score with the second resource water level to obtain the service score.
8. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program implementing the hybrid cloud flash expansion method of any of claims 1 to 5 when executed by the processor.
9. A computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, the computer program when executed by a processor implementing the hybrid cloud rapid expansion method according to any of claims 1 to 5.
CN202111470616.1A 2021-12-03 2021-12-03 Hybrid cloud rapid expansion method, device, system, electronic device and storage medium Active CN114253712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111470616.1A CN114253712B (en) 2021-12-03 2021-12-03 Hybrid cloud rapid expansion method, device, system, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111470616.1A CN114253712B (en) 2021-12-03 2021-12-03 Hybrid cloud rapid expansion method, device, system, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN114253712A CN114253712A (en) 2022-03-29
CN114253712B true CN114253712B (en) 2025-09-02

Family

ID=80791633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111470616.1A Active CN114253712B (en) 2021-12-03 2021-12-03 Hybrid cloud rapid expansion method, device, system, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114253712B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109412874A (en) * 2018-12-21 2019-03-01 腾讯科技(深圳)有限公司 Configuration method, device, server and the storage medium of device resource

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130205028A1 (en) * 2012-02-07 2013-08-08 Rackspace Us, Inc. Elastic, Massively Parallel Processing Data Warehouse
US9081610B2 (en) * 2012-06-18 2015-07-14 Hitachi, Ltd. Method and apparatus to maximize return on investment in hybrid cloud environment
US9058219B2 (en) * 2012-11-02 2015-06-16 Amazon Technologies, Inc. Custom resources in a resource stack
CN105471625B (en) * 2015-11-16 2018-09-21 杭州东信北邮信息技术有限公司 A kind of monitoring method and system of resource pool service health
CN107026877B (en) * 2016-01-29 2020-07-07 华为技术有限公司 Method and device for managing resources in cloud platform
CN106453132A (en) * 2016-12-14 2017-02-22 深圳市深信服电子科技有限公司 Dispatching method in hybrid cloud environment and flow control equipment
US10552221B2 (en) * 2016-12-16 2020-02-04 Turbonomic, Inc. Systems, apparatus and methods for managing resources in computer systems
CN106603438B (en) * 2016-12-21 2019-07-19 云南电网有限责任公司信息中心 A kind of mixed cloud utilization of resources based on cost and distribution appraisal procedure
JP6881575B2 (en) * 2017-05-30 2021-06-02 日本電気株式会社 Resource allocation systems, management equipment, methods and programs
CN110198356A (en) * 2019-06-10 2019-09-03 莫毓昌 A kind of user's request scheduling mechanism based on mixed cloud
CN111580977B (en) * 2020-05-12 2023-08-29 中国民航信息网络股份有限公司 Resource adjustment method and related equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109412874A (en) * 2018-12-21 2019-03-01 腾讯科技(深圳)有限公司 Configuration method, device, server and the storage medium of device resource

Also Published As

Publication number Publication date
CN114253712A (en) 2022-03-29

Similar Documents

Publication Publication Date Title
CN109918198B (en) Simulation cloud platform load scheduling system and method based on user characteristic prediction
CN104991854B (en) A kind of monitoring statisticss method and system of server resource
WO2021088207A1 (en) Mixed deployment-based job scheduling method and apparatus for cloud computing cluster, server and storage device
US10783002B1 (en) Cost determination of a service call
CN105051693B (en) Method, equipment and system for managing computer server capacity
CN108052384B (en) Task processing method, service platform and electronic equipment
CN103473115B (en) virtual machine placement method and device
WO2011104108A1 (en) Optimizing power consumption in a data center
CN107506241A (en) A kind of flexible method of cloud platform automatic elastic
CN106126338A (en) A kind of method and device of cluster virtual machine telescopic arrangement
CN114327846B (en) Cluster expansion method, device, electronic device and computer-readable storage medium
Khan et al. Clouds of small things: Provisioning infrastructure-as-a-service from within community networks
WO2021184724A1 (en) Method and apparatus and device for automatically adjusting timing backup operation initiation time, and medium
WO2018086467A1 (en) Method, apparatus and system for allocating resources of application clusters under cloud environment
CN107943579B (en) Resource bottleneck prediction method, device, system and readable storage medium
US20140136668A1 (en) Real-time self-optimizing system for multitenant based cloud infrastructure
US20170302588A1 (en) Method and apparatus for provisioning of resources to support applications and their varying demands
CN109257399A (en) Cloud platform application management method and management platform, storage medium
CN108488969A (en) Control method and control device for handpiece Water Chilling Units
CN119248473A (en) Computing resource allocation method, device, medium and program product
CN110875838B (en) Resource deployment method, device and storage medium
CN117675566A (en) Resource quota allocation method and device, storage medium and electronic equipment
CN114253712B (en) Hybrid cloud rapid expansion method, device, system, electronic device and storage medium
CN110147315A (en) Concurrency performance test method, device, computer equipment and storage medium
CN114399146A (en) Data center load demand response potential evaluation method, system, equipment and 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