CN101697544B - Conflict avoidance method and conflict avoidance device for label - Google Patents

Conflict avoidance method and conflict avoidance device for label Download PDF

Info

Publication number
CN101697544B
CN101697544B CN200910208518.3A CN200910208518A CN101697544B CN 101697544 B CN101697544 B CN 101697544B CN 200910208518 A CN200910208518 A CN 200910208518A CN 101697544 B CN101697544 B CN 101697544B
Authority
CN
China
Prior art keywords
label
scope
labels
new
dynamic
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.)
Active
Application number
CN200910208518.3A
Other languages
Chinese (zh)
Other versions
CN101697544A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910208518.3A priority Critical patent/CN101697544B/en
Publication of CN101697544A publication Critical patent/CN101697544A/en
Application granted granted Critical
Publication of CN101697544B publication Critical patent/CN101697544B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a conflict avoidance method and a conflict avoidance device for a label. The method comprises the following steps: configuring a new dynamic label range and a new static label range, and immediately validating the new label range configuration; after equipment is started, firstly reading static protocol service configuration, subscribing and applying for label resources required by the static protocol service, and then reading and validating the new label range configuration; applying for the label resources in the new dynamic label range by the dynamic protocol service; and using the subscribed label resources or applying for the label resources in the new static label range by the static protocol service. The label range only has constraint for the configured label resources, and the label resources required for the static protocol service configuration are subscribed after the equipment is restarted and before the label range is validated, so the method and the device can ensure that the static protocol service still can fully recover after the label range is adjusted.

Description

A kind of method for collision avoidance of label and device
Technical field
The present invention relates to data network communications field, particularly multiprotocol label switching (MPLS) label distribution scope is adjusted for method for collision avoidance and the device of distributing labels.
Background technology
Multiprotocol label switching (MPLS) label range refers to route, the switching equipment of supporting MPLS package forward, the set (the maximum assignable scope of label resources is [16,1048575]) to its assignable local label resource.MPLS label range can be divided into two kinds substantially: dynamic labels scope and static labels scope.Dynamic labels scope refers to the dynamic mpls protocol (set of the assignable local label resources such as the RSVP (RSVP-TE) of expanding as tag distribution protocol (LDP), based on traffic engineering of automatic applying label; Static labels scope refers to the set that needs the assignable local label resource of the static mpls protocol of manual configuration label.
For the MPLS label range of sound state, each equipment vendors generally all can provide configuration.When changing label range configuration, label resources or the part label resources of having distributed that the label range that probably can produce new configuration has covered non-the attribute having distributed are free in outside the label range of new configuration, for such label range configuration, are referred to as conflict configuration herein.
As shown in Figure 1, the former label range coming into force is dynamic labels scope [16,50000], static labels scope [65000,1048575]; Under this label range, existing label resources 10000 is by dynamic protocol application, and label resources 70000 is by quiesce protocol application; When adjusting label range, it is dynamic labels scope [20000,90000], static labels scope (90000,1048575], now just there will be the dynamic labels resource 10000 of having distributed to be free in outside dynamic labels scope, the static labels resource 70000 of having distributed is covered by dynamic label range.At present, the realization of the each equipment vendors of industry is that this configuration can not come into force to the processing of above-mentioned conflict configuration, comes into force or is dropped as abnormal configuration after need to waiting for as unenforced configuration information the equipment of restarting.Under this implementation, label range implication is the label resources to rear application and all Constraineds of label resources of having distributed.
In project plan, for the implication of this label range, there is a very large problem, quiesce protocol service configuration information restarts equipment recovery problem.There is step following (as Fig. 1) in this problem:
1) under the former label range configuration coming into force, label resources 70000 is by quiesce protocol application and a corresponding quiesce protocol service configuration information;
2) configure new label range, this configuration cannot come into force, and comes into force after needing waiting facilities to restart;
3) restart equipment, the label range of new configuration comes into force, and (label range of new configuration must, before having label resources to be applied, first come into force here; Otherwise likely this label range cannot come into force);
4) when quiesce protocol business configuration is recovered, applying label resource 70000 again, but this label resources belongs within the scope of dynamic labels, so apply for unsuccessfully, causes this quiesce protocol business configuration to be resumed.
When there is this problem, need customer service personnel to reconfigure quiesce protocol, cause unnecessary trouble.
In fact, for data network, label resources itself does not have protocol attribute, only for distinguish different label forwarding path (LSP) in this locality.And label range is mainly used in limiting the application of each quasi-protocol to label resources, avoids too using label resources because of certain agreement and cause other agreements cannot obtain label resources.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method for collision avoidance and device of label, after the label distribution scope adjustment of avoiding existing in prior art with the collision problem of distributing labels.
In order to solve the problems of the technologies described above, the invention provides a kind of method for collision avoidance of label, comprising:
Configure new dynamic labels scope and static labels scope, and this new label range configuration that comes into force;
After device start, first read quiesce protocol business configuration, the required label resources of described quiesce protocol business is preengage to application, then read and the described new label range configuration that comes into force;
Dynamic protocol business is applying label resource within the scope of new dynamic labels; Quiesce protocol business is used the label resources of having preengage or applying label resource within the scope of new static labels.
Furthermore, described in come into force before the step of this new label range configuration, also comprise: check described dynamic labels scope and the whether correct step of static labels scope value.
Furthermore, described dynamic labels scope and static labels scope value are correct, comprising: label range minimum value is less than or equal to the minimum value of label range maximum and label range and maximum value all within available label scope.
Furthermore, described dynamic protocol business applying label resource within the scope of new dynamic labels, comprising:
After dynamic protocol initiation of services, applying label resource;
According to current dynamic labels scope, retrieve idle label resources, distribute to this dynamic protocol and use.
Furthermore, described quiesce protocol business applying label resource within the scope of new static labels, comprising:
Quiesce protocol business configuration, specifies applying label resource;
Check current static labels scope, judge that this application label resources is within the scope of static labels, whether idlely reexamine this label resources, if idle, apply for successfully, otherwise failure.
In order to solve the problems of the technologies described above, the present invention also provides a kind of conflict of label to avoid device, comprising:
Dispensing unit, for configuring new dynamic labels scope and static labels scope, and this new label range configuration that comes into force;
Processing unit, for after device start, first reads quiesce protocol business configuration, and the required label resources of described quiesce protocol business is preengage to application, and described new label range configuration then comes into force;
Application unit, for to dynamic protocol business applying label resource within the scope of new dynamic labels; Quiesce protocol business is used to the label resources of having preengage or applying label resource within the scope of new static labels.
Furthermore, described dispensing unit, also whether correct for checking described dynamic labels scope and static labels scope value.
Furthermore, described dynamic labels scope and static labels scope value are correct, comprising: label range minimum value is less than or equal to the minimum value of label range maximum and label range and maximum value all within available label scope.
Furthermore, described device also comprises:
The first allocation units, for dynamic protocol business after applying label resource, according to current dynamic labels scope, being retrieved to idle label resources within the scope of new dynamic labels in described application unit, distribute to this dynamic protocol business and use.
Furthermore, described device also comprises:
The second allocation units, for described application unit to quiesce protocol business within the scope of new static labels after applying label resource, check current static labels scope, determine this application label resources within the scope of static labels, whether idlely reexamine this label resources, if idle, carry out label resources distribution.
Because MPLS label range is only to configuring the just Constrained of label resources of rear application, and after equipment restarts, before MPLS label range comes into force, the label resources that quiesce protocol business configuration is required is preengage, so can guarantee that quiesce protocol business still can full recovery after adjustment MPLS label range.
Accompanying drawing explanation
Fig. 1 is MPLS label range conflict configuration demonstration graph;
Fig. 2 is that the label distribution scope of the embodiment of the present invention is adjusted for the method for collision avoidance flow chart of distributing labels;
Fig. 3 is application example MPLS label range configuration take-effective flow chart of the present invention;
Fig. 4 is after present device is restarted, and quiesce protocol business configuration is recovered flow chart;
Fig. 5 is that the label distribution scope adjustment of the embodiment of the present invention is avoided structure drawing of device for the conflict of distributing labels.
Embodiment
Realization of the present invention comprises following content:
A. the implication of multiprotocol label switching (MPLS) label range has been carried out to new definition, MPLS label range is only to configuring the label resources Constrained of rear application, and to the label resources of having distributed before configuring without constraint.
B. when configuration MPLS label range, do not check the label resources of having distributed, this configuration can come into force.(the value validity check here MPLS label range being configured or necessity, such as stated range minimum can not be greater than scope maximum; Minimum value and peaked value must be within [16,1048575] etc.)
C. after equipment is restarted, first read quiesce protocol business configuration, carry out label resources reservation application (now apparent motion, quiesce protocol are shared whole label resources), then, the MPLS label range of revival configuration.
D. after equipment is restarted, and come into force after MPLS label range, dynamic protocol must apply for using label resources within the scope of current dynamic labels, and quiesce protocol can be applied for using the label resources within the scope of current static labels and use the label resources of having preengage.
Below in conjunction with the drawings and the specific embodiments, technical solution of the present invention is described in more detail, but not as a limitation of the invention.
Shown in Fig. 2, for the label distribution scope of the embodiment of the present invention, adjust for the method for collision avoidance of distributing labels, said method comprising the steps of:
Step 201: configure new dynamic labels scope and static labels scope, and this new label range configuration that comes into force;
Step 202: after device start, first read quiesce protocol business configuration, the required label resources of described quiesce protocol business is preengage to application, described new label range configuration then comes into force;
Step 203: dynamic protocol business is applying label resource within the scope of new dynamic labels; Quiesce protocol business is used the label resources of having preengage or applying label resource within the scope of new static labels.
In a preferred embodiment of the invention, before the step of this new label range configuration that comes into force described in step 201, also comprise: check described dynamic labels scope and the whether correct step of static labels scope value.
Described dynamic labels scope and static labels scope value are correct, comprising: label range minimum value is less than or equal to the minimum value of label range maximum and label range and maximum value all within available label scope.
In a preferred embodiment of the invention, the business of dynamic protocol described in step 201 applying label resource within the scope of new dynamic labels, comprising:
After dynamic protocol initiation of services, applying label resource;
Label pond, according to current dynamic labels scope, retrieves idle label resources, distributes to this dynamic protocol and uses.
In a preferred embodiment of the invention, the business of quiesce protocol described in step 201 applying label resource within the scope of new static labels, comprising:
Quiesce protocol business configuration, specifies applying label resource;
Check current static labels scope, judge that this application label resources is within the scope of static labels, whether idlely reexamine this label resources, if idle, apply for successfully, otherwise failure.
Below by the example in concrete application, technical solution of the present invention is carried out to exemplary illustration.
With reference to the flow process of figure 3, the handling process of dynamic and static protocol label resource bid and MPLS label range configuration take-effective is as follows.
301: dynamically mpls protocol initiation of services, applying label resource;
302: label pond, according to current dynamic labels scope [16,30000], retrieves idle label resources 1000, distribute to this dynamic mpls protocol and use;
303: static mpls protocol business configuration, specify applying label resource 50000;
304: check current static labels scope [40000,100000], meet the requirement of static labels scope, carry out 305;
305: whether idlely reexamine this label resources 50000, if idle, apply for successfully, otherwise failure;
306: configure new label range: dynamic labels scope [16,60000], static labels scope [70000,100000];
307: check that whether this label range value is correct, examination scope minimum value should be not more than scope maximum, the minimum value of scope and maximum value all should be within [16,1048575].Inspection meets, and this label range configuration comes into force;
308: configure new static mpls protocol business, specify applying label resource 55000.
309: check that this label resources, not within the scope of static labels, applies for unsuccessfully.
Visible, after new label range configuration comes into force, applying label resource again, need to check according to new label range, if do not meet area requirement, applies for unsuccessfully.
With reference to the flow process of figure 4, quiesce protocol service configuration information recovers after restarting equipment, and handling process is as follows:
401: configuring static protocol service, configuration MPLS label range, preserves configuration, and restarting equipment;
402: after device start, first read quiesce protocol business configuration;
403: its required label resources 50000 is preengage to application (now, be maximum label range depending on static labels scope, [16,1048575);
404: the label range that then comes into force configuration.After coming into force, dynamic and static agreement only can be in label range separately applying label resource.But quiesce protocol can be used the label resources of having preengage; Like this, all quiesce protocol business can normally be recovered;
405: quiesce protocol business configuration is recovered, use reservation label resource 50000.
Shown in Fig. 5, for label distribution scope of the present invention adjustment is avoided apparatus structure schematic diagram for the conflict of distributing labels.Described device comprises:
Dispensing unit 50, for configuring new dynamic labels scope and static labels scope, and this new label range configuration that comes into force;
Processing unit 51, for after device start, first reads quiesce protocol business configuration, and the required label resources of described quiesce protocol business is preengage to application, and described new label range configuration then comes into force;
Application unit 52, for to dynamic protocol business applying label resource within the scope of new dynamic labels; Quiesce protocol business is used to the label resources of having preengage or applying label resource within the scope of new static labels.
In a preferred embodiment of the invention, described dispensing unit 50, also whether correct for checking described dynamic labels scope and static labels scope value.
Described dynamic labels scope and static labels scope value are correct, comprising: label range minimum value is less than or equal to the minimum value of label range maximum and label range and maximum value all within available label scope.
In a preferred embodiment of the invention, also comprise:
The first allocation units 53, for dynamic protocol business after applying label resource, according to current dynamic labels scope, being retrieved to idle label resources within the scope of new dynamic labels in described application unit 52, distribute to this dynamic protocol business and use.
In a preferred embodiment of the invention, also comprise:
The second allocation units 54, for described application unit 52 to quiesce protocol business within the scope of new static labels after applying label resource, check current static labels scope, determine this application label resources within the scope of static labels, whether idlely reexamine this label resources, if idle, carry out label resources distribution.
It is pointed out that and the foregoing is only preferred embodiment of the present invention, be not used for limiting practical range of the present invention, every equivalent variation and modification of doing according to the present invention, is all covered by the scope of the claims of the present invention.

Claims (10)

1. a method for collision avoidance for label, is characterized in that, comprising:
Configure new dynamic labels scope and static labels scope, and this new label range configuration that comes into force, wherein, described new label range comprises described new dynamic labels scope and described new static labels scope;
After device start, first read quiesce protocol business configuration, the required label resources of described quiesce protocol business is preengage to application, then read and the described new label range configuration that again comes into force, wherein, when again coming into force described new label range configuration, the label resources that falls into the reservation application in described new label range is retained;
Dynamic protocol business is applying label resource within the scope of new dynamic labels; Quiesce protocol business is used the label resources of having preengage or applying label resource within the scope of new static labels.
2. the method for claim 1, is characterized in that, described in come into force before the step of this new label range configuration, also comprise: check described dynamic labels scope and the whether correct step of static labels scope value.
3. method as claimed in claim 2, it is characterized in that, described dynamic labels scope and static labels scope value are correct, comprising: label range minimum value is less than or equal to the minimum value of label range maximum and label range and maximum value all within available label scope.
4. the method for claim 1, is characterized in that, described dynamic protocol business applying label resource within the scope of new dynamic labels, comprising:
After dynamic protocol initiation of services, applying label resource;
According to current dynamic labels scope, retrieve idle label resources, distribute to this dynamic protocol and use.
5. the method for claim 1, is characterized in that, described quiesce protocol business applying label resource within the scope of new static labels, comprising:
Quiesce protocol business configuration, specifies applying label resource;
Check current static labels scope, judge that this application label resources is within the scope of static labels, whether idlely reexamine this label resources, if idle, apply for successfully, otherwise failure.
6. a device is avoided in the conflict of label, it is characterized in that, comprising:
Dispensing unit, for configuring new dynamic labels scope and static labels scope, and this new label range configuration that comes into force, wherein, described new label range comprises described new dynamic labels scope and described new static labels scope;
Processing unit, for after device start, first read quiesce protocol business configuration, the required label resources of described quiesce protocol business is preengage to application, and then the described new label range configuration that comes into force, wherein, when again coming into force described new label range configuration, the label resources that falls into the reservation application in described new label range is retained;
Application unit, for to dynamic protocol business applying label resource within the scope of new dynamic labels; Quiesce protocol business is used to the label resources of having preengage or applying label resource within the scope of new static labels.
7. device as claimed in claim 6, is characterized in that, whether described dispensing unit is also correct for checking described dynamic labels scope and static labels scope value.
8. device as claimed in claim 7, it is characterized in that, described dynamic labels scope and static labels scope value are correct, comprising: label range minimum value is less than or equal to the minimum value of label range maximum and label range and maximum value all within available label scope.
9. device as claimed in claim 6, is characterized in that, also comprises:
The first allocation units, for dynamic protocol business after applying label resource, according to current dynamic labels scope, being retrieved to idle label resources within the scope of new dynamic labels in described application unit, distribute to this dynamic protocol business and use.
10. device as claimed in claim 6, is characterized in that, also comprises:
The second allocation units, for described application unit to quiesce protocol business within the scope of new static labels after applying label resource, check current static labels scope, determine this application label resources within the scope of static labels, whether idlely reexamine this label resources, if idle, carry out label resources distribution.
CN200910208518.3A 2009-10-28 2009-10-28 Conflict avoidance method and conflict avoidance device for label Active CN101697544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910208518.3A CN101697544B (en) 2009-10-28 2009-10-28 Conflict avoidance method and conflict avoidance device for label

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910208518.3A CN101697544B (en) 2009-10-28 2009-10-28 Conflict avoidance method and conflict avoidance device for label

Publications (2)

Publication Number Publication Date
CN101697544A CN101697544A (en) 2010-04-21
CN101697544B true CN101697544B (en) 2014-04-30

Family

ID=42142618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910208518.3A Active CN101697544B (en) 2009-10-28 2009-10-28 Conflict avoidance method and conflict avoidance device for label

Country Status (1)

Country Link
CN (1) CN101697544B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468245A (en) * 2014-12-31 2015-03-25 北京华为数字技术有限公司 Label distribution method and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200029B (en) * 2013-03-11 2016-04-13 烽火通信科技股份有限公司 The label distribution of webmaster to PTN/IPRan equipment and the method for management
CN105959253A (en) * 2015-11-19 2016-09-21 中国银联股份有限公司 Method and device for determining data flow to be cleaned
CN109710411B (en) * 2018-12-28 2020-09-22 深圳忆联信息系统有限公司 TLP field resource management method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6205488B1 (en) * 1998-11-13 2001-03-20 Nortel Networks Limited Internet protocol virtual private network realization using multi-protocol label switching tunnels
CN101014008A (en) * 2007-02-15 2007-08-08 杭州华为三康技术有限公司 Classification processing method and network equipment for multi-protocol label switching service
CN101047634A (en) * 2006-06-05 2007-10-03 华为技术有限公司 Allocating method for upper tag

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6205488B1 (en) * 1998-11-13 2001-03-20 Nortel Networks Limited Internet protocol virtual private network realization using multi-protocol label switching tunnels
CN101047634A (en) * 2006-06-05 2007-10-03 华为技术有限公司 Allocating method for upper tag
CN101014008A (en) * 2007-02-15 2007-08-08 杭州华为三康技术有限公司 Classification processing method and network equipment for multi-protocol label switching service

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468245A (en) * 2014-12-31 2015-03-25 北京华为数字技术有限公司 Label distribution method and device
CN104468245B (en) * 2014-12-31 2018-05-11 北京华为数字技术有限公司 label distribution method and device

Also Published As

Publication number Publication date
CN101697544A (en) 2010-04-21

Similar Documents

Publication Publication Date Title
CN110365502B (en) Service upgrade management method, device and storage medium
EP3291499B1 (en) Method and apparatus for network service capacity expansion
CN101697544B (en) Conflict avoidance method and conflict avoidance device for label
CN111580846B (en) Micro-service gray scale publishing method based on mixed framework
CN105468414B (en) A kind of upgrading method thereof and system
CN105827446A (en) Intelligent traffic API gateway and intelligent traffic service system
CN102100039B (en) Establishing pseudowires in packet switching networks
US8170540B2 (en) System and methods for remotely upgrading software applications
CN101110776B (en) Backup method, backup device and backup system for data business
ES2378475T3 (en) Method and system for updating a distributed decoder box and associated device
EP2916487B1 (en) Method and system for upgrading patching software
US20170329655A1 (en) Method and apparatus of unloading out of memory processing flow to user space
JP2008205980A (en) Information transmission system, information transmission method and information display device
US8228789B2 (en) Transmission network, transmission apparatus, channel switching method and program for transmission network
CN100428699C (en) Multi protocol label exchange performance supervision ability notifying and arranging method
CN111858007A (en) Task scheduling method and device based on message middleware
CN105471610A (en) HQoS protection method and HQoS protection device through multiple board cards
CN101505277A (en) Method, equipment and system for withdrawing from elegant restart
CN102882757A (en) Point-to-multipoint service protecting method for ring network and upper ring node in ring network
CN107193663B (en) Service message processing method and device
CN101626348B (en) System and method for realizing service support of enterprise convergence communication
CN112153495B (en) Method for managing ONU configuration and related equipment
CN104918111A (en) Live channel identification method and system of Android smart television
CN106557386A (en) Method, the apparatus and system of standby virtual network interface card virtual machine are disposed based on KVM
CN101820393B (en) Method, nodes and system for differentially processing label forwarding path

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