CN102769540A - Method and equipment for managing overall labels - Google Patents

Method and equipment for managing overall labels Download PDF

Info

Publication number
CN102769540A
CN102769540A CN2012102328007A CN201210232800A CN102769540A CN 102769540 A CN102769540 A CN 102769540A CN 2012102328007 A CN2012102328007 A CN 2012102328007A CN 201210232800 A CN201210232800 A CN 201210232800A CN 102769540 A CN102769540 A CN 102769540A
Authority
CN
China
Prior art keywords
label
client device
lae
overall
fec
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
CN2012102328007A
Other languages
Chinese (zh)
Other versions
CN102769540B (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 CN201210232800.7A priority Critical patent/CN102769540B/en
Publication of CN102769540A publication Critical patent/CN102769540A/en
Application granted granted Critical
Publication of CN102769540B publication Critical patent/CN102769540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and equipment for managing overall labels, wherein through the application of the technical scheme of the method and the equipment for managing the overall labels, an LAE (Label Allocation Element) is set in a system to realize the allocation and management on the overall labels, so that each client device in the system is correspondingly processed and operated according to the uniform overall labels; and each client device can realize the allocation or release of the overall labels by transmitting a label allocation request or a label release request to the LAE. Therefore, the additional equipment complexity caused by that independent label management systems are needed to establish for each client device is prevented; the label dispatching of the whole system is unified; and the efficiency of the corresponding processing is improved.

Description

A kind of overall label management method and equipment
Technical field
The present invention relates to communication technical field, particularly a kind of overall label management method and equipment.
Background technology
Existing MPLS (Multi-Protocol Label Switching; Multiprotocol label switching) in the system; Label only has local meaning; Label represented what meaning, corresponding be which FEC (Forwarding Equivalence Classe, forwarding equivalence class), have only and distribute its equipment just to know.
This has just impelled the generation of tag distribution protocol, and the core of this quasi-protocol is exactly for FEC distributes a local label, and gives miscellaneous equipment its announcement, to form LSP (Label Switched Paths, label forwarding path).Common tag distribution protocol has LDP (Label Distribution Protocol; Tag distribution protocol), BGP (Border Gateway Protocol; Border Gateway Protocol), RSVP (Resource Reservation Protocol, RSVP) etc.
Scene commonly used is in IPv4 (Internet Protocol version 4, Internet protocol edition 4) network, sets up the LSP based on route, and this moment, the IPv4 route was exactly FEC.Therefore, in network,, make all network equipments all learn also need move tag distribution protocol LDP beyond the IPv4 route, could set up LSP based on label forwarding except moving Routing Protocol.
Sketch map as shown in Figure 1, as to set up for a kind of concrete IPv4 network LSP in the prior art.This is that a LDP agreement is carried out to route 10.6.0.1/32 distribution label and set up the process of LSP, does not comprise the process of Routing Protocol operation among this figure.
It is thus clear that each equipment all will be label of route 10.6.0.1/32 distribution, and the binding relationship of label and FEC is passed through the Label Mapping message upstream devices advertise of LDP.If upstream equipment has been learnt this route of 10.6.0.1/32 through Routing Protocol, will set up corresponding LSP.
For instance, for B equipment, it can receive the Label Mapping message of C equipment and D equipment, uses the outgoing label of which label as LSP, will see the situation of route 10.6.0.1/32.If this routing optimization is through the C device forwards, the form of LSP should be as shown in table 1 so:
Table 1 concrete LSP form
?InLable OutLabel NextHop
?100 150 C
If this routing optimization is through the D device forwards, the form of LSP should be as shown in table 2 so:
Table 2 concrete LSP form
?InLable OutLabel NextHop
?100 120 D
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
Because label only has local significance, so each equipment all needs a cover tag control system, increased the complex equipments degree.
Because label only has local significance, therefore need the individual tags distribution protocol to announce the binding relationship of local FEC and label.
In with the network of route as FEC, need being used of tag distribution protocol and Routing Protocol, increased equipment implementing complexity.
Because a FEC is on the different nodes of forward-path, the label of use is different, has caused protection to switch relatively difficulty of realization.
Summary of the invention
The present invention provides a kind of overall label management method and equipment, solves and only can use the operating process complicacy that local label brings, the problem of inconvenience management in the prior art.
For achieving the above object, one aspect of the present invention provides a kind of overall label management method, is applied to comprise in the system of label distribution unit LA E and a plurality of client devices, and said method may further comprise the steps at least:
When said LAE receives the label distribution request message that a client device sends through label distribution protocol LAP; And the identification information that comprises said client device in the said label distribution request message; The identification information of the application on the said client device, and during the information of corresponding forwarding equivalence class FEC, said LAE is that said FEC distributes overall label; And be carried in the label distribution response message, send to said client device;
When said LAE receives the label release request message that a client device sends; And said label discharges the identification information that comprises said client device in the request message; The identification information of the application on the said client device need to discharge the information of the FEC of overall label, and during overall label information to be discharged; Said LAE is that said FEC discharges corresponding overall label, and notifies said client device to discharge the result accordingly through label release response message;
Wherein, said LAE preserves the corresponding relation of the current overall label that distributes for all FEC, and the respectively corresponding relation of application in each FEC and each client device.
On the other hand, the present invention also provides a kind of LAE, is applied to comprise in the system of LAE and a plurality of client devices, and said LAE comprises at least:
Receiver module is used to receive label distribution request message or the label release request message that client device sends;
Distribution module; Be used for receiving the label distribution request message that a client device sends when said receiver module; And the identification information that comprises said client device in the said label distribution request message; The identification information of the application on the said client device, and during the information of corresponding FEC, for said FEC distributes overall label;
Memory module is used to preserve the corresponding relation of the current overall label that distributes for all FEC of said distribution module and corresponding relation of each application in each FEC and each client device;
Release module; Be used for receiving the label release request message that a client device sends when said receiver module; And said label discharges the identification information that comprises said client device in the request message, the identification information of the application on the said client device, and needs discharge the information of the FEC of overall label; And during to be discharged overall label information; For said FEC discharges corresponding overall label, and the said overall label of notifying said memory module deletion to be stored, and the corresponding relation of said overall label and said FEC;
Sending module; Being used in said distribution module is after said FEC distributes overall label; Said overall label is carried in the label distribution response message; Send to said client device, or after said release module is interpreted as said FEC and discharges corresponding overall label, discharge response message through label and notify said client device to discharge the result accordingly.
On the other hand, the present invention also provides a kind of overall label management method, is applied to comprise in the system of LAE and a plurality of client devices, and said method may further comprise the steps at least:
When client device need distribute overall label; Said client device sends the label distribution request message to said LAE; And the identification information that comprises said client device in the said label distribution request message; The identification information of the application on the said client device, and the information of corresponding forwarding equivalence class FEC, and receive the label distribution response message that comprises the overall label that is distributed that said LAE returns;
When client device need discharge overall label; Said client device sends label to said LAE and discharges request message; And said label discharges the identification information that comprises said client device in the request message, the identification information of the application on the said client device, and needs discharge the information of the FEC of overall label; And overall label information to be discharged, and receive the label release response message that comprises corresponding release result that said LAE returns.
On the other hand, the present invention also provides a kind of client device, is applied to comprise in the system of LAE and a plurality of client devices, and said client device comprises at least:
Sending module is used for when said client device need distribute overall label, sends the label distribution request message to said LAE; And the identification information that comprises said client device in the said label distribution request message, the identification information of the application on the said client device, and the information of corresponding forwarding equivalence class FEC; Or when client device need discharge overall label; Send label to said LAE and discharge request message, and said label discharges the identification information that comprises said client device in the request message, the identification information of the application on the said client device; The information that needs the FEC of the overall label of release, and overall label information to be discharged;
Receiver module is used to receive the label distribution response message that comprises the overall label that is distributed that said LAE returns, or receives the label release response message that comprises corresponding release result that said LAE returns.
Compared with prior art, technical scheme proposed by the invention has the following advantages:
Through using technical scheme of the present invention; Through distribution and the management that LAE realizes overall label is set in system; Make each client device in the system carry out corresponding process operations according to unified overall label, each client device can be realized the distribution or the release of overall label through send label distribution request message or label release request message to LAE; Thereby; Avoid each client device need set up the complex equipments degree that tag control system is independently increased respectively, unified system-wide label scheduling, improved the efficient of handled.
Description of drawings
Fig. 1 is the sketch map that IPv4 network LSP of the prior art sets up;
Fig. 2 is the schematic flow sheet of a kind of overall label management method proposed by the invention;
Fig. 3 is the schematic flow sheet of a kind of overall label management method proposed by the invention;
Fig. 4 is the LAP protocol stack sketch map under a kind of concrete application scenarios that the embodiment of the invention proposed;
Fig. 5 is the schematic flow sheet of the overall label management method under a kind of concrete application scenarios that the embodiment of the invention proposed;
Fig. 6 is the schematic flow sheet of the overall label management method under a kind of concrete application scenarios that the embodiment of the invention proposed;
Fig. 7 A and Fig. 7 B are respectively and use before a kind of overall label management method that the embodiment of the invention proposed and application scenarios sketch map afterwards;
Fig. 8 is the structural representation of a kind of LEA that the embodiment of the invention proposed;
Fig. 9 is the structural representation of a kind of client device that the embodiment of the invention proposed.
Embodiment
Of background technology; For existing tag control process, because label only has local significance, so each equipment all needs a cover tag control system; Increase the complex equipments degree, and needed the individual tags distribution protocol to announce the binding relationship of local FEC and label.
In with the network of route as FEC, need being used of tag distribution protocol and Routing Protocol, increased equipment implementing complexity.Because a FEC is on the different nodes of forward-path, the label of use is different, has caused protection to switch relatively difficulty of realization.
In order to solve such problem; The present invention proposes a kind of overall label distribution method; In the MPLS system, increase LAE (Label Allocation Element, label distribution unit), distribute overall label for each client device by it; Make a FEC on its forward-path, can use unique label, the complexity of simplified apparatus design and network operation.
As shown in Figure 2, be the schematic flow sheet of a kind of overall label management method proposed by the invention, this method is applied to comprise in the system of LAE and a plurality of client devices, specifically may further comprise the steps:
Step S201, said LAE receive the label distribution request message that a client device sends.
Wherein, comprise the identification information of said client device in the said label distribution request message, the identification information of the application on the said client device, and the information of corresponding forwarding equivalence class FEC.
Step S202, said LAE are that said FEC distributes overall label, and are carried in the label distribution response message, send to said client device.
Wherein, said LAE preserves the corresponding relation of the current overall label that distributes for all FEC, and the respectively corresponding relation of application in each FEC and each client device.
Step S203, said LAE receive the label release request message that a client device sends.
Wherein, said label discharges the identification information that comprises said client device in the request message, the identification information of the application on the said client device, and needs discharge the information of the FEC of overall label, and overall label information to be discharged.
Step S204, said LAE are that said FEC discharges corresponding overall label, and notify said client device to discharge the result accordingly through label release response message.
Need to prove that said process is distribution and the dispose procedure of LAE to overall label, in concrete processing scene, client device can directly carry out the inquiry of overall label information to LAE, and corresponding processing procedure is following:
When said LAE receives the searching label request message that a client device sends; And the identification information that comprises said client device in the said searching label request message; During the identification information of the application on the said client device; All overall label informations that said LAE inquiry is distributed for pairing each FEC of said application, and be carried in the searching label response message, send to said client device.
Wherein, comprise the end identification information in the said searching label response message, be used for identifying current searching label response message and whether be included as all overall label informations that pairing each FEC of said application is distributed.
Further, be in state of activation in order to ensure the corresponding relation of LAE in the system and client device, the protection mechanism below the embodiment of the invention has further been introduced is so that guarantee the validity of overall label.
Said LAE is mutual through the keep-alive message respectively, carries out the keep-alive checking with each client device in the said system.
When said LAE confirmed that a client device no longer is present in the said system, said LAE was released to all the application whole overall labels that pairing each FEC distributed on the said client device.
Corresponding, in client device side, need carry out corresponding message and send and receive, thereby obtain or discharge corresponding overall label.
As shown in Figure 3, be the schematic flow sheet of a kind of overall label management method proposed by the invention, this method is applied to comprise in the system of LAE and a plurality of client devices, specifically may further comprise the steps:
Step S301, client device are confirmed the current overall label that needs to distribute.
Step S302, said client device send the label distribution request message to said LAE.
Wherein, comprise the identification information of said client device in the said label distribution request message, the identification information of the application on the said client device, and the information of corresponding forwarding equivalence class FEC.
Step S303, client device receive the label distribution response message that comprises the overall label that is distributed that said LAE returns.
After this step was accomplished, client device comprised following dual mode to the further processing procedure of overall label:
Mode one, when adopting initiating equipment to distribute the label distribution rule of overall label in said system; Said client device is used said overall label in this locality; And upstream each client device sends the message of carrying said overall label, and hop-by-hop reports said overall label.
Mode two, when adopting other equipment queries to obtain the label distribution rule of overall label in said system; Said client device is used said overall label in this locality; And upstream each client device sends a notification message, and inquires about corresponding overall label with each client device that triggers the upper reaches to said LAE.
In practical application, specifically adopt which kind of mode to set according to the needs of reality, such variation can't influence protection scope of the present invention.
Step S304, client device are confirmed the current overall label that needs to discharge.
Step S305, said client device send label to said LAE and discharge request message.
Wherein, said label discharges the identification information that comprises said client device in the request message, the identification information of the application on the said client device, and needs discharge the information of the FEC of overall label, and overall label information to be discharged.
Step S306, client device receive the label release response message that comprises corresponding release result that said LAE returns.
Need to prove that said process is a client device to the obtaining and dispose procedure of overall label, in concrete processing scene, client device can directly carry out the inquiry of overall label information to LAE, and corresponding processing procedure is following:
When client device is accomplished GR (Graceful Restart; Smooth restarting); Or when receiving the notification message that client device sent (being corresponding aforesaid mode two) in downstream; Said client device sends the searching label request message to said LAE; And the identification information that comprises said client device in the said searching label request message, the identification information of the application on the said client device, and the searching label response message that is included as all overall label informations that pairing each FEC of said application distributed that receives that said LAE returns.
Wherein, comprise the end identification information in the said searching label response message, be used for identifying current searching label response message and whether be included as all overall label informations that pairing each FEC of said application is distributed.
Further, be in state of activation in order to ensure the corresponding relation of LAE in the system and client device, the protection mechanism below the embodiment of the invention has further been introduced is so that guarantee the validity of overall label.
Each client device is mutual through the keep-alive message respectively, carries out the keep-alive checking with said LAE;
When said client device confirmed that said LAE no longer is present in the said system, said client device was notified self corresponding each application, the whole overall label of stopping using said LAE to distribute.
In order to realize the compatibility of local label and overall label; In concrete processing procedure; When if said client device need send the message that carries local label and overall label simultaneously, said client is added overall tag identifier in said message, and if carry local label and overall label simultaneously in the received message of said client device; Also comprise overall tag identifier in the said message; Thereby, come mark overall situation label through overall tag identifier, thereby dissimilar labels distinguished.
Compared with prior art, technical scheme proposed by the invention has the following advantages:
Through using technical scheme of the present invention; Through distribution and the management that LAE realizes overall label is set in system; Make each client device in the system carry out corresponding process operations according to unified overall label, each client device can be realized the distribution or the release of overall label through send label distribution request message or label release request message to LAE; Thereby; Avoid each client device need set up the complex equipments degree that tag control system is independently increased respectively, unified system-wide label scheduling, improved the efficient of handled.
In order further to set forth technological thought of the present invention, combine concrete application scenarios at present, technical scheme of the present invention is described.
The embodiment of the invention provides a kind of method of carrying out label distribution and release in the MPLS system, through preset management attaching relation in FEC equipment, realizes the transmission of corresponding tag processes message and receive handling.
Based on such method, need set up an overall label distribution unit (LAE) in the network, the function of label distribution is provided.LAE can provide on separate server, also can provide on certain equipment in network, as long as all equipment can have access to LAE in the network.
All equipment, distributing labels if desired, all need pass through label distribution protocol (LAP) and LAE mutual, distribute and discharge label.Therefore, the address that need all need dispose LAE on the equipment, mutual to make things convenient for LAP.
LAE plant maintenance overall situation Label space comes the Management label space according to the request of each equipment.And the equipment of initiating label distribution, promptly the client device of LAE all needs unique Router ID, is used for each client device of LAE sign.
In concrete application scenarios, LAE carries out overall label distribution, makes a FEC on its forward-path, can use unique label; Make things convenient for transfer of data on the one hand, reduced the processing complexity that a large amount of local label of handled logical process is brought, on the other hand; Not only use identical overall label to save a large amount of label resources through each node on the forward-path of same FEC; And, can carry out the release of overall label, thereby realize the recycle of label resources; Solved the limited problem of overall label resources, the global administration of LAE also can repeat or conflict by the effective and efficient manner label.
And be the mode of overall label distribution foundation with FEC; Avoid LAE to discern the complex process of confirming that label distribution scope (network range of promptly above-mentioned " overall situation " representative) is brought, effectively raise the efficient that LAE distributes overall label through carrying out node one by one.
As shown in Figure 4, be LAP protocol stack sketch map, a LAE can pass through the LAP protocol stack, for a plurality of clients provide overall tag control service; And on client device, a plurality of application distributing labels simultaneously can be arranged also, for example TE uses, L2VPN uses, L3VPN uses etc.
When equipment needs distributing labels, need send LAR (Label Allocation Request, label distribution request message) to LAE, this message mainly comprises following content:
Client Router ID;
The application ID of client;
FEC information.
If LAE distributes successfully, then respond LAA (Label Allocation Ack, label distribution response message), this message mainly comprises following content:
Client Router ID;
The application ID of client;
FEC information;
Label/Label?Range。
When equipment need discharge label, need send LFR (Label Free Request, label discharges request message) to LAE, this message mainly comprises following content:
Client Router ID;
The application ID of client;
FEC information;
Label/Label?Range。
If LAE discharges successfully, then respond LFA (Label Free Ack, label discharges response message), this message mainly comprises following content:
Client Router ID;
The application ID of client;
FEC information;
Label/Label?Range。
LAP need support label distribution and release function in batches.If LAE does not reply, then client LAP should resend corresponding request message.
Need keepalive mechanism between LAE and its client, to confirm whether the other side exists.The LAP protocol stack can detect through regularly sending KA (Keep Alive, keep-alive) message.
For LAE, do not existed if confirm certain client, can its distributed labels all be regained so; For client,, just need the notification applications module should not re-use and issue the label that is assigned to if confirm that LAE has not existed.
The equipment of distributing labels, promptly certain on the client of LAE is used, and makes to restart.In order to realize GR, LAP should be able to support client application after restarting, and inquiring about its all labels that distributed is its corresponding FEC.Like this, the application on the client just can be used original label to continue to transmit after restarting, and can not cause flow interrupt.
After client application is restarted; To its all labels that distributed of local LAP protocol stack requesting query is its corresponding FEC; This moment, the LAP protocol stack will send GRR (Graceful Restart Request to LAE; Be all FEC and corresponding label information of request behind the GR) message, its main contents are following:
Client Router ID;
The application ID of client.
After LAE receives this message; Will pass through GRA (Graceful Restart Request; Being LAE responds all FEC and corresponding label information to client) message responds all labels and the corresponding FEC information that this client, this user are distributed, and its main contents are following:
Client Router ID;
The application ID of client;
Whether finish;
FEC1 information;
Label1/Label?Range1;
...
FECn information;
Labeln/Label?Rangen。
Thus it is clear that, can comprise a plurality of labels and FEC information in the GRA message; If a message can't send all information, can also send through a plurality of messages, " whether finishing " field of last message is set to " very ", and all information is all inquired about and has been finished.
Consider that possibly have the common situation about existing of overall label and local label on the network exists, therefore need can be compatible on MPLS message encapsulation format.
In order to realize this purpose, use special tag, the label that identifies thereafter is overall label, this special tag is referred to as GLI (Global Label Identifier, overall label identifier).This label can be a Hold sticker, and for example label 10.
The encapsulation format of an overall label packet:
?Link?Header GLI Global?Label Payload
Multilayer labels all is the encapsulation format of overall label:
?Link?Header GLI Global?Label GLI Global?Label Payload
Local label and the simultaneous encapsulation format of overall label:
?Link?Header Local?Label GLI Global?Label Payload
Certainly, overall Label space has only the label of 1M can be used for distributing, if not enoughly can use a plurality of GLI, identifies a plurality of overall Label space.
This method need be revised existing signaling protocol, and is specifically as shown in Figure 5.
With the RSVP signaling protocol for example, as shown in Figure 5, use the LSP of LSR1 of RSVP signaling protocol suggestion to LSR6.
During the operation of original RSVP signaling protocol, when sending Resv message, each equipment all can be for LSP distributes local label, and gives the upper reaches with its announcement.
After having used overall Label space; Just distribute overall label by the tail node (LSR6) of LSP; Through the Resv message this overall label hop-by-hop is upstream announced then; Upstream equipment just need not reallocated label, but directly uses the label that carries in the Resv message of downstream, and this label is continued notice upstream.Therefore need to revise the form of Resv message, explain that the current label that carries is overall label.
Each application of suggestion uses this kind mode to realize that concrete enforcement scene is as shown in Figure 6, and this implementation method is not transmitted overall label in signaling protocol, but miscellaneous equipment goes inquiry.Still give an example with RSVP, tail node LSR6 distributes overall label to LAE by the tunnel, upstream sends the Resv message after the distribution, does not have overall label in this message, but after upstream equipment received Resv message, corresponding overall label got final product to this tunnel of LAE inquiry.
Shown in Fig. 7 A, common multicast L2VPN is on PE1, just the L2VPN flux of multicast to be duplicated to get into two PW; Be transmitted to the recipient then; This just means has two parts of multicast data flows on the link between PE1 and the P, and can not on the place nearest apart from the recipient (P equipment), duplicate, and this is because the label of PW is local the distribution; Be that the label of PW1 and the label of PE2 are different, promptly encapsulation is different with the L2VPN multicast message of PE3 from PE1 to PE2.
Yet, shown in Fig. 7 B, had after the overall label; This problem has just solved; Be that PW1 can distribute identical label with PW2, so just can accomplish that from PE1 to PE2 the L2VPN multicast message with PE3 is duplicate, so just can on P equipment, duplicate.Certainly the L2VPN multicast message need rely on the LSP forwarding of a P2MP to duplicate.
Compared with prior art, technical scheme proposed by the invention has the following advantages:
Through using technical scheme of the present invention; Through distribution and the management that LAE realizes overall label is set in system; Make each client device in the system carry out corresponding process operations according to unified overall label, each client device can be realized the distribution or the release of overall label through send label distribution request message or label release request message to LAE; Thereby; Avoid each client device need set up the complex equipments degree that tag control system is independently increased respectively, unified system-wide label scheduling, improved the efficient of handled.
In order to realize technical scheme of the present invention, the invention allows for a kind of LAE, be applied to comprise in the system of LAE and a plurality of client devices, shown in its structural representation Fig. 8.
Receiver module 81 is used to receive label distribution request message or the label release request message that client device sends;
Distribution module 82; Be used for receiving the label distribution request message that a client device sends when said receiver module 81; And the identification information that comprises said client device in the said label distribution request message; The identification information of the application on the said client device, and during the information of corresponding FEC, for said FEC distributes overall label;
Memory module 83 is used to preserve the corresponding relation of the current overall label that distributes for all FEC of said distribution module 82 and corresponding relation of each application in each FEC and each client device;
Release module 84; Be used for receiving the label release request message that a client device sends when said receiver module 81; And said label discharges the identification information that comprises said client device in the request message, the identification information of the application on the said client device, and needs discharge the information of the FEC of overall label; And during to be discharged overall label information; For said FEC discharges corresponding overall label, and the said overall label of notifying said memory module 83 deletions to be stored, and the corresponding relation of said overall label and said FEC;
Sending module 85; Be used for after said distribution module 82 is distributed overall label for said FEC; Said overall label is carried in the label distribution response message; Send to said client device, or after said release module 84 is interpreted as said FEC and discharges corresponding overall label, discharge response message through label and notify said client device to discharge the result accordingly.
Further,
Said receiver module 81 also is used to receive the searching label request that client device sends;
Said sending module 85; Also be used for receiving the searching label request message that a client device sends when said receiver module 81; And when the identification information that comprises said client device in the said searching label request message, the identification information of the application on the said client device, to current all the overall label informations that distributed for pairing each FEC of said application of said memory module 83 inquiries; And be carried in the searching label response message, send to said client device;
Wherein, comprise the end identification information in the said searching label response message, be used for identifying current searching label response message and whether be included as all overall label informations that pairing each FEC of said application is distributed.
Concrete,
Said receiver module 81 also is used to receive the keep-alive message that each client device sends, or the keep-alive response message;
Said sending module 85 also is used for sending the keep-alive message to each client device, or after said receiver module receives the keep-alive message, sends the keep-alive response message to corresponding client device;
Said release module 84; Also be used in time not receiving the pairing keep-alive response message of keep-alive message that said sending module 85 is sent at said receiver module; And when confirming that corresponding client device no longer is present in the said system; All that are released on the said client device are used the whole overall label that pairing each FEC distributed, and the said overall label of notifying said memory module 83 deletions to be stored, and the corresponding relation of said overall label and said FEC.
On the other hand, the embodiment of the invention also provides a kind of client device, is applied to comprise in the system of LAE and a plurality of client devices, and its structural representation is as shown in Figure 9, specifically comprises:
Sending module 91 is used for when said client device need distribute overall label, sends the label distribution request message to said LAE; And the identification information that comprises said client device in the said label distribution request message, the identification information of the application on the said client device, and the information of corresponding forwarding equivalence class FEC; Or when client device need discharge overall label; Send label to said LAE and discharge request message, and said label discharges the identification information that comprises said client device in the request message, the identification information of the application on the said client device; The information that needs the FEC of the overall label of release, and overall label information to be discharged;
Receiver module 92 is used to receive the label distribution response message that comprises the overall label that is distributed that said LAE returns, or receives the label release response message that comprises corresponding release result that said LAE returns.
Further,
Said sending module 91; Also be used for accomplishing GR when said client device; Or said receiver module 92 is when receiving the notification message that client device sent in downstream; Send the searching label request message to said LAE, and comprise the identification information of said client device, the identification information of the application on the said client device in the said searching label request message;
Said receiver module 92 is used to also to receive that said LAE returns is included as the searching label response message of all overall label informations that pairing each FEC of said application distributed;
Wherein, comprise the end identification information in the said searching label response message, be used for identifying current searching label response message and whether be included as all overall label informations that pairing each FEC of said application is distributed.
In practical application, this client device also comprises notification module 93:
Said receiver module 92 also is used to receive the keep-alive message that said LAE sends, or the keep-alive response message;
Said sending module 91 also is used for sending the keep-alive message to said LAE, or after said receiver module 92 receives the keep-alive message, sends the keep-alive response message to said LAE;
Said notification module 93; Be used in time not receiving the pairing keep-alive response message of keep-alive message that said sending module 91 is sent at said receiver module 92; And when confirming that said LAE no longer is present in the said system; Notify said client device corresponding each application, the whole overall label of stopping using said LAE to distribute.
Compared with prior art, technical scheme proposed by the invention has the following advantages:
Through using technical scheme of the present invention; Through distribution and the management that LAE realizes overall label is set in system; Make each client device in the system carry out corresponding process operations according to unified overall label, each client device can be realized the distribution or the release of overall label through send label distribution request message or label release request message to LAE; Thereby; Avoid each client device need set up the complex equipments degree that tag control system is independently increased respectively, unified system-wide label scheduling, improved the efficient of handled.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through 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 be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, 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.) each implements the described method of scene to carry out the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is a preferred sketch map of implementing scene, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device of implementing in the scene can be distributed in the device of implementing scene according to implementing scene description, also can carry out respective change and be arranged in the one or more devices that are different from this enforcement scene.The module of above-mentioned enforcement scene can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of implementing scene just to description.
More than disclosedly be merely several practical implementation scene 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 (14)

1. an overall label management method is characterized in that, is applied to comprise in the system of label distribution unit LA E and a plurality of client devices, and said method may further comprise the steps at least:
When said LAE receives the label distribution request message that a client device sends; And the identification information that comprises said client device in the said label distribution request message; The identification information of the application on the said client device, and during the information of corresponding forwarding equivalence class FEC, said LAE is that said FEC distributes overall label; And be carried in the label distribution response message, send to said client device;
When said LAE receives the label release request message that a client device sends; And said label discharges the identification information that comprises said client device in the request message; The identification information of the application on the said client device need to discharge the information of the FEC of overall label, and during overall label information to be discharged; Said LAE is that said FEC discharges corresponding overall label, and notifies said client device to discharge the result accordingly through label release response message;
Wherein, said LAE preserves the corresponding relation of the current overall label that distributes for all FEC, and the respectively corresponding relation of application in each FEC and each client device.
2. the method for claim 1 is characterized in that, also comprises:
When said LAE receives the searching label request message that a client device sends; And the identification information that comprises said client device in the said searching label request message; During the identification information of the application on the said client device; All overall label informations that said LAE inquiry is distributed for pairing each FEC of said application, and be carried in the searching label response message, send to said client device;
Wherein, comprise the end identification information in the said searching label response message, be used for identifying current searching label response message and whether be included as all overall label informations that pairing each FEC of said application is distributed.
3. according to claim 1 or claim 2 method is characterized in that, also comprises:
Said LAE is mutual through the keep-alive message respectively, carries out the keep-alive checking with each client device in the said system;
When said LAE confirmed that a client device no longer is present in the said system, said LAE was released to all the application whole overall labels that pairing each FEC distributed on the said client device.
4. a LAE is characterized in that, is applied to comprise in the system of LAE and a plurality of client devices, and said LAE comprises at least:
Receiver module is used to receive label distribution request message or the label release request message that client device sends;
Distribution module; Be used for receiving the label distribution request message that a client device sends when said receiver module; And the identification information that comprises said client device in the said label distribution request message; The identification information of the application on the said client device, and during the information of corresponding FEC, for said FEC distributes overall label;
Memory module is used to preserve the corresponding relation of the current overall label that distributes for all FEC of said distribution module and corresponding relation of each application in each FEC and each client device;
Release module; Be used for receiving the label release request message that a client device sends when said receiver module; And said label discharges the identification information that comprises said client device in the request message, the identification information of the application on the said client device, and needs discharge the information of the FEC of overall label; And during to be discharged overall label information; For said FEC discharges corresponding overall label, and the said overall label of notifying said memory module deletion to be stored, and the corresponding relation of said overall label and said FEC;
Sending module; Being used in said distribution module is after said FEC distributes overall label; Said overall label is carried in the label distribution response message; Send to said client device, or after said release module is interpreted as said FEC and discharges corresponding overall label, discharge response message through label and notify said client device to discharge the result accordingly.
5. LAE as claimed in claim 4 is characterized in that,
Said receiver module also is used to receive the searching label request that client device sends;
Said sending module; Also be used for receiving the searching label request message that a client device sends when said receiver module; And when the identification information that comprises said client device in the said searching label request message, the identification information of the application on the said client device, to current all the overall label informations that distributed for pairing each FEC of said application of said memory module inquiry; And be carried in the searching label response message, send to said client device;
Wherein, comprise the end identification information in the said searching label response message, be used for identifying current searching label response message and whether be included as all overall label informations that pairing each FEC of said application is distributed.
6. like claim 4 or 5 described LAE, it is characterized in that,
Said receiver module also is used to receive the keep-alive message that each client device sends, or the keep-alive response message;
Said sending module also is used for sending the keep-alive message to each client device, or after said receiver module receives the keep-alive message, sends the keep-alive response message to corresponding client device;
Said release module; Also be used for the pairing keep-alive response message of keep-alive message that in time do not receive said sending module and sent at said receiver module; And when confirming that corresponding client device no longer is present in the said system; All that are released on the said client device are used the whole overall label that pairing each FEC distributed, and the said overall label of notifying said memory module deletion to be stored, and the corresponding relation of said overall label and said FEC.
7. an overall label management method is characterized in that, is applied to comprise in the system of LAE and a plurality of client devices, and said method may further comprise the steps at least:
When client device need distribute overall label; Said client device sends the label distribution request message to said LAE; And the identification information that comprises said client device in the said label distribution request message; The identification information of the application on the said client device, and the information of corresponding forwarding equivalence class FEC, and receive the label distribution response message that comprises the overall label that is distributed that said LAE returns;
When client device need discharge overall label; Said client device sends label to said LAE and discharges request message; And said label discharges the identification information that comprises said client device in the request message, the identification information of the application on the said client device, and needs discharge the information of the FEC of overall label; And overall label information to be discharged, and receive the label release response message that comprises corresponding release result that said LAE returns.
8. method as claimed in claim 7 is characterized in that, said client device receives after the label distribution response message that comprises the overall label that is distributed that said LAE returns, and also comprises:
When said system adopted initiating equipment to distribute the label distribution rule of overall label, said client device was used said overall label in this locality, and upstream each client device sends the message of carrying said overall label, and hop-by-hop reports said overall label; Or,
When said system adopts other equipment queries to obtain the label distribution rule of overall label; Said client device is used said overall label in this locality; And upstream each client device sends a notification message, and inquires about corresponding overall label with each client device that triggers the upper reaches to said LAE.
9. method as claimed in claim 8 is characterized in that, also comprises:
When client device is accomplished smooth restarting GR; Or when receiving the notification message that client device sent in downstream; Said client device sends the searching label request message to said LAE; And the identification information that comprises said client device in the said searching label request message, the identification information of the application on the said client device, and the searching label response message that is included as all overall label informations that pairing each FEC of said application distributed that receives that said LAE returns;
Wherein, comprise the end identification information in the said searching label response message, be used for identifying current searching label response message and whether be included as all overall label informations that pairing each FEC of said application is distributed.
10. like any described method in the claim 7 to 9, it is characterized in that, also comprise:
Each client device is mutual through the keep-alive message respectively, carries out the keep-alive checking with said LAE;
When said client device confirmed that said LAE no longer is present in the said system, said client device was notified self corresponding each application, the whole overall label of stopping using said LAE to distribute.
11. like any described method in the claim 7 to 9, it is characterized in that,
When said client device need send the message that carries local label and overall label simultaneously, said client was added overall tag identifier in said message;
When carrying local label and overall label simultaneously in the received message of said client device, also comprise overall tag identifier in the said message.
12. a client device is characterized in that, is applied to comprise in the system of LAE and a plurality of client devices, said client device comprises at least:
Sending module is used for when said client device need distribute overall label, sends the label distribution request message to said LAE; And the identification information that comprises said client device in the said label distribution request message, the identification information of the application on the said client device, and the information of corresponding forwarding equivalence class FEC; Or when client device need discharge overall label; Send label to said LAE and discharge request message, and said label discharges the identification information that comprises said client device in the request message, the identification information of the application on the said client device; The information that needs the FEC of the overall label of release, and overall label information to be discharged;
Receiver module is used to receive the label distribution response message that comprises the overall label that is distributed that said LAE returns, or receives the label release response message that comprises corresponding release result that said LAE returns.
13. client device as claimed in claim 12 is characterized in that,
Said sending module; Also be used for accomplishing GR when said client device; Or said receiver module is when receiving the notification message that client device sent in downstream; Send the searching label request message to said LAE, and comprise the identification information of said client device, the identification information of the application on the said client device in the said searching label request message;
Said receiver module is used to also to receive that said LAE returns is included as the searching label response message of all overall label informations that pairing each FEC of said application distributed;
Wherein, comprise the end identification information in the said searching label response message, be used for identifying current searching label response message and whether be included as all overall label informations that pairing each FEC of said application is distributed.
14. like claim 12 or 13 described client devices, it is characterized in that, also comprise notification module:
Said receiver module also is used to receive the keep-alive message that said LAE sends, or the keep-alive response message;
Said sending module also is used for sending the keep-alive message to said LAE, or after said receiver module receives the keep-alive message, sends the keep-alive response message to said LAE;
Said notification module; Be used for the pairing keep-alive response message of keep-alive message that in time do not receive said sending module and sent at said receiver module; And when confirming that said LAE no longer is present in the said system; Notify said client device corresponding each application, the whole overall label of stopping using said LAE to distribute.
CN201210232800.7A 2012-07-06 2012-07-06 A kind of overall label management method and equipment Active CN102769540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210232800.7A CN102769540B (en) 2012-07-06 2012-07-06 A kind of overall label management method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210232800.7A CN102769540B (en) 2012-07-06 2012-07-06 A kind of overall label management method and equipment

Publications (2)

Publication Number Publication Date
CN102769540A true CN102769540A (en) 2012-11-07
CN102769540B CN102769540B (en) 2015-12-16

Family

ID=47096799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210232800.7A Active CN102769540B (en) 2012-07-06 2012-07-06 A kind of overall label management method and equipment

Country Status (1)

Country Link
CN (1) CN102769540B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243362A (en) * 2013-06-24 2014-12-24 杭州华三通信技术有限公司 Message forwarding method and device
WO2017045561A1 (en) * 2015-09-16 2017-03-23 华为技术有限公司 Method for allocating global label, method for acquiring global label and related device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043464A (en) * 2006-06-09 2007-09-26 华为技术有限公司 Method and system for solving label interference

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043464A (en) * 2006-06-09 2007-09-26 华为技术有限公司 Method and system for solving label interference

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243362A (en) * 2013-06-24 2014-12-24 杭州华三通信技术有限公司 Message forwarding method and device
CN104243362B (en) * 2013-06-24 2018-07-20 新华三技术有限公司 A kind of message forwarding method and device
WO2017045561A1 (en) * 2015-09-16 2017-03-23 华为技术有限公司 Method for allocating global label, method for acquiring global label and related device

Also Published As

Publication number Publication date
CN102769540B (en) 2015-12-16

Similar Documents

Publication Publication Date Title
US11563669B2 (en) Method for implementing network virtualization and related apparatus and communications system
US7787380B1 (en) Resource reservation protocol with traffic engineering point to multi-point label switched path hierarchy
US7839862B1 (en) Upstream label assignment for the label distribution protocol
WO2018068588A1 (en) Method and software-defined networking (sdn) controller for providing multicast service
WO2017045561A1 (en) Method for allocating global label, method for acquiring global label and related device
CN104065553B (en) Virtual network moving method and relevant device
CN112511427B (en) Segment routing service processing method and device, routing equipment and storage medium
US10666562B2 (en) Network path computation method, apparatus, and system
US9191312B2 (en) Method and system for implementing PW control bit capability negotiation
EP2648382A1 (en) Method, device and system for establishing lsp
CN103986654A (en) LSP generating method and device
CN102025632A (en) Label distribution method and system for data packets in MPLS network
CN102447611A (en) Method and system for establishing bidirectional point-to-multipoint label switched path as well as method and system for removing bidirectional point-to-multipoint label switched path
CN101453414B (en) Head node protection method, system and equipment for point to multiple points label switch path
CN102769540A (en) Method and equipment for managing overall labels
CN102244615B (en) Forwarding entry sending method, device and system as well as autonomous system border router
CN102769571A (en) Graceful restart realization method and equipment
CN101414979B (en) Method for processing label distribution message and label exchange router
CN108123871B (en) Equivalent multipath ECMP processing method and device
JP4455521B2 (en) Multicast MPLS network construction method, multicast MPLS network system, router and program
US8995304B2 (en) Enhanced upstream label assignment (ULA) mechanism for point to multi-point (P2MP) and/or multi-point to multi-point (MP2MP) facility protection
CN102170391A (en) Associated bidirectional label switched path creation method and system
CN101075842B (en) Method for transmitting multi cast data in shared network
EP3313029B1 (en) Label processing method and apparatus, and routing information delivery method and apparatus
CN102724109A (en) Flow forwarding method and equipment

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

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.

CP03 Change of name, title or address