The disclosure relates to the technology of tandem connection monitoring in an optical communication network, and in particular to a method and an apparatus for processing a tandem connection monitoring level.
At present, an Optical Transport Network (OTN) is the trend of evolution from a transmission network to an all-optical network, and is a new-generation digital and optical transmission system specified by a series of proposals from the ITU Telecommunication Standardization Sector (ITU-T), such as G.872, G.709, G.798 and the like, in which ITU-T G.709 describes related Tandem Connection Monitoring (TCM) functions of the OTN system.
In view of frame structure and overhead of the OTN, the frame structure of the OTN is mainly divided into three layers: Optical Transform Unit (OTU), Optical Data Unit (ODU) and Optical Payload Unit (OPU) layers. In the ODU layer, six levels of TCM OverHead (OH) can be defined, including a Track Tracking Identifier (TTI) for monitoring a sublayer, a Bit Interleaved Parity with length of 8 (BIP-8), a Backward Defect Indicator (BDI), a Backward Error Indicator (BEI), a State domain (STAT) configured to identifying whether a current signal is a maintenance signal, a Backward Inserting Alignment Error (BIAE) and the like, which can perform monitoring of continuity, connectivity and signal quality.
The TCM is mainly applied in two aspects: monitoring the maintenance signal and protecting a network level of the sublayer, and the multi-level TCM is one of the characteristics of the OTN and can greatly increase monitoring capability of service segment. Specifically, the six-level TCM can be implemented by nesting, overlapping and connecting, so that any segment can achieve to be monitored when ODUk connection bridges multiple optical networks or management domains. For example, a service may bridge multiple subnetworks or operators, at this moment, the TCM can be set at a network segment of each subnetwork or a zone managed by each operator, and such TCM is separate due to a different level. This characteristic of the OTN can perform performance monitoring of each zone on one path to improve capability of managing a network.
In the prior art, the level of the TCM is generally designated by a user in a network management system, which can be implemented in the case of a network of small scale and simple networking environment. However, with increase of network scale, a problem occurs very easily in a manual designation in the case of increased network segments to be monitored and a complex relationship between the network segments to be monitored.
To solve the problem occurring in the manual designation, a method of automatically allocating TCM is further proposed in a technology, which specifically comprises: configuring a domain or a range of a domain which needs to be monitored by using TCM in a network, determining ODU services which need to be monitored by using the TCM, and automatically allocating the TCM according to a path of the ODU service and the configured domain to enable or disable the TCM of each level. However, the present method has some disadvantages as following:
1) actual service networking environment is not taken into account and not suitable for network application in the actual environment; for example, service during actual networking is generally under protection, and insertion of TCM needs to consider working service and protection service including protection route, and even preset restoration route if it is in the environment of an Automatically Switched Optical Network (ASON); and
2) the level of the TCM is calculated only according to the division of a subnetwork or a domain instead of segment point of view and analysis of a relationship between segments, resulting in decrease of management flexibility of the TCM level, incapability of generating a TCM segment according to an existing configuration, and incapability of processing the case that a division is not performed according to the domain; for example, in environment of a multilevel network management system, if a lower network management system does not divide a TCM segment according to the domain, the TCM segment cannot be automatically generated in the prior art.
In view of the above problems, the main purpose of the disclosure is to provide a method and an apparatus for processing a Tandem Connection Monitoring (TCM) level, which automatically allocates a TCM level for a TCM segment and are suitable for environment of multiple network applications.
To achieve the above purposes, the technical solution of the disclosure is realized as follows.
The disclosure provides a method for processing a TCM level, which comprises:
obtaining a route of a service which needs to be configured TCM, and obtaining a TCM segment on the route of the service; and
determining a TCM segment which needs to be configured from the obtained TCM segment, and allocating a TCM level for the TCM segment which needs to be configured according to a segment relationship between the TCM segment which needs to be configured and a configured TCM segment.
In the above solution, the step of obtaining the route of the service which needs to be configured TCM may comprise: designating a name of the service which needs to be configured TCM; and querying route information of the service according to the designated name of the service.
In the above solution, the method may further comprise: after obtaining the TCM segment on the route of the service and before determining the TCM segment which needs to be configured, automatically generating a TCM segment between an insertion point of the TCM and a monitoring point of the TCM according to a TCM configuration of existing service when a TCM segment that is not obtained exists and data with TCM configured is available.
In the above solution, the step of allocating the TCM level for the TCM segment which needs to be configured may comprise: first allocating a TCM level for a TCM segment that does not nest or overlap other segment according to an order of TCM levels, and then allocating a TCM level for a TCM segment nesting or overlapping other segment when all the other segments have been allocated TCM levels, until the TCM levels are allocated for all the TCM segments.
In the above solution, the method may further comprise: before allocating the TCM level for the TCM segment which needs to be configured, calculating an available TCM level according to the existing TCM configuration of the service;
accordingly, the step of allocating the TCM level for the TCM segment which needs to be configured may further comprise: allocating the calculated available TCM level for the TCM segment which needs to be configured.
In the above solution, the method may further comprise: after allocating the TCM level for the TCM segment which needs to be configured, recording an allocable range of each TCM segment.
In the above solution, the method may further comprise: when determining that a protection route exists, obtaining an intersection of allocable ranges of TCM levels for a TCM segment on a working route and the protection route, and adjusting the TCM level allocated for the corresponding TCM segment.
In the above solution, the route of the service may comprise a working route, a protection route, a preset restoration route. The segment relationship may comprise segment nesting, segment overlapping, segment connecting, segment isolating.
The disclosure further provides an apparatus for processing a TCM level, which comprises: a service route obtaining module, a TCM segment determining module and a TCM level allocating module, wherein
the service route obtaining module is configured to obtain a routes of a service which needs to be configured TCM;
the TCM segment determining module is configured to obtain a TCM segment on the route of the service and determine a TCM segment which needs to be configured from the obtained TCM segment; and
the TCM level allocating module is configured to allocate a TCM level for the TCM segment which needs to be configured according to a segment relationship between the TCM segment which needs to be configured and a configured TCM segment.
In the above solution, the apparatus may further comprise: a storing module configured to record an allocable range of each TCM segment.
In the above solution, the apparatus may further comprise: a judging module configured to judge whether all routes are processed and determine whether a protection route exists.
In the above solution, the apparatus may further comprise: a TCM level adjusting module configured to adjust an allocable range of the TCM level of the corresponding TCM segment according to an intersection of an allocable range of a TCM level of a working route and an allocable range of a TCM level of a protection route when the service has the working route and the protection route.
The method and the apparatus for processing a TCM level provided by the disclosure obtain a route of service needing to be configured TCM, obtain a TCM segment on the route of the service, determine a TCM segment needing to be configured from the obtained TCM segment, and allocate a TCM level for the TCM segment needing to be configured according to a segment relationship between the TCM segment needing to be configured and a configured TCM segment. In this way, both an allocation of a TCM level for a designated TCM segment and an allocation of TCM levels for all TCM segments can be implemented.
The method of the disclosure can process an allocation of a TCM level for service having a protection route or a preset restoration route without configuring a subnetwork or a TCM configuration domain, so that the disclosure is applicable to an application of various actual networking environments, and has stronger adaptability and wider application range.
When performing TCM, the disclosure can determine a TCM segment needing to be configured according to a route of service and automatically obtain a TCM level of the TCM segment needing to be configured according to a segment relationship between the TCM segment needing to be configured and a configured TCM segment, so that difficulty of network maintenance can be reduced and occurrence of failure can be decreased in the case of complex networking or complex segment relationship of TCM.
The basic idea of the disclosure is: obtaining a route of a service which needs to be configured TCM, and obtaining a TCM segment on the route of the service; determining a TCM segment which needs to be configured from the obtained TCM segment, and allocating a TCM level for the TCM segment which needs to be configured according to a segment relationship between the TCM segment which needs to be configured and a configured TCM segment.
Here, the route of the service comprises a working route and a protection route, and further comprises a preset restoration route when applied in an ASON.
The TCM segment refers to a segment monitored by the TCM, including a start point and an end point, between two service nodes in the service which needs to be configured the TCM. The configured TCM segment is a TCM segment to which a TCM level is configured, which comprises a start point identifier, an end point identifier, information of the configured TCM level, and information of overhead; and the TCM segment which needs to be configured is a TCM segment to which a TCM level is not configured, which only comprises a start point identifier of the TCM segment and an end point identifier of the TCM segment.
The segment relationship between the TCM segments comprises four types: segment nesting, segment overlapping, segment connecting and segment isolating, as shown in
the segment isolating refers to that the terminal points of two segments are independent respectively, as shown in
the segment connecting refers to that a shared terminal point exists and a nesting relationship does not exist between two segments, as shown in
the segment overlapping refers to that, in two segments, one of the start point or the end point of one segment is nested by the other segment, and an intersection exists between the segments, at this moment, according to a service direction, a previous segment overlaps a next segment, where the previous segment is called an overlapped segment and the next segment is called an overlapping segment; as shown in
the segment nesting refers to that, in two segments, both the start point and the end point of one segment are nested in the other segment, at this moment, according to the service direction, a previous segment is called as nested by a next segment; as shown in
Generally, the segment connecting and the segment isolating do not affect a allocation of a TCM level; and a segment may have many segment relationships, and segment relationships thereof affecting the TCM level should be allocated completely.
A method for processing a TCM level of the disclosure is shown in
Step 201: selecting a service which needs to be configured TCM, and obtaining a route of the selected service.
Here, the step of selecting the service is designating a name of the service which needs to be configured TCM; and the step of obtaining the route of the service refers to: querying route information of the service which comprises information of a service node through which the service pass according to the designated name of the service, and determining a segment relationship between TCM segments with assistance of the route information of the service after obtaining the route information of the service, wherein the terminal points of the TCM segments definitely belong to the nodes through which the service pass, i.e., the route of the service.
Step 202: obtaining a TCM segment on the route of the selected service, and if a TCM segment that is not obtained exists and data with TCM configured is available, automatically generating a TCM segment between an insertion point of TCM and a monitoring point of TCM according to TCM configuration of existing service.
Here, the step of obtaining the TCM segment can refer to: obtaining all the existing TCM segments on the route of the service, or obtaining a designated TCM segment, and the configured TCM segment can be obtained from an existing system. For example, a Network Management System (NMS) can obtain a TCM segment configured by an Element Management System (EMS) from the EMS.
The existing service is a subnetwork connection; and the step of generating the TCM segment refers to: in an environment of a multilevel network management system, a lower network management system does not divide a TCM segment according to domain, and an upper network management system automatically generates a TCM segment according to a TCM insertion point and a TCM level; generally, a TCM insertion point and a monitoring point are paired and on a route of service, additionally using a TCM level and TCM overhead, so that a TCM segments can be generated automatically, and how to generate the TCM segment in detail is the prior art, which is not further described in detail here.
Step 203: determining a TCM segment which needs to be configured from the obtained TCM segment, and allocating a TCM level for the TCM segment which needs to be configured according to a segment relationship between the TCM segment which needs to be configured and the configured TCM segment.
Here, the determination of the TCM segment which needs to be configured can refer to: designating one or more TCM segment(s) to which a TCM level is not configured; the segment relationship comprises segment connecting, segment isolating, segment nesting and segment overlapping; and the TCM level is usually allocated from small to large or from large to small.
The process of the method for processing a TCM level will be described with reference to
Step 301: selecting a working route or a protection route of an unprocessed service.
Here, the step of selecting the route refers to: selecting the whole route of one service, and as shown in
Step 302: from one end of the service, determining a nesting relationship between the TCM segments.
In the embodiment, the nesting relationship is determined in the direction from the start point to the end point, so that the determination is started from the start point. Usually, a segment relationship between TCM segments is related to a service direction, and a different service direction causes a different segment relationship of the TCM segments based on unidirection. Information of other segments of segment nesting or segment overlapping is organized to segment information as a list of information of nesting segment or overlapping segment of the TCM segments.
Step 303: allocating a TCM level for a TCM segment to that a TCM level is not allocated according to the order of TCM levels.
Here, the step of allocating the TCM level usually comprises: first allocating a level for a TCM segment that does not nest or overlap other segment, and then allocating a level for a TCM segment nesting or overlapping other segment when all the other segments have been allocated TCM levels, until the TCM levels are allocated for all the TCM segments.
The order of the TCM levels can be either from small to large or from large to small. For a TCM segment nesting or overlapping other segment, the allocated TCM level should be less or greater than all TCM segments nested or overlapped by the TCM segment.
In the step, when the TCM level cannot be allocated, the current processing flow is finished.
Taking
In the direction from the start point of the service to the end point of the service, a TCM level is allocated for a TCM segment that is not allocated a TCM level in the direction from A1 to A8 in this embodiment. This is a cycle operation, and an object allocated each time is a TCM segment with the segment relationship of segment isolating or segment connecting, or is a TCM segment nesting or overlapping other segment when the other segment is allocated a TCM level. TCM segments that are not nested or overlapped, i.e., those with the segment relationship of segment isolating or segment connecting, such as A1:A2, A3:A4, A6:A7 and A7:A8, are found at first. In this embodiment, it is assumed that the TCM levels are allocated from small to large.
The result after the first processing is listed in table 2:
After the TCM segments that are not nested or overlapped are allocated, TCM segments nesting or overlapping other segment when the other segment is allocated a TCM level are found, such as A3:A6 and A5:A7. Since a TCM level has been allocated for a TCM segment A3:A4 nested by A3:A6, and the TCM level is 1, the TCM level of A3:A6 must be greater than 1; likewise, TCM levels have been allocated for the TCM segment A6:A7 nested by A5:A7 and the TCM segment A3:A6 overlapped by A5:A7, and the TCM levels are 1 and 2 respectively, so that the TCM level of A5:A7 must be greater than 2.
The result after the second processing is listed in table 3:
After the allocation continues to be performed according to the same principle, the result after the third processing is listed in table 4:
In the embodiment, it is assumed that all the TCM segments need to be configured, that is, no TCM level is used, and in an actual application, if another TCM level is been allocated before one TCM level is allocated for a TCM segment which needs to be configured, before step 303, the method further comprises: calculating an available TCM level according to an existing TCM configuration of the service; accordingly, the step of allocating the TCM level for the TCM segment which needs to be configured specifically comprises: allocating the calculated available TCM level for the TCM segment which needs to be configured. For example, the calculated available TCM levels are 3 to 6 according to the existing TCM configuration of the service, and then the TCM levels allocated for the TCM segments which need to be configured are in the range of 3 to 6, wherein the service can be a subnetwork connection.
Step 304: recording an allocable range of each TCM segment;
here, the allocable range refers to the TCM level currently allocated for the current TCM segment to 6. For example, the allocable range of A1:A2, A3:A4, A6:A7 and A7:A8 is 1 to 6; the allocable range of A3:A6 is 2 to 6; the allocable range of A5:A7 is 3 to 6; and the allocable range of A1:A8 is 4 to 6.
Step 305: determining whether all the routes are processed, if yes, executing step 306; otherwise, executing step 301;
when the protection route is processed, the allocable range available thereof is only recorded for a TCM segment to which a TCM level is allocated.
Step 306: determining whether the protection route exists, if yes, executing step 307; otherwise, finishing the current processing flow;
here, the protection route is identified by route information of service.
Step 307: for the TCM segment which is in a working route and a protection route, obtaining the intersection of the allocable ranges of TCM levels, and adjusting the TCM level allocated for the corresponding TCM segment.
In combination with
Service with reference to
Taking
When the service is switched, the actual TCM route is the protection route through B1 to B5, and the segment relationship between all TCM segments on the protection route is listed in table 6:
The result after the first processing is listed in table 7:
The result after the second processing is listed in table 8:
The result after the third processing is listed in table 9:
When a TCM level is allocated in the case of a protection route, only the TCM level of the TCM segment, for example, A1:A8, of the working route affected by an insertion TCM level of the protection route is adjusted. In combination with two cases that a protection route exists and the protection route does not exist, the configurable TCM level of the TCM segment A1:A8 over the protection route is 4, and the allocable range thereof is 4 to 6.
To implement the above method, the disclosure further provides an apparatus for processing a TCM level, which comprises: a service route obtaining module, a TCM segment determining module and a TCM level allocating module, wherein
the service route obtaining module is configured to obtain a route of a service which needs to be configured TCM;
the TCM segment determining module is configured to obtain a TCM segment on the route of the service and determine a TCM segment which needs to be configured from the obtained TCM segment; and
the TCM level allocating module is configured to allocate a TCM level for the TCM segment which needs to be configured according to a segment relationship between the TCM segment which needs to be configured and a configured TCM segment.
Here, the route of the service comprises a working route and a protection route, and further comprises a preset restoration route when applied in an ASON; the segment relationship comprises: segment nesting, segment overlapping, segment connecting and segment isolating; and the TCM levels are from small to large or from large to small.
Furthermore, the apparatus further comprises a storing module configured to record an allocable range of each TCM segment.
Furthermore, the apparatus further comprises a judging module configured to judge whether all routes are processed and determine whether a protection route exists; accordingly, the TCM level allocating module allocates a TCM level of a TCM segment which needs to be configured on the working route when the protection route does not exist, and allocates TCM levels of TCM segments which need to be configured on the working route and the protection route when the protection route exists.
Furthermore, the apparatus further comprises a TCM level adjusting module configured to adjust an allocable range of the TCM level of the corresponding TCM segment according to an intersection of an allocation range of a TCM level of a working route and an allocable range of a TCM level of the protection route when service has the working route and the protection route.
The above are only preferred embodiments of the disclosure and not intended to limit the scope of protection of the disclosure, and any modification, equivalent replacement, improvement and the like within the spirit and principle of the disclosure shall fall within the scope of protection of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
200910237171.5 | Nov 2009 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN2010/076790 | 9/10/2010 | WO | 00 | 5/9/2012 |