CN106330512B - Method and device for generating protection subnet - Google Patents

Method and device for generating protection subnet Download PDF

Info

Publication number
CN106330512B
CN106330512B CN201510375764.3A CN201510375764A CN106330512B CN 106330512 B CN106330512 B CN 106330512B CN 201510375764 A CN201510375764 A CN 201510375764A CN 106330512 B CN106330512 B CN 106330512B
Authority
CN
China
Prior art keywords
protection
port
service
relationship
network element
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
CN201510375764.3A
Other languages
Chinese (zh)
Other versions
CN106330512A (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.)
Nanjing ZTE New Software Co Ltd
Original Assignee
Nanjing ZTE New Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing ZTE New Software Co Ltd filed Critical Nanjing ZTE New Software Co Ltd
Priority to CN201510375764.3A priority Critical patent/CN106330512B/en
Priority to PCT/CN2015/093433 priority patent/WO2017000451A1/en
Publication of CN106330512A publication Critical patent/CN106330512A/en
Application granted granted Critical
Publication of CN106330512B publication Critical patent/CN106330512B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements

Abstract

The invention provides a method and a device for generating a protection subnet. Wherein, the method comprises the following steps: determining a protection relation port of the end-to-end service passing through a network element according to the physical route of the end-to-end service; generating a protection group of the service passing through the network element and port service information according to the protection relation port and the protection parameter of the end-to-end service; and generating a protection sub-network related to the end-to-end service according to the protection group of the service passing through the network element and the port service information. The invention solves the technical problems of complex process and low efficiency of configuring the service protection subnet in the related technology, reduces manual operation and improves configuration efficiency.

Description

Method and device for generating protection subnet
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for generating a protection subnet.
Background
With the development of communication network technology, communication traffic is continuously increasing, and accordingly, the number of services and protection groups supported by a network element management system responsible for maintaining and managing network element devices is increasing, and meanwhile, a protection function is used more and more frequently in transmission system engineering as an important function of the network element management system, so that the time required for maintaining service protection is also increasing.
The protection system on the network element equipment consists of four parts, namely a detector, a controller, an actuator and a protocol transmitter, wherein the detector is responsible for detecting an alarm; the controller is responsible for the calculation of the protection protocol and the control of the whole protection system process; the executor is responsible for service switching; the protocol forwarder is responsible for Automatic Protection Switching (APS) protocol forwarding. In order to implement a Protection system on a network element device, a Protection group and port service, a multicast routing, a Protection mode, a high-order channel Tandem Connection Monitoring (TCM) working mode, an APS/Protection Communication Channel (PCC) overhead monitoring enable, and the like need to be configured in a network element management system.
The service protection sub-network is a subset formed by dividing a network element into networks according to the protection of a multiplex section, a channel layer, an electric layer and a client side, and the existing methods for configuring the service protection sub-network include two methods:
The first method is as follows: the single point configuration means that a protection group and a port service are sequentially configured on a network element through which the service passes, then related functions of the protection group and the port service, such as a protection mode, a TCM (trusted cryptography Module) working mode, APS/PCC overhead monitoring enable, multicast routing and the like, are configured, and finally, a fiber cable connection is configured and a protection subnet is searched.
The disadvantages of the first method are: configuring a protection group and a port service for a plurality of times, for example, if the service passes through 10 network elements, 10 protection groups need to be configured; the process of configuring the protection group and the port service is complex and is easy to make mistakes; the protection group related function is associated with the protection relationship port of the protection group, and the protection relationship port of the protection group needs to be remembered in advance when the protection group related function is configured each time.
The second method is as follows: and (3) protection view configuration, namely, automatically discovering services after configuring fiber cable connection, then creating protection sub-networks, protection groups and port services in a protection view, and finally configuring related functions of the protection groups and the port services.
The disadvantages of the second method are: the manual creation of the protection subnet has six steps, and each step needs a user to select or confirm configuration data, so that the configuration process is complicated; the protection group related function is associated with the protection relationship port of the protection group, and the protection relationship port of the protection group needs to be remembered in advance when the protection group related function is configured each time.
Therefore, for transmission system engineering, the existing method for configuring the service protection subnet has great limitation and cannot meet the requirements of testing and engineering.
Aiming at the technical problems of complex process and low efficiency of configuring a service protection subnet in the related technology, no effective solution is provided at present.
Disclosure of Invention
The invention provides a method and a device for generating a protection subnet, which are used for at least solving the technical problems of complex process and low efficiency of configuring a service protection subnet in the related technology.
According to an aspect of the present invention, there is provided a protection subnet generating method, including: determining a protection relation port of the end-to-end service passing through a network element according to the physical route of the end-to-end service; generating a protection group of the service passing through a network element and port service information according to the protection relation port and the protection parameter of the end-to-end service; and generating and issuing a protection sub-network related to the end-to-end service according to the protection group of the service passing through the network element and the port service information.
Preferably, before determining that the service of the end-to-end service passes through the protection relationship port of the network element according to the physical route of the end-to-end service, the method further includes: initialization data, wherein the initialization data comprises: querying the physical route of the end-to-end service; caching the protection parameters of the end-to-end service; and inquiring the service passing network element of the end-to-end service.
Preferably, determining, according to the physical route of the end-to-end service, that the service of the end-to-end service passes through the protection relationship port of the network element includes: analyzing the physical route, a source port and a sink port of the end-to-end service, distinguishing a working path and a protection path, traversing the working path and the protection path by using a depth-first algorithm with the sink port as a search starting point until the source port is found, recording a traversed port list, and generating an ordered working or protection path port list; traversing the working or protection path port list, analyzing a protection relationship port, a detection port and service information on a path, and generating a protection relationship of the service passing through a network element and the port service information; and calculating the protection group name, the protection group ID, the controller and the actuator of the service passing through the network element, and combining the protection parameters of the end-to-end service to generate the protection group and the port service information of the service passing through the network element.
Preferably, generating a protection group of the service via the network element and port service information according to the protection relationship port and the protection parameter of the end-to-end service includes at least one of: calculating and setting a protection mode related to a protection relation receiving port of the protection group; calculating and setting a high-order channel series connection monitoring (TCM) working mode related to the protection relation port of the protection group; calculating and setting the multicast route related to the protection group; calculating and setting Automatic Protection Switching (APS)/Protection Communication Channel (PCC) overhead monitoring enablement associated with the protection relationship protection port of the protection group.
Preferably, the calculating and setting the protection mode related to the protection relationship receiving port of the protection group comprises: obtaining a protection mode parameter from the protection parameter of the end-to-end service; inquiring a protection group object of the service passing through the network element from a network management database to generate a protection relation receiving port list; and configuring the protection mode of the single board where the protection relation receiving port in the protection relation receiving port list is located according to the protection mode parameter.
Preferably, configuring, according to the protection mode parameter, the protection mode of the board where the protection relationship receiving port in the protection relationship receiving port list is located includes: inquiring the protection mode of the single board where the protection relation receiving port is located from the network management database, and checking whether the single board is configured with the protection mode; updating the protection mode of the single board according to the protection mode parameters under the condition that the single board is configured with the protection mode; otherwise, generating the protection mode of the single board according to a preset rule, and updating the protection mode of the single board according to the protection mode parameter.
Preferably, calculating and setting the TCM operation mode related to the protection relationship port of the protection group comprises: acquiring TCM working mode parameters from the protection parameters of the end-to-end service under the condition that the TCM working mode needs to be processed; inquiring a protection group object of the service passing through the network element from a network management database to generate a protection relation port list; and configuring the TCM working mode of the protection relationship port in the protection relationship port list according to the TCM working mode parameters.
Preferably, configuring the TCM operation mode of the protection relationship port in the protection relationship port list according to the TCM operation mode parameter includes: inquiring the TCM working mode of the protection relation port from the network management database, and checking whether the TCM working mode is configured for the protection relation port; under the condition that the single board is configured with a TCM working mode, updating the TCM working mode of the protection relationship port according to the TCM working mode parameters; otherwise, generating the TCM working mode of the protection relationship port according to a preset rule, and updating the TCM working mode of the protection relationship port according to the TCM working mode parameters.
Preferably, the calculating and setting the multicast route related to the protection group comprises: acquiring multicast routing parameters from the protection parameters of the end-to-end service under the condition that the multicast routing needs to be processed is judged; inquiring a protection group object of the service passing through the network element from a network management database to generate a multicast group of the protection group; and calculating the multicast route of the multicast group according to the multicast group and the fiber cable connection.
Preferably, the calculating and setting of APS/PCC overhead monitoring enabling related to the protection relationship protection port of the protection group includes: acquiring APS/PCC overhead monitoring enabling parameters from the protection parameters of the end-to-end service under the condition that APS/PCC overhead monitoring enabling needs to be processed; inquiring a protection group object of the service passing through the network element from a network management database to generate a protection relation protection port list; and configuring APS/PCC overhead monitoring enabling of the protection relationship protection port in the protection relationship protection port list according to the APS/PCC overhead monitoring enabling parameter.
Preferably, configuring the APS/PCC overhead monitoring enabling of the protection relationship protection port in the protection relationship protection port list according to the APS/PCC overhead monitoring enabling parameter includes: inquiring APS/PCC overhead monitoring enabling of the protection relationship protection port from the network management database, and checking whether the protection relationship protection port is configured with APS/PCC overhead monitoring enabling; updating the APS/PCC overhead monitoring enabling of the protection relationship protection port according to the APS/PCC overhead monitoring enabling parameter under the condition that the single board is configured with the APS/PCC overhead monitoring enabling; otherwise, generating APS/PCC overhead monitoring enable of the protection relationship protection port according to a preset rule, and updating the APS/PCC overhead monitoring enable of the protection relationship protection port according to the APS/PCC overhead monitoring enable parameter.
According to another aspect of the present invention, there is also provided a protection subnet generating apparatus, including: a determining module, configured to determine, according to a physical route of an end-to-end service, a protection relationship port through which a service of the end-to-end service passes a network element; a first generating module, configured to generate a protection group of the service passing through a network element and port service information according to the protection relationship port and the protection parameter of the end-to-end service; and a second generating module, configured to generate a protection subnet related to the end-to-end service according to the protection group of the service passing through the network element and the port service information.
By the invention, the physical route according to the end-to-end service is adopted to determine the protection relation port of the end-to-end service passing through the network element; generating a protection group of the service passing through the network element and port service information according to the protection relation port and the protection parameter of the end-to-end service; according to the protection group of the service passing through the network element and the port service information, a protection sub-network related to the end-to-end service is generated, the technical problems of complex process and low efficiency of configuring the service protection sub-network in the related technology are solved, manual operation is reduced, and configuration efficiency is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
Fig. 1 is a flow chart of a protection subnet generation method according to an embodiment of the present invention;
Fig. 2 is a flowchart of a protection subnet generation method according to a preferred embodiment of the present invention;
FIG. 3 is a flow diagram of the generation of protection group and port traffic in accordance with a preferred embodiment of the present invention;
FIG. 4 is a flow diagram of processing protection modes in accordance with a preferred embodiment of the present invention;
FIG. 5 is a flow chart for handling TCM modes of operation according to a preferred embodiment of the present invention;
Fig. 6 is a flow chart of handling multicast routing according to a preferred embodiment of the present invention;
FIG. 7 is a flowchart for handling APS/PCC overhead monitoring enablement in accordance with a preferred embodiment of the present invention;
Fig. 8 is a schematic structural diagram of a protection subnet generating apparatus according to an embodiment of the present invention;
Fig. 9 is a schematic structural diagram of an apparatus for configuring a service protection subnet end to end according to a preferred embodiment of the present invention;
Fig. 10 is a schematic diagram of a preferred structure of a protection-related function processing module according to a preferred embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Fig. 1 is a flowchart of a method for generating a protection subnet according to an embodiment of the present invention, and as shown in fig. 1, the flowchart includes the following steps:
Step S102, determining a protection relation port of the end-to-end service passing through a network element according to the physical route of the end-to-end service;
Step S104, generating a protection group of the service passing through the network element and port service information according to the protection relation port and the protection parameter of the end-to-end service;
And step S106, generating and issuing a protection sub-network related to the end-to-end service according to the protection group of the service passing through the network element and the port service information.
Through the steps, the protection sub-network related to the end-to-end service is generated and issued by utilizing the relation among the end-to-end service, the protection sub-network, the protection group and the related functions of the protection group, so that automatic configuration is realized, the technical problems of complex process and low efficiency in configuring the service protection sub-network in the related technology are solved, manual operation is reduced, and configuration efficiency is improved.
Preferably, before step S102, it may further check whether the end-to-end service has a condition for configuring the protection subnet, the protection group, and the function related to the protection group, and if the condition is not met, end the generation of the protection subnet.
Preferably, if the above condition is met, before step S102, data may be initialized, where the initializing data includes: inquiring the physical route of the end-to-end service; caching the protection parameters of the end-to-end service; the service for querying the end-to-end service passes through the network element (e.g., the board object and the network element object), and the like.
Preferably, in step S102, the physical route of the end-to-end service may be analyzed, a protection relationship port through which the service passes the network element is determined, and a protection group and port service information through which the service passes the network element are generated in combination with the protection parameter of the end-to-end service. For example, analyzing a physical route, a source port and a sink port of an end-to-end service, distinguishing a working path and a protection path, traversing the working path and the protection path by using a depth-first algorithm with the sink port as a search starting point until the source port is found, recording a traversed port list, and generating an ordered working or protection path port list; traversing a working or protection path port list, analyzing a protection relationship port, a detection port and service information on a path, and generating a protection relationship and port service information of a service passing through a network element; and calculating the protection group name, the protection group ID, the controller and the actuator of the service passing through the network element, and combining the protection parameters of the end-to-end service to generate the protection group and port service information of the service passing through the network element.
Preferably, in step S104, multithreading may be used to create protection group and port traffic information of traffic passing through the network element, where the threads respectively perform one of the following operations: calculating and setting a protection mode related to a protection relation receiving port of a protection group; calculating and setting a high-order channel series connection monitoring (TCM) working mode related to a protection relation port of a protection group; calculating and setting multicast routes related to the protection group; calculating and setting Automatic Protection Switching (APS)/Protection Communication Channel (PCC) overhead monitoring enabling related to a protection relationship protection port of a protection group. By the method, the protection sub-network and the protection group related to the service can be automatically calculated by analyzing the port list through which the end-to-end service passes, and then the configuration data of the related functions of the protection group is automatically generated by combining the protection relationship port of the protection group and the protection parameters of the end-to-end service.
Preferably, in the process of creating the protection group and port service information of the service passing through the network element by using multiple threads, if the process is not abnormal, the protection subnet is continuously created, otherwise, the created protection group and port service information are deleted, and the generation of the protection subnet is finished.
Preferably, in step S106, according to the protection group of the service passing through the network element and the port service information obtained in step S104, a protection subnet identifier (Identification, abbreviated as ID), a management state, a switching state, and an associated protection group list unique to the entire network are calculated, so as to generate a protection subnet related to the service.
Fig. 2 is a flowchart of a protection subnet generating method according to a preferred embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
Step S201, checking whether the end-to-end service has the conditions of configuring the protection sub-network, the protection group and the related functions of the protection group;
Step S202, if the condition is not met, the processing flow is exited, otherwise, the step S203 is executed;
Step S203, initializing data, inquiring end-to-end service physical routing, caching end-to-end service protection parameters, and inquiring a single board and a network element object of the end-to-end service passing through a network element;
Step S204, analyzing the physical route of the end-to-end service, determining a protection relation port of the service passing through the network element, and generating a protection group of the service passing through the network element and port service information by using multiple threads in combination with the protection parameter of the end-to-end service;
Step S205, according to the protection group of the network element through which the service passes and the port service information, calculating the unique protection subnet ID, the management state, the switching state and the associated protection group list of the whole network, and generating the structure of the service-related protection subnet;
Step S206, a protection group and a protection sub-network are created, and multithreading is used for creating the protection group of the service passing through the network element and the port service information;
Step S207, checking whether the creation of the protection group and the port service information is successful, if the creation is failed, executing step S208, otherwise executing step S209;
Step S208, deleting the created protection group and port service information, and exiting the processing flow;
Step S209, calculating and setting the protection mode related to the protection group protection relationship receiving port, and continuing to execute step S210 regardless of whether the step fails;
Step S210, calculating and setting a TCM working mode related to a protection relationship port of the protection group, and continuing to execute step S211 no matter whether the step fails or not;
Step S211, according to the end-to-end service protection parameter and the protection group and port service in step S204, checking whether to process multicast routing or APS/PCC overhead monitoring enable;
Step S212, if the multicast routing needs to be processed, the multicast routing related to the protection group is calculated and set, and the processing flow is finished;
Step S213, if the APS/PCC overhead monitoring enable needs to be processed, the APS/PCC overhead monitoring enable related to the protection group protection relationship port is calculated and set, and the processing flow is ended;
Fig. 3 is a preferred flowchart of step S204 according to a preferred embodiment of the present invention, and as shown in fig. 3, the following steps may be preferably included in step S204:
Step S301, analyzing physical route and source/sink ports of end-to-end service, distinguishing working path and protection path, traversing working and protection path by using depth-first algorithm with sink port as search starting point until source port is found, recording port list traversed by this operation, and generating an ordered working or protection path port list;
Step S302, traversing the ordered working or protection path port list in step S301, analyzing a protection relationship port, a detection port and service information on a path, and generating a protection relationship and port service information of a service passing through a network element;
Step S303, calculating the protection group name, the protection group ID, the controller, the actuator and the like of the service passing through the network element, and generating the protection group and port service information related to the network element by combining the protection parameters of the end-to-end service;
Step S304, according to the end-to-end service physical route, the protection parameters, the network element version and the like, the protection group and the port service information in step S303 are optimized.
Preferably, in step S209, a protection mode parameter is obtained from a protection parameter of the end-to-end service; inquiring a protection group object of a service passing through a network element from a network management database, and generating a protection relation receiving port list; and configuring the protection mode of the single board where the protection relation receiving port in the protection relation receiving port list is located according to the protection mode parameters.
Preferably, configuring, according to the protection mode parameter, the protection mode of the board where the protection relationship receiving port in the protection relationship receiving port list is located includes: inquiring the protection mode of the single board where the protection relation receiving port is located from a network management database, and checking whether the single board is configured with the protection mode; under the condition that the single board is configured with the protection mode, updating the protection mode of the single board according to the protection mode parameters; otherwise, generating the protection mode of the single board according to the preset rule, and updating the protection mode of the single board according to the protection mode parameter.
Fig. 4 is a preferred flowchart of step S209 according to a preferred embodiment of the present invention, and as shown in fig. 4, the following steps may be preferably included in step S209:
Step S401, inquiring a network element protection group object from a network management database, and generating a protection relation receiving port list;
Step S402, obtaining the relevant parameters of the protection mode from the end-to-end service protection parameters;
Step S403, inquiring the protection mode of the single board where the protection relation receiving port is located from the network management database;
Step S404, checking whether the single board where the protection relation receiving port is located is configured with a protection mode, if not, executing step S405, otherwise, executing step S406;
Step S405, generating a protection mode of a single board where a protection relation receiving port is located according to a default rule;
Step S406, according to the relevant parameters of the protection mode in step S402, modifying the protection mode relevant to the protection relation receiving port in step S403 or step S405;
Step S407, the modified protection modes are sequentially issued to the relevant network elements.
Preferably, in step S210: acquiring TCM working mode parameters from the protection parameters of the end-to-end service under the condition that the TCM working mode needs to be processed; inquiring a protection group object of a service passing through a network element from a network management database to generate a protection relation port list; and configuring the TCM working mode of the protection relation port in the protection relation port list according to the TCM working mode parameters.
Preferably, configuring the TCM operation mode of the protection relationship port in the protection relationship port list according to the TCM operation mode parameter includes: inquiring the TCM working mode of the protection relation port from the network management database, and checking whether the TCM working mode is configured for the protection relation port; under the condition that the single board is configured with the TCM working mode, updating the TCM working mode of the protection relationship port according to the TCM working mode parameters; otherwise, generating a TCM working mode of the protection relationship port according to a preset rule, and updating the TCM working mode of the protection relationship port according to TCM working mode parameters.
Fig. 5 is a preferred flowchart of step S210 according to a preferred embodiment of the present invention, and as shown in fig. 5, the following steps may be preferably included in step S210:
Step S501, acquiring TCM working mode related parameters from end-to-end service protection parameters;
Step S502, judging whether the TCM working mode needs to be processed, if not, executing step S503; otherwise, executing step S504;
Step S503, quitting the operation flow processing;
Step S504, inquire about protecting the group object from the network management database, produce and protect the port list of the relation;
Step S505, inquiring the TCM working mode related to the protection relation port from the network management database;
Step S506, checking whether the protection relationship port configures a TCM operating mode, and if not, executing step S507; otherwise, executing step S508;
Step S507, generating a TCM working mode related to the protection relationship port according to a default rule;
Step S508, according to the TCM operation mode related parameters in step S501, modifying the TCM operation mode related to the protection relationship port in step S505 or step S507;
Step S509, the modified TCM operation modes are sequentially issued to the relevant network elements.
Preferably, in step S212: acquiring multicast routing parameters from the protection parameters of the end-to-end service under the condition that the multicast routing needs to be processed is judged; inquiring a protection group object of a service passing through a network element from a network management database to generate a multicast group of a protection group; and calculating the multicast route of the multicast group according to the multicast group and the fiber cable connection.
Fig. 6 is a preferred flowchart of step S212 according to a preferred embodiment of the present invention, and as shown in fig. 6, the following steps may be preferably included in step S212:
Step S601, obtaining multicast route related parameters from end-to-end service protection parameters;
Step S602, checking whether the multicast routing needs to be processed, and if not, executing step S603; otherwise, executing step S604;
Step S603, exiting the operation processing flow;
Step S604, inquiring the protection group object of the service passing through the network element from the network management database;
Step S605, generating a multicast group related to the protection group according to the protection group object of the network element;
Step S606, according to the multicast group and the fiber cable connection, calculating the multicast route related to the multicast group;
Step S607, the multicast routes related to the multicast group are sequentially issued to the related network elements.
Preferably, in step S213: under the condition that APS/PCC overhead monitoring enabling needs to be processed, APS/PCC overhead monitoring enabling parameters are obtained from protection parameters of end-to-end services; inquiring a protection group object of a service passing through a network element from a network management database to generate a protection relation protection port list; and configuring APS/PCC overhead monitoring enabling of the protection relationship protection port in the protection relationship protection port list according to the APS/PCC overhead monitoring enabling parameters.
Preferably, configuring the APS/PCC overhead monitoring enabling of the protection relationship protection port in the protection relationship protection port list according to the APS/PCC overhead monitoring enabling parameter includes: inquiring APS/PCC overhead monitoring enabling of a protection relation protection port from a network management database, and checking whether the protection relation protection port is configured with the APS/PCC overhead monitoring enabling; under the condition that the single board is configured with APS/PCC overhead monitoring enabling, updating APS/PCC overhead monitoring enabling of a protection relationship protection port according to APS/PCC overhead monitoring enabling parameters; otherwise, generating APS/PCC overhead monitoring enabling of the protection relationship protection port according to a preset rule, and updating the APS/PCC overhead monitoring enabling of the protection relationship protection port according to APS/PCC overhead monitoring enabling parameters.
Fig. 7 is a preferred flowchart of step S213 according to a preferred embodiment of the present invention, and as shown in fig. 7, the following steps may be preferably included in step S213:
Step S701, acquiring APS/PCC overhead monitoring enabling related parameters from end-to-end service protection parameters;
Step S702, checking whether APS/PCC overhead monitoring enable needs to be processed, if the APS/PCC overhead monitoring enable does not need to be processed, executing step S703, otherwise executing step S704;
Step S703, quitting the operation processing flow;
Step S704, inquiring the protection group object from the network management database, and generating a protection relation protection port list;
Step S705, inquiring APS/PCC overhead monitoring enabling related to a protection relation protection port from a network management database;
Step S706, checking whether the protection relationship protection port configures APS/PCC overhead monitoring enable, if not, executing step S707, otherwise, executing step S708;
Step S707, generating APS/PCC overhead monitoring enable related to the protection relationship protection port according to a default rule;
Step S708, according to the APS/PCC overhead monitoring enable related parameter in step S701, modifying the APS/PCC overhead monitoring enable related to the protection relationship protection port in step S705 or step S707;
Step S709, the modified APS/PCC overhead monitoring enables are sequentially issued to the relevant network elements.
In the above embodiment, the protection relationship includes a work unit and a protection unit, and the work unit/protection unit includes a sending port and a receiving port. The protection relationship port comprises a sending port and a receiving port contained in the working unit/the protection unit, which are also called as protection group resources; a protection relationship receiving port, also called a protection channel; the protection relationship protection port is also called a protection group protection resource.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a protection subnet generating device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description of the device already made is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 8 is a block diagram of a structure of a protection subnet generating apparatus according to an embodiment of the present invention, as shown in fig. 8, the apparatus includes: the system comprises a determining module 82, a first generating module 84 and a second generating module 86, wherein the determining module 82 is configured to determine, according to a physical route of an end-to-end service, a protection relationship port through which the service of the end-to-end service passes a network element; a first generating module 84, coupled to the determining module 82, configured to generate a protection group of a service passing through a network element and port service information according to a protection relationship port and a protection parameter of an end-to-end service; and a second generating module 86, coupled to the first generating module 84, configured to generate a protection subnet related to the end-to-end service according to the protection group of the service via the network element and the port service information.
The embodiment also provides a device for configuring the service protection sub-network end to end. Fig. 9 is a schematic structural diagram of an apparatus for configuring a service protection subnet end to end according to a preferred embodiment of the present invention, as shown in fig. 9, the apparatus includes:
The system comprises a preprocessing module, a protection group module and a service module, wherein the preprocessing module is used for determining whether an end-to-end service has conditions for configuring a protection subnet, a protection group and a protection related function, such as whether the end-to-end service is a protected service or not and whether the protection group is configured or not;
An initialization module, configured to initialize relevant configuration data, such as caching end-to-end service protection parameters, querying a physical route relevant to an end-to-end service, and the like;
A protection group processing module (for implementing the function of the first generation module 84 described above) for generating and setting a protection group and port traffic related to the end-to-end traffic;
A protection subnet processing module (for implementing the function of the second generating module 86) for generating and setting a protection subnet related to the end-to-end service;
And the protection related function processing module is used for generating and setting protection related functions, such as a protection mode, a TCM working mode, APS/PCC overhead monitoring enabling, multicast routing and the like.
Fig. 10 is a schematic diagram of a preferred structure of a protection-related function processing module according to a preferred embodiment of the present invention, and as shown in fig. 10, the protection-related function processing module may further include:
The protection mode module is used for processing the related functions of the protection mode according to the service information of the protection group and the port;
The TCM working mode module is used for processing related functions of the TCM working mode according to the service information of the protection group and the port;
The multicast routing module is used for processing related functions of the multicast routing according to the service information of the protection group and the port;
And the APS/PCC overhead monitoring enabling module is used for processing APS/PCC overhead monitoring enabling related functions according to the service information of the protection group and the port.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in a plurality of processors.
The embodiment of the present invention also provides software for executing the technical solutions described in the above embodiments and preferred embodiments.
The embodiment of the invention also provides a storage medium. In the present embodiment, the storage medium described above may be configured to store program code for performing the steps of:
S1, determining the protection relationship port of the end-to-end service passing through the network element according to the physical route of the end-to-end service;
S2, generating a protection group of the service passing through the network element and port service information according to the protection relation port and the protection parameter of the end-to-end service;
And S3, generating a protection sub-network related to the end-to-end service according to the protection group of the service passing through the network element and the port service information.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
In summary, compared with the prior art, the above embodiment or preferred embodiment of the present invention has the following beneficial effects:
1. The configuration data of the protection sub-network and the protection group is automatically generated through the end-to-end service, so that the configuration flows of the protection sub-network and the protection group are simplified;
2. The related protection functions are automatically configured through the end-to-end service, so that the error probability of the configuration of the related protection functions is reduced, and the requirements of engineering maintenance and external test are met;
3. Automatically optimizing a protection group and a port service related to the end-to-end service by analyzing the protection parameters and the like of the end-to-end service;
4. The provided subnet configuration service protection process is transparent to users, and user experience is good.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. A method for generating a protection subnet, comprising:
Determining a protection relationship port of the end-to-end service passing through the network element according to the physical route of the end-to-end service, wherein the determining of the protection relationship port of the end-to-end service passing through the network element according to the physical route of the end-to-end service comprises the following steps: analyzing a physical route, a source port and a sink port of end-to-end service, distinguishing a working path and a protection path, traversing the working path and the protection path by using a depth-first algorithm with the sink port as a search starting point until the source port is found, recording a traversed port list, and generating an ordered working or protection path port list;
Generating a protection group of the service passing through a network element and port service information according to the protection relation port and the protection parameter of the end-to-end service;
And generating and issuing a protection sub-network related to the end-to-end service according to the protection group of the service passing through the network element and the port service information.
2. The method of claim 1, wherein before determining that the traffic of the end-to-end traffic is routed through the protection relationship port of a network element according to the physical route of the end-to-end traffic, the method further comprises:
Initialization data, wherein the initialization data comprises: querying the physical route of the end-to-end service; caching the protection parameters of the end-to-end service; and inquiring the service passing network element of the end-to-end service.
3. The method of claim 1, wherein the generating, according to the protection relationship port and the protection parameter of the end-to-end service, the protection group of the service via the network element and the port service information comprises:
Traversing the working or protection path port list, analyzing a protection relationship port, a detection port and service information on a path, and generating a protection relationship of the service passing through a network element and the port service information;
And calculating the protection group name, the protection group ID, the controller and the actuator of the service passing through the network element, and combining the protection parameters of the end-to-end service to generate the protection group and the port service information of the service passing through the network element.
4. The method of claim 1, wherein after generating and issuing a protection subnet related to the end-to-end service according to the protection group of the service via the network element and the port service information, the method further comprises:
Calculating and setting a protection mode related to a protection relation receiving port of the protection group;
Calculating and setting a high-order channel series connection monitoring TCM working mode related to the protection relation port of the protection group;
Calculating and setting the multicast route related to the protection group;
And calculating and setting the overhead monitoring enabling of the APS/PCC related to the protection relationship protection port of the protection group.
5. The method of claim 4, wherein calculating and setting the protection mode associated with the protection relationship receiving port of the protection group comprises:
Obtaining a protection mode parameter from the protection parameter of the end-to-end service;
Inquiring a protection group object of the service passing through the network element from a network management database to generate a protection relation receiving port list;
And configuring the protection mode of the single board where the protection relation receiving port in the protection relation receiving port list is located according to the protection mode parameter.
6. The method according to claim 5, wherein configuring, according to the protection mode parameter, the protection mode of the board where the protection relationship receiving port in the protection relationship receiving port list is located includes:
Inquiring the protection mode of the single board where the protection relation receiving port is located from the network management database, and checking whether the single board is configured with the protection mode;
Updating the protection mode of the single board according to the protection mode parameters under the condition that the single board is configured with the protection mode; otherwise, generating the protection mode of the single board according to a preset rule, and updating the protection mode of the single board according to the protection mode parameter.
7. The method of claim 4, wherein calculating and setting the TCM operation mode associated with the protection relationship port of the protection group comprises:
Acquiring TCM working mode parameters from the protection parameters of the end-to-end service under the condition that the TCM working mode needs to be processed;
Inquiring a protection group object of the service passing through the network element from a network management database to generate a protection relation port list;
And configuring the TCM working mode of the protection relationship port in the protection relationship port list according to the TCM working mode parameters.
8. The method according to claim 7, wherein configuring the TCM operation mode of the protection relationship port in the protection relationship port list according to the TCM operation mode parameters comprises:
Inquiring the TCM working mode of the protection relation port from the network management database, and checking whether the TCM working mode is configured for the protection relation port;
Under the condition that the single board is configured with a TCM working mode, updating the TCM working mode of the protection relationship port according to the TCM working mode parameters; otherwise, generating the TCM working mode of the protection relationship port according to a preset rule, and updating the TCM working mode of the protection relationship port according to the TCM working mode parameters.
9. The method of claim 4, wherein calculating and setting the protection group related multicast route comprises:
Acquiring multicast routing parameters from the protection parameters of the end-to-end service under the condition that the multicast routing needs to be processed is judged;
Inquiring a protection group object of the service passing through the network element from a network management database to generate a multicast group of the protection group;
And calculating the multicast route of the multicast group according to the multicast group and the fiber cable connection.
10. The method of claim 4, wherein calculating and setting APS/PCC overhead monitoring enablement related to the protection relationship protection port of the protection group comprises:
Acquiring APS/PCC overhead monitoring enabling parameters from the protection parameters of the end-to-end service under the condition that APS/PCC overhead monitoring enabling needs to be processed;
Inquiring a protection group object of the service passing through the network element from a network management database to generate a protection relation protection port list;
And configuring APS/PCC overhead monitoring enabling of the protection relationship protection port in the protection relationship protection port list according to the APS/PCC overhead monitoring enabling parameter.
11. The method according to claim 10, wherein configuring APS/PCC overhead monitoring enable for a protection relationship protection port in the protection relationship protection port list according to the APS/PCC overhead monitoring enable parameter comprises:
Inquiring APS/PCC overhead monitoring enabling of the protection relationship protection port from the network management database, and checking whether the protection relationship protection port is configured with APS/PCC overhead monitoring enabling;
Under the condition that the single board is configured with APS/PCC overhead monitoring enabling, updating APS/PCC overhead monitoring enabling of the protection relationship protection port according to the APS/PCC overhead monitoring enabling parameter; otherwise, generating APS/PCC overhead monitoring enable of the protection relationship protection port according to a preset rule, and updating the APS/PCC overhead monitoring enable of the protection relationship protection port according to the APS/PCC overhead monitoring enable parameter.
12. A protection subnet generation apparatus, comprising:
The system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a protection relation port of the end-to-end service passing through a network element according to the physical route of the end-to-end service, analyzing the physical route, a source port and a sink port of the end-to-end service, distinguishing a working path and a protection path, traversing the working path and the protection path by using a depth-first algorithm with the sink port as a searching starting point until the source port is found, recording a traversed port list and generating an ordered working or protection path port list;
A first generating module, configured to generate a protection group of the service passing through a network element and port service information according to the protection relationship port and the protection parameter of the end-to-end service;
And a second generating module, configured to generate a protection subnet related to the end-to-end service according to the protection group of the service passing through the network element and the port service information.
CN201510375764.3A 2015-06-30 2015-06-30 Method and device for generating protection subnet Active CN106330512B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510375764.3A CN106330512B (en) 2015-06-30 2015-06-30 Method and device for generating protection subnet
PCT/CN2015/093433 WO2017000451A1 (en) 2015-06-30 2015-10-30 Protection subnetwork generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510375764.3A CN106330512B (en) 2015-06-30 2015-06-30 Method and device for generating protection subnet

Publications (2)

Publication Number Publication Date
CN106330512A CN106330512A (en) 2017-01-11
CN106330512B true CN106330512B (en) 2020-07-31

Family

ID=57607558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510375764.3A Active CN106330512B (en) 2015-06-30 2015-06-30 Method and device for generating protection subnet

Country Status (2)

Country Link
CN (1) CN106330512B (en)
WO (1) WO2017000451A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001173A (en) * 2006-06-29 2007-07-18 华为技术有限公司 Method and system for estimating network protection station
CN101001172A (en) * 2006-06-28 2007-07-18 华为技术有限公司 Managing method for route, method for implementing cross-domain end-to-end management
CN101145925A (en) * 2006-09-13 2008-03-19 中兴通讯股份有限公司 Method and system for realizing multicast service on multi-service transmission platform
CN101179350A (en) * 2007-11-22 2008-05-14 华为技术有限公司 Method and apparatus for managing optical channel data cell sharing protection subnet

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145963B (en) * 2007-07-27 2010-08-18 中兴通讯股份有限公司 A topology discovery method of protective sub-network
US20100290340A1 (en) * 2009-05-15 2010-11-18 Electronics And Telecommunications Research Institute Method for protection switching
US8891360B2 (en) * 2012-05-04 2014-11-18 Infinera Corporation Optimal segment identification for shared mesh protection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001172A (en) * 2006-06-28 2007-07-18 华为技术有限公司 Managing method for route, method for implementing cross-domain end-to-end management
CN101001173A (en) * 2006-06-29 2007-07-18 华为技术有限公司 Method and system for estimating network protection station
CN101145925A (en) * 2006-09-13 2008-03-19 中兴通讯股份有限公司 Method and system for realizing multicast service on multi-service transmission platform
CN101179350A (en) * 2007-11-22 2008-05-14 华为技术有限公司 Method and apparatus for managing optical channel data cell sharing protection subnet

Also Published As

Publication number Publication date
CN106330512A (en) 2017-01-11
WO2017000451A1 (en) 2017-01-05

Similar Documents

Publication Publication Date Title
EP2880829B1 (en) Adaptive infrastructure for distributed virtual switch
US10033623B2 (en) Multithreaded system and method for establishing network connections
EP3353952B1 (en) Managing groups of servers
EP3829117B1 (en) Packet path recording with fixed header size
EP2713556A1 (en) Mapping a network topology request to a physical network
US10355971B2 (en) System and method for data path validation and verification
US10033734B2 (en) Apparatus management system, apparatus management method, and program
CN113438172B (en) Data transmission method and device based on multi-level node network
CN111355655B (en) Quantum routing detection method and server for quantum cryptography network
CN112217655B (en) Network equipment configuration method and device in SD-WAN system and computer equipment
CN102769495B (en) A kind of optical fiber access network equipment communication means, Apparatus and system
CN106330512B (en) Method and device for generating protection subnet
KR101829881B1 (en) Flow management system, controller and method for detecting fault
EP3472973B1 (en) Method and device for determining resource utilization
CN114911515A (en) Configuration management method, device, equipment and medium
EP3523928B1 (en) Method and system for managing control connections with a distributed control plane
JP4344768B2 (en) Path route calculating apparatus, method, and program
CN108390780B (en) Method and apparatus for processing information
CN111327571A (en) Equipment control method and device, control node, network equipment and data center
CN107919972B (en) Method and device for acquiring ring system affiliation of physical port
CN110784535B (en) Message forwarding method, device and network equipment
CN115426314B (en) Communication method, communication device, network equipment and processor readable storage medium
US11552965B2 (en) Abnormality cause specification support system and abnormality cause specification support method
KR101839499B1 (en) Openflow controller and method for flow monitering
CN114301690A (en) Dynamic network isolation method and device, storage medium and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200703

Address after: 210012 Nanjing, Yuhuatai District, South Street, Bauhinia Road, No. 68

Applicant after: Nanjing Zhongxing Software Co.,Ltd.

Address before: 518057 Nanshan District science and technology, Guangdong Province, South Road, No. 55, No.

Applicant before: ZTE Corp.

GR01 Patent grant
GR01 Patent grant