A kind of method for automatically correcting of label resource management
Technical field
The present invention relates to the communications field, particularly relate to a kind of method for automatically correcting of label resource management.
Background technology
Optical-fiber network comprises SDH/Sonet and wavelength network, is a kind of system based on centralized management traditionally.Optical network node normally " is made mute ", and establishment, maintenance, dismounting that light connects all need manual intervention, and the light that this mode is set up connects and is called permanent connection.This optical network system can not satisfy the continuous growth of data service, demand dynamically and flexibly, and the key that addresses this problem is dynamic light exchange.
The ASON of ITU (ASON) framework is given on the optical-fiber network has traditionally increased a control plane.Network element at first obtains the annexation (this function is finished by the link management module) of this network element and other network elements by the discovery technique of link part; Issue its node and Link State by control plane again, and the state publications of other network elements in the reception network, final each network element all has a accurately " network map " of topology of network of describing, comprising node, link, resource information (this function is finished by the route correlation module); When network element is connected by customer equipment or system administration request, utilize the information of " network map ", obtain a feasible path in conjunction with certain routing algorithm, the node that drives on the path by signaling protocol is set up interconnection again, finish the dynamic foundation that light connects up to destination node, this function is finished by signalling module GMPLS (Generalized Multi-protocol Label Switching, the exchange of general multiple protocols label); Connect dynamically foundation, remove at network, perhaps fault causes that respective network elements needed in time to issue node, the link-state information of upgrading when link circuit resource changed, and realizes the synchronous again of " network map ".In ASON, if the connection request that network element is accepted from customer equipment or agency, then the connection of at this moment setting up claims exchange to connect; If from network management system, the connection of Jian Liing at this moment claims to exchange permanent connection.
LSP is a label switched path, circuit, the business in the conventional optical network just generally, comprise in this information each node in the path sign, link sign and in this link the sign of the time interval resource that uses.The employed time interval resource of each link is exactly the notion of label in the GMPLS agreement in every LSP path.
Asymmetric time interval resource, refer to that a certain optical fiber connects 2 network elements, in a network element, there is the intersection resource for certain time interval resource of this optical fiber, and do not intersect resource for other this time slot of a network element, this intersection resource just is called asymmetric time interval resource, perhaps claims the asymmetric time slot of this time slot for being caused by asymmetric time interval resource.If in the Based Intelligent Control aspect label information of this intersection resource correspondence is arranged, then this label is an error label information.Please refer to Fig. 1, network element A has an optical fiber to be connected with B, and a lot of time interval resources are arranged in this optical fiber.Wherein all there is the intersection resource in time slot 3 in two network elements; And just there are asymmetrical intersection resource in time slot 5 and time slot 8, and there is network element A in the asymmetric time interval resource of time slot 5, and the asymmetric time interval resource of time slot 8 is present in network element B.
The reason that error label produces has following two kinds: during abnormal conditions, the error label that may produce is called intelligent error label in various control planes (intelligence) the protocol processes network; Be exactly because the asymmetric time interval resource that occurs in the conventional optical network operation is called traditional asymmetric time interval resource in addition.
Error label mainly is because some abnormal conditions of control plane protocol processes, cause occurring in the network error label, the label information that has this mistake in other words. because all protocol processes all are asynchronous and distributed in the distributed intelligence optical-fiber network, can not guarantee agreement correctness and consistency under all situations. under abnormal conditions, just may produce error label in the control aspect. such as, when certain IN service of deletion, the deletion signaling is sent from first node, but the control aspect of path intermediate node resets and restarts (such as being the warm reset situation), and this node of deletion signaling no show, error label will appear in this time. and upstream node has been deleted professional the intersection, and there is the intersection resource of this business in downstream node, just there are these error label in the signaling.
Traditional asymmetric time interval resource mainly is that artificial faulty operation causes, because the professional cross-over configuration of traditional optical-fiber network all needs manual operation.
Comprehensive reason described above, error label mainly are that the Based Intelligent Control plane produces, and before ASON occurs, generally are not have asymmetric time interval resource, unless mistake.Ordinary circumstance error label can not occur in traditional optical-fiber network, even and if occurred business existing in the network is not had any influence yet.
And in ASON, in the particularly distributed ASON, under the unusual situation of intelligent protocol than being easier to occur error label.And after occurring, can influence IN service existing in the network.Because IN service is the function with automatic recovery, just the heavy-route function after disconnected fibre takes place on the service path, can be initiated heavy-route automatically.In this time, whole network all is dynamic, and IN service also is dynamic.If in the heavy-route process, have error label in the restoration path, may cause business recovery failure, perhaps carry out repeatedly heavy-route at a service needed after, could successfully recover professional.This just greatly reduces the restorability of network.
And these error label have taken Internet resources, but any useful business can not be provided.So the existence of error label has also taken Internet resources, can influence the survivability of existing business in the network.
Do not have good solution to remove error label at present, generally all rely on artificial means to clear up.And clear up by artificial means, efficient is very low, and cost is also bigger.
Summary of the invention
The purpose of this invention is to provide a kind of method of on smart machine, clearing up error label automatically, need not artificial means and clear up, can improve the heavy-route performance and the network capacity of network effectively.
Based on above-mentioned purpose, the invention provides a kind of method for automatically correcting of label resource management, may further comprise the steps:
A kind of method for automatically correcting of label resource management may further comprise the steps:
A, detect asymmetric time slot; Described asymmetric time slot is the time slot that asymmetric time interval resource causes, wherein for there being the intersection resource in the network element of a time slot in described two network elements of an optical fiber that connects two network elements, and do not intersect resource for this time slot of another one network element, the intersection resource that exists in the described network element is asymmetric time interval resource;
B, determine whether detected described asymmetric time slot is error label, if described asymmetric time slot is an error label, execution in step C then; Wherein, if in the Based Intelligent Control aspect label of above-mentioned asymmetric time interval resource correspondence is arranged, then this label is an error label; The reason that described error label produces has following two kinds: during abnormal conditions, the error label that may produce is called intelligent error label in the various control plane protocol processes networks; Because the asymmetric time interval resource that occurs in the conventional optical network operation is called traditional asymmetric time interval resource;
C, control aspect are initiated signaling procedure and are deleted described error label.
Wherein, in the steps A, also comprise: A1, the TE Link coincidence detection condition whether that detects this network element;
A2, certain time slot in the TE Link that meets described testing conditions are seizure condition in this network element, when remote network element is idle condition, determine that this time slot is asymmetric time slot.
Wherein, the testing conditions among the A1 is: TE Link is without any alarm; The TE Link resource is the TE Link resource in the intelligent domain.
Wherein, the detection of asymmetric time slot can be periodic in the steps A, or link triggers when changing.
Wherein, among the step B, use anti-fluttering method, when continuous detecting goes out several times and all is asymmetric time slot, confirm that this asymmetric time slot is an error label.
Wherein, among the step C, comprising: C1, have the error label of this node of knot removal of error label, send Patherr message, send Pathtear message to downstream node to the LSP upstream node.
Wherein, there is error label, then deletes this error label if receive the node of the Pathtear message of its upstream node transmission, and send Pathtear message to its downstream node, if there is not error label in this node, then abandon Pathtear message, no longer send message to other nodes.
Wherein, there is error label, then deletes this error label if receive the node of the Patherr message of its downstream node transmission, and send Patherr message to its upstream node, if there is no error label then abandons Patherr message, does not send message to other nodes.
Wherein, detect asymmetric time slot before, Time Slot Occupancy situation inundation in intelligent domain of every TE Link.
Beneficial effect of the present invention is as follows: a kind of method of clearing up error label on smart machine automatically is provided, the Based Intelligent Control plane can be found these error label automatically, comprise intelligent error label and traditional asymmetric time interval resource, and need not to remove by artificial means, improve the heavy-route performance and the network capacity of network effectively.
Description of drawings
Fig. 1 is the schematic diagram of asymmetric time interval resource;
Fig. 2 is the flow chart of error label testing process of the present invention;
Fig. 3 is an error label reset procedure flow chart of the present invention;
Fig. 4 is a specific embodiment of deletion error label of the present invention.
Embodiment
The invention provides a kind of method for automatically correcting of label resource management, the Based Intelligent Control plane can be found these error label automatically, comprises intelligent error label and traditional asymmetric time interval resource, improves the heavy-route performance and the network capacity of network effectively.
Method of the present invention mainly comprises two processes: the testing process of error label and the reset procedure of error label.
One, the detection of error label
The testing process of error label mainly may further comprise the steps as shown in Figure 2:
1. detect asymmetric time slot.
Detect TE (Traffic Engineer, the traffic engineering) link circuit resource of this network element, judge whether to meet following condition: TE Link is without any alarm; With the TE Link resource be TE Link resource in the intelligent domain.Because can not use in professional heavy-route or when setting up for problematic link; Whether in addition, because for professional up and down port, perhaps the link circuit resource of the port that is connected with traditional network element is can not use on the Be Controlled plane, be the interior TE Link resource of intelligent domain so need to judge the TE Link resource.Certain time slot in the TE Link that meets above condition is seizure condition in this network element, when remote network element but is idle condition, determines that then this time slot is asymmetric time slot, and may there be error label in this time slot at this network element.Detect asymmetric time slot and can be periodic, or link triggers when changing.
2. the affirmation of error label.
Below detected asymmetric time slot, but this asymmetric time slot may not be real error label, in the process of intelligent network configuring static business, may detect asymmetric time slot state such as the user, but business configuration just can asymmetrical time slot state not appear after finishing.So confirming whether asymmetric time slot is the situation of error label, can use certain anti-fluttering method, for example in the timer running, variation has taken place in network, variation has taken place in the gap information that network element detects self TE Link, do mark with this TE Link this moment, when this timer expiry, markd TE Link is not carried out the detection of asymmetric time slot, if in next timing, the gap information of this link does not change, and begins link is carried out the detection of asymmetric time slot again.Can set the number of times that detects according to user's request,, confirm that then this asymmetric time slot is an error label if continuous detecting goes out the number of times that the number of times of asymmetric time slot reaches setting.
Among the present invention, before detecting asymmetric time slot, utilize Routing Protocol Time Slot Occupancy situation inundation in intelligent domain of every TE Link (fiber resource).
Two, the removing of error label
1. the removing of the error label of control aspect.If there are corresponding some logic entities in this error label in the control aspect of network, and these logic entities may be present in the control aspect of a plurality of network elements on the LSP path, need the control aspect to initiate signaling procedure and delete these error label.The removing flow process of error label is as shown in Figure 3:
When the node detection of LSP to error label, this node hop-by-hop sends deletion message to the upstream node of this LSP, wherein, this deletion message can be Patherr message; Judge whether wrong label of upstream node in regular turn, if upstream node does not have error label, then abandon Patherr message, no longer upstream other nodes send message; If the wrong label of upstream node is then deleted this error label, and continue to send Patherr message, and repeat above process up to the first node in the upstream of this LSP of arrival to the upstream node of this LSP.
On the other hand, when the node detection of LSP to error label, this node hop-by-hop sends deletion message to the downstream node of this LSP, wherein, this deletion message can be Pathtear message; Judge whether wrong label of downstream node in regular turn, if downstream node does not have error label, then abandon Pathtear message, other nodes no longer downstream send message; If the wrong label of downstream node is then deleted this error label, and continue to send Pathtear message, and repeat above process up to the downstream end-node that arrives this LSP to the downstream node of this LSP.
Fig. 4 is an object lesson removing error label, the routing information of a LSP, and through A, B, C, D, five nodes of E, first node is A, end-node is E.Suppose that because certain reason, this LSP has taken place unusually, A, B node be the not information of this LSP and resource, and C, D, E node residual error label information.
The C node through the testing process of error label can find this node residual the error label information of certain LSP, the error label information that C knot removal itself is residual, and to reset procedure of its upstream and downstream node initiation, can send Patherr message to the upstream node B of this LSP, send Pathtear message to the downstream node D of this LSP.
The D node receives the Pathtear message that upstream node sends, owing to there is the error label information of this LSP, then deletes this error label information, and continues the Pathtear of E transmission to downstream node message erasing error label information.
The B node receives the Patherr message that downstream node sends, because B node this LSP information not abandons Patherr message, and can not continue to send message to other nodes.
2. the removing of the error label of transport plane.In the reset procedure of error label of control aspect, the error label that transmits the plane is also deleted thereupon.
Use method of the present invention in ASON, automatically to remove because the control plane reason, the perhaps error label that produces of other reasons, improve the heavy-route performance and the survivability of network internal IN service greatly, and improved the reliability of network greatly.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.