CN103685019A - Label distribution method and device - Google Patents

Label distribution method and device Download PDF

Info

Publication number
CN103685019A
CN103685019A CN201310659531.7A CN201310659531A CN103685019A CN 103685019 A CN103685019 A CN 103685019A CN 201310659531 A CN201310659531 A CN 201310659531A CN 103685019 A CN103685019 A CN 103685019A
Authority
CN
China
Prior art keywords
label
network equipment
customer premises
message
key side
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
CN201310659531.7A
Other languages
Chinese (zh)
Other versions
CN103685019B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201310659531.7A priority Critical patent/CN103685019B/en
Publication of CN103685019A publication Critical patent/CN103685019A/en
Application granted granted Critical
Publication of CN103685019B publication Critical patent/CN103685019B/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 label distribution method and device. The label distribution method comprises the steps that user-side network devices send label block request messages to backbone-side network devices and receive label block response messages returned by the backbone-side network devices, wherein each label block response message carries an available label range selected by the corresponding backbone-side network device; the user-side network devices determine labels used by the user-side network devices according to the available label range selected by the backbone-side network devices; the user-side network devices send label determining messages to the backbone-side network devices, wherein each label determining message carries a label used by the corresponding user-side network device. According to the label distribution method and device, the backbone-side network devices can distribute the same labels to the user-side network devices, and therefore the requirement of rapid switching is met, switching time is shortened, users can have a better business experience feeling, and service quality of the operator network is improved.

Description

A kind of label distribution method and equipment
Technical field
The present invention relates to communication technical field, relate in particular to a kind of label distribution method and equipment.
Background technology
In order to improve the reliability of business; link between Customer Premises Network equipment and the key side network equipment can form main/slave link conventionally; as: L3VPN(L3Virtual Private Network; three layer virtual private network) the VPN FRR(Fast ReRoute in; quick heavy-route) networking; PW(Pseudo Wire in L2VPN; pseudo-line) networking; LDP(Label Distribution Protocol in L2VPN; label distribution protocol), all can there is main/slave link in these networks in FRR networking etc.As shown in Figure 1, for the PW networking schematic diagram in L2VPN, Customer Premises Network equipment is UPE(User Provider Edge, user's service provider network edge) equipment, the key side network equipment is NPE(Network Provider Edge, Internet Service Provider's network edge) equipment, the PW2 between the PW1 between user-end provider edge and NPE equipment 1 and user-end provider edge and NPE equipment 2 forms active and standby PW, if PW1 is main PW, PW2 is standby PW.
In prior art, each NPE equipment need to be user-end provider edge distributing labels, and this label is prefix label, and prefix label is for making user-end provider edge to send message based on PW corresponding to prefix label.Wherein, each NPE equipment is that the label that user-end provider edge distributes refers to: length is fixed, and has the identifier of local significance, and this label is for the FEC(Forward Equivalence Class of unique identification message, forwarding equivalence class).
Wherein, after setting up PW1 between NPE equipment 1 and user-end provider edge, NPE equipment 1 can be that user-end provider edge distributing labels 1(as selected arbitrarily a label 1 from local available label based on self strategy), and record the corresponding relation between PW1 and label 1; Same, after setting up PW2 between NPE equipment 2 and user-end provider edge, NPE equipment 2 can be that user-end provider edge distributing labels 2(as selected arbitrarily a label 2 from local available label based on self strategy), and record the corresponding relation between PW2 and label 2.
Further, user-end provider edge is being received by PW1 after label 1, can in forwarding-table item, record the corresponding relation between PW1 and label 1, and when user-end provider edge carries the message of label 1 in transmission, can be by the label that records in label 1 inquiry forwarding-table item and the corresponding relation of PW, then obtaining PW is PW1, and now user-end provider edge will send the message that carries label 1 by PW1.User-end provider edge is being received by PW2 after label 2, can in forwarding-table item, record the corresponding relation between PW2 and label 2, and when user-end provider edge carries the message of label 2 in transmission, can be by the label that records in label 2 inquiry forwarding-table items and the corresponding relation of PW, then obtaining PW is PW2, and now user-end provider edge will send the message that carries label 2 by PW2.
Under aforesaid way, when main PW breaks down, user-end provider edge need to be switched to standby PW by the message of the upper transmission of main PW, thereby realize fast, switches.But in handoff procedure, user-end provider edge also needs to upgrade the label that records in forwarding-table item and the corresponding relation between PW, conventionally can be long and upgrade time of forwarding-table item, thus cause meeting the demand of quick switching.In like manner; when standby PW breaks down; user-end provider edge need to be switched to main PW by the message of the upper transmission of standby PW; in handoff procedure; user-end provider edge also needs to upgrade the label that records in forwarding-table item and the corresponding relation between PW; and the time of upgrading forwarding-table item conventionally can be long, thereby cause meeting the demand of quick switching.
Summary of the invention
The embodiment of the present invention provides a kind of label distribution method and equipment, when primary link breaks down, avoids label to switch, fast the message on primary link is switched on standby link.When standby link breaks down, avoid label to switch, fast the message on standby link is switched on primary link.
In order to achieve the above object, the embodiment of the present invention provides a kind of label distribution method, the method is applied to comprise in the network of Customer Premises Network equipment and a plurality of key side network equipments, the link of described Customer Premises Network equipment respectively and between described a plurality of key side network equipment forms main/slave link, and described method comprises:
Described Customer Premises Network equipment sends tag block request message to described a plurality of key side network equipments respectively, and described tag block request message is used for asking the key side network equipment to choose available label scope from specific label section;
Described Customer Premises Network equipment receives respectively the tag block response message that described a plurality of key side network equipment returns, and has carried the available label scope that the key side network equipment is chosen in described tag block response message;
The available label scope that described in described Customer Premises Network equipment utilization, a plurality of key side network equipments are chosen is respectively determined the label that described Customer Premises Network equipment is used;
Described Customer Premises Network equipment sends label acknowledge message to described a plurality of key side network equipments respectively, in described label acknowledge message, carried the label that described Customer Premises Network equipment is used, and described label acknowledge message for the label distribution of asking the key side network equipment described Customer Premises Network equipment being used to described Customer Premises Network equipment.
The available label scope that described in described Customer Premises Network equipment utilization, a plurality of key side network equipments are chosen is respectively determined the process of the label that described Customer Premises Network equipment is used, specifically comprise: described Customer Premises Network equipment obtains respectively the available label scope that described a plurality of key side network equipment is chosen, if there is identical available label between the available label scope that described a plurality of key side network equipment is chosen, the label of selecting a label to use as described Customer Premises Network equipment from identical available label.
The embodiment of the present invention provides a kind of label distribution method, the method is applied to comprise in the network of Customer Premises Network equipment and a plurality of key side network equipments, the link of described Customer Premises Network equipment respectively and between described a plurality of key side network equipment forms main/slave link, said method comprising the steps of:
The key side network equipment receives the tag block request message from described Customer Premises Network equipment, and from specific label section, chooses available label scope corresponding to the described key side network equipment;
The described key side network equipment sends tag block response message to described Customer Premises Network equipment, in described tag block response message, carried the available label scope that the described key side network equipment is chosen, and described tag block response message is for asking the available label scope that a plurality of key side network equipments are chosen respectively described in described Customer Premises Network equipment utilization to determine the label that described Customer Premises Network equipment is used;
The described key side network equipment receives the label acknowledge message from described Customer Premises Network equipment, and in described label acknowledge message, has carried the label that described Customer Premises Network equipment is used;
The described key side network equipment is after receiving described label acknowledge message, and the label distribution that the Customer Premises Network equipment carrying in described label acknowledge message is used is given described Customer Premises Network equipment.
The described key side network equipment is chosen available label scope corresponding to the described key side network equipment from specific label section, also comprises afterwards:
The described key side network equipment is unavailable label by the label within the scope of described available label.
Described method also comprises:
The described key side network equipment, after receiving tag block request message, reads message identifier Message ID from described tag block request message; The Message ID not processing if current, described in mark, Message ID is the Message ID processing, and carries out the process of choosing the available label scope that the described key side network equipment is corresponding from specific label section; If current, there is the Message ID processing, described tag block request message is cached in queue, by the time after the current Message ID processing finishes dealing with, from queue, extract tag block request message and process, and Message ID corresponding to this tag block request message is labeled as to the Message ID processing;
The described key side network equipment is after receiving label acknowledge message, after the label distribution that the Customer Premises Network equipment carrying in described label acknowledge message is used is given described Customer Premises Network equipment, delete the current Message ID processing, to represent that the current Message ID processing finishes dealing with.
The embodiment of the present invention provides a kind of Customer Premises Network equipment, be applied to comprise in the network of described Customer Premises Network equipment and a plurality of key side network equipments, the link of described Customer Premises Network equipment respectively and between described a plurality of key side network equipment forms main/slave link, and described Customer Premises Network equipment specifically comprises:
The first sending module, for sending tag block request message to described a plurality of key side network equipments respectively, described tag block request message is used for asking the key side network equipment to choose available label scope from specific label section;
Receiver module, the tag block response message of returning for receiving respectively described a plurality of key side network equipment, has carried the available label scope that the key side network equipment is chosen in described tag block response message;
Determination module, determines for the available label scope of utilizing described a plurality of key side network equipment to choose respectively the label that described Customer Premises Network equipment is used;
The second sending module, for sending label acknowledge message to a plurality of key side network equipments respectively, in this label acknowledge message, carried the label that Customer Premises Network equipment is used, and this label acknowledge message for the label distribution of asking the key side network equipment Customer Premises Network equipment being used to Customer Premises Network equipment.
Described determination module, the available label scope of choosing specifically for obtaining respectively a plurality of key side network equipments, if there is identical available label between the available label scope that a plurality of key side network equipments are chosen, the label of selecting a label to use as Customer Premises Network equipment from identical available label.
The embodiment of the present invention provides a kind of key side network equipment, be applied to comprise in the network of Customer Premises Network equipment and a plurality of key side network equipments, the link of described Customer Premises Network equipment respectively and between described a plurality of key side network equipment forms main/slave link, and the described key side network equipment specifically comprises:
The first receiver module, for receiving the tag block request message from described Customer Premises Network equipment;
Select module, after the tag block request message receiving from described Customer Premises Network equipment, from specific label section, choose available label scope corresponding to the described key side network equipment;
Sending module, for sending tag block response message to described Customer Premises Network equipment, in described tag block response message, carried the available label scope that the described key side network equipment is chosen, and described tag block response message is for asking the available label scope that a plurality of key side network equipments are chosen respectively described in described Customer Premises Network equipment utilization to determine the label that described Customer Premises Network equipment is used;
The second receiver module, for receiving the label acknowledge message from described Customer Premises Network equipment, and has carried the label that described Customer Premises Network equipment is used in described label acknowledge message;
Distribution module, for after receiving described label acknowledge message, the label distribution that the Customer Premises Network equipment carrying in described label acknowledge message is used is given described Customer Premises Network equipment.
Described selection module, for choose the available label scope that the described key side network equipment is corresponding from specific label section after, is also unavailable label by the label within the scope of described available label.
Described selection module, is further used for after receiving tag block request message, reads message identifier Message ID from described tag block request message; The Message ID not processing if current, described in mark, Message ID is the Message ID processing, and carries out the process of choosing the available label scope that the described key side network equipment is corresponding from specific label section; If current, there is the Message ID processing, described tag block request message is cached in queue, by the time after the current Message ID processing finishes dealing with, from queue, extract tag block request message and process, and Message ID corresponding to this tag block request message is labeled as to the Message ID processing;
After receiving label acknowledge message, after the label distribution that the Customer Premises Network equipment carrying in described label acknowledge message is used is given described Customer Premises Network equipment, delete the current Message ID processing, to represent that the current Message ID processing finishes dealing with.
Compared with prior art, the embodiment of the present invention at least has the following advantages: in the embodiment of the present invention, Customer Premises Network equipment is by sending tag block request message to a plurality of key side network equipments respectively, the available label scope of choosing to obtain each key side network equipment, and the available label scope of utilizing each key side network equipment to choose respectively determines the label that this Customer Premises Network equipment is used, and make label distribution that each key side network equipment uses this Customer Premises Network equipment to this Customer Premises Network equipment.Based on above-mentioned label distribution mode, can guarantee that the label that each key side network equipment is Customer Premises Network devices allocation is identical, thereby break down or when standby link breaks down at primary link, avoid label to switch, thereby fast the message on primary link is switched on standby link or fast the message on standby link is switched on primary link, to meet the demand of quick switching, reduce switching time, and can greatly improve the convergence time of business, give the better business experience sense of user, improve the service quality of carrier network.
Accompanying drawing explanation
Fig. 1 is the PW networking schematic diagram in L2VPN in prior art;
Fig. 2 is a kind of label distribution method schematic flow sheet that the embodiment of the present invention provides;
Fig. 3 is the concrete example of a kind of tag block request message of providing of the embodiment of the present invention;
Fig. 4 is the concrete example of a kind of tag block response message of providing of the embodiment of the present invention;
Fig. 5 is the concrete example of a kind of label acknowledge message of providing of the embodiment of the present invention;
Fig. 6 is the structural representation of a kind of Customer Premises Network equipment of providing of the embodiment of the present invention;
Fig. 7 is the structural representation of a kind of key side network equipment that provides of the embodiment of the present invention.
Embodiment
For problems of the prior art, the embodiment of the present invention provides a kind of label distribution method, the method is applied to comprise in the network of Customer Premises Network equipment and a plurality of key side network equipments, the link formation main/slave link of Customer Premises Network equipment respectively and between a plurality of key side network equipment.Wherein, the application scenarios of the method can be the VPN FRR networking in L3VPN, the PW networking in L2VPN, the LDP FRR networking in L2VPN etc.In addition, can, for more than 2 or 2, when the quantity of the key side network equipment is 2, there is a primary link and a standby link in the quantity of the key side network equipment, when the quantity of the key side network equipment is when more than 2, there are a primary link and at least two standby links.
Suppose the application scenarios schematic diagram that the PW networking in the L2VPN shown in Fig. 1 is the embodiment of the present invention, based on this, Customer Premises Network equipment is user-end provider edge, the key side network equipment is NPE equipment, PW2 between PW1 between user-end provider edge and NPE equipment 1 and user-end provider edge and NPE equipment 2 forms active and standby PW, as: PW1 is main PW, and PW2 is standby PW.In specific implementation, the application scenarios of the embodiment of the present invention can also be the VPN FRR networking in L3VPN, the LDP FRR networking in L2VPN etc., under these networkings, processing mode is identical with the processing of PW networking in L2VPN, be that corresponding executive agent changes, under the VPN FRR networking in L3VPN, Customer Premises Network equipment is PE equipment, and the key side network equipment is PE equipment.For convenience of description, the PW networking of take in L2VPN, as example describes, repeats no more for the processing under other networking.
Under above-mentioned application scenarios, as shown in Figure 2, this label distribution method comprises the following steps:
Step 201, Customer Premises Network equipment sends tag block request message to a plurality of key side network equipments respectively; Wherein, this tag block request message is used for asking the key side network equipment to choose available label scope from specific label section.As shown in Figure 3, be a kind of concrete example of tag block request message.
Under the application scenarios shown in Fig. 1, user-end provider edge need to send tag block request message to NPE equipment 1, and this tag block request message is used for asking NPE equipment 1 to choose available label scope from specific label section; In addition, user-end provider edge also needs to send tag block request message to NPE equipment 2, and this tag block request message is used for asking NPE equipment 2 to choose available label scope from specific label section.
Step 202, the key side network equipment, after the tag block request message of receiving from Customer Premises Network equipment, is chosen the available label scope that the key side network equipment is corresponding from specific label section.
In the embodiment of the present invention, need on the key side network equipment, be that the reserved specific label section dualpwsegment(of active and standby business is as 1024-4096), this specific label section just refers to as the reserved label section of active and standby business, and the available label in this specific label section is used for distributing to Customer Premises Network equipment.
Based on this, the key side network equipment is after the tag block request message of receiving from Customer Premises Network equipment, from specific label section, choose the available label scope that the key side network equipment is corresponding, the key side network equipment is unavailable label by the label within the scope of this available label afterwards.
Under the application scenarios shown in Fig. 1, for specific label section 1024-4096, suppose that label range 1024-2048 and 4000-4096 are marked as unavailable label, the current available label scope of NPE equipment 1 is label section 2048-4000, NPE equipment 1 is after the tag block request message of receiving from user-end provider edge, from label section 2048-4000, choose available label scope 2048-3000, and be unavailable label by the label in available label scope 2048-3000.For specific label section 1024-4096, suppose that the current available label scope of NPE equipment 2 is label section 1024-4000, NPE equipment 2 is after the tag block request message of receiving from user-end provider edge, from label section 1024-4000, choose available label scope 2000-3000, and be unavailable label by the label in this available label scope 2000-3000.
Step 203, the key side network equipment sends tag block response message to Customer Premises Network equipment, has carried the available label scope that this key side network equipment is chosen in this tag block response message; Wherein, the available label scope that this tag block response message is further used for asking a plurality of key side network equipments of Customer Premises Network equipment utilization to be chosen is respectively determined the label that this Customer Premises Network equipment is used.As shown in Figure 4, be a kind of concrete example of tag block response message, the TLV(Type Length Value in this tag block response message, type lengths values) carried the available label scope that this key side network equipment is chosen in field.Wherein, in TLV field, will store a series of intervals, interval can be continuous, also can be discrete.If certain section of min=max, represents discrete available label.If min<max, represents continuous available label.
Under the application scenarios shown in Fig. 1, NPE equipment 1 need to send to user-end provider edge by available label scope 2048-3000 by tag block response message; In addition, NPE equipment 2 need to send to user-end provider edge by available label scope 2000-3000 by tag block response message.
Step 204, Customer Premises Network equipment is after receiving the tag block response message that a plurality of key side network equipments return, the available label scope of utilizing the plurality of key side network equipment to choose is respectively determined the label that Customer Premises Network equipment is used.Wherein, the label that Customer Premises Network equipment is used is prefix label.
In the embodiment of the present invention, the available label scope that a plurality of key side network equipments of Customer Premises Network equipment utilization are chosen is respectively determined the label that Customer Premises Network equipment is used, specifically comprise: Customer Premises Network equipment obtains respectively the available label scope that a plurality of key side network equipments are chosen, if there is identical available label between the available label scope that a plurality of key side network equipments are chosen, the label of selecting a label to use as Customer Premises Network equipment from identical available label.For example, Customer Premises Network equipment is selected the label that the minimum label in identical available label is used as Customer Premises Network equipment; Or, the label that Customer Premises Network equipment selects the maximum label in identical available label to use as Customer Premises Network equipment.Certainly, in specific implementation, Customer Premises Network equipment is not limited to the label of selecting minimum label or maximum label to use as Customer Premises Network equipment, the label that can select at random label to use as Customer Premises Network equipment in practical application from identical available label, this selection mode does not repeat them here.
Under the application scenarios shown in Fig. 1, the available label scope that user-end provider edge acquisition NPE equipment 1 is chosen is 2048-3000, and the available label scope that acquisition NPE equipment 2 is chosen is 2000-3000; Based on this, NPE equipment 1 is 2048-3000 with the identical available label between NPE equipment 2, now, user-end provider edge can select arbitrarily a label as the label of this user-end provider edge use, as the label of selecting label 2048 or label 3000 or selecting at random label 2999 to use as this user-end provider edge in 2048-3000.
Step 205, Customer Premises Network equipment sends label acknowledge message to a plurality of key side network equipments respectively, and in this label acknowledge message, has carried the label that Customer Premises Network equipment is used.Wherein, this label acknowledge message for the label distribution of asking the key side network equipment Customer Premises Network equipment being used to this Customer Premises Network equipment.As shown in Figure 5, be a kind of concrete example of label acknowledge message.
Under the application scenarios shown in Fig. 1, user-end provider edge sends label acknowledge message to NPE equipment 1, carried the label 2048 that user-end provider edge is used, and this label acknowledge message is used for asking NPE equipment 1 that label 2048 is distributed to user-end provider edge in this label acknowledge message; In addition, user-end provider edge sends label acknowledge message to NPE equipment 2, carried the label 2048 that user-end provider edge is used, and this label acknowledge message is used for asking NPE equipment 2 that label 2048 is distributed to user-end provider edge in this label acknowledge message.
Step 206, the key side network equipment is after receiving label acknowledge message, the label distribution that the Customer Premises Network equipment carrying in label acknowledge message is used is to Customer Premises Network equipment.
Under the application scenarios shown in Fig. 1, NPE equipment 1 is after receiving the label acknowledge message of carrying label 2048, label 2048 is distributed to user-end provider edge, and record PW between NPE equipment 1 and user-end provider edge and the corresponding relation between label 2048, and by the PW between NPE equipment 1 and user-end provider edge by label 2048 notices to user-end provider edge; In addition, NPE equipment 2 is after receiving the label acknowledge message of carrying label 2048, label 2048 is distributed to user-end provider edge, and record PW between NPE equipment 2 and user-end provider edge and the corresponding relation between label 2048, and by the PW between NPE equipment 2 and user-end provider edge by label 2048 notices to user-end provider edge.
Based on above-mentioned processing, NPE equipment 1 and NPE equipment 2 have distributed same label 2048 for user-end provider edge, and user-end provider edge is received after label 2048 by PW1, records the corresponding relation of 2048, PW1 and label, user-end provider edge is received after label 2048 by PW2, records the corresponding relation of 2048, PW2 and label.User-end provider edge sends while carrying the message of label 2048, by label 2048, inquires PW1 and PW2; Because PW1 and PW2 are active and standby PW, therefore in PW1 and PW2, only have one for state of activation, when PW1 is state of activation, user-end provider edge sends the message that carries label 2048 by PW1, when PW2 is state of activation, user-end provider edge sends the message that carries label 2048 by PW2.
Further, when PW1 is state of activation, if PW1 breaks down, switching PW2 is state of activation, does not now need label 2048 to switch, and user-end provider edge sends the message that carries label 2048 by PW2.When PW2 is state of activation, if PW2 breaks down, switching PW1 is state of activation, does not now need label 2048 to switch, and user-end provider edge sends the message that carries label 2048 by PW1.Aforesaid way can meet the demand of quick switching, reduces switching time, improves greatly the convergence time of business, gives the better business experience sense of user, improves operator's service quality.
In the embodiment of the present invention, in tag block request message, also carry Message ID(message identifier), the key side network equipment, after receiving tag block request message, reads Message ID from tag block request message; The Message ID not processing if current, the Message ID of this Message ID that mark reads for processing, and carry out process and the subsequent process (being step 202-step 206) of choosing available label scope from specific label section; If current, there is the Message ID processing, tag block request message is cached in queue, by the time after the current Message ID processing finishes dealing with, from queue, extract tag block request message and process (performing step 202-step 206), and Message ID corresponding to this tag block request message is labeled as to the Message ID processing.Further, the key side network equipment is after receiving label acknowledge message, after the label distribution that the Customer Premises Network equipment carrying in label acknowledge message is used is to Customer Premises Network equipment, delete the current Message ID processing, to represent that the current Message ID processing finishes dealing with.
Inventive concept based on same with said method, a kind of Customer Premises Network equipment is also provided in the embodiment of the present invention, be applied to comprise in the network of described Customer Premises Network equipment and a plurality of key side network equipments, the link of described Customer Premises Network equipment respectively and between described a plurality of key side network equipment forms main/slave link, as shown in Figure 6, described Customer Premises Network equipment specifically comprises:
The first sending module 11, for sending tag block request message to described a plurality of key side network equipments respectively, described tag block request message is used for asking the key side network equipment to choose available label scope from specific label section;
Receiver module 12, the tag block response message of returning for receiving respectively described a plurality of key side network equipment, has carried the available label scope that the key side network equipment is chosen in described tag block response message;
Determination module 13, determines for the available label scope of utilizing described a plurality of key side network equipment to choose respectively the label that described Customer Premises Network equipment is used;
The second sending module 14, for sending label acknowledge message to a plurality of key side network equipments respectively, in this label acknowledge message, carried the label that Customer Premises Network equipment is used, and label acknowledge message for the label distribution of asking the key side network equipment Customer Premises Network equipment being used to Customer Premises Network equipment.
Described determination module 13, the available label scope of choosing specifically for obtaining respectively a plurality of key side network equipments, if there is identical available label between the available label scope that a plurality of key side network equipments are chosen, the label of selecting a label to use as Customer Premises Network equipment from identical available label.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can separatedly dispose.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Inventive concept based on same with said method, a kind of key side network equipment is also provided in the embodiment of the present invention, be applied to comprise in the network of Customer Premises Network equipment and a plurality of key side network equipments, the link of described Customer Premises Network equipment respectively and between described a plurality of key side network equipment forms main/slave link, as shown in Figure 7, the described key side network equipment specifically comprises:
The first receiver module 21, for receiving the tag block request message from described Customer Premises Network equipment;
Select module 22, after the tag block request message receiving from described Customer Premises Network equipment, from specific label section, choose available label scope corresponding to the described key side network equipment;
Sending module 23, for sending tag block response message to described Customer Premises Network equipment, in described tag block response message, carried the available label scope that the described key side network equipment is chosen, and described tag block response message is for asking the available label scope that a plurality of key side network equipments are chosen respectively described in described Customer Premises Network equipment utilization to determine the label that described Customer Premises Network equipment is used;
The second receiver module 24, for receiving the label acknowledge message from described Customer Premises Network equipment, and has carried the label that described Customer Premises Network equipment is used in described label acknowledge message;
Distribution module 25, for after receiving described label acknowledge message, the label distribution that the Customer Premises Network equipment carrying in described label acknowledge message is used is given described Customer Premises Network equipment.
Described selection module 22, for choose the available label scope that the described key side network equipment is corresponding from specific label section after, is also unavailable label by the label within the scope of described available label.
Described selection module 22, is further used for after receiving tag block request message, reads message identifier Message ID from described tag block request message; The Message ID not processing if current, described in mark, Message ID is the Message ID processing, and carries out the process of choosing the available label scope that the described key side network equipment is corresponding from specific label section; If current, there is the Message ID processing, described tag block request message is cached in queue, by the time after the current Message ID processing finishes dealing with, from queue, extract tag block request message and process, and Message ID corresponding to this tag block request message is labeled as to the Message ID processing;
After receiving label acknowledge message, after the label distribution that the Customer Premises Network equipment carrying in described label acknowledge message is used is given described Customer Premises Network equipment, delete the current Message ID processing, to represent that the current Message ID processing finishes dealing with.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can separatedly dispose.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Understanding based on such, 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 a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in 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, the module in 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 in embodiment can be distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Disclosed is above only several specific embodiment of the present invention, and still, the present invention is not limited thereto, and the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (10)

1. a label distribution method, the method is applied to comprise in the network of Customer Premises Network equipment and a plurality of key side network equipments, the link of described Customer Premises Network equipment respectively and between described a plurality of key side network equipment forms main/slave link, it is characterized in that, said method comprising the steps of:
Described Customer Premises Network equipment sends tag block request message to described a plurality of key side network equipments respectively, and described tag block request message is used for asking the key side network equipment to choose available label scope from specific label section;
Described Customer Premises Network equipment receives respectively the tag block response message that described a plurality of key side network equipment returns, and has carried the available label scope that the key side network equipment is chosen in described tag block response message;
The available label scope that described in described Customer Premises Network equipment utilization, a plurality of key side network equipments are chosen is respectively determined the label that described Customer Premises Network equipment is used;
Described Customer Premises Network equipment sends label acknowledge message to described a plurality of key side network equipments respectively, in described label acknowledge message, carried the label that described Customer Premises Network equipment is used, and described label acknowledge message for the label distribution of asking the key side network equipment described Customer Premises Network equipment being used to described Customer Premises Network equipment.
2. the method for claim 1, is characterized in that,
The available label scope that described in described Customer Premises Network equipment utilization, a plurality of key side network equipments are chosen is respectively determined the process of the label that described Customer Premises Network equipment is used, specifically comprise: described Customer Premises Network equipment obtains respectively the available label scope that described a plurality of key side network equipment is chosen, if there is identical available label between the available label scope that described a plurality of key side network equipment is chosen, the label of selecting a label to use as described Customer Premises Network equipment from identical available label.
3. a label distribution method, the method is applied to comprise in the network of Customer Premises Network equipment and a plurality of key side network equipments, the link of described Customer Premises Network equipment respectively and between described a plurality of key side network equipment forms main/slave link, it is characterized in that, said method comprising the steps of:
The key side network equipment receives the tag block request message from described Customer Premises Network equipment, and from specific label section, chooses available label scope corresponding to the described key side network equipment;
The described key side network equipment sends tag block response message to described Customer Premises Network equipment, in described tag block response message, carried the available label scope that the described key side network equipment is chosen, and described tag block response message is for asking the available label scope that a plurality of key side network equipments are chosen respectively described in described Customer Premises Network equipment utilization to determine the label that described Customer Premises Network equipment is used;
The described key side network equipment receives the label acknowledge message from described Customer Premises Network equipment, and in described label acknowledge message, has carried the label that described Customer Premises Network equipment is used;
The described key side network equipment is after receiving described label acknowledge message, and the label distribution that the Customer Premises Network equipment carrying in described label acknowledge message is used is given described Customer Premises Network equipment.
4. method as claimed in claim 3, is characterized in that, the described key side network equipment is chosen available label scope corresponding to the described key side network equipment from specific label section, also comprises afterwards:
The described key side network equipment is unavailable label by the label within the scope of described available label.
5. method as claimed in claim 3, is characterized in that, described method also comprises:
The described key side network equipment, after receiving tag block request message, reads message identifier Message ID from described tag block request message; The Message ID not processing if current, described in mark, Message ID is the Message ID processing, and carries out the process of choosing the available label scope that the described key side network equipment is corresponding from specific label section; If current, there is the Message ID processing, described tag block request message is cached in queue, by the time after the current Message ID processing finishes dealing with, from queue, extract tag block request message and process, and Message ID corresponding to this tag block request message is labeled as to the Message ID processing;
The described key side network equipment is after receiving label acknowledge message, after the label distribution that the Customer Premises Network equipment carrying in described label acknowledge message is used is given described Customer Premises Network equipment, delete the current Message ID processing, to represent that the current Message ID processing finishes dealing with.
6. a Customer Premises Network equipment, be applied to comprise in the network of described Customer Premises Network equipment and a plurality of key side network equipments, the link of described Customer Premises Network equipment respectively and between described a plurality of key side network equipment forms main/slave link, it is characterized in that, described Customer Premises Network equipment specifically comprises:
The first sending module, for sending tag block request message to described a plurality of key side network equipments respectively, described tag block request message is used for asking the key side network equipment to choose available label scope from specific label section;
Receiver module, the tag block response message of returning for receiving respectively described a plurality of key side network equipment, has carried the available label scope that the key side network equipment is chosen in described tag block response message;
Determination module, determines for the available label scope of utilizing described a plurality of key side network equipment to choose respectively the label that described Customer Premises Network equipment is used;
The second sending module, for sending label acknowledge message to a plurality of key side network equipments respectively, in this label acknowledge message, carried the label that Customer Premises Network equipment is used, and this label acknowledge message for the label distribution of asking the key side network equipment Customer Premises Network equipment being used to Customer Premises Network equipment.
7. Customer Premises Network equipment as claimed in claim 6, is characterized in that,
Described determination module, the available label scope of choosing specifically for obtaining respectively a plurality of key side network equipments, if there is identical available label between the available label scope that a plurality of key side network equipments are chosen, the label of selecting a label to use as Customer Premises Network equipment from identical available label.
8. the key side network equipment, be applied to comprise in the network of Customer Premises Network equipment and a plurality of key side network equipments, the link of described Customer Premises Network equipment respectively and between described a plurality of key side network equipment forms main/slave link, it is characterized in that, the described key side network equipment specifically comprises:
The first receiver module, for receiving the tag block request message from described Customer Premises Network equipment;
Select module, after the tag block request message receiving from described Customer Premises Network equipment, from specific label section, choose available label scope corresponding to the described key side network equipment;
Sending module, for sending tag block response message to described Customer Premises Network equipment, in described tag block response message, carried the available label scope that the described key side network equipment is chosen, and described tag block response message is for asking the available label scope that a plurality of key side network equipments are chosen respectively described in described Customer Premises Network equipment utilization to determine the label that described Customer Premises Network equipment is used;
The second receiver module, for receiving the label acknowledge message from described Customer Premises Network equipment, and has carried the label that described Customer Premises Network equipment is used in described label acknowledge message;
Distribution module, for after receiving described label acknowledge message, the label distribution that the Customer Premises Network equipment carrying in described label acknowledge message is used is given described Customer Premises Network equipment.
9. the key side network equipment as claimed in claim 8, is characterized in that,
Described selection module, for choose the available label scope that the described key side network equipment is corresponding from specific label section after, is also unavailable label by the label within the scope of described available label.
10. the key side network equipment as claimed in claim 8, is characterized in that,
Described selection module, is further used for after receiving tag block request message, reads message identifier Message ID from described tag block request message; The Message ID not processing if current, described in mark, Message ID is the Message ID processing, and carries out the process of choosing the available label scope that the described key side network equipment is corresponding from specific label section; If current, there is the Message ID processing, described tag block request message is cached in queue, by the time after the current Message ID processing finishes dealing with, from queue, extract tag block request message and process, and Message ID corresponding to this tag block request message is labeled as to the Message ID processing;
After receiving label acknowledge message, after the label distribution that the Customer Premises Network equipment carrying in described label acknowledge message is used is given described Customer Premises Network equipment, delete the current Message ID processing, to represent that the current Message ID processing finishes dealing with.
CN201310659531.7A 2013-12-06 2013-12-06 A kind of label distribution method and equipment Active CN103685019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310659531.7A CN103685019B (en) 2013-12-06 2013-12-06 A kind of label distribution method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310659531.7A CN103685019B (en) 2013-12-06 2013-12-06 A kind of label distribution method and equipment

Publications (2)

Publication Number Publication Date
CN103685019A true CN103685019A (en) 2014-03-26
CN103685019B CN103685019B (en) 2017-08-22

Family

ID=50321379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310659531.7A Active CN103685019B (en) 2013-12-06 2013-12-06 A kind of label distribution method and equipment

Country Status (1)

Country Link
CN (1) CN103685019B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096400A (en) * 2015-07-27 2015-11-25 努比亚技术有限公司 Card punching machine and card punching method
WO2019179377A1 (en) * 2018-03-19 2019-09-26 华为技术有限公司 Sending and receiving method and device for adhesion label

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309230A (en) * 2008-06-27 2008-11-19 迈普(四川)通信技术有限公司 Control method for packet sequence switch on transmission path of multiple protocol label switch
US7602702B1 (en) * 2005-02-10 2009-10-13 Juniper Networks, Inc Fast reroute of traffic associated with a point to multi-point network tunnel
CN101645836A (en) * 2009-08-25 2010-02-10 杭州华三通信技术有限公司 Packet transmission method and device in multi-protocol label switching network
CN101931586A (en) * 2009-06-26 2010-12-29 中国电信股份有限公司 Method and system for rapidly rerouting MPLS VPN (Multi-Protocol Label Switching Virtual Private Network)
CN102255759A (en) * 2011-08-16 2011-11-23 杭州华三通信技术有限公司 Method and device for transmitting data message based on PW (Packet Writing) redundant backup
CN103139040A (en) * 2013-03-13 2013-06-05 杭州华三通信技术有限公司 Extensional virtual private network (VPN) false refused rate (FRR) implement method and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7602702B1 (en) * 2005-02-10 2009-10-13 Juniper Networks, Inc Fast reroute of traffic associated with a point to multi-point network tunnel
CN101309230A (en) * 2008-06-27 2008-11-19 迈普(四川)通信技术有限公司 Control method for packet sequence switch on transmission path of multiple protocol label switch
CN101931586A (en) * 2009-06-26 2010-12-29 中国电信股份有限公司 Method and system for rapidly rerouting MPLS VPN (Multi-Protocol Label Switching Virtual Private Network)
CN101645836A (en) * 2009-08-25 2010-02-10 杭州华三通信技术有限公司 Packet transmission method and device in multi-protocol label switching network
CN102255759A (en) * 2011-08-16 2011-11-23 杭州华三通信技术有限公司 Method and device for transmitting data message based on PW (Packet Writing) redundant backup
CN103139040A (en) * 2013-03-13 2013-06-05 杭州华三通信技术有限公司 Extensional virtual private network (VPN) false refused rate (FRR) implement method and equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096400A (en) * 2015-07-27 2015-11-25 努比亚技术有限公司 Card punching machine and card punching method
WO2019179377A1 (en) * 2018-03-19 2019-09-26 华为技术有限公司 Sending and receiving method and device for adhesion label
US11522793B2 (en) 2018-03-19 2022-12-06 Huawei Technologies Co., Ltd. Stitching label sending method, receiving method, and device

Also Published As

Publication number Publication date
CN103685019B (en) 2017-08-22

Similar Documents

Publication Publication Date Title
CN101997765B (en) Method for attribute inheritance of forwarding adjacency (FA) in multilayer network and corresponding multiplayer network
CN101355441B (en) Method, system and equipment for configuring operation management maintain attribute
CN102549983A (en) Distributed data center access switch
US11418385B2 (en) Network alarm method, device, system and terminal
CN103001892B (en) Based on network resource allocation method and the system of cloud computing
CN101692652A (en) Method for preventing interrupt of traffics in aggregation link
CN101141376B (en) Method to establish TE path, path computation equipment and system
CN106850424A (en) A kind of system of selection, the apparatus and system in IP layers of path
CN105100002B (en) The operating method and device of attribute
CN102857418A (en) VPN (virtual private network)-based fast re-route (FRR) switch method and VPN-based fast re-route switch equipment
CN102884762A (en) Method, devices and system for controlling network paths
CN103209125B (en) A kind of transmission method of label information and equipment
CN106330695B (en) Service control method and device
CN104580013A (en) Network communication method and system capable of realizing fast access point selection
CN103179032B (en) A kind of route backup method and device
CN103685019A (en) Label distribution method and device
CN109639502A (en) Return operated control method and content distributing network
CN102118422B (en) The peer node of RELOAD peer-to-peer network and the update method of configuration thereof and system
CN101924670A (en) Method and equipment for detecting label switched path (LSP)
CN102325154B (en) Network system with disaster-tolerant backup function and method for realizing disaster-tolerant backup function
CN104079431A (en) Instant-messaging session management method and session management device
CN106209630A (en) A kind of label management method and device
WO2018014882A1 (en) Method and device for acquiring router information, and router addressing apparatus and system
CN101635673B (en) Method and system for booking path, path computing client and path computing unit
CN101471838A (en) Method, system and equipment for switching source

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

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

Applicant 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

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant