CN101510851A - Method and apparatus for releasing network bandwidth - Google Patents

Method and apparatus for releasing network bandwidth Download PDF

Info

Publication number
CN101510851A
CN101510851A CNA2009101300498A CN200910130049A CN101510851A CN 101510851 A CN101510851 A CN 101510851A CN A2009101300498 A CNA2009101300498 A CN A2009101300498A CN 200910130049 A CN200910130049 A CN 200910130049A CN 101510851 A CN101510851 A CN 101510851A
Authority
CN
China
Prior art keywords
tunnel
traffic engineering
mpls traffic
interface
egress
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.)
Pending
Application number
CNA2009101300498A
Other languages
Chinese (zh)
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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CNA2009101300498A priority Critical patent/CN101510851A/en
Publication of CN101510851A publication Critical patent/CN101510851A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method and a device for releasing network bandwidth. The method is applied to an MPLS TE Tunnel connecting with an import node and an export node, and comprises the following steps: a Tunnel interface detects whether the MPLS TE tunnel has forwarding flow; the Tunnel interface is the interface of the MPLS TE tunnel of the import node; when the duration time without forwarding flow reaches preset maximum idle time, the Tunnel interface transmits a tunnel detach signaling to the export node of the MPLS TE tunnel, so as to detach the MPLS TE tunnel and release the network bandwidth. The invention utilizes the Tunnel interface to detect whether the MPLS TE tunnel has the forwarding flow, detaches the MPLS TE tunnel and releases the bandwidth when the duration without forwarding flow in the MPLS TE tunnel reaches the preset maximum idle time, thus enhancing the utilization rate of the network.

Description

A kind of method and apparatus of releasing network bandwidth
Technical field
The present invention relates to the communications field, relate in particular to a kind of method and apparatus of releasing network bandwidth.
Background technology
Along with increasing of multimedia service, it is more and more outstanding that computer network data transmits congested problem.Traditional shortest path route often causes flow to focus on the shortest path, and it is congested to make that part of links takes place, and the link on the longer path need not by the free time.For this network congestion problem that causes owing to load Distribution is unbalanced, be difficult to solve by increasing network capacity merely, the reasonability that prior art concentrates on by regulating networks and control flow distribution solves.
MPLS (Multi-Protocol Label Switch, multiprotocol label switching) TE (TrafficEngineering, traffic engineering) combines MPLS technology and TE, by setting up the MPLS traffic engineering tunnel between initial equipment and the target device, make network traffics get around congested node and arrive target device from initial equipment, the use of Internet resources is adjusted in the distribution of adjusting flow in the network, optimizes the utilization of Internet resources.
The process of setting up of MPLS traffic engineering tunnel is:
1. the information of collection network TE attribute is set up TEDB (TE DataBase, traffic engineering database).
The dynamic TE association attributes that needs to understand every link before the MPLS traffic engineering tunnel is set up, for example the maximum reservable bandwidth of the maximum bandwidth of link, link, link are painted etc.The information of this TE attribute can be passed through existing IGP (Interior Gateway Protocol, Interior Gateway Protocol) expands and realize, such as OSPF (Open Shortest Path First, Open Shortest Path First) expansion of agreement and IS-IS (Intermediate System-to-Intermediate System, intermediate system is to middle system) agreement.Ospf protocol after the expansion and Intermediate System to Intermediate System have increased link bandwidth, TE association attributes such as painted in the link connection status.
Every equipment is collected the TE relevant information of one's respective area or every link of this rank all devices, generates TEDB (TE DataBase, traffic engineering database).
2. calculate the LSP (Label Switched Path, label switched path) that constitutes the MPLS traffic engineering tunnel.
The TEDB that uses CSPF (Constraint-based Shortest Path First is based on the SPF of constraint) algorithm to obtain in rapid according to previous step calculates the shortest LSP that arrives target device.Concrete, the bandwidth of the LSP that the CSPF algorithm is set up as required, painted, seize/keep constraintss such as priority, explicit path, link among the TEDB is sheared, the link that does not satisfy TE attribute specification is cut, adopt SPF (Shortest Path First again, SPF) algorithm is sought a LSP who arrives target device.
3. set up LSP.
According to the path that CSPF calculates, use the tunnel to set up the LSP that signaling RSVP (ResourceReservation Protocol, RSVP) sets up the MPLS traffic engineering tunnel.The type of message that RSVP uses comprises:
Path (path) message: send storing path state on all nodes on the way by the sender along the trip that is directed downwards of data message transmission.
Resv message: by the direction reverse transmission of recipient, carry out resource reservation on all nodes on the way, and create and safeguard reservation state along the data message transmission.
Pathtear (path dismounting) message: this message produces the back and sends downstream at once, and deletes the path status and relevant reservation state of node on the way immediately.
Concrete, the process of using RSVP to set up LSP comprises:
A, ingress produce the Path message of carrying the label solicited message, send to egress equipment along the path hop-by-hop that calculates by CSPF;
After b, egress are received Path message, produce the Resv message of carrying obligate information and label, the reverse path hop-by-hop that sends along Path message is back into node device, simultaneously, carries out resource reservation on the equipment of Resv message on the way;
C, when ingress is received Resv message, the LSP between all devices sets up successfully, ingress is set up successfully to the MPLS traffic engineering tunnel between the egress.
After the MPLS traffic engineering tunnel was set up successfully, the state of Tunnel interface became up (connection) by down (disconnection).Ingress adds the Tunnel interface in routing table, and the flow that ingress arrives egress sends through the MPLS traffic engineering tunnel.
But, after the MPLS traffic engineering tunnel is set up, only occur unusually at LSP node on the way, when perhaps the priority of MPLS traffic engineering tunnel is lower than other tunnel priority of waiting to obtain Internet resources, just understand releasing network resources.Therefore, in the prior art, the MPLS traffic engineering tunnel still can take the network bandwidth for a long time when not having converting flow, can not in time the network bandwidth be discharged to other tunnel to use, and the service efficiency of Internet resources is low.
Summary of the invention
The invention provides a kind of method and apparatus of releasing network bandwidth, solved the problem that MPLS traffic engineering tunnel when not having converting flow still occupies the network bandwidth.
In order to realize the foregoing invention purpose, the invention provides a kind of method of releasing network bandwidth, be applied to connect into the MPLS traffic engineering tunnel of node and egress, described method comprises:
Whether the Tunnel interface detects described MPLS traffic engineering tunnel converting flow; The MPLS traffic engineering tunnel interface that described Tunnel interface is an ingress;
When the duration of no converting flow reached preset maximum idle time, described Tunnel interface sent tunnel dismounting signaling to the egress of described MPLS traffic engineering tunnel, removes described MPLS traffic engineering tunnel, releasing network bandwidth.
The described duration when no converting flow, described Tunnel interface sent tunnel dismounting signaling to the egress of described MPLS traffic engineering tunnel, removes described MPLS traffic engineering tunnel when reaching preset maximum idle time, and releasing network bandwidth comprises:
The duration of described no converting flow, described Tunnel interface received the notice that idle clock timer sends when reaching preset maximum idle time; The time of carrying the lasting no converting flow of described Tunnel interface in the described notice reaches the information of default maximum idle time;
Described Tunnel interface sends described tunnel dismounting signaling to the intermediate node of described MPLS traffic engineering tunnel, intermediate node by described MPLS traffic engineering tunnel sends described tunnel dismounting signaling to described egress, makes the intermediate node of described MPLS traffic engineering tunnel and egress remove described MPLS traffic engineering tunnel according to described tunnel dismounting signaling.
The timing of described idle clock timer is specially:
When described Tunnel interface detects testing result that whether described MPLS traffic engineering tunnel have a converting flow for not the time, the timing that adds up of described idle clock timer;
When described Tunnel interface detects testing result that whether described MPLS traffic engineering tunnel have a converting flow when being, described idle clock timer zero clearing also picks up counting again.
Whether described Tunnel interface detects described MPLS traffic engineering tunnel has before the converting flow, also comprises: described ingress and egress are set up the MPLS traffic engineering tunnel;
Described ingress and egress are set up the MPLS traffic engineering tunnel and are comprised:
It is the configuration of up spoofing that described Tunnel interface receives its state configuration; Described Tunnel interface is added to the routing table of ingress;
When described Tunnel interface has detected converting flow, the described converting flow of buffer memory, and send the tunnel creation signaling to the egress of described MPLS traffic engineering tunnel, create the MPLS traffic engineering tunnel;
When described MPLS traffic engineering tunnel was created successfully, described Tunnel interface changed to up with state.
Described egress to the MPLS traffic engineering tunnel sends the tunnel creation signaling, creates the MPLS traffic engineering tunnel and comprises:
Described Tunnel interface sends described tunnel creation signaling to the intermediate node of described MPLS traffic engineering tunnel, intermediate node by described MPLS traffic engineering tunnel sends described tunnel creation signaling to described egress, makes the intermediate node of described MPLS traffic engineering tunnel and egress create described MPLS traffic engineering tunnel according to described tunnel creation signaling.
Described Tunnel interface sends tunnel dismounting signaling to the egress of described MPLS traffic engineering tunnel, removes after the described MPLS traffic engineering tunnel, also comprises:
Described Tunnel interface changes to up spoofing with state.
The invention provides a kind of device of releasing network bandwidth, be applied to set up Tunnel interface on the ingress of MPLS traffic engineering tunnel, comprising with egress:
The flow detection unit, whether be used to detect described MPLS traffic engineering tunnel has converting flow;
The unit is removed in the tunnel, be connected with described flow detection unit, be used for when the testing result of described flow detection unit reaches preset maximum idle time for duration of no converting flow, egress to described mpls-te tunnel sends tunnel dismounting signaling, remove described MPLS traffic engineering tunnel, releasing network bandwidth.
Described tunnel is removed the unit and is comprised:
Notice receives subelement, and the testing result that is used for described flow detection unit is when the duration of no converting flow reaching preset maximum idle time, to receive the notice that idle clock timer sends; The time of carrying the lasting no converting flow of described Tunnel interface in the described notice reaches the information of default maximum idle time;
Signaling sends subelement, receiving subelement with described notice is connected, after being used for described notice and receiving subelement and receive the notice that idle clock timer sends, intermediate node to described MPLS traffic engineering tunnel sends described tunnel dismounting signaling, intermediate node by described MPLS traffic engineering tunnel sends described tunnel dismounting signaling to described egress, makes the intermediate node of described MPLS traffic engineering tunnel and egress remove described MPLS traffic engineering tunnel according to described tunnel dismounting signaling.
Described idle clock timer also is connected with the flow detection unit, be used for when the testing result of described flow detection unit for not the time, timing adds up; When the testing result of described flow detection unit when being, receive the notice zero clearing of described flow detection unit and pick up counting again.
In the device provided by the invention, also comprise:
The tunnel creation unit is connected with described flow detection unit, is used for this device and is in up spoofing state, and the described converting flow of buffer memory to the egress transmission tunnel creation signaling of described MPLS traffic engineering tunnel, is created described MPLS traffic engineering tunnel;
The interface configuration unit is connected with described tunnel creation unit, and the state configuration that is used to receive the Tunnel interface is the configuration of up spoofing; And when creating described MPLS traffic engineering tunnel success in described tunnel creation unit, the state of described Tunnel interface is changed to up.
Described interface configuration unit is also removed the unit with described tunnel and is connected, is used for after described MPLS traffic engineering tunnel is removed in dismounting unit, described tunnel, and the state of described Tunnel interface is changed to up spoofing.Compared with prior art, the present invention has the following advantages at least:
Whether have converting flow, when the MPLS traffic engineering tunnel does not have the duration of converting flow to reach preset maximum idle time, remove the MPLS traffic engineering tunnel if detecting the MPLS traffic engineering tunnel by the Tunnel interface, releasing network bandwidth has improved the utilance of network.
Description of drawings
In order to be illustrated more clearly in the present invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in the present invention or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for releasing network bandwidth provided by the invention;
Fig. 2 is the schematic flow sheet of method under an application scenarios of releasing network bandwidth provided by the invention;
Fig. 3 is the schematic flow sheet of method under the Another Application scene of releasing network bandwidth provided by the invention;
Fig. 4 is the structural representation of the device of releasing network bandwidth provided by the invention;
Fig. 5 is another structural representation of the device of releasing network bandwidth provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing among the present invention, the technical scheme among the present invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, 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 invention provides a kind of method of releasing network bandwidth, its core concept is: whether the Tunnel interface detects the MPLS traffic engineering tunnel converting flow, when the time that does not have converting flow reaches preset maximum idle time, initiatively remove the MPLS traffic engineering tunnel, releasing network bandwidth.
Concrete, the method for releasing network bandwidth provided by the invention is applied to connect into the MPLS traffic engineering tunnel of node and egress, and as shown in Figure 1, this method comprises:
Step s101, whether the Tunnel interface detects the MPLS traffic engineering tunnel converting flow.
The MPLS traffic engineering tunnel interface that described Tunnel interface is an ingress, whether described Tunnel interface detects the MPLS traffic engineering tunnel has converting flow to comprise:
The flow that described Tunnel interface statistics is transmitted by described Tunnel interface;
Described Tunnel interface has judged whether converting flow according to the result of described statistics.
The Tunnel interface can real-time statistics through the flow of this interface, can also be have in real time judged whether converting flow according to the result of traffic statistics.For example, when the result of traffic statistics was 0, the Tunnel interface was judged no converting flow; When the result of traffic statistics was not 0, the Tunnel interface is judged converting flow.
Step s102, when the duration of no converting flow reached preset maximum idle time, described Tunnel interface sent tunnel dismounting signaling to the egress of described MPLS traffic engineering tunnel, removes described MPLS traffic engineering tunnel, releasing network bandwidth.
Concrete, the duration of no converting flow, described Tunnel interface received the notice that idle clock timer sends when reaching preset maximum idle time; The time of carrying the lasting no converting flow of described Tunnel interface in the described notice arrives the information of default maximum idle time.Then, described Tunnel interface sends dismounting signaling in tunnel by the intermediate node of described MPLS traffic engineering tunnel to described egress, and the intermediate node of described MPLS traffic engineering tunnel and egress are removed signaling according to described tunnel and removed described MPLS traffic engineering tunnel.Described tunnel is removed signaling and is specifically as follows Pathtear message, receives the intermediate node of this message and path status and the reservation state that egress is deleted the MPLS traffic engineering tunnel immediately, removes the MPLS traffic engineering tunnel.
Wherein, the timing of described idle clock timer is specially:
When described Tunnel interface detects testing result that whether described MPLS traffic engineering tunnel have a converting flow for not the time, the timing that adds up of described idle clock timer;
When described Tunnel interface detects testing result that whether described MPLS traffic engineering tunnel have a converting flow when being, described idle clock timer zero clearing also picks up counting again.
In the method that present embodiment provides, whether described Tunnel interface detects described MPLS traffic engineering tunnel has before the converting flow, also comprises: described ingress and egress are set up the MPLS traffic engineering tunnel;
Described ingress and egress are set up the MPLS traffic engineering tunnel and are comprised:
It is the configuration of up spoofing that described Tunnel interface receives its state configuration; Described Tunnel interface is added to the routing table of ingress;
When described Tunnel interface has detected converting flow, the described converting flow of buffer memory, and send the tunnel creation signaling to the egress of described MPLS traffic engineering tunnel, create the MPLS traffic engineering tunnel; Concrete, described Tunnel interface sends described tunnel creation signaling to the intermediate node of described MPLS traffic engineering tunnel, intermediate node by described MPLS traffic engineering tunnel sends described tunnel creation signaling to described egress, makes the intermediate node of described MPLS traffic engineering tunnel and egress create described MPLS traffic engineering tunnel according to described tunnel creation signaling; When described MPLS traffic engineering tunnel was created successfully, described Tunnel interface changed to up with state.
Described Tunnel interface sends tunnel dismounting signaling to the egress of described MPLS traffic engineering tunnel, removes after the described MPLS traffic engineering tunnel, and described Tunnel interface changes to up spoofing with state.
Wherein, when the state of described Tunnel interface is up spoofing (false up), the up state that the Tunnel interface still is unrealized real, but can provide the up state of a falseness to ingress, ingress is added to this Tunnel interface in the routing table, when ingress receives the flow of route sensing Tunnel interface, flow is sent to the Tunnel interface.
By adopting method provided by the invention, whether the Tunnel interface detects the MPLS traffic engineering tunnel converting flow, when testing result is not, and when the MPLS traffic engineering tunnel does not have the duration of converting flow to reach preset maximum idle time, remove the MPLS traffic engineering tunnel, releasing network bandwidth has improved the utilance of network.
Introduce the method for releasing network bandwidth provided by the invention in detail below in conjunction with an application scenarios, as shown in Figure 2, specifically may further comprise the steps:
Whether step s201, Tunnel interface detect has flow to need to transmit.
In the prior art, the state before the Tunnel interface configuration MPLS traffic engineering tunnel is down, can not be added to the routing table of ingress, can't receive flow.Should be with in the scene, be up spoofing state in advance with the Tunnel interface configuration, under this up spoofing state, the up state that the Tunnel interface still is unrealized real, but the up state of a falseness can be provided to ingress, and ingress knows that the Tunnel Interface status is up spoofing, adds the Tunnel interface to routing table, when detecting the flow of route sensing Tunnel interface, flow is sent to the Tunnel interface.Whether the real-time detection of Tunnel interface has flow to need to transmit, if testing result is for being then continuation; If testing result is for denying repeating step s201.
Step s202, Tunnel interface utilize the CSPF algorithm to carry out path computing.
The Tunnel interface has detected flow need transmit the time, and in forwarding queue, the information of utilizing the TEDB of CSPF algorithm and ingress to collect is carried out the calculating of ingress to the path of egress with the flow buffering received.Concrete, the Tunnel interface utilizes the constraintss such as bandwidth of the LSP that the CSPF algorithm sets up as required, and the information that TEDB collects is selected, and adopts the SPF algorithm again, seeks the path of an ingress to egress.
Step s203, Tunnel interface send message establishing MPLS traffic engineering tunnel.
Aforementioned calculation obtains ingress behind the path of egress, and the Tunnel interface is created the MPLS traffic engineering tunnel according to this path.The Tunnel interface sends Path message according to calculating the path that obtains to intermediate node, can carry the next-hop address information of ingress address information, egress address information and each intermediate node in this Path message.After intermediate node receives this Path message, this Path message is sent to next node, send to egress until this Path message according to the next-hop address information of this intermediate node.This Path message is carried the label solicited message that ingress produces, storing path state on all nodes on the way.After egress is received Path message, produce the Resv message of carrying obligate information and label, the reverse path hop-by-hop that sends along Path message is back into node, carries out resource reservation on all nodes on the way, and creates and safeguard reservation state.When ingress was received Resv message, the LSP between all devices set up successfully, and ingress is set up successfully execution in step s204 to the MPLS traffic engineering tunnel between the egress.
If the Tunnel interface is created the failure of MPLS traffic engineering tunnel, then empty the message of buffer memory, execution in step s201.
Step s204, the Tunnel Interface status changes up into by up spoofing.
When the Tunnel interface receives the Resv message of egress transmission, change state into up by upspoofing, the high priority data in the buffer queue is sent to egress by the MPLS traffic engineering tunnel.
Step s205 starts idle overtime timer.
After the Tunnel Interface status changes up into by up spoofing, start an idle overtime timer.Can set in advance maximum idle time by the user in this free time overtime timer.
The timing of this free time overtime timer is specially: when the Tunnel interface was in the up state, if the Tunnel interface has flow to transmit, it was 0 that the Tunnel interface notifies idle overtime timer constantly to refresh timing; When the Tunnel interface is in the up state, if there is not flow to pass through the Tunnel interface, the timing that adds up of idle overtime timer, when reaching the maximum idle time that sets in advance, notice Tunnel interface.
Step s206, the Tunnel interface sends Pathtear message, removes the MPLS traffic engineering tunnel.
Whether the Tunnel interface detects the MPLS traffic engineering tunnel in real time converting flow, when testing result reaches the maximum idle time that the user sets in advance for duration of no converting flow, when the Tunnel interface receives the notice of idle overtime timer, the Tunnel interface changes state into up spoofing by up, produces Pathtear message.This message produces the back and is sent to egress by the Tunnel interface, deletes the path status and relevant reservation state of node on the way immediately, removes the MPLS traffic engineering tunnel, releasing network bandwidth at once.
By the method that should provide with scene is provided, detect the Tunnel interface and whether remain converting flow, create or remove the MPLS traffic engineering tunnel, when the MPLS traffic engineering tunnel does not have converting flow for a long time, initiatively remove MPLS traffic engineering tunnel releasing network bandwidth, other tunnel that need take the network bandwidth is used, improved network utilization.
Below in conjunction with the Another Application scene method provided by the invention is further introduced.Is example with ingress A equipment to the establishment and the dismounting of the MPLS traffic engineering tunnel of egress D equipment, and intermediate node comprises B equipment and C equipment.
Concrete, as shown in Figure 3, may further comprise the steps:
Step s301 carries out MPLS TE configuration to ingress.
Concrete, the configuration of ingress A equipment is mainly comprised: the state of Tunnel interface is up spoofing on the configuration A equipment, and ingress is added to this Tunnel interface in the routing table.
Configuration to A equipment can also comprise: the attribute of configuration Tunnel interface is a MPLS traffic engineering tunnel interface, follows MPLS TE agreement through the transfer of data of Tunnel interface; The IP address of configuration Tunnel interface; The IP address of configuration target interface; The MPLS TE attribute of configuration LSP comprises link maximum bandwidth, maximum bandwidth reserved, painted etc., obtains TEDB; Configuration CSPF function and RSVP function.
Step s302, whether the Tunnel interface detects converting flow.
The Tunnel interface can real-time statistics when the flow status of front port.In the present embodiment, the Tunnel interface detect whether have converting flow can for: judge according to the flow of real-time statistics whether the Tunnel interface has converting flow; If the flow of statistics is 0, judge that then the Tunnel interface does not have converting flow; Otherwise, judge that the Tunnel interface has converting flow.When testing result when converting flow is arranged, buffer memory is treated converting flow, execution in step s303; Otherwise, continue execution in step s302.
Step s303, the Tunnel interface carries out path computing.
Should be with in the scene, the result of calculation in this path is A-B-C-D.
Step s304, the Tunnel interface sends Path message according to the path that path computing obtains, and creates the MPLS traffic engineering tunnel.
B, C, D equipment receive the Path message that A equipment sends, and preserve the routing information of this Path message, and D equipment generates Resv message according to this Path message, returns A equipment along the D-C-B-A path.Intermediate node B equipment and C equipment are according to Resv message bandwidth reserved, when A equipment receives this Resv message, set up successfully to the MPLS traffic engineering tunnel of D equipment by A equipment, A equipment Tunnel Interface status changes up into, previous buffer memory treated that converting flow passes through the MPLS traffic engineering tunnel and sends to D equipment, afterwards, start idle overtime timer.
If create the failure of MPLS traffic engineering tunnel, then the Tunnel interface empties the message of buffer memory, execution in step s302.
Whether step s305, Tunnel interface detect has flow to need to transmit, if testing result is for being execution in step s306; Otherwise, execution in step s307.
After the MPLS traffic engineering tunnel is created successfully, at first buffer memory treated that converting flow passes through the MPLS traffic engineering tunnel and sends to D equipment.Then, may can be interrupted, be i.e. do not have flow to pass through the MPLS traffic engineering tunnel in a period of time and send, cause the wasting of resources of mpls-te tunnel to D equipment through the flow that the MPLS traffic engineering tunnel is transmitted.Should be with in the scene, after the MPLS traffic engineering tunnel was created successfully, whether the real-time detection of Tunnel interface had flow to transmit by this MPLS traffic engineering tunnel, if then this flow is sent to D equipment by the MPLS traffic engineering tunnel.
Step s306, Tunnel interface notify idle overtime timer zero clearing, and idle overtime timer zero clearing also picks up counting again, and the Tunnel interface continues execution in step s305.
Step s307, the idle overtime timer timing that adds up.
The default maximum idle time of idle overtime timer, if before this maximum idle time arrives, the Tunnel interface has detected converting flow, then idle overtime timer zero clearing, reclocking; If the timing that adds up arrives this maximum idle time, then idle overtime timer notice Tunnel interface does not have the converting flow time and reaches default maximum idle time.
Step s308, the Tunnel interface sends Pathtear message, removes the MPLS traffic engineering tunnel of A equipment to D equipment.
By the method that should provide with scene is provided, detect the Tunnel interface and whether remain converting flow, create or remove the MPLS traffic engineering tunnel, when the MPLS traffic engineering tunnel does not have converting flow for a long time, initiatively remove MPLS traffic engineering tunnel releasing network bandwidth, other tunnel that need take the network bandwidth is used, improved network utilization.
The invention provides a kind of device of releasing network bandwidth, be applied to set up Tunnel interface on the ingress of MPLS traffic engineering tunnel, as shown in Figure 4, comprising with egress:
Whether flow detection unit 41, being used to detect the MPLS traffic engineering tunnel has converting flow.
Described Tunnel interface has statistical function to the flow of transmitting by this Tunnel interface, and flow detection unit 41 can judge whether converting flow according to the result of described statistics.
Unit 42 is removed in the tunnel, be connected with described flow detection unit 41, be used for when the testing result of described flow detection unit 41 reaches preset maximum idle time for duration of no converting flow, egress to described MPLS traffic engineering tunnel sends tunnel dismounting signaling, remove described MPLS traffic engineering tunnel, releasing network bandwidth.
Device provided by the invention as shown in Figure 5, optionally, except that above-mentioned flow detection unit 41 and dismounting unit 42, tunnel, can also comprise tunnel creation unit 43, interface configuration unit 44 and idle clock timer 45.
Described tunnel is removed unit 42 and is comprised:
Notice receives subelement 421, and the testing result that is used for described flow detection unit 41 is when the duration of no converting flow reaching preset maximum idle time, to receive the notice that idle clock timer 45 sends; The time of carrying the lasting no converting flow of Tunnel interface in the described notice reaches the information of default maximum idle time;
Signaling sends subelement 422, receiving subelement 421 with described notice is connected, after being used for described notice and receiving subelement 421 and receive the notice that idle clock timer 45 sends, intermediate node to described MPLS traffic engineering tunnel sends described tunnel dismounting signaling, intermediate node by described MPLS traffic engineering tunnel sends described tunnel dismounting signaling to described egress, makes the intermediate node of described MPLS traffic engineering tunnel and egress remove described MPLS traffic engineering tunnel according to described tunnel dismounting signaling.
In the device provided by the invention, described idle clock timer 45 can also be connected with flow detection unit 41, be used for when the testing result of described flow detection unit 41 for not the time, timing adds up; When the testing result of described flow detection unit 41 when being, receive the notice zero clearing of described flow detection unit 41 and pick up counting again.
Tunnel creation unit 43, be connected with described flow detection unit 41, be used for being in the upspoofing state at this device, when the testing result of described flow detection unit 41 when being, the described converting flow of buffer memory, egress to described MPLS traffic engineering tunnel sends the tunnel creation signaling, creates described MPLS traffic engineering tunnel;
Interface configuration unit 44 is connected with described tunnel creation unit 43, and the state configuration that is used to receive the Tunnel interface is the configuration of up spoofing; And in described tunnel creation unit 43 when creating described MPLS traffic engineering tunnel success, the state of described Tunnel interface is changed to up.
Interface configuration unit 44 also is used for: remove unit 42 with described tunnel and is connected, be used for after the described MPLS traffic engineering tunnel of described tunnel dismounting unit 42 dismountings, the state of described Tunnel interface is changed to up spoofing.
By adopting device provided by the invention, whether the Tunnel interface detects the MPLS traffic engineering tunnel converting flow, when the MPLS traffic engineering tunnel does not have the duration of converting flow to reach preset maximum idle time, removes the MPLS traffic engineering tunnel, releasing network bandwidth has improved the utilance of network.
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.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1, a kind of method of releasing network bandwidth is characterized in that, is applied to connect into the MPLS traffic engineering tunnel of node and egress, and described method comprises:
Whether the Tunnel interface detects described MPLS traffic engineering tunnel converting flow; The MPLS traffic engineering tunnel interface that described Tunnel interface is an ingress;
When the duration of no converting flow reached preset maximum idle time, described Tunnel interface sent tunnel dismounting signaling to the egress of described MPLS traffic engineering tunnel, removes described MPLS traffic engineering tunnel, releasing network bandwidth.
2, the method for claim 1, it is characterized in that, the described duration when no converting flow is when reaching preset maximum idle time, described Tunnel interface sends tunnel dismounting signaling to the egress of described MPLS traffic engineering tunnel, remove described MPLS traffic engineering tunnel, releasing network bandwidth comprises:
The duration of described no converting flow, described Tunnel interface received the notice that idle clock timer sends when reaching preset maximum idle time; The time of carrying the lasting no converting flow of described Tunnel interface in the described notice reaches the information of default maximum idle time;
Described Tunnel interface sends described tunnel dismounting signaling to the intermediate node of described MPLS traffic engineering tunnel, intermediate node by described MPLS traffic engineering tunnel sends described tunnel dismounting signaling to described egress, makes the intermediate node of described MPLS traffic engineering tunnel and egress remove described MPLS traffic engineering tunnel according to described tunnel dismounting signaling.
3, method as claimed in claim 2 is characterized in that, the timing of described idle clock timer is specially:
When described Tunnel interface detects testing result that whether described MPLS traffic engineering tunnel have a converting flow for not the time, the timing that adds up of described idle clock timer;
When described Tunnel interface detects testing result that whether described MPLS traffic engineering tunnel have a converting flow when being, described idle clock timer zero clearing also picks up counting again.
4, the method for claim 1 is characterized in that, whether described Tunnel interface detects described MPLS traffic engineering tunnel has before the converting flow, also comprises: described ingress and egress are set up mpls-te tunnel;
Described ingress and egress are set up the MPLS traffic engineering tunnel and are comprised:
It is the configuration of up spoofing that described Tunnel interface receives its state configuration; Described Tunnel interface is added to the routing table of ingress;
When described Tunnel interface has detected converting flow, the described converting flow of buffer memory, and send the tunnel creation signaling to the egress of described MPLS traffic engineering tunnel, create the MPLS traffic engineering tunnel;
When described MPLS traffic engineering tunnel was created successfully, described Tunnel interface changed to up with state.
5, method as claimed in claim 4 is characterized in that, described egress to the MPLS traffic engineering tunnel sends the tunnel creation signaling, creates the MPLS traffic engineering tunnel and comprises:
Described Tunnel interface sends described tunnel creation signaling to the intermediate node of described MPLS traffic engineering tunnel, intermediate node by described MPLS traffic engineering tunnel sends described tunnel creation signaling to described egress, makes the intermediate node of described MPLS traffic engineering tunnel and egress create described MPLS traffic engineering tunnel according to described tunnel creation signaling.
As claim 4 or 5 described methods, it is characterized in that 6, described Tunnel interface sends tunnel dismounting signaling to the egress of described MPLS traffic engineering tunnel, removes after the described MPLS traffic engineering tunnel, also comprises:
Described Tunnel interface changes to up spoofing with state.
7, a kind of device of releasing network bandwidth is characterized in that, is applied to set up Tunnel interface on the ingress of mpls-te tunnel with egress, comprising:
The flow detection unit, whether be used to detect described MPLS traffic engineering tunnel has converting flow;
The unit is removed in the tunnel, be connected with described flow detection unit, be used for when the testing result of described flow detection unit reaches preset maximum idle time for duration of no converting flow, egress to described mpls-te tunnel sends tunnel dismounting signaling, remove described MPLS traffic engineering tunnel, releasing network bandwidth.
8, device as claimed in claim 7 is characterized in that, described tunnel is removed the unit and comprised:
Notice receives subelement, and the testing result that is used for described flow detection unit is when the duration of no converting flow reaching preset maximum idle time, to receive the notice that idle clock timer sends; The time of carrying the lasting no converting flow of described Tunnel interface in the described notice reaches the information of default maximum idle time;
Signaling sends subelement, receiving subelement with described notice is connected, after being used for described notice and receiving subelement and receive the notice that idle clock timer sends, intermediate node to described MPLS traffic engineering tunnel sends described tunnel dismounting signaling, intermediate node by described MPLS traffic engineering tunnel sends described tunnel dismounting signaling to described egress, makes the intermediate node of described MPLS traffic engineering tunnel and egress remove described MPLS traffic engineering tunnel according to described tunnel dismounting signaling.
9, device as claimed in claim 8 is characterized in that, described idle clock timer also is connected with the flow detection unit, be used for when the testing result of described flow detection unit for not the time, timing adds up; When the testing result of described flow detection unit when being, receive the notice zero clearing of described flow detection unit and pick up counting again.
10, device as claimed in claim 7 is characterized in that, also comprises:
The tunnel creation unit, be connected with described flow detection unit, be used for this device and be in up spoofing state, when the testing result of described flow detection unit when being, the described converting flow of buffer memory, egress to described MPLS traffic engineering tunnel sends the tunnel creation signaling, creates described MPLS traffic engineering tunnel;
The interface configuration unit is connected with described tunnel creation unit, and the state configuration that is used to receive the Tunnel interface is the configuration of up spoofing; And when creating described MPLS traffic engineering tunnel success in described tunnel creation unit, the state of described Tunnel interface is changed to up.
11, device as claimed in claim 10, it is characterized in that, described interface configuration unit is also removed the unit with described tunnel and is connected, is used for after described MPLS traffic engineering tunnel is removed in dismounting unit, described tunnel, and the state of described Tunnel interface is changed to up spoofing.
CNA2009101300498A 2009-04-03 2009-04-03 Method and apparatus for releasing network bandwidth Pending CN101510851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2009101300498A CN101510851A (en) 2009-04-03 2009-04-03 Method and apparatus for releasing network bandwidth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009101300498A CN101510851A (en) 2009-04-03 2009-04-03 Method and apparatus for releasing network bandwidth

Publications (1)

Publication Number Publication Date
CN101510851A true CN101510851A (en) 2009-08-19

Family

ID=41003117

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009101300498A Pending CN101510851A (en) 2009-04-03 2009-04-03 Method and apparatus for releasing network bandwidth

Country Status (1)

Country Link
CN (1) CN101510851A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594645A (en) * 2011-11-25 2012-07-18 中兴通讯股份有限公司 Removing method of flow engineering tunnel in distributed network and node equipment
CN103391488A (en) * 2013-08-09 2013-11-13 深圳市共进电子股份有限公司 Method for intelligently releasing bandwidth in passive optical network
CN103780474A (en) * 2014-01-13 2014-05-07 杭州华三通信技术有限公司 Traffic engineering tunnel resource preemption method and device
WO2014161371A1 (en) * 2013-04-01 2014-10-09 华为技术有限公司 Method for establishing lsp and network device
CN104618238A (en) * 2015-02-16 2015-05-13 杭州华三通信技术有限公司 Traffic engineering resource release method and apparatus
CN106341255A (en) * 2015-07-07 2017-01-18 思科技术公司 Intelligent wide area network (iwan)
WO2020038204A1 (en) * 2018-08-24 2020-02-27 Telefonaktiebolaget Lm Ericsson (Publ) Method, network device and terminal device for managing a resource in a wireless communication system

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594645A (en) * 2011-11-25 2012-07-18 中兴通讯股份有限公司 Removing method of flow engineering tunnel in distributed network and node equipment
CN102594645B (en) * 2011-11-25 2017-12-01 中兴通讯股份有限公司 The method for dismounting and node device of traffic engineering tunnel in distributed network
CN104104600A (en) * 2013-04-01 2014-10-15 华为技术有限公司 LSP establishing method and network equipment
US10547542B2 (en) 2013-04-01 2020-01-28 Huawei Technologies Co., Ltd. LSP establishment method and network device
WO2014161371A1 (en) * 2013-04-01 2014-10-09 华为技术有限公司 Method for establishing lsp and network device
CN104104600B (en) * 2013-04-01 2018-03-09 华为技术有限公司 The method and the network equipment that a kind of LSP is established
CN103391488A (en) * 2013-08-09 2013-11-13 深圳市共进电子股份有限公司 Method for intelligently releasing bandwidth in passive optical network
CN103780474A (en) * 2014-01-13 2014-05-07 杭州华三通信技术有限公司 Traffic engineering tunnel resource preemption method and device
CN103780474B (en) * 2014-01-13 2017-03-15 杭州华三通信技术有限公司 A kind of traffic engineering tunnel resource seizing method and device
CN104618238A (en) * 2015-02-16 2015-05-13 杭州华三通信技术有限公司 Traffic engineering resource release method and apparatus
CN104618238B (en) * 2015-02-16 2018-01-12 新华三技术有限公司 A kind of method and apparatus for discharging traffic engineering resource
CN106341255A (en) * 2015-07-07 2017-01-18 思科技术公司 Intelligent wide area network (iwan)
CN106341255B (en) * 2015-07-07 2020-02-11 思科技术公司 Intelligent Wide Area Network (IWAN)
US10797992B2 (en) 2015-07-07 2020-10-06 Cisco Technology, Inc. Intelligent wide area network (IWAN)
US11290377B2 (en) 2015-07-07 2022-03-29 Cisco Technology, Inc. Intelligent wide area network (IWAN)
US11870691B2 (en) 2015-07-07 2024-01-09 Cisco Technology, Inc. Intelligent wide area network (IWAN)
WO2020038204A1 (en) * 2018-08-24 2020-02-27 Telefonaktiebolaget Lm Ericsson (Publ) Method, network device and terminal device for managing a resource in a wireless communication system
US11838903B2 (en) 2018-08-24 2023-12-05 Telefonaktiebolaget Lm Ericsson (Publ) Method, network device and terminal device for managing a resource in a wireless communication system

Similar Documents

Publication Publication Date Title
CN102638388B (en) Flow label negotiating method, relevant device and system
EP2878106B1 (en) System and method for switching traffic from sub-optimal primary p2mp to standby p2mp
CN1973486B (en) Avoiding micro-loop upon failure of fast reroute protected links
US9699087B2 (en) System and method for reporting out-of-resources (OOR) conditions in a data network
CN101510851A (en) Method and apparatus for releasing network bandwidth
EP2856715B1 (en) System and method for managing mpls-te overload
CN102123088B (en) Set up the method and apparatus of traffic engineering tunnel
CN101640637B (en) Resource reservation protocol tunnel management method based on flow rate engineering and system thereof
JP2002190825A (en) Traffic engineering method and node equipment using it
CN101547155A (en) Master and standby tunnel load sharing method and flow forwarding equipment
CN103765834B (en) For minimizing the soft method and device seized seized in data network
CN101785261A (en) rsvp-te enhancement for mpls-frr bandwidth optimization
CN108141410A (en) For the make-before-break mechanism of label switched path
TW200408226A (en) Guaranteed service in a data network
CN101026590A (en) Multi-link failure processing method and label switching router
CN102123089B (en) Tunnel establishing method and device
Semeria RSVP signaling extensions for MPLS traffic engineering
CN104135423B (en) A kind of bidirectional tunnel method for building up and device
KR100585934B1 (en) Method of Dynamic Management of Traffic Conditioner Parameter and Table of Class of Service on Router
Bongale et al. Analysis of link utilization in MPLS enabled network using OPNET IT Guru
Holness et al. Dynamic congestion control mechanisms for MPLS networks
CN104618238B (en) A kind of method and apparatus for discharging traffic engineering resource
Alparslan et al. AIMD-based online MPLS traffic engineering for TCP flows via distributed multi-path routing
JP2003249956A (en) Optical exchange having path control means
Chen Enhancing MPLS Protection Method with Adaptive Segment Repair

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20090819