CN107171976A - A kind of method and apparatus for realizing resource reservation - Google Patents

A kind of method and apparatus for realizing resource reservation Download PDF

Info

Publication number
CN107171976A
CN107171976A CN201610127439.XA CN201610127439A CN107171976A CN 107171976 A CN107171976 A CN 107171976A CN 201610127439 A CN201610127439 A CN 201610127439A CN 107171976 A CN107171976 A CN 107171976A
Authority
CN
China
Prior art keywords
resource
user
state
data center
service device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610127439.XA
Other languages
Chinese (zh)
Other versions
CN107171976B (en
Inventor
童遥
申光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610127439.XA priority Critical patent/CN107171976B/en
Priority to PCT/CN2017/075199 priority patent/WO2017152797A1/en
Publication of CN107171976A publication Critical patent/CN107171976A/en
Application granted granted Critical
Publication of CN107171976B publication Critical patent/CN107171976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup
    • H04L47/724Admission control; Resource allocation using reservation actions during connection setup at intermediate nodes, e.g. resource reservation protocol [RSVP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A kind of method and apparatus for realizing resource reservation, including:Federated service device receives the reservation request from user, obtains the available resources in multiple data centers;Federated service device judges that, in the absence of the data center for meeting preparatory condition, reservation request is decomposed into the corresponding simple reservation request of multiple data centers by the available resources in multiple data centers of acquisition;Wherein, available resources of the preparatory condition including data center include whole resources in reservation request;Each simple reservation request is sent to the server of corresponding data center by federated service device;Federated service device returns to the resource of the distribution of the server from multiple data centers received to user.

Description

A kind of method and apparatus for realizing resource reservation
Technical field
Present document relates to but be not limited to cloud computing technology and virtualization technology, espespecially a kind of resource reservation of realizing Method and apparatus.
Background technology
As one of current most popular distributed computing, there is provided one kind for network (Web) service It is unrelated with operating system, unrelated with programming language, unrelated with machine type, unrelated with running environment Open platform, realize the cooperations of Internet resources with it is shared.The integrated resource of cloud computing platform is more with Web The form of service is provided a user, and many calculating tasks generally require substantial amounts of computing resource (including center Processor (CPU, Central Processing Unit) resource and memory source) and storage resource collaboration work Make to complete, efficiently control and ensure service quality (QoS, the Quality of of this kind of calculating task Service one of important issue that cloud computing faces) is turned into.Because resource is obtained under cloud computing environment Property and performance dynamic change, the set aside some time availability and performance of resource in section of future be difficult to be protected Card, therefore, is incorporated into the advance reservation of resource as a kind of QoS security mechanism under cloud computing environment Challenge.Global network forum (GGF, Global Grid Forum) determines resource advance reservation Justice is:User and Resource Owner by consulting, at the appointed time obtained in section to the restricted of resource Access rights.In fact, advance reservation can be regarded as a kind of promise of cloud computing platform, when specified Between can obtain the service of specified level in section.
In correlation technique, realize that the method for resource reservation is generally comprised:
The management server of data center receives the reservation request from user, judges in data center Available resources in there are whole resources in reservation request, from available resources for user resource allocation simultaneously The resource of distribution is returned to user.
In correlation technique, when judge in the available resources in data center be not present reservation request in it is complete During portion's resource, management server to user return refuse information so that data center in inadequate resource, The reject rate of reservation request is higher.
The content of the invention
The embodiment of the present invention proposes a kind of method and apparatus for realizing resource reservation, can reduce reserved ask The reject rate asked.
The embodiment of the present invention proposes a kind of method for realizing resource reservation, including:
Federated service device receives the reservation request from user, obtains the available money in multiple data centers Source;
Federated service device is judged the data center for meeting preparatory condition is not present, according to many numbers of acquisition Reservation request is decomposed into the corresponding simple reservation request of multiple data centers according to the available resources in center; Wherein, available resources of the preparatory condition including data center include whole resources in reservation request;
Each simple reservation request is sent to the server of corresponding data center by federated service device;
Federated service device returns to the money of the distribution of the server from multiple data centers received to user Source.
Optionally, this method also includes:
When the federated service device judges to exist the one or more data centers for meeting the preparatory condition When, reservation request is sent to one in the data center for meeting the preparatory condition by the federated service device Individual server;
The federated service device to the user return receive from the data for meeting preparatory condition The resource of the distribution of the server of one in center.
Optionally, reservation request is sent in the data center for meeting preparatory condition by the federated service device The server of one include:
The federated service device is according to formulaCalculate the deviation of each data center Degree, the reservation request is sent to the server for calculating the minimum data center of obtained extent of deviation;
Wherein, ε 1 is the extent of deviation, the demand ginseng that m1 includes for the resource in the reservation request Several numbers, q1i1For the i-th 1 demand parameters, r1 of the resource in the data centeri1Reserved to be described The i-th 1 demand parameters of resource in request.
Optionally, this method also includes:
The advance reservation state of the user is changed to predetermined state by the federated service device.
Optionally, this method also includes:
The federated service device is returned to the user after the resource of the distribution, is generated reserving message and is put Enter in reserved queue;
When reaching the reserved time started in the reserving message, the federated service device is judged described The resource distributed in reserving message be can use, and the advance reservation state of the user is changed into active state, Notify user to bind required resource, notify the data center of distribution resource to distribute to the money of the user Source is set to unavailable.
Optionally, this method also includes:
Part or all of money in the federated service device judges the resource distributed in the reserving message When source is unavailable, the federated service device continue executing with it is described obtain in one or more data centers can The step of using resource.
Optionally, this method also includes:
When reaching the reserved end time in the reserving message, the federated service device is by the user Advance reservation state be changed to completion status, and notify the data center's release for distributing resource to distribute to institute State the resource of user;
Or, when the federated service device judges to meet preset termination condition, the federated service device The advance reservation state of the user is changed to final state, and notifies the data center for distributing resource to release Put the resource for distributing to the user.
Optionally, this method also includes:
The federated service device receives the modification reservation request from the user, continues executing with acquisition one The step of available resources in individual or multiple data centers.
Optionally, this method also includes:
The federated service device is received after the modification reservation request from the user, by the user's Advance reservation state is changed to predetermined weight negotiation state or actively weighs negotiation state;
After the resource that the federated service device is distributed after being renegotiated to user return, by the user Advance reservation state be changed to predetermined state or active state.
Optionally, this method also includes:
The federated service device receives the revocation request from the user, by the pre- in advance of the user Stay state to be changed to revocation state, and notify the data center's release for distributing resource to distribute to the user's Resource.
The embodiment of the present invention also proposed a kind of device for realizing resource reservation, including:
Acquisition module, for receiving the reservation request from user, obtain in multiple data centers can Use resource;Receive the resource of the distribution of the server from multiple data centers;
Processing module, for judging the data center for meeting preparatory condition is not present, according to many of acquisition Reservation request is decomposed into corresponding simple reserve of multiple data centers by the available resources in individual data center please Ask;Wherein, available resources of the preparatory condition including data center include whole resources in reservation request; Each simple reservation request is sent to the server of corresponding data center;
Module is returned to, the distribution for returning to the server from multiple data centers received to user Resource.
Optionally, the processing module is additionally operable to:
When judging to exist the one or more data centers for meeting the preparatory condition, the joint clothes Reservation request is sent to the server of one in the data center for meeting the preparatory condition by business device;
The acquisition module is additionally operable to:
Receive the money of the distribution of the server of one in the data center for meeting preparatory condition Source;
The return module is additionally operable to:
One's in the data center for meeting preparatory condition received to user return The resource of the distribution of server.
Optionally, the processing module is additionally operable to:
The advance reservation state of the user is changed to predetermined state.
Optionally, the return module is additionally operable to:
After the resource that the distribution is returned to the user, the first notification message is sent to the processing module;
The processing module is additionally operable to:
The first notification message is received, reserving message is generated and is put into reserved queue;When described reserve disappears When the reserved time started in breath reaches, judge that the resource distributed in the reserving message can use, will The advance reservation state of the user is changed to active state and notifies user to bind required resource, notifies to divide The resource for distributing to the user is set to unavailable by the data center with resource.
Optionally, the processing module is additionally operable to:
When the part or all of resource in the resource for judging to distribute in the reserving message is unavailable, to The acquisition module sends second notification message;
The acquisition module is additionally operable to:
The second notification message is received, described obtain in one or more data centers is continued executing with The step of available resources.
Optionally, the processing module is additionally operable to:
When reaching the reserved end time in the reserving message, by the advance reservation state of the user Completion status is changed to, and notifies the data center's release for distributing resource to distribute to the resource of the user;
Or, when the federated service device judges to meet preset termination condition, by carrying for the user Preceding reservation state is changed to final state, and notifies the data center's release for distributing resource to distribute to the use The resource at family.
Optionally, the acquisition module is additionally operable to:
The modification reservation request from the user is received, is continued executing with the one or more data of acquisition The step of available resources in the heart.
Optionally, the acquisition module is additionally operable to:
Receive after the modification reservation request from the user, third notice is sent to the processing module Message;
The return module is additionally operable to:
Returned to the user after the resource distributed after renegotiating, four-way is sent to the processing module Know message;
The processing module is additionally operable to:
The third notice message is received, the advance reservation state of the user is changed to make a reservation for assist again Business's state actively weighs negotiation state;The 4th notification message is received, by the pre- in advance of the user State is stayed to be changed to predetermined state or active state.
Optionally, the acquisition module is additionally operable to:
The revocation request from the user is received, the 5th notification message is sent to the processing module;
The processing module is additionally operable to:
The 5th notification message is received, the advance reservation state of the user is changed to revocation state, And notify the data center's release for distributing resource to distribute to the resource of the user.
Compared with correlation technique, the technical scheme of the embodiment of the present invention includes:Federated service device, which is received, to be come From the reservation request of user, the available resources in multiple data centers are obtained;Federated service device is judged not In the presence of the data center for meeting preparatory condition, the available resources in multiple data centers of acquisition will be pre- Request is stayed to be decomposed into the corresponding simple reservation request of multiple data centers;Wherein, preparatory condition includes data The available resources at center include whole resources in reservation request;Federated service device is simple pre- by each Request is stayed to be sent to the server of corresponding data center;Federated service device returns to what is received to user From the resource of the distribution of the server of multiple data centers.By the scheme of the embodiment of the present invention, pass through connection Hop server realizes the request of the available resources of multiple data centers, when a data center resource is not enough, It is user resource allocation from multiple data centers, reduces the reject rate of reservation request.
Brief description of the drawings
The accompanying drawing in the embodiment of the present invention is illustrated below, the accompanying drawing in embodiment is used for this hair Bright further understands, and is used to explain the present invention together with specification, does not constitute to present invention protection model The limitation enclosed.
Fig. 1 is the flow chart for the method that the embodiment of the present invention realizes resource reservation;
Fig. 2 is the structure composition schematic diagram for the system that the embodiment of the present invention realizes resource reservation;
Fig. 3 is the advance reservation state change schematic diagram of user of the embodiment of the present invention;
Fig. 4 realizes the structure composition schematic diagram of the device of resource reservation for the present invention.
Embodiment
For the ease of the understanding of those skilled in the art, present invention work is further retouched below in conjunction with the accompanying drawings State, can not be used for limiting the scope of the invention.It should be noted that in the case where not conflicting, The various modes in embodiment and embodiment in the application can be mutually combined.
Referring to Fig. 1, the embodiment of the present invention proposes a kind of method for realizing resource reservation, including:
Step 100, federated service device receive the reservation request from user, obtain multiple data centers In available resources.
In this step, reservation request includes:Reserved time started, reserved end time, QoS demand ginseng The reserved resource of number, request.
Wherein, QoS demand parameter includes the service level that user wishes to reach, i.e. each resource correspondence Demand parameter.For example, virtual cpu check figure, memory size, disk space, network interface card number, port number, The network bandwidth, Internet protocol (IP, Internet Protocol) address, media access control (MAC, Media Access Control) address etc..
Wherein, reserved resource is asked to include any one or more following:Computing resource, storage money Source, Internet resources etc..
Wherein, computing resource includes central processing unit (CPU, Center Process Unit) resource and interior Resource is deposited, Internet resources are including network bandwidth resources etc..
In this step, Fig. 2 is the structure composition schematic diagram for the system that the embodiment of the present invention realizes resource reservation. As shown in Fig. 2 federated service device can be obtained in one or more data centers from global information center Available resources, specifically can using to global information center send query available resources instruction by the way of To obtain.Wherein, global information center can be a server.
Federated service device can also obtain the available resources in data center from each data center.Tool Body can be obtained by the way of the instruction of query available resources is sent to each data center, and right The available resources of each data center are integrated.
Each data center includes the equipment where server and one or more resources.In each number According in center, virtual resource container (VRC, Virtual can be used in the server of data center Resource Container) resource of identical type is sorted out, virtual resource list is formed, virtually Each list item in the Resources list includes the upstate of each resource, i.e., this kind resource is currently It is no available.
Being dynamically added and exiting for automatic detection resource is capable of in each data center, such as where resource Startup and closing of equipment etc..When detecting when being dynamically added and exiting of resource, the service of data center Device automatically updates the virtual resource list in VRC.
VRC by the instructions of query available resources of the advance reservation interface from federated service device, and The available resource of itself is returned to by federated service device by advance reservation interface.
Step 101, federated service device, which are judged to be not present, meets the data center of preparatory condition, according to obtaining Multiple data centers in available resources that reservation request is decomposed into multiple data centers is corresponding simple Reservation request.
In this step, the available resources that preparatory condition includes data center include the whole in reservation request Resource.
In this step, simple reservation request includes:Reserved time started, reserved end time, QoS are needed The resource for asking parameter, request reserved.
Wherein, reserved resource is asked in simple reservation request to ask reserved resource in reservation request A part.
In this step, reservation request is decomposed into many by the available resources in multiple data centers of acquisition During the corresponding simple reservation request of individual data center, the species difference of resource that can be in reservation request Check in each data center whether there are available resources.For example, reservation request include computing resource, Storage resource, Internet resources, then can decompose many three simple reservation requests by reservation request, be respectively The corresponding simple reservation request of computing resource, the corresponding simple reservation request of storage resource, Internet resources pair The simple reservation request answered, then the available resources in each data center judge each data Whether center has the computing resource, the storage resource of available request, available request of available request Internet resources, if so, the simple reservation request after decomposition then is sent into corresponding data center.
For the resource asked in each simple reservation request, if multiple data centers have available Request resource, can be according to formulaCalculate one kind of each data center The extent of deviation of resource;Simple reservation request is sent to and calculated in the minimum data of obtained extent of deviation The heart.
Wherein, ε 2 is the extent of deviation, the need that m2 includes for a kind of resource in the reservation request Ask the number of parameter, q2i2For the i-th 2 demand parameters, r2 of a kind of resource in the data centeri2 For a kind of the i-th 2 demand parameters of resource in the reservation request.
For example, the demand parameter of computing resource includes CPU core number and memory size, then m takes 2, storage The demand parameter of resource includes storage size, then m takes 1.
Each simple reservation request is sent to corresponding data center by step 102, federated service device Server.
In this step, the server of each data center is received after simple reservation request, is user point With reserved resource is asked in simple reservation request, the resource of distribution is returned into federated service device.
Step 103, federated service device return to the server from multiple data centers received to user Distribution resource.
By the scheme of the embodiment of the present invention, the available money of multiple data centers is realized by federated service device The request in source, is user resource allocation from multiple data centers when a data center resource is not enough, Reduce the reject rate of reservation request.
Optionally, this method also includes:
When federated service device judges to exist the one or more data centers for meeting preparatory condition, joint Reservation request is sent to the server of one in the data center for meeting preparatory condition by server;Joint Server to user return receive from the server of one met in the data center of preparatory condition Distribution resource.
Wherein it is possible to which reservation request to be sent to any one clothes in the data center for meeting preparatory condition It is engaged in device, reservation request can also be sent to idling-resource in the data center for meet preparatory condition most One data center.
Or, federated service device is according to formulaCalculate the inclined of each data center Poor degree, the reservation request is sent to the service for calculating the minimum data center of obtained extent of deviation Device;
Wherein, ε 1 is the extent of deviation, the demand ginseng that m1 includes for the resource in the reservation request Several numbers, q1i1For the i-th 1 demand parameters, r1 of the resource in the data centeri1Reserved to be described The i-th 1 demand parameters of resource in request.
Optionally, this method also includes:
When federated service device receives the reservation request from user, the advance reservation state of user is set For request reservation negotiation state;Federated service device is returned to user after the resource of distribution, by shifting to an earlier date for user Reservation state is changed to predetermined state.
Fig. 3 is the advance reservation state change schematic diagram of user of the embodiment of the present invention.As shown in figure 3, working as When federated service device receives the reservation request from user, the advance reservation state of user is reserved for request Negotiation state;Federated service device is returned to user after the resource of distribution, i.e. successful negotiation, and user's shifts to an earlier date Reservation state is changed to predetermined state.
Optionally, this method also includes:
Federated service device is returned to user after the resource of distribution, is generated reserving message and is put into reserved queue; When reaching the reserved time started in reserving message, federated service device judges what is distributed in reserving message Resource be can use, and the advance reservation state of user is changed into active state, needed for notifying that user has bound Resource, notifies the resource for distributing to the user is set to by the server for distributing resource unavailable.
Optionally, when reaching the reserved time started in reserving message, if it is judged that user is current Advance reservation state is predetermined state, then judges whether the resource distributed in reserving message can use, and continue Perform follow-up process.
Wherein, if it is judged that the current advance reservation state of user is final state or revocation state, then Terminate this flow.
As shown in figure 3, when the reserved time started reaches, the advance reservation Status Change of user is to enliven shape State.
Wherein, reserving message include the reserved time started, it is the reserved end time, QoS demand parameter, pre- Stay type, reserved mark, the resource of each data center distribution.
Wherein, it is simple reserving message or joint reserving message, letter that reservation types, which define reserving message, The resource of single reserving message Zhi Xuyige data centers can be completed, and joint reserving message then needs multiple data The resource coordinating at center is completed.
The reserved federated service device that is designated returns to the mark distributed after the resource of distribution for user to user.
Wherein, when reaching the reserved time started in reserving message, federated service device reacquires each Whether the individual available resource of data center, may be used according to the resource that the available resource judgment regained is distributed With, i.e., searched whether in the available resource regained in the presence of distribution resource.
After the above method, federated service device can be improved using parallel method processing reservation request Processing speed, so as to improve the Experience Degree of user.
Optionally, this method also includes:
Part or all of resource in federated service device judges the resource distributed in reserving message is unavailable When, federated service device continues executing with the step of obtaining the available resources in one or more data centers.
Optionally, this method also includes:
When reaching the reserved end time in reserving message, the extraction of user is reserved shape by federated service device State is changed to completion status, and notifies the data center's release for distributing resource to distribute to the resource of user;
Or, when federated service device judges to meet preset termination condition, federated service device is by user's Advance reservation state is changed to final state, and notifies the data center's release for distributing resource to distribute to user Resource.
Wherein, federated service device judges that meeting preset termination condition includes:
Federated service device receives the termination request from user.
Or, end condition can be set in federated service device in advance, when meeting, then by user's Advance reservation state is changed to final state.End condition can be any condition.
Optionally, this method also includes:
Federated service device receives the modification reservation request from user, continues executing with acquisition one or more The step of available resources in data center.
Wherein, in the data center for judging whether to meet preparatory condition, data center should be judged Whether whole resources in modification reservation request are included in available resources.
Optionally, this method also includes:
Federated service device is received after the modification reservation request from user, by the advance reservation state of user It is changed to predetermined weight negotiation state or actively weighs negotiation state;Federated service device is returned to user and renegotiated After the resource distributed afterwards, the advance reservation state of user is changed to predetermined state or active state.
Specifically, when the advance reservation state of user, in federated service device to receive the modification from user pre- When staying before request as predetermined state, federated service device is received after the modification reservation request from user, The advance reservation state of user is changed to predetermined weight negotiation state;Federated service device is returned again to user After the resource distributed after negotiation, the advance reservation state of user is changed to predetermined state.
When user advance reservation state federated service device receive the modification reservation request from user it It is preceding be active state when, federated service device is received after the modification reservation request from user, by user's Advance reservation state is changed to active heavy negotiation state;Federated service device divides after being renegotiated to user's return After the resource matched somebody with somebody, the advance reservation state of user is changed to active state.
Optionally, this method also includes:
Federated service device receives the revocation request from user, and the advance reservation state of user is changed to Revocation state, and notify the data center's release for distributing resource to distribute to the resource of the user.
Optionally, this method also includes:
When federated service device judges that the available resources of all data centers do not include the whole in reservation request During resource, federated service device returns to refuse information to user.
Optionally, the advance reservation state of user is changed to disarmed state by federated service device.
Referring to Fig. 4, the embodiment of the present invention also proposed a kind of device for realizing resource reservation, including:
Acquisition module, for receiving the reservation request from user, obtain in multiple data centers can Use resource;Receive the resource of the distribution of the server from multiple data centers;
Processing module, for judging the data center for meeting preparatory condition is not present, according to many of acquisition Reservation request is decomposed into corresponding simple reserve of multiple data centers by the available resources in individual data center please Ask;Wherein, available resources of the preparatory condition including data center include whole resources in reservation request; Each simple reservation request is sent to the server of corresponding data center;
Module is returned to, the distribution for returning to the server from multiple data centers received to user Resource.
In the device of the embodiment of the present invention, processing module is additionally operable to:
When judging to exist the one or more data centers for meeting preparatory condition, federated service device will be pre- Stay the server of one that request is sent in the data center for meeting preparatory condition;
Acquisition module is additionally operable to:
Receive the resource of the distribution from the server of one met in the data center of preparatory condition;
Module is returned to be additionally operable to:
Returned to user receive from the server of one met in the data center of preparatory condition The resource of distribution.
In the device of the embodiment of the present invention, processing module is additionally operable to:
The advance reservation state of user is changed to predetermined state.
In the device of the embodiment of the present invention, return to module and be additionally operable to:
After the resource that distribution is returned to user, the first notification message is sent to processing module;
Processing module is additionally operable to:
The first notification message is received, reserving message is generated and is put into reserved queue;When in reserving message Reserved time started when reaching, judge that the resource distributed in reserving message can use, by carrying for user Preceding reservation state is changed to active state, notifies user to bind required resource, notifies the number of distribution resource The resource for distributing to the user is set to according to center unavailable.
In the device of the embodiment of the present invention, processing module is additionally operable to:
When the part or all of resource in the resource for judging to distribute in reserving message is unavailable, to acquisition Module sends second notification message;
Acquisition module is additionally operable to:
Second notification message is received, the available resources obtained in one or more data centers are continued executing with The step of.
In the device of the embodiment of the present invention, processing module is additionally operable to:
When reaching the reserved end time in reserving message, the advance reservation state of user has been changed to Into state, and the data center's release for distributing resource is notified to distribute to the resource of the user;
Or, when federated service device judges to meet preset termination condition, by the advance reservation shape of user State is changed to final state, and notifies the data center's release for distributing resource to distribute to the resource of the user.
In the device of the embodiment of the present invention, acquisition module is additionally operable to:
The modification reservation request from user is received, is continued executing with the one or more data centers of acquisition Available resources the step of.
In the device of the embodiment of the present invention, acquisition module is additionally operable to:
Receive after the modification reservation request from user, third notice message is sent to processing module;
Module is returned to be additionally operable to:
Returned to user after the resource distributed after renegotiating, the 4th notification message is sent to processing module;
Processing module is additionally operable to:
Receive third notice message, by the advance reservation state of user be changed to predetermined weight negotiation state or Actively weigh negotiation state;The 4th notification message is received, the advance reservation state of user is changed to make a reservation for State or active state.
In the device of the embodiment of the present invention, acquisition module is additionally operable to:
The revocation request from user is received, the 5th notification message is sent to processing module;
Processing module is additionally operable to:
The 5th notification message is received, the advance reservation state of user revocation state is changed to, and notify The resource of the user is distributed in data center's release of distribution resource.
It should be noted that embodiment described above be for only for ease of it will be understood by those skilled in the art that , the protection domain being not intended to limit the invention, in the premise for the inventive concept for not departing from the present invention Under, any obvious replacement and improvement that those skilled in the art are made to the present invention etc. is at this Within the protection domain of invention.

Claims (19)

1. a kind of method for realizing resource reservation, it is characterised in that including:
Federated service device receives the reservation request from user, obtains the available money in multiple data centers Source;
Federated service device is judged the data center for meeting preparatory condition is not present, according to many numbers of acquisition Reservation request is decomposed into the corresponding simple reservation request of multiple data centers according to the available resources in center; Wherein, available resources of the preparatory condition including data center include whole resources in reservation request;
Each simple reservation request is sent to the server of corresponding data center by federated service device;
Federated service device returns to the money of the distribution of the server from multiple data centers received to user Source.
2. according to the method described in claim 1, it is characterised in that this method also includes:
When the federated service device judges to exist the one or more data centers for meeting the preparatory condition When, reservation request is sent to one in the data center for meeting the preparatory condition by the federated service device Individual server;
The federated service device to the user return receive from the data for meeting preparatory condition The resource of the distribution of the server of one in center.
3. method according to claim 2, it is characterised in that the federated service device reserved will be asked Seeking the server of one in the data center for being sent to and meeting preparatory condition includes:
The federated service device is according to formulaCalculate the deviation of each data center Degree, the reservation request is sent to the server for calculating the minimum data center of obtained extent of deviation;
Wherein, ε 1 is the extent of deviation, the demand ginseng that m1 includes for the resource in the reservation request Several numbers, q1i1For the i-th 1 demand parameters, r1 of the resource in the data centeri1Reserved to be described The i-th 1 demand parameters of resource in request.
4. method according to claim 1 or 2, it is characterised in that this method also includes:
The advance reservation state of the user is changed to predetermined state by the federated service device.
5. method according to claim 1 or 2, it is characterised in that this method also includes:
The federated service device is returned to the user after the resource of the distribution, is generated reserving message and is put Enter in reserved queue;
When reaching the reserved time started in the reserving message, the federated service device is judged described The resource distributed in reserving message be can use, and the advance reservation state of the user is changed into active state, Notify user to bind required resource, notify the data center of distribution resource to distribute to the money of the user Source is set to unavailable.
6. method according to claim 5, it is characterised in that this method also includes:
Part or all of money in the federated service device judges the resource distributed in the reserving message When source is unavailable, the federated service device continue executing with it is described obtain in one or more data centers can The step of using resource.
7. method according to claim 5, it is characterised in that this method also includes:
When reaching the reserved end time in the reserving message, the federated service device is by the user Advance reservation state be changed to completion status, and notify the data center's release for distributing resource to distribute to institute State the resource of user;
Or, when the federated service device judges to meet preset termination condition, the federated service device The advance reservation state of the user is changed to final state, and notifies the data center for distributing resource to release Put the resource for distributing to the user.
8. method according to claim 1 or 2, it is characterised in that this method also includes:
The federated service device receives the modification reservation request from the user, continues executing with acquisition one The step of available resources in individual or multiple data centers.
9. method according to claim 8, it is characterised in that this method also includes:
The federated service device is received after the modification reservation request from the user, by the user's Advance reservation state is changed to predetermined weight negotiation state or actively weighs negotiation state;
After the resource that the federated service device is distributed after being renegotiated to user return, by the user Advance reservation state be changed to predetermined state or active state.
10. method according to claim 1 or 2, it is characterised in that this method also includes:
The federated service device receives the revocation request from the user, by the pre- in advance of the user Stay state to be changed to revocation state, and notify the data center's release for distributing resource to distribute to the user's Resource.
11. a kind of device for realizing resource reservation, it is characterised in that including:
Acquisition module, for receiving the reservation request from user, obtain in multiple data centers can Use resource;Receive the resource of the distribution of the server from multiple data centers;
Processing module, for judging the data center for meeting preparatory condition is not present, according to many of acquisition Reservation request is decomposed into corresponding simple reserve of multiple data centers by the available resources in individual data center please Ask;Wherein, available resources of the preparatory condition including data center include whole resources in reservation request; Each simple reservation request is sent to the server of corresponding data center;
Module is returned to, the distribution for returning to the server from multiple data centers received to user Resource.
12. device according to claim 11, it is characterised in that the processing module is additionally operable to:
When judging to exist the one or more data centers for meeting the preparatory condition, the joint clothes Reservation request is sent to the server of one in the data center for meeting the preparatory condition by business device;
The acquisition module is additionally operable to:
Receive the money of the distribution of the server of one in the data center for meeting preparatory condition Source;
The return module is additionally operable to:
One's in the data center for meeting preparatory condition received to user return The resource of the distribution of server.
13. the device according to claim 11 or 12, it is characterised in that the processing module is also For:
The advance reservation state of the user is changed to predetermined state.
14. the device according to claim 11 or 12, it is characterised in that the return module is also For:
After the resource that the distribution is returned to the user, the first notification message is sent to the processing module;
The processing module is additionally operable to:
The first notification message is received, reserving message is generated and is put into reserved queue;When described reserve disappears When the reserved time started in breath reaches, judge that the resource distributed in the reserving message can use, will The advance reservation state of the user is changed to active state and notifies user to bind required resource, notifies to divide The resource for distributing to the user is set to unavailable by the data center with resource.
15. device according to claim 14, it is characterised in that the processing module is additionally operable to:
When the part or all of resource in the resource for judging to distribute in the reserving message is unavailable, to The acquisition module sends second notification message;
The acquisition module is additionally operable to:
The second notification message is received, described obtain in one or more data centers is continued executing with The step of available resources.
16. device according to claim 14, it is characterised in that the processing module is additionally operable to:
When reaching the reserved end time in the reserving message, by the advance reservation state of the user Completion status is changed to, and notifies the data center's release for distributing resource to distribute to the resource of the user;
Or, when the federated service device judges to meet preset termination condition, by carrying for the user Preceding reservation state is changed to final state, and notifies the data center's release for distributing resource to distribute to the use The resource at family.
17. the device according to claim 11 or 12, it is characterised in that the acquisition module is also For:
The modification reservation request from the user is received, is continued executing with the one or more data of acquisition The step of available resources in the heart.
18. device according to claim 17, it is characterised in that the acquisition module is additionally operable to:
Receive after the modification reservation request from the user, third notice is sent to the processing module Message;
The return module is additionally operable to:
Returned to the user after the resource distributed after renegotiating, four-way is sent to the processing module Know message;
The processing module is additionally operable to:
The third notice message is received, the advance reservation state of the user is changed to make a reservation for assist again Business's state actively weighs negotiation state;The 4th notification message is received, by the pre- in advance of the user State is stayed to be changed to predetermined state or active state.
19. the method according to claim 11 or 12, it is characterised in that the acquisition module is also For:
The revocation request from the user is received, the 5th notification message is sent to the processing module;
The processing module is additionally operable to:
The 5th notification message is received, the advance reservation state of the user is changed to revocation state, And notify the data center's release for distributing resource to distribute to the resource of the user.
CN201610127439.XA 2016-03-07 2016-03-07 Method and device for realizing resource reservation Active CN107171976B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610127439.XA CN107171976B (en) 2016-03-07 2016-03-07 Method and device for realizing resource reservation
PCT/CN2017/075199 WO2017152797A1 (en) 2016-03-07 2017-02-28 Method and device for resource reservation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610127439.XA CN107171976B (en) 2016-03-07 2016-03-07 Method and device for realizing resource reservation

Publications (2)

Publication Number Publication Date
CN107171976A true CN107171976A (en) 2017-09-15
CN107171976B CN107171976B (en) 2022-03-25

Family

ID=59788959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610127439.XA Active CN107171976B (en) 2016-03-07 2016-03-07 Method and device for realizing resource reservation

Country Status (2)

Country Link
CN (1) CN107171976B (en)
WO (1) WO2017152797A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532092A (en) * 2019-08-21 2019-12-03 云湾科技(嘉兴)有限公司 Reso urce matching method, device and equipment
CN115499388A (en) * 2022-08-30 2022-12-20 阿里巴巴(中国)有限公司 Virtual host resource allocation method, device, equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784335B (en) * 2019-09-19 2022-09-02 烽火通信科技股份有限公司 Network element resource reservation system under cloud scene
CN113127185B (en) * 2019-12-31 2023-11-10 北京懿医云科技有限公司 Task execution queue processing method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030154112A1 (en) * 2002-02-08 2003-08-14 Steven Neiman System and method for allocating computing resources
CN101485216A (en) * 2006-05-12 2009-07-15 松下电器产业株式会社 Reservation of radio resources for users in a mobile communications system
CN101783768A (en) * 2010-03-08 2010-07-21 东南大学 Quantity assurance method of grid service based on resource reservation
CN102014159A (en) * 2010-11-29 2011-04-13 华中科技大学 Layered resource reservation system under cloud computing environment
CN102929687A (en) * 2012-10-12 2013-02-13 山东省计算中心 Energy-saving virtual machine placement method for cloud computing data center

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301391B (en) * 2014-09-19 2019-02-22 北京邮电大学 Multi-area optical network data center resource virtualizes mapping method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030154112A1 (en) * 2002-02-08 2003-08-14 Steven Neiman System and method for allocating computing resources
CN101485216A (en) * 2006-05-12 2009-07-15 松下电器产业株式会社 Reservation of radio resources for users in a mobile communications system
CN101783768A (en) * 2010-03-08 2010-07-21 东南大学 Quantity assurance method of grid service based on resource reservation
CN102014159A (en) * 2010-11-29 2011-04-13 华中科技大学 Layered resource reservation system under cloud computing environment
CN102929687A (en) * 2012-10-12 2013-02-13 山东省计算中心 Energy-saving virtual machine placement method for cloud computing data center

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532092A (en) * 2019-08-21 2019-12-03 云湾科技(嘉兴)有限公司 Reso urce matching method, device and equipment
CN115499388A (en) * 2022-08-30 2022-12-20 阿里巴巴(中国)有限公司 Virtual host resource allocation method, device, equipment and storage medium
CN115499388B (en) * 2022-08-30 2024-04-12 阿里巴巴(中国)有限公司 Virtual host resource allocation method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2017152797A1 (en) 2017-09-14
CN107171976B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN105103507B (en) The method and device of network function virtualization
CN105979009B (en) A kind of increase load automatic balancing method for cloud application container
EP3313023B1 (en) Life cycle management method and apparatus
CN107431637B (en) Network service deployment method and device
CN107087019A (en) A kind of end cloud cooperated computing framework and task scheduling apparatus and method
CN107995215A (en) Control method, device and the cloud platform server of smart home device
CN105335229B (en) Scheduling method and device of service resources
Surridge et al. Experiences with gria-industrial applications on a web services grid
CN107171976A (en) A kind of method and apparatus for realizing resource reservation
DE112017001762T5 (en) TECHNOLOGIES FOR THE USE OF DYNAMIC UNDERLAY NETWORKS IN CLOUD COMPUTING INFRASTRUCTURES
CN106445473B (en) container deployment method and device
EP3062479B1 (en) Security service customizing method and apparatus
US20070180453A1 (en) On demand application scheduling in a heterogeneous workload environment
CN114500623B (en) Network target range interconnection and intercommunication method, device, equipment and readable storage medium
Mangues-Bafalluy et al. 5G-TRANSFORMER Service Orchestrator: design, implementation, and evaluation
US11301284B2 (en) Method for managing VNF instantiation and device
CN108886486A (en) Virtualize network function intercommunication
CN109964507A (en) Management method, administrative unit and the system of network function
CN108718327A (en) A kind of license resources dispatching method and system
CN108037978A (en) A kind of managing computing resources method based on virtualization technology
CN110377409A (en) A kind of task processing method, device, equipment and medium
CN113256302A (en) Resource information interaction method based on cloud manufacturing platform
CN103905337A (en) Network resource processing device, method and system
CN108170510A (en) A kind of managing computing resources system based on virtualization technology
CN112003931B (en) Method and system for deploying scheduling controller and related components

Legal Events

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