CN103200029B - The label distribution of webmaster to PTN/IPRan equipment and the method for management - Google Patents
The label distribution of webmaster to PTN/IPRan equipment and the method for management Download PDFInfo
- Publication number
- CN103200029B CN103200029B CN201310075572.1A CN201310075572A CN103200029B CN 103200029 B CN103200029 B CN 103200029B CN 201310075572 A CN201310075572 A CN 201310075572A CN 103200029 B CN103200029 B CN 103200029B
- Authority
- CN
- China
- Prior art keywords
- label
- tag
- network element
- allocation space
- labels
- 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
Links
Abstract
The invention discloses the label distribution of a kind of webmaster to PTN/IPRan equipment and the method for management, comprise the following steps: according to tag class network element needing distribute, formulate the key table corresponding with often kind of label; According to the number of labels range set allocation space that label uses; In allocation space, by the tag state setting respective labels, label is safeguarded; During label distribution, the tag class of distributing as required determines corresponding keyword, and search key table obtains corresponding allocation space, obtains the idle tag of respective number, and arrange tag state in allocation space.The present invention, according to the key table corresponding with often kind of label, provides unified label distribution model, meets the label distribution demand of plurality of devices teleservice configuration, achieves the unified management for multiple label.In addition, by supporting label distribution when multi-user operates to the control of tag state simultaneously.
Description
Technical field
The present invention relates to the management of telecommunication transmission net, be specifically related to the label distribution of webmaster to PTN/IPRan equipment and the method for management.
Background technology
Along with the fast development of telecommunication service, the scale of transmission network constantly expands, based on the MPLS (Multi-ProtocolLabelSwitching of Tag switching, multiprotocol label switching) network size is also increasing, therefore, PTN (PacketTransportNetwork, group transmission network)/IPRan (IPRadioAccessNet, comprehensive carrying and the transmission network) device type needing webmaster to manage also gets more and more.
In actual applications, according to the needs of miscellaneous service, require according to the label resources on certain regular allocation equipment, but due to device type more, the existing method that has cannot meet label distribution and management end to end, and subject matter is:
(1) existing label distribution method, the label distribution rule of ununified all kinds equipment.Such as, PTN device requires that LSP (LabelSwichingPath, label switched path) label is unique under network element; Require that PW (Pseudo-Wire, pseudo-line) label is unique under single-deck, the different single-decks under same network element then PW label can be identical.LSP and PW label is different allocation space, and LSP label can not be had identical with PW label.IPRan equipment requirement LSP and PW label are all unique under network element, and both allocation space are identical, so LSP with PW label will be prevented identical.Existing method does not set up a general model, therefore, makes tag control very difficult.
(2) existing label distribution method, the label on two network elements that directly cannot be connected to link distributes simultaneously.When business configuration end to end, need according to certain regular allocation LSP label.Such as, specify the label on a direction, the label that the network element of circuit along this direction is consistent, and the label of forward and reverse circuit keeps certain label interval; Meanwhile, the label on two network elements that link is directly connected must be identical.Existing method only considers whether label can be used on independent network element, and when teleservice is configured, the distribution of label is very inconvenient.
In sum, existing label distribution method does not support that multi-user operates, and cannot ensure that the label distributed does not cause conflict when multiple user operation.
Summary of the invention
Technical problem to be solved by this invention solves in communication system, and label distribution does not support that multi-user operates, and cannot ensure that the label distributed does not cause the problem of punching when multiple user operation.
In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is to provide the label distribution of a kind of webmaster to PTN/IPRan equipment and the method for management, comprises the following steps:
According to tag class network element needing distribute, the network element, dish and the port that often kind of labeling requirement are used combine, and generate corresponding keyword, thus make the key table corresponding with often kind of label;
According to the number of labels scope of often kind of actual use of label, formulate the allocation space of corresponding kind label;
In the allocation space of often kind of label, safeguarded label by the tag state setting respective labels, described tag state comprises the free time, locks and take three kinds;
During label distribution, the tag class of distributing as required determines corresponding keyword, with described key table for key searches the allocation space that described key table obtains respective labels, in the allocation space of this kind label, obtain the idle tag of respective number, and the state of these labels is set.
In the above-mentioned methods, according to the level of business configuration, determine tag class network element needing distribute, comprise LSP layer, PW layer, Layer 2 virtual private network layer and Layer3 Virtual Private Network layer.
In the above-mentioned methods, the generation method of keyword has three kinds:
Network element is unique, and the unique identification according to network element generates keyword;
Single-deck is unique, according to the unique identification combination producing keyword of network element and single-deck;
Port is unique, according to the unique identification combination producing keyword of network element, single-deck and port.
In the above-mentioned methods, XML file is used to set the allocation space of corresponding kind label.
In the above-mentioned methods, the concrete steps of label distribution comprise:
Step S41, determine it is at one end distributing labels on network element, or distribute identical label simultaneously on the network element of two ends;
Step S42, according to often kind of label can step-length and allocation order, traverse maximum from the minimum value of allocation space, or oppositely travel through, obtain a label;
Step S43, judge that whether the tag state of the current label traversed is idle, if need distributing labels on the network element of two ends, then judge whether the tag state of the current label traversed is all idle on the network element of two ends, by the label accumulation satisfied condition to using in tag set, and the tag state of this label is set to locking;
Step S44, judgement have used the number of tags in tag set whether to reach the number of tags needing acquisition, if reached, then take using all tag states in tag set to be set to, and distribute, and then stop obtaining label; Otherwise repeat step S42 ~ S43 to continue to obtain label, until reach maximum or the minimum value of the allocation space of this kind label, the number of tags obtained is needed if now also do not reach, then show to obtain label failure, from using tag set all labels removing locking, and tag state is set as the free time, then stop obtaining label.
The present invention, the key table corresponding with often kind of label is made according to network element needing the tag class of distributing, the corresponding label distribution space of each keyword, utilize keyword, provide unified label distribution model, meet the label distribution demand of plurality of devices teleservice configuration, achieve the unified management for multiple label.Substantially increase the versatility of label distribution and management like this, avoid and reuse label rule, and very easily increase new tag types, improve the extensibility of whole system.In addition, by supporting label distribution when multi-user operates to the control of tag state simultaneously.
Accompanying drawing explanation
Fig. 1 is method flow diagram provided by the invention;
Fig. 2 is tag state and transition diagram in the present invention;
Fig. 3 is the flow chart of label distribution in the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in detail.
As shown in Figure 1, the label distribution of webmaster provided by the invention to PTN/IPRan equipment and the method for management, comprise the following steps:
Step S1: according to the level of business configuration, determine the label resources (any label) network element needing distribute, label resources comprises: LSP layer, PW layer, L2VPN (Layer2VirtualPrivateNetwork, Layer 2 virtual private network) layer and L3VPN (Layer3VirtualPrivateNetwork, Layer3 Virtual Private Network) layer, often kind of label resources is defined as a kind of tag class.
The network element used for often kind of labeling requirement according to practical application request, dish, port combine, and generate corresponding keyword.
The generation method of keyword has three kinds:
Network element is unique, and the unique identification according to network element generates keyword;
Single-deck is unique, according to the unique identification combination producing keyword of network element and single-deck;
Port is unique, according to the unique identification combination producing keyword of network element, single-deck and port.
Generate keyword for often kind of label, make the key table corresponding with often kind of label.
As shown in table 1 to the distribution of these keywords in the embodiment of the present invention:
Table 1:
If the allocation rule of these indexes is changing afterwards to some extent, so only need the create-rule changing keyword just passable, the unique identification of single-deck is such as replaced to from the unique identification of network element, then can not duplicate allocation between each single-deck of this label originally under network element, after amendment, this label can repeat between single-deck, not reproducible in single-deck.Such model makes the amendment of allocation rule very flexible, is convenient to expansion.
Step S2: according to the number range of often kind of actual use of label, make the allocation space of each label, namely often kind of assignable minimum value of label and maximum, then write XML file, be numbered and set corresponding minimum value and maximum to tag class.If need to increase tag class, then corresponding modify XML file gets final product (increase tag class numbering and accordingly minimum value and maximum), as shown in table 2.
Table 2:
Step S3: in the allocation space (all labels between minimum value and maximum) of often kind of label, each label used has label value and tag state, by the tag state setting respective labels, label is safeguarded, tag state comprises the free time, locks and take three kinds, like this, during multi-user operation, the label of acquisition would not produce conflict.
As shown in Figure 2, change accordingly between tag state according to different operating, such as: in business configuration process, obtain idle label, then tag state becomes locking; If this business does not have configuration successful, so discharge lock tag, tag state becomes the free time; Business configuration success, so tag state is become from locking and takies; If delete this business, so tag state becomes the free time from taking.
For the label of the label taken and locking, collect and use in tag set.
Step S4: during label distribution, the tag class of distributing as required determines corresponding keyword, with the allocation space of this key table for key search key table acquisition respective labels, in the allocation space of this kind label, obtain the idle tag of respective number, and the corresponding state of these labels is set.
As shown in Figure 3, the concrete steps of step S4 are as follows:
Step S41, according to the actual needs, determines to need the label distributed to be at one end distributing labels on network element, or on the network element of two ends, distributes idle same label simultaneously.The label of some type can be supported in one end network element distribution or two ends network element distributes simultaneously:
Step S42, according to often kind of label can step-length and allocation order, traverse maximum from the minimum value of allocation space, or oppositely travel through, obtain a label.Step-length when step-length is traversal label.
The available step-length of often kind of label and allocation order are formulated in advance according to actual needs, as shown in table 3.
Table 3:
Step S43, judge that whether the tag state of the current label traversed is idle, if need distributing labels on the network element of two ends, then judge whether the tag state of the current label traversed is all idle on the network element of two ends, by the label accumulation satisfied condition to using in tag set, and the tag state of this label is set to locking, then jump to next label by step-length.
This step is mainly dealt with to single label, shown in Fig. 1 and Fig. 2, tag state can be changed, become locking from the free time, and is recorded to and uses in tag set.
Step S44, judgement have used the number of tags in tag set (number of the label obtained) whether to reach the number of tags needing acquisition, namely the number of labels of needs whether is collected, if reached, then take using all tag states in tag set to be set to, and distribute, then stop obtaining label; Otherwise repeat step S42 ~ S43 to continue to obtain label, until reach maximum or the minimum value of the allocation space of this kind label, the number of tags obtained is needed if now also do not reach, then show in the allocation space of this kind label, obtain label failure, so using in tag set all labels removing locking, and tag state is set as the free time, then stop obtaining label.
This step mainly uses the lock tag number in tag set to judge to being recorded in, before not reaching the number of needs, repeat the step of S42 and S43, all labels obtain successfully, then their state is all transformed into from locking and takies, business configuration success; Do not get all labels, then the tag state obtained is transformed into the free time from locking, and remove from using tag set, business configuration failure.
The present invention is not limited to above-mentioned preferred forms, and anyone should learn the structural change made under enlightenment of the present invention, and every have identical or close technical scheme with the present invention, all falls within protection scope of the present invention.
Claims (4)
1. the label distribution of webmaster to PTN/IPRan equipment and the method for management, is characterized in that, comprise the following steps:
According to tag class network element needing distribute, the network element, dish and the port that often kind of labeling requirement are used combine, and generate corresponding keyword, thus make the key table corresponding with often kind of label;
According to the number of labels scope of often kind of actual use of label, formulate the allocation space of corresponding kind label;
In the allocation space of often kind of label, safeguarded label by the tag state setting respective labels, described tag state comprises the free time, locks and take three kinds;
During label distribution, the tag class of distributing as required determines corresponding keyword, with described keyword for key searches the allocation space that described key table obtains respective labels, in the allocation space of this kind label, obtain the idle tag of respective number, and the state of these labels is set;
The concrete steps of label distribution comprise:
Step S41, determine it is at one end distributing labels on network element, or on the network element of two ends, distribute idle same label simultaneously;
Step S42, according to often kind of label can step-length and allocation order, traverse maximum from the minimum value of allocation space, or oppositely travel through, obtain a label;
Step S43, judge that whether the tag state of the current label traversed is idle, if need distributing labels on the network element of two ends, then judge whether the tag state of the current label traversed is all idle on the network element of two ends, by the label accumulation satisfied condition to using in tag set, and the tag state of this label is set to locking;
Step S44, judgement have used the number of tags in tag set whether to reach the number of tags needing acquisition, if reached, then take using all tag states in tag set to be set to, and distribute, and then stop obtaining label; Otherwise repeat step S42 ~ S43 to continue to obtain label, until reach maximum or the minimum value of the allocation space of this kind label, the number of tags obtained is needed if now also do not reach, then show to obtain label failure, from using tag set all labels removing locking, and tag state is set as the free time, then stop obtaining label.
2. the label distribution of webmaster to PTN/IPRan equipment as claimed in claim 1 and the method for management, is characterized in that,
According to the level of business configuration, determine tag class network element needing distribute, comprise LSP layer, PW layer, Layer 2 virtual private network layer and Layer3 Virtual Private Network layer.
3. the label distribution of webmaster to PTN/IPRan equipment as claimed in claim 1 and the method for management, it is characterized in that, the generation method of keyword has three kinds:
Network element is unique, and the unique identification according to network element generates keyword;
Single-deck is unique, according to the unique identification combination producing keyword of network element and single-deck;
Port is unique, according to the unique identification combination producing keyword of network element, single-deck and port.
4. the label distribution of webmaster to PTN/IPRan equipment as claimed in claim 1 and the method for management, is characterized in that, uses XML file to set the allocation space of corresponding kind label.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310075572.1A CN103200029B (en) | 2013-03-11 | 2013-03-11 | The label distribution of webmaster to PTN/IPRan equipment and the method for management |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310075572.1A CN103200029B (en) | 2013-03-11 | 2013-03-11 | The label distribution of webmaster to PTN/IPRan equipment and the method for management |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103200029A CN103200029A (en) | 2013-07-10 |
CN103200029B true CN103200029B (en) | 2016-04-13 |
Family
ID=48722395
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310075572.1A Active CN103200029B (en) | 2013-03-11 | 2013-03-11 | The label distribution of webmaster to PTN/IPRan equipment and the method for management |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103200029B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107018003A (en) * | 2016-01-28 | 2017-08-04 | 中兴通讯股份有限公司 | A kind of service label method and device for planning |
CN109688055B (en) * | 2018-03-30 | 2022-01-25 | 新华三技术有限公司 | Message processing method and device |
CN109768900B (en) * | 2019-01-04 | 2020-09-15 | 烽火通信科技股份有限公司 | Method and system for processing second-level performance of network element |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1698329A (en) * | 2003-03-26 | 2005-11-16 | 日本电信电话株式会社 | GMPLS+IP/MPLS node and IP/MPLS node |
CN101043464A (en) * | 2006-06-09 | 2007-09-26 | 华为技术有限公司 | Method and system for solving label interference |
CN101594341A (en) * | 2008-05-29 | 2009-12-02 | 华为技术有限公司 | Multiprotocol label switching management method and device |
CN101697544A (en) * | 2009-10-28 | 2010-04-21 | 中兴通讯股份有限公司 | Conflict avoidance method and conflict avoidance device for label |
-
2013
- 2013-03-11 CN CN201310075572.1A patent/CN103200029B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1698329A (en) * | 2003-03-26 | 2005-11-16 | 日本电信电话株式会社 | GMPLS+IP/MPLS node and IP/MPLS node |
CN101043464A (en) * | 2006-06-09 | 2007-09-26 | 华为技术有限公司 | Method and system for solving label interference |
CN101594341A (en) * | 2008-05-29 | 2009-12-02 | 华为技术有限公司 | Multiprotocol label switching management method and device |
CN101697544A (en) * | 2009-10-28 | 2010-04-21 | 中兴通讯股份有限公司 | Conflict avoidance method and conflict avoidance device for label |
Also Published As
Publication number | Publication date |
---|---|
CN103200029A (en) | 2013-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105208622B (en) | A kind of route selection method and method for managing route table of the router-table structure that high-efficiency dynamic is safeguarded automatically | |
CN103379032A (en) | Acquisition method and device for cross-domain end-to-end route and secondary route computation element | |
CN102325049B (en) | Method for uniformly configuring and managing ports of multiple telecommunication equipment single disks by webmaster | |
CN104486445A (en) | Distributed extendable resource monitoring system and method based on cloud platform | |
CN104521192A (en) | Techniques for flooding optimization for link state protocols in a network topology | |
CN103200029B (en) | The label distribution of webmaster to PTN/IPRan equipment and the method for management | |
CN109474023B (en) | Intelligent power distribution network section real-time updating method and system, storage medium and terminal | |
CN103838770A (en) | Logic data partition method and system | |
CN101477386B (en) | Timer implementing method and apparatus | |
CN103338162A (en) | Bidirectional asymmetric distribution method and device of frequency spectrum resources of optical network | |
CN103559032A (en) | Device and method for managing objects of embedded system | |
CN102082832B (en) | Data storage method and device in distributed file system | |
CN104821957B (en) | A kind of implementation method of BFD state machines, apparatus and system | |
WO2012068833A1 (en) | Method and system for collecting alarm and performance of communication device | |
CN106789624A (en) | One kind failure route recovery method | |
CN104378427A (en) | Method for maintaining consistency of key data of clusters | |
CN106341497A (en) | Digital ID generating method and apparatus | |
CN100596087C (en) | FTN matching management method | |
CN103064794A (en) | Method for realizing efficient multiple protocol label switching (MPLS) label management | |
CN104683148A (en) | Uniform port model and method for accessing logical port thereof | |
CN103369416A (en) | Method for analyzing Ethernet passive optical network (EPON) redundant networking reliability | |
CN103117883B (en) | A kind of packet equipment running status synchronous method | |
CN101567743B (en) | Computation method and device for multiplex section sharing guard ring misconnection squelching table | |
WO2012071936A1 (en) | Method and device for multilayer protection | |
CN105704189B (en) | Correlation method, device and system between upper layer link and lower layer link |
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 |