WO2016041319A1 - Method and system of automatically modifying protection group identifier - Google Patents

Method and system of automatically modifying protection group identifier Download PDF

Info

Publication number
WO2016041319A1
WO2016041319A1 PCT/CN2015/072600 CN2015072600W WO2016041319A1 WO 2016041319 A1 WO2016041319 A1 WO 2016041319A1 CN 2015072600 W CN2015072600 W CN 2015072600W WO 2016041319 A1 WO2016041319 A1 WO 2016041319A1
Authority
WO
WIPO (PCT)
Prior art keywords
protection group
new
group
network element
configuration data
Prior art date
Application number
PCT/CN2015/072600
Other languages
French (fr)
Chinese (zh)
Inventor
李晓琴
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016041319A1 publication Critical patent/WO2016041319A1/en

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and system for automatically modifying a protection group identifier.
  • the user For the merged NE management system, the user needs to re-plan the device ID (Identification), NE (Internet protocol), and protection group ID of the NE.
  • the protection group used by the transmission system is generally a service protection group.
  • the service protection group is used to protect a given service.
  • the protection group ID is the unique identifier of the service protection group. Therefore, modifying the protection group ID means modifying the protection group ID.
  • the protection group ID is used as the unique index of the protection group, and direct modification is not allowed. However, it is allowed to delete the protection group first, then re-create or modify the protection group ID in the network management database and perform the lower library processing. The way to modify it.
  • the existing protection group ID is manually modified. After the protection group is manually deleted, the protected group ID in the network management database is recreated or modified using the planned protection group ID.
  • the two methods are more convenient to modify the protection group ID, and it takes less time, but it is not enough for the large network element management system. For example, if the network element management system manages the public 5000 Each network element has an average of four protection groups per network element. Then there are 20,000 protection groups on the network element. When the protection group ID is modified manually, the deletion and creation operations are performed for 20,000 protection groups. Or modify the protection group ID in the network management database. The workload is very large, and the process of configuring the protection group is also very complicated.
  • protection group ID is also related to other configuration data. Correlation, in order to ensure data consistency, when manually modifying the protection group ID in the network management database, it also needs to modify the configuration data associated with it, further increasing the workload of the engineering maintenance personnel.
  • the embodiment of the present invention provides a method and system for automatically modifying the protection group identification. Used to modify the protection group ID of the NE management system in batches.
  • a method for automatically modifying a protection group identifier including:
  • the method for automatically modifying the protection group identifier before performing all the steps further includes:
  • the step of calculating and allocating the new protection group ID of the to-be-protected group according to the new protection group ID range provided by the user includes:
  • step c sequentially take out the protection group list in the queue container, and determine whether the protection group ID in the list is within the range of the new protection group ID, if yes, go to step e, otherwise perform step d;
  • step d In the range of the new protection group ID, find the unused protection group ID. If the protection group ID conflicts with the current protection group ID, continue to search for the unused protection group ID until it meets the requirements. of New protection group ID; if the final failure to find a new protection group ID, then go to step c, otherwise go to step e;
  • step e save the assigned new protection group ID, if the protection group in the list has been processed, execute step f, otherwise go to step c;
  • the method further includes:
  • the protection group configuration data associated with the new protection group ID is saved in the network management database, and the protection group configuration data associated with the original protection group ID is saved.
  • the method further includes:
  • the protection group ID modification operation report that includes at least the name of the network element to be operated and the protection group ID before and after the modification is generated.
  • a system for automatically modifying a protection group identity including:
  • Selecting a module configured to determine a network element to be operated and at least one protection group to be operated on the network element
  • the calculation processing module is configured to calculate and allocate a new protection group ID of the to-be-protected group according to a value range of the new protection group ID provided by the user;
  • An operation processing module configured to modify protection group configuration data associated with the new protection group ID according to the new protection group ID
  • a lower library processing module configured to perform a lower library processing on the new protection group ID and the protection group configuration data associated therewith;
  • the board reset module is configured to reset other boards on the network element associated with the to-be-operated network element after the lower library processing module completes the lower library processing.
  • the system for automatically modifying the protection group identifier further includes:
  • the identification processing module is configured to identify pre-configured procedures and considerations for describing the automatic modification of the protection group ID.
  • the calculation processing module calculates and allocates a new protection group ID of the to-be-protected group according to the value range of the new protection group ID provided by the user:
  • step c sequentially take out the protection group list in the queue container, and determine whether the protection group ID in the list is within the range of the new protection group ID, if yes, go to step e, otherwise perform step d;
  • step d In the range of the new protection group ID, find the unused protection group ID. If the protection group ID conflicts with the current protection group ID, continue to search for the unused protection group ID until it meets the requirements. New protection group ID; if the final failure to find a new protection group ID, then go to step c, otherwise go to step e;
  • step e save the assigned new protection group ID, if the protection group in the list has been processed, execute step f, otherwise go to step c;
  • the system for automatically modifying the protection group identifier further includes:
  • the saving processing module is configured to save the protection group configuration data associated with the new protection group ID to the network management database, and save the protection group configuration data associated with the modified original protection group ID.
  • the system for automatically modifying the protection group identifier further includes:
  • a report generation module configured to save the processing module to save the protection group configuration data associated with the new protection group ID to the network management database, and save the protection group configuration data associated with the modified original protection group ID, and generate at least The protection group ID modification operation report of the operation network element name and the protection group ID before and after the modification.
  • the embodiment of the present invention can automatically calculate a reasonable new protection group ID according to the value range of the new protection group ID given by the user, reduce the workload of modifying the protection group ID, and improve the engineering maintenance efficiency;
  • the embodiment of the present invention can automatically modify the configuration data related to the protection group ID, and ensure the consistency of the protection group and related configuration data;
  • the protection group of the protection group ID conflict can be checked in the embodiment of the present invention, which satisfies the needs of engineering positioning and maintenance;
  • the protection group ID can be modified in batches, and the protection parameters, the protection relationship, the port service information, and the like affecting the protection switching data are not modified, and the switching failure problem caused by the configuration error is reduced, and the engineering maintenance personnel are alleviated. burden.
  • FIG. 1 is a schematic flowchart of a method for automatically modifying a protection group identifier according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a specific process implementation manner of an automatic modification protection group identification method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a process of automatically calculating a new protection group ID according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of modifying a protection group ID and associated configuration data according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a system architecture of a system for automatically modifying a protection group identifier according to an embodiment of the present invention.
  • the purpose of the embodiments of the present invention is to provide a method and system for automatically modifying a protection group identifier, thereby reducing the burden on the engineering maintenance personnel and improving the ease of use and maintainability of the network element management system.
  • the modification of the protection group identifier can be implemented by modifying the protection group ID, and further, according to the value range of the new protection group ID given by the user, A new protection group ID can be automatically assigned to the protection group to achieve the purpose of automatically modifying the protection group identifier.
  • the method and system for automatically modifying the protection group identifier mainly include the following steps:
  • the method for automatically modifying a protection group identifier includes:
  • S20 Calculate and allocate a new protection group ID of the to-be-protected group according to a value range of the new protection group ID provided by the user;
  • the above technical solution can automatically calculate a reasonable new protection group ID according to the value range of the new protection group ID given by the user, reduce the workload of modifying the protection group ID, improve the engineering maintenance efficiency, and automatically modify the protection group.
  • the ID-related configuration data ensures the consistency of the protection group and related configuration data.
  • the method includes the following specific implementation steps:
  • Step A describe the process of automatically modifying the protection group ID and the precautions. For example, the modified protection group cannot undergo protection switching; after modifying the protection group ID, the next library and reset processing are performed;
  • Step B Select an NE and a protection group to be operated, including basic information of the protection group ID, protection type, and protection group name.
  • Step C According to the new protection group ID range given by the user, the system automatically calculates and allocates the new protection group ID of the protection group to be modified, and checks other protection group IDs that conflict with the new protection group ID;
  • Step D The user confirms and modifies the newly assigned new protection group ID, and the system modifies the protection group associated with the new protection group ID and other configuration data, and saves the protection group before modification and related configuration data (in this embodiment, the data) Used for data recovery);
  • Step E The system generates a report description of the operation, and the report description includes the network element and the protection group ID before and after the modification, so that the user can export and save the modification record of the operation;
  • Step F Perform the following processing on the modified protection group and the associated configuration data. After the processing is complete, reset the board on the related NE to synchronize the protection group on the device.
  • step A mainly describes the process of automatically modifying the protection group ID and the precautions, because the operation of automatically modifying the protection group ID in the protection switching scenario may cause service interruption, so before the protection group ID operation is automatically modified, Check the contents specified in the precautions to ensure that the modified protection group can be switched and restored normally.
  • step B the user selects the operating NE and the protection group on the NE.
  • the system automatically calculates the protection group on the NE and lists the NE name, protection type, protection group name, and so on. The basic information of the protection group. Because the transmission system works generally allocates the protection group ID through the ring where the network element is located, the protection group ID can be better allocated by selecting the network element and the protection group.
  • Step C mainly implements the automatic allocation of the new protection group ID, and calculates the most reasonable new protection group ID according to the value range of the new protection group ID given by the user and the currently selected protection group. If the new protection group ID does not meet the user requirements, the user can modify the protection group ID. In addition, the system needs to perform conflict check on the assigned new protection group ID, and gives basic information about other protection groups that conflict with the new protection group ID.
  • Step D mainly includes processing the modified protection group and its related configuration data and saving the protection group before modification and related configuration data.
  • relevant configuration data should be correspondingly
  • Step E shows the report description of the operation.
  • the report description mainly describes the data modified by the operation, such as the newly assigned protection group ID. The user can conveniently view the data modified by the operation through the report description.
  • Step F is mainly to synchronize the protection group on the device and the configuration data associated with the protection group, because step D only modifies the data in the network management database, and the data on the device does not change.
  • the NE performs the following operations. After the operation of the lower library is completed, the related boards are reset.
  • the method for automatically modifying a protection group identifier includes the following steps:
  • Step 101 Describe the process and precautions for automatically modifying the protection group ID, including the operations required before and after modifying the protection group ID. If the user cancels the operation, the process ends, otherwise the next step is entered;
  • Step 102 List the network elements of the entire network in the resource manager. After the user selects the network element to be operated, the system queries all the protection groups on the network element, and displays the network element name and protection group according to the rules in which the protection group ID is in ascending order. ID, Protect the basic information of the protection group, etc., and then the user selects the protection group to be operated. By default, all protection groups are selected. If the user cancels the operation, the process ends, otherwise the next step is entered;
  • Step 103 The user enters a value range of the new protection group ID.
  • the format of the value range may be similar to: 11, 34, 35-70.
  • the system checks whether the value range of the protection group ID is valid. After the verification is passed, according to the value range and the previously selected protection group, a reasonable new protection group ID is automatically calculated and displayed on the interface. If the new protection group ID is not calculated, the interface is displayed as Empty, if the user cancels the operation, the process ends, otherwise the next step is entered;
  • Step 104 If the new protection group ID generated by the system does not meet the user requirements, the user can modify the protection group ID. After the modification is completed, the system automatically checks whether the protection group ID conflicts with other protection group IDs. The protection group displays the basic information of the conflict protection group. If the user cancels the operation, the process ends, otherwise the next step is entered;
  • Step 105 After the user confirms the modified new protection group ID, the system saves the configuration data related to the protection group ID before the modification, and saves the configuration data related to the new protection group ID in the network management database. If the user cancels the operation, the system recovers. Modify the configuration data related to the protection group ID before the modification, and end the operation, otherwise proceed to the next step;
  • Step 106 The system generates a report description of the operation, where the report description includes the name of the network element, the protection group ID before and after the modification, and the like, and the user may export the report description.
  • Step 107 Perform a download operation on the relevant network element of the operation. After the download is completed, the board on the related network element is reset, and the operation ends.
  • the step 103 automatically calculates a new protection group ID process, as shown in FIG. 3, which mainly includes the following steps:
  • Step 201 Obtain a protection group that needs to be modified and a value range of a new protection group ID given by the user;
  • Step 202 Find a protection group label and a protection group with the same protection group ID, and put the protection group list together in the queue container;
  • Step 203 The protection group list in the queue container is sequentially taken out, and it is determined whether the protection group ID in the list is within the value range of the new protection group ID. If the value of the new protection group ID is within the range, the process proceeds to step 205. Otherwise do the next step;
  • Step 204 In the range of the value of the new protection group ID, find the unused protection group ID. If the protection group ID conflicts with the currently operated protection group ID, continue to search for the unused protection group ID until the match is found. The new protection group ID is required. If the new protection group ID that meets the conditions is not found at the end, go to step 203 to continue processing; otherwise, proceed to the next step;
  • Step 205 Save the assigned new protection group ID. If all the protection groups in the list have been processed, proceed to the next step, otherwise go to step 203 to continue processing;
  • Step 206 Perform a protection group ID conflict check on the assigned new protection group ID. If there is a conflict protection group in the network element protection group of the entire network, the basic information of the protection group of the conflict protection group is displayed.
  • the process of modifying the protection group ID and the associated data in step 105 further includes the following steps:
  • Step 301 According to the protection group ID before modification, find the relevant protection group, replace the original protection group ID with the assigned new protection group ID, and the remaining protection group attributes, such as protection relationship, protection parameter, and port service information remain unchanged. ;
  • Step 302 Find the associated configuration data according to the protection group ID before modification, and replace the original protection group ID with the assigned new protection group ID in the associated configuration data.
  • Step 303 Delete the relevant protection group and the associated configuration data in the network management database according to the protection group ID before the modification;
  • Step 304 The modified protection group and the associated configuration data are stored in the network management database. If the step fails, the operation of step 303 is performed.
  • the embodiment of the present invention further provides a system for automatically modifying a protection group identifier, including:
  • Selecting a module configured to determine a network element to be operated and at least one protection group to be operated on the network element
  • the calculation processing module is configured to calculate and allocate a new protection group ID of the to-be-protected group according to a value range of the new protection group ID provided by the user;
  • An operation processing module configured to modify protection group configuration data associated with the new protection group ID according to the new protection group ID
  • a lower library processing module configured to perform a lower library processing on the new protection group ID and the protection group configuration data associated therewith;
  • the board reset module is configured to reset other boards on the network element associated with the to-be-operated network element after the lower library processing module completes the lower library processing.
  • system for automatically modifying the protection group identifier further includes:
  • the identification processing module is configured to identify pre-configured procedures and considerations for describing the automatic modification of the protection group ID.
  • the calculation processing module calculates and allocates a new protection group ID of the to-be-protected group according to the value range of the new protection group ID provided by the user:
  • step c sequentially take out the protection group list in the queue container, and determine whether the protection group ID in the list is within the range of the new protection group ID, if yes, go to step e, otherwise perform step d;
  • step d In the range of the new protection group ID, find the unused protection group ID. If the protection group ID conflicts with the current protection group ID, continue to search for the unused protection group ID until it meets the requirements. New protection group ID; if the final failure to find a new protection group ID, then go to step c, otherwise go to step e;
  • step e save the assigned new protection group ID, if the protection group in the list has been processed, execute step f, otherwise go to step c;
  • system for automatically modifying the protection group identifier further includes:
  • the saving processing module is configured to save the protection group configuration data associated with the new protection group ID to the network management database, and save the protection group configuration data associated with the modified original protection group ID.
  • system for automatically modifying the protection group identifier further includes:
  • a report generation module configured to save the processing module to save the protection group configuration data associated with the new protection group ID to the network management database, and save the protection group configuration data associated with the modified original protection group ID.
  • the protection group ID modification operation report that includes at least the name of the network element to be operated and the protection group ID before and after the modification is generated.
  • a method and system for automatically modifying a protection group identifier provided by an embodiment of the present invention have the following beneficial effects:
  • the embodiment of the present invention can automatically calculate a reasonable new protection group ID according to the value range of the new protection group ID given by the user, reduce the workload of modifying the protection group ID, and improve the engineering maintenance efficiency;
  • the embodiment of the present invention can automatically modify the configuration data related to the protection group ID, and ensure the consistency of the protection group and related configuration data;
  • the protection group of the protection group ID conflict can be checked in the embodiment of the present invention, which satisfies the needs of engineering positioning and maintenance;
  • the protection group ID can be modified in batches, and the protection parameters, the protection relationship, the port service information, and the like affecting the protection switching data are not modified, and the switching failure problem caused by the configuration error is reduced, and the engineering maintenance personnel are alleviated. burden.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Storage Device Security (AREA)
  • Emergency Protection Circuit Devices (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed are a method and system of automatically modifying a protection group identifier, the method comprising: determining a network element to be operated and at least one protection group to be operated in the network element; according to a value range of a new protection group ID provided by a user, calculating and allocating a new protection group ID of the protection group to be operated; modifying protection group configuration data associated with the new protection group ID according to the new protection group ID; adding the new protection group ID and the protection group configuration data associated therewith to a library, and then resetting another board in a network element associated with the network element to be operated. The present invention can automatically calculate an appropriate new protection group ID according to the value range of the new protection group ID provided by the user, reducing the workload for modifying protection group IDs and improving engineering maintenance efficiency, and can automatically modify the configuration data associated with the protection group ID, ensuring consistency between the protection group and the associated configuration data.

Description

自动修改保护组标识的方法及系统Method and system for automatically modifying protection group identification 技术领域Technical field
本发明涉及通信技术领域,具体而言,涉及一种自动修改保护组标识的方法及系统。The present invention relates to the field of communications technologies, and in particular, to a method and system for automatically modifying a protection group identifier.
背景技术Background technique
随着通信网络技术的不断发展,通信业务量也在不断地增长,相应地,负责对网络网元设备进行维护管理的网元管理系统所支持的保护组数目也越来越多,与此同时,随着网元设备逐渐开始朝集中化管理方向发展,越来越多的小型网元管理系统开始合并成更大规模的网元管理系统。With the continuous development of communication network technology, the communication traffic is also constantly increasing. Accordingly, the number of protection groups supported by the network element management system responsible for maintenance and management of network element devices is increasing. As network element devices gradually begin to move toward centralized management, more and more small network element management systems are beginning to merge into larger-scale network element management systems.
对于合并后的网元管理系统,为了方便维护和管理,用户要求重新规划全网网元的设备ID(Identification)、网元IP(Internet protocol)、保护组标识等。For the merged NE management system, the user needs to re-plan the device ID (Identification), NE (Internet protocol), and protection group ID of the NE.
传输系统工程使用的保护组一般是业务保护组,业务保护组用于保护给定的业务,而保护组ID又是业务保护组的唯一标识,所以修改保护组标识也就是修改保护组ID。众所周知地,在网元管理系统中,保护组ID作为保护组的唯一索引,不允许直接修改,不过允许通过先删除保护组,之后重新创建或者在网管数据库中修改保护组ID并且执行下库处理的方法来修改。The protection group used by the transmission system is generally a service protection group. The service protection group is used to protect a given service. The protection group ID is the unique identifier of the service protection group. Therefore, modifying the protection group ID means modifying the protection group ID. As is well known, in the network element management system, the protection group ID is used as the unique index of the protection group, and direct modification is not allowed. However, it is allowed to delete the protection group first, then re-create or modify the protection group ID in the network management database and perform the lower library processing. The way to modify it.
现有技术中通常采用手工方式修改已经存在的保护组ID,即手工删除保护组后,再使用规划好了的保护组ID重新创建或者修改网管数据库中的保护组ID并做下库处理。这两种方法对于小型的网元管理系统来说,修改保护组ID比较方便,花费时间也不多,但是对于大型的网元管理系统而言就显得力不从心,比如假使网元管理系统管理公5000个网元,且平均每个网元有4个保护组,那么全网网元上就有20000个保护组,在采用纯手工方式修改保护组ID时,对于20000个保护组做删除和创建操作或者修改网管数据库中的保护组ID,其工作量非常巨大,并且配置保护组过程也十分复杂,经常出现因为配置错误导致保护倒换失效的问题;另一方面,由于保护组ID还与其它配置数据相关联,为了保证数据的一致性,在手工修改网管数据库中的保护组ID之时,同时也要修改与其相关联的配置数据,更进一步加大了工程维护人员的工作量。In the prior art, the existing protection group ID is manually modified. After the protection group is manually deleted, the protected group ID in the network management database is recreated or modified using the planned protection group ID. For the small network element management system, the two methods are more convenient to modify the protection group ID, and it takes less time, but it is not enough for the large network element management system. For example, if the network element management system manages the public 5000 Each network element has an average of four protection groups per network element. Then there are 20,000 protection groups on the network element. When the protection group ID is modified manually, the deletion and creation operations are performed for 20,000 protection groups. Or modify the protection group ID in the network management database. The workload is very large, and the process of configuring the protection group is also very complicated. The problem of protection switching failure is often caused by configuration errors. On the other hand, the protection group ID is also related to other configuration data. Correlation, in order to ensure data consistency, when manually modifying the protection group ID in the network management database, it also needs to modify the configuration data associated with it, further increasing the workload of the engineering maintenance personnel.
综上所述,对于传输系统工程来说,采用现有的通过手工修改保护组ID的方法具有较大的局限性。 In summary, for transmission system engineering, the existing method of manually modifying the protection group ID has a large limitation.
发明内容Summary of the invention
本发明的发明人考虑到保护组ID无论在修改前后,也仅仅是保护组ID以及其它与之相关联的数据发生变化,其余保护组配置数据,比如保护类型、保护参数、保护关系、以及端口业务信息等并没有发生变化,基于此,为了减轻工程维护人员的负担,提高网元管理系统的易用性和可维护性,本发明实施例提供了一种自动修改保护组标识的方法及系统,用于批量修改网元管理系统的保护组标识。The inventors of the present invention consider that the protection group ID changes only before and after the modification, only the protection group ID and other data associated with it, and the remaining protection group configuration data, such as protection type, protection parameter, protection relationship, and port. The service information and the like are not changed. Based on this, in order to reduce the burden on the engineering maintenance personnel and improve the ease of use and maintainability of the network element management system, the embodiment of the present invention provides a method and system for automatically modifying the protection group identification. Used to modify the protection group ID of the NE management system in batches.
本发明实施例采用如下技术方案实现:The embodiment of the invention adopts the following technical solutions:
一种自动修改保护组标识的方法,包括:A method for automatically modifying a protection group identifier, including:
确定待操作的网元以及该网元上的待操作的至少一个保护组;Determining a network element to be operated and at least one protection group to be operated on the network element;
根据用户提供的新保护组ID取值范围,计算并分配所述待操作保护组的新保护组ID;Calculating and assigning a new protection group ID of the to-be-protected group according to a value range of the new protection group ID provided by the user;
根据所述新保护组ID修改与所述新保护组ID关联的保护组配置数据;Modifying the protection group configuration data associated with the new protection group ID according to the new protection group ID;
对所述新保护组ID以及与之相关联的保护组配置数据执行下库处理,并在下库处理完成后,复位其他与该待操作网元相关联的网元上的单板。And performing the following processing on the new protection group ID and the protection group configuration data associated with the network, and resetting the board on the network element associated with the to-be-operated network element after the processing of the lower library is completed.
在执行所有步骤之前,所述自动修改保护组标识的方法还包括:The method for automatically modifying the protection group identifier before performing all the steps further includes:
识别被预先配置的用以描述自动修改保护组ID的过程和注意事项。Identify the processes and considerations that are pre-configured to describe the automatic modification of the protection group ID.
根据用户提供的新保护组ID范围计算并分配所述待操作保护组的新保护组ID的步骤包括:The step of calculating and allocating the new protection group ID of the to-be-protected group according to the new protection group ID range provided by the user includes:
a、获取待操作保护组以及用户提供的新保护组ID取值范围;a, obtaining the protection group to be operated and the value range of the new protection group ID provided by the user;
b、获取保护组ID与所述待操作保护组相同的保护组,并将获取的保护组列表放在队列容器中;b. Obtain a protection group with the same protection group ID as the to-be-protected protection group, and place the obtained protection group list in the queue container;
c、依次取出队列容器中的保护组列表,并判断列表中的保护组ID是否在新保护组ID取值范围内,如果是,则转步骤e,否则执行步骤d;c, sequentially take out the protection group list in the queue container, and determine whether the protection group ID in the list is within the range of the new protection group ID, if yes, go to step e, otherwise perform step d;
d、在新保护组ID取值范围内,找到未被使用的保护组ID,如果该保护组ID与当前待操作保护组ID冲突,则继续寻找未被使用的保护组ID,直至找到符合要求的 新保护组ID;如果最终未能找到符合条件的新保护组ID,则转步骤c,否则执行步骤e;d. In the range of the new protection group ID, find the unused protection group ID. If the protection group ID conflicts with the current protection group ID, continue to search for the unused protection group ID until it meets the requirements. of New protection group ID; if the final failure to find a new protection group ID, then go to step c, otherwise go to step e;
e、保存分配的新保护组ID,如果列表中的保护组已经全部处理,则执行步骤f,否则转步骤c;e, save the assigned new protection group ID, if the protection group in the list has been processed, execute step f, otherwise go to step c;
f、对分配的新保护组ID做保护组ID冲突检查,如果在全网网元保护组中存在冲突的保护组,则显示冲突保护组的保护组基本信息。f. Perform protection group ID conflict check on the assigned new protection group ID. If there is a conflict protection group in the network element protection group, the basic information of the protection group of the conflict protection group is displayed.
在所述根据所述新保护组ID修改与所述新保护组ID关联的保护组配置数据的步骤之后,还包括:After the step of modifying the protection group configuration data associated with the new protection group ID according to the new protection group ID, the method further includes:
将所述新保护组ID关联的保护组配置数据保存至网管数据库中,以及将与修改前原保护组ID相关联的保护组配置数据进行保存。The protection group configuration data associated with the new protection group ID is saved in the network management database, and the protection group configuration data associated with the original protection group ID is saved.
在将所述新保护组ID关联的保护组配置数据保存至网管数据库中以及将与修改前原保护组ID相关联的保护组配置数据进行保存的步骤之后,还包括:After the step of saving the protection group configuration data associated with the new protection group ID to the network management database and the protection group configuration data associated with the modification of the original protection group ID, the method further includes:
生成至少包含待操作网元名称以及修改前后的保护组ID的该次保护组ID修改操作报告。The protection group ID modification operation report that includes at least the name of the network element to be operated and the protection group ID before and after the modification is generated.
一种自动修改保护组标识的系统,包括:A system for automatically modifying a protection group identity, including:
选择模块,设置为确定待操作的网元以及该网元上的待操作的至少一个保护组;Selecting a module, configured to determine a network element to be operated and at least one protection group to be operated on the network element;
计算处理模块,设置为根据用户提供的新保护组ID取值范围,计算并分配所述待操作保护组的新保护组ID;The calculation processing module is configured to calculate and allocate a new protection group ID of the to-be-protected group according to a value range of the new protection group ID provided by the user;
操作处理模块,设置为根据所述新保护组ID修改与所述新保护组ID关联的保护组配置数据;An operation processing module, configured to modify protection group configuration data associated with the new protection group ID according to the new protection group ID;
下库处理模块,设置为对所述新保护组ID以及与之相关联的保护组配置数据执行下库处理;a lower library processing module, configured to perform a lower library processing on the new protection group ID and the protection group configuration data associated therewith;
单板复位模块,设置为在下库处理模块完成下库处理后,复位其他与该待操作网元相关联的网元上的单板。The board reset module is configured to reset other boards on the network element associated with the to-be-operated network element after the lower library processing module completes the lower library processing.
所述自动修改保护组标识的系统还包括: The system for automatically modifying the protection group identifier further includes:
识别处理模块,设置为识别被预先配置的用以描述自动修改保护组ID的过程和注意事项。The identification processing module is configured to identify pre-configured procedures and considerations for describing the automatic modification of the protection group ID.
所述计算处理模块根据用户提供的新保护组ID取值范围,计算并分配所述待操作保护组的新保护组ID的策略为:The calculation processing module calculates and allocates a new protection group ID of the to-be-protected group according to the value range of the new protection group ID provided by the user:
a、获取待操作保护组以及用户提供的新保护组ID取值范围;a, obtaining the protection group to be operated and the value range of the new protection group ID provided by the user;
b、获取保护组ID与所述待操作保护组相同的保护组,并将获取的保护组列表放在队列容器中;b. Obtain a protection group with the same protection group ID as the to-be-protected protection group, and place the obtained protection group list in the queue container;
c、依次取出队列容器中的保护组列表,并判断列表中的保护组ID是否在新保护组ID取值范围内,如果是,则转步骤e,否则执行步骤d;c, sequentially take out the protection group list in the queue container, and determine whether the protection group ID in the list is within the range of the new protection group ID, if yes, go to step e, otherwise perform step d;
d、在新保护组ID取值范围内,找到未被使用的保护组ID,如果该保护组ID与当前待操作保护组ID冲突,则继续寻找未被使用的保护组ID,直至找到符合要求的新保护组ID;如果最终未能找到符合条件的新保护组ID,则转步骤c,否则执行步骤e;d. In the range of the new protection group ID, find the unused protection group ID. If the protection group ID conflicts with the current protection group ID, continue to search for the unused protection group ID until it meets the requirements. New protection group ID; if the final failure to find a new protection group ID, then go to step c, otherwise go to step e;
e、保存分配的新保护组ID,如果列表中的保护组已经全部处理,则执行步骤f,否则转步骤c;e, save the assigned new protection group ID, if the protection group in the list has been processed, execute step f, otherwise go to step c;
f、对分配的新保护组ID做保护组ID冲突检查,如果在全网网元保护组中存在冲突的保护组,则显示冲突保护组的保护组基本信息。f. Perform protection group ID conflict check on the assigned new protection group ID. If there is a conflict protection group in the network element protection group, the basic information of the protection group of the conflict protection group is displayed.
所述自动修改保护组标识的系统还包括:The system for automatically modifying the protection group identifier further includes:
保存处理模块,设置为将所述新保护组ID关联的保护组配置数据保存至网管数据库中,以及将与修改前原保护组ID相关联的保护组配置数据进行保存。The saving processing module is configured to save the protection group configuration data associated with the new protection group ID to the network management database, and save the protection group configuration data associated with the modified original protection group ID.
所述自动修改保护组标识的系统还包括:The system for automatically modifying the protection group identifier further includes:
报告生成模块,设置为保存处理模块将所述新保护组ID关联的保护组配置数据保存至网管数据库中以及将与修改前原保护组ID相关联的保护组配置数据进行保存之后,生成至少包含待操作网元名称以及修改前后的保护组ID的该次保护组ID修改操作报告。a report generation module, configured to save the processing module to save the protection group configuration data associated with the new protection group ID to the network management database, and save the protection group configuration data associated with the modified original protection group ID, and generate at least The protection group ID modification operation report of the operation network element name and the protection group ID before and after the modification.
与现有技术相比,本发明实施例的有益效果是: Compared with the prior art, the beneficial effects of the embodiments of the present invention are:
1、本发明实施例能够根据用户给出的新保护组ID取值范围,自动计算出合理的新保护组ID,减少了修改保护组ID的工作量,提高了工程维护效率;1. The embodiment of the present invention can automatically calculate a reasonable new protection group ID according to the value range of the new protection group ID given by the user, reduce the workload of modifying the protection group ID, and improve the engineering maintenance efficiency;
2、本发明实施例能够自动修改保护组ID相关的配置数据,保证了保护组以及相关配置数据的一致性;2. The embodiment of the present invention can automatically modify the configuration data related to the protection group ID, and ensure the consistency of the protection group and related configuration data;
3、本发明实施例能够检查保护组ID冲突的保护组,满足了工程定位以及维护的需要;3. The protection group of the protection group ID conflict can be checked in the embodiment of the present invention, which satisfies the needs of engineering positioning and maintenance;
4、本发明实施例能够批量修改保护组ID,并且不会修改保护参数、保护关系、端口业务信息等影响保护倒换的数据,减少了因为配置错误导致的倒换失效问题,减轻了工程维护人员的负担。In the embodiment of the present invention, the protection group ID can be modified in batches, and the protection parameters, the protection relationship, the port service information, and the like affecting the protection switching data are not modified, and the switching failure problem caused by the configuration error is reduced, and the engineering maintenance personnel are alleviated. burden.
附图说明DRAWINGS
图1是本发明实施例提供的自动修改保护组标识的方法的流程示意图;1 is a schematic flowchart of a method for automatically modifying a protection group identifier according to an embodiment of the present invention;
图2是本发明实施例提供的自动修改保护组标识方法的具体流程实施方式流程图;2 is a flowchart of a specific process implementation manner of an automatic modification protection group identification method according to an embodiment of the present invention;
图3是本发明实施例提供的自动计算新保护组ID流程示意图;3 is a schematic diagram of a process of automatically calculating a new protection group ID according to an embodiment of the present invention;
图4是本发明实施例提供的修改保护组ID以及关联配置数据流程示意图;4 is a schematic flowchart of modifying a protection group ID and associated configuration data according to an embodiment of the present invention;
图5是本发明实施例提供的自动修改保护组标识的系统的系统架构示意图。FIG. 5 is a schematic diagram of a system architecture of a system for automatically modifying a protection group identifier according to an embodiment of the present invention.
本发明目的的实现、功能特点及优异效果,下面将结合具体实施例以及附图做进一步的说明。The implementation, functional features and excellent effects of the object of the present invention will be further described below in conjunction with the specific embodiments and the accompanying drawings.
具体实施方式detailed description
下面结合附图和具体实施例对本发明所述技术方案作进一步的详细描述,以使本领域的技术人员可以更好的理解本发明并能予以实施,但所举实施例不作为对本发明的限定。The technical solutions of the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments to enable those skilled in the art to understand the invention. .
本发明实施例的目的在于提供一种能够自动修改保护组标识的方法及系统,从而减轻工程维护人员的负担,提高网元管理系统的易用性和可维护性。The purpose of the embodiments of the present invention is to provide a method and system for automatically modifying a protection group identifier, thereby reducing the burden on the engineering maintenance personnel and improving the ease of use and maintainability of the network element management system.
在本发明的一具体实施例中,其技术方案如下: In a specific embodiment of the invention, the technical solution is as follows:
本发明的发明人考虑到,由于保护组ID是保护组的唯一标识,所以可以通过修改保护组ID来实现保护组标识的修改,另外,根据用户给出的新保护组ID取值范围,就可以为保护组自动分配新的保护组ID,从而达到自动修改保护组标识的目的。在本实施例中,自动修改保护组标识的方法及系统主要包括以下步骤:The inventor of the present invention considers that since the protection group ID is a unique identifier of the protection group, the modification of the protection group identifier can be implemented by modifying the protection group ID, and further, according to the value range of the new protection group ID given by the user, A new protection group ID can be automatically assigned to the protection group to achieve the purpose of automatically modifying the protection group identifier. In this embodiment, the method and system for automatically modifying the protection group identifier mainly include the following steps:
参考图1所示,本实施例提供的自动修改保护组标识的方法,包括:Referring to FIG. 1, the method for automatically modifying a protection group identifier provided by this embodiment includes:
S10、确定待操作的网元以及该网元上的待操作的至少一个保护组;S10. Determine a network element to be operated and at least one protection group to be operated on the network element.
S20、根据用户提供的新保护组ID取值范围,计算并分配所述待操作保护组的新保护组ID;S20: Calculate and allocate a new protection group ID of the to-be-protected group according to a value range of the new protection group ID provided by the user;
S30、根据所述新保护组ID修改与所述新保护组ID关联的保护组配置数据;S30. Modify, according to the new protection group ID, protection group configuration data associated with the new protection group ID.
S40、对所述新保护组ID以及与之相关联的保护组配置数据执行下库处理,并在下库处理完成后,复位其他与该待操作网元相关联的网元上的单板。S40. Perform the following processing on the new protection group ID and the protection group configuration data associated with the network, and reset the other board on the network element associated with the to-be-operated network element after the processing of the lower library is completed.
采用上述技术方案,能够根据用户给出的新保护组ID取值范围,自动计算出合理的新保护组ID,减少了修改保护组ID的工作量,提高了工程维护效率;能够自动修改保护组ID相关的配置数据,保证了保护组以及相关配置数据的一致性。The above technical solution can automatically calculate a reasonable new protection group ID according to the value range of the new protection group ID given by the user, reduce the workload of modifying the protection group ID, improve the engineering maintenance efficiency, and automatically modify the protection group. The ID-related configuration data ensures the consistency of the protection group and related configuration data.
具体地,所述方法包括如下具体实施步骤:Specifically, the method includes the following specific implementation steps:
步骤A、描述自动修改保护组ID的过程以及注意事项,比如:修改的保护组不能发生保护倒换;修改保护组ID完成后要做下库以及复位处理;Step A: describe the process of automatically modifying the protection group ID and the precautions. For example, the modified protection group cannot undergo protection switching; after modifying the protection group ID, the next library and reset processing are performed;
步骤B、选择需要操作的网元、保护组,其中包括保护组ID、保护类型、保护组名称等保护组基本信息;Step B: Select an NE and a protection group to be operated, including basic information of the protection group ID, protection type, and protection group name.
步骤C、根据用户给出的新保护组ID范围,系统自动计算并分配待修改保护组的新保护组ID,同时检查与新保护组ID冲突的其它保护组ID;Step C: According to the new protection group ID range given by the user, the system automatically calculates and allocates the new protection group ID of the protection group to be modified, and checks other protection group IDs that conflict with the new protection group ID;
步骤D、用户确认并修改自动分配的新保护组ID,系统修改新保护组ID关联的保护组以及其它配置数据,同时保存修改前的保护组及其相关配置数据(本实施例中,此数据用来做数据恢复);Step D: The user confirms and modifies the newly assigned new protection group ID, and the system modifies the protection group associated with the new protection group ID and other configuration data, and saves the protection group before modification and related configuration data (in this embodiment, the data) Used for data recovery);
步骤E、系统生成此次操作的报告说明,报告说明中要包含网元、修改前后的保护组ID,方便用户导出并保存此次操作的修改记录; Step E: The system generates a report description of the operation, and the report description includes the network element and the protection group ID before and after the modification, so that the user can export and save the modification record of the operation;
步骤F、对修改的保护组以及关联配置数据做下库处理,处理完成后复位相关网元上的单板,以同步设备上的保护组。Step F: Perform the following processing on the modified protection group and the associated configuration data. After the processing is complete, reset the board on the related NE to synchronize the protection group on the device.
本实施例中,步骤A主要描述自动修改保护组ID的过程和注意事项,因为在保护倒换场景下自动修改保护组ID的操作会导致业务瞬断,所以在自动修改保护组ID操作之前,需要检查注意事项中规定的内容,这样才能保证修改后的保护组也能正常得倒换和恢复。In this embodiment, step A mainly describes the process of automatically modifying the protection group ID and the precautions, because the operation of automatically modifying the protection group ID in the protection switching scenario may cause service interruption, so before the protection group ID operation is automatically modified, Check the contents specified in the precautions to ensure that the modified protection group can be switched and restored normally.
步骤B用户选择操作的网元以及网元上的保护组,用户选择操作的网元后,系统会自动计算出网元上的保护组,并且列出网元名称、保护类型、保护组名称等保护组基本信息,由于传输系统工程一般通过网元所在的环来分配保护组ID,所以通过选择网元和保护组可以更好得分配保护组ID。In step B, the user selects the operating NE and the protection group on the NE. After the user selects the operating NE, the system automatically calculates the protection group on the NE and lists the NE name, protection type, protection group name, and so on. The basic information of the protection group. Because the transmission system works generally allocates the protection group ID through the ring where the network element is located, the protection group ID can be better allocated by selecting the network element and the protection group.
步骤C主要实现新保护组ID的自动分配,根据用户给出的新保护组ID取值范围以及当前选择的保护组,计算出最合理的新保护组ID。如果该新保护组ID不满足用户要求,用户可以修改该保护组ID,此外,系统需要对分配的新保护组ID做冲突校验,给出与新保护组ID冲突的其它保护组基本信息。Step C mainly implements the automatic allocation of the new protection group ID, and calculates the most reasonable new protection group ID according to the value range of the new protection group ID given by the user and the currently selected protection group. If the new protection group ID does not meet the user requirements, the user can modify the protection group ID. In addition, the system needs to perform conflict check on the assigned new protection group ID, and gives basic information about other protection groups that conflict with the new protection group ID.
步骤D主要包括处理修改后的保护组及其相关配置数据和保存修改前的保护组以及相关配置数据两部分,修改保护组ID后,为了保证数据的一致性,相关的配置数据都要做相应地修改;此外,考虑到用户会取消此次操作,需要使用修改前的保护组以及相关配置数据做数据恢复。Step D mainly includes processing the modified protection group and its related configuration data and saving the protection group before modification and related configuration data. After modifying the protection group ID, in order to ensure data consistency, relevant configuration data should be correspondingly In addition, in consideration of the user will cancel the operation, you need to use the protection group before modification and related configuration data for data recovery.
步骤E显示此次操作的报告说明,报告说明主要描述此次操作修改的数据,比如新分配的保护组ID等,用户通过该报告说明,可以方便得查看此次操作修改的数据;Step E shows the report description of the operation. The report description mainly describes the data modified by the operation, such as the newly assigned protection group ID. The user can conveniently view the data modified by the operation through the report description.
步骤F主要是同步设备上的保护组以及保护组关联的配置数据,因为步骤D只是修改网管数据库中的数据,而设备上的数据并没有发生变化,为了同步设备上的保护组数据,需要对网元做下库操作,下库操作完成后,再复位相关的单板。Step F is mainly to synchronize the protection group on the device and the configuration data associated with the protection group, because step D only modifies the data in the network management database, and the data on the device does not change. In order to synchronize the protection group data on the device, it is necessary to The NE performs the following operations. After the operation of the lower library is completed, the related boards are reset.
如图2所示,本发明实施例提供的自动修改保护组标识的方法包括如下步骤:As shown in FIG. 2, the method for automatically modifying a protection group identifier provided by an embodiment of the present invention includes the following steps:
步骤101:描述自动修改保护组ID的过程和注意事项,其中包括修改保护组ID前后需要做的操作。如果用户取消此次操作,则处理结束,否则进入下一步操作;Step 101: Describe the process and precautions for automatically modifying the protection group ID, including the operations required before and after modifying the protection group ID. If the user cancels the operation, the process ends, otherwise the next step is entered;
步骤102:在资源管理器中列出全网网元,用户选择需要操作的网元后,系统查询网元上的所有保护组,并按照保护组ID升序排列的规则显示网元名称、保护组ID、 保护类型等保护组基本信息,然后用户选择需要操作的保护组,默认情况下,所有保护组都处于选中状态。如果用户取消此次操作,则结束处理,否则进入下一步操作;Step 102: List the network elements of the entire network in the resource manager. After the user selects the network element to be operated, the system queries all the protection groups on the network element, and displays the network element name and protection group according to the rules in which the protection group ID is in ascending order. ID, Protect the basic information of the protection group, etc., and then the user selects the protection group to be operated. By default, all protection groups are selected. If the user cancels the operation, the process ends, otherwise the next step is entered;
步骤103:用户输入新保护组ID的取值范围(本实施例中,取值范围的格式可以类似于:11,34,35-70),系统校验此保护组ID取值范围是否有效,校验通过后,根据此取值范围以及之前选择的保护组,自动计算出合理的新保护组ID,并将其显示在界面上,如果未计算出新保护组ID,则在界面上显示为空,如果用户取消此次操作,则结束处理,否则进入下一步操作;Step 103: The user enters a value range of the new protection group ID. In this embodiment, the format of the value range may be similar to: 11, 34, 35-70. The system checks whether the value range of the protection group ID is valid. After the verification is passed, according to the value range and the previously selected protection group, a reasonable new protection group ID is automatically calculated and displayed on the interface. If the new protection group ID is not calculated, the interface is displayed as Empty, if the user cancels the operation, the process ends, otherwise the next step is entered;
步骤104:如果系统生成的新保护组ID不满足用户要求,用户可以修改该保护组ID,修改完成后,系统自动校验该保护组ID是否与其它保护组ID相冲突,如果检查到冲突的保护组,则显示冲突保护组的基本信息。如果用户取消此次操作,则结束处理,否则进入下一步操作;Step 104: If the new protection group ID generated by the system does not meet the user requirements, the user can modify the protection group ID. After the modification is completed, the system automatically checks whether the protection group ID conflicts with other protection group IDs. The protection group displays the basic information of the conflict protection group. If the user cancels the operation, the process ends, otherwise the next step is entered;
步骤105:用户确认修改的新保护组ID后,系统保存修改前的保护组ID相关配置数据,并且将新保护组ID相关的配置数据保存在网管数据库中,如果用户取消此次操作,则恢复修改前的保护组ID相关配置数据,并结束此次操作,否则进入下一步操作;Step 105: After the user confirms the modified new protection group ID, the system saves the configuration data related to the protection group ID before the modification, and saves the configuration data related to the new protection group ID in the network management database. If the user cancels the operation, the system recovers. Modify the configuration data related to the protection group ID before the modification, and end the operation, otherwise proceed to the next step;
步骤106:系统生成此次操作的报告说明,报告说明包含了网元名称、修改前后的保护组ID等数据,此外,用户可以导出该报告说明;Step 106: The system generates a report description of the operation, where the report description includes the name of the network element, the protection group ID before and after the modification, and the like, and the user may export the report description.
步骤107:对此次操作的相关网元做下载操作,下载完成后,复位相关网元上的单板,操作结束。Step 107: Perform a download operation on the relevant network element of the operation. After the download is completed, the board on the related network element is reset, and the operation ends.
其中,所述步骤103自动计算新保护组ID流程,如图3所示,主要包含如下步骤:The step 103 automatically calculates a new protection group ID process, as shown in FIG. 3, which mainly includes the following steps:
步骤201:获取需要修改的保护组以及用户给出的新保护组ID取值范围;Step 201: Obtain a protection group that needs to be modified and a value range of a new protection group ID given by the user;
步骤202:找到保护组标签以及保护组ID相同的保护组,并将保护组列表一起放在队列容器中;Step 202: Find a protection group label and a protection group with the same protection group ID, and put the protection group list together in the queue container;
步骤203:依次取出队列容器中的保护组列表,并判断列表中的保护组ID是否在新保护组ID取值范围内,如果在新保护组ID取值范围内,则转到步骤205处理;否则做下一步处理;Step 203: The protection group list in the queue container is sequentially taken out, and it is determined whether the protection group ID in the list is within the value range of the new protection group ID. If the value of the new protection group ID is within the range, the process proceeds to step 205. Otherwise do the next step;
步骤204:在新保护组ID取值范围内,找到未被使用的保护组ID,如果该保护组ID与当前操作的保护组ID冲突,则继续寻找未被使用的保护组ID,直至找到符合 要求的新保护组ID,如果最后未找到符合条件的新保护组ID,则转到步骤203继续处理,否则做下一步处理;Step 204: In the range of the value of the new protection group ID, find the unused protection group ID. If the protection group ID conflicts with the currently operated protection group ID, continue to search for the unused protection group ID until the match is found. The new protection group ID is required. If the new protection group ID that meets the conditions is not found at the end, go to step 203 to continue processing; otherwise, proceed to the next step;
步骤205:保存分配的新保护组ID,如果列表中的保护组已经全部处理,则做下一步处理,否则转到步骤203继续处理;Step 205: Save the assigned new protection group ID. If all the protection groups in the list have been processed, proceed to the next step, otherwise go to step 203 to continue processing;
步骤206:对分配的新保护组ID做保护组ID冲突检查,如果在全网网元保护组中存在冲突的保护组,则显示冲突保护组的保护组基本信息。Step 206: Perform a protection group ID conflict check on the assigned new protection group ID. If there is a conflict protection group in the network element protection group of the entire network, the basic information of the protection group of the conflict protection group is displayed.
本实施例中,所述步骤105修改保护组ID以及关联数据的流程,如图4所示,进一步包含如下步骤:In this embodiment, the process of modifying the protection group ID and the associated data in step 105, as shown in FIG. 4, further includes the following steps:
步骤301:按照修改前的保护组ID,找到相关的保护组,使用分配的新保护组ID替换原有的保护组ID,其余保护组属性,比如保护关系、保护参数、端口业务信息保持不变;Step 301: According to the protection group ID before modification, find the relevant protection group, replace the original protection group ID with the assigned new protection group ID, and the remaining protection group attributes, such as protection relationship, protection parameter, and port service information remain unchanged. ;
步骤302:根据修改前的保护组ID,找到关联的配置数据,并且在关联配置数据中使用分配的新保护组ID替换原有的保护组ID;Step 302: Find the associated configuration data according to the protection group ID before modification, and replace the original protection group ID with the assigned new protection group ID in the associated configuration data.
步骤303:根据修改前的保护组ID,删除网管数据库中相关的保护组以及关联配置数据;Step 303: Delete the relevant protection group and the associated configuration data in the network management database according to the protection group ID before the modification;
步骤304:将修改后的保护组以及关联配置数据存入到网管数据库,如果此步骤失败,则回退步骤303的操作。Step 304: The modified protection group and the associated configuration data are stored in the network management database. If the step fails, the operation of step 303 is performed.
如图5所示,本发明实施例还提供了一种自动修改保护组标识的系统,包括:As shown in FIG. 5, the embodiment of the present invention further provides a system for automatically modifying a protection group identifier, including:
选择模块,设置为确定待操作的网元以及该网元上的待操作的至少一个保护组;Selecting a module, configured to determine a network element to be operated and at least one protection group to be operated on the network element;
计算处理模块,设置为根据用户提供的新保护组ID取值范围,计算并分配所述待操作保护组的新保护组ID;The calculation processing module is configured to calculate and allocate a new protection group ID of the to-be-protected group according to a value range of the new protection group ID provided by the user;
操作处理模块,设置为根据所述新保护组ID修改与所述新保护组ID关联的保护组配置数据;An operation processing module, configured to modify protection group configuration data associated with the new protection group ID according to the new protection group ID;
下库处理模块,设置为对所述新保护组ID以及与之相关联的保护组配置数据执行下库处理; a lower library processing module, configured to perform a lower library processing on the new protection group ID and the protection group configuration data associated therewith;
单板复位模块,设置为在下库处理模块完成下库处理后,复位其他与该待操作网元相关联的网元上的单板。The board reset module is configured to reset other boards on the network element associated with the to-be-operated network element after the lower library processing module completes the lower library processing.
本实施例中,所述自动修改保护组标识的系统还包括:In this embodiment, the system for automatically modifying the protection group identifier further includes:
识别处理模块,设置为识别被预先配置的用以描述自动修改保护组ID的过程和注意事项。The identification processing module is configured to identify pre-configured procedures and considerations for describing the automatic modification of the protection group ID.
本实施例中,所述计算处理模块根据用户提供的新保护组ID取值范围,计算并分配所述待操作保护组的新保护组ID的策略为:In this embodiment, the calculation processing module calculates and allocates a new protection group ID of the to-be-protected group according to the value range of the new protection group ID provided by the user:
a、获取待操作保护组以及用户提供的新保护组ID取值范围;a, obtaining the protection group to be operated and the value range of the new protection group ID provided by the user;
b、获取保护组ID与所述待操作保护组相同的保护组,并将获取的保护组列表放在队列容器中;b. Obtain a protection group with the same protection group ID as the to-be-protected protection group, and place the obtained protection group list in the queue container;
c、依次取出队列容器中的保护组列表,并判断列表中的保护组ID是否在新保护组ID取值范围内,如果是,则转步骤e,否则执行步骤d;c, sequentially take out the protection group list in the queue container, and determine whether the protection group ID in the list is within the range of the new protection group ID, if yes, go to step e, otherwise perform step d;
d、在新保护组ID取值范围内,找到未被使用的保护组ID,如果该保护组ID与当前待操作保护组ID冲突,则继续寻找未被使用的保护组ID,直至找到符合要求的新保护组ID;如果最终未能找到符合条件的新保护组ID,则转步骤c,否则执行步骤e;d. In the range of the new protection group ID, find the unused protection group ID. If the protection group ID conflicts with the current protection group ID, continue to search for the unused protection group ID until it meets the requirements. New protection group ID; if the final failure to find a new protection group ID, then go to step c, otherwise go to step e;
e、保存分配的新保护组ID,如果列表中的保护组已经全部处理,则执行步骤f,否则转步骤c;e, save the assigned new protection group ID, if the protection group in the list has been processed, execute step f, otherwise go to step c;
f、对分配的新保护组ID做保护组ID冲突检查,如果在全网网元保护组中存在冲突的保护组,则显示冲突保护组的保护组基本信息。f. Perform protection group ID conflict check on the assigned new protection group ID. If there is a conflict protection group in the network element protection group, the basic information of the protection group of the conflict protection group is displayed.
本实施例中,所述自动修改保护组标识的系统还包括:In this embodiment, the system for automatically modifying the protection group identifier further includes:
保存处理模块,设置为将所述新保护组ID关联的保护组配置数据保存至网管数据库中,以及将与修改前原保护组ID相关联的保护组配置数据进行保存。The saving processing module is configured to save the protection group configuration data associated with the new protection group ID to the network management database, and save the protection group configuration data associated with the modified original protection group ID.
本实施例中,所述自动修改保护组标识的系统还包括:In this embodiment, the system for automatically modifying the protection group identifier further includes:
报告生成模块,设置为保存处理模块将所述新保护组ID关联的保护组配置数据保存至网管数据库中以及将与修改前原保护组ID相关联的保护组配置数据进行保存之 后,生成至少包含待操作网元名称以及修改前后的保护组ID的该次保护组ID修改操作报告。a report generation module, configured to save the processing module to save the protection group configuration data associated with the new protection group ID to the network management database, and save the protection group configuration data associated with the modified original protection group ID. After that, the protection group ID modification operation report that includes at least the name of the network element to be operated and the protection group ID before and after the modification is generated.
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种自动修改保护组标识的方法及系统,具有以下有益效果:As described above, a method and system for automatically modifying a protection group identifier provided by an embodiment of the present invention have the following beneficial effects:
1、本发明实施例能够根据用户给出的新保护组ID取值范围,自动计算出合理的新保护组ID,减少了修改保护组ID的工作量,提高了工程维护效率;1. The embodiment of the present invention can automatically calculate a reasonable new protection group ID according to the value range of the new protection group ID given by the user, reduce the workload of modifying the protection group ID, and improve the engineering maintenance efficiency;
2、本发明实施例能够自动修改保护组ID相关的配置数据,保证了保护组以及相关配置数据的一致性;2. The embodiment of the present invention can automatically modify the configuration data related to the protection group ID, and ensure the consistency of the protection group and related configuration data;
3、本发明实施例能够检查保护组ID冲突的保护组,满足了工程定位以及维护的需要;3. The protection group of the protection group ID conflict can be checked in the embodiment of the present invention, which satisfies the needs of engineering positioning and maintenance;
4、本发明实施例能够批量修改保护组ID,并且不会修改保护参数、保护关系、端口业务信息等影响保护倒换的数据,减少了因为配置错误导致的倒换失效问题,减轻了工程维护人员的负担。 In the embodiment of the present invention, the protection group ID can be modified in batches, and the protection parameters, the protection relationship, the port service information, and the like affecting the protection switching data are not modified, and the switching failure problem caused by the configuration error is reduced, and the engineering maintenance personnel are alleviated. burden.

Claims (10)

  1. 一种自动修改保护组标识的方法,包括:A method for automatically modifying a protection group identifier, including:
    确定待操作的网元以及该网元上的待操作的至少一个保护组;Determining a network element to be operated and at least one protection group to be operated on the network element;
    根据用户提供的新保护组ID取值范围,计算并分配所述待操作保护组的新保护组ID;Calculating and assigning a new protection group ID of the to-be-protected group according to a value range of the new protection group ID provided by the user;
    根据所述新保护组ID修改与所述新保护组ID关联的保护组配置数据;Modifying the protection group configuration data associated with the new protection group ID according to the new protection group ID;
    对所述新保护组ID以及与之相关联的保护组配置数据执行下库处理,并在下库处理完成后,复位其他与该待操作网元相关联的网元上的单板。And performing the following processing on the new protection group ID and the protection group configuration data associated with the network, and resetting the board on the network element associated with the to-be-operated network element after the processing of the lower library is completed.
  2. 如权利要求1所述的自动修改保护组标识的方法,其中,在执行所有步骤之前,还包括:The method of automatically modifying a protection group identifier according to claim 1, wherein before performing all the steps, the method further comprises:
    识别被预先配置的用以描述自动修改保护组ID的过程和注意事项。Identify the processes and considerations that are pre-configured to describe the automatic modification of the protection group ID.
  3. 如权利要求1所述的自动修改保护组标识的方法,其中,根据用户提供的新保护组ID范围计算并分配所述待操作保护组的新保护组ID的步骤包括:The method of automatically modifying a protection group identifier according to claim 1, wherein the step of calculating and allocating the new protection group ID of the to-be-protected group according to the new protection group ID range provided by the user comprises:
    a、获取待操作保护组以及用户提供的新保护组ID取值范围;a, obtaining the protection group to be operated and the value range of the new protection group ID provided by the user;
    b、获取保护组ID与所述待操作保护组相同的保护组,并将获取的保护组列表放在队列容器中;b. Obtain a protection group with the same protection group ID as the to-be-protected protection group, and place the obtained protection group list in the queue container;
    c、依次取出队列容器中的保护组列表,并判断列表中的保护组ID是否在新保护组ID取值范围内,如果是,则转步骤e,否则执行步骤d;c, sequentially take out the protection group list in the queue container, and determine whether the protection group ID in the list is within the range of the new protection group ID, if yes, go to step e, otherwise perform step d;
    d、在新保护组ID取值范围内,找到未被使用的保护组ID,如果该保护组ID与当前待操作保护组ID冲突,则继续寻找未被使用的保护组ID,直至找到符合要求的新保护组ID;如果最终未能找到符合条件的新保护组ID,则转步骤c,否则执行步骤e;d. In the range of the new protection group ID, find the unused protection group ID. If the protection group ID conflicts with the current protection group ID, continue to search for the unused protection group ID until it meets the requirements. New protection group ID; if the final failure to find a new protection group ID, then go to step c, otherwise go to step e;
    e、保存分配的新保护组ID,如果列表中的保护组已经全部处理,则执行步骤f,否则转步骤c;e, save the assigned new protection group ID, if the protection group in the list has been processed, execute step f, otherwise go to step c;
    f、对分配的新保护组ID做保护组ID冲突检查,如果在全网网元保护组中存在冲突的保护组,则显示冲突保护组的保护组基本信息。 f. Perform protection group ID conflict check on the assigned new protection group ID. If there is a conflict protection group in the network element protection group, the basic information of the protection group of the conflict protection group is displayed.
  4. 如权利要求1所述的自动修改保护组标识的方法,其中,在所述根据所述新保护组ID修改与所述新保护组ID关联的保护组配置数据的步骤之后,还包括:The method of automatically modifying a protection group identifier according to claim 1, wherein after the step of modifying the protection group configuration data associated with the new protection group ID according to the new protection group ID, the method further includes:
    将所述新保护组ID关联的保护组配置数据保存至网管数据库中,以及将与修改前原保护组ID相关联的保护组配置数据进行保存。The protection group configuration data associated with the new protection group ID is saved in the network management database, and the protection group configuration data associated with the original protection group ID is saved.
  5. 如权利要求4所述的自动修改保护组标识的方法,其中,在将所述新保护组ID关联的保护组配置数据保存至网管数据库中以及将与修改前原保护组ID相关联的保护组配置数据进行保存的步骤之后,还包括:The method of automatically modifying a protection group identifier according to claim 4, wherein the protection group configuration data associated with the new protection group ID is saved in the network management database and the protection group configuration associated with the modified pre-protection group ID is modified. After the steps of saving the data, the method further includes:
    生成至少包含待操作网元名称以及修改前后的保护组ID的该次保护组ID修改操作报告。The protection group ID modification operation report that includes at least the name of the network element to be operated and the protection group ID before and after the modification is generated.
  6. 一种自动修改保护组标识的系统,包括:A system for automatically modifying a protection group identity, including:
    选择模块,设置为确定待操作的网元以及该网元上的待操作的至少一个保护组;Selecting a module, configured to determine a network element to be operated and at least one protection group to be operated on the network element;
    计算处理模块,设置为根据用户提供的新保护组ID取值范围,计算并分配所述待操作保护组的新保护组ID;The calculation processing module is configured to calculate and allocate a new protection group ID of the to-be-protected group according to a value range of the new protection group ID provided by the user;
    操作处理模块,设置为根据所述新保护组ID修改与所述新保护组ID关联的保护组配置数据;An operation processing module, configured to modify protection group configuration data associated with the new protection group ID according to the new protection group ID;
    下库处理模块,设置为对所述新保护组ID以及与之相关联的保护组配置数据执行下库处理;a lower library processing module, configured to perform a lower library processing on the new protection group ID and the protection group configuration data associated therewith;
    单板复位模块,设置为在下库处理模块完成下库处理后,复位其他与该待操作网元相关联的网元上的单板。The board reset module is configured to reset other boards on the network element associated with the to-be-operated network element after the lower library processing module completes the lower library processing.
  7. 如权利要求6所述的自动修改保护组标识的系统,其中,还包括:The system for automatically modifying a protection group identifier according to claim 6, further comprising:
    识别处理模块,设置为识别被预先配置的用以描述自动修改保护组ID的过程和注意事项。The identification processing module is configured to identify pre-configured procedures and considerations for describing the automatic modification of the protection group ID.
  8. 如权利要求6所述的自动修改保护组标识的系统,其中,所述计算处理模块根据用户提供的新保护组ID取值范围,计算并分配所述待操作保护组的新保护组ID的策略为:The system for automatically modifying a protection group identifier according to claim 6, wherein the calculation processing module calculates and allocates a policy of a new protection group ID of the to-be-protected group according to a value range of a new protection group ID provided by the user. for:
    a、获取待操作保护组以及用户提供的新保护组ID取值范围;a, obtaining the protection group to be operated and the value range of the new protection group ID provided by the user;
    b、获取保护组ID与所述待操作保护组相同的保护组,并将获取的保护组列表放在队列容器中; b. Obtain a protection group with the same protection group ID as the to-be-protected protection group, and place the obtained protection group list in the queue container;
    c、依次取出队列容器中的保护组列表,并判断列表中的保护组ID是否在新保护组ID取值范围内,如果是,则转步骤e,否则执行步骤d;c, sequentially take out the protection group list in the queue container, and determine whether the protection group ID in the list is within the range of the new protection group ID, if yes, go to step e, otherwise perform step d;
    d、在新保护组ID取值范围内,找到未被使用的保护组ID,如果该保护组ID与当前待操作保护组ID冲突,则继续寻找未被使用的保护组ID,直至找到符合要求的新保护组ID;如果最终未能找到符合条件的新保护组ID,则转步骤c,否则执行步骤e;d. In the range of the new protection group ID, find the unused protection group ID. If the protection group ID conflicts with the current protection group ID, continue to search for the unused protection group ID until it meets the requirements. New protection group ID; if the final failure to find a new protection group ID, then go to step c, otherwise go to step e;
    e、保存分配的新保护组ID,如果列表中的保护组已经全部处理,则执行步骤f,否则转步骤c;e, save the assigned new protection group ID, if the protection group in the list has been processed, execute step f, otherwise go to step c;
    f、对分配的新保护组ID做保护组ID冲突检查,如果在全网网元保护组中存在冲突的保护组,则显示冲突保护组的保护组基本信息。f. Perform protection group ID conflict check on the assigned new protection group ID. If there is a conflict protection group in the network element protection group, the basic information of the protection group of the conflict protection group is displayed.
  9. 如权利要求6所述的自动修改保护组标识的系统,其中,还包括:The system for automatically modifying a protection group identifier according to claim 6, further comprising:
    保存处理模块,设置为将所述新保护组ID关联的保护组配置数据保存至网管数据库中,以及将与修改前原保护组ID相关联的保护组配置数据进行保存。The saving processing module is configured to save the protection group configuration data associated with the new protection group ID to the network management database, and save the protection group configuration data associated with the modified original protection group ID.
  10. 如权利要求9所述的自动修改保护组标识的系统,其中,还包括:The system for automatically modifying a protection group identifier according to claim 9, further comprising:
    报告生成模块,设置为保存处理模块将所述新保护组ID关联的保护组配置数据保存至网管数据库中以及将与修改前原保护组ID相关联的保护组配置数据进行保存之后,生成至少包含待操作网元名称以及修改前后的保护组ID的该次保护组ID修改操作报告。 a report generation module, configured to save the processing module to save the protection group configuration data associated with the new protection group ID to the network management database, and save the protection group configuration data associated with the modified original protection group ID, and generate at least The protection group ID modification operation report of the operation network element name and the protection group ID before and after the modification.
PCT/CN2015/072600 2014-09-18 2015-02-09 Method and system of automatically modifying protection group identifier WO2016041319A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410476810.4A CN105490828B (en) 2014-09-18 2014-09-18 The method and system of automatic modification protection group mark
CN201410476810.4 2014-09-18

Publications (1)

Publication Number Publication Date
WO2016041319A1 true WO2016041319A1 (en) 2016-03-24

Family

ID=55532499

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/072600 WO2016041319A1 (en) 2014-09-18 2015-02-09 Method and system of automatically modifying protection group identifier

Country Status (2)

Country Link
CN (1) CN105490828B (en)
WO (1) WO2016041319A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095875B (en) * 2016-06-06 2020-01-17 天脉聚源(北京)教育科技有限公司 Method and device for improving ID of live broadcast terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521614A (en) * 2008-02-26 2009-09-02 华为技术有限公司 Method, device and system for protecting operator backbone transmission service
CN101800594A (en) * 2009-12-31 2010-08-11 华为技术有限公司 Optical channel protection configuring method and system
US20110075552A1 (en) * 2009-09-30 2011-03-31 Fujitsu Limited Apparatus and method for controlling data communication
CN102868441A (en) * 2012-08-22 2013-01-09 中兴通讯股份有限公司 Protection switching method and system and optical network node

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577603B (en) * 2009-06-04 2012-05-09 中兴通讯股份有限公司 Method for setting and exhibiting SDH network management protection switching
CN101997713A (en) * 2009-08-31 2011-03-30 中兴通讯股份有限公司 Method for realizing Ethernet path protection switching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521614A (en) * 2008-02-26 2009-09-02 华为技术有限公司 Method, device and system for protecting operator backbone transmission service
US20110075552A1 (en) * 2009-09-30 2011-03-31 Fujitsu Limited Apparatus and method for controlling data communication
CN101800594A (en) * 2009-12-31 2010-08-11 华为技术有限公司 Optical channel protection configuring method and system
CN102868441A (en) * 2012-08-22 2013-01-09 中兴通讯股份有限公司 Protection switching method and system and optical network node

Also Published As

Publication number Publication date
CN105490828B (en) 2019-09-13
CN105490828A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
US10700947B2 (en) Life cycle management method and device for network service
CN102346460B (en) Transaction-based service control system and method
CN105183852B (en) A kind of database migration method and apparatus
TWI751139B (en) Business processing system, business processing method and business update method
CN103516529A (en) Management method, device and system of configuration files
CN104601680B (en) A kind of method for managing resource and device
CN103780686A (en) Method and system for customizing application approval procedure in cloud organization
EP3442201A1 (en) Cloud platform construction method and cloud platform
US10761869B2 (en) Cloud platform construction method and cloud platform storing image files in storage backend cluster according to image file type
CN112153167A (en) Internet interconnection protocol management method, device, electronic equipment and storage medium
CN104298761A (en) Implementation method for master data matching between heterogeneous software systems
WO2016041319A1 (en) Method and system of automatically modifying protection group identifier
CN111064619B (en) Configuration information management method and device, electronic equipment and storage medium
CN107656796A (en) A kind of virtual machine cold moving method, system and equipment
CN115834600B (en) Multi-cloud nanotube data synchronization method and device, electronic equipment and storage medium
WO2023061257A1 (en) Database service processing method and apparatus
CN104869531B (en) Group member updating method and device
CN103986703A (en) Novel cloud application achieving method
US20230409542A1 (en) Using Machine Learning to Provide a Single User Interface for Streamlines Deployment and Management of Multiple Types of Databases
CN108536447B (en) Operation and maintenance management method
US8561132B2 (en) Access control apparatus, information management apparatus, and access control method
CN108762890A (en) The management method and device of database in cloud management platform
CN114490000A (en) Task processing method, device, equipment and storage medium
CN114070889A (en) Configuration method, traffic forwarding method, device, storage medium, and program product
EP3659033B1 (en) Connector leasing for long-running software operations

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15841437

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15841437

Country of ref document: EP

Kind code of ref document: A1