[go: up one dir, main page]

CN110138883A - Mixed cloud resource allocation methods and device - Google Patents

Mixed cloud resource allocation methods and device Download PDF

Info

Publication number
CN110138883A
CN110138883A CN201910498617.3A CN201910498617A CN110138883A CN 110138883 A CN110138883 A CN 110138883A CN 201910498617 A CN201910498617 A CN 201910498617A CN 110138883 A CN110138883 A CN 110138883A
Authority
CN
China
Prior art keywords
cloud resource
type
cloud
utilization rate
request end
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.)
Granted
Application number
CN201910498617.3A
Other languages
Chinese (zh)
Other versions
CN110138883B (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.)
Beijing Basipingyun Technology Co Ltd
Original Assignee
Beijing Basipingyun 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 Beijing Basipingyun Technology Co Ltd filed Critical Beijing Basipingyun Technology Co Ltd
Priority to CN201910498617.3A priority Critical patent/CN110138883B/en
Publication of CN110138883A publication Critical patent/CN110138883A/en
Application granted granted Critical
Publication of CN110138883B publication Critical patent/CN110138883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

This application provides a kind of mixed cloud resource allocation methods and devices, this method comprises: the corresponding current cloud resource use information of every kind cloud resource type of the acquisition request end under a variety of cloud resource types;For every kind of cloud resource type, it is based on the corresponding current cloud resource use information of the cloud resource type, determines the utilization rate of the corresponding current cloud resource of this kind of cloud resource type;Based on the utilization rate of the determining corresponding current cloud resource of various cloud resource types, and preset standard utilization rate range, adjust cloud resource of the request end under various cloud resource types, using the corresponding cloud resource adjusted of various cloud resource types as the corresponding current cloud resource of various cloud resource types, the step of executing the utilization rate for determining the corresponding current cloud resource of this kind of cloud resource type is returned to, the cloud resource after the corresponding final adjustment of various cloud resource types meets the use condition of the request end.

Description

Mixed cloud resource allocation methods and device
Technical field
This application involves information technology fields, in particular to a kind of mixed cloud resource allocation methods and device.
Background technique
Information technology (Information Technology, IT) management and production efficiency are improved using cloud computing technology It has been be rooted in the hearts of the people that, more and more enterprises have used cloud computing technology, and have a large amount of enterprise's selection to use multiple clouds Environment (public clouds and private clound of multiple brands), under cloudy scene, various resource datas are dispersed in each platform, then, Efficiently, adequately become enterprise's urgent problem using cloud resource.
Enterprise is when buying cloud resource, generally by the demand of calculating itself, volume on the basis of meeting self-demand Outer more purchase part cloud resources, and a small part cloud resource may be used only during actually using cloud resource in enterprise, this Sample causes a large amount of cloud resource to waste.
Summary of the invention
In view of this, the application's is designed to provide a kind of mixed cloud resource allocation methods and device, to improve cloud money The utilization rate in source.
In a first aspect, the embodiment of the present application provides a kind of mixed cloud resource allocation methods, this method comprises:
It is corresponding to obtain every kind cloud resource type of the request end for initiating resource adjustment request under a variety of cloud resource types Current cloud resource use information;
For every kind of cloud resource type, it is based on the corresponding current cloud resource use information of the cloud resource type, determines this kind The utilization rate of the corresponding current cloud resource of cloud resource type;
Based on the utilization rate and preset a variety of cloud resources of the determining corresponding current cloud resource of various cloud resource types The corresponding standard utilization rate range of every kind of cloud resource type under type, adjusts the request end under various cloud resource types Cloud resource is provided the corresponding cloud resource adjusted of various cloud resource types as the corresponding current cloud of various cloud resource types Source returns and is directed to every kind of cloud resource type described in executing, and is based on the corresponding current cloud resource use information of the cloud resource type, really The step of utilization rate of the fixed corresponding current cloud resource of this kind of cloud resource type, until the corresponding final tune of various cloud resource types Cloud resource after whole meets the use condition of the request end.
Optionally, described to be based on the corresponding current cloud resource use information of the cloud resource type, determine this kind of cloud resource class The utilization rate of the corresponding current cloud resource of type, comprising:
By the corresponding current cloud resource usage amount of the cloud resource type current cloud money corresponding with the cloud resource type Utilization rate of the ratio of the cloud resource total amount in source as the current cloud resource under the cloud resource type.
Optionally, the utilization rate based on the determining corresponding current cloud resource of various cloud resource types, and it is default A variety of cloud resource types under the corresponding standard utilization rate range of every kind of cloud resource type, adjust the request end in various clouds Cloud resource under resource type, comprising:
For every kind of cloud resource type, if the utilization rate of the corresponding current cloud resource of this kind of cloud resource type is lower than corresponding cloud The cloud money that the corresponding preset standard utilization rate range of resource type is then request end distribution under this kind of cloud resource type Source;
If it is corresponding default that the utilization rate of the corresponding current cloud resource of this kind of cloud resource type is higher than corresponding cloud resource type Standard utilization rate range then reduces cloud resource of the request end under this kind of cloud resource type.
It is optionally, described to distribute the cloud resource under this kind of cloud resource type for the request end, comprising:
According to the corresponding default cloud resource of the cloud resource type, it is corresponding that the cloud resource type is distributed for the request end Cloud resource;
The cloud resource that the request end is reduced under this kind of cloud resource type, comprising:
According to the corresponding adjustment ratio of the cloud resource type, cloud of the request end under this kind of cloud resource type is reduced Resource.
Optionally, the method also includes:
The resource value information of cloud resource after determining the corresponding final adjustment of various cloud resource types, and by determining money Source value information is pushed to the request end.
Second aspect, the embodiment of the present application provide a kind of mixed cloud resource allocation device, which includes:
Module is obtained, for obtaining every kind cloud money of the request end for initiating resource adjustment request under a variety of cloud resource types The corresponding current cloud resource use information of Source Type;
Utilization rate determining module, for being directed to every kind of cloud resource type, based on the corresponding current cloud money of the cloud resource type Source use information determines the utilization rate of the corresponding current cloud resource of this kind of cloud resource type;
Cloud resource distribution module, for the utilization rate based on the determining corresponding current cloud resource of various cloud resource types, And the corresponding standard utilization rate range of every kind of cloud resource type under preset a variety of cloud resource types, adjust the request end Cloud resource under various cloud resource types, using the corresponding cloud resource adjusted of various cloud resource types as various cloud resources The corresponding current cloud resource of type, return execute it is described be directed to every kind of cloud resource type, based on this, cloud resource type is corresponding works as Preceding cloud resource use information, the step of determining the utilization rate of the corresponding current cloud resource of this kind of cloud resource type, until various clouds Cloud resource after the corresponding final adjustment of resource type meets the use condition of the request end.
Optionally, the utilization rate determining module is specifically used for:
By the corresponding current cloud resource usage amount of the cloud resource type current cloud money corresponding with the cloud resource type Utilization rate of the ratio of the cloud resource total amount in source as the current cloud resource under the cloud resource type.
Optionally, the cloud resource distribution module is specifically used for:
For every kind of cloud resource type, if the utilization rate of the corresponding current cloud resource of this kind of cloud resource type is lower than corresponding cloud The cloud money that the corresponding preset standard utilization rate range of resource type is then request end distribution under this kind of cloud resource type Source;
If it is corresponding default that the utilization rate of the corresponding current cloud resource of this kind of cloud resource type is higher than corresponding cloud resource type Standard utilization rate range then reduces cloud resource of the request end under this kind of cloud resource type.
The third aspect, the embodiment of the present application provide a kind of computer equipment, including memory, processor and are stored in institute The computer program that can be run on memory and on the processor is stated, the processor executes real when the computer program The step of existing above-mentioned mixed cloud resource allocation methods.
Fourth aspect, a kind of computer readable storage medium are stored with computer on the computer readable storage medium Program, which is characterized in that the computer program executes the step of above-mentioned mixed cloud resource allocation methods when being run by processor.
Mixed cloud resource allocation methods provided by the embodiments of the present application initiate asking for resource adjustment request by calculating in real time The utilization rate for holding the corresponding current cloud resource of every kind of cloud resource type under a variety of cloud resource types is sought, so that adjustment is asked in real time The cloud resource held under various cloud resource types is sought, the cloud resource after the corresponding final adjustment of various cloud resource types meets The use condition of request end improves the benefit of the resource of distribution in this way, reducing the wasting of resources of request end in use With rate.
In this way, the accuracy that trip service platform is the destination that request end is recommended is improved, so that trip service platform The demand that request end can be better met improves the service quality of trip service platform.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of flow diagram of mixed cloud resource allocation methods provided by the embodiments of the present application;
Fig. 2 shows a kind of the first structural schematic diagrams of mixed cloud resource allocation device provided by the embodiments of the present application;
Fig. 3 shows a kind of second of structural schematic diagram of mixed cloud resource allocation device provided by the embodiments of the present application;
Fig. 4 shows a kind of structural schematic diagram of computer equipment provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it should be understood that attached drawing in the application The purpose of illustration and description is only played, is not used to limit the protection scope of the application.In addition, it will be appreciated that schematical attached Figure does not press scale.Process used herein shows the behaviour realized according to some embodiments of the present application Make.It should be understood that the operation of flow chart can be realized out of order, the step of context relation of logic can not inverted suitable Sequence is implemented simultaneously.In addition, those skilled in the art are under the guide of teachings herein, can be added to flow chart one or Other multiple operations, can also remove one or more operations from flow chart.
In addition, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually exist The component of the embodiment of the present application described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed the application's to the detailed description of the embodiments herein provided in the accompanying drawings below Range, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not being done Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
Currently, enterprise when buying cloud resource, can generally select multiple cloud resources (to can be public cloud, can be privately owned Cloud), when using cloudy resource, the data of different cloud resources are dispersed in different platforms, and enterprise needs through adaptation access The open applications Program Interfaces (Application Programming Interface, API) of cloudy resource, will divide Scattered cloud resource (public cloud and/or private clound) is put together, so that the purpose of enterprises service is embodied as, in the cloud for concentrating dispersion When resource, demand of each department of enterprise generally by calculating itself, additional more purchases on the basis of meeting self-demand Part cloud resource is bought, still, which may be used only a small part cloud resource during actually using cloud resource, in this way, A large amount of cloud resource is caused to waste.
For ease of description, the application by calculating the request end for initiating resource adjustment request in a variety of cloud resources in real time The utilization rate of the corresponding current cloud resource of every kind of cloud resource type under type, so that adjustment request end is in various cloud resources in real time Cloud resource under type, the cloud resource after the corresponding final adjustment of various cloud resource types meet the use item of request end Part reduces the cost of purchase cloud resource in this way, reducing the wasting of resources of request end in use.
The embodiment of the present application provides a kind of mixed cloud resource allocation methods, as shown in Fig. 2, this method is applied to resource pipe In the server of platform, this method specifically includes the following steps:
S101 obtains every kind cloud resource type pair of the request end for initiating resource adjustment request under a variety of cloud resource types The current cloud resource use information answered.
Here, request end can be but not limited to mobile terminal, computer equipment etc., and the cloud resource that the application is directed to is general To mix cloud resource, which includes public cloud and private clound, and cloud resource type characterizes processing possessed by cloud resource Function, cloud resource type can be to calculate cloud, network cloud, database cloud or storage cloud etc., and every medium cloud resource type can correspond to Multiple cloud resources, the quantity of the different corresponding cloud resources of cloud resource type is different, and the cloud resource of same cloud resource type can be with It is the cloud resource of same manufacturer, is also possible to the cloud resource of different vendor, can be determined according to the demand of request end;Current cloud money Source use information is usage amount of the request end to current cloud resource, and for different cloud resource types, current cloud resource uses letter Breath is different, for example, the usage amount of current cloud resource can be 20G when cloud resource is memory space, when cloud resource is bandwidth, when The usage amount of preceding cloud resource can be 20M, and the application different one illustrates.
The attribute information of cloud resource is stored in database, attribute information includes cloud resource mark, cloud resource title, Yun Zi Source Type, unit cloud resource value, use cloud resource at the beginning of, used using end time of cloud resource, cloud resource Information etc., due to the cloud resource of acquisition attribute information when, may for the same cloud resource mark cloud resource use when Between it is different, cause the same cloud resource to correspond to a plurality of usage record, therefore, in order to reduce the data volume of database purchase, in number When storing the attribute information of cloud resource according to library, corresponding cloud resource use information can be identified for same cloud resource and be integrated Processing, in this way, same cloud resource, which identifies corresponding cloud resource use information, can be merged into a record, for example, cloud resource identifies For A, the cloud resource use information of corresponding T1 time is W1, and the cloud resource use information of T2 time is W2, the cloud resource of T3 time Use information is W3, then the corresponding cloud resource use information of cloud resource mark A is W1+W2+W3.Wherein, current cloud resource uses Information can be to be obtained from database, is also possible to the request end acquired in real time to the use information of cloud resource, the application This is not limited.
S102 is based on the corresponding current cloud resource use information of the cloud resource type for every kind of cloud resource type, determines The utilization rate of the corresponding current cloud resource of this kind of cloud resource type.
Here, the ratio that utilization rate characterization cloud resource requested end utilizes, the ratio is bigger, and characterization cloud resource is utilized Ratio is bigger.
Specifically, by the corresponding current cloud resource usage amount of cloud resource type current cloud corresponding with the cloud resource type Utilization rate of the ratio of the cloud resource total amount of resource as the current cloud resource under the cloud resource type;Wherein, current cloud money Source usage amount can be request end currently to the usage amount of cloud resource, or, for every kind of cloud resource type, statistics request The corresponding cloud resource usage amount under this kind of cloud resource type, the cloud for calculating historical time section provide daily in historical time section at end The average value of source usage amount, using the average value as current cloud resource usage amount, historical time section is that request end sends request It is continuous several days between time, 7 days generally continuous.
In the specific implementation process, for every kind of cloud resource type, the corresponding current cloud resource of the cloud resource type is calculated The ratio of the cloud resource total amount of usage amount current cloud resource corresponding with the cloud resource type, using the ratio as this kind of cloud resource The utilization rate of the corresponding current cloud resource of type.
For example, cloud resource can be storage content, the cloud resource of current cloud resource when cloud resource type is computing resource Total amount is 500G, and the cloud resource that request end utilizes is 200G, then the utilization rate of computing resource is 200/500=40%.
S103, utilization rate based on the determining corresponding current cloud resource of various cloud resource types and preset a variety of The corresponding standard utilization rate range of every kind of cloud resource type under cloud resource type, adjusts the request end in various cloud resource classes Cloud resource under type, it is corresponding current using the corresponding cloud resource adjusted of various cloud resource types as various cloud resource types Cloud resource returns and is directed to every kind of cloud resource type described in executing, and uses letter based on the corresponding current cloud resource of the cloud resource type The step of ceasing, determining the utilization rate of the corresponding current cloud resource of this kind of cloud resource type, until various cloud resource types are corresponding Cloud resource after final adjustment meets the use condition of the request end.
Here, standard utilization rate range characterization can satisfy the range of the utilization rate of the use condition of request end, and standard makes It can be determines according to actual conditions with rate range;Meet request end to the process demand of task, request end executes different tasks Different to the process demand of cloud resource, the cloud resource that utilization rate is higher than the request end actual demand of standard utilization rate Range Representation is greater than The cloud resource of request end is distributed to, utilization rate is less than lower than the cloud resource of standard utilization rate Range Representation request end actual use and divides The cloud resource of dispensing request end;It, can be by distributing new cloud resource for request end or reducing request end when adjusting cloud resource Current cloud resource realize adjustment to resource, by repeatedly adjusting so that finally distributing to the cloud resource of request end can satisfy The use condition of request end.
In the pre-existing database of standard utilization rate range, each cloud resource mark is corresponding with a standard utilization rate model It encloses, after getting the corresponding current cloud resource use information of every kind of cloud resource type and determining the utilization rate of current cloud resource, Based under the utilization rate and preset a variety of cloud resource types of the determining corresponding current cloud resource of various cloud resource types The corresponding standard utilization rate range of every kind of cloud resource type adjusts cloud resource of the request end under various cloud resource types When, comprising the following steps:
For every kind of cloud resource type, if the utilization rate of the corresponding current cloud resource of this kind of cloud resource type is lower than corresponding cloud The cloud money that the corresponding preset standard utilization rate range of resource type is then request end distribution under this kind of cloud resource type Source;
It is described to distribute the cloud resource under this kind of cloud resource type for the request end, comprising:
According to the corresponding default cloud resource of the cloud resource type, it is corresponding that the cloud resource type is distributed for the request end Cloud resource;
If it is corresponding default that the utilization rate of the corresponding current cloud resource of this kind of cloud resource type is higher than corresponding cloud resource type Standard utilization rate range then reduces cloud resource of the request end under this kind of cloud resource type.
The cloud resource that the request end is reduced under this kind of cloud resource type, comprising:
According to the corresponding adjustment ratio of the cloud resource type, cloud of the request end under this kind of cloud resource type is reduced Resource.
Wherein, different, the different corresponding adjustment of cloud resource type of the corresponding default cloud resource of different cloud resource types Ratio is different, and default cloud resource and adjustment ratio are that preset cloud resource presets cloud resource.
In the specific implementation process, for every kind of cloud resource type, it is corresponding to this kind of cloud resource type to compare request end The utilization rate prediction standard utilization rate range corresponding with this kind of cloud resource type of current cloud resource, if the use of current cloud resource Rate is lower than the corresponding prediction standard utilization rate range of this kind of cloud resource type, then calculates preset value and adjust the difference of ratio, should The ratio of cloud resource type current cloud resource usage amount and the difference subtracts using the ratio as the first cloud resource from the request end Corresponding first cloud resource of the cloud resource type is corresponded to less, is corresponded to if the utilization rate of current cloud resource is higher than this kind of cloud resource type Prediction standard utilization rate range, then default cloud money is subtracted from the corresponding corresponding cloud resource of cloud resource type in the request end Source does not adjust and works as if the utilization rate of current cloud resource belongs to the corresponding prediction standard utilization rate range of this kind of cloud resource type Preceding cloud resource.
For example, the computing resource for being currently assigned to request end is memory space when cloud resource type is to calculate cloud resource When 500G, presetting cloud resource is 50G, and adjustment ratio is 0.2, and standard utilization rate range is 0.5-0.8, if working as of using of request end When preceding computing resource is 200G, request end is 0.4 to the utilization rate of current computing resource, is less than standard utilization rate range, at this time Need to be reduced to the current computing resource of request end distribution, the first cloud resource is 500-500*0.4/ (1-0.2)=250, is being counted Calculate resource 500G on the basis of reduce 250, obtain current computing resource be 250, at this point, reacquire request end use it is current Computing resource, and the utilization rate at computation requests end again, until utilization rate fall into standard utilization rate hair in, if what request end used When current computing resource is 400G, request end is 0.9 to the utilization rate of current computing resource, which is greater than standard utilization rate It in hair, needs to distribute new computing resource for request end at this time, the computing resource after distribution is memory space 550G, at this point, weight The current computing resource that new acquisition request end uses, and the utilization rate at computation requests end again, make until utilization rate falls into standard In being sent out with rate.
After determining the cloud resource after the corresponding final adjustment of various cloud resource types, determine that various cloud resource types are corresponding Final adjustment after cloud resource resource value information, and determining resource value information is pushed to the request end.
Here, the value of resource value information representation cloud resource, the cloud resource after being worth higher characterization final adjustment is more, Resource value information can be obtained according to the total amount determination of the value and cloud resource of unit cloud resource.
In the specific implementation process, for every kind of cloud resource type, the corresponding unit cloud money of this kind of cloud resource type is calculated The product of the total amount of the value and cloud resource after final adjustment in source, it is corresponding final using the product as this kind of cloud resource type The resource value information of cloud resource adjusted, and determining resource value information is pushed to request end, in order to request end Based on determining resource value information.
For example, cloud resource type is computing resource, the value of unit cloud resource is Q, the cloud resource after final adjustment it is total Amount is T, then the resource value information of the cloud resource after final adjustment is Q × T.
Mixed cloud resource allocation methods provided by the embodiments of the present application initiate asking for resource adjustment request by calculating in real time The utilization rate for holding the corresponding current cloud resource of every kind of cloud resource type under a variety of cloud resource types is sought, so that adjustment is asked in real time The cloud resource held under various cloud resource types is sought, the cloud resource after the corresponding final adjustment of various cloud resource types meets The use condition of request end improves the benefit of the resource of distribution in this way, reducing the wasting of resources of request end in use With rate.
Based on the same inventive concept, information corresponding with mixed cloud resource allocation methods is additionally provided in the embodiment of the present application The device of push, the principle solved the problems, such as due to the device in the embodiment of the present application with the embodiment of the present application is above-mentioned mixes cloud resource Distribution method is similar, therefore the implementation of device may refer to the implementation of method, and overlaps will not be repeated.
It is a kind of schematic diagram of mixed cloud resource allocation device provided by the embodiments of the present application, the dress referring to shown in Fig. 2 It sets and includes:
Module 21 is obtained, for obtaining every kind cloud of the request end for initiating resource adjustment request under a variety of cloud resource types The corresponding current cloud resource use information of resource type;
Utilization rate determining module 22 is based on the corresponding current cloud of the cloud resource type for being directed to every kind of cloud resource type Resource using information determines the utilization rate of the corresponding current cloud resource of this kind of cloud resource type;
Cloud resource distribution module 23, for the use based on the determining corresponding current cloud resource of various cloud resource types Every kind of cloud resource type corresponding standard utilization rate range under rate and preset a variety of cloud resource types is asked described in adjustment The cloud resource held under various cloud resource types is sought, using the corresponding cloud resource adjusted of various cloud resource types as various clouds The corresponding current cloud resource of resource type returns and is directed to every kind of cloud resource type described in executing, corresponding based on the cloud resource type Current cloud resource use information, the step of determining the utilization rate of the corresponding current cloud resource of this kind of cloud resource type, until each Cloud resource after the corresponding final adjustment of kind cloud resource type meets the use condition of the request end.
Optionally, the utilization rate determining module 22 is specifically used for:
By the corresponding current cloud resource usage amount of the cloud resource type current cloud money corresponding with the cloud resource type Utilization rate of the ratio of the cloud resource total amount in source as the current cloud resource under the cloud resource type.
Optionally, the cloud resource distribution module 23 is specifically used for:
For every kind of cloud resource type, if the utilization rate of the corresponding current cloud resource of this kind of cloud resource type is lower than corresponding cloud The cloud money that the corresponding preset standard utilization rate range of resource type is then request end distribution under this kind of cloud resource type Source;
If it is corresponding default that the utilization rate of the corresponding current cloud resource of this kind of cloud resource type is higher than corresponding cloud resource type Standard utilization rate range then reduces cloud resource of the request end under this kind of cloud resource type.
Optionally, the cloud resource distribution module is specifically used for:
According to the corresponding default cloud resource of the cloud resource type, it is corresponding that the cloud resource type is distributed for the request end Cloud resource;
The cloud resource that the request end is reduced under this kind of cloud resource type, comprising:
According to the corresponding adjustment ratio of the cloud resource type, cloud of the request end under this kind of cloud resource type is reduced Resource.
It is a kind of schematic diagram of mixed cloud resource allocation device provided by the embodiments of the present application, with Fig. 2 referring to shown in Fig. 3 In device compare, the device further include: information determination module 24,
Information determination module 24, for determining the resource valence of the cloud resource after the corresponding final adjustment of various cloud resource types Value information, and determining resource value information is pushed to the request end.
Corresponding to the mixed cloud resource allocation methods in Fig. 1, the embodiment of the present application also provides a kind of computer equipments, such as Shown in Fig. 4, which includes memory 1000, processor 2000 and is stored on the memory 1000 and can be in the processor The computer program run on 2000, wherein above-mentioned processor 2000 realizes above-mentioned mixed cloud when executing above-mentioned computer program The step of resource allocation methods.
Specifically, above-mentioned memory 1000 and processor 2000 can be general memory and processor, not do here It is specific to limit, when the computer program of 2000 run memory 1000 of processor storage, it is able to carry out above-mentioned mixing cloud resource Distribution method solves the problems, such as that the utilization rate of cloud resource in the prior art is low, and the embodiment of the present application initiates money by calculating in real time The utilization rate of every kind cloud resource type corresponding current cloud resource of the request end of source adjustment request under a variety of cloud resource types, To cloud resource of the real-time adjustment request end under various cloud resource types, until the corresponding final adjustment of various cloud resource types Cloud resource afterwards meets the use condition of request end, in this way, reducing the wasting of resources of request end in use, improves The utilization rate of the resource of distribution.
Corresponding to the mixed cloud resource allocation methods in Fig. 1, computer-readable deposited the embodiment of the present application also provides a kind of Storage media is stored with computer program on the computer readable storage medium, execution when which is run by processor The step of above-mentioned mixed cloud resource allocation methods.
Specifically, which can be general storage medium, such as mobile disk, hard disk, on the storage medium Computer program when being run, be able to carry out above-mentioned mixed cloud resource allocation methods, solve cloud resource in the prior art and use The low problem of rate, the embodiment of the present application by calculating the request end for initiating resource adjustment request under a variety of cloud resource types in real time The corresponding current cloud resource of every kind of cloud resource type utilization rate, thus in real time adjustment request end under various cloud resource types Cloud resource, the cloud resource after the corresponding final adjustment of various cloud resource types meets the use condition of request end, in this way, Reduce the wasting of resources of request end in use, improves the utilization rate of the resource of distribution.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description With the specific work process of device, the corresponding process in embodiment of the method can be referred to, is repeated no more in the application.In the application In provided several embodiments, it should be understood that disclosed systems, devices and methods, it can be real by another way It is existing.The apparatus embodiments described above are merely exemplary, for example, the division of the module, only a kind of logic function It can divide, there may be another division manner in actual implementation, in another example, multiple module or components can combine or can collect At another system is arrived, or some features can be ignored or not executed.Another point, shown or discussed mutual coupling Conjunction or direct-coupling or communication connection can be the indirect coupling or communication connection by some communication interfaces, device or module, It can be electrical property, mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, the application Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words The form of product embodies, which is stored in a storage medium, including some instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the application State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk Etc. the various media that can store program code.
The above is only the protection scopes of the specific embodiment of the application, but the application to be not limited thereto, any to be familiar with Those skilled in the art within the technical scope of the present application, can easily think of the change or the replacement, and should all cover Within the protection scope of the application.Therefore, the protection scope of the application should be subject to the protection scope in claims.

Claims (10)

1. a kind of mixed cloud resource allocation methods, which is characterized in that this method comprises:
It is corresponding current to obtain every kind cloud resource type of the request end for initiating resource adjustment request under a variety of cloud resource types Cloud resource use information;
For every kind of cloud resource type, it is based on the corresponding current cloud resource use information of the cloud resource type, determines this kind of cloud money The utilization rate of the corresponding current cloud resource of Source Type;
Based on the utilization rate and preset a variety of cloud resource types of the determining corresponding current cloud resource of various cloud resource types Under the corresponding standard utilization rate range of every kind of cloud resource type, adjust the request end under various cloud resource types cloud money It is returned using the corresponding cloud resource adjusted of various cloud resource types as the corresponding current cloud resource of various cloud resource types in source It is directed to every kind of cloud resource type described in receipt row, is based on the corresponding current cloud resource use information of the cloud resource type, determining should The step of utilization rate of the corresponding current cloud resource of kind cloud resource type, after the corresponding final adjustment of various cloud resource types Cloud resource meet the use condition of the request end.
2. mixed cloud resource allocation methods as described in claim 1, which is characterized in that described corresponding based on the cloud resource type Current cloud resource use information, determine the utilization rate of the corresponding current cloud resource of this kind of cloud resource type, comprising:
By the corresponding current cloud resource usage amount of the cloud resource type current cloud resource corresponding with the cloud resource type Utilization rate of the ratio of cloud resource total amount as the current cloud resource under the cloud resource type.
3. mixed cloud resource allocation methods as described in claim 1, which is characterized in that described based on determining various cloud resources Every kind of cloud resource type under the utilization rate of the corresponding current cloud resource of type and preset a variety of cloud resource types is corresponding Standard utilization rate range adjusts cloud resource of the request end under various cloud resource types, comprising:
For every kind of cloud resource type, if the utilization rate of the corresponding current cloud resource of this kind of cloud resource type is lower than corresponding cloud resource The corresponding preset standard utilization rate range of type then distributes the cloud resource under this kind of cloud resource type for the request end;
If the utilization rate of the corresponding current cloud resource of this kind of cloud resource type is higher than the corresponding preset standard of corresponding cloud resource type Utilization rate range then reduces cloud resource of the request end under this kind of cloud resource type.
4. mixed cloud resource allocation methods as claimed in claim 3, which is characterized in that described to distribute for the request end at this Cloud resource under kind cloud resource type, comprising:
According to the corresponding default cloud resource of the cloud resource type, distribute the cloud resource type corresponding cloud for the request end Resource;
The cloud resource that the request end is reduced under this kind of cloud resource type, comprising:
According to the corresponding adjustment ratio of the cloud resource type, cloud money of the request end under this kind of cloud resource type is reduced Source.
5. mixed cloud resource allocation methods as described in claim 1, which is characterized in that the method also includes:
The resource value information of cloud resource after determining the corresponding final adjustment of various cloud resource types, and by determining resource valence Value information is pushed to the request end.
6. a kind of mixed cloud resource allocation device, which is characterized in that the device includes:
Module is obtained, for obtaining every kind cloud resource class of the request end for initiating resource adjustment request under a variety of cloud resource types The corresponding current cloud resource use information of type;
Utilization rate determining module is made for being directed to every kind of cloud resource type based on the corresponding current cloud resource of the cloud resource type With information, the utilization rate of the corresponding current cloud resource of this kind of cloud resource type is determined;
Cloud resource distribution module, for the utilization rate based on the determining corresponding current cloud resource of various cloud resource types, and The corresponding standard utilization rate range of every kind of cloud resource type under preset a variety of cloud resource types, adjusts the request end each Cloud resource under kind cloud resource type, using the corresponding cloud resource adjusted of various cloud resource types as various cloud resource types Corresponding current cloud resource returns and is directed to every kind of cloud resource type described in executing, and is based on the corresponding current cloud of the cloud resource type Resource using information, the step of determining the utilization rate of the corresponding current cloud resource of this kind of cloud resource type, until various cloud resources Cloud resource after the corresponding final adjustment of type meets the use condition of the request end.
7. mixed cloud resource allocation device as claimed in claim 6, which is characterized in that the utilization rate determining module is specifically used In:
By the corresponding current cloud resource usage amount of the cloud resource type current cloud resource corresponding with the cloud resource type Utilization rate of the ratio of cloud resource total amount as the current cloud resource under the cloud resource type.
8. mixed cloud resource allocation device as claimed in claim 6, which is characterized in that the cloud resource distribution module is specifically used In:
For every kind of cloud resource type, if the utilization rate of the corresponding current cloud resource of this kind of cloud resource type is lower than corresponding cloud resource The corresponding preset standard utilization rate range of type then distributes the cloud resource under this kind of cloud resource type for the request end;
If the utilization rate of the corresponding current cloud resource of this kind of cloud resource type is higher than the corresponding preset standard of corresponding cloud resource type Utilization rate range then reduces cloud resource of the request end under this kind of cloud resource type.
9. a kind of computer equipment, including memory, processor and it is stored on the memory and can be on the processor The computer program of operation, which is characterized in that the processor realized when executing the computer program the claims 1 to The step of 5 described in any item mixed cloud resource allocation methods.
10. a kind of computer readable storage medium, computer program, feature are stored on the computer readable storage medium It is, the described in any item mixing cloud resources of the claims 1 to 5 point is executed when the computer program is run by processor The step of method of completing the square.
CN201910498617.3A 2019-06-10 2019-06-10 Hybrid cloud resource allocation method and device Active CN110138883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910498617.3A CN110138883B (en) 2019-06-10 2019-06-10 Hybrid cloud resource allocation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910498617.3A CN110138883B (en) 2019-06-10 2019-06-10 Hybrid cloud resource allocation method and device

Publications (2)

Publication Number Publication Date
CN110138883A true CN110138883A (en) 2019-08-16
CN110138883B CN110138883B (en) 2021-08-31

Family

ID=67581033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910498617.3A Active CN110138883B (en) 2019-06-10 2019-06-10 Hybrid cloud resource allocation method and device

Country Status (1)

Country Link
CN (1) CN110138883B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110719320A (en) * 2019-09-18 2020-01-21 上海联蔚信息科技有限公司 Method and equipment for generating public cloud configuration adjustment information
CN110719325A (en) * 2019-09-30 2020-01-21 恩亿科(北京)数据科技有限公司 Method and device for responding to user request
CN111143800A (en) * 2019-12-31 2020-05-12 北京华胜天成科技股份有限公司 Cloud computing resource management method, device, equipment and storage medium
CN111385150A (en) * 2020-03-09 2020-07-07 北京百度网讯科技有限公司 Method and apparatus for obtaining information
CN112887228A (en) * 2019-11-29 2021-06-01 阿里巴巴集团控股有限公司 Cloud resource management method and device, electronic equipment and computer readable storage medium
CN115086331A (en) * 2022-07-20 2022-09-20 阿里巴巴(中国)有限公司 Cloud equipment scheduling method, device and system, electronic equipment and storage medium
CN115080220A (en) * 2021-03-15 2022-09-20 中国联合网络通信集团有限公司 Cloud resource allocation method and equipment
CN115242626A (en) * 2022-07-21 2022-10-25 中国建设银行股份有限公司 Cloud resource allocation estimation method, device, equipment, storage medium and program product

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369038A (en) * 2013-07-03 2013-10-23 中国联合网络通信集团有限公司 PaaS (platform as a service) management platform and method
CN103677957A (en) * 2013-12-13 2014-03-26 重庆邮电大学 Cloud-data-center high-energy-efficiency virtual machine placement method based on multiple resources
CN103810023A (en) * 2014-03-06 2014-05-21 中国科学院信息工程研究所 Distributed application intelligent deployment method and system in cloud platform
CN105940659A (en) * 2014-02-05 2016-09-14 华为技术有限公司 Virtual resource mapping mechanism
CN106790368A (en) * 2016-11-17 2017-05-31 北京奇艺世纪科技有限公司 Resource regulating method and device in a kind of distributed system
WO2017166654A1 (en) * 2016-03-31 2017-10-05 乐视控股(北京)有限公司 Resource management method and device
CN108427604A (en) * 2018-02-06 2018-08-21 华为技术有限公司 Resource adjusting method, device and the cloud platform of cluster
WO2018200160A1 (en) * 2017-04-27 2018-11-01 Microsoft Technology Licensing, Llc Pluggable autoscaling systems and methods using a common set of scale protocols for a cloud network
US10135755B1 (en) * 2016-09-22 2018-11-20 EMC IP Holding Company LLC Information technology infrastructure discovery utilizing discovery adapters
CN109324886A (en) * 2018-09-14 2019-02-12 中国人民解放军国防科技大学 Cluster resource scheduling method and device
CN109684073A (en) * 2018-10-26 2019-04-26 平安科技(深圳)有限公司 Electronic device, cloud service resource allocation methods and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369038A (en) * 2013-07-03 2013-10-23 中国联合网络通信集团有限公司 PaaS (platform as a service) management platform and method
CN103677957A (en) * 2013-12-13 2014-03-26 重庆邮电大学 Cloud-data-center high-energy-efficiency virtual machine placement method based on multiple resources
CN105940659A (en) * 2014-02-05 2016-09-14 华为技术有限公司 Virtual resource mapping mechanism
CN103810023A (en) * 2014-03-06 2014-05-21 中国科学院信息工程研究所 Distributed application intelligent deployment method and system in cloud platform
WO2017166654A1 (en) * 2016-03-31 2017-10-05 乐视控股(北京)有限公司 Resource management method and device
US10135755B1 (en) * 2016-09-22 2018-11-20 EMC IP Holding Company LLC Information technology infrastructure discovery utilizing discovery adapters
CN106790368A (en) * 2016-11-17 2017-05-31 北京奇艺世纪科技有限公司 Resource regulating method and device in a kind of distributed system
WO2018200160A1 (en) * 2017-04-27 2018-11-01 Microsoft Technology Licensing, Llc Pluggable autoscaling systems and methods using a common set of scale protocols for a cloud network
CN108427604A (en) * 2018-02-06 2018-08-21 华为技术有限公司 Resource adjusting method, device and the cloud platform of cluster
CN109324886A (en) * 2018-09-14 2019-02-12 中国人民解放军国防科技大学 Cluster resource scheduling method and device
CN109684073A (en) * 2018-10-26 2019-04-26 平安科技(深圳)有限公司 Electronic device, cloud service resource allocation methods and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JALAL KHAMSE-ASHARI: "《An Efficient and Fair Multi-Resource Allocation Mechanism for Heterogeneous Servers》", 《 IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS》 *
YONG MENG TEO: "《A Strategy-proof Pricing Scheme for Multiple Resource Type Allocations》", 《2009 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING》 *
马良: "《IAAS云计算平台中资源管理和调度技术的研究》", 《中国优秀硕士学位论文全文数据库-信息科技辑》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110719320A (en) * 2019-09-18 2020-01-21 上海联蔚信息科技有限公司 Method and equipment for generating public cloud configuration adjustment information
CN110719320B (en) * 2019-09-18 2022-05-27 上海联蔚数字科技集团股份有限公司 Method and equipment for generating public cloud configuration adjustment information
CN110719325A (en) * 2019-09-30 2020-01-21 恩亿科(北京)数据科技有限公司 Method and device for responding to user request
CN112887228B (en) * 2019-11-29 2024-02-02 阿里巴巴集团控股有限公司 Cloud resource management method and device, electronic equipment and computer readable storage medium
CN112887228A (en) * 2019-11-29 2021-06-01 阿里巴巴集团控股有限公司 Cloud resource management method and device, electronic equipment and computer readable storage medium
WO2021104349A1 (en) * 2019-11-29 2021-06-03 阿里巴巴集团控股有限公司 Cloud resource management method and apparatus, and electronic device and computer readable storage medium
CN111143800A (en) * 2019-12-31 2020-05-12 北京华胜天成科技股份有限公司 Cloud computing resource management method, device, equipment and storage medium
CN111385150A (en) * 2020-03-09 2020-07-07 北京百度网讯科技有限公司 Method and apparatus for obtaining information
US11704157B2 (en) 2020-03-09 2023-07-18 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for comparing acquired cloud resource use information to thresholds to recommend a target cloud resource instance
CN115080220A (en) * 2021-03-15 2022-09-20 中国联合网络通信集团有限公司 Cloud resource allocation method and equipment
CN115086331A (en) * 2022-07-20 2022-09-20 阿里巴巴(中国)有限公司 Cloud equipment scheduling method, device and system, electronic equipment and storage medium
CN115086331B (en) * 2022-07-20 2024-06-07 阿里巴巴(中国)有限公司 Cloud equipment scheduling method, device and system, electronic equipment and storage medium
CN115242626A (en) * 2022-07-21 2022-10-25 中国建设银行股份有限公司 Cloud resource allocation estimation method, device, equipment, storage medium and program product
CN115242626B (en) * 2022-07-21 2024-04-05 中国建设银行股份有限公司 Cloud resource allocation prediction method, device, equipment, storage medium and program product

Also Published As

Publication number Publication date
CN110138883B (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN110138883A (en) Mixed cloud resource allocation methods and device
US8583799B2 (en) Dynamic cost model based resource scheduling in distributed compute farms
JP5289588B2 (en) Method and system for calculating charges online based on user service volume
US20210173719A1 (en) Dynamic autoscaler for cloud platform
WO2019024445A1 (en) Collaborative optimization method for geographic distribution interactive service cloud resource
CN103699445A (en) Task scheduling method, device and system
CN105897484A (en) Traffic management device, server and method
CN115421930B (en) Task processing method, system, device, equipment and computer readable storage medium
CN110502321A (en) A kind of resource regulating method and system
CN104038540A (en) Method and system for automatically selecting application proxy server
US20220121467A1 (en) A method and a system for managing the computing resources of a cloud computing platform
KR20170017049A (en) Cloud service broker and method thereof
Mitropoulou et al. Pricing cloud IaaS services based on a hedonic price index
CN109684077A (en) Resource dynamic allocation and feedback method and device for spark streaming
US9075832B2 (en) Tenant placement in multitenant databases for profit maximization
CN110149377A (en) A kind of video service node resource allocation methods, system, device and storage medium
CN105404549A (en) Yarn architecture-based virtual machine scheduling system
CN111988388B (en) Flow distribution method, device, electronic equipment and storage medium
CN110213450B (en) Multi-center-based sign language online customer service distribution management method, device and system
CN112667392B (en) Cloud computing resource allocation method and device, computer equipment and storage medium
Vanmechelen et al. A comparative analysis of single-unit vickrey auctions and commodity markets for realizing grid economies with dynamic pricing
CN113538081A (en) Mall order system and processing method for realizing resource adaptive scheduling
CN105872109A (en) Load running method of cloud platform
JP2009140079A (en) Resource operation management method, operation management program, and operation management device
US20150003238A1 (en) System and method for management and control of communication channels

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40006399

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant