A kind of forwarding routing node choosing method
Technical field
The present invention discloses a kind of forwarding routing node choosing method, is related to technical field of the computer network.
Background technique
Overlay network is the virtual network established on this basis based on the physical network of bottom.In overlay network
Node between virtual link be in logic, compared with the Physical Network of bottom, overlay network have better flexibility.Covering
Node in network has processing function, i.e. storage --- processing --- forwarding capability compared with the node in traditional network.
Existing network sends data and all concentrates on single optimal path, and network flow is not balanced enough, and congestion is difficult to avoid that,
By setting up nerve of a covering, deployment transfer routing node enhances the diversification in path, can effectively promote the performance of network transmission,
Improve quality of service.
Transfer routing node selecting technology is the key link in covering network system, inefficient forward node Choice meeting
Seriously affect the scalability and whole routing optimality performance of network.Forward node Choice at present in covering network system is main
It chooses to randomly select, based on detection mode and is chosen based on simple topology knowledge.It randomly selects and is mainly seen in Un-structured
P2P system, the neighbor list of terminal node random search oneself submit the data that need to be forwarded, and this method is simple, but efficiency
It is very low, it is often necessary to largely to be retried.The covering network systems such as elastic overlapping, principle are common in based on detection mode selection
It is to be ranked up by delay or the parameters such as packet loss or bandwidth to forward node.Spare forward node is chosen based on detection mode
Scheme although greatly reduce and retry in vain, but still there are more serious scalability and efficiencies: on the one hand, to all
Forward node, which carries out periodical dynamic instrumentation, can generate mass communication expense, constrain the scale of covering network system;On the other hand,
To classify by detection performance, a large amount of forward node paths for often leading to choose are overlapped in bottom-layer network topology, and one
Denier generates network failure, and often these path collectives fail, and is unable to reach performance effect of optimization.
The present invention provides a kind of forwarding routing node choosing method, and the forwarding based on the decentralization for deleting side strategy routes section
Point choosing method forces network flow to evenly spread to each chain of network by logically deleting certain intermediate bottleneck nodes
Road, to improve the efficiency of transmission of network entirety.
Summary of the invention
The present invention is directed to problem of the prior art, provides a kind of forwarding routing node choosing method, can solve nerve of a covering
The problem of routing forwarding node randomly selects path reliability and conventional bifurcated earliest choose the congestion problems that may cause, and both may be used
To avoid the single-point congestion of network, and the length of forward-path can be shortened, to improve the reliability of network transmission.
Concrete scheme proposed by the present invention is:
A kind of forwarding routing node choosing method obtains forwarding routing by bottom-layer network topology information in overlay network
Node relationships figure, analysis obtain the degree of each forwarding routing node and the betweenness of each forwarding routing node, and as needed by each turn
The degree and betweenness for sending out routing node are arranged, and degree of ignoring and the maximum forwarding routing node of betweenness ratio, selection are less than and connect
Recency and the maximum forwarding routing node of betweenness ratio, as routing transit node.
Bottom-layer network topology information is collected and surveyed in the method in overlay network, forms backbone connection figure, it will be corresponding
Forwarding routing node be attached relationship map, constitute forwarding routing node relational graph.
The connection number of some forwarding routing node to remaining forwarding routing node forwards routing to save thus in the method
The degree of point.
Pass through the number in the path of some forwarding routing node in the method in overlay network in all shortest paths
The ratio for accounting for shortest path sum forwards the betweenness of routing node thus.
The degree of each forwarding routing node and betweenness are subjected to descending arrangement as needed in the method or ascending order arranges.
A kind of forwarding routing node select tool, including acquiring unit, analytical calculation unit and selection unit,
Wherein acquiring unit is obtained by bottom-layer network topology information and forwards routing node relational graph in overlay network, is turned
Analytical calculation unit is sent out, the analysis of analytical calculation unit obtains the degree of each forwarding routing node and the betweenness of each forwarding routing node,
And as needed arrange the degree of each forwarding routing node and betweenness, forward selection unit, selection unit degree of ignoring and Jie
The number maximum forwarding routing nodes of ratio, selection is less than and the degree of approach and the maximum forwarding routing node of betweenness ratio, as road
By transit node.
Acquiring unit collects and surveys bottom-layer network topology information in overlay network in the tool, forms backbone connection
Corresponding forwarding routing node is attached relationship map, constitutes forwarding routing node relational graph by figure.
Some forwarding routing node is forwarded the connection number of routing node by analytical calculation unit to remaining in the tool
Degree as this forwarding routing node.
Analytical calculation unit will pass through some forwarding in overlay network and route in the tool in all shortest paths
The number in the path of node accounts for betweenness of the ratio as this forwarding routing node of shortest path sum.
The degree of each forwarding routing node and betweenness are carried out descending row as needed by analytical calculation unit in the tool
Column or ascending order arrangement.
Usefulness of the present invention is:
The present invention provides a kind of forwarding routing node choosing method, obtains forwarding routing node relational graph, and analysis obtains each
Forward routing node degree and it is each forwarding routing node betweenness, and as needed by it is each forwarding routing node degree and betweenness into
Row arrangement, degree of ignoring and the maximum forwarding routing node of betweenness ratio, selection is less than and the degree of approach and maximum turn of betweenness ratio
Routing node is sent out, as routing transit node;The present invention is the forwarding routing node choosing method based on " deleting side " strategy, is passed through
Certain intermediate bottleneck nodes are logically removed, force network flow to evenly spread to each link of network, to improve net
The efficiency of transmission of network entirety.
Node selection method proposed by the present invention has the advantage that:
Network flow is unlikely to concentrate to central node, can effectively avoid network congestion;
Second shortest path ensure that the richness and independence in path simultaneously, improve the reliability of forwarding routing;
When network failure fails, based on the decentralization choosing method for deleting side strategy, path will not collective fail, can be effective
Avoid scale paralysis problem.
Detailed description of the invention
Fig. 1 is the method for the present invention flow diagram;
Fig. 2 is that side strategy schematic diagram is deleted in decentralization;
Fig. 3 is the network topological diagram of embodiment.
Specific embodiment
The present invention provides a kind of forwarding routing node choosing method, is obtained in overlay network by bottom-layer network topology information
Forwarding routing node relational graph is taken, analyzes and obtains each degree for forwarding routing node and each betweenness for forwarding routing node, and according to
It needs to arrange the degree of each forwarding routing node and betweenness, degree of ignoring and the maximum forwarding routing node of betweenness ratio, choosing
It takes and is less than and the degree of approach and the maximum forwarding routing node of betweenness ratio, as routing transit node.
The forwarding routing node select tool corresponded to the above method, including acquiring unit, analytical calculation are provided simultaneously
Unit and selection unit,
Wherein acquiring unit is obtained by bottom-layer network topology information and forwards routing node relational graph in overlay network, is turned
Analytical calculation unit is sent out, the analysis of analytical calculation unit obtains the degree of each forwarding routing node and the betweenness of each forwarding routing node,
And as needed arrange the degree of each forwarding routing node and betweenness, forward selection unit, selection unit degree of ignoring and Jie
The number maximum forwarding routing nodes of ratio, selection is less than and the degree of approach and the maximum forwarding routing node of betweenness ratio, as road
By transit node.
The present invention will be further explained below with reference to the attached drawings and specific examples, so that those skilled in the art can be with
It more fully understands the present invention and can be practiced, but illustrated embodiment is not as a limitation of the invention.
For choosing forwarding routing node in a certain application network, referring to figs. 2 and 3, the mistake of the method for the present invention is utilized
Journey are as follows:
Information collection and analysis is carried out to bottom-layer network topology first, backbone connection figure is formed, then will forward accordingly again
Routing node is attached relationship map, constitutes forwarding routing node relational graph,
In Fig. 3, by taking two terminals in AS1, AS2 are communicated as an example, by the communication of A → D, pass through B, C nerve of a covering
Node carries out flow and forwards to form different forwarding routings, and B, C are forwarding routing node, obtains B, C forwarding routing node and arrives it
The connection number of remaining forwarding routing node forwards the degree of routing node thus, Degree (C)=4, Degree (B)=2,
And the betweenness of B, C two forwarding routing nodes, Wherein σst(C) shortest path of s → t by forwarding routing node C is indicated
Diameter item number, σst(B) indicate by forwarding routing node B s → t shortest path item number, V indicate A B C D E F node group
At set, through analytical calculation Betweeness (C)=6/13, Betweeness (B)=1/11, B, C forward routing node
Degree and betweenness can carry out descending arrangement,
Degree of ignoring and the maximum forwarding routing node C of betweenness ratio, selection is less than and the degree of approach and betweenness ratio are maximum
Routing node B is forwarded, as routing transit node.Traditional theory is wherein pressed, it is maximum Degree/Betweenness should to be chosen
Point is shortest on average for all forward-paths of overall network, but flow can always tend to toward central node
It concentrates, the congestion of central node is easily led to, moreover, being usually forwarded by central node, although its path richness has more
Good guarantee, but its forward-path may be it is longest, will cause the decline of forwarding reliability instead, and utilize the method for the present invention
Choosing B is forwarding routing node, is equivalent to the removal maximum Core node C of Betweeness, and corresponding flow is carried out by B
Transfer, network flow are unlikely to concentrate to central node, can effectively avoid network congestion, while second shortest path ensure that path
Richness and independence improve the reliability of forwarding routing, in network failure failure, based on the decentralization for deleting side strategy
Choosing method, path will not collective failure, can effectively avoid scale paralysis problem.
When using inventive article, process is similar with the above method,
Acquiring unit carries out information collection and analysis to bottom-layer network topology first, backbone connection figure is formed, then again by phase
The forwarding routing node answered is attached relationship map, constitutes forwarding routing node relational graph,
In Fig. 3, by taking two terminals in AS1, AS2 are communicated as an example, by the communication of A → D, pass through B, C nerve of a covering
Node carries out flow and forwards to form different forwarding routings, and B, C are forwarding routing node, and analytical calculation unit obtains B, C forwarding
The connection number of routing node to remaining forwarding routing node forwards the degree of routing node, Degree (C)=4, Degree (B) thus
=2,
And the betweenness of B, C two forwarding routing nodes, Wherein σst(C) shortest path of s → t by forwarding routing node C is indicated
Diameter item number, σst(B) indicate by forwarding routing node B s → t shortest path item number, V indicate A B C D E F node group
At set, through analytical calculation Betweeness (C)=6/13, Betweeness (B)=1/11, B, C forward routing node
Degree and betweenness can carry out descending arrangement,
Selection unit degree of ignoring and the maximum forwarding routing node C of betweenness ratio, selection is less than and the degree of approach and betweenness ratio
It is worth maximum forwarding routing node B, as routing transit node.
Embodiment described above is only to absolutely prove preferred embodiment that is of the invention and being lifted, protection model of the invention
It encloses without being limited thereto.Those skilled in the art's made equivalent substitute or transformation on the basis of the present invention, in the present invention
Protection scope within.Protection scope of the present invention is subject to claims.