CN110457139A - Resource allocation method, device, equipment and storage medium - Google Patents
Resource allocation method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110457139A CN110457139A CN201910781494.4A CN201910781494A CN110457139A CN 110457139 A CN110457139 A CN 110457139A CN 201910781494 A CN201910781494 A CN 201910781494A CN 110457139 A CN110457139 A CN 110457139A
- Authority
- CN
- China
- Prior art keywords
- resource
- organization
- resource allocation
- resources
- information
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a kind of resource allocation method, device, equipment and storage medium, is related to resource processing technology field.This method comprises: receiving the resource that resource provider is sent recalls instruction;It is that resource provider resource according to transmitted by the resource allocation application that resource user initiates recalls instruction that resource, which recalls instruction,;Resource recalls the information that instruction includes: destination organization chassis resources;According to the information of destination organization chassis resources, the resource status for updating destination organization chassis resources in universal resources administration pool is use state, and destination organization chassis resources are recalled from universal resources administration pool.Wherein, it is managed collectively and is deployed by resource of the resource allocation Platform Server to resource provider, can resource be fully used, improve resource utilization, avoided the repetition of resource from purchasing, reduce O&M cost.
Description
Technical field
The present invention relates to resource processing technology field, in particular to a kind of resource allocation method, device, equipment and
Storage medium.
Background technique
With being constantly progressive for national economy and social development, the construction of National Electrical government affairs is carried forward vigorously, cloud computing is reinforced
Service platform construction, constructing next-generation information infrastructure becomes trend, and next-generation information infrastructure will make full use of cloud
It calculates at low cost, reliability and the high feature of flexibility is built, thus propose the cloud service towards organization.
Existing organization's cloud infrastructure building is mainly by means of infrastructure services (Infrastructure as
A Service, LASS), optimized integration the resources integration and share.
But due to using the above method, it cannot achieve the effective use to the basic resource for being dispersed in various regions, lead to weight
Second mining purchase construction, to increase O&M cost.
Summary of the invention
It is an object of the present invention in view of the deficiency of the prior art, provide a kind of resource allocation method, device,
Equipment and storage medium, O&M cost higher problem lower to solve government affairs cloud resource utilization rate existing in the prior art.
To achieve the above object, the embodiment of the present application the technical solution adopted is as follows:
In a first aspect, the embodiment of the present application provides a kind of resource allocation method, this method comprises:
It receives the resource that resource provider is sent and recalls instruction;The resource recall instruction be the resource provider according to
Resource transmitted by the resource allocation application that resource user initiates recalls instruction;It includes: target group that the resource, which recalls instruction,
Knit the information of chassis resources;
According to the information of the destination organization chassis resources, destination organization chassis resources described in universal resources administration pool are updated
Resource status is use state, and the destination organization chassis resources are recalled from the universal resources administration pool.
Optionally, before the resource for receiving resource provider transmission recalls instruction, the method also includes:
Obtain the information of organization's resource of at least one region;
Organization's resource information of at least one region is added to the universal resources administration pool, and generates resource tune
With catalogue, the resource allocation catalogue record has the information of organization's resource of at least one region.
Optionally, the method also includes:
The resource allocation catalogue is shown on resource allocation platform;The resource allocation application is resource use
Root is according to resource use demand, from the resource allocation catalogue shown on the resource allocation platform, selection it is described
Destination organization chassis resources, the resource allocation application initiated.
Optionally, the method also includes:
Resource reclaim order transmitted by the resource provider is received, the resource reclaim order provides for the resource
Resource reclaim order transmitted by the resource release commands that root is sent according to the resource user;The resource reclaim order packet
It includes: the information of the destination organization chassis resources;
The state for updating destination organization chassis resources described in the universal resources administration pool is blank state.
Optionally, the resource release commands are that the resource user terminates in the destination organization chassis resources use
When, from the resource allocation catalogue shown on the resource allocation platform, the destination organization chassis resources of selection,
The resource release commands initiated.
Optionally, the information of organization's resource of at least one region described in the acquisition, comprising:
The resource incoming end for receiving each region passes through the group for each region that organization's network link is transmitted
Knit the information of chassis resources.
Second aspect, the embodiment of the present application also provides a kind of resource allocation devices, comprising: the first receiving module recalls
Module;
First receiving module, the resource for receiving resource provider transmission recall instruction;The resource recalls finger
Enable is that resource provider resource according to transmitted by the resource allocation application that resource user initiates recalls instruction;The money
Source recalls the information that instruction includes: destination organization chassis resources;
It is described to recall module, for the information according to the destination organization chassis resources, update described in universal resources administration pool
The resource status of destination organization chassis resources is use state, and by the destination organization chassis resources from the universal resources administration pool
In recall.
Optionally, described device further include: obtain module, generation module;
The acquisition module, the information of organization's resource for obtaining at least one region;
The generation module, for organization's resource information of at least one region to be added to the resource pipe
Pond is managed, and generates resource allocation catalogue, the resource allocation catalogue record has organization's resource of at least one region
Information.
Optionally, device further include: display module;
The display module, for showing the resource allocation catalogue in resource allocation platform;The resource allocation
Application is the resource user according to resource use demand, the resource allocation shown from the resource allocation platform
In catalogue, the destination organization chassis resources of selection, the resource allocation application initiated.
Optionally, described device further include: the second receiving module, update module;
Second receiving module, for receiving resource reclaim order transmitted by the resource provider, the resource
Recycling order is resource provider resource reclaim according to transmitted by the resource release commands that the resource user sends
Order;The resource reclaim order includes: the information of the destination organization chassis resources;
The update module, the state for updating destination organization chassis resources described in the universal resources administration pool are vacant
State.
Optionally, the acquisition module, the resource incoming end specifically for receiving each region pass through organization's network
The information of the organization's resource for each region that link is transmitted.
The third aspect, the embodiment of the present application also provides a kind of resource allocation equipment, comprising: processor, storage medium and
Bus, the storage medium are stored with the executable program instruction of the processor, when the operation of resource allocation equipment, the place
It manages by bus communication between device and the storage medium, the processor executes described program instruction, executes such as when executing
The step of resource allocation method described in above-mentioned first aspect.
Fourth aspect is stored with computer on the storage medium the embodiment of the present application also provides a kind of storage medium
Program, the step of resource allocation method as described in above-mentioned first aspect is executed when the computer program is run by processor.
The beneficial effect of the application is: resource allocation method provided by the embodiments of the present application, resource provider is according to reception
Resource user send resource allocation application, to resource allocation Platform Server send resource recall instruction so that provide
The state for the resource information that source deployment platform server can be provided according to the different resource provider stored in universal resources administration pool,
Destination organization chassis resources are recalled from universal resources administration pool, so that resource user is able to use destination organization mechanism money
Source.Wherein, it is managed collectively and is deployed by resource of the resource allocation Platform Server to resource provider, can to provide
Source is fully used, and is improved resource utilization, and is avoided the repetition of resource from purchasing, is reduced O&M cost.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, 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 is a kind of flow diagram of resource allocation method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another resource allocation method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another resource allocation method provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of resource allocation device provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of another resource allocation device provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of another resource allocation device provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram of another resource allocation device provided by the embodiments of the present application;
Fig. 8 is the structural schematic diagram of another resource allocation device provided by the embodiments of the present application.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.
Fig. 1 is a kind of flow diagram of resource allocation method provided by the embodiments of the present application;The executing subject of this method
It can be resource allocation equipment, which can be server, which can be the application server of resource allocation platform.
As shown in Figure 1, this method can include:
S101, the resource for receiving resource provider transmission recall instruction;It is resource provider according to money that resource, which recalls instruction,
Resource transmitted by the resource allocation application that source user initiates recalls instruction;It includes: destination organization mechanism that resource, which recalls instruction,
The information of resource.
It should be noted that above-mentioned organization's resource may include following at least one resource: computer room, calculating, storage,
Network, safety, using the relevant resource of the organizations such as support, information infrastructure.Realize the shared of organization's resource and
It rationally utilizes, organization's cloud platform intensive construction can be further realized.
In addition, a side of above-mentioned resource provider namely offer available resources, resource provider can be current not by itself
The resource (slack resources) used is shared, and resource user namely the side for having resource use demand, resource provider
The resource of offer can be used by resource user, so that the slack resources of resource provider can effectively be had
The resource user of resource use demand uses, and also can resource is utilized effectively, avoid the wasting of resources.
Optionally, when resource user needs using resource, resource allocation application can be issued, resource allocation application can
To indicate that resource user needs resource type and quantity to be used etc., after resource provider receives the resource allocation application, to
Resource allocation Platform Server sends resource and recalls instruction, recalls so that resource allocation platform carries out resource, namely pass through money
The slack resources of resource provider are distributed to corresponding resource user by source deployment platform server.Wherein, it needs to illustrate
It is that can be managed collectively to the resource from different resource provider by resource allocation Platform Server, and closed
Reason distribution improves resource utilization so that the distribution use of resource is more reasonable.
S102, according to the information of destination organization chassis resources, update the money of destination organization chassis resources in universal resources administration pool
Source state is use state, and destination organization chassis resources are recalled from universal resources administration pool.
Optionally, after the resource that resource allocation Platform Server receives resource provider transmission recalls instruction, Ke Yicong
It is stored in the background data base (universal resources administration pool) of resource allocation platform and recalls corresponding destination organization chassis resources, so that
Resource user is able to use the destination organization chassis resources.
It should be noted that being stored with the resource of different resource provider offer and making for each resource in universal resources administration pool
It can be recalled from universal resources administration pool in order to resource allocation Platform Server with state according to the use state of each resource
The resource being not used by, so that recalling for resource is more accurate.
It optionally, can basis after the resource that resource allocation Platform Server receives resource provider transmission recalls instruction
The resource allocation application of resource user carries out resource allocation application audit, wherein resource allocation application can pass through workflow
Engine implementation, workflow engine are a kind of workflows of open source, and principle is that business activity is first designed to procedural model, then
Procedural model product process is defined, and configuration work person who lives in exile person, meeting product process example, flow instance after flow definition starting
It is made of a series of task instances, task automatic flow.When resource use direction resource provider sends resource allocation application, money
Source provider transmission resource recalls instruction and gives resource allocation Platform Server, and resource allocation Platform Server is according to resource user
Resource allocation application, generate resource allocation application process example, resource allocation application process example is real by resource bid task
Example, resource audit task instances, resource recall task instances, and resource calls in task instances composition.Process is according to the work of configuration
Person who lives in exile person circulates automatically.Wherein, after resource user issues resource allocation application, resource provider is to resource allocation platform
Server sends resource and recalls instruction, and resource bid task instances, which circulate, audits task instances, resource allocation platform clothes to resource
Business device audits resource allocation application, and after the approval, resource audit task instances, which circulate, recalls task instances to resource,
Resource allocation Platform Server recalls instruction according to the resource received, changes the state of resource in universal resources administration pool, and carries out
Resource recalls, and resource, which recalls task instances and circulates, calls in task instances to resource, and resource allocation Platform Server will be from resource pipe
The resource that the resource provider recalled in reason pond provides is called in resource user, so that resource user can carry out resource
Use.Resource calls in task instances and is finished, namely completes resource allocation application process example.
Such as: resource user A can first propose that resource allocation application is sent to resource to resource provider B application resource
Provider B, the resource allocation application may include: the type of destination organization chassis resources, quantity, and resource provider B is received
After resource allocation application, resource is issued to resource allocation Platform Server and recalls instruction, resource allocation Platform Server is according to money
Type, the quantity for the destination organization chassis resources for including in the allotment application of source, generate resource allocation flow instance, the resource allocation
Flow instance can be made of multiple tasks, and each task is provided with corresponding audit node (auditor), so that
The resource allocation application can be according to audit node automatic flow step by step, and to the last an audit node audit is by being
Only, if any one audit node audit does not pass through, which is to audit not pass through, resource allocation platform clothes
Business can not recall organization corresponding in resource provider B resource to resource user A according to the resource allocation application.
When some resource is in unused state, can be transferred out, it is corresponding to need providing it after being transferred out
State in source control pond is changed to use state.When the resource is applied by other resources user in use, resource tune again
With Platform Server application can be issued not by instruction, does not allow the money according to state of the resource in universal resources administration pool
Source is transferred out, to guarantee the validity of resource transfer.
To sum up, resource allocation method provided by the embodiments of the present application, resource user sends out resource provider based on the received
The resource allocation application sent sends resource to resource allocation Platform Server and recalls instruction, so that resource allocation platform service
The state for the resource information that device can be provided according to the different resource provider stored in universal resources administration pool, from universal resources administration pool
Destination organization chassis resources are recalled, so that resource user is able to use the destination organization chassis resources.Wherein, pass through money
Source deployment platform server is managed collectively and is deployed to the resource of resource provider, and resource can be made to obtain abundant benefit
With improving resource utilization, avoid the repetition of resource from purchasing, reduce O&M cost.
Fig. 2 is the flow diagram of another resource allocation method provided by the embodiments of the present application, further, above-mentioned step
In rapid S101, before the resource that reception resource provider is sent recalls instruction, method may also include that
S201, obtain at least one region organization's resource information.
S202, organization's resource information of at least one region is added to universal resources administration pool, and generates resource allocation
Catalogue, resource allocation catalogue record have the information of organization's resource of at least one region.
Optionally, at least one region can be different levels region, such as: province, city, county etc., the province, city, county etc. are gathered around
The region of organized chassis resources can be used as resource provider and provide resource.At least one region is obtained in the present embodiment
The information of organization's resource in order to organization's resource from different geographical to be managed collectively, namely improves pipe
Manage efficiency.
In some embodiments, organization's resource of at least one region of acquisition for the region it is existing it is organized
Chassis resources, wherein may include used organization's resource and not used organization's resource.It is alternatively possible to will
Organization's resource information of at least one region obtained is added to universal resources administration pool, and generates resource allocation catalogue.Wherein,
Organization's resource information of at least one region of resource allocation catalogue record may include: the class of each organization's resource
The use state of type, quantity and each organization's resource.
It may include multiple organization's resources for each type of organization's resource, in universal resources administration pool, it is false
If A organization resource includes 10, resource user application has used 7, can will be in universal resources administration pool then corresponding
Organization's resource quantity of the type is changed to 3 by 10, meanwhile, it, can be corresponding for 7 organization's resources being transferred out
The use state by 7 organization's resources from be not used be changed to using.
In addition, above-mentioned resource allocation catalogue can show the class of organization's resource of each region in the form of a list
Type, quantity and use state information, alternatively, can also be showed in table form, consequently facilitating resource user according to
The organization's resource information showed is more convenient and accurate selects resource information to be applied.
Further, resource allocation method provided by the present application may also include that
Resource allocation catalogue is shown on resource allocation platform;Resource allocation application is that resource user makes according to resource
With demand, from the resource allocation catalogue shown on resource allocation platform, the destination organization chassis resources of selection are initiated
Resource allocation application.
In some embodiments, the resource allocation catalogue generated in above-mentioned steps S202 can be shown in the form of a list
On resource allocation platform, optionally, resource allocation platform can be mounted in application software or webpage on mobile phone terminal
Version application platform, resource user can log in application software by mobile phone terminal or log in the application in webpage, from
And selection is in the mesh of unused state in the resource allocation catalogue shown on resource allocation platform interface (in application interface)
Organization's resource is marked, and initiates resource allocation application according to the destination organization chassis resources of selection.
Each organization's resource information is shown above by resource allocation catalogue, can in order to resource user into
Row resource information is checked, to more accurately initiate application to the destination organization chassis resources of needs, is avoided because of target
Organization's resource has been used and application is caused to fail.
Fig. 3 is the flow diagram of another resource allocation method provided by the embodiments of the present application, further, such as Fig. 3
Shown, this method may also include that
S301, receive resource provider transmitted by resource reclaim order, resource reclaim order be resource provider according to
Resource reclaim order transmitted by the resource release commands that resource user sends;Resource reclaim order includes: destination organization machine
The information of structure resource.
In some embodiments, when resource user does not use the destination organization chassis resources, in order to avoid resource
Unreasonable occupancy, resource user can send resource release commands, to be discharged to the destination organization chassis resources, from
And other can be made to need to use the resource using the resource user application of the destination organization chassis resources.
Optionally, resource provider receives the resource release commands that resource user sends, and is discharged and ordered according to the resource
The information of included destination organization chassis resources is enabled, such as: type, quantity of resource to be released etc., to resource allocation platform
Server sends resource reclaim order, so that the destination organization chassis resources are recycled again, other resources user can be with
To its carry out using.
S302, the state for updating destination organization chassis resources in universal resources administration pool are blank state.
It optionally, can be right after resource allocation Platform Server receives the resource reclaim order of resource provider transmission
Destination organization chassis resources are recycled, and the state of the destination organization chassis resources stored in universal resources administration pool is carried out more
Newly, namely from use state it is updated to unused state (blank state).
In addition, used when the quantity of the destination organization chassis resources stored in universal resources administration pool and resource user application
The quantity of destination organization chassis resources is identical, such as: when being 5, when the destination organization chassis resources are transferred out, accordingly
, the quantity of the destination organization chassis resources is changed to 0, and the use of 5 destination organization chassis resources in universal resources administration pool
State by be not used be changed to using.Likewise, when carrying out resource reclaim, if the resource that resource user issues discharges life
Order is discharged to 5 destination organization chassis resources, then correspondingly, in universal resources administration pool, 5 destination organization machines
The use state of structure resource is changed to be not used by using.And when the destination organization chassis resources stored in universal resources administration pool
Quantity is not identical as the quantity for the destination organization chassis resources that resource user application uses, such as: it is stored in universal resources administration pool
The quantity of destination organization chassis resources be 5, and the quantity of destination organization chassis resources that resource user application uses is 4
It is a, then, when the destination organization chassis resources are transferred out, correspondingly, the destination organization chassis resources in universal resources administration pool
Quantity is changed to 1, wherein the use state for the 4 destination organization chassis resources applied by resource user by be not used more
It is changed to using not being changed to be not used by using by the use state for 1 destination organization chassis resources that resource user applies.
It should be noted that the quantity for the destination organization chassis resources for including in universal resources administration pool, it can be in order to resource tune
Adjustable resource information is obtained with Platform Server, such as: type-A organization total number resource amount is 10, and resource management
The quantity stored in pond is 5, namely has 5 A class loading chassis resources that can be transferred out, in this way, can make recalling for resource
It is more accurate.Likewise, it is consistent with the above for the display result of destination organization chassis resources in resource allocation catalogue, thus just
In the clear current workable destination organization chassis resources quantity of resource user, the resource allocation application for initiating mistake is avoided,
Application is caused to fail.
Further, resource release commands are resource user at the end of destination organization chassis resources use, from resource
In the resource allocation catalogue shown on deployment platform, the destination organization chassis resources of selection, the resource release commands initiated.
Optionally, for the resource discharged, resource user can select in resource allocation catalogue,
Namely the use state according to the organization's resource shown in resource allocation catalogue, by use end, use state be make
Destination organization chassis resources are chosen, and resource allocation release command is initiated.
After resource allocation Platform Server recycles the destination organization chassis resources that resource user chooses, accordingly
, the information that destination organization chassis resources are corresponded in resource allocation catalogue will do it update, to guarantee the accuracy of resource information,
Improve resource bid efficiency.
Further, in above-mentioned steps S201, the information of organization's resource of at least one region is obtained, it may include:
The resource incoming end for receiving each region passes through the group loom for each region that organization's network link is transmitted
The information of structure resource.
Optionally, organization's resource information of each region can access unified resource allocation by resource receiver
Platform, wherein resource receiver may include resource incoming end and resource receiving end.
Optionally, above-mentioned each region can configure resource incoming end, correspondingly, resource allocation platform can configure money
Source receiving end, the resource incoming end of each region is by organization's network link, by respective existing organization's resource
Information is sent to resource allocation platform, wherein organization's resource information of each region can be sent in the form of resource packet
Resource allocation platform decompresses resource packet after resource packet is detected in the resource receiving end of resource allocation platform, obtains various regions
Organization's resource information in domain, and organization's resource information of each region is stored into universal resources administration pool and carries out unification
Management.
In conclusion resource allocation method provided by the embodiments of the present application, resource uses resource provider based on the received
The resource allocation application just sent sends resource to resource allocation Platform Server and recalls instruction, so that resource allocation platform
The state for the resource information that server can be provided according to the different resource provider stored in universal resources administration pool, from resource management
Destination organization chassis resources are recalled in pond, so that resource user is able to use the destination organization chassis resources.Wherein, lead to
It crosses resource allocation Platform Server and the resource of resource provider is managed collectively and is deployed, resource can be made to obtain sufficiently
It utilizes, improves resource utilization, avoid the repetition of resource from purchasing, reduce O&M cost.Furthermore it is also possible to according to resource pipe
The resource information in pond is managed, resource allocation catalogue is generated, in order to which resource user carries out checking for resource status, improves resource
Apply for efficiency.And after resource user is using resource, resource release commands can also be sent to resource provider, resource
Provider sends resource reclaim order according to the resource release commands and gives resource allocation Platform Server, thus to corresponding resource
It is recycled, to avoid the occupancy and waste of resource, guarantees the effective use of resource.
Fig. 4 is a kind of structural schematic diagram of resource allocation device provided by the embodiments of the present application, as shown in figure 4, the device
Include: the first receiving module 401, recall module 402;
First receiving module 401, the resource for receiving resource provider transmission recall instruction;Resource recalls instruction as money
Source provider resource according to transmitted by the resource allocation application that resource user initiates recalls instruction;Resource recalls instruction packet
It includes: the information of destination organization chassis resources;
Module 402 is recalled, for the information according to destination organization chassis resources, updates destination organization machine in universal resources administration pool
The resource status of structure resource is use state, and destination organization chassis resources are recalled from universal resources administration pool.
Further, as shown in figure 5, the device further include: obtain module 403, generation module 404;
Obtain module 403, the information of organization's resource for obtaining at least one region;
Generation module 404, for organization's resource information of at least one region to be added to universal resources administration pool, and it is raw
At resource allocation catalogue, resource allocation catalogue record has the information of organization's resource of at least one region.
Further, as shown in fig. 6, the device further include: display module 405;
Display module 405, for showing resource allocation catalogue in resource allocation platform;Resource allocation application is resource
User is according to resource use demand, from the resource allocation catalogue shown on resource allocation platform, the destination organization of selection
Chassis resources, the resource allocation application initiated.
Further, as shown in fig. 7, the device further include: the second receiving module 406, update module 407;
Second receiving module 406, for receiving resource reclaim order transmitted by resource provider, resource reclaim order is
Resource provider resource reclaim order according to transmitted by the resource release commands that resource user sends;Resource reclaim order packet
It includes: the information of destination organization chassis resources;
Update module 407, the state for updating destination organization chassis resources in universal resources administration pool are blank state.
Further, module 403 is obtained, the resource incoming end specifically for receiving each region passes through organization's network
The information of the organization's resource for each region that link is transmitted.
The method that above-mentioned apparatus is used to execute previous embodiment offer, it is similar that the realization principle and technical effect are similar, herein not
It repeats again.
The above module can be arranged to implement one or more integrated circuits of above method, such as: one
Or multiple specific integrated circuits (Application Specific Integrated Circuit, abbreviation ASIC), or, one
Or multi-microprocessor (digital singnal processor, abbreviation DSP), or, one or more field programmable gate
Array (Field Programmable Gate Array, abbreviation FPGA) etc..For another example, when some above module passes through processing elements
When the form of part scheduler program code is realized, which can be general processor, such as central processing unit (Central
Processing Unit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules can integrate
Together, it is realized in the form of system on chip (system-on-a-chip, abbreviation SOC).
Fig. 8 is the structural schematic diagram of another resource allocation device provided by the embodiments of the present application, which can integrate
In server, perhaps the chip of the server internal server can be the server for having resource allocation function or other meters
Calculate machine equipment.
The device includes: processor 701, memory 702.
Memory 702 is for storing program, the program that processor 701 calls memory 702 to store, to execute the above method
Embodiment.Specific implementation is similar with technical effect, and which is not described herein again.
Optionally, the present invention also provides a kind of program product, such as computer readable storage medium, including program, the journeys
Sequence is when being executed by processor for executing above method embodiment.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit
Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
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, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) or processor (English: processor) execute this hair
The part steps of bright each embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory
(English: Read-Only Memory, abbreviation: ROM), random access memory (English: Random Access Memory, letter
Claim: RAM), the various media that can store program code such as magnetic or disk.
Claims (10)
1. a kind of resource allocation method characterized by comprising
It receives the resource that resource provider is sent and recalls instruction;It is the resource provider according to resource that the resource, which recalls instruction,
Resource transmitted by the resource allocation application that user initiates recalls instruction;It includes: destination organization machine that the resource, which recalls instruction,
The information of structure resource;
According to the information of the destination organization chassis resources, the resource of destination organization chassis resources described in universal resources administration pool is updated
State is use state, and the destination organization chassis resources are recalled from the universal resources administration pool.
2. the method according to claim 1, wherein the resource for receiving resource provider transmission recalls instruction
Before, the method also includes:
Obtain the information of organization's resource of at least one region;
Organization's resource information of at least one region is added to the universal resources administration pool, and generates resource allocation mesh
Record, the resource allocation catalogue record have the information of organization's resource of at least one region.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
The resource allocation catalogue is shown on resource allocation platform;The resource allocation application is that the resource uses root
According to resource use demand, from the resource allocation catalogue shown on the resource allocation platform, the target of selection
Organization's resource, the resource allocation application initiated.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
Resource reclaim order transmitted by the resource provider is received, the resource reclaim order is the resource provider root
Resource reclaim order transmitted by the resource release commands sent according to the resource user;The resource reclaim order includes:
The information of the destination organization chassis resources;
The state for updating destination organization chassis resources described in the universal resources administration pool is blank state.
5. according to the method described in claim 3, it is characterized in that, the resource release commands are the resource user in institute
At the end of stating destination organization chassis resources use, from the resource allocation catalogue shown on the resource allocation platform,
The destination organization chassis resources of selection, the resource release commands initiated.
6. the method according to any one of claim 2-5, which is characterized in that at least one region described in the acquisition
The information of organization's resource, comprising:
The resource incoming end for receiving each region passes through the group loom for each region that organization's network link is transmitted
The information of structure resource.
7. a kind of resource allocation device characterized by comprising the first receiving module recalls module;
First receiving module, the resource for receiving resource provider transmission recall instruction;The resource recalls instruction
Resource provider resource according to transmitted by the resource allocation application that resource user initiates recalls instruction;The resource tune
Instruction includes: the information of destination organization chassis resources out;
It is described to recall module, for the information according to the destination organization chassis resources, update target described in universal resources administration pool
The resource status of organization's resource is use state, and the destination organization chassis resources are adjusted from the universal resources administration pool
Out.
8. device according to claim 7, which is characterized in that described device further include: obtain module, generation module;
The acquisition module, the information of organization's resource for obtaining at least one region;
The generation module, for organization's resource information of at least one region to be added to the resource management
Pond, and resource allocation catalogue is generated, the resource allocation catalogue record has organization's resource of at least one region
Information.
9. a kind of resource allocation equipment characterized by comprising processor, storage medium and bus, the storage medium storage
Have the program instruction that the processor is executable, when the operation of resource allocation equipment, the processor and the storage medium it
Between by bus communication, the processor executes described program instruction, executes as described in claim 1 to 6 is any when executing
Resource allocation method the step of.
10. a kind of storage medium, which is characterized in that be stored with computer program, the computer program on the storage medium
The step of resource allocation method as described in claim 1 to 6 is any is executed when being run by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910781494.4A CN110457139A (en) | 2019-08-22 | 2019-08-22 | Resource allocation method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910781494.4A CN110457139A (en) | 2019-08-22 | 2019-08-22 | Resource allocation method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110457139A true CN110457139A (en) | 2019-11-15 |
Family
ID=68488656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910781494.4A Pending CN110457139A (en) | 2019-08-22 | 2019-08-22 | Resource allocation method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110457139A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461744A (en) * | 2014-12-18 | 2015-03-25 | 曙光云计算技术有限公司 | Resource allocation method and device |
CN107025139A (en) * | 2017-03-21 | 2017-08-08 | 北京天云融创软件技术有限公司 | A kind of high-performance calculation Scheduling Framework based on cloud computing |
CN107566184A (en) * | 2017-09-22 | 2018-01-09 | 天翼电子商务有限公司 | A kind of resource unified management method and its system |
CN109558446A (en) * | 2018-12-13 | 2019-04-02 | 杭州数梦工场科技有限公司 | Job request method, apparatus, electronic equipment and storage medium |
CN109992418A (en) * | 2019-03-25 | 2019-07-09 | 华南理工大学 | The multi-tenant big data platform resource priority level scheduling method and system of SLA perception |
-
2019
- 2019-08-22 CN CN201910781494.4A patent/CN110457139A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461744A (en) * | 2014-12-18 | 2015-03-25 | 曙光云计算技术有限公司 | Resource allocation method and device |
CN107025139A (en) * | 2017-03-21 | 2017-08-08 | 北京天云融创软件技术有限公司 | A kind of high-performance calculation Scheduling Framework based on cloud computing |
CN107566184A (en) * | 2017-09-22 | 2018-01-09 | 天翼电子商务有限公司 | A kind of resource unified management method and its system |
CN109558446A (en) * | 2018-12-13 | 2019-04-02 | 杭州数梦工场科技有限公司 | Job request method, apparatus, electronic equipment and storage medium |
CN109992418A (en) * | 2019-03-25 | 2019-07-09 | 华南理工大学 | The multi-tenant big data platform resource priority level scheduling method and system of SLA perception |
Non-Patent Citations (1)
Title |
---|
蒋茜: "基于聚类蚁群算法的虚拟机资源分配算法研究", 《四川文理学院学报》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105103506B (en) | For the method and system for the non-homogeneous bandwidth request allocation bandwidth in system for cloud computing | |
CN108614726B (en) | Virtual machine creation method and device | |
CN111741026B (en) | Cross-chain transaction request processing method, device, equipment and storage medium | |
CN111966500B (en) | Resource scheduling method and device, electronic equipment and storage medium | |
CN104601680B (en) | A kind of method for managing resource and device | |
CN105897484A (en) | Traffic management device, server and method | |
CN109062658A (en) | Realize dispatching method, device, medium, equipment and the system of computing resource serviceization | |
CN105094997B (en) | Physical memory sharing method and system between a kind of cloud computing host node | |
CN108370328B (en) | Management method and device of NFV MANO policy descriptor | |
CN104246741A (en) | Orchestrating hybrid cloud services | |
CN106201661A (en) | Method and apparatus for elastic telescopic cluster virtual machine | |
CN110162388A (en) | A kind of method for scheduling task, system and terminal device | |
CN103096030B (en) | A kind of video monitoring multi-service fusion platform and solution | |
CN105580407A (en) | Network resource deployment method and device | |
CN109472441B (en) | Method, processing device, equipment and storage medium for allocating materials | |
CN111859027A (en) | Graph calculation method and device | |
CN108536723B (en) | Distribution power network GIS electric wire figure multiplexing list cooperates with drafting method and device | |
CN109803281A (en) | Management method, equipment and the system of network service | |
CN106973377B (en) | The control method and control device and management equipment and terminal of data communication | |
CN110213304A (en) | A kind of block chain network interconnected method and system | |
CN103780686A (en) | Method and system for customizing application approval procedure in cloud organization | |
CN109462508A (en) | Node deployment method, device and storage medium | |
CN106161603A (en) | A kind of method of networking, equipment and framework | |
CN110795202B (en) | Resource allocation method and device of virtualized cluster resource management system | |
CN110457139A (en) | Resource allocation method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191115 |