CN101616052A - A kind of tunnel control method and device - Google Patents

A kind of tunnel control method and device Download PDF

Info

Publication number
CN101616052A
CN101616052A CN200910158022A CN200910158022A CN101616052A CN 101616052 A CN101616052 A CN 101616052A CN 200910158022 A CN200910158022 A CN 200910158022A CN 200910158022 A CN200910158022 A CN 200910158022A CN 101616052 A CN101616052 A CN 101616052A
Authority
CN
China
Prior art keywords
tunnel
message
traffic engineering
address
mpls traffic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910158022A
Other languages
Chinese (zh)
Other versions
CN101616052B (en
Inventor
王军
周迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New 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 CN 200910158022 priority Critical patent/CN101616052B/en
Publication of CN101616052A publication Critical patent/CN101616052A/en
Application granted granted Critical
Publication of CN101616052B publication Critical patent/CN101616052B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a kind of tunnel control method and device, this method comprises: described gateway router receives described video encoder and is detecting the tunnel control message that sends when unusual, and described tunnel control message is that message is set up in the tunnel or message is cancelled in the tunnel or tunnel bandwidth is adjusted message; The tunnel control message that described gateway router sends according to described video encoder, the execution corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation.Among the present invention, gateway router receiver, video encoder is detecting the tunnel control message that sends when unusual, carry out according to this tunnel control message that corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation, thereby can control the foundation of adjusting the MPLS traffic engineering tunnel flexibly or cancel and the bandwidth of MPLS traffic engineering tunnel, improve the service efficiency of Internet resources.

Description

A kind of tunnel control method and device
Technical field
The present invention relates to the communications field, relate in particular to a kind of tunnel control method and device.
Background technology
In recent years, along with IP (Internet Protocol, Internet Protocol) network popularizes on a large scale, and the develop rapidly of computer, network and image processing, transmission technology, IP video monitoring technology has also had development at full speed, and based on network IP supervisory control system progressively becomes the principal mode of supervisory control system.
Large scale deployment along with " global eyes "; the area that camera distributes is more and more wider; the territorial scope of being crossed over is increasing; video monitoring data is requisite in transmission course will use IP network; and this IP network is a bigger and complicated network; therefore; packet is difficult to guarantee by the transmission quality of this IP network; need to use relevant strategy to carry out the protection of transfer of data; make it in transmission course not packet loss or less packet loss, guarantee the normal stable operation of supervisory control system.
Use MPLS TE (Multi Protocol Label Switch TrafficEngineering in the prior art, multi-protocol label switching traffic engineering) technology to data the transmission in IP network protect, on the IP transmission network, set up the MPLS traffic engineering tunnel in advance, the subsequent video monitor data is transmitted by setting up good MPLS traffic engineering tunnel in advance, wherein, the subsequent video monitor data comprises live stream, is used to send to DC (Decoder, Video Decoder) equipment display monitoring image; The subsequent video monitor data also comprises storage flow, is used to send to the memory device, stores video monitoring data.As shown in Figure 1, because DC equipment can be under the jurisdiction of under the same router with memory device, also can be under the jurisdiction of under the different routers, so need to set up in advance one or two MPLS traffic engineering tunnels in the prior art.
For the previous case, in order to guarantee the normal transmission of video monitoring data in the MPLS traffic engineering tunnel, need that the network manager is in advance manual to set up enough big MPLS traffic engineering tunnel bandwidth, be greater than the storage flow and the live stream sum of high code check at least.In conjunction with shown in Figure 1, belonging to R2 with DC and memory device is example, and the video monitoring data that EC sends need send to DC or memory device through the MPLS traffic engineering tunnel between R1 and the R2.Under normal circumstances, the code check live stream that EC sends video monitoring data is 1M, is sent to R2 by R1; Exist under the unusual situation detecting certain zone, the code check that EC improves the code check live stream makes video data can show more distinct image on DC, simultaneously, EC can also send storage flow to memory device, makes the video data that EC obtains under the current abnormal conditions of memory device, stores; After unusual disappearance, EC reduces the code check of live stream, no longer sends video data to memory device simultaneously.But, because the bandwidth of the MPLS traffic engineering tunnel between router R1 and the router R2 is predefined fixed value, this fixed value is at least greater than the bandwidth sum of live stream under the abnormal conditions and storage flow, and can not reduce the code check of live stream or stop after memory device sends video data at EC, reduce the bandwidth of MPLS traffic engineering tunnel flexibly, thereby cause waste of network resources.
For latter event, as shown in Figure 1, code check live stream in the video monitoring data that EC sends sends to DC through the MPLS traffic engineering tunnel between R1 and the R2, storage flow in the video monitoring data that EC sends sends to memory device through the MPLS traffic engineering tunnel between R1 and the R3, EC equipment does not detect unusual the time, and the storage flow in this video monitoring data does not need to store on memory device.
In this case, after abnormal conditions disappear,, make that the MPLS traffic engineering tunnel between R1 and the R2 can't reduce bandwidth flexibly because the bandwidth of MPLS traffic engineering tunnel is predefined fixed value, MPLS traffic engineering tunnel between R1 and the R3 becomes the complete free time, causes waste of network resources.
Based on above-mentioned analysis, the inventor finds that the shortcoming of prior art is:
The foundation that can not adjust the bandwidth of MPLS traffic engineering tunnel or control MPLS traffic engineering tunnel flexibly with cancel, cause waste of network resources.
Summary of the invention
The invention provides a kind of tunnel control method and device, with the bandwidth that realizes adjusting flexibly the MPLS traffic engineering tunnel or set up and cancel, the service efficiency of raising Internet resources.
The invention provides a kind of tunnel control method, be applied to the gateway router that is connected with video encoder, comprising:
Described gateway router receives described video encoder and is detecting the tunnel control message that sends when unusual, and described tunnel control message is that message is set up in the tunnel or message is cancelled in the tunnel or tunnel bandwidth is adjusted message;
The tunnel control message that described gateway router sends according to described video encoder, the execution corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation.
When described tunnel control message is set up message for the MPLS traffic engineering tunnel, the tunnel control message that described gateway router sends according to described video encoder, the execution corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation comprises:
Described gateway router is set up MPLS traffic engineering tunnel head node IP address, MPLS traffic engineering tunnel tail node IP address and the tunnel bandwidth of carrying in the message according to the described tunnel of pre-configured parsing;
Described gateway router is according to described MPLS traffic engineering tunnel tail node IP address and tunnel bandwidth, obtain the IP address of next hop router, and issue the message of carrying described MPLS traffic engineering tunnel tail node IP address and tunnel bandwidth to described next hop router, continue to send the message of carrying described MPLS traffic engineering tunnel tail node IP address and tunnel bandwidth by described next hop router, set up the MPLS traffic engineering tunnel between described gateway router and the described MPLS traffic engineering tunnel tail node.
After the described MPLS traffic engineering tunnel of setting up between described gateway router and the described MPLS traffic engineering tunnel tail node, also comprise:
Described gateway router is set up described video encoder and is sent the IP address of destination device of data flow and the corresponding relation between the MPLS traffic engineering tunnel;
When described gateway router received the data flow that described video encoder sends, the described corresponding relation of IP address search according to the destination device of described data flow obtained the mpls-te tunnel that sends described data flow.
When described tunnel control message was set up message for the MPLS traffic engineering tunnel, described gateway router received described video encoder before detecting the tunnel control message that sends when unusual, also comprised:
Described video encoder sends the path probe command of carrying destination device IP address, obtains the IP address of the gateway router under the described video encoder, the IP address of router under the described destination device according to described path probe command and described destination device IP address;
Gateway router under the described video encoder is described MPLS traffic engineering tunnel head node, and the router under the described destination device is described MPLS traffic engineering tunnel tail node.
When described tunnel control message is cancelled message for the MPLS traffic engineering tunnel, the tunnel control message that described gateway router sends according to described video encoder, the execution corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation comprises:
Described gateway router is cancelled the MPLS traffic engineering tunnel tail node IP address of carrying in the message according to the described tunnel of pre-configured parsing;
Described gateway router is cancelled described MPLS traffic engineering tunnel according to the described MPLS traffic engineering tunnel tail node IP address deletion configuration relevant with described mpls-te tunnel.
When described tunnel control message is MPLS traffic engineering tunnel bandwidth adjustment messages, the tunnel control message that described gateway router sends according to described video encoder, the execution corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation comprises:
Described gateway router is adjusted the tail node IP address, tunnel and the tunnel bandwidth of carrying in the message according to the described tunnel bandwidth of pre-configured parsing;
Described gateway router obtains corresponding M PLS traffic engineering tunnel according to tail node IP address, described tunnel, and adjusts the bandwidth of described MPLS traffic engineering tunnel according to described tunnel bandwidth.
A kind of gateway router comprises:
The message sink unit is used to receive described video encoder and is detecting the tunnel control message that sends when unusual, and described tunnel control message is that message is set up in the tunnel or message is cancelled in the tunnel or tunnel bandwidth is adjusted message;
The tunnel operations unit, the tunnel control message that the described video encoder that is used for receiving according to described message sink unit sends carries out that corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation.
Described tunnel operations unit specifically is used for:
When described tunnel control message is set up message for the MPLS traffic engineering tunnel, set up MPLS traffic engineering tunnel head node IP address, MPLS traffic engineering tunnel tail node IP address and the tunnel bandwidth of carrying in the message according to the described tunnel of pre-configured parsing; According to described MPLS traffic engineering tunnel tail node IP address and tunnel bandwidth, obtain the IP address of next hop router, and issue the message of carrying described mpls-te tunnel tail node IP address and tunnel bandwidth to described next hop router, continue to send the message of carrying described MPLS traffic engineering tunnel tail node IP address and tunnel bandwidth by described next hop router, set up the MPLS traffic engineering tunnel between described gateway router and the described MPLS traffic engineering tunnel tail node;
When described tunnel control message is cancelled message for the MPLS traffic engineering tunnel, cancel the MPLS traffic engineering tunnel tail node IP address of carrying in the message according to the described tunnel of pre-configured parsing; According to deletion of described MPLS traffic engineering tunnel tail node IP address and the relevant configuration of described MPLS traffic engineering tunnel, cancel described MPLS traffic engineering tunnel;
When described tunnel control message is MPLS traffic engineering tunnel bandwidth adjustment messages, adjust the tail node IP address, tunnel and the tunnel bandwidth of carrying in the message according to the described tunnel bandwidth of pre-configured parsing; Obtain corresponding M PLS traffic engineering tunnel according to tail node IP address, described tunnel, and adjust the bandwidth of described MPLS traffic engineering tunnel according to described tunnel bandwidth.
Also comprise:
The corresponding relation unit is used to set up described video encoder and sends the IP address of destination device of data flow and the corresponding relation between the MPLS traffic engineering tunnel; And when described gateway router received the data flow that described video encoder sends, the described corresponding relation of IP address search according to the destination device of described data flow obtained the MPLS traffic engineering tunnel that sends described data flow.
A kind of video encoder comprises:
The message construction unit is used to detect when unusual according to pre-configured structure tunnel control message, and described tunnel control message is that message is set up in the tunnel or message is cancelled in the tunnel or tunnel bandwidth is adjusted message;
Message sending unit is used for sending to gateway router the tunnel control message of described message construction cell formation.
Also comprise:
Address acquisition unit, be used to send the path probe command of carrying destination device IP address, obtain the IP address of the gateway router under the described video encoder, the IP address of router under the described destination device according to described path probe command and described destination device IP address.
Compared with prior art, the present invention has the following advantages at least:
Gateway router receiver, video encoder is detecting the tunnel control message that sends when unusual, carry out according to this tunnel control message that corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation, thereby can control the foundation of adjusting the MPLS traffic engineering tunnel flexibly or cancel and the bandwidth of MPLS traffic engineering tunnel, improve the service efficiency of Internet resources.
Description of drawings
Fig. 1 is that DC equipment and memory device are under the jurisdiction of different router following time, two MPLS traffic engineering tunnel schematic diagrames between EC equipment and memory device and the DC equipment in the prior art;
Fig. 2 is the schematic flow sheet of the tunnel control method that provides among the present invention;
Fig. 3 is the process schematic diagram of setting up the MPLS traffic engineering tunnel that provides in the application scenarios of the present invention;
Fig. 4 is the process schematic diagram that the EC encoder that provides in the application scenarios of the present invention is cancelled the MPLS traffic engineering tunnel;
Fig. 5 is the structural representation of the gateway router that provides among the present invention;
Fig. 6 is the structural representation of the video encoder that provides among the present invention.
Embodiment
Core concept of the present invention is: when video encoder detects abnormal conditions, video encoder sends tunnel control message to gateway router, between the gateway router of control of video encoder and the Video Decoder or the foundation of the mpls-te tunnel between the routing device under the gateway router of video encoder and the memory device or cancel or the adjustment of tunnel bandwidth, thereby can set up, cancel the MPLS traffic engineering tunnel according to actual needs flexibly, perhaps adjust the bandwidth of MPLS traffic engineering tunnel, improve the service efficiency of MPLS traffic engineering tunnel.
The invention provides a kind of tunnel control method, be applied to the gateway router that is connected with video encoder, as shown in Figure 2, may further comprise the steps:
Step s201, described gateway router receive described video encoder and are detecting the tunnel control message that sends when unusual, and described tunnel control message is that message is set up in the tunnel or message is cancelled in the tunnel or tunnel bandwidth is adjusted message;
Step s202, the tunnel control message that described gateway router sends according to described video encoder, the execution corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation.
Introduce tunnel control method provided by the invention in detail below in conjunction with concrete application scenarios, wherein, in the application scenarios of the present invention, the EC encoder can be carried out multiple operation according to pre-configured mode, comprises setting up the MPLS traffic engineering tunnel, cancel the MPLS traffic engineering tunnel or adjusting the bandwidth of the MPLS traffic engineering tunnel set up.
At first introduce in the tunnel control method provided by the invention in conjunction with concrete application scenarios, the EC encoder is set up the process of MPLS traffic engineering tunnel, as shown in Figure 3, may further comprise the steps:
Step s301, EC encoder obtain the IP address of the affiliated router of outlet gateway router and memory device to memory device transmit path probe command.
Should be with in the scene, the EC encoder can detect when unusual, holds the operation of setting up the MPLS traffic engineering tunnel according to pre-configured.At this moment, the EC encoder at first needs to obtain the head node of setting up the MPLS traffic engineering tunnel and the IP address of tail node, be the IP address of affiliated router of EC encoder and the router under the memory device, the router under this EC encoder is the outlet gateway router of EC encoder.Concrete, the EC encoder can pass through to memory device transmit path probe command, for example tracert order, the IP address that obtains the affiliated router of outlet gateway router and memory device.This tracert order at first sends to the outlet gateway router by the EC encoder, i.e. the head node of MPLS traffic engineering tunnel; After this head node obtains the tracert order, obtain next-hop ip address according to the memory device I P address that carries in this order, this tracert order is sent to next-hop ip address, equipment on the next-hop ip address obtains its next-hop ip address according to the memory device I P address that carries in the tracert order again, carry out successively, up to arriving memory device.Like this, the EC encoder has obtained the path that arrives memory device from the EC encoder by the tracert order, shown in following tabulation:
Jumping figure IP address
1 100.1.10.1
2 100.1.0.1
3 200.1.1.2
4 200.2.6.2
5 123.200.0.1
6 10.55.72.51
Wherein, the first IP address 100.1.10.1 that jumps is the IP address of outlet gateway router, the IP address 10.55.72.51 of final jump is the memory device I P address, and the IP address 123.200.0.1 of the last two jump is the IP address of the router under the memory device.
Step s302, the EC encoder sends the tunnel to the outlet gateway router and sets up message, and the MPLS traffic engineering tunnel is set up in request, carries the IP address of outlet gateway router and IP address and other tunnels of the router under the memory device in this message and sets up information.
Concrete, the EC encoder is the TCP message to the message that the outlet gateway router sends, and is as shown in table 2:
Table 2
Figure G200910158022XD00081
The implication of each field is in the table 2:
32 potential head node IP address of routers: be the IP address of EC router that encoder connects, promptly export the IP address of gateway router;
32 tail node IP address of routers: be a last hop router IP address of destination, should be with the IP address that in the scene is router under the memory device;
The IP address of 32 destinations: be meant the purpose IP address that video monitoring data will arrive, should be with in the scene being the memory device I P address;
The MPLS traffic engineering tunnel is set up in attribute field (4bit): 1-----representative; The MPLS traffic engineering tunnel is cancelled in the 2-----representative; The tunnel bandwidth of MPLS TE is adjusted in the 3-----representative; Should be 1 with the value of attribute field in the scene, the MPLS traffic engineering tunnel be set up in expression;
The bandwidth that the MPLS traffic engineering tunnel will guarantee (20bit): the amount of bandwidth that the needs of the MPLS traffic engineering tunnel of setting up ensure between head node and the tail node router, can adjust as required by the EC encoder;
Data check sign indicating number (8bit): ensure data correctness in the message, can be provided with flexibly.
Shown in the associative list 2, the MPLS traffic engineering tunnel that the EC encoder is set up as required is provided with corresponding field in message, makes and carries the needed various information of MPLS traffic engineering tunnel of setting up in this message, and this message is sent to the outlet gateway router.
Step s303, the outlet gateway router receives the message that the EC encoder sends, and obtains the tunnel that carries in this message and sets up information, and send response message to the EC encoder.
Concrete, after the outlet gateway router receives the message of EC encoder transmission, according to the content in the Transmission Control Protocol Command Line Parsing TCP message, obtain the order of setting up the MPLS traffic engineering tunnel, and set up the needed various information of MPLS traffic engineering tunnel, comprise the IP address, tunnel bandwidth of the router under the memory device etc.
Transmission of messages between outlet gateway router and the EC encoder is followed Transmission Control Protocol, and the outlet gateway router also need send response message to the EC encoder after the message that receives the transmission of EC encoder; If agreement in the stipulated time EC encoder do not receive the response message that the outlet gateway router sends, then the EC encoder resends the message that the MPLS traffic engineering tunnel is set up in request to the outlet gateway router.
Step s304, the outlet gateway router is set up information according to the tunnel that obtains and is set up the MPLS traffic engineering tunnel.
Concrete, the outlet gateway router is according to head node IP address, tail node IP address and the tunnel bandwidth of MPLS traffic engineering tunnel, by the CSPF algorithm etc., sets up the MPLS traffic engineering tunnel.
Step s305, the outlet gateway router is set up acl rule, and the EC encoder is directed to this MPLS traffic engineering tunnel to the stream of memory device.
Because the destination of the data flow of EC encoder might be memory device or DC equipment, and arrive memory device or DC equipment can pass through different paths by the EC encoder, therefore, outlet gateway router place is provided with acl rule, i.e. the IP address of the destination device of the data flow of EC encoder transmission and the corresponding relation of MPLS traffic engineering tunnel.When the outlet gateway router receives the data flow that the EC encoder sends, this data flow is directed to corresponding M PLS traffic engineering tunnel according to the destination address of this data flow.Should be with in the scene, when the destination address of the data flow that exports the transmission of gateway router acquisition EC encoder is the memory device I P address, finding tail node is the MPLS traffic engineering tunnel of memory device I P address, sends data flow by this MPLS traffic engineering tunnel to memory device.
Should be with in the scene, setting up the MPLS traffic engineering tunnel that arrives memory device with the EC encoder is the process of setting up that example is introduced the MPLS traffic engineering tunnel, it is same or similar with above-mentioned step s301-step s305 process to set up the MPLS traffic engineering tunnel process that arrives DC equipment for the EC encoder, no longer repeats at this.
Introduce in the tunnel control method provided by the invention below in conjunction with concrete application scenarios, the EC encoder is cancelled the process of MPLS traffic engineering tunnel, as shown in Figure 4, may further comprise the steps:
Step s401, the EC encoder sends the tunnel to the outlet gateway router and cancels message, the information such as tail node IP address of the MPLS traffic engineering tunnel that the request of carrying in this message is cancelled.
Concrete, with the request of EC encoder cancel and memory device between the MPLS traffic engineering tunnel be example, the EC encoder is cancelled the IP address of carrying router under the memory device in the message to the tunnel that the outlet gateway router sends.The form of this message can be provided with as required flexibly, perhaps is arranged to the Transmission Control Protocol message format shown in the above-mentioned table 2, and is as shown in table 3:
Table 3
Figure G200910158022XD00101
Shown in the associative list 2, the MPLS traffic engineering tunnel is cancelled in attribute field 2 expressions.
Step s402, the outlet gateway router receives the message that the EC encoder sends, and obtains the tunnel revocation information that carries in this message, cancels MPLS traffic engineering tunnel between the affiliated router of this locality and memory device.
Concrete, it is example with the TCP message shown in the above-mentioned table 3 that message is cancelled in the tunnel that the EC encoder sends, and the outlet gateway router is according to this TCP message of Transmission Control Protocol Command Line Parsing, knows that according to attribute field in the table 32 needs cancel corresponding M PLS traffic engineering tunnel.The deletion of countermanding an order is the relevant configuration of the MPLS traffic engineering tunnel of tail node with router under the memory device to the outlet gateway router according to this tunnel, cancels this MPLS traffic engineering tunnel.
Should be with in the scene, after the outlet gateway router receives the TCP message of EC encoder transmission, send response message to the EC encoder, if agreement in the stipulated time EC encoder do not receive the response message that the outlet gateway router sends, then the EC encoder resends the message that the MPLS traffic engineering tunnel is cancelled in request to the outlet gateway router.
Adjust the process of MPLS traffic engineering tunnel bandwidth for the request of EC encoder, with reference to above-mentioned steps s401-step s402, bandwidth with the MPLS traffic engineering tunnel between request adjustment of EC encoder and the memory device is an example, the EC encoder sends tunnel bandwidth to the outlet gateway router and adjusts message, the information such as bandwidth value of carrying the IP address of the affiliated router of memory device in this message and needing to adjust.The form of this message also can adopt the TCP message format shown in the above-mentioned table 2, and is as shown in table 4:
Table 4
Shown in the associative list 2, the attribute of MPLS traffic engineering tunnel is adjusted in attribute field 3 expressions in the table 4, and the bandwidth field that the MPLS traffic engineering tunnel will guarantee fills in the tunnel bandwidth that need adjust to.After the outlet gateway router receives this message, obtain the bandwidth adjustment information of wherein carrying, send by the router under memory device and carry the bandwidth that the message that needs the adjustment bandwidth value is adjusted corresponding M PLS traffic engineering tunnel.
By the method that adopts application scenarios of the present invention to provide, gateway router receiver, video encoder is detecting the tunnel control message that sends when unusual, carry out according to this tunnel control message that corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation, thereby can control the foundation of adjusting the MPLS traffic engineering tunnel flexibly or cancel and the bandwidth of MPLS traffic engineering tunnel, improve the service efficiency of Internet resources.
The invention provides a kind of gateway router, as shown in Figure 5, comprising:
Message sink unit 11 is used to receive described video encoder and is detecting the tunnel control message that sends when unusual, and described tunnel control message is that message is set up in the tunnel or message is cancelled in the tunnel or tunnel bandwidth is adjusted message;
Tunnel operations unit 12, the tunnel control message that the described video encoder that is used for receiving according to described message sink unit 11 sends carries out that corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation.
Described tunnel operations unit 12 specifically is used for: when described tunnel control message is set up message for the MPLS traffic engineering tunnel, set up MPLS traffic engineering tunnel head node IP address, MPLS traffic engineering tunnel tail node IP address and the tunnel bandwidth of carrying in the message according to the described tunnel of pre-configured parsing; According to described MPLS traffic engineering tunnel tail node IP address and tunnel bandwidth, obtain the IP address of next hop router, and issue the message of carrying described MPLS traffic engineering tunnel tail node IP address and tunnel bandwidth to described next hop router, continue to send the message of carrying described MPLS traffic engineering tunnel tail node IP address and tunnel bandwidth by described next hop router, set up the MPLS traffic engineering tunnel between described gateway router and the described MPLS traffic engineering tunnel tail node; When described tunnel control message is cancelled message for the MPLS traffic engineering tunnel, cancel the MPLS traffic engineering tunnel tail node IP address of carrying in the message according to the described tunnel of pre-configured parsing; According to deletion of described MPLS traffic engineering tunnel tail node IP address and the relevant configuration of described MPLS traffic engineering tunnel, cancel described MPLS traffic engineering tunnel; When described tunnel control message is MPLS traffic engineering tunnel bandwidth adjustment messages, adjust the tail node IP address, tunnel and the tunnel bandwidth of carrying in the message according to the described tunnel bandwidth of pre-configured parsing; Obtain corresponding M PLS traffic engineering tunnel according to tail node IP address, described tunnel, and adjust the bandwidth of described MPLS traffic engineering tunnel according to described tunnel bandwidth.
Gateway router provided by the invention can also comprise:
Corresponding relation unit 13 is used to set up described video encoder and sends the IP address of destination device of data flow and the corresponding relation between the MPLS traffic engineering tunnel; And when described gateway router received the data flow that described video encoder sends, the described corresponding relation of IP address search according to the destination device of described data flow obtained the MPLS traffic engineering tunnel that sends described data flow.
The invention provides a kind of video encoder, as shown in Figure 6, comprising:
Message construction unit 21 is used to detect when unusual according to pre-configured structure tunnel control message, and described tunnel control message is that message is set up in the tunnel or message is cancelled in the tunnel or tunnel bandwidth is adjusted message;
Message sending unit 22 is used for sending to gateway router the tunnel control message of described message construction cell formation.
Optionally, video encoder provided by the invention also comprises:
Address acquisition unit 23, be used to send the path probe command of carrying destination device IP address, obtain the IP address of the gateway router under the described video encoder, the IP address of router under the described destination device according to described path probe command and described destination device IP address.
By the equipment that adopts application scenarios of the present invention to provide, gateway router receiver, video encoder is detecting the tunnel control message that sends when unusual, carry out according to this tunnel control message that corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation, thereby can control the foundation of adjusting the MPLS traffic engineering tunnel flexibly or cancel and the bandwidth of MPLS traffic engineering tunnel, improve the service efficiency of Internet resources.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a 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.

Claims (11)

1, a kind of tunnel control method is applied to the gateway router that is connected with video encoder, it is characterized in that, comprising:
Described gateway router receives described video encoder and is detecting the tunnel control message that sends when unusual, and described tunnel control message is that message is set up in the tunnel or message is cancelled in the tunnel or tunnel bandwidth is adjusted message;
The tunnel control message that described gateway router sends according to described video encoder, the execution corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation.
2, the method for claim 1, it is characterized in that, when described tunnel control message is set up message for the MPLS traffic engineering tunnel, the tunnel control message that described gateway router sends according to described video encoder, the execution corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation comprises:
Described gateway router is set up MPLS traffic engineering tunnel head node IP address, MPLS traffic engineering tunnel tail node IP address and the tunnel bandwidth of carrying in the message according to the described tunnel of pre-configured parsing;
Described gateway router is according to described MPLS traffic engineering tunnel tail node IP address and tunnel bandwidth, obtain the IP address of next hop router, and issue the message of carrying described MPLS traffic engineering tunnel tail node IP address and tunnel bandwidth to described next hop router, continue to send the message of carrying described MPLS traffic engineering tunnel tail node IP address and tunnel bandwidth by described next hop router, set up the MPLS traffic engineering tunnel between described gateway router and the described MPLS traffic engineering tunnel tail node.
3, method as claimed in claim 1 or 2 is characterized in that, after the described MPLS traffic engineering tunnel of setting up between described gateway router and the described MPLS traffic engineering tunnel tail node, also comprises:
Described gateway router is set up described video encoder and is sent the IP address of destination device of data flow and the corresponding relation between the MPLS traffic engineering tunnel;
When described gateway router received the data flow that described video encoder sends, the described corresponding relation of IP address search according to the destination device of described data flow obtained the mpls-te tunnel that sends described data flow.
4, method as claimed in claim 1 or 2 is characterized in that, when described tunnel control message was set up message for the MPLS traffic engineering tunnel, described gateway router received described video encoder before detecting the tunnel control message that sends when unusual, also comprised:
Described video encoder sends the path probe command of carrying destination device IP address, obtains the IP address of the gateway router under the described video encoder, the IP address of router under the described destination device according to described path probe command and described destination device IP address;
Gateway router under the described video encoder is described MPLS traffic engineering tunnel head node, and the router under the described destination device is described MPLS traffic engineering tunnel tail node.
5, the method for claim 1, it is characterized in that, when described tunnel control message is cancelled message for the MPLS traffic engineering tunnel, the tunnel control message that described gateway router sends according to described video encoder, the execution corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation comprises:
Described gateway router is cancelled the MPLS traffic engineering tunnel tail node IP address of carrying in the message according to the described tunnel of pre-configured parsing;
Described gateway router is cancelled described MPLS traffic engineering tunnel according to the described MPLS traffic engineering tunnel tail node IP address deletion configuration relevant with described mpls-te tunnel.
6, the method for claim 1, it is characterized in that, when described tunnel control message is MPLS traffic engineering tunnel bandwidth adjustment messages, the tunnel control message that described gateway router sends according to described video encoder, the execution corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation comprises:
Described gateway router is adjusted the tail node IP address, tunnel and the tunnel bandwidth of carrying in the message according to the described tunnel bandwidth of pre-configured parsing;
Described gateway router obtains corresponding M PLS traffic engineering tunnel according to tail node IP address, described tunnel, and adjusts the bandwidth of described MPLS traffic engineering tunnel according to described tunnel bandwidth.
7, a kind of gateway router is characterized in that, comprising:
The message sink unit is used to receive described video encoder and is detecting the tunnel control message that sends when unusual, and described tunnel control message is that message is set up in the tunnel or message is cancelled in the tunnel or tunnel bandwidth is adjusted message;
The tunnel operations unit, the tunnel control message that the described video encoder that is used for receiving according to described message sink unit sends carries out that corresponding tunnel is set up, cancel in the tunnel or tunnel bandwidth adjustment operation.
8, gateway router as claimed in claim 7 is characterized in that, described tunnel operations unit specifically is used for:
When described tunnel control message is set up message for the MPLS traffic engineering tunnel, set up MPLS traffic engineering tunnel head node IP address, MPLS traffic engineering tunnel tail node IP address and the tunnel bandwidth of carrying in the message according to the described tunnel of pre-configured parsing; According to described MPLS traffic engineering tunnel tail node IP address and tunnel bandwidth, obtain the IP address of next hop router, and issue the message of carrying described mpls-te tunnel tail node IP address and tunnel bandwidth to described next hop router, continue to send the message of carrying described MPLS traffic engineering tunnel tail node IP address and tunnel bandwidth by described next hop router, set up the MPLS traffic engineering tunnel between described gateway router and the described MPLS traffic engineering tunnel tail node;
When described tunnel control message is cancelled message for the MPLS traffic engineering tunnel, cancel the MPLS traffic engineering tunnel tail node IP address of carrying in the message according to the described tunnel of pre-configured parsing; According to deletion of described MPLS traffic engineering tunnel tail node IP address and the relevant configuration of described MPLS traffic engineering tunnel, cancel described MPLS traffic engineering tunnel;
When described tunnel control message is MPLS traffic engineering tunnel bandwidth adjustment messages, adjust the tail node IP address, tunnel and the tunnel bandwidth of carrying in the message according to the described tunnel bandwidth of pre-configured parsing; Obtain corresponding M PLS traffic engineering tunnel according to tail node IP address, described tunnel, and adjust the bandwidth of described MPLS traffic engineering tunnel according to described tunnel bandwidth.
9, as claim 7 or 8 described gateway routers, it is characterized in that, also comprise:
The corresponding relation unit is used to set up described video encoder and sends the IP address of destination device of data flow and the corresponding relation between the MPLS traffic engineering tunnel; And when described gateway router received the data flow that described video encoder sends, the described corresponding relation of IP address search according to the destination device of described data flow obtained the MPLS traffic engineering tunnel that sends described data flow.
10, a kind of video encoder is characterized in that, comprising:
The message construction unit is used to detect when unusual according to pre-configured structure tunnel control message, and described tunnel control message is that message is set up in the tunnel or message is cancelled in the tunnel or tunnel bandwidth is adjusted message;
Message sending unit is used for sending to gateway router the tunnel control message of described message construction cell formation.
11, video encoder as claimed in claim 10 is characterized in that, also comprises:
Address acquisition unit, be used to send the path probe command of carrying destination device IP address, obtain the IP address of the gateway router under the described video encoder, the IP address of router under the described destination device according to described path probe command and described destination device IP address.
CN 200910158022 2009-07-16 2009-07-16 Tunnel control method and device Expired - Fee Related CN101616052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910158022 CN101616052B (en) 2009-07-16 2009-07-16 Tunnel control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910158022 CN101616052B (en) 2009-07-16 2009-07-16 Tunnel control method and device

Publications (2)

Publication Number Publication Date
CN101616052A true CN101616052A (en) 2009-12-30
CN101616052B CN101616052B (en) 2012-11-28

Family

ID=41495475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910158022 Expired - Fee Related CN101616052B (en) 2009-07-16 2009-07-16 Tunnel control method and device

Country Status (1)

Country Link
CN (1) CN101616052B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104025606A (en) * 2012-12-28 2014-09-03 华为技术有限公司 Bandwidth parameter adjustment method, gateway and enforcement functional entity
WO2022166464A1 (en) * 2021-02-07 2022-08-11 华为技术有限公司 Packet transmission method and system, and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100866482B1 (en) * 2004-01-29 2008-11-03 삼성전자주식회사 Monitoring system and method for using the same
CN1558611A (en) * 2004-02-12 2004-12-29 上海交通大学 Administrative center based multiple spots interactive method for network video monitoring control

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104025606A (en) * 2012-12-28 2014-09-03 华为技术有限公司 Bandwidth parameter adjustment method, gateway and enforcement functional entity
WO2022166464A1 (en) * 2021-02-07 2022-08-11 华为技术有限公司 Packet transmission method and system, and device

Also Published As

Publication number Publication date
CN101616052B (en) 2012-11-28

Similar Documents

Publication Publication Date Title
CN102263697B (en) Method and device for sharing aggregated link traffic
CN100450039C (en) Fast convergence method and device of the end-to-end service
US9515919B2 (en) Method and apparatus for protection switching in packet transport system
CN101610535B (en) Method, system and device for ensuring BFD conversation stability on the scene of multilink direct connection
US8988982B2 (en) Method and apparatus for protection switching in point-to-multipoint network
CN101159669A (en) Service flow switching method and apparatus
CN101834794B (en) Method and device for forwarding message through backbone network
KR101688682B1 (en) Fast lsp alert mechanism
EP2254289B1 (en) Method, device, and system for establishing label switching path in fast rerouting switching
CN102281193A (en) Method and fiber channel (FC) equipment for realizing message forwarding in fiber channel network
CN102130829B (en) Method and device for establishing label switch paths (LSP)
CN109347674B (en) Data transmission method and device and electronic equipment
JP6055553B2 (en) Queue scheduling method, apparatus and system
CN101719868A (en) Method and device for loading LSP in TE tunnel
CN101616052B (en) Tunnel control method and device
CN101635671A (en) Method, system and equipment for accelerating multicast convergence
CN103238299B (en) Method, apparatus and system for establishment of label switching paths
CN102158399A (en) Method and system for realizing cross-board binding
CN102420766B (en) Routing determination method and routing device
US20160157000A1 (en) Method and apparatus for establishing trail network
CN101572695A (en) Method, system and device for switching transmission stream paths
JP2008211567A (en) Traffic route changing method and system
EP2728815B1 (en) Method and rbridge for avoiding esadi protocol packet storms
CN104753820A (en) Asymmetric forwarding method and device for service stream in aggregated link and switch
JP2005184234A (en) Packet transmission system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121128

Termination date: 20200716