Summary of the invention
The present invention provides a kind of network quality appraisal procedure, Apparatus and system, to solve the problems such as poor expandability that existing scheme exists.
For this reason, the embodiment of the invention adopts following technical scheme:
A kind of network quality appraisal procedure comprises:
In said network, enable MPLS VPN function, and open two test VPN:VPN1 and VPN2; Wherein, only the source node in said network is provided with detector, on the destination node that detector is not set, enables MPLS VPN loop fuction through first port that adheres to VPN1 and VPN2 separately and the connection of second port with this destination node;
Employing is divided the subnet mode or is not divided the subnet mode VPN1 of each node and the route of VPN2 are planned, and each node is preserved VPN1 of self and the routing table of VPN2;
The initial testing stream that source node sends detector is transmitted to destination node according to self routing table, and destination node flows loopback to said source node according to self routing table with final test;
Said source node offers the collection analysis center with final test stream, and said final test stream and the initial testing stream of preserving are are in advance analysed and compared in said collection analysis center, utilize the data assessment network quality of analysing and comparing.
Preferably, said network is Star Network, mesh network or heterogeneous network.
A kind of network quality evaluating system comprises source node, destination node, detector and collection analysis center, in said network, enables MPLS VPN function, and opens two test VPN:VPN1 and VPN2; Wherein, only the source node in said network is provided with detector, on the destination node that detector is not set, enables MPLS VPN loop fuction through first port that adheres to VPN1 and VPN2 separately and the connection of second port with this destination node;
Employing is divided the subnet mode or is not divided the subnet mode VPN1 of each node and the route of VPN2 are planned, and each node is preserved VPN1 of self and the routing table of VPN2;
Said source node, the initial testing that is used for that detector is sent flow according to self routing table and are transmitted to destination node;
Said destination node is used for according to self routing table final test being flowed loopback to said source node;
Said collection analysis center is used for the final test stream that said source node is provided and analyses and compares with the initial testing stream of preserving in advance, utilizes the data assessment network quality of analysing and comparing.
Preferably, said source node comprises:
Initial testing circulation bill unit, the routing table that the initial testing stream that is used for that detector is sent is preserved according to self in advance is transmitted to destination node;
Final test stream receives and retransmission unit, is used to receive the final test stream from the destination node loopback, and the collection analysis center is issued in said final test circulation;
Said destination node comprises:
Initial testing stream receiving element, the initial testing stream that sends by detector that is used for that the reception sources node transmits;
Final test stream transmitting element, the routing table that is used for preserving in advance according to self flows loopback to said source node with final test.
Preferably, said network is Star Network, mesh network or heterogeneous network.
It is thus clear that the present invention adopts a bit or partial points is disposed the scheme that detector, other node are taked " MPLS VPN loopback technology ", the quantity of detector and network node quantity are irrelevant, and therefore strong, the management of extensibility of the present invention simply, cost is low.
In addition, the present invention is applicable to diverse network structures such as star-like, netted, mixing.Under the Star Network structure, only need to dispose detector at Centroid, far-end need not to dispose detector, and detector quantity and distant-end node quantity are irrelevant; Under mesh network topology, also comparable prior art reduces half detector quantity.
Embodiment
The present invention adopts MPLS (Multi-Protocol Label Switch, multiprotocol label is transmitted) VPN (Virtual Private Network, virtual private networks) loopback technology to realize the network quality test, can effectively reduce detector quantity, and extensibility is good.
MPLS is the IP backbone cross winding dehorn standard of new generation that is proposed by IETF, is a kind of IP over ATM (Asynchronous Transfer Mode, asynchronous transfer mode) technology of integrated form.It has merged the advantage of flexibility of IP route technology and ATM terseness, in connectionless IP network, having introduced the connection-oriented attribute of MPLS, the label that the is similar to virtual circuit reciprocal exchange of business is provided.
Participate in Fig. 3, be MPLS VPN networking sketch map.MPLS VPN comprises three types router: ce router, pe router and P router.Wherein, ce router is a client router, is provided to the connection of pe router for the user; Pe router is a provider edge router; The tag edge router (LER) in the MPLS network just; It will be transmitted after the VPN data processing from ce router or label switched path (LSP) according to the routing iinformation of depositing, and be responsible for and other pe router exchanging routing informations simultaneously; The P router is the carrier network backbone router; The LSR (LSR) in the MPLS network just; It carries out transparent forwarding according to the outer layer label that divides into groups to the VPN data, and the P router only is maintained into the routing iinformation of pe router and does not safeguard the routing iinformation that VPN is relevant.Whether participate in client's route according to pe router, MPLS VPN is divided into three layers of MPLS VPN and two layers of MPLS VPN.Wherein three layers of MPLS VPN use BGP (Border Gateway Protocol, Border Gateway Protocol) distributing routing information between pe router, use the MPLS technology between the VPN website, to transmit data, thereby are called BGP/MPLS VPN again.
Participate in Fig. 4, adopt the system schematic of the Star Network quality evaluation of MPLS VPN loopback technology realization for the present invention.With Fig. 4 is example, disposes detector at node 1, and detector sends n group test stream (source IP address 1-1, the purpose IP address 2-1 of test stream 1 according to different source IP addresss, various objectives IP address; Source IP address 1-2, the purpose IP address 2-2 of test stream 2; ...; Source IP address 1-n, the purpose IP address 2-n of test stream n); Node 2 is provided with " MPLS VPN loopback " function to node 6; The test stream 1 that assurance is initiated from node 1 detector through node 2, test stream 2 through nodes 3 ..., test stream n turns back to node 1 detector through node n+1; Node 1 detector is issued acquisition analysis system to test result, through the test stream that existing certain algorithm contrast is sent and received, realizes monitoring and assessment to network quality.
Participate in Fig. 5, be network quality appraisal procedure flow chart of the present invention, comprising:
S501: in network to be tested, enable MPLS VPN function, and open two test VPN:VPN1 and VPN2; Wherein, the source node in network to be tested is provided with detector, on the destination node that detector is not set, enables MPLS VPN loop fuction;
S502: the VPN1 of each node and the route of VPN2 are planned, and each node is preserved VPN1 of self and the routing table of VPN2;
S503: the initial testing stream that source node sends detector is transmitted to destination node according to the routing table of self preserving, and destination node flows loopback to said source node according to self routing table with final test;
S504: source node offers the collection analysis center with final test stream, and final test stream and the initial testing stream of preserving are in advance analyzed in the collection analysis center, utilize and analyze the data assessment network quality.
Those skilled in the art understand, and network constitutes shape according to it can be divided into Star Network, mesh network, and the heterogeneous network of star-like and netted combination, is that example describes in detail to the inventive method embodiment with Star Network among Fig. 4 at first below.
1, VPN planning
In tested network, dispose MPLS VPN function, and open 2 test VPN:VPN1 and VPN2.
At source node 1, the different physical ports of detector access node 1 router, like port one-1 and port one-2: port one-1 belongs to VPN1, and port one-2 belongs to VPN2; At other destination nodes (node 2~node 6); Be planned for VPN1 to first port (the port 4-1 of the port 2-1 of node 2, the port 3-1 of node 3, node 4, the port 5-1 of node 5, the port 6-1 of node 6) separately; Second port (the port 4-2 of the port 2-2 of node 2, the port 3-2 of node 3, node 4, the port 5-2 of node 5, the port 6-2 of node 6) separately is planned for VPN2; And two two ports connections that adhere to VPN1 and VPN2 separately of destination node; That is, enable the MPLS VPN loop fuction of destination node.
The VPN program results of system shown in Figure 4 is participated in table 1:
Table 1
Network node |
The VPN1 port |
The VPN2 port |
Node 1 |
Port one-1 |
Port one-2 |
Node 2 |
Port 2-1 |
Port 2-2 |
...... |
...... |
...... |
Node 6 |
Port 6-1 |
Port 6-2 |
2, route planning
Comparatively common route planning comprises dual mode, and mode 1 is to adopt " division subnet " to realize, mode 2 is to adopt " not dividing subnet " to realize, the planning of mode 2 addresses is simpler.
Introduce respectively below.
(2.1) planning mode 1
Node 1 port one-1, VPN1 planning IP network section 1-1 are to IP network section 1-n (n representes number of links), and port one-2, VPN2 planning IP network section 2-1 are to IP network section 2-n (n representes number of links).
Planning signal table is participated in table 2:
Table 2
The VPN title |
Port numbering |
Planning IP network section |
VPN1 |
Port one-1 |
IP network section 1-1,1-2 ..., 1-n |
VPN2 |
Port one-2 |
IP network section 2-1,2-2 ..., 2-n |
On node 1 router; IP network section 1-1 to the route of IP network section 1-n be published to VPN1, IP network section 2-1 is published to VPN2 to the route of IP network section 2-n; Other destination node routers VPN1 learns IP network section 1-1 and learns the route of IP network section 2-1 to 2-n to route, the VPN2 of 1-n, and route next jump all points to node 1 router.
Be communicated with route between IP network section 1-1 and IP network section 2-1 between node 2 router VPN1, VPN2; A kind of implementation is to move static routing protocol (another kind of implementation is to move dynamic routing protocol between the loopback link at VPN1, VPN2) between the loopback link of VPN1, VPN2; The static routing, the route next jump that in VPN1, are configured to IP network section 2-1 point to port 2-2, and are published to VPN1 to this route; The static routing, the route next jump that in VPN2, are configured to IP subnet section 1-1 point to port 2-1, and are published to VPN2 to this route.The route planning of other destination nodes and node 2 are similar, repeat no more.Thus, participate in table 3~6, be respectively node 1, node 2, node 3 ..., the local VPN1 of node n, VPN2 routing table.
Table 3 (the local VPN1 of node 1, VPN2 routing table)
Table 4 (the local VPN1 of node 2, VPN2 routing table)
The VPN title |
Purpose IP network section |
Route next jump |
VPN1 |
IP network section 2-1 |
Port 2-2 |
VPN2 |
IP network section 1-1 |
Port 2-1 |
Table 5 (the local VPN1 of node 3, VPN2 routing table)
The VPN title |
Purpose IP network section |
Route next jump |
VPN1 |
IP network section 2-2 |
Port 3-2 |
VPN2 |
IP network section 1-2 |
Port 3-1 |
Table 6 (the local VPN1 of node n, VPN2 routing table)
The VPN title |
Purpose IP network section |
Route next jump |
VPN1 |
IP network section 2-n |
Port n-2 |
VPN2 |
IP network section 1-n |
Port n-1 |
(2.2) planning mode 2
In node 1 router port 1-1, VPN planning IP network section 1, comprise IP subnet section 1-1 to IP subnet section 1-n (n representes link), port one-2, VPN2 planning IP network section 2 comprise that IP subnet section 2-1 is to IP network section 2-n (n representes link).
Planning signal table is participated in table 7:
Table 7
On node 1 router IP network section 1 route be published to VPN1, IP network section 2 routes are published to VPN2, route, the VPN2 that node 2 is learnt IP network section 1 to node n router VPN1 learns the route of IP network section 2, route next jump all points to node 1 router.
Be communicated with route between IP subnet section 1-1 and IP subnet section 2-1 between node 2 router VPN1, VPN2; A kind of implementation is between the cheer link of VPN1, VPN2, to move static routing protocol (page or leaf can move dynamic routing protocol); The static routing, the route next jump that in VPN1, are configured to IP network section 2-1 point to port 2-2, and are published to VPN1 to this route; The static routing, the route next jump that in VPN2, are configured to IP subnet section 1-1 point to port 2-1, and are published to VPN2 to this route.
Thus, participate in table 8~11, be respectively node 1, node 2, node 3 ..., the local VPN1 of node n, VPN2 routing table.
Table 8 (the local VPN1 of node 1, VPN2 routing table)
Table 9 (the local VPN1 of node 2, VPN2 routing table)
The VPN title |
Purpose IP network section |
Route next jump |
VPN1 |
IP subnet section 2-1 |
Port 2-2 |
VPN2 |
IP subnet section 1-1 |
Port 2-1 |
Table 10 (the local VPN1 of node 3, VPN2 routing table)
The VPN title |
Purpose IP network section |
Route next jump |
VPN1 |
IP subnet section 2-2 |
Port 3-2 |
VPN2 |
IP subnet section 1-2 |
Port 3-1 |
Table 11 (the local VPN1 of node n, VPN2 routing table)
The VPN title |
Purpose IP network section |
Route next jump |
VPN1 |
IP subnet section 2-n |
Port n-2 |
VPN2 |
IP subnet section 1-n |
Port n-1 |
3, test stream planning
For each bar test stream; Node 1 detector is chosen the source IP address (like IP address 1-1) that flow as test certain the IP address among IP network section 1-n or the IP subnet section 1-n, chooses the purpose IP address (like IP address 2-1) that flow as test certain the IP address among IP network section 2-n or the IP subnet section 2-n.
Node 1 detector is initiated the test path instance signal table of test stream and is participated in table 12.
Table 12
Test stream |
Test path |
Source IP address |
Purpose IP address |
Test stream 1 |
Node 1-node 2 |
IP address 1-1 |
IP address 2-1 |
Test stream 2 |
Node 1-node 3 |
IP address 1-2 |
IP address 2-2 |
...... |
...... |
...... |
...... |
Test stream n |
Node 1-node n |
IP address 1-n |
IP address 2-n |
With test stream 1 is example, and node 1 detector is initiated " initial testing stream ", the local VPN1 routing table (table 3 or table 8) of node 1 query router; Destination address is that the data of IP address 2-1 are forwarded to node 2 routers; The local VPN1 routing table (table 4 or table 9) of node 2 query routers, destination address are the port 2-2 that the data of IP address 2-1 are forwarded to node 2 routers, and data get into VPN2, the local VPN2 routing table (table 4 or table 9) of node 2 query routers; Destination address is that the data of IP address 2-1 are forwarded to node 1 router; Node 1 query router local routing table (table 3 or table 8) is issued node 1 detector to this " final test stream ", thereby accomplishes the test of node 1 to node 2; Then; Detector offers the collection analysis center with initial testing stream and final test stream, and the collection analysis center adopts certain algorithm that initial testing stream and final test stream are compared, analyzed, and utilizes the analysis data to come network quality is assessed.In like manner, the test process of test stream 2~n is similar with the test process of test stream 1, repeats no more here.
Participate in Fig. 6, be network structure network quality evaluating system sketch map, wherein; For node 1~4; Only need on as the node 1 of source node, node 3, detector to be set, need not to be provided with detector, need to start MPLS VPN loop fuction at node 2, node 4 as destination node; Thereby can make test stream be looped back to source node, accomplish network test.
Corresponding with said method, the present invention also provides network quality apparatus for evaluating and system.
Participate in Fig. 7, comprise the device internal structure sketch map that is positioned at the source node side provided by the invention.This device can be meant source node equipment itself, also can be to be positioned at the inner functional entity of source node, can be realized by hardware, software is realized or software and hardware combining realizes.
Network for using this device need enable MPLS VPN function, and opens two test VPN:VPN1 and VPN2; Wherein, only the source node in said network is provided with detector, on the destination node that detector is not set, enables MPLS VPN loop fuction.
Wherein, network is Star Network, mesh network or heterogeneous network.
Can know that by Fig. 7 this device comprises:
Initial testing circulation bill unit 701, the routing table that the initial testing stream that is used for that detector is sent is preserved according to self in advance is transmitted to destination node;
Final test stream receives and retransmission unit 702, is used to receive the final test stream from the destination node loopback; , and the circulation of said final test issued the collection analysis center.
Participate in Fig. 7 more clearly, comprise the device internal structure sketch map that is positioned at the destination node side provided by the invention.This device can be meant destination node equipment itself, also can be to be positioned at the inner functional entity of destination node, can be realized by hardware, software is realized or software and hardware combining realizes.
Network for using this device need enable MPLS VPN function, and opens two test VPN:VPN1 and VPN2; Wherein, only the source node in said network is provided with detector, on the destination node that detector is not set, enables MPLS VPN loop fuction.
Wherein, network is Star Network, mesh network or heterogeneous network.
Can know that by Fig. 7 this device that is positioned at destination node comprises:
Initial testing stream receiving element 801 is used for the reception sources node and transmits the initial testing stream that sends from detector;
Final test stream transmitting element 802, the routing table that is used for preserving in advance according to self flows loopback to said source node with final test.
Network quality evaluating system provided by the invention comprises source node, destination node, detector and collection analysis center.Said network comprises Star Network, mesh network or heterogeneous network.
Especially, enable MPLS VPN function in the said network, and open two test VPN:VPN1 and VPN2; Wherein, only the source node in said network is provided with detector, on the destination node that detector is not set, enables MPLS VPN loop fuction.
Wherein,
Said source node, the initial testing that is used for that detector is sent flow according to self routing table and are transmitted to destination node;
Said destination node is used for according to self routing table final test being flowed loopback to said source node;
Said collection analysis center is used for the final test stream that said source node is provided and analyses and compares with the initial testing stream of preserving in advance, utilizes the data assessment network quality of analysing and comparing.
For source node, its inside comprises (participation Fig. 7):
Initial testing circulation bill unit 701, the routing table that the initial testing stream that is used for that detector is sent is preserved according to self in advance is transmitted to destination node;
Final test stream receives and retransmission unit 702, is used to receive the final test stream from the destination node loopback; , and the circulation of said final test issued the collection analysis center;
For destination node, its inside comprises (participation Fig. 7):
Initial testing stream receiving element 801 is used for the reception sources node and transmits the initial testing stream that sends from detector;
Final test stream transmitting element 802, the routing table that is used for preserving in advance according to self flows loopback to said source node with final test.
It is thus clear that the present invention adopts a bit or partial points is disposed the scheme that detector, other node are taked " MPLS VPN loopback technology ", the quantity of detector and network node quantity are irrelevant, and therefore strong, the management of extensibility of the present invention simply, cost is low.
In addition, the present invention is applicable to diverse network structures such as star-like, netted, mixing.Under the Star Network structure, only need to dispose detector at Centroid, distant-end node need not to dispose detector, and detector quantity and distant-end node quantity are irrelevant; Under mesh network topology, also comparable prior art reduces half detector quantity.
One of ordinary skill in the art will appreciate that; The process of the method for realization the foregoing description can be accomplished through the relevant hardware of program command; Described program can be stored in the read/write memory medium, and this program when carrying out the corresponding step in the said method.Described storage medium can be like ROM/RAM, magnetic disc, CD etc.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.