CN106533966A - Network service resource arranging method and apparatus - Google Patents

Network service resource arranging method and apparatus Download PDF

Info

Publication number
CN106533966A
CN106533966A CN201611031521.9A CN201611031521A CN106533966A CN 106533966 A CN106533966 A CN 106533966A CN 201611031521 A CN201611031521 A CN 201611031521A CN 106533966 A CN106533966 A CN 106533966A
Authority
CN
China
Prior art keywords
network
terminal
represent
network service
flow
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
CN201611031521.9A
Other languages
Chinese (zh)
Other versions
CN106533966B (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.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Publication of CN106533966A publication Critical patent/CN106533966A/en
Application granted granted Critical
Publication of CN106533966B publication Critical patent/CN106533966B/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/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • 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/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a network service resource arranging method and apparatus and relates to the field of communication network. The method includes the steps of conducting formal description for network topology and network service to obtain a first model corresponding to the network topology and a second model corresponding to the network service, respectively constraining network flow paths and network service disposition nodes according to the first model and the second model, determining the optimization target of network service resource arrangement according to the constraint of the network flow paths and the network service disposition nodes, and employing a greedy algorithm for optimization according to the optimization target to obtain the result of network service resource arrangement. The resource utilization rate of network service nodes can be improved, the load balancing of network link flow can be realized, and dynamic expansion of network service resources can be supported.

Description

A kind of resource method of combination of network service and device
Technical field
The present invention relates to network communication technology field, in particular it relates to the resource method of combination and dress of a kind of network service Put.
Background technology
The function of computer network is divided into two main aspects of network-in-dialing and network service.Network-in-dialing refers to carry out Route selection, needs to realize that dynamic routing protocol guarantee is fault-tolerant in the face of network path Problem of Failure to connect different terminal equipment Property, limit in the face of network link bandwidth, need to carry out traffic engineering and adjust to avoid link congestion.Network service is carried for terminal device For four to seven layers of function services of network, the intermediate equipment of bearer network service is deployed between terminal device, what process was flowed through Customer flow.Network service can provide the functions such as safety detection, traffic statistics, network acceleration for terminal device.Network service leads to Functional sequence is often configured to, and the combination of multiple network service is provided according to given order.
Software defined network and network function virtualization are the developing important technologies of current network.Software defined network is By forwarding unit open interface and centralized Control in logic, the rule of correspondence is disposed in forwarding unit, realized to network traffics Precise control.Network function virtualization refers to operate in the network function of proprietary intermediate equipment using Intel Virtualization Technology On general processing platform, dynamically distributes and the extension of network function resource are realized.
Existing network service adopts static resource method of combination.Limited by hardware device closing, Web Service Deployment At gateway or network traffics convergence, by the disposal ability of intermediate equipment needed for assessment deployment point in advance, alignment processing is enabled The intermediate equipment of performance.Additionally, existing network service is by software defined network technology, it is possible to achieve the load of intermediate equipment It is balanced.For the intermediate equipment that static state is enabled, network traffics path can be selected by flow lead, make it is different in Between equipment process different user between network traffics, by network traffics according to consume disposal ability priority be evenly distributed on it is corresponding In intermediate equipment, it is possible to achieve the load balancing of intermediate equipment.
The resource method of combination of existing network service, by technology restriction, it is impossible to realize multiple-objection optimization, is specifically present such as Lower functional defect:
(1) static resource method of combination, is deployed at gateway node, and network traffics are big, need the centre of high disposal performance Equipment is supported, relatively costly.
(2) static resource method of combination, in network traffics sustainable growth, existing intermediate equipment cannot provide enough places During reason ability, need to carry out Longitudinal Extension, replace with the higher intermediate equipment of process performance, autgmentability is poor, upgrade cost is high.
(3) static resource method of combination, increased the consumption of link bandwidth using flow lead, not the money to link bandwidth Source is consumed into row constraint, there is a problem of producing link congestion.
The content of the invention
It is an object of the invention to provide the resource method of combination and device of a kind of network service.Wherein, methods described is wanted The technical problem of solution is:The multipoint fault probability of network service how is reduced, and avoids producing the congestion of network link.
To achieve these goals, the present invention provides a kind of resource method of combination of network service.Methods described includes:
Formalized description is carried out respectively to network topology and network service, the first mould corresponding with the network topology is obtained Type and the second model corresponding with the network service;
According to first model and second model difference constraint network flow path and Web Service Deployment node;
The money of the network service is determined according to the constraint of the network traffics path and the Web Service Deployment node The optimization aim of source layout;
It is optimized using greedy algorithm according to the optimization aim, obtains the resource layout result of the network service.
Alternatively, first model is:
G=(V, E, C)
Wherein, G represents the network topology, and V represents the set of network node, and E represents the set of network link, and C is represented The set of terminal flow bandwidth.
Alternatively, second model is:
Wherein, DstRepresent terminal s to the flow T of terminal tstCorresponding network service,Represent network function miIn function Deployment order in sequence, N represent the integer more than or equal to zero, and s, t ∈ H, H represent the set of end host, and n is represented and is more than Or the integer equal to 1.
Alternatively, the network traffics path is constrained to:
Wherein, s, t ∈ H, H represent the set of end host, i, j ∈ V, and V represents the set of network node, (i, j) ∈ E, E The set of network link is represented,For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network link (i, j), takes 1 value and represents terminal s to the flow T of terminal tstThrough network link (i, j), k ∈ V, (j, k) ∈ E,Become for 0-1 Amount, takes 0 value and represents terminal s to the flow T of terminal tstWithout network link (j, k), take 1 value and represent terminal s to the stream of terminal t Amount TstThrough network link (j, k),For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network section Point i, takes 1 value and represents terminal s to the flow T of terminal tstThrough network node i, max (*, *) represents larger among two values Value, (j, i) ∈ E,For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network link (j, i), 1 is taken Value represents terminal s to the flow T of terminal tstThrough network link (j, i), CstRepresent terminal s to the flow T of terminal tstIt is shared Network link bandwidth resources, L represents the upper bound of the network link (i, j) using network link bandwidth resources.
Alternatively, the Web Service Deployment node is constrained to:
Wherein, s, t ∈ H, H represent the set of end host, and i, j ∈ V, V represent the set of network node, mp∈ W, W table Show the set of network function,For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network node i, take 1 value represents terminal s to the flow T of terminal tstThrough network node i,For 0-1 variables, take 0 value and represent at network node i not Using network function mpProcess the flow T from terminal s to terminal tst, take 1 value and represent at network node i using network function mpPlace Flow T of the reason from terminal s to terminal tst,Represent network function mpDeployment order in functional sequence,WithDifference table Show auxiliary variable,For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network link (i, j), 1 is taken Value represents terminal s to the flow T of terminal tstThrough network link (i, j), N represents the integer more than or equal to zero, mq∈ W, Represent network function mqDeployment order in functional sequence,For 0-1 variables, take 0 value and represent unused net at network node i Network function mqProcess the flow T from terminal s to terminal tst, take 1 value and represent at network node i using network function mqProcess from end Flow Ts of the end s to terminal tst,Represent network function mpProcess the flow T from terminal s to terminal tstThe calculating of required consumption Resource, BiComputing resource total at network node i is represented, the maximum that M can be represented in representing computer, K are represented and be deployed with net The sum of the node of network service, ziFor 0-1 variables, take 0 value and represent and at network node i, do not dispose any network service, take 1 value table Show network service is deployed with network node i.
Alternatively, the optimization aim is:
min(λ1L+λ2K)
Wherein, min (*) represents and minimizes that L represents the upper bound of the network link (i, j) using network link bandwidth resources, K represents the sum of the node for being deployed with network service, λ1With λ2For keeper or the parameter of application setting, and λ12=1.
Alternatively, methods described also includes:
In the feelings that the disposal ability needed for the network service rule change of the network service or the network service increases Under condition, the Web Service Deployment node, and network traffics path described in incremental update are adjusted.
Correspondingly, the present invention also provides a kind of resource layout device of network service.Described device includes:
Description unit, for carrying out formalized description respectively to network topology and network service, obtains opening up with the network Flutter corresponding first model and the second model corresponding with the network service;
Constraint element, for according to first model and second model difference constraint network flow path and network Service arrangement node;
Determining unit, described in being determined according to the constraint of the network traffics path and the Web Service Deployment node The optimization aim of the resource layout of network service;
Optimization unit, for being optimized using greedy algorithm according to the optimization aim, obtains the network service Resource layout result.
Alternatively, first model is:
G=(V, E, C)
Wherein, G represents the network topology, and V represents the set of network node, and E represents the set of network link, and C is represented The set of terminal flow bandwidth.
Alternatively, second model is:
Wherein, DstRepresent terminal s to the flow T of terminal tstCorresponding network service,Represent network function miIn function Deployment order in sequence, N represent the integer more than or equal to zero, and s, t ∈ H, H represent the set of end host, and n is represented and is more than Or the integer equal to 1.
As shown from the above technical solution, formalized description is carried out respectively to network topology and network service, obtain with it is described Corresponding first model of network topology and the second model corresponding with the network service;And according to first model and described Second model distinguishes constraint network flow path and Web Service Deployment node;Further according to the network traffics path and the net The constraint of network service arrangement node determines the optimization aim of the resource layout of the network service;Adopt further according to the optimization aim It is optimized with greedy algorithm, obtains the resource layout result of the network service, both planned network traffics path, is determined again Web Service Deployment node, can realize the load balancing of the high usage and link bandwidth resource of computing resource, so as to drop The multipoint fault probability of low network service, and avoid producing the congestion of network link.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described.It should be evident that drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these figures.
Fig. 1 is the flow chart of the resource method of combination of the network service that one embodiment of the invention is provided;
Fig. 2 is the schematic diagram of the network topology that one embodiment of the invention is provided;
Fig. 3 is the schematic diagram of the network service rule that one embodiment of the invention is provided;
Fig. 4 is the structural representation of the resource layout device of the network service that one embodiment of the invention is provided;
Fig. 5 is the structural representation of the resource layout device of the network service that further embodiment of this invention is provided.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of the resource method of combination of the network service that one embodiment of the invention is provided.As shown in figure 1, this The resource method of combination for inventing the network service of embodiment offer includes:
In step S101, formalized description is carried out respectively to network topology and network service, obtains opening up with the network Flutter corresponding first model and the second model corresponding with the network service.
Wherein, first model is:
G=(V, E, C)
Wherein, G represents the network topology, and V represents the set of network node, and E represents the set of network link, and C is represented The set of terminal flow bandwidth.
Wherein, second model is:
Wherein, DstRepresent terminal s to the flow T of terminal tstCorresponding network service,Represent network function miIn function Deployment order in sequence, N represent the integer more than or equal to zero, and s, t ∈ H, H represent the set of end host, and n is represented and is more than Or the integer equal to 1.
Specifically, network topology includes main frame distribution, forwarding unit distribution and network link bandwidth.To network topology form Change is described as G=(V, E, C), and set of the V for network node, E are the set of network link,GC group connector main frame Set, C for terminal flow bandwidth set.Network service is related to fire wall, intrusion detection, traffic statistics and application proxy etc. Multiple network function, heterogeneous networks function provide the user network service by particular sequence combination.Form is carried out to network service Change description, network function set W={ m are obtained1,m2,…,mn, the flow T of terminal s to terminal tst(s, t ∈ H) map network Service and beRepresent network function miDeployment in functional sequence is suitable Sequence,Value hour order front,Take 0 value and represent TstNot by network function miIt is handled.
Then, in step s 102, according to first model and second model difference constraint network flow path With Web Service Deployment node.
Wherein, the network traffics path is constrained to:
Wherein, s, t ∈ H, H represent the set of end host, i, j ∈ V, and V represents the set of network node, (i, j) ∈ E, E The set of network link is represented,For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network link (i, j), takes 1 value and represents terminal s to the flow T of terminal tstThrough network link (i, j), k ∈ V, (j, k) ∈ E,Become for 0-1 Amount, takes 0 value and represents terminal s to the flow T of terminal tstWithout network link (j, k), take 1 value and represent terminal s to the stream of terminal t Amount TstThrough network link (j, k),For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network section Point i, takes 1 value and represents terminal s to the flow T of terminal tstThrough network node i, max (*, *) represents larger among two values Value, (j, i) ∈ E,For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network link (j, i), 1 is taken Value represents terminal s to the flow T of terminal tstThrough network link (j, i), CstRepresent terminal s to the flow T of terminal tstIt is shared Network link bandwidth resources, L represents the upper bound of the network link (i, j) using network link bandwidth resources.
Wherein, the Web Service Deployment node is constrained to:
Wherein, s, t ∈ H, H represent the set of end host, and i, j ∈ V, V represent the set of network node, mp∈ W, W table Show the set of network function,For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network node i, take 1 value represents terminal s to the flow T of terminal tstThrough network node i,For 0-1 variables, take 0 value and represent at network node i not Using network function mpProcess the flow T from terminal s to terminal tst, take 1 value and represent at network node i using network function mpPlace Flow T of the reason from terminal s to terminal tst,Represent network function mpDeployment order in functional sequence,WithDifference table Show auxiliary variable,For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network link (i, j), 1 is taken Value represents terminal s to the flow T of terminal tstThrough network link (i, j), N represents the integer more than or equal to zero, mq∈ W, Represent network function mqDeployment order in functional sequence,For 0-1 variables, take 0 value and represent unused net at network node i Network function mqProcess the flow T from terminal s to terminal tst, take 1 value and represent at network node i using network function mqProcess from end Flow Ts of the end s to terminal tst,Represent network function mpProcess the flow T from terminal s to terminal tstThe calculating of required consumption Resource, BiComputing resource total at network node i is represented, the maximum that M can be represented in representing computer, K are represented and be deployed with net The sum of the node of network service, ziFor 0-1 variables, take 0 value and represent and at network node i, do not dispose any network service, take 1 value table Show network service is deployed with network node i.
Specifically, for the constraint in network traffics path, the flow between setting terminal is unipath and acyclic.For net The constraint of network service arrangement node, network service meet isotonicity and uniqueness.Additionally, by introducing auxiliary variable, to network Service arrangement joint constraint is modeled, and auxiliary variable is incremented by order-preserving, service rule from source node to destination node with network traffics Functional parameter then and the same sequence of auxiliary variable.
And then, in step s 103, the constraint according to the network traffics path and the Web Service Deployment node Determine the optimization aim of the resource layout of the network service.
Wherein, the optimization aim is:
min(λ1L+λ2K)
Wherein, min (*) represents and minimizes that L represents the upper bound of the network link (i, j) using network link bandwidth resources, K represents the sum of the node for being deployed with network service, λ1With λ2For keeper or the parameter of application setting, and λ12=1.
Specifically, the resource layout of network service need to meet various optimization aims, be the load for realizing network link flow Equilibrium, has Lmin, that is, the maximum load of network link is minimized, is the resource utilization for improving network service node, it is to avoid dispersion Node deployment increases fault rate, has Kmin, that is, minimize the sum of Web Service Deployment node.
Multi-objective optimization question is converted into into single-object problem, optimization aim is:
min(λ1L+λ2K)
Wherein, λ1With λ2For keeper or the parameter of application setting, default λ when not manually setting1=Kmin/(Lmin+ Kmin), λ2=Lmin/(Lmin+Kmin), LminWith KminBy taking minimum of a value in each comfortable single-object problem.
Finally, in step S104, it is optimized using greedy algorithm according to the optimization aim, obtains the network clothes The resource layout result of business.
Specifically, the process being optimized using greedy algorithm is as follows:
S1, the network service regular collection for initializing non-layout, comprising all input rules, often rule specifies certain two end Logical network service sequences needed for flow between end.The network service regular collection of initialization layout, is empty set.
If S2, the network service regular collection of non-layout are sky, step S12 is gone to, otherwise choose the network clothes of non-layout Network service needed for business regular collection processes the minimum regular r of ability.
S3, network service m sequentially successively in selection rule r.
S4, selection have been deployed with the most node of remaining computing resource in the node of network service, and on-premise network services m, If feasible, S7 is gone to, the otherwise surplus resources of existing deployment node are unsatisfactory for deployment conditions.
The most node of computing resource in S5, the node of the non-on-premise network service of selection, on-premise network service m, if feasible, S7 is gone to, else rule r cannot be disposed.
S6, regular r is labeled as disposing it is put in layout set, goes to S2.
The deployment node of the network service of S7, circulation step S3-S6 in regular r all determines.
S8, by the deployment node composition sequence P of network service in regular r, by source terminal s and purpose terminal in regular r T, is separately added into the head and the tail of sequence P.
Network node in S9, successively selection sequence P is to (pi,pi+1) i=1,2 ..., | P | -1.
S10, selection network node piTo node pi+1All paths in network link using the minimum road of bandwidth resources Footpath, deployment correspondence forwarding rule.
S11, circulation step S9-S10 have path reachable between all-network node pair in sequence P, go to step S2.
The determination of S12, the Web Service Deployment node of all input rules and corresponding network flow path, the money of network service Source layout is completed.
Preferably, methods described also includes:In the change of network service rule or the network service of the network service In the case that required disposal ability increases, the Web Service Deployment node, and network traffics road described in incremental update are adjusted Footpath.Thereby, support the dynamic expansion of network service
Specifically, the resource method of combination of the network service that the present embodiment is provided being capable of adaptive resource constraint and service rule Change then, dynamic update deployment result.In terms of resource constraint, increase when the network service that disposed rule is consumed processes ability Plus, more than the current deployment node processing power upper limit, new deployment node can be chosen according to step S4-S5, according to step S10 Choose the forward-path between the deployment node adjacent with sequence of network node after updating.In terms of service regulation, there is modification, increase Plus and delete three kinds of situations of service regulation, for delete service regulation delete correspondence deployment forwarding rule and deployment node On network service resource, for increasing service regulation according to the process of step S3-S11, for alteration ruler is using deleting Former service regulation and new two step of amended service regulation of increase are completed.
The present embodiment is obtained and the network topology by carrying out formalized description respectively to network topology and network service Corresponding first model and the second model corresponding with the network service;And according to first model and second model Difference constraint network flow path and Web Service Deployment node;Further according to the network traffics path and the network service portion The constraint of administration's node determines the optimization aim of the resource layout of the network service;Further according to the optimization aim using greedy calculation Method is optimized, and obtains the resource layout result of the network service, had both planned network traffics path, determines network clothes again Business deployment node, can realize the load balancing of the high usage and link bandwidth resource of computing resource, so as to reduce network clothes The multipoint fault probability of business, and avoid producing the congestion of network link.
Fig. 2 is the schematic diagram of the network topology that one embodiment of the invention is provided.Fig. 3 is the net that one embodiment of the invention is provided The schematic diagram of network service regulation.The specific embodiment of the present invention is described in further detail with reference to Fig. 2 and Fig. 3.In Fig. 2 Network topology and Fig. 3 in network service rule can be applicable in cloud data center, carrier network and enterprise network.Fig. 2 In include 4 terminals H1-H4, at 6 forwarding unit SW1-SW6, wherein SW5 and SW6 on-premise network service disposal ability on The computing capability upper limit for being limited to on-premise network service at 10, SW1-SW4 is 8.As shown in figure 3, the flow for H1 to H2 provides peace The functions such as full inspection survey, fire wall FW and intrusion detection IDS, the uninterrupted of H1 to H2 is 1, needs the disposal ability of FW and IDS Respectively 2 and 3;Safety detection and network acceleration service, FW and IDS and agent functionality Proxy, H1 are provided for H1 to H3 flows Uninterrupted to H3 is 2, and the disposal ability for needing FW and IDS is 4 and the disposal ability of 6, Proxy is 3;For H1 to H4 flows Network acceleration service is provided, the uninterrupted of Proxy, H1 to H4 is that 4, Proxy disposal abilities are 6.
Thus obtain, network topology is:
G=(V, E, C)
V={ H1, H2, H3, H4, S1, S2, S3, S4, S5, S6 }
H={ H1, H2, H3, H4 }
E=(H1, S1), (S1, S2), (S1, S5), (S5, S6), (S6, S2), (S6, S4), (S3, S4), (S3, S5), (H2, S2), (H3, S3), (H4, S4) },
C={ CH1H2=1, CH1H3=2, CH1H4=4 }
Wherein, CH1H2Represent terminal H1To terminal H2Flow shared by network link bandwidth resources, CH1H3Represent terminal H1To terminal H3Flow shared by network link bandwidth resources, CH1H4Represent terminal H1To terminal H4Flow shared by net Network link bandwidth resource.
Thus obtain, network service is:
W={ m1=FW, m2=IDS, m3=Proxy }
Network service rule
Network service rule
Network service rule
Wherein, DstRepresent terminal s to the flow T of terminal tstCorresponding network service,Represent network function miIn function Deployment order in sequence.
Thus obtain, network traffics paths is constrained to:
Thus obtain, Web Service Deployment node is constrained to:
Thus obtain, optimization aim is:
min0.2L+0.8K
Thus obtain, be specially using the optimization process of greedy algorithm:
L1, the non-layout network service regular collection Φ={ D of initializationH1H2,DH1H3,DH1H4, layout network service is regular Set
If L2, Φ are sky, step L12 is gone to, otherwise chooses network service needed for Φ and process the minimum regular r of ability, D is chosen firstH1H2
L3, network service m sequentially successively in selection rule r, to DH1H2, FW and IDS is chosen successively.
L4, selection have been deployed with the most network node of remaining computing resource in the node of network service, on-premise network clothes Business m, if feasible, goes to L7, and the otherwise surplus resources of existing deployment node are unsatisfactory for deployment conditions, to DH1H2In FW without existing There is deployment node to carry out next step, to DH1H2In IDS existing deployment node SW5 surplus resources up to 8 (be deployed with DH1H2 FW), IDS can be disposed.
The most node of resource in L5, the node of the non-on-premise network service of selection, on-premise network service m, if feasible, go to L7, else rule r cannot be disposed, to DH1H2In FW choose node SW5.
L6, regular r is labeled as disposing it is put in layout set, goes to L2.
The deployment node of the network service of L7, circulation step L3-L6 in regular r all determines.
L8, by the deployment node composition sequence P of network service in regular r, by source terminal s and purpose terminal in regular r T, is separately added into the head and the tail of sequence P, to DH1H2,
Node in L9, successively selection sequence P is to (pi,pi+1) i=1,2 ..., | P | -1 is rightNode to for (H1,SW5FW)(SW5FW,W5IDS)(W5IDS,H2)。
L10, selection network node piTo node pi+1All paths in network link using the minimum road of bandwidth resources Footpath, deployment correspondence forwarding rule, (H1, SW5FW) path be H1-SW1-SW5, (SW5FW,SW5IDS) path be SW5.
L11, circulation step L9-L10 have path reachable in sequence P between all nodes pair, go to L2.
The determination of L12, the Web Service Deployment node of all input rules and corresponding network flow path, the money of network service Source layout is completed.
The resource method of combination of the network service that the present embodiment is provided being capable of adaptive resource constraint and the change of service regulation Change, dynamic updates deployment result.In terms of resource constraint, increase when the network service that disposed rule is consumed processes ability, surpass The deployment node processing power upper limit before excessive, can choose new deployment node according to step L4-L5, choose according to step L10 Forward-path after renewal between network node deployment node adjacent with sequence.In terms of service regulation, exist modification, increase and Three kinds of situations of service regulation are deleted, is deleted in the forwarding rule and deployment node of correspondence deployment for service regulation is deleted Network service resource, for service regulation is increased according to the process of step L3-L11, for alteration ruler is taken using original is deleted Business rule and new two step of amended service regulation of increase are completed.
The embodiment of the present invention is based on software defined network and network function Intel Virtualization Technology, to make computer network to user Multiple network service is provided, by joint modeling being carried out to network topology and network service sequence, to network link bandwidth resources Layout is carried out with the computing resource of support Web Service Deployment, planning network flow path determines Web Service Deployment node, it is real The load balancing of the high usage and link bandwidth resource of existing computing resource.
In a particular embodiment, the embodiment of the present invention can apply to carrier network, data center network and In enterprise network, provide the user and stablize extendible network service, optimize network link loads, save network operation cost.
For embodiment of the method, in order to be briefly described, therefore which is all expressed as a series of combination of actions, but this area Technical staff should know that the embodiment of the present invention is not limited by described sequence of movement, because according to present invention enforcement Example, some steps can adopt other orders or while carry out.Secondly, those skilled in the art should also know, specification Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
Fig. 4 is the structural representation of the resource layout device of the network service that one embodiment of the invention is provided.Such as Fig. 4 institutes Show, the resource layout device of the network service that one embodiment of the invention is provided includes describing unit 201, constraint element 202, determines Unit 203 and optimization unit 204, wherein:
Description unit 201, for carrying out formalized description respectively to network topology and network service, obtains and the network Topologically corresponding first model and the second model corresponding with the network service;
Constraint element 202, for according to first model and second model difference constraint network flow path and Web Service Deployment node;
Determining unit 203, for being determined according to the constraint of the network traffics path and the Web Service Deployment node The optimization aim of the resource layout of the network service;
Optimization unit 204, for being optimized using greedy algorithm according to the optimization aim, obtains the network service Resource layout result.
The resource layout device of the network service that the present embodiment is provided is applied to the corresponding network service of above example Resource method of combination, will not be described here.
The present embodiment provides a kind of resource layout device of network service, and description unit 201 is for network topology and net Network service carries out formalized description respectively, obtains the first model corresponding with the network topology and corresponding with the network service The second model;Constraint element 202 is for according to first model and second model difference constraint network flow path With Web Service Deployment node;Determining unit 203 is for according to the network traffics path and the Web Service Deployment node Constraint determine the network service resource layout optimization aim;Optimize unit 204 for adopting according to the optimization aim It is optimized with greedy algorithm, obtains the resource layout result of the network service, both planned network traffics path, is determined again Web Service Deployment node, can realize the load balancing of the high usage and link bandwidth resource of computing resource, so as to drop The multipoint fault probability of low network service, and avoid producing the congestion of network link.
In an alternate embodiment of the present invention, first model is:
G=(V, E, C)
Wherein, G represents the network topology, and V represents the set of network node, and E represents the set of network link, and C is represented The set of terminal flow bandwidth.
In an alternate embodiment of the present invention, second model is:
Wherein, DstRepresent terminal s to the flow T of terminal tstCorresponding network service,Represent network function miIn function Deployment order in sequence, N represent the integer more than or equal to zero, and s, t ∈ H, H represent the set of end host, and n is represented and is more than Or the integer equal to 1.
Fig. 5 is the structural representation of the resource layout device of the network service that further embodiment of this invention is provided.Such as Fig. 5 institutes Show, the resource layout device of the network service includes:Processor (processor) 301, memory (memory) 302 and logical Letter bus 304;
Wherein, the processor 301, memory 302 complete mutual communication by the communication bus 304;
The processor 301 is used to call the programmed instruction in the memory 302, to perform above-mentioned each method embodiment The method for being provided, for example, include:Formalized description is carried out respectively to network topology and network service, obtains opening up with the network Flutter corresponding first model and the second model corresponding with the network service;According to first model and second model Difference constraint network flow path and Web Service Deployment node;According to the network traffics path and the Web Service Deployment The constraint of node determines the optimization aim of the resource layout of the network service;Entered using greedy algorithm according to the optimization aim Row optimization, obtains the resource layout result of the network service.
The present embodiment discloses a kind of computer program, and the computer program includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include programmed instruction, when described program instruction is calculated When machine is performed, computer is able to carry out the method provided by above-mentioned each method embodiment, for example, include:To network topology and network Service carries out formalized description respectively, obtains the first model corresponding with the network topology and corresponding with the network service Second model;According to first model and second model difference constraint network flow path and Web Service Deployment section Point;The resource layout of the network service is determined according to the constraint of the network traffics path and the Web Service Deployment node Optimization aim;It is optimized using greedy algorithm according to the optimization aim, obtains the resource layout knot of the network service Really.
The present embodiment provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing Storage computer instruction, the computer instruction make the computer perform the method provided by above-mentioned each method embodiment, example Such as include:Formalized description is carried out respectively to network topology and network service, the first mould corresponding with the network topology is obtained Type and the second model corresponding with the network service;According to first model and second model difference constraint network stream Amount path and Web Service Deployment node;Determined according to the constraint of the network traffics path and the Web Service Deployment node The optimization aim of the resource layout of the network service;It is optimized using greedy algorithm according to the optimization aim, obtains institute State the resource layout result of network service.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of said method embodiment can pass through Completing, aforesaid program can be stored in a computer read/write memory medium the related hardware of programmed instruction, the program Upon execution, perform the step of including said method embodiment;And aforesaid storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
The embodiments such as base station described above are only schematic, wherein the unit as separating component explanation Can be or may not be physically separate, as the part that unit shows can be or may not be physics list Unit, you can local to be located at one, or can also be distributed on multiple NEs.Which is selected according to the actual needs can In some or all of module realizing the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can By software plus required general hardware platform mode realizing, naturally it is also possible to by hardware.Based on such understanding, on State the part that technical scheme substantially contributes prior art in other words to embody in the form of software product, should Computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers Order is used so that a computer equipment (can be personal computer, server, or network equipment etc.) performs each enforcement Method described in some parts of example or embodiment.
Finally it should be noted that:Various embodiments above is only illustrating the technical scheme of embodiments of the invention rather than right Its restriction;Although being described in detail to embodiments of the invention with reference to foregoing embodiments, the ordinary skill of this area Personnel should be understood:Which still can be modified to the technical scheme described in foregoing embodiments, or to which part Or all technical characteristic carries out equivalent;And these modifications or replacement, do not make the essence disengaging of appropriate technical solution The scope of each embodiment technical scheme of embodiments of the invention.

Claims (10)

1. the resource method of combination of a kind of network service, it is characterised in that methods described includes:
Formalized description is carried out respectively to network topology and network service, obtain the first model corresponding with the network topology and The second model corresponding with the network service;
According to first model and second model difference constraint network flow path and Web Service Deployment node;
Determine that according to the constraint of the network traffics path and the Web Service Deployment node resource of the network service is compiled The optimization aim of row;
It is optimized using greedy algorithm according to the optimization aim, obtains the resource layout result of the network service.
2. the resource method of combination of network service according to claim 1, it is characterised in that first model is:
G=(V, E, C)
Wherein, G represents the network topology, and V represents the set of network node, and E represents the set of network link, and C represents terminal The set of flow bandwidth.
3. the resource method of combination of network service according to claim 1, it is characterised in that second model is:
D s t = { d i s t | d i s t ∈ N , 0 ≤ d i s t ≤ n , i = 1 , ... , n }
Wherein, DstRepresent terminal s to the flow T of terminal tstCorresponding network service,Represent network function miIn functional sequence In deployment order, N represents the integer more than or equal to zero, s, t ∈ H, and H represents the set of end host, and n is represented and is more than or waits In 1 integer.
4. the resource method of combination of network service according to claim 1, it is characterised in that the network traffics path It is constrained to:
∀ s , t ∈ H : Σ i ∈ V : ( i , j ) ∈ E x i j s t - Σ i ∈ V : ( j , k ) ∈ E x j k s t = 1 , j = t 0 , j ≠ s , t , j ∈ V - 1 , j = s
∀ s , t ∈ H a n d i ∈ V : y i s t = m a x ( Σ j ∈ V : ( j , i ) ∈ E x j i s t , Σ j ∈ V : ( i , j ) ∈ E x i j s t )
∀ s , t ∈ H a n d i ∈ V : y i s t ≤ 1
∀ i , j ∈ V a n d ( i , j ) ∈ E : Σ s , t ∈ H x i j s t . C s t ≤ L
Wherein, s, t ∈ H, H represent the set of end host, i, j ∈ V, and V represents the set of network node, and (i, j) ∈ E, E are represented The set of network link,For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network link (i, j), Taking 1 value represents terminal s to the flow T of terminal tstThrough network link (i, j), k ∈ V, (j, k) ∈ E,For 0-1 variables, 0 is taken Value represents terminal s to the flow T of terminal tstWithout network link (j, k), take 1 value and represent terminal s to the flow T of terminal tst Through network link (j, k),For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network node i, Taking 1 value represents terminal s to the flow T of terminal tstThrough network node i, max (*, *) represents the higher value among two values, (j, i) ∈ E,For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network link (j, i), 1 value is taken Represent terminal s to the flow T of terminal tstThrough network link (j, i), CstRepresent terminal s to the flow T of terminal tstShared Network link bandwidth resources, L represent the upper bound of the network link (i, j) using network link bandwidth resources.
5. the resource method of combination of network service according to claim 1, it is characterised in that the Web Service Deployment section That what is put is constrained to:
∀ s , t ∈ H a n d i ∈ V a n d m p ∈ W : g i p s t ≤ y i s t
∀ s , t ∈ H a n d i ∈ V a n d m p ∈ W a n d d p s t ≠ 0 : Σ i ∈ V g i p s t = 1
∀ s , t ∈ H a n d i , j ∈ V : u i s t - u j s t + | V | x i j s t ≤ | V | - 1
∀ s , t ∈ H a n d i ∈ V : 1 ≤ u i s t ≤ | V | , u i s t ∈ N
∀ s , t ∈ H a n d i , j ∈ V a n d m p , m q ∈ W : ( d q s t - d p s t ) ( u i s t - u j s t ) ≤ | W | | V | ( 2 - g i p s t - g i q s t )
∀ i ∈ V : Σ p ∈ N Σ s , t ∈ H g i p s t A p s t ≤ B i
∀ i ∈ V : Σ p ∈ N Σ s , t ∈ H g i p s t ≤ Mz i
Σ i ∈ V z i = K
Wherein, s, t ∈ H, H represent the set of end host, and i, j ∈ V, V represent the set of network node, mp∈ W, W represent network The set of function,For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network node i, 1 value table is taken Show terminal s to the flow T of terminal tstThrough network node i,For 0-1 variables, take 0 value and represent unused net at network node i Network function mpProcess the flow T from terminal s to terminal tst, take 1 value and represent at network node i using network function mpProcess from end Flow Ts of the end s to terminal tst,Represent network function mpDeployment order in functional sequence,WithAuxiliary is represented respectively Variable,For 0-1 variables, take 0 value and represent terminal s to the flow T of terminal tstWithout network link (i, j), take 1 value and represent Flow T of terminal s to terminal tstThrough network link (i, j), N represents the integer more than or equal to zero, mq∈ W,Represent net Network function mqDeployment order in functional sequence,For 0-1 variables, take 0 value and represent uses no network function at network node i mqProcess the flow T from terminal s to terminal tst, take 1 value and represent at network node i using network function mqProcess from terminal s to The flow T of terminal tst,Represent network function mpProcess the flow T from terminal s to terminal tstThe computing resource of required consumption, BiComputing resource total at network node i is represented, the maximum that M can be represented in representing computer, K are represented and be deployed with network service Node sum, ziFor 0-1 variables, take 0 value and represent and at network node i, do not dispose any network service, take 1 value and represent network Network service is deployed with node i.
6. the resource method of combination of network service according to claim 1, it is characterised in that the optimization aim is:
min(λ1L+λ2K)
Wherein, min (*) represents and minimizes that L represents the upper bound of the network link (i, j) using network link bandwidth resources, K tables Show the sum of the node for being deployed with network service, λ1With λ2For keeper or the parameter of application setting, and λ12=1.
7. the resource method of combination of network service according to claim 1, it is characterised in that methods described also includes:
In the case where the disposal ability needed for the network service rule change of the network service or the network service increases, Adjust the Web Service Deployment node, and network traffics path described in incremental update.
8. the resource layout device of a kind of network service, it is characterised in that described device includes:
Description unit, for carrying out formalized description respectively to network topology and network service, obtains and the network topology pair The first model answered and the second model corresponding with the network service;
Constraint element, for according to first model and second model difference constraint network flow path and network service Deployment node;
Determining unit, for determining the network according to the constraint in the network traffics path and the Web Service Deployment node The optimization aim of the resource layout of service;
Optimization unit, for being optimized using greedy algorithm according to the optimization aim, obtains the resource of the network service Layout result.
9. the resource layout device of network service according to claim 8, it is characterised in that first model is:
G=(V, E, C)
Wherein, G represents the network topology, and V represents the set of network node, and E represents the set of network link, and C represents terminal The set of flow bandwidth.
10. the resource layout device of network service according to claim 8, it is characterised in that second model is:
D s t = { d i s t | d i s t ∈ N , 0 ≤ d i s t ≤ n , i = 1 , ... , n }
Wherein, DstRepresent terminal s to the flow T of terminal tstCorresponding network service,Represent network function miIn functional sequence In deployment order, N represents the integer more than or equal to zero, s, t ∈ H, and H represents the set of end host, and n is represented and is more than or waits In 1 integer.
CN201611031521.9A 2016-05-27 2016-11-18 A kind of the resource method of combination and device of network service Active CN106533966B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2016103659240 2016-05-27
CN201610365924 2016-05-27

Publications (2)

Publication Number Publication Date
CN106533966A true CN106533966A (en) 2017-03-22
CN106533966B CN106533966B (en) 2019-05-14

Family

ID=58356115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611031521.9A Active CN106533966B (en) 2016-05-27 2016-11-18 A kind of the resource method of combination and device of network service

Country Status (1)

Country Link
CN (1) CN106533966B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483286A (en) * 2017-08-14 2017-12-15 电子科技大学 Merge the method with deployment services functional chain under a kind of environment based on cloud and mist
CN107800571A (en) * 2017-10-23 2018-03-13 清华大学 A kind of network function dynamic method of combination, device and system
CN108600101A (en) * 2018-03-21 2018-09-28 北京交通大学 A kind of network for the optimization of end-to-end time delay performance services cross-domain method of combination
CN108718246A (en) * 2018-04-03 2018-10-30 华中科技大学 A kind of resource regulating method and system of network-oriented virtualization of function
CN108737192A (en) * 2018-06-01 2018-11-02 北京航空航天大学 Network service dispositions method based on service reliability
CN113381868A (en) * 2020-03-09 2021-09-10 中国电信股份有限公司 Network arranging method and device and computer readable storage medium
CN114584376A (en) * 2022-03-04 2022-06-03 中电科网络空间安全研究院有限公司 Traffic handling method, device, equipment and computer readable storage medium
CN117278403A (en) * 2023-09-18 2023-12-22 之江实验室 Incremental compiling method and system based on heterogeneous equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894152A (en) * 2010-06-29 2010-11-24 华中师范大学 Resource bundle-based learning content generating method
CN102546735A (en) * 2011-01-04 2012-07-04 中兴通讯股份有限公司 Cloud computing system, cloud computing method and cloud
CN104917629A (en) * 2015-04-14 2015-09-16 中国人民解放军信息工程大学 Multi-switching-node cooperation meta-ability scheduling method
CN105281955A (en) * 2015-10-27 2016-01-27 上海华为技术有限公司 Business and resource orchestration system, method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894152A (en) * 2010-06-29 2010-11-24 华中师范大学 Resource bundle-based learning content generating method
CN102546735A (en) * 2011-01-04 2012-07-04 中兴通讯股份有限公司 Cloud computing system, cloud computing method and cloud
CN104917629A (en) * 2015-04-14 2015-09-16 中国人民解放军信息工程大学 Multi-switching-node cooperation meta-ability scheduling method
CN105281955A (en) * 2015-10-27 2016-01-27 上海华为技术有限公司 Business and resource orchestration system, method and device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483286A (en) * 2017-08-14 2017-12-15 电子科技大学 Merge the method with deployment services functional chain under a kind of environment based on cloud and mist
CN107483286B (en) * 2017-08-14 2021-01-26 电子科技大学 Method for merging and deploying service function chain based on cloud-fog environment
CN107800571A (en) * 2017-10-23 2018-03-13 清华大学 A kind of network function dynamic method of combination, device and system
CN107800571B (en) * 2017-10-23 2019-11-22 清华大学 A kind of network function dynamic method of combination, device and system
CN108600101A (en) * 2018-03-21 2018-09-28 北京交通大学 A kind of network for the optimization of end-to-end time delay performance services cross-domain method of combination
CN108718246A (en) * 2018-04-03 2018-10-30 华中科技大学 A kind of resource regulating method and system of network-oriented virtualization of function
CN108737192B (en) * 2018-06-01 2020-07-07 北京航空航天大学 Network service deployment method based on service reliability
CN108737192A (en) * 2018-06-01 2018-11-02 北京航空航天大学 Network service dispositions method based on service reliability
CN113381868A (en) * 2020-03-09 2021-09-10 中国电信股份有限公司 Network arranging method and device and computer readable storage medium
CN114584376A (en) * 2022-03-04 2022-06-03 中电科网络空间安全研究院有限公司 Traffic handling method, device, equipment and computer readable storage medium
CN114584376B (en) * 2022-03-04 2024-04-26 中电科网络空间安全研究院有限公司 Traffic handling method, device, equipment and computer readable storage medium
CN117278403A (en) * 2023-09-18 2023-12-22 之江实验室 Incremental compiling method and system based on heterogeneous equipment
CN117278403B (en) * 2023-09-18 2024-05-24 之江实验室 Incremental compiling method and system based on heterogeneous equipment

Also Published As

Publication number Publication date
CN106533966B (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN106533966A (en) Network service resource arranging method and apparatus
CN107666412B (en) The virtual network function dispositions method of service function chain
Ghorbani et al. Walk the line: consistent network updates with bandwidth guarantees
US7827557B2 (en) Method and apparatus for allocating resources to applications using a linearized objective function
Naudts et al. Techno-economic analysis of software defined networking as architecture for the virtualization of a mobile network
CN107395501A (en) A kind of cross-domain dispositions method of network service function chain
Wang et al. Reliability-oriented and resource-efficient service function chain construction and backup
Amiri et al. Congestion-free rerouting of flows on dags
CN103891209A (en) Chassis controllers for converting universal flows
Zheng et al. Congestion-free rerouting of multiple flows in timed SDNs
US20060031444A1 (en) Method for assigning network resources to applications for optimizing performance goals
CN108718246A (en) A kind of resource regulating method and system of network-oriented virtualization of function
Hussain et al. Clonal selection algorithm for energy minimization in software defined networks
CN105591895A (en) Network device and method for managing network traffic
JP2008535290A (en) Method and system for communicating predicted network behavior between interconnected networks
CN114827002B (en) Multi-domain network security path calculation method, system, device, medium and terminal
Zamani et al. A novel approach for service function chain (SFC) mapping with multiple SFC instances in a fog-to-cloud computing system
Li et al. P4Resilience: Scalable resilience for multi-failure recovery in SDN with programmable data plane
Zhang et al. An efficient link closing strategy for improving traffic capacity on scale-free networks
CN106470165A (en) A kind of load sharing method, system and relevant device
CN102461068A (en) Modelling apparatus and method
Zhang et al. SFC-based multi-domain service customization and deployment
Allahvirdi et al. Placement of dynamic service function chains in partially VNF-enabled networks
Lemeshko et al. Fast ReRoute Tensor Model with Quality of Service Protection Under Multiple Parameters
CN105933239A (en) Method and device for setting network flow transmission link

Legal Events

Date Code Title Description
C06 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