CN106681825A - Resource allocation method and resource allocation device - Google Patents

Resource allocation method and resource allocation device Download PDF

Info

Publication number
CN106681825A
CN106681825A CN201510763354.6A CN201510763354A CN106681825A CN 106681825 A CN106681825 A CN 106681825A CN 201510763354 A CN201510763354 A CN 201510763354A CN 106681825 A CN106681825 A CN 106681825A
Authority
CN
China
Prior art keywords
business
resource
run
stock number
interval
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.)
Pending
Application number
CN201510763354.6A
Other languages
Chinese (zh)
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510763354.6A priority Critical patent/CN106681825A/en
Publication of CN106681825A publication Critical patent/CN106681825A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a resource allocation method and a resource allocation device. The resource allocation method includes determining the resource quantity required by new added businesses and resources corresponding to businesses under operation, calling resources from the resources corresponding to the businesses under operation according to the resource quantity required by the new added businesses and the resources corresponding to the businesses under operation, and allocating the resources to the new added businesses, wherein as for any business under operation, the resource quantity of the business under operation is not lower than a preset resource quantity threshold value corresponding to such business under operation after the resources are called from those of such business under operation. The resource allocation method has the advantages that redundant resources in the businesses under operation are utilized effectively by being allocated to the new added businesses to enable the new added businesses to operate normally while the businesses under operation can still operate normally, so that the utilization rate of the resources is increased greatly; closing down the business under operation can be reduced maximally.

Description

A kind of resource allocation methods and device
Technical field
The application is related to field of computer technology, more particularly to a kind of resource allocation methods and device.
Background technology
With the development of information technology, service provider is (such as:, website, enterprise etc.) in would generally run A number of business, to provide the user diversified service.
At present, when putting into operation, corresponding management system can be directed to each traffic assignments resource to business, so as to Business can normally be run.However, the total amount of resource that service provider includes is typically limited, transport Capable business may take the resource of great majority or whole, now, if also new business puts into operation, Management system will be caused there is no excessive resource allocation to newly-increased business.
For the situation for solving to be deficient in resources when above-mentioned Added Business puts into operation, in prior art, management system System would generally be adopted closes down the mode for running business resource is provided for Added Business, specifically:For newly-increased Business, closes down operation business of the business-level less than Added Business, and by the resource in the business after closing down Distribute to Added Business.
But, in other business run, it is understood that there may be resource more more than needed, using prior art In the method for salary distribution, resource can not be made full use of, and the business of closing down may result in service provider institute The business service of offer is affected.
The content of the invention
The embodiment of the present application provides a kind of resource allocation methods and device, to solve existing resource allocation side Formula causes the relatively low problem of the utilization rate of resource.
A kind of resource allocation methods that the embodiment of the present application is provided, including:
Determine the stock number needed for Added Business;
Determine that all business of having run distinguish corresponding resource;
Stock number according to needed for the Added Business and respectively the corresponding resource of business has been run, from respectively having transported Calling resource in the corresponding resource of industry business, and distribute to the Added Business;
Wherein, business has been run for arbitrary, from after calling resource in the resource that this has run business, this is The corresponding stock number of operation business is not less than this and has run the corresponding default stock number threshold value of business.
A kind of resource allocation device that the embodiment of the present application is provided, including:
First determining module, the stock number needed for for determining Added Business;
Second determining module, for determining that all business of having run distinguish corresponding resource;
Distribute module, has respectively run for the stock number according to needed for the Added Business and business corresponding Resource, from respectively having run calling resource in the corresponding resource of business, and distributes to the Added Business;
Wherein, business has been run for arbitrary, from after calling resource in the resource that this has run business, this is The corresponding stock number of operation business is not less than this and has run the corresponding default stock number threshold value of business.
The embodiment of the present application provides a kind of resource allocation methods and device, by this method, works as service provider When middle Added Business puts into operation, corresponding management system can determine whether the stock number needed for the Added Business, and Each self-corresponding resource is determined in all business of operation, the corresponding resource of business has been run and has often been existed Certain is more than needed, thus can be according to needed for Added Business resource and respectively run the resource of business, from Calling resource distributes to Added Business in the corresponding resource of operation business.Unlike prior art, adopt With the method for salary distribution in the application, resource more more than needed in operation business is efficiently utilized, will provided While Added Business is distributed to so that the Added Business normally runs in source, business has been run and still has been able to normal fortune OK, utilization rate of the significant increase to resource, additionally, adopting the method for salary distribution in the application can be with maximum Degree is reduced and has run closing down for business.
Description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, The schematic description and description of the application does not constitute the improper limit to the application for explaining the application It is fixed.In the accompanying drawings:
The resource allocation process that Fig. 1 is provided for the embodiment of the present application;
The resource allocation device structural representation that Fig. 2 is provided for the embodiment of the present application.
Specific embodiment
It is specifically real below in conjunction with the application to make purpose, technical scheme and the advantage of the application clearer Apply example and corresponding accompanying drawing is clearly and completely described to technical scheme.Obviously, it is described Embodiment is only some embodiments of the present application, rather than the embodiment of whole.Based on the enforcement in the application Example, the every other enforcement that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of the application protection.
As shown in figure 1, the embodiment of the present application provides a kind of resource allocation process, following steps are specifically included:
S101:Determine the stock number needed for Added Business.
Just it has been observed that under practical application scene, service provider is various in order to ensure to provide the user The service of change, can constantly increase different types of business (that is, Added Business) newly on the basis of original business. When putting into operation, service provider will be Added Business distribution resource to Added Business, so as to subsequently can be just Often operation.In the embodiment of the present application, described resource can be the process money of the equipment such as server, terminal Source is (such as:Internal memory usage amount, Center Processing Unit Utilization etc.), can also be typing in a management system Personal information etc..Here the restriction to the application is not constituted.
Stability and efficiency when many major generals of above-mentioned resource run on Added Business produces impact, so, it is Added Business can will determine Added Business institute with trouble-free operation in above-mentioned steps in guarantee subsequent process The quantity (that is, stock number) of the resource for needing, to distribute appropriate money for Added Business in subsequent process Source.
S102:Determine that all business of having run distinguish corresponding resource.
For service provider, it will usually which operation has a number of business (that is, business having been run), These business are when putting into operation, it is also desirable to using a number of resource, just it has been observed that providing in service Side is internal, and the total amount of its resource for possessing is typically limited, and the business run may take great majority Or the resource of whole, in order to be directed to the resource of Added Business distribution respective numbers it is necessary to determine this A little resources run shared by business.
S103:Stock number according to needed for the Added Business and respectively the corresponding resource of business has been run, from Respectively calling resource in the corresponding resource of business has been run, and distribute to the Added Business.
Wherein, business has been run for arbitrary, from after calling resource in the resource that this has run business, this is The corresponding stock number of operation business is not less than this and has run the corresponding default stock number threshold value of business.
The different quantity for running the shared resource in running of business is generally different, at this In a little resources run corresponding to business, if therefrom transferring a small amount of resource, can't affect to have run industry The normal operation of business, so as to also just can be from service provider run in the resource of business is transferred Go out appropriate resource allocation to Added Business, so that the Added Business obtains the resource of its resource requirement amount, So as to ensure that Added Business can normally run.
It should be noted that for operation business, the resource transferred from operation business is not Can be excessive, otherwise will affect to have run the normal operation of business, it is each to run as described in this step Business is usually constructed with each self-corresponding default stock number threshold value, and default stock number threshold value is reflected each transports The stock number that industry is done honest work often needed for operation.Therefore in order to ensure after the transferring of resource is carried out, industry have been run Business still can normally run, and for arbitrary business has been run, from after calling resource in the resource that this has run business, This has run the corresponding stock number of business and has been not less than this and has run the corresponding default stock number threshold value of business.
Above-mentioned resource allocation process, specifically can have centralized management, distribution work(by service provider inside Can system realize, that is, the system can be from running calling resource in the corresponding resource of business, and for new Increasing business carries out resource allocation.Wherein, as a kind of possible mode, described system can be by with pipe The server cluster of reason function is constituted, and certainly, the restriction to the application is not constituted here.
By above-mentioned steps, when Added Business puts into operation in service provider, corresponding management system meeting Determine the stock number needed for the Added Business, and each self-corresponding resource determined in all business of operation, The corresponding resource of business has been run often there is certain more than needed, therefore resource that can be according to needed for Added Business And each resource for having run business, distribute to newly-increased industry from calling resource in the corresponding resource of business is run Business.Unlike prior art, using the method for salary distribution in the application, efficiently utilize and run Resource more more than needed in business, is allocating resources to Added Business so that what the Added Business normally ran Meanwhile, business has been run still has been able to normal operation, utilization rate of the significant increase to resource, additionally, using The method of salary distribution in the application can also at utmost be reduced and run closing down for business.
In actual applications, generally have between the different quantity for running the resource corresponding to business certain Difference:It is more that some have run the corresponding resource of business, and some are then less.For possessing compared with multiple resource The business of operation for, if therefrom transferring a number of resource, can't also affect this to run business Normal operation, conversely, for for the business of operation for possessing fewer resource, therefrom calling resource may The normal operation for having run business can be affected.That is, distributing for Added Business During resource, the number of resource that can be according to corresponding to running business is determining to carry out resource tune The operation business of institute's prioritizing selection when taking.
This is based on, in the embodiment of the present application, from respectively having run calling resource in the corresponding resource of business, Specifically include:According to default each interval, determine respectively run what the corresponding stock number of business was fallen into respectively Interval, it is interval for each successively according to different interval priority high order on earth again, from stock number Fall into running in the resource of business for the interval, calling resource, until the total resources transferred is not less than Till stock number needed for the Added Business.
Interval described in the embodiment of the present application is to be carried out dividing the different steppings of formation according to stock number, can be with Think, by way of demarcation interval, the quantity that the resource corresponding to business has respectively been run can be divided into difference Gear.Certainly, the interval quantity for being divided can be adjusted according to the needs of practical application, here The restriction to the application is not constituted.
Under a kind of mode in the embodiment of the present application, the numerical value in interval can represent stock number, that is, number The big interval expression stock number of value is more, and its priority is also higher;And the little interval of numerical value also means that resource Amount is few, and its priority is also lower.So, when carrying out resource and transferring, by preferentially from the interval that numerical value is big Corresponding to have run in the resource of business, calling resource distributes to Added Business.Now, if distributed to new The quantity of the resource of increasing business and the stock number not up to needed for the Added Business, then, just according to priority Sequentially, run in the resource of business from next interval is corresponding, calling resource distributes to Added Business.With This analogizes, till the stock number that the total resources transferred is not less than needed for the Added Business.
Under another way in the embodiment of the present application, the numerical value in interval can also represent resource surplus capacity, That is, the numerical value in interval is bigger, represent that resource surplus capacity is also more, correspondingly priority is also higher; Conversely, resource surplus capacity is also fewer, its priority is also lower.In this mode, resource surplus capacity It is determined that, can run the corresponding stock number threshold value of business itself and obtained according to each, such as:Certain runs The stock number threshold value of business is 10 (representing that this has run the resource that 10 units are needed when business is normally run), Assume that the current quantity for having run the corresponding resource of business is 15, it is clear that for this operation business, Its resource surplus capacity is 5.Here only it is a kind of example, does not constitute the restriction to the application.Similarly, Priority orders when resource is transferred are carried out under which, it is similar with a upper mode, therefore will not be described here.
It is each interval interior in view of practical application, some different operation business are often correspond to, and In actual applications, the different grades of service for running business is often different:Some business are more important, So, its grade of service is higher;And some significance levels for having run business are relatively low, correspondingly, its business Grade is relatively low.So, carrying out during resource transfers, preferentially to run from business is junior Calling resource in business, if stock number of the total resources transferred needed for reach Added Business, then, Just no longer transfer the high operation business of the grade of service.
Therefore, in the embodiment of the present application, specifically, the operation business in the interval is fallen into from stock number Resource in, calling resource is specifically included:Determine that stock number falls into each of the interval and run business The grade of service, according to grade of service order from low to high, falls into each of the interval and has transported from stock number Industry is engaged in corresponding resource, calling resource.
In view of in practical application, Added Business often also has the grade of service, then, transfer in resource During, from calling resource in the business of operation of the grade of service higher than Added Business, and can't only can Calling resource in the business of operation matched from the grade of service with Added Business, so, as the application A kind of mode in embodiment, calling resource in each resource for having run business in the interval is fallen into from stock number, Specifically include:Determine the grade of service of the Added Business, fall into the interval from stock number, and business etc. Level is not higher than calling resource in each resource for having run business of the grade of service of the Added Business.
For the above, now it is described in detail with a concrete application example:
In this example, it is assumed that the grade of service in service provider is specifically divided into:High, medium and low three kinds etc. Level;
Assume it is interval according to resource surplus capacity number divided, according to the order of numerical values recited, obtain three Plant interval:Q1 (resource surplus capacity >=6), Q2 (6>Resource surplus capacity >=1), Q3 (resource surplus capacities<1). Wherein, interval Q1 represents that resource surplus capacity is larger, even if the business of operation in the interval is transferred A number of resource, still also is able to normal operation;Interval Q2 represents that resource surplus capacity is less, in this The business of operation in interval has been transferred after a number of resource, it is possible to the normal fortune to running business Row produces a certain degree of impact;Interval Q3 represents that resource surplus capacity is seldom possibly even deficient in resources (Q3 In numerical value can be negative value, represent the quantity that is deficient in resources), run business in the interval Running status is unstable, if the calling resource again from these operation business, it is possible to cause the business can not Operation.
Simultaneously, it is assumed that current altogether operation has three to run business Y1, Y2, Y3 in service provider. These three have run whole resources that business has occupied service provider itself, now have an Added Business to incite somebody to action Put into operation, therefore the system in service provider will be the Added Business from calling resource in operation business Distribution resource, specifically:
Management system in service provider first by determine Added Business needed for stock number (assume needed for Stock number be 10), and the Added Business the grade of service (assume the grade of service be:In).
Management system will determine that stock number falls into each of interval Q1~Q3 and run business, it is clear that right For interval Q1, the corresponding stock number for having run business in the interval is more, therefore will preferentially from interval Q1 Calling resource in the corresponding resource for having run business.
Corresponding some business of having run have the different grades of service in interval Q1, it is assumed that specific as follows Shown in table 1:
Table 1
It is visible in table 1, in interval Q1, contain three and run business:Y1, Y2 and Y3, Wherein, the grade of service for business Y1 having been run is:Low and current resource surplus capacity is 8;Run The grade of service of business Y2 is:In, and current resource surplus capacity is 7;The business of business Y3 has been run Grade is:Height, and current resource surplus capacity is 10.
Just it has been observed that the grade of service is higher, then, the business is also more important, in order to ensure the grade of service The high business of operation can normally be run, so, by the preferentially tune from the grade of service low business of operation Resource, and the order according to the grade of service from low to high are taken, the operation industry of different business grade is transferred respectively The resource of business.So, when transferring to three resources for having run business shown in table 1, will Follow grade of service order from low to high.That is, preferentially being adjusted from the resource run in business Y1 Take.
Specifically, the process of transferring in this example for having run business in the Q1 of interval is:Preferentially from In the resource of operation business Y1,2 resources are transferred out, then from running in the resource of business Y2, adjusted Take 1 resource.For business Y3 is run, because its grade of service is higher than the business of Added Business Grade, therefore can't be from calling resource in the resource for running business Y3.
Current time, the total resources that Added Business is obtained is 3, and the stock number 10 not up to needed for it, So, calling resource will be continued:Continue to transfer 1 money respectively from running in business Y1 and Y2 Source, distributes to Added Business (total resources for now distributing to Added Business is 5).So, transport Industry business Y1 and Y2 Current resource surplus capacities are respectively less than 6, i.e., less than the minimum of interval Q1, so, It is interval that the front resource surplus capacity for running business Y1 and Y2 now is just reduced to Q2, as shown in table 2.
Table 2
The state for running business in for table 2, will preferentially from run calling resource in business Y1 (and Ensure after calling resource, the minimum of the stock number less than interval Q2 of business Y1 run), that is, 4 resources are transferred from running in business Y1, Added Business is distributed to, now, Added Business is distributed to Total resources be 9, the still stock number 10 not up to needed for it, therefore, then from running in business Y2 1 resource is transferred, Added Business is distributed to.
So far, the total resources that Added Business is obtained is 10, the stock number being not less than needed for it, then, The Added Business can normally run.Also, above-mentioned business Y1 and Y2 run can also keep fortune OK.
Examples detailed above be only in order to clearly describe the example of resource allocation process in the application, in actual applications, Examples detailed above is not limited to the method for salary distribution of resource, for example:Stock number needed for Added Business is larger, Jing After above-mentioned process is crossed for the Added Business distribution resource, the total resources of distribution is thought to reach Added Business institute The stock number for needing, then, the business of operation that can be by low business-level and in interval Q3 is closed down, This has been run again all resource allocations of business to Added Business.It can be seen that, in actual applications, can be with root According to the needs of practical application, the mode of resource allocation is adjusted, the above does not constitute the restriction to the application.
Additionally, in practical application, the resource needed for the resource and Added Business shared by business has been run, There may be plurality of classes, if a business can normally be run, generally require propping up for different classes of resource Hold.By taking resource behaviour person's information as an example:In this case, different classes of resource can be just inhomogeneity Other personal information is (such as:Tester's information, developer's information, architect information etc.).
In arbitrary business, for different classes of resource, the resource of each classification has respective money Source is measured, therefore, in the embodiment of the present application, above-mentioned steps S101 determine the stock number needed for Added Business, Specifically include:Determine the stock number of each class resource needed for Added Business.Above-mentioned steps S103, according to institute State the stock number needed for Added Business and respectively run the corresponding resource of business, it is corresponding from business has respectively been run Resource in calling resource, specifically include:Each class resource needed for for the Added Business, according to institute The stock number of such resource needed for Added Business is stated, and has respectively run the corresponding resource of business, from respectively Calling resource in corresponding such resource of operation business.
For each class resource in arbitrary business of operation, run in corresponding such resource of business from this After calling resource, such stock number is not less than the default stock number that this has run the corresponding each class resource of business Threshold value.
That is, having run each class resource of business, corresponding stock number threshold value is designed with, if newly Increasing business is also required to such resource, and service provider can transfer such resource from this operation business, also, After transferring, the quantity that such remaining resource of business has been run is not less than default stock number threshold value, If distributing to the total amount of such resource of Added Business to reach its resource requirement amount, then, then from other Such resource is transferred in operation business.
It can be seen that, by above-mentioned steps, adopt the method for salary distribution of the application can also accurately for Added Business institute The different classes of resource for needing, is deployed into the resource of the classification that matches.
In sum, the distribution method of the application is applied to the scene of all kinds of business resource requirements, also including item Mesh administrative center (Project Management Office, PMO) system is different in PMO systems Resource needed for business item is personal information, by the method for salary distribution in the application, item can be run from It is that new projects distribute different classes of personal information in personal information shared by mesh, after being assigned, In the way of to allocate announcement information, the allotment of personnel is realized.For personal information assigning process with it is above-mentioned Content is similar, therefore here is not excessively repeated.
The resource allocation methods for providing for the embodiment of the present application above, based on same thinking, the application is implemented Example also provides a kind of resource allocation device, as shown in Figure 2.Described device includes:
First determining module 201, the stock number needed for for determining Added Business.
Second determining module 202, for determining that all business of having run distinguish corresponding resource.
Distribute module 203, for the stock number according to needed for the Added Business and has respectively run business pair The resource answered, from respectively having run calling resource in the corresponding resource of business, and distributes to the Added Business.
Wherein, business has been run for arbitrary, from after calling resource in the resource that this has run business, this is The corresponding stock number of operation business is not less than this and has run the corresponding default stock number threshold value of business.
The distribute module 203, specifically for according to default each interval, determining respectively run business respectively The interval that corresponding stock number is fallen into, according to different interval priority order from high to low, pin successively It is interval to each, fall into the running in the resource of business of the interval, calling resource, Zhi Daosuo from stock number Till the total resources transferred is not less than the stock number needed for the Added Business.
The distribute module 203, specifically for determining that stock number falls into each of the interval business has been run The grade of service, according to grade of service order from low to high, falls into each of the interval and has transported from stock number Calling resource in the resource of industry business.
The distribute module 203, the grade of service specifically for determining the Added Business, falls from stock number Enter in the interval, and the grade of service is not higher than each money for having run business of the grade of service of the Added Business Calling resource in source.
First determining module 201, the resource of each class resource needed for specifically for determining Added Business Amount;
The distribute module 203, each class resource needed for specifically for being directed to the Added Business, according to The stock number of such resource needed for the Added Business, and respectively run the corresponding resource of business, from each Calling resource in corresponding such resource of business has been run.
Wherein, for each class resource in arbitrary business of operation, from this run business it is corresponding such In resource after calling resource, such stock number is not less than this and has run the default of the corresponding each class resource of business Stock number threshold value.
In a typical configuration, computing device includes one or more processors (CPU), input/defeated Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory And/or the form, such as read-only storage (ROM) or flash memory (flash RAM) such as Nonvolatile memory (RAM). Internal memory is the example of computer-readable medium.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by appointing What method or technique is realizing information Store.Information can be computer-readable instruction, data structure, program Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its The random access memory (RAM) of his type, read-only storage (ROM), electrically erasable are read-only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic cassette tape, tape magnetic Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be calculated The information that equipment is accessed.Define according to herein, computer-readable medium does not include temporary computer-readable matchmaker The data-signal and carrier wave of body (transitory media), such as modulation.
Also, it should be noted that term " including ", "comprising" or its any other variant are intended to non-row His property is included, so that a series of process, method, commodity or equipment including key elements not only includes Those key elements, but also including other key elements being not expressly set out, or also include for this process, The intrinsic key element of method, commodity or equipment.In the absence of more restrictions, by sentence " including One ... " key element that limits, it is not excluded that including the process of the key element, method, commodity or setting Also there is other identical element in standby.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey Sequence product.Therefore, the application can using complete hardware embodiment, complete software embodiment or with reference to software and The form of the embodiment of hardware aspect.And, the application can be adopted and wherein include calculating at one or more Machine usable program code computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, Optical memory etc.) on implement computer program form.
Embodiments herein is the foregoing is only, the application is not limited to.For this area skill For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle Any modification, equivalent substitution and improvements of work etc., within the scope of should be included in claims hereof.

Claims (10)

1. a kind of resource allocation methods, it is characterised in that include:
Determine the stock number needed for Added Business;
Determine that all business of having run distinguish corresponding resource;
Stock number according to needed for the Added Business and respectively the corresponding resource of business has been run, from respectively having transported Calling resource in the corresponding resource of industry business, and distribute to the Added Business;
Wherein, business has been run for arbitrary, from after calling resource in the resource that this has run business, this is The corresponding stock number of operation business is not less than this and has run the corresponding default stock number threshold value of business.
2. the method for claim 1, it is characterised in that from respectively having run the corresponding resource of business Middle calling resource, specifically includes:
According to default each interval, determine respectively run the interval that the corresponding stock number of business is fallen into respectively;
It is interval for each successively according to different interval priority order from high to low, fall from stock number Enter running in the resource of business for the interval, calling resource, until the total resources transferred is not less than institute Till stating the stock number needed for Added Business.
3. method as claimed in claim 2, it is characterised in that fall into the fortune in the interval from stock number In the resource of industry business, calling resource is specifically included:
Determine that stock number falls into the grade of service that each of the interval has run business;
According to grade of service order from low to high, fall into each of the interval from stock number and run business Resource in calling resource.
4. method as claimed in claim 3, it is characterised in that from stock number fall into the interval it is each Calling resource in the resource of operation business, specifically includes:
Determine the grade of service of the Added Business;
Fall into the interval from stock number, and the grade of service is not higher than each of the grade of service of the Added Business Calling resource in the resource of business has been run.
5. the method for claim 1, it is characterised in that determine the stock number needed for Added Business, Specifically include:
Determine the stock number of each class resource needed for Added Business;
Stock number according to needed for the Added Business and respectively the corresponding resource of business has been run, from respectively having transported Calling resource in the corresponding resource of industry business, specifically includes:
Each class resource needed for for the Added Business, such resource according to needed for the Added Business Stock number, and respectively the corresponding resource of business has been run, from respectively having run in corresponding such resource of business Calling resource;
For each class resource in arbitrary business of operation, run in corresponding such resource of business from this After calling resource, such stock number is not less than the default stock number that this has run the corresponding each class resource of business Threshold value.
6. a kind of resource allocation device, it is characterised in that include:
First determining module, the stock number needed for for determining Added Business;
Second determining module, for determining that all business of having run distinguish corresponding resource;
Distribute module, has respectively run for the stock number according to needed for the Added Business and business corresponding Resource, from respectively having run calling resource in the corresponding resource of business, and distributes to the Added Business;
Wherein, business has been run for arbitrary, from after calling resource in the resource that this has run business, this is The corresponding stock number of operation business is not less than this and has run the corresponding default stock number threshold value of business.
7. device as claimed in claim 6, it is characterised in that the distribute module, specifically for root According to default each interval, determine respectively run the interval that the corresponding stock number of business is fallen into respectively, according to not It is interval for each successively with interval priority order from high to low, fall into the interval from stock number Run in the resource of business, calling resource, until the total resources transferred is not less than the Added Business Till required stock number.
8. device as claimed in claim 7, it is characterised in that the distribute module, specifically for true Determine stock number and fall into each of the interval to have run the grade of service of business, according to the grade of service by it is low to High order, calling resource in each resource for having run business in the interval is fallen into from stock number.
9. device as claimed in claim 8, it is characterised in that the distribute module, specifically for true The grade of service of the fixed Added Business, falls into the interval from stock number, and the grade of service is not higher than described Calling resource in each resource for having run business of the grade of service of Added Business.
10. device as claimed in claim 6, it is characterised in that first determining module, it is concrete to use In it is determined that the stock number of each class resource needed for Added Business;
The distribute module, specifically for each class resource needed for the Added Business, according to described The stock number of such resource needed for Added Business, and respectively run the corresponding resource of business, from respectively having transported Calling resource in corresponding such resource of industry business;
Wherein, for each class resource in arbitrary business of operation, from this run business it is corresponding such In resource after calling resource, such stock number is not less than this and has run the default of the corresponding each class resource of business Stock number threshold value.
CN201510763354.6A 2015-11-10 2015-11-10 Resource allocation method and resource allocation device Pending CN106681825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510763354.6A CN106681825A (en) 2015-11-10 2015-11-10 Resource allocation method and resource allocation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510763354.6A CN106681825A (en) 2015-11-10 2015-11-10 Resource allocation method and resource allocation device

Publications (1)

Publication Number Publication Date
CN106681825A true CN106681825A (en) 2017-05-17

Family

ID=58865240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510763354.6A Pending CN106681825A (en) 2015-11-10 2015-11-10 Resource allocation method and resource allocation device

Country Status (1)

Country Link
CN (1) CN106681825A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110302A (en) * 2021-04-16 2021-07-13 广东美的厨房电器制造有限公司 Control method of processing apparatus, server, processing apparatus, and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100131959A1 (en) * 2008-11-26 2010-05-27 Spiers Adam Z Proactive application workload management
CN103458052A (en) * 2013-09-16 2013-12-18 北京搜狐新媒体信息技术有限公司 Resource scheduling method and device based on IaaS cloud platform
CN104079503A (en) * 2013-03-27 2014-10-01 华为技术有限公司 Method and device of distributing resources
CN104572301A (en) * 2015-01-04 2015-04-29 中国联合网络通信集团有限公司 Resource distribution method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100131959A1 (en) * 2008-11-26 2010-05-27 Spiers Adam Z Proactive application workload management
CN104079503A (en) * 2013-03-27 2014-10-01 华为技术有限公司 Method and device of distributing resources
CN103458052A (en) * 2013-09-16 2013-12-18 北京搜狐新媒体信息技术有限公司 Resource scheduling method and device based on IaaS cloud platform
CN104572301A (en) * 2015-01-04 2015-04-29 中国联合网络通信集团有限公司 Resource distribution method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110302A (en) * 2021-04-16 2021-07-13 广东美的厨房电器制造有限公司 Control method of processing apparatus, server, processing apparatus, and readable storage medium

Similar Documents

Publication Publication Date Title
KR101959153B1 (en) System for efficient processing of transaction requests related to an account in a database
CN108090225B (en) Database instance running method, device and system and computer readable storage medium
US8726290B2 (en) System and/or method for balancing allocation of data among reduce processes by reallocation
US8392928B1 (en) Automated workload placement recommendations for a data center
CN110333937A (en) Task distribution method, device, computer equipment and storage medium
CN107968810B (en) Resource scheduling method, device and system for server cluster
US20110167034A1 (en) System and method for metric based allocation of costs
US20110185364A1 (en) Efficient utilization of idle resources in a resource manager
WO2016161296A1 (en) Multi-cluster management method and device
CN104899079B (en) A kind of method and device of data processing
CN107533435A (en) The distribution method and storage device of memory space
EP4170491A1 (en) Resource scheduling method and apparatus, electronic device, and computer-readable storage medium
CN102932271A (en) Method and device for realizing load balancing
CN108874502A (en) Method for managing resource, device and the equipment of cloud computing cluster
CN108399102A (en) A kind of resource allocation methods and device
CN108710686A (en) A kind of date storage method, device, storage medium and terminal
CN110515721A (en) A kind of application management method, device, terminal and computer storage medium
CN107172193A (en) A kind of load-balancing method and its device based on cluster
CN103077127B (en) A kind of method and apparatus of specified data migrating objects
CN109788013B (en) Method, device and equipment for distributing operation resources in distributed system
CN106681825A (en) Resource allocation method and resource allocation device
CN117435337A (en) Resource allocation method, device, electronic equipment and storage medium
CN105099753B (en) The method of Network Management System and its processing business
CN106993008A (en) A kind of resource regulating method and device
CN115866059A (en) Block chain link point scheduling method and device

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
TA01 Transfer of patent application right

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170517

RJ01 Rejection of invention patent application after publication