Summary of the invention
The object of the invention is the shortcoming overcoming above-mentioned prior art, provide a kind of optimization that can realize solving physical resource and virtual resource in traditional NFV system and use, the utilization factor of virtual resource is improved, better ensures and improve the function of VNF.
To achieve these goals, NFV dynamic resource allocation method of the present invention has following formation:
This NFV dynamic resource allocation method, its principal feature is, described method comprises the following steps:
(1) VNF or the VNFC priority period of occupation condition and operation on it is reported to MANO by virtual machine;
(2) the MANO occupation condition of collecting each virtual machine and VNF or VNFC precedence information that it runs more new record;
(3) MANO is according to virtual resource optimization between recorded information execution virtual machine or across between virtual network or across virtual resource optimization between physical network.
Preferably, before described step (1), comprise the following steps:
(0-1) MANO described in is that the occupation condition of the virtual machine running VNF or VNFC arranges resource occupation threshold value, and described resource occupation threshold value includes but not limited to:
T1: when the resources occupation rate of virtual machine is more than T1, identifies this virtual machine for increasing resource-candidate virtual machine;
T3: when the resources occupation rate of virtual machine is lower than T3, identifies this virtual machine for closing resource-candidate virtual machine;
T2: the resources occupation rate of virtual machine lower than T2 higher than T3 time, identify this virtual machine for providing resource-candidate virtual machine;
And T1>T2>T3.
Preferably, between described step (0-1) and (1), further comprising the steps of:
(0-2) MANO described in arranges priority to VNF or VNFC run on a virtual machine, and described priority includes but not limited to:
VIP: do not allow be interrupted or reduce performance;
IP: allow momentary interruption or reduce performance;
NIP: allow short interruptions or reduce performance.
Preferably, described step (3), comprises the following steps:
(3-1) MANO described in judges the priority of VNF or VNFC that virtual machine runs, if the priority of this VNF or VNFC is highest level, then continue step (3-2), if the priority of this VNF or VNFC is non-highest level, then continue step (3-3);
(3-2) judge the state of this virtual machine, if need to increase resource, then continue step (3-4), if maybe can resource be provided for resource can be closed, then do not process, continue step (1);
(3-3) judge the state of this virtual machine, if need to increase resource, then continue step (3-4), if for resource can be closed or for providing resource, continue step (3-5);
(3-4) for this virtual machine increases resource, step (1) is continued;
(3-5) close this virtual machine, and VNF or VNFC that this virtual machine runs is transferred to other and can provide on the virtual machine of resource and run.
More preferably, described is this virtual machine increase resource, comprises the following steps:
(3-4-1) judge whether unappropriated resource, if so, then this unappropriated resource has been increased to virtual machine, otherwise continue step (3-4-2);
(3-4-2) judge the priority of VNF or VNFC that this virtual machine runs, if limit priority, then continue step (3-4-3), otherwise continue step (3-4-4);
(3-4-3) judge whether that the virtual machine of VNF or VNFC running non-limit priority maybe can provide resource status for closing resource, if so, then continue step (3-4-5), otherwise continue step (3-4-6);
(3-4-4) judge whether that priority maybe can provide resource status less than or equal to the virtual machine of this virtual machine for closing resource, if so, then continue step (3-4-5), otherwise continue step (3-4-6);
(3-4-5) resource of the virtual machine of resource status available closed resource maybe can be provided to be increased to this virtual machine;
(3-4-6) judge whether there is available resource in virtual resource that another set of virtual network maps.
Further, the described resource of the virtual machine of resource status that available closed resource maybe can be provided is increased to this virtual machine, comprises the following steps:
(3-4-5-1) available resources selecting priority minimum in available resource;
(3-4-5-2) in the available resources of All factors being equal, preference will be give to level, prioritizing selection state is the virtual machine can closing resource;
(3-4-5-3) available resources selecting resources occupation rate minimum in the available resources of same condition further;
(3-4-5-4) resource selected is increased to this virtual machine.
More preferably, described step (3-5), comprises the following steps:
(3-5-1) judged whether that other virtual machines are for can increase resource status, if so, then continued step (3-5-2), otherwise do not process, continued step (1);
(3-5-2) close this resources of virtual machine VNF or VNFC of this virtual machine to be transferred to other virtual machines that resource can be provided and run.
Have employed the NFV dynamic resource allocation method in this invention, achieve virtual resource on each virtual machine of Auto-Sensing and take situation, the resource occupation of preferential guarantee higher priority service and service performance, free virtual resource on release virtual machine, expand more services, there is range of application widely.
Embodiment
In order to more clearly describe technology contents of the present invention, conduct further description below in conjunction with specific embodiment.
MANO needs the occupation condition of the virtual machine for running VNF or VNFC to arrange resource occupation threshold value, a simple example following (but being not limited thereto example):
T1: when the resources occupation rate of virtual machine exceedes this threshold value, this virtual machine need increase resource to ensure the performance of operation service on it, and this virtual machine is identified as increase resource-candidate virtual machine (IRC-VM).
T3: when the resources occupation rate of virtual machine is lower than this threshold value, the resource utilization of virtual machine is too low, and this virtual machine can be closed, to discharge virtual resource, this virtual machine is identified as closedown resource-candidate virtual machine (SRC-VM).
T2: when the resources occupation rate of virtual machine is lower than this threshold value but higher than T3, can externally provide virtual resource for other VNF or VNFC, this virtual machine is identified as provides resource-candidate virtual machine (PRC-VM).
T1>T2>T3
MANO needs to arrange priority to VNF or VNFC run on a virtual machine, and arranging of this priority can be carried out defining and upgrading according to user's request.A simple example following (but being not limited thereto example):
VIP (extremely important): this VNF or VNFC does not allow be interrupted or reduce performance;
IP (important): this VNF or VNFC allows momentary interruption or reduces performance;
NIP (inessential): this VNF or VNFC can short interruptions or reduction performance.
MANO, when for VNF configuring virtual machine and virtual resource, is the resource occupation setting threshold value of this virtual machine, and sets the priority of this VNF.All these information will be stored in form that MANO safeguards, and these information of real-time update:
Virtual machine is numbered |
Resources of virtual machine takies situation |
Virtual machine state |
VNF priority on virtual machine |
xxxx |
xx% |
IRC/SRC/PRC |
VIP/IP/NIP |
In VNF operational process, virtual machine monitors the situation of resource occupation on it in real time, and by resources occupation rate, and the priority period of VNF or VNFC that it runs is reported to MANO.
The occupation condition of all virtual machines of MANO periodic harvest, and the priority case of VNF or VNFC run on each virtual machine, and according to these information, judge the situation of each virtual machine and VNF, between virtual machine, adjustresources distributes dynamically.
In VNF operational process, virtual machine monitors the situation of resource occupation on it in real time, and by resources occupation rate, and the priority period of VNF or VNFC that it runs is reported to MANO.
After MANO collects the occupation condition of virtual machine, the resource occupation threshold value (T1/T2/T3) of itself and this virtual machine is compared, according to comparative result, judges the state of this virtual machine, and upgrade table content.
MANO collects the priority of VNF or VNFC that virtual machine runs, and upgrades table content.
To achieve these goals, NFV dynamic resource allocation method of the present invention has following formation:
This NFV dynamic resource allocation method, its principal feature is, described method comprises the following steps:
(1) VNF or the VNFC priority period of occupation condition and operation on it is reported to MANO by virtual machine;
(2) the MANO occupation condition of collecting each virtual machine and VNF or VNFC precedence information that it runs more new record;
(3) MANO is according to virtual resource optimization between recorded information execution virtual machine or across between virtual network or across virtual resource optimization between physical network.
In one preferably embodiment, before described step (1), comprise the following steps:
(0-1) MANO described in is that the occupation condition of the virtual machine running VNF or VNFC arranges resource occupation threshold value, and described resource occupation threshold value includes but not limited to:
T1: when the resources occupation rate of virtual machine is more than T1, identifies this virtual machine for increasing resource-candidate virtual machine;
T3: when the resources occupation rate of virtual machine is lower than T3, identifies this virtual machine for closing resource-candidate virtual machine;
T2: the resources occupation rate of virtual machine lower than T2 higher than T3 time, identify this virtual machine for providing resource-candidate virtual machine;
And T1>T2>T3.
In one preferably embodiment, between described step (0-1) and (1), further comprising the steps of:
(0-2) MANO described in arranges priority to VNF or VNFC run on a virtual machine, and described priority includes but not limited to:
VIP: do not allow be interrupted or reduce performance;
IP: allow momentary interruption or reduce performance;
NIP: allow short interruptions or reduce performance.
In one preferably embodiment, described step (3), comprises the following steps:
(3-1) MANO described in judges the priority of VNF or VNFC that virtual machine runs, if the priority of this VNF or VNFC is highest level, then continue step (3-2), if the priority of this VNF or VNFC is non-highest level, then continue step (3-3);
(3-2) judge the state of this virtual machine, if need to increase resource, then continue step (3-4), if maybe can resource be provided for resource can be closed, then do not process, continue step (1);
(3-3) judge the state of this virtual machine, if need to increase resource, then continue step (3-4), if for resource can be closed or for providing resource, continue step (3-5);
(3-4) for this virtual machine increases resource, step (1) is continued;
(3-5) close this virtual machine, and VNF or VNFC that this virtual machine runs is transferred to other and can provide on the virtual machine of resource and run.
In a kind of better embodiment, described is this virtual machine increase resource, comprises the following steps:
(3-4-1) judge whether unappropriated resource, if so, then this unappropriated resource has been increased to virtual machine, otherwise continue step (3-4-2);
(3-4-2) judge the priority of VNF or VNFC that this virtual machine runs, if limit priority, then continue step (3-4-3), otherwise continue step (3-4-4);
(3-4-3) judge whether that the virtual machine of VNF or VNFC running non-limit priority maybe can provide resource status for closing resource, if so, then continue step (3-4-5), otherwise continue step (3-4-6);
(3-4-4) judge whether that priority maybe can provide resource status less than or equal to the virtual machine of this virtual machine for closing resource, if so, then continue step (3-4-5), otherwise continue step (3-4-6);
(3-4-5) resource of the virtual machine of resource status available closed resource maybe can be provided to be increased to this virtual machine;
(3-4-6) judge whether there is available resource in virtual resource that another set of virtual network maps.
In one further embodiment, the described resource of the virtual machine of resource status that available closed resource maybe can be provided is increased to this virtual machine, comprises the following steps:
(3-4-5-1) available resources selecting priority minimum in available resource;
(3-4-5-2) in the available resources of All factors being equal, preference will be give to level, prioritizing selection state is the virtual machine can closing resource;
(3-4-5-3) available resources selecting resources occupation rate minimum in the available resources of same condition further;
(3-4-5-4) resource selected is increased to this virtual machine.
In a kind of better embodiment, described step (3-5), comprises the following steps:
(3-5-1) judged whether that other virtual machines are for can increase resource status, if so, then continued step (3-5-2), otherwise do not process, continued step (1);
(3-5-2) close this resources of virtual machine VNF or VNFC of this virtual machine to be transferred to other virtual machines that resource can be provided and run.
Respectively often kind of situation is made a concrete analysis of below:
MANO, according to the information upgraded in form, finally determines whether to perform resources configuration optimization on a virtual machine:
If the priority of VNF or VNFC 1. virtual machine run is very high, belong to the business function of " VIP ":
If a) this virtual machine has been designated by MANO and has closed resource candidate virtual machine or provide resource candidate virtual machine, in order to ensure the performance of this high priority VNF or VNFC, this virtual machine will not do any resource optimization, not discharge or externally provide resource.
If b) this virtual machine has been designated by MANO increase resource candidate virtual machine, mean that the resources occupation rate of this virtual machine exceedes threshold value T1.MANO makes this resources of virtual machine occupancy be less than extra resource quantity needed for threshold value T1 by calculating, and increases resource requirement to this virtual machine.
If i. there is the available virtual resource be not assigned with, the resource needed for distribution uses to this virtual machine;
If ii. there is no available virtual resource, trial is run more low priority VNF or VNFC from other, be designated the virtual machine place release virtual resource of closing resource candidate virtual machine or resource candidate virtual machine being provided, and provide resource requirement to increase resource candidate virtual machine.
1) pay the utmost attention to VNF or VNFC closing and run " NIP " priority, be designated the virtual machine of closing resource candidate virtual machine, and VNF or VNFC that it runs is transferred to other closedown resource candidate virtual machine or resource candidate virtual machine place is provided.
A. for operation same-priority VNF or VNFC, the virtual machine of closing resource candidate virtual machine is designated equally, the virtual machine that preferential closedown resources occupation rate is little, to discharge more multiple resource.
B. when shifting in time closing VNF or VNFC that virtual machine runs, following principle is followed in the selection of object virtual machine:
One. prioritizing selection running priority level is VNF or VNFC of " NIP ", is designated and closes resource candidate virtual machine, can provide VNF or VNFC to be transferred run needed for resource, and after transfer, resources occupation rate is less than the virtual machine of threshold value T1 as object machine.
Two. secondly select running priority level be VNF or VNFC of " NIP ", be designated and resource candidate virtual machine is provided, VNF or VNFC to be transferred can be provided to run resource requirement, and the rear resources occupation rate of transfer is less than the virtual machine of threshold value T1 as object machine.
Three. again select running priority level be VNF or VNFC of " IP ", be designated and close resource candidate virtual machine, VNF or VNFC to be transferred can be provided to run resource requirement, and the rear resources occupation rate of transfer is less than the virtual machine of threshold value T1 as object machine.
Four. finally select running priority level be VNF or VNFC of " IP ", be designated and resource candidate virtual machine is provided, VNF or VNFC to be transferred can be provided to run resource requirement, and transfer afterwards resources occupation rate be less than the virtual machine of threshold value T1 as object machine.
C. when object machine own resources take the resource occupation added needed for VNF or VNFC to be transferred, when total is greater than the threshold value T1 of object machine; Or object machine is when can not provide the resource occupation needed for VNF or VNFC to be transferred, refusal is accepted VNF or VNFC to be transferred and runs thereon by object machine.
2) secondly consider that closedown runs VNF's or VNFC of " NIP " priority, be designated the virtual machine that resource candidate virtual machine is provided, and VNF or VNFC that it runs transferred to other closedown resource candidate virtual machine or provide resource candidate virtual machine place to run.
A. for running same-priority VNF or VNFC, the virtual machine that resource candidate virtual machine is provided is designated equally, the preferential closedown that resources occupation rate is less, to discharge more multiple resource.
B. when shifting in time closing VNF or VNFC that virtual machine runs, following principle is followed in the selection of object virtual machine.
One. prioritizing selection running priority level is VNF or VNFC of " NIP ", is designated and provides resource candidate virtual machine, VNF or VNFC to be transferred can be provided to run resource requirement, and after transfer, resources occupation rate is less than the virtual machine of threshold value T1 as object machine.
Two. secondly select running priority level be VNF or VNFC of " IP ", be designated and close resource candidate virtual machine, VNF or VNFC to be transferred can be provided to run resource requirement, and the rear resources occupation rate of transfer is less than the virtual machine of threshold value T1 as object machine.
Three. finally select running priority level be VNF or VNFC of " IP ", be designated and resource candidate virtual machine is provided, VNF or VNFC to be transferred can be provided to run resource requirement, and transfer afterwards resources occupation rate be less than the virtual machine of threshold value T1 as object machine.
C. when object machine own resources take the resource occupation added needed for VNF or VNFC to be transferred, when total is greater than the threshold value T1 of object machine; Or object machine is when can not provide the resource occupation needed for VNF or VNFC to be transferred, VNF or VNFC that refusal accepts transfer runs by object machine thereon.
3) next considers to close VNF or VNFC running " IP " priority, is designated the virtual machine of closing resource candidate virtual machine, and VNF or VNFC that it runs is transferred to other closedown resource candidate virtual machine or provide resource candidate virtual machine place.
A. for operation same-priority VNF or VNFC, the virtual machine of closing resource candidate virtual machine is designated equally, the virtual machine that preferential closedown resources occupation rate is little, to discharge more multiple resource.
B. when shifting in time closing VNF or VNFC that virtual machine runs, following principle is followed in the selection of object virtual machine:
One. prioritizing selection running priority level is VNF or VNFC of " IP ", is designated and closes resource candidate virtual machine, VNF or VNFC to be transferred can be provided to run resource requirement, and after transfer, resources occupation rate is less than the virtual machine of threshold value T1 as object machine.
Two. secondly select running priority level be VNF or VNFC of " IP ", be designated and resource candidate virtual machine is provided, VNF or VNFC to be transferred can be provided to run resource requirement, and the rear resources occupation rate of transfer is less than the virtual machine of threshold value T1 as object machine.
C. when object machine own resources take the resource occupation added needed for VNF or VNFC to be transferred, when total is greater than the threshold value T1 of object machine; Or object machine is when can not provide the resource occupation needed for VNF or VNFC to be transferred, VNF or VNFC that refusal accepts transfer runs by object machine thereon.
4) finally consider to close VNF or VNFC running " IP " priority, be designated the virtual machine that resource candidate virtual machine is provided, and VNF or VNFC that it runs is transferred to other and provide resource candidate virtual machine place to run.
A. for running same-priority VNF or VNFC, the virtual machine that resource candidate virtual machine is provided is designated equally, the preferential closedown that resources occupation rate is less, to discharge more multiple resource.
B. when shifting in time closing VNF or VNFC that virtual machine runs, following principle is followed in the selection of object virtual machine.
One. prioritizing selection running priority level is VNF or VNFC of " IP ", is designated and provides resource candidate virtual machine, VNF or VNFC to be transferred can be provided to run resource requirement, and after transfer, resources occupation rate is less than the virtual machine of threshold value T1 as object machine.
C. when object machine own resources take the resource occupation added needed for VNF or VNFC to be transferred, when total is greater than the threshold value T1 of object machine; Or object machine is when can not provide the resource occupation needed for VNF or VNFC to be transferred, VNF or VNFC that refusal accepts transfer runs by object machine thereon.
5) when shifting VNF or VNFC, in order to ensure that quality of service and service feature do not decline, can process according to the principle of first building rear pass.Namely first on selected object machine, start VNF or VNFC to be transferred, at object machine and state and the configuration information of waiting to close these VNF or VNFC synchronous on virtual machine, then close and wait to close virtual machine.
6) if all virtual machines all cannot meet the demands, the virtual resource seeking to map on other a set of physical resource distributes by MANO.
If the priority of VNF or VNFC 2. virtual machine run is low, belong to " NIP " and business function:
If a), this virtual machine has been designated by MANO and has increased resource candidate virtual machine, and MANO makes this resources of virtual machine occupancy be less than extra resource quantity needed for threshold value T1 by calculating, and increases resource requirement to this virtual machine
If i. there is available unappropriated virtual resource, distributes more resource and use to this virtual machine;
If ii. do not have available unappropriated virtual resource, and every other to be identified as the priority of closing resource candidate virtual machine or reducing VNF or VNFC that resource candidate virtual machine is run all high than " NIP ", be not then its increase resource.
If iii. there is no available unappropriated virtual resource, and to be identified as the priority of closing resource candidate virtual machine or reducing VNF or VNFC that resource candidate virtual machine is run also be " NIP ", can on the basis ensureing not affect these VNF or VNFC performances releasing resource for improving the performance increasing VNF or VNFC in resource candidate virtual machine.
1) prioritizing selection is closed to be identified as and is closed resource candidate virtual machine, secondly considers that closedown is identified as and reduces resource candidate virtual machine
2) if the resource discharged makes this increase resource candidate virtual machine resource occupation be less than threshold value T1, then these candidate virtual machine are closed, with releasing resource.
3) if can not ensure, then resource allocation optimization process is not carried out.
4) when closing these candidate virtual machine, VNF or VNFC that this virtual machine runs will be transferred to other closedown resource candidate virtual machine or reduce in resource candidate virtual machine, the principle that the selection of object virtual machine has described before specifically following
A. prioritizing selection running priority level is VNF or VNFC of " NIP ", is designated and closes resource candidate virtual machine, VNF or VNFC to be transferred can be provided to run resource requirement, and after transfer, resources occupation rate is less than the virtual machine of threshold value T1 as object machine.
Secondly B. select running priority level be VNF or VNFC of " NIP ", be designated and resource candidate virtual machine is provided, VNF or VNFC to be transferred can be provided to run resource requirement, and the rear resources occupation rate of transfer is less than the virtual machine of threshold value T1 as object machine.
C. when object machine own resources take the resource occupation added needed for VNF or VNFC to be transferred, when total is greater than the threshold value T1 of object machine; Or object machine is when can not provide the resource occupation needed for VNF or VNFC to be transferred, VNF or VNFC that refusal accepts transfer runs by object machine thereon.
If b), this virtual machine has been designated by MANO and has closed resource candidate virtual machine, and this virtual machine can as the object of closing, to discharge virtual resource.
If i. do not have other virtual machines to be designated by MANO increase resource candidate virtual machine, mean the requirement not increasing resource, in order to ensure the performance of VNF or VNFC that it runs, this virtual machine can not be closed.
If ii. only have running priority level to be VNF or VNFC of " NIP ", be designated and increase resource candidate virtual machine, then whether the resource that considering to close this virtual function provides can meet the required resource increased of above-mentioned increase resource candidate virtual machine.If of course, close this virtual machine with releasing resource; Otherwise, can not close.
When iii. closing this virtual machine, VNF or VNFC that this virtual machine runs will be transferred to other closedown resource candidate virtual machine or provide in resource candidate virtual machine, the principle that the selection of object virtual machine has described before specifically following
A. prioritizing selection running priority level is VNF or VNFC of " NIP ", is designated and closes resource candidate virtual machine, VNF or VNFC to be transferred can be provided to run resource requirement, and after transfer, resources occupation rate is less than the virtual machine of threshold value T1 as object machine.
Secondly B. select running priority level be VNF or VNFC of " NIP ", be designated and resource candidate virtual machine is provided, VNF or VNFC to be transferred can be provided to run resource requirement, and the rear resources occupation rate of transfer is less than the virtual machine of threshold value T1 as object machine.
C. when object machine own resources take the resource occupation added needed for VNF or VNFC to be transferred, when total is greater than the threshold value T1 of object machine; Or object machine is when can not provide the resource occupation needed for VNF or VNFC to be transferred, VNF or VNFC that refusal accepts transfer runs by object machine thereon.
If c) this virtual machine has been designated by MANO and provides resource candidate virtual machine, this virtual machine can as close object, to discharge virtual resource.Determine whether can close in light of the circumstances.
If i. do not have other virtual machines to be designated by MANO increase resource candidate virtual machine, mean the requirement not increasing resource, in order to ensure the performance of VNF or VNFC that it runs, this virtual machine can not be closed.
If ii. only have running priority level to be VNF or VNFC of " NIP ", be designated and increase resource candidate virtual machine, then whether the resource that considering to close this virtual function provides can meet the required resource increased of above-mentioned increase resource candidate virtual machine.If of course, close this virtual machine with releasing resource; Otherwise, can not close.
When iii. closing this virtual machine, VNF or VNFC that this virtual machine runs provides in resource candidate virtual machine by what be transferred to other, the principle that the selection of object virtual machine has described before specifically following
Secondly A. select running priority level be VNF or VNFC of " NIP ", be designated and resource candidate virtual machine is provided, VNF or VNFC to be transferred can be provided to run resource requirement, and the rear resources occupation rate of transfer is less than the virtual machine of threshold value T1 as object machine.
B. when object machine own resources take the resource occupation added needed for VNF or VNFC to be transferred, when total is greater than the threshold value T1 of object machine; Or object machine is when can not provide the resource occupation needed for VNF or VNFC to be transferred, VNF or VNFC that refusal accepts transfer runs by object machine thereon.
If the priority of VNF or VNFC 3. virtual machine run is lower, belong to the business function of " IP ":
If a) this virtual machine is judged to increase resource candidate virtual machine by MANO, determines whether it according to the situation of other virtual machines and additional virtual resource is provided
If i. there is available unappropriated virtual resource, distributes more resource and use to this virtual machine;
If ii. do not have available unappropriated virtual resource, and every other to be judged as the priority of closing resource candidate virtual machine or provide VNF or VNFC that resource candidate virtual machine is run all high than " IP ", be not then its increase resource
If iii. there is no available unappropriated virtual resource, and be judged as and close resource candidate virtual machine or provide the priority of VNF or VNFC that resource candidate virtual machine is run also to be " NIP " or " IP ", can on the basis ensureing not affect these VNF or VNFC performances releasing resource for improving the performance increasing VNF or VNFC in resource candidate virtual machine.
1) if in these closedown resource candidate virtual machine of guarantee or when providing resource candidate virtual machine resource occupation be less than threshold value T1 and be greater than threshold value T2, the resource discharged makes this increase resource candidate virtual machine resource occupation be less than threshold value T1, then close these candidate virtual machine, with releasing resource.
2) if can not ensure, then resource allocation optimization process is not carried out.
3), when closing these candidate virtual machine, VNF or VNFC that this virtual machine runs will be transferred to other closedown resource candidate virtual machine or reduce in resource candidate virtual machine, and principle described above is specifically followed in the selection of object virtual machine
If b) this virtual machine is judged to close resource candidate virtual machine by MANO, this virtual machine can as the object of closing, to discharge virtual resource.
If i. do not have other virtual machines to be judged to increase resource candidate virtual machine by MANO, mean the requirement not increasing resource, in order to ensure the performance of VNF or VNFC that it runs, this virtual machine can not be closed.
If ii. there are other virtual machines to be judged to increase resource candidate virtual machine by MANO, if there are other running priority levels to be that the virtual machine of VNF or VNFC of " NIP " or " IP " is judged to close resource candidate virtual machine or provide resource candidate virtual machine by MANO, and have enough resources can be used for the operation of this VNF or VNFC, this VNF or VNFC can be transferred on object virtual machine and run, and close this virtual machine with releasing resource.Principle described above is specifically followed in the selection of object virtual machine.
If c) this virtual machine is judged to provide resource candidate virtual machine by MANO, this virtual machine can as close object, to discharge virtual resource.Determine whether can close in light of the circumstances.
If i. do not have other virtual machines to be judged to increase resource candidate virtual machine by MANO, mean the requirement not increasing resource, in order to ensure the performance of VNF or VNFC that it runs, this virtual machine can not be closed.
If ii. there are other virtual machines to be judged to increase resource candidate virtual machine by MANO, if there are other running priority levels to be that the virtual machine of VNF or VNFC of " NIP " or " IP " is judged to close resource candidate virtual machine or provide resource candidate virtual machine by MANO, and have enough resources can be used for the operation of this VNF or VNFC, this VNF or VNFC can be transferred on object virtual machine and run, and close this virtual machine with releasing resource.Principle described above is specifically followed in the selection of object virtual machine.
4., when shifting VNF or VNFC, in order to ensure that quality of service and service feature do not decline, can process according to the principle of first building rear pass.Namely first on selected object machine, start this VNF or VNFC to be transferred, at object machine and state and the configuration information of waiting to close these VNF or VNFC synchronous on virtual machine, then close and wait to close virtual machine.
5. above-mentioned in steps in, if all object virtual machines all cannot meet the demands, MANO will seek the virtual resource mapped on other a set of physical resource.
Have employed the NFV dynamic resource allocation method in this invention, achieve virtual resource on each virtual machine of Auto-Sensing and take situation, the resource occupation of preferential guarantee higher priority service and service performance, free virtual resource on release virtual machine, expand more services, there is range of application widely.
In this description, the present invention is described with reference to its specific embodiment.But, still can make various amendment and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, instructions and accompanying drawing are regarded in an illustrative, rather than a restrictive.