Summary of the invention
The embodiment of the invention provides a kind of distribution method, device and system of Internet resources, and realizing packet layer and transport layer resource unified management, dynamic assignment is distributed according to need Internet resources to end to end on the optimal path.
For achieving the above object, the embodiment of the invention provides a kind of distribution method of Internet resources on the one hand, comprising:
Internet resources are divided into dynamic network resource and static network resource, and described Internet resources comprise bandwidth resources;
Flow on monitoring first path surpasses after the default Stream threshold value, receives the resource request message that packet layer equipment sends, and described resource request message request is the second path allocation Internet resources that path-calculating element calculates;
The resource type and the bandwidth of the Internet resources of asking that carry according to described resource request message are the described dynamic network resource of the described second path allocation respective bandwidth.
On the other hand, the embodiment of the invention also provides a kind of distribution method of Internet resources, comprising:
Monitor the flow on first path;
Judge whether the flow on described first path surpasses default first flow threshold value;
When the flow on described first path surpasses default first flow threshold value, the indication path-calculating element calculates second path, send resource request message to explorer, the resource type and the bandwidth of the Internet resources of asking that carry according to described resource request message at described explorer, after the dynamic network resource for the described second path allocation respective bandwidth, flow on described first path is switched on described second path, perhaps between described first path and second path, carry out load balancing.
On the one hand, the embodiment of the invention also provides a kind of packet layer equipment, comprising again:
Monitoring modular is used to monitor the flow on first path;
Judge module is used to judge whether the flow on first path of described monitoring module monitors surpasses default first flow threshold value;
Calculate indicating module, be used for when described judge module determines that flow on described first path surpasses default first flow threshold value, indicating path-calculating element to calculate second path;
Request sending module is used for sending resource request message to explorer;
The flow processing module, the resource type and the bandwidth that are used for the Internet resources of asking that carry according to described resource request message at described explorer, after the dynamic network resource for the described second path allocation respective bandwidth, flow on described first path is switched on described second path, perhaps between described first path and second path, carry out load balancing.
On the one hand, the embodiment of the invention also provides a kind of explorer, comprising again:
Resource management module is used for Internet resources are carried out Classification Management, and described Internet resources are divided into dynamic network resource and static network resource;
The request receiver module, the flow that is used on monitoring first path surpasses after the default Stream threshold value, receive the resource request message that packet layer equipment sends, described resource request message request is the second path allocation Internet resources that path-calculating element calculates;
Resource distribution module is used for the resource type and the bandwidth of the Internet resources of asking that carry according to the resource request message that the described request receiver module receives, and is the described dynamic network resource of the described second path allocation respective bandwidth.
On the one hand, the embodiment of the invention also provides a kind of distribution system of Internet resources, comprises packet layer equipment and explorer again,
Described packet layer equipment, be used to monitor the flow on first path, when the flow on determining described first path surpasses default first flow threshold value, the indication path-calculating element calculates second path, and to described explorer transmission resource request message, after described explorer according to described resource request message is the described second path allocation dynamic network resource, flow on described first path is switched on described second path, perhaps between described first path and second path, carry out load balancing;
Described explorer, be used for Internet resources are carried out Classification Management, described Internet resources are divided into dynamic network resource and static network resource, receive the resource request message that described packet layer equipment sends, and the resource type and the bandwidth of the Internet resources of asking that carry according to described resource request message, be the described dynamic network resource of the described second path allocation respective bandwidth.
Compared with prior art, the embodiment of the invention has the following advantages: pass through the embodiment of the invention, explorer is concentrated Classification Management to Internet resources, after the resource request message that receives packet layer equipment, the second path allocation dynamic network resource for this packet layer calculation of equipments, realized the Internet resources dynamic assignment to optimal path end to end, improved utilization rate of network resource, improved the adaptive capacity of network, reduced the whole cost and the operation cost of network changes in flow rate.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention provides a kind of distribution method of Internet resources, explorer is concentrated Classification Management with all or part of resource of transport layer and packet layer, demand dynamic assignment Internet resources according to bandwidth, realization with the Internet resources dynamic assignment to optimal path end to end, improved utilization rate of network resource, improve the adaptive capacity of network, reduced whole cost of network and operation cost changes in flow rate.Wherein, transport layer comprises SDH (Synchronous Digital Hierarchy, SDH (Synchronous Digital Hierarchy)) or WDM (Wavelength Division Multiplexing, wavelength division multiplexing) etc.; Packet layer comprises IP or MPLS (Multi-Protocol Label Switch, multiprotocol label switching) etc.
As shown in Figure 2, the flow chart for the distribution method of a kind of Internet resources of the embodiment of the invention comprises:
Step S201 is divided into dynamic network resource and static network resource with Internet resources.
In the embodiment of the invention, explorer is concentrated Classification Management to Internet resources, and Internet resources are divided into dynamic network resource and static network resource.In addition, explorer indication packet layer equipment carries out physical connection to the dynamic network resource, is the interface assignment dynamic socket sign that the dynamic network resource connects, and receives and preserve the physical connection information of the dynamic network resource that this packet layer equipment reports.
Step S202, the flow on monitoring first path surpass after the default Stream threshold value, receive the resource request message that packet layer equipment sends.This resource request message request is the second path allocation Internet resources that path-calculating element calculates.
Step S203 is the second path allocation dynamic network resource according to resource request message.Be specifically as follows:
The resource type and the bandwidth of the Internet resources of asking that carry according to this resource request message are the dynamic network resource of the second path allocation respective bandwidth.
The distribution method of above-mentioned Internet resources, explorer is concentrated Classification Management to Internet resources, after the resource request message that receives packet layer equipment, the second path allocation dynamic network resource for path-calculating element calculating, realized the Internet resources dynamic assignment to optimal path end to end, improved utilization rate of network resource, improved the adaptive capacity of network, reduced the whole cost and the operation cost of network changes in flow rate.
As shown in Figure 3, the flow chart for the distribution method of the another kind of Internet resources of the embodiment of the invention comprises:
Step S301 monitors the flow on first path.
Step S302 judges whether the flow on first path surpasses default first flow threshold value.When the flow on first path surpasses default first flow threshold value, execution in step S303; When the flow on first path is lower than default first flow threshold value, return execution in step S301, continue the flow on monitoring first path.
Step S303, the indication path-calculating element calculates second path, send resource request message, after explorer according to this resource request message is this second path allocation dynamic network resource, flow on first path is switched on second path, perhaps between first path and second path, carry out load balancing.
Packet layer equipment carries the requirement of this packet layer equipment to institute's request resource in the resource request message that explorer sends, comprise the bandwidth of institute's request resource and the resource type of institute's request resource.
The packet layer change in topology that this second path causes is by the unified configuration of explorer, and perhaps packet layer equipment uses second path by link layer functionality, the change in topology of shielding packet layer.
Flow on first path is being switched on second path, after perhaps the flow on first path being carried out load balancing between first path and second path, flow on packet layer monitoring of equipment second path, judge whether the flow on this second path is lower than the second default Stream threshold value, when the flow on second path is lower than the second default Stream threshold value, remove second path, and the notice explorer discharges the resource that second path takies.
The distribution method of above-mentioned Internet resources, explorer is concentrated Classification Management to Internet resources, flow on the packet layer monitoring of equipment path, explorer is according to the demand dynamic assignment Internet resources of packet layer device for flow amount, with the Internet resources dynamic assignment to optimal path end to end, improved utilization rate of network resource, improved the adaptive capacity of network, reduced the whole cost and the operation cost of network changes in flow rate.
As shown in Figure 4, the network architecture schematic diagram for the distribution method of embodiment of the invention Internet resources comprises control and management layer equipment, packet layer equipment and transport layer equipment in the network shown in the embodiment one.Packet layer equipment is specifically as follows router, comprises router-A 31, router B32 and router C33.Control and management layer equipment comprises PCE (Path Compute, path-calculating element) 34 and explorer 35.PCE34 is used for calculating path, and explorer 35 is used to distribute unitedly Internet resources.PCE34 and explorer 35 may operate in independently on the server, also may operate on router or the transmission equipment, and PCE34 and explorer 35 also can integrate, and become a functional entity.
The embodiment of the invention is divided into two parts with Internet resources, is example with the physical port of router, the physical port of router can be divided into static interface and dynamic socket, and in Fig. 4,36 are depicted as dynamic socket, and 37 are depicted as static interface; Can certainly all incorporate total interface into dynamic socket.Transfer resource also can adopt this method unified distribution to use.
Wherein, static interface is distributed when planning, connects when network design, configures, and just can use.
The dynamic network resource is placed holding state, be specifically as follows: dynamic socket is connected on the transmission equipment, packet layer equipment distributes the dynamic socket sign for this dynamic socket, and packet layer is not specified the far-end neighbor of dynamic socket, and transport layer also is not established to the connection of far-end for this dynamic socket.Then, packet layer equipment reports explorer 35 with the type of dynamic socket sign, dynamic socket (as gigabit Ethernet etc.), physical connection situation (for example: be connected on which platform transmission equipment) and other related datas.
As shown in Figure 5, the flow chart for the distribution method embodiment one of Internet resources of the present invention specifically comprises:
Step S501 monitors the flow on first path.
When the flow of monitoring on first path, can be by traffic engineering tunnel, be specifically as follows: between a pair of router of needs monitoring flow, set up traffic engineering tunnel, such as setting up traffic engineering tunnel 31-33-32 between router-A in Fig. 4 31 and the router B32, the flow on the monitoring traffic engineering tunnel.Flow monitoring can be undertaken by router-A 31; Also can monitor by server centered, such as by explorer 35, perhaps PCE34, perhaps other server is monitored the flow on all paths.
Step S502 judges whether the flow on first path surpasses default first flow threshold value.If the flow on this first path surpasses default first flow threshold value, execution in step S503~step S507; If the flow on this first path is lower than default first flow threshold value, return execution in step S501, continue the flow on monitoring first path.
Step S503, PCE34 calculate second path, and send resource request message to explorer 35, ask the resource in second path, and this resource request message carries the requirement to institute's request resource, for example: the bandwidth of institute's request resource, resource type etc.
Wherein, second path that PCE34 calculates can be a tie link between router-A 31 and the router B32, and without other routers, this second path also can comprise the multi-hop intermediate router.When PCE34 asks the resource in second path to explorer 35, can be that new route limit application resource is calculated on the limit, also can be again to explorer 35 unified application resources after entire path is calculated.
Step S504, explorer 35 carry out resource matched and distribute.Be specifically as follows: the dynamic socket of in the dynamic socket resource pool of the router in second path, selecting the physics type matching.If PCE34 and explorer 35 integrate, PCE34 can calculate limit, second path application resource in the limit so.
Step S505, second path that PCE34 will calculate and the related resource of distribution notice router-A 31.
Step S506, router-A 31 connects along the second path allocation resource.
The packet layer change in topology that second path causes can be by the unified configuration of explorer 35, perhaps packet layer equipment, and for example router-A 31 uses second path by link layer functionality, the change in topology of shielding packet layer.
Step S507 switches to the flow in first path on second path, perhaps carries out load balancing between first path and second path.Flow switches and load balancing can be finished by packet layer equipment, also can be finished by link layer device.
Step S508 monitors the flow on second path.
Step S509 judges whether the flow on second path is lower than the second default Stream threshold value.When the flow on second path is lower than the second default Stream threshold value, execution in step S510; If the flow on second path is greater than or equal to the second default Stream threshold value, then return execution in step S508, continue the flow on monitoring second path.
Step S510 removes second path, and notice explorer 35 discharges the resource that second path takies.
As long as if explorer 35 has state, promptly explorer 35 has been preserved the resource occupation information in second path, so all related resources that notice explorer 35 discharges on second path.If explorer 35 is stateless, be the resource occupation information that explorer 35 is not preserved second path and second path, can discharge resource by hop-by-hop so, be that every network equipment discharges resource to explorer 35 these nodes of announcement separately when removing the path, perhaps directly upgrade current occupation condition.
The distribution method of above-mentioned Internet resources, 35 pairs of Internet resources of explorer are concentrated Classification Management, are beneficial to the consistency of the view that keeps whole net available resources.And with the Internet resources dynamic assignment, resource-sharing, whole net cost is low, and network is strong to the adaptability of changes in flow rate.The resource of all dynamic assignment all is distributed on the optimal path, and the flow transmission that can not detour reaches optimum, the network service quality height to the using method of resource.And resource is divided into static the use and dynamic assignment two parts, and can specify some path static state to monopolize some resource, strengthened the stability and the service quality in these paths.
As shown in Figure 6, the structure chart for the distribution system of embodiment of the invention Internet resources comprises path-calculating element 61, packet layer equipment 62 and explorer 63,
Path-calculating element 61 is used for calculating path;
Packet layer equipment 62, be used to monitor the flow on first path, when the flow on determining first path surpasses default first flow threshold value, indication path-calculating element 61 calculates second path, and to explorer 63 transmission resource request messages, after explorer 63 according to this resource request message is the second path allocation dynamic network resource, the flow on first path is switched on second path, perhaps between first path and second path, carry out load balancing;
Explorer 63, be used for Internet resources are carried out Classification Management, Internet resources are divided into dynamic network resource and static network resource, receive the resource request message that packet layer equipment 62 sends, and be the second path allocation dynamic network resource according to this resource request message.
The distribution system of these Internet resources can also comprise: transport layer equipment 64, and be used to packet layer equipment 62 that transmission link is provided, the resource of transport layer equipment 64 is by explorer 63 management.Path-calculating element 61 also calculates the path of the transmission link that transport layer equipment 64 provided when calculating path.
Wherein, packet layer equipment 62 is specifically as follows: router, switch or PTN (Packet TransportNetwork, Packet Transport Network) equipment etc.
The distribution system of above-mentioned Internet resources, 63 pairs of Internet resources of explorer are concentrated Classification Management, after the resource request message that receives packet layer equipment 62, the second path allocation dynamic network resource for path-calculating element 61 calculating, realized the Internet resources dynamic assignment to optimal path end to end, improved utilization rate of network resource, improved the adaptive capacity of network, reduced the whole cost and the operation cost of network changes in flow rate.
As shown in Figure 7, the structure chart for embodiment of the invention packet layer equipment comprises:
Monitoring modular 621 is used to monitor the flow on first path;
Judge module 622 is used to judge whether the flow on first path of monitoring modular 621 monitorings surpasses default first flow threshold value;
Calculate indicating module 623, be used for when the flow on judge module 622 definite first paths surpasses default first flow threshold value, indication path-calculating element 61 calculates second path;
Request sending module 624 is used for sending resource request message to explorer 63;
Flow processing module 625, be used for after explorer 63 according to this resource request message is the second path allocation dynamic network resource, flow on first path is switched on second path, perhaps between first path and second path, carry out load balancing.
In the embodiment of the invention, monitoring modular 621 also can be used for monitoring the flow on second path, and judge module 622 can be used for also judging whether the flow on second path of monitoring modular 621 monitorings is lower than the second default Stream threshold value;
Packet layer equipment 62 can also comprise:
Module 626 is removed in the path, is used for remove second path, and notice explorer 63 discharging the resource that second path takies when the flow on judge module 622 definite second paths is lower than the second default Stream threshold value.
Above-mentioned packet layer equipment, after flow on first path of judge module 622 definite monitoring modular 621 monitorings surpasses default first flow threshold value, calculate indicating module 623 indication path-calculating elements 61 and calculate second path, after the resource request message that explorer 63 sends according to request sending module 624 is the second path allocation dynamic network resource, flow processing module 625 switches to the flow on first path on second path, perhaps carries out load balancing between first path and second path.Thereby improved utilization rate of network resource, improved the adaptive capacity of network, reduced the whole cost and the operation cost of network changes in flow rate.
As shown in Figure 8, the structure chart for embodiment of the invention explorer comprises:
Resource management module 631 is used for Internet resources are carried out Classification Management, and Internet resources are divided into dynamic network resource and static network resource;
Request receiver module 632, be used to receive the resource request message that packet layer equipment 62 sends, this resource request message request is the second path allocation Internet resources that path-calculating element 61 calculates, this second path is that the flow of packet layer equipment 62 on monitoring first path surpasses after the default Stream threshold value, is calculated by path-calculating element 61;
Resource distribution module 633, the resource request message that is used for receiving according to request receiver module 632 is the second path allocation dynamic network resource.
Wherein, explorer 63 can also comprise:
Indicating module 634 is used to the interface assignment dynamic socket sign of indicating packet layer equipment 62 to connect for the dynamic network resource.
Above-mentioned explorer, 631 pairs of Internet resources of resource management module are concentrated Classification Management, after request receiver module 632 receives the resource request message of packet layer equipment 62, resource distribution module 633 is the second path allocation dynamic network resource that path-calculating element 61 calculates, realized the Internet resources dynamic assignment to optimal path end to end, improved utilization rate of network resource, improved the adaptive capacity of network, reduced the whole cost and the operation cost of network changes in flow rate.
The embodiment of the invention provides a kind of distribution method, device and system of Internet resources, and explorer is concentrated Classification Management to Internet resources, is beneficial to the consistency of the view that keeps whole net available resources.And the dynamic assignment Internet resources, resource-sharing, whole net cost is low, and network is strong to the adaptability of changes in flow rate.The resource of all dynamic assignment all is distributed on the optimal path, and the flow transmission that can not detour reaches optimum, the network service quality height to the using method of resource.And resource is divided into static the use and dynamic assignment two parts, and can specify some path static state to monopolize some resource, strengthened the stability and the service quality in these paths.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.