CN103825963A - Virtual service transition method - Google Patents

Virtual service transition method Download PDF

Info

Publication number
CN103825963A
CN103825963A CN201410101765.4A CN201410101765A CN103825963A CN 103825963 A CN103825963 A CN 103825963A CN 201410101765 A CN201410101765 A CN 201410101765A CN 103825963 A CN103825963 A CN 103825963A
Authority
CN
China
Prior art keywords
centerdot
service
cost
matrix
prime
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
CN201410101765.4A
Other languages
Chinese (zh)
Other versions
CN103825963B (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.)
Institute of Acoustics CAS
Original Assignee
Institute of Acoustics CAS
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 Institute of Acoustics CAS filed Critical Institute of Acoustics CAS
Priority to CN201410101765.4A priority Critical patent/CN103825963B/en
Publication of CN103825963A publication Critical patent/CN103825963A/en
Application granted granted Critical
Publication of CN103825963B publication Critical patent/CN103825963B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a virtual service transition method which comprises the following steps: selecting transition evaluation parameters according to service types and user requirements; monitoring virtual nodes in a network by a monitor; obtaining state information of the virtual nodes in regard to the evaluation parameters when a new request is reached or a user request is changed; calculating the service transition cost of each virtual node according to the state information; acquiring the virtual node with the lowest virtual service transition cost as a service node from the virtual nodes through the transition cost calculation method; selecting the service node to transit the virtual service. The virtual service transition method provided by the invention can be used for judging and executing the transition by effectively combining the influences of each factor on the transition, and realizing the management of network resources and improving the user service experience quality by utilizing the service transition.

Description

Virtual Service moving method
Technical field
The present invention relates to mobile Internet field, relate in particular to a kind of Virtual Service moving method.
Background technology
Growing along with science and technology, mobile Internet has become one of main trend of internet development.According to statistics, by the end of in March, 2013, China's fixed the Internet broadband user number is 1.81 hundred million users, and mobile Internet user has reached 8.17 hundred million users.Along with the enhancing of Network Mobility sexual demand, the change of user behavior, the enriching constantly of information interaction type, the increase day by day of data traffic, ensures and the service experience quality that improves user becomes the new challenge that internet arena will be faced.And the problem that develops into solution mobility demand of Intel Virtualization Technology provides possibility.Virtualized target is exactly without consideration bottom physical network attribute in the situation that, to realize the level and smooth movement of Virtual Service, realizes the distribution according to need to Internet resources, improves user's Quality of experience.Fig. 1 is network virtualization schematic diagram in prior art.As shown in Figure 1, Intel Virtualization Technology is by abstract, separation, isolation mech isolation test, at a public bottom physical network (Substrate Network, SN) upper multiple virtual networks (Virtual Network that supports, VN) each virtual network can be used separate protocol architecture, and according to the user's request of dynamic change, the node resource in whole network and link circuit resource are carried out to reasonable disposition, greatly to bring into play the advantage of resource-sharing, improve to greatest extent network resource utilization, obtain maximized income.
Fig. 2 is that in prior art, Flowvisor realizes virtualized schematic diagram.As shown in Figure 2, network virtualization platform FlowVisor produces independently network burst by dividing flow table space, effectively realizes network virtualization, and physical network is divided into multiple network bursts.Network traffics on each network burst are isolated mutually, and managing bandwidth, CPU use and the configuration of stream table etc.User can carry out the experimental studies such as non-interfering various discharge model and agreement innovation on each burst.FlowVisor realizes and disposing in some Large-scale Campus such as Stanford Univ USA at present, in famous future network experimental bed GENI and Internet 2 projects, is also using FlowVisor to carry out virtualized management.
Fig. 3 is the schematic diagram that in prior art, network virtualization hierarchical service supplies a model.As shown in Figure 3, in virtualized environment, service provider (Service Provider, SP) according to the demand of user (User), the resource of needs (Internet resources, computational resource, storage resources etc.) is described to the infrastructure provider (Infrastructure Provider, InP) to bottom with certain forms.Infrastructure provider disposes and management bottom physical resource, selects corresponding resource, to complete the establishment to virtual network from virtual resource pond.Service provider implements provider's leasehold network resource to basis, for user provides needed service.
Because some new users add, some old users shift out, and the change of some users position in network, the variation of number of users, user behavior, user preference in network, or the change of some bottom-layer networks, all need according to changing, Virtual Service to be adjusted and moved.How to change the scale to virtual network, resource distribution timely according to these adjusts, ensure network service quality (Quality of Service, and user experience quality (Quality of Experience QoS), QoE), obtaining reliable and stable network service with minimum delay, is one of challenge realizing Virtual Service.Virtual main finger server/main frame in the present invention virtual, shares reusable software and hardware resources and information offers computer and other equipment as required by virtualized.
Fig. 4 is that in prior art, user moves schematic diagram.As shown in Figure 4, services migrating need to be considered the balance of various costs.When with the nearer dummy node of user during as ISP, the delay of service may be less, and service quality and Quality of experience are higher.But migration also can bring other expense, has a negative impact simultaneously, during as migration, mass data is transmitted the pressure to network, even may cause service disruption.Services migrating problem is exactly how reasonably to adjust the position of network service, more effectively saves Internet resources, reduces service response time and cost, improves the problem of user's experience.
In the prior art, at present under virtualized environment, utilize services migrating to realize network resource management and reduce the research of energy consumption and apply still more preliminary, as J Grassler, the people such as S Schmid are at " at 32nd IEEE Conference on Computer Communications (INFOCOM Demo), Turin, Italy, April2013. " research that " Move-with-the-Sun or Move-with-the-Moon Wide-Area CloudNet Migrations Under Latency and Resource Constraints.Demo " makes.Services migrating problem under virtualized environment is mainly divided into single domain and two kinds of application scenarioss of multiple domain.
Under single domain environment, less in the aspect such as type, quality of resource difference between node, move needed cost less.But in the time that the node in territory cannot meet user's demand, need to move to node in other territories so that service to be provided.Between node in multiple territories, not only there are differences, also can be due to the extra roaming cost of cross-domain generation.
Below to the M Bienkowski relevant with this patent, the people such as A Feldmann are at " In Proc.ACM SIGCOMM VISA, 2010. " " Competitive analysis for service migration in vnets " proposes Virtual Service balance migration algorithm (MIG) and D Arora, the people such as M Bienkowski are at " Proceedings of the5th International Conference on Principles, Systems and Applications of IP Telecommunication, 2011. " the cross-domain balanced algorithm (MIX that " Online strategies for intra and inter provider service migration in virtual networks " proposes k) briefly introduce.
(1) Virtual Service balance migration algorithm (MIG)
Virtual Service balance migration algorithm (MIG) quantizes the parameters of migration cost and income, by the method for Dynamic comparison, and the opportunity of judgement migration.The basic thought of MIG algorithm is in the time that migration occurs, and reaches migration cost Cost migwith income Cost accbetween balance, select feasible, a more excellent service provider.
In the time that user's position changes, the delay from virtual server end to client will increase, and this will affect the service quality of some services.By migration, can realize the optimization to service delay, serving time delay is migration income Cost acca part.In addition, can migration realize also relevant with the disposable load of server.If potential node can not meet user's demand, migration cannot be carried out.And in the time moving, under identical condition, should select the larger node of disposable load of server to move.Therefore in the t moment, to request sequence R t, carry out the income Cost that migration can produce acccan be expressed as
Cost acc ( t ) = Σf R t ( delay ( r t ) , load ( r t ) ) - - - ( 1 )
In literary composition, suppose that the disposable load of Servers-all can both meet user's demand, to Cost accsimplify, obtain
Cost acc ( t ) = Σ R t f ( delay ( r t ) ) - - - ( 2 )
Due to the attend to the basic or the fundamental impact of body size of the bandwidth kimonos on migration path, need careful consideration whether carry out services migrating.The big or small size (s) of service itself and the bandwidth w (p) of migration path have determined the needed time of migration jointly.In literary composition by the migration cost Cost of the service s moving migbe expressed as
Cost mig ( t ) = Σ s ∈ S f ( w ( p ) , k , size ( s ) ) - - - ( 3 )
In Virtual Service balance migration algorithm, only considering provides the problem of the services migrating in territory, therefore the cost Cost of services migrating an infrastructure migcan be reduced to
Cost mig(u,v)=max esize(s)/w(e) (4)
Virtual Service balance migration algorithm will be divided into multiple time slots the time, suppose that the initial service provider that provides is node v.In the time that request arrives, time slot starts, and calculates the cost Cost producing due to the variation of request acc(v).If by other virtual network node, as node u, as service provider, there is services migrating, can produce migration cost Cost mig(v, u).If β=max u{ Cost mig(u, v) }.If meet Cost acc(v) > β, moves, from meeting inequality Cost acc(u) solution of < β is concentrated the random service provider of a node as this request that select.If there is no such node u, does not need to move, and time slot finishes.In the time that next one request arrives, new time slot starts, and recalculates Cost acc(v).
(2) cross-domain balanced algorithm (MIX k)
Cross-domain balanced algorithm (MIX k) be improvement and the optimization to Virtual Service balance migration algorithm, consider that service providing node is positioned at the situation of multiple virtual networks.The time delay of request is Cost acc(v), migration cost β=max u{ Cost mig(u, v) }.Suppose that the extra cost that territory of leap produces is π (wherein, π>=β 2), the roaming cost of crossing over k territory is k* π.
Suppose that the initial service provider that provides is node v, in the time that service request sequence arrives, first consider the migration situation in a territory.Calculate the income Cost being produced by request acc(v), and with migration cost β=max u{ Cost mig(u v) } compares.If meet Cost acc(v) > β, from meeting inequality Cost acc(u) solution of < β is concentrated the random destination node of a node as migration of selecting.If there is not such node u in territory, consider the services migrating in cross-domain situation.If income Cost acc(v) the extra cost that is better than cross-domain generation is moved.
In sum, in the moving method of prior art, exist such as following problem: MIG migration algorithm has only simply been considered service time delay and two kinds of influencing factors of link bandwidth, and the selection of impact migration node is a lot of because have.Service time delay is simply quantified as service request access node to the jumping figure between service provider.The quantification of two kinds of factors is too simple, inflexible, is unfavorable for the dynamic adjustment on the opportunity of moving.And, between each factor that determines to move, be the impact that interacts, the simple big or small correlation that can not reflect between each factor.Although MIX kin algorithm, increase the roaming cost producing due to cross-domain, but still existed above-mentioned quantification and correlation to portray simple question.
Summary of the invention
The object of the invention is for the problems referred to above, a kind of Virtual Service moving method based on fair, just and dynamic QoS computation model is provided.
For achieving the above object, the invention provides a kind of Virtual Service moving method, described method comprises:
Select migration evaluating according to COS and user's request, the dummy node in monitor monitoring network, in the time that new request arrival or user's request change, obtains the state information of described dummy node about evaluating;
Calculate the services migrating cost of each dummy node according to described state information;
The dummy node that obtains Virtual Service migration Least-cost by the services migrating cost of the each dummy node of described calculating from dummy node is as service node;
Select described service node to move described Virtual Service.
Preferably, described state information comprises cost, ISP's credit and the strike price of size, service disruption and the recovery of bandwidth on disposable load, the migration path of time delay, server of service, service itself.
Preferably, the described services migrating cost of calculating each dummy node according to described state information specifically comprises:
Set up the computation model generating based on QoS according to described state information.
Preferably, the described computation model generating based on QoS according to described state information foundation specifically comprises:
According to described state information, obtain matrix Q:
Q = q 1,1 q 1,2 &CenterDot; &CenterDot; &CenterDot; q 1 , m q 2,1 q 2,2 &CenterDot; &CenterDot; &CenterDot; q 2 , m &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; q n , 1 q n,2 &CenterDot; &CenterDot; &CenterDot; q n , m
Wherein, m, n are integer, q n,mfor the element in matrix Q, with C (v i) expression dummy node v imigration cost, every state information of each the line display dummy node in matrix Q, a kind of state information that affects described migration cost is shown in each list in matrix Q.
Preferably, the described computation model generating based on QoS according to described state information foundation specifically also comprises:
Described matrix Q is normalized, the described state information of different dimensions is standardized as to nondimensional normalizing parameter, form a unified criterion;
Described normalizing parameter is divided into groups, every group comprise multiple shown in normalizing parameter, and by group operation, draw the migration cost information of each dummy node after grouping.
Preferably, described described matrix Q is normalized, the described state information of different dimensions is standardized as to nondimensional normalizing parameter, form a unified criterion and specifically comprise:
The first matrix N={n 1, n 2..., n mrepresent wherein n j=0 or 1,1≤j≤m;
The second matrix C={c 1, c 2..., c mrepresent c ja constant, 1≤j≤m;
Each element in matrix Q is normalized with following formula:
q &prime; i , j = q i , j 1 n &Sigma; i = 1 n q i , j , if 1 n &Sigma; i = 1 n q i , j &NotEqual; 0 , and , q i , j 1 n &Sigma; i = 1 n q i , j < c j , amd , n j = 1 c j , if 1 n &Sigma; i = 1 n q i , j = 0 , and , n j = 1 , or , q i , j 1 n &Sigma; i = 1 n q i , j &GreaterEqual; c j
q &prime; i , j = 1 n &Sigma; i = 1 n q i , j q i , j , if , q i , j &NotEqual; 0 , and , n j = 0 , and , 1 n &Sigma; i = 1 n q i , j q i , j < c j c j , if , q i , j = 0 , and , n j = 0 , or , 1 n &Sigma; i = 1 n q i , j q i , j &GreaterEqual; c j
Wherein,
Figure BDA0000478635160000072
for the mean value of j kind cost standard in matrix Q, obtain matrix Q':
Q &prime; = q 1,1 &prime; q 1,2 &prime; &CenterDot; &CenterDot; &CenterDot; q 1 , m &prime; q 2,1 &prime; q 2,2 &prime; &CenterDot; &CenterDot; &CenterDot; q 2 , m &prime; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; q n , 1 &prime; q n , 2 &prime; &CenterDot; &CenterDot; &CenterDot; q n , m &CenterDot;
Wherein, q i,jfor the element in matrix Q, q n,m' be the element in matrix Q'.
Preferably, described method also comprises: in the time not having new request to arrive or user asks not change, do not carry out the migration of dummy node.
The beneficial effect that the present invention brings is:
1, adopt the cost of the method calculation services migration based on QoS computation model, avoid because influencing factor quantification is too simple, inflexible, and the problem that is unfavorable for migration dynamic adjustment on opportunity causing;
2, the impact of effectively comprehensive many factors on migration cost, allowing increases self-defined input parameter, can dynamically adjust according to virtual network environment and user's demand;
What 3, consideration was relevant with dummy node self property affects parameter, has increased credit and the price of dummy node, more comprehensively, the service quality of the evaluation and test Virtual Service node that gears to actual circumstances;
4, select the node of migration Least-cost to move, be conducive to the expense that minimum migration is brought, improve user's service experience quality, realize green energy conservation, the efficient virtual resource migration and scheduling utilizing.
Accompanying drawing explanation
Fig. 1 is network virtualization schematic diagram in prior art of the present invention;
Fig. 2 is that in prior art of the present invention, Flowvisor realizes virtualized schematic diagram;
Fig. 3 is the schematic diagram that in prior art of the present invention, network virtualization hierarchical service supplies a model;
Fig. 4 is that in prior art of the present invention, user moves schematic diagram;
Fig. 5 is the flow chart of Virtual Service moving method in one embodiment of the invention of the present invention;
Fig. 6 is the schematic diagram that in one embodiment of the invention, local monitor monitors for the each dummy node in network;
Fig. 7 is the flow chart that in one embodiment of the invention, the services migrating cost to each Virtual Service node is calculated.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Fig. 5 is the flow chart of Virtual Service moving method in one embodiment of the invention.
As shown in Figure 5, first, in step 501, select migration evaluating according to COS and user's request.Dummy node in monitor monitoring network, in the time that new request arrival or user request changes, obtains the state information of dummy node about evaluating.
Concrete, the cost of a dummy node/virtual server is subject to the joint effect of multiple factors.For problem is simplified, in one embodiment of the invention, only consider to only have above physical network the situation of a virtual network, and in virtual network, only have the situation of a dummy node/server.
Table 1 has provided main several factors of impact migration cost.
Table 1
Affect parameter Meaning of parameters
C delay The time delay of service
C aload The disposable load of server
C bandwidth Bandwidth on migration path
C size The size of service itself
C interrupt The cost of service disruption and recovery
C reputation ISP's credit
C price Strike price
[0070]wherein, in order to select the better dummy node of service quality as service provider is provided, the present invention has increased by 2 kinds of attributes relevant with service provider's self property, i.e. C reputationand C price.
C reputationfor ISP's credit, it is the main evaluation index of dummy node trustworthiness.It depends on terminal use's historical service experience.To same ISP, different terminal uses has different evaluations.The credit of dummy node is defined as the mean value of multiple terminal use's Feedback Evaluations,
Figure BDA0000478635160000091
wherein n is the total degree that node is evaluated, R ifor the value of feedback of terminal use to node credit, R ifor belonging to the integer of [0,5].
C pricefor strike price, in the time that dummy node provides service, user need to pay required expense.Under square one, requestor is more prone to select the node that price is lower that service is provided.
Fig. 6 is the schematic diagram that in one embodiment of the invention, local monitor monitors for the each dummy node in network.
As shown in Figure 6, monitor monitors the each dummy node in network, gathers the state information on dummy node.Wherein, state information comprises the state information shown in the tables 1 such as time of delay, link bandwidth and node disposable load.
Concrete, in an embodiment of the present invention by the set V={v of all Virtual Service provider compositions 1, v 2..., v nrepresent, at t kmoment, request δ karrive.The Virtual Service supplier s of previous stage k-1represent.The target of the present embodiment is to judge at t kmoment request δ kwhen arrival, whether need Virtual Service provider to move to new dummy node, and move to which node.In the time that needs move, we select the node that moves Least-cost to move.By C (v i) show as node v imigration cost.Carry out the cost of evaluation node by m standard, can obtain following matrix Q:
Q = q 1,1 q 1,2 &CenterDot; &CenterDot; &CenterDot; q 1 , m q 2,1 q 2,2 &CenterDot; &CenterDot; &CenterDot; q 2 , m &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; q n , 1 q n,2 &CenterDot; &CenterDot; &CenterDot; q n , m - - - ( 5 )
Matrix Q is the matrix of the capable m row of n, and n and m are integer.Wherein, the i line display Virtual Service node v in matrix Q iindices, a kind of factor that affects cost is shown in every list.
As shown in Figure 5, in step 502 secondarily, calculate the services migrating cost of each dummy node according to state information.The concrete steps of computational methods are as follows:
Fig. 7 is the flow chart in one embodiment of the invention, the service cost of each Virtual Service node being calculated.
As shown in Figure 7, first in step 701, matrix Q is normalized, the state information of different dimensions is standardized as to nondimensional normalizing parameter, form a unified criterion.
Concrete, the object that matrix Q is normalized is: (1) allows migration cost method of measurement irrelevant with unit, standard; (2) for each Virtual Service supplier provides a kind of unified index of evaluating migration cost; (3) threshold value is set.
First, two matrixes of definition.First matrix N={ n 1, n 2..., n m, get 1≤j≤m, wherein n j=0 or 1.If along with q ijincrease, it is large that the cost that migration produces becomes, and makes n j=1(is as parameters C sizelarger, migration cost is larger).N on the contrary j=0(is more prone to C as when migration aloadlarger node).Second Matrix C={ c 1, c 2..., c m, c jbe a constant, be set to every kind of normalized maximum of cost evaluation index.Each element in Q is normalized by formula (6) (7).
q &prime; i , j = q i , j 1 n &Sigma; i = 1 n q i , j , if 1 n &Sigma; i = 1 n q i , j &NotEqual; 0 , and , q i , j 1 n &Sigma; i = 1 n q i , j < c j , amd , n j = 1 c j , if 1 n &Sigma; i = 1 n q i , j = 0 , and , n j = 1 , or , q i , j 1 n &Sigma; i = 1 n q i , j &GreaterEqual; c j - - - ( 6 )
q &prime; i , j = 1 n &Sigma; i = 1 n q i , j q i , j , if , q i , j &NotEqual; 0 , and , n j = 0 , and , 1 n &Sigma; i = 1 n q i , j q i , j < c j c j , if , q i , j = 0 , and , n j = 0 , or , 1 n &Sigma; i = 1 n q i , j q i , j &GreaterEqual; c j - - - ( 7 )
In above formula, the mean value of j kind cost standard in matrix Q.Q is carried out to computing by above formula, obtain new matrix Q', as shown in Equation (8):
Q &prime; = q 1,1 &prime; q 1,2 &prime; &CenterDot; &CenterDot; &CenterDot; q 1 , m &prime; q 2,1 &prime; q 2,2 &prime; &CenterDot; &CenterDot; &CenterDot; q 2 , m &prime; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; q n , 1 &prime; q n , 2 &prime; &CenterDot; &CenterDot; &CenterDot; q n , m &CenterDot; - - - ( 8 )
In step 702 secondarily, normalizing parameter is divided into groups, every group comprise multiple shown in normalizing parameter, and by group operation, draw the migration cost information of each dummy node after grouping.
Concrete, the cost parameter of dummy node is divided into groups, every group can comprise many kinds of parameters, and by group operation.In an embodiment of the present invention, can be divided into access cost Cost acc, migration cost Cost mig, server cost Cost prithree parts, as the cost of bandwidth, service size itself, service disruption and recovery all belongs to migration cost Cost mig, service delay and disposable load etc. belongs to a part of Cost that accesses cost mig, the price of server and credit belong to server cost Cost pri.In the present embodiment, introduce matrix D, matrix D is for defining the relation between cost index and cost grouping.
Q = q 1,1 q 1,2 &CenterDot; &CenterDot; &CenterDot; q 1 , m q 2,1 q 2,2 &CenterDot; &CenterDot; &CenterDot; q 2 , m &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; q n , 1 q n,2 &CenterDot; &CenterDot; &CenterDot; q n , m - - - ( 9 )
Wherein, a kind of cost index factor of every line display in matrix D, a kind of cost grouping is shown in every list, wherein l is total packet count.In matrix D, if i cost index belongs to j grouping, d in Q' i,j=1, otherwise d i,j=0.
Matrix G is the cost information of each Virtual Service node after grouping.
G = g 1,1 g 1,2 &CenterDot; &CenterDot; &CenterDot; g 1 , l g 2,1 g 2,2 &CenterDot; &CenterDot; &CenterDot; g 2 , l &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; g n , 1 g n,2 &CenterDot; &CenterDot; &CenterDot; g n , l - - - ( 10 )
Wherein, in G, every row represents an Internet Service Provider, and a kind of value of cost grouping is shown in every list.
Matrix G can calculate by following formula:
G= Q'*D (11)
To matrix, G is normalized, and first defines two new matrixes: matrix T and matrix F.Matrix T={ t 1, t 2..., t l, wherein constant t jrepresent every group of normalized threshold value.According to formula (12), G is normalized, the result obtaining is G '.
g i , j &prime; = g i , j 1 n &Sigma; i = 1 n g i , j , if 1 n &Sigma; i = 1 n g i , j &NotEqual; 0 , and , g i , j 1 n &Sigma; i = 1 n g i , j < t j t j , if 1 n &Sigma; i = 1 n g i , j = 0 , or , g i , j 1 n &Sigma; i = 1 n g i , j &GreaterEqual; t j - - - ( 12 )
G &prime; = g &prime; 1,1 g &prime; 1,2 &CenterDot; &CenterDot; &CenterDot; g &prime; 1 , l g &prime; 2,1 g &prime; 2,2 &CenterDot; &CenterDot; &CenterDot; g &prime; 2 , l &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; g &prime; n , 1 g &prime; n , 2 &CenterDot; &CenterDot; &CenterDot; g &prime; n , l - - - ( 13 )
As shown in Figure 7, in the end in step 703, according to the migration cost of all dummy nodes of grouping weight COMPREHENSIVE CALCULATING.Definition matrix F={ f 1, f 2..., f l, wherein f jexpression cost is evaluated j and is grouped in the weight in overall merit, can be used for representing the preference of user to j grouping evaluation criterion.Provide node s to Virtual Service icost calculate can obtain by formula (14):
Cos ( s i ) &Sigma; j = 1 l ( g i , j * f j ) - - - ( 14 )
In step 503 subsequently, the dummy node that obtains Virtual Service migration Least-cost by migration cost computational methods from dummy node is as service node.
In an embodiment of the present invention, preferably have the virtual network of 6 nodes, node set is V={v 1, v 2..., v 6.Initial service node S 0for node v 1, at t 1moment, request sequence δ 1arrive.Preferably 5 kinds of migration cost evaluatings: the time delay C of service delay, server disposable load C aload, migration path bandwidth C bandwidth, price C pricewith credit C reputation.Obtain the matrix Q of each Node evaluation parameter by local monitor:
Q = 10 10 2 40 4 8 4 4 80 1 7 4 4 100 0.5 5 2 6 80 2 3 4 6 100 4 6 8 4 100 2
Definition threshold value C=(5,5,5,5,5), obtain N=(1 according to 5 kinds of evaluation indexes, 0,0,1,0).By above-mentioned formula (6) and (7), calculate normalized matrix Q':
G &prime; 1.5382 0.5333 2.1667 0.48 0.5625 1.2308 1.3333 1.0833 0.96 2.25 1.0769 1.3333 1.0833 1.2 4.5 0.7692 2.6667 0.7222 0.96 1.125 0.4615 1.3333 0.7222 1.2 0.5625 0.9231 0.6667 1.0833 1.2 1.125
In embodiment, 5 kinds of evaluation indexes are divided into 3 classes, access cost Costacc, migration cost Costmig, server cost Costpri.Matrix D is:
D = 1 0 0 1 0 0 0 1 0 0 0 1 0 0 1
Calculating matrix G by formula (11) is:
G = 2.0718 2.1667 1.0425 2.5641 1.0833 3.21 2.4102 1.0833 5.7 3.4359 0.7222 2.085 1.7948 0.7222 1.7625 1.5898 1.0833 2 . 325
In embodiment, define threshold matrix T=(3,3,3), be normalized and obtain G' and be by formula (12):
G &prime; = 0.8965 1.8948 0.3879 1.1095 0.9474 1.1944 1.0429 0.9474 2.1209 1.4867 0.6316 0.7758 0.7766 0.6316 0.6558 0.6879 0.9474 0.8651
Define the weight of 3 class evaluation criterions in gross migration evaluation and be respectively 0.4,0.4,0.2.The migration cost that calculates 6 service nodes by above-mentioned formula (14) is respectively 1.1941,1.0616,1.2203,1.0025,0.6944 and 0.8271.
Concrete, be respectively 1.1941,1.0616,1.2203,1.0025,0.6944 and 0.8271 from the migration cost of above-mentioned 6 service nodes that calculate, wherein 0.6944 migration cost value minimum, selects 0.694 corresponding dummy node v 5for service providing node.
Get back to Fig. 5, in last step 504, select service node to move Virtual Service, move to the dummy node of migration Least-cost from the service node of previous moment.
Concrete, in 6 above-mentioned service nodes, from the service node v of previous moment 1move to v 5, i.e. the corresponding Virtual Service node of minimum transition cost 0.6944.In sum, the invention provides and dynamic QoS computation model open, fair based on one, proposed a kind of Virtual Service moving method.Wherein, QoS reaches an agreement the demand of service requester and ISP's needs according to available Internet resources.QoS comprises the possibility that service responds to a request in preset time, the situation quality of service execution task, speed speed and reliability of service and the fail safe etc. of service operation.Therefore, service impacting qos parameter has throughput, time of delay, time of implementation, reliability, expense, fail safe, credit etc.Unit difference between various parameters, numerical value difference is very large, there is no comparativity between index, and directly big or small result is inaccurate.Need to be normalized and COMPREHENSIVE CALCULATING parameter information, thereby allow service requester to select the service that service quality is higher in multiple services that meet the demands.
Virtual Service moving method provided by the invention calculates thought by QoS and applies to services migrating cost and calculate up, in the process of selection object migration node, not only consider that two kinds of the time delay of service and the bandwidth of link affect parameter, the multiple parameters that affect services migrating cost such as server disposable load, price are more considered, they are carried out to COMPREHENSIVE CALCULATING, select the node of migration Least-cost as the service provider of request sequence.The effectively comprehensively impact of various factors on migration, judges and carries out migration, utilizes services migrating to realize network resource management and improves user's service experience quality.
Professional should further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can realize described function with distinct methods to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only the specific embodiment of the present invention; the protection range being not intended to limit the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (7)

1. a Virtual Service moving method, is characterized in that, described method comprises:
Select migration evaluating according to COS and user's request, the dummy node in monitor monitoring network, in the time that new request arrival or user's request change, obtains the state information of described dummy node about evaluating;
Calculate the services migrating cost of each dummy node according to described state information;
The dummy node that obtains Virtual Service migration Least-cost by the services migrating cost of the each dummy node of described calculating from dummy node is as service node;
Select described service node to move described Virtual Service.
2. Virtual Service moving method as claimed in claim 1, it is characterized in that, described state information comprises cost, ISP's credit and the strike price of size, service disruption and the recovery of bandwidth on disposable load, the migration path of time delay, server of service, service itself.
3. Virtual Service moving method as claimed in claim 1, is characterized in that, the described services migrating cost of calculating each dummy node according to described state information specifically comprises:
Set up the computation model generating based on QoS according to described state information.
4. Virtual Service moving method as claimed in claim 3, is characterized in that, the described computation model generating based on QoS according to described state information foundation specifically comprises:
According to described state information, obtain matrix Q:
Q = q 1,1 q 1,2 &CenterDot; &CenterDot; &CenterDot; q 1 , m q 2,1 q 2,2 &CenterDot; &CenterDot; &CenterDot; q 2 , m &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; q n , 1 q n,2 &CenterDot; &CenterDot; &CenterDot; q n , m
Wherein, m, n are integer, q n,mfor the element in matrix Q, with C (v i) expression dummy node v imigration cost, every state information of each the line display dummy node in matrix Q, a kind of state information that affects described migration cost is shown in each list in matrix Q.
5. Virtual Service moving method as claimed in claim 4, is characterized in that, the described computation model generating based on QoS according to described state information foundation specifically also comprises:
Described matrix Q is normalized, the described state information of different dimensions is standardized as to nondimensional normalizing parameter, form a unified criterion;
Described normalizing parameter is divided into groups, every group comprise multiple shown in normalizing parameter, and by group operation, draw the migration cost information of each dummy node after grouping.
6. Virtual Service moving method as claimed in claim 5, is characterized in that, described described matrix Q is normalized, and the described state information of different dimensions is standardized as to nondimensional normalizing parameter, forms a unified criterion and specifically comprises:
The first matrix N={n 1, n 2..., n mrepresent wherein n j=0 or 1,1≤j≤m;
The second matrix C={c 1, c 2..., c mrepresent c ja constant, 1≤j≤m;
Each element in matrix Q is normalized with following formula:
q &prime; i , j = q i , j 1 n &Sigma; i = 1 n q i , j , if 1 n &Sigma; i = 1 n q i , j &NotEqual; 0 , and , q i , j 1 n &Sigma; i = 1 n q i , j < c j , amd , n j = 1 c j , if 1 n &Sigma; i = 1 n q i , j = 0 , and , n j = 1 , or , q i , j 1 n &Sigma; i = 1 n q i , j &GreaterEqual; c j
q &prime; i , j = 1 n &Sigma; i = 1 n q i , j q i , j , if , q i , j &NotEqual; 0 , and , n j = 0 , and , 1 n &Sigma; i = 1 n q i , j q i , j < c j c j , if , q i , j = 0 , and , n j = 0 , or , 1 n &Sigma; i = 1 n q i , j q i , j &GreaterEqual; c j
Wherein,
Figure FDA0000478635150000023
for the mean value of j kind cost standard in matrix Q, obtain matrix Q':
Q &prime; = q 1,1 &prime; q 1,2 &prime; &CenterDot; &CenterDot; &CenterDot; q 1 , m &prime; q 2,1 &prime; q 2,2 &prime; &CenterDot; &CenterDot; &CenterDot; q 2 , m &prime; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; q n , 1 &prime; q n , 2 &prime; &CenterDot; &CenterDot; &CenterDot; q n , m &CenterDot;
Wherein, q i,jfor the element in matrix Q, q n,m' be the element in matrix Q'.
7. Virtual Service moving method as claimed in claim 1, is characterized in that, described method also comprises: in the time not having new request to arrive or user asks not change, do not carry out the migration of dummy node.
CN201410101765.4A 2014-03-18 2014-03-18 Virtual Service moving method Expired - Fee Related CN103825963B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410101765.4A CN103825963B (en) 2014-03-18 2014-03-18 Virtual Service moving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410101765.4A CN103825963B (en) 2014-03-18 2014-03-18 Virtual Service moving method

Publications (2)

Publication Number Publication Date
CN103825963A true CN103825963A (en) 2014-05-28
CN103825963B CN103825963B (en) 2017-12-22

Family

ID=50760787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410101765.4A Expired - Fee Related CN103825963B (en) 2014-03-18 2014-03-18 Virtual Service moving method

Country Status (1)

Country Link
CN (1) CN103825963B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104537682A (en) * 2015-01-26 2015-04-22 四川众亿得科技有限责任公司 Medical image segmenting and dispatching method
CN104539551A (en) * 2014-12-22 2015-04-22 清华大学 Virtual service migration method for routing and switching platform
CN105743985A (en) * 2016-03-24 2016-07-06 国家计算机网络与信息安全管理中心 Virtual service migration method based on fuzzy logic
CN111045822A (en) * 2019-12-07 2020-04-21 深圳先进技术研究院 Service migration method, system and terminal equipment in mobile cloud computing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790793A (en) * 2012-05-08 2012-11-21 北京邮电大学 Decision method and control module facing to cloud computing virtual machine migration
CN103064744A (en) * 2012-12-27 2013-04-24 北京仿真中心 Resource optimizing method applied to multi-layer web application based on SLA (Service Level Agreement)
CN103561077A (en) * 2013-10-29 2014-02-05 李飞 Cloud storage task scheduling method on condition of multiple QoS constraints
US20140068045A1 (en) * 2012-08-29 2014-03-06 Hitachi, Ltd. Network system and virtual node migration method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790793A (en) * 2012-05-08 2012-11-21 北京邮电大学 Decision method and control module facing to cloud computing virtual machine migration
US20140068045A1 (en) * 2012-08-29 2014-03-06 Hitachi, Ltd. Network system and virtual node migration method
CN103064744A (en) * 2012-12-27 2013-04-24 北京仿真中心 Resource optimizing method applied to multi-layer web application based on SLA (Service Level Agreement)
CN103561077A (en) * 2013-10-29 2014-02-05 李飞 Cloud storage task scheduling method on condition of multiple QoS constraints

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539551A (en) * 2014-12-22 2015-04-22 清华大学 Virtual service migration method for routing and switching platform
US20160179584A1 (en) * 2014-12-22 2016-06-23 Tsinghua University Virtual service migration method for routing and switching platform and scheduler
CN104539551B (en) * 2014-12-22 2017-11-17 清华大学 Routing switch platform Virtual Service moving method
CN104537682A (en) * 2015-01-26 2015-04-22 四川众亿得科技有限责任公司 Medical image segmenting and dispatching method
CN104537682B (en) * 2015-01-26 2018-09-07 四川众亿得科技有限责任公司 A kind of segmentation of medical image and dispatching method
CN105743985A (en) * 2016-03-24 2016-07-06 国家计算机网络与信息安全管理中心 Virtual service migration method based on fuzzy logic
CN111045822A (en) * 2019-12-07 2020-04-21 深圳先进技术研究院 Service migration method, system and terminal equipment in mobile cloud computing
CN111045822B (en) * 2019-12-07 2023-12-29 深圳先进技术研究院 Service migration method, system and terminal equipment in mobile cloud computing

Also Published As

Publication number Publication date
CN103825963B (en) 2017-12-22

Similar Documents

Publication Publication Date Title
CN102281290B (en) Emulation system and method for a PaaS (Platform-as-a-service) cloud platform
Feng et al. Congestion control scheme performance analysis based on nonlinear RED
Lodhi et al. GENESIS: An agent-based model of interdomain network formation, traffic flow and economics
CN113543160B (en) 5G slice resource allocation method, device, computing equipment and computer storage medium
CN103873364A (en) Inter-domain multi-path rooting implementation method
CN103825963A (en) Virtual service transition method
CN110502323A (en) A kind of cloud computing task real-time scheduling method
Chen et al. RLMR: Reinforcement learning based multipath routing for SDN
Shan et al. A multilevel optimization framework for computation offloading in mobile edge computing
CN105245362A (en) SDN (Software Defined Network) environment important node information acquisition method
Bao et al. User behavior and user experience analysis for social network services
Sahoo et al. DSSDN: demand‐supply based load balancing in software‐defined wide‐area networks
Cen et al. Developing a disaster surveillance system based on wireless sensor network and cloud platform
CN103944748B (en) Network-key-node self-similar-traffic generation simplification method based on genetic algorithm
Shefu et al. Fruit fly optimization algorithm for network-aware web service composition in the cloud
Wu et al. A comparative analysis of server selection in content replication networks
van Beijnum et al. QoC-based optimization of end-to-end M-health data delivery services
Xiong et al. Qrp01-6: Resource optimization subject to a percentile response time sla for enterprise computing
Zhang et al. Bridging the Gap between {QoE} and {QoS} in Congestion Control: A Large-scale Mobile Web Service Perspective
Lei et al. AOM: adaptive mobile data traffic offloading for M2M networks
Zhu et al. Load balancing algorithm for web server based on weighted minimal connections
Lan et al. Heterogeneous-oriented resource allocation method in Internet of Things
Tang et al. Network availability evaluation based on markov chain of qos-aware
Liu et al. On the performance of a hybrid network traffic model
Chen et al. Optimal transport on supply-demand networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171222

Termination date: 20200318