WO2020199420A1 - Method and system for non-destructive adjustment of otn protection services - Google Patents

Method and system for non-destructive adjustment of otn protection services Download PDF

Info

Publication number
WO2020199420A1
WO2020199420A1 PCT/CN2019/096114 CN2019096114W WO2020199420A1 WO 2020199420 A1 WO2020199420 A1 WO 2020199420A1 CN 2019096114 W CN2019096114 W CN 2019096114W WO 2020199420 A1 WO2020199420 A1 WO 2020199420A1
Authority
WO
WIPO (PCT)
Prior art keywords
protection
service
business
relationship
path
Prior art date
Application number
PCT/CN2019/096114
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 烽火通信科技股份有限公司
Priority to BR112021017082A priority Critical patent/BR112021017082A2/en
Publication of WO2020199420A1 publication Critical patent/WO2020199420A1/en

Links

Images

Classifications

    • 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/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Definitions

  • the present invention relates to the field of communication technology, in particular to a method and system for losslessly adjusting OTN protection services.
  • OTN services are strictly classified into OTS, OMS, OCH, OTUK, ODUK, CLIENT levels according to the standard.
  • the ODUK layer can be divided into ODU1, ODU2, ODU3, ODU4 and other levels according to the actual rate.
  • the business model More and more complicated. No matter how the business model changes, providing users with convenient, fast and stable operations is always the goal.
  • the adjustment of OTN protection business is one of them. This includes the rapid adjustment of existing unprotected services to protected services without affecting the original actual connectivity of the unprotected services; at the same time, it includes adjusting the existing protected services to unprotected services without compromising protection.
  • the actual connectivity of the work in the business has an impact.
  • the current way to adjust unprotected services to protected services is to delete unprotected services and then rebuild.
  • a protected service is created for it at the same time, so that the original unprotected service is adjusted to a protected service.
  • the inconvenience of this method is that the user needs to delete the created business first, and then repeat the creation, which undoubtedly increases the user's operation process, and when the unprotected business is already activated, the unprotected Deactivation of services will also lead to the interruption of unprotected services and affect the use of actual users.
  • the purpose of the present invention is to overcome the deficiencies of the above-mentioned background technology and provide a method and system for non-destructive adjustment of OTN protection services, to ensure that the original services are not affected, and to improve operation efficiency.
  • the present invention provides a method for non-destructive adjustment of OTN protection services, including the following steps:
  • the method further includes the following steps: selecting the service with protection to be adjusted, and deleting protection for the selected service with protection.
  • the attributes of the protection service include protection mode, return method, delay time, and recovery waiting time.
  • the selection of unprotected services to be adjusted, selection of the type, protection level, and attributes of the protected services to be created, and creation of protection for the selected unprotected services specifically include the following steps:
  • the selected protection level associate the protection business object and the work business object of the protection level to generate the protection relationship object, and record the association relationship between the work business, the protection business and the protection relationship object;
  • the selection of the service with protection to be adjusted and the deletion of protection for the selected service with protection specifically include the following steps:
  • the present invention also provides a system for lossless adjustment of OTN protection services, including:
  • the first service adjustment module is used to select the unprotected service to be adjusted, select the type, protection level, and attribute of the protected service to be created, and create protection for the selected unprotected service.
  • the system further includes a second service adjustment module, which is used to select the service with protection to be adjusted and delete protection for the selected service with protection.
  • the attributes of the protection service include protection mode, return method, delay time, and recovery waiting time.
  • the first service adjustment module selects the unprotected service to be adjusted, selects the type, protection level, and attributes of the protected service to be created, and creates protection for the selected unprotected service, including: The following steps:
  • the selected protection level associate the protection business object and the work business object of the protection level to generate the protection relationship object, and record the association relationship between the work business, the protection business and the protection relationship object;
  • the second service adjustment module selects the service with protection to be adjusted, and deletes protection for the selected service with protection, which specifically includes the following steps:
  • the user does not need to deactivate and delete the original service, and can realize the adjustment of the unprotected service to the protected service and the protected service to the unprotected service. And it does not have any impact on the actual connectivity of the original business, improves the user's ease of use, and improves the operating efficiency of the network management.
  • FIG. 1 is a schematic diagram of a process of adjusting an unprotected service to a protected service in a method for losslessly adjusting an OTN protection service according to an embodiment of the present invention
  • Fig. 2 is a schematic diagram of a process of adjusting a protected service to an unprotected service in a method for losslessly adjusting an OTN protection service according to an embodiment of the present invention.
  • the embodiment of the present invention provides a method for lossless adjustment of OTN protection services, which includes the following steps:
  • the method further includes the following steps: selecting the service with protection to be adjusted, and deleting the protection for the selected service with protection. If the current path is a protection path, you only need to switch the roles of the protection path and the working path, set the original protection path as the current working path, and the original working path as the current protection path, then the embodiment of the present invention can be applied to delete protection for services with protection Methods.
  • the attributes of the protection service include protection mode, return method, delay time, and recovery waiting time.
  • the steps for adjusting the unprotected service to the protected service are as follows:
  • the protection level can be the level of the current service or the level of its parent. For example, there are three levels of services on the original unprotected service port, namely the ODUK service of ODU1, ODU2, and ODU3.
  • the protection level can be ODU2, ODU3, and when choosing to create protection on the service of ODU1, then the level can be ODU1, ODU2 or ODU3.
  • the protection level is the same as the cross particle.
  • the selected protection level is ODU2 or ODU3, then it is the large particle protection small particle cross scenario;
  • the rate of the port must be consistent with the rate of the working port, and the service level of the mapped path on the protection port must be the same as the path above the protection level on the working port, that is, the service level on the working port is There are three layers of ODU1, ODU2, and ODU3.
  • the service layer on the protected port needs to be ODU2 and ODU3.
  • the ODUK services of each layer are created in sequence from large particles to cross particles. After creating an ODUK service with the same protection level as the selected protection level, it is necessary to recursively analyze whether there are sub-level services in the work service corresponding to the protection level and its sub-levels. Then, create and work under the same protection ODUK object as the protection level. The next-to-one sub-layer service of the business ODUK object.
  • There is one ODU4 service, two ODU3 sub-layer services in the ODU4 service, and two ODU2 services in the ODU3 1 service.
  • ODU4 When choosing to add protection for OUD4 services, after creating ODU4 services on the protected port, two corresponding ODU3 services and two ODU2 services need to be created at the same time.
  • the sub-layer service corresponding to the work service will be created under the protection service, so that when the protection is switched, all the small-particle services are switched, so you need to work
  • the sibling relationship of the protection service sub-layer is recorded in the attribute of the sub-layer service, and the sibling relationship of the working sub-layer is recorded in the sub-layer attribute of the protection service.
  • S23 Recursively obtain any sub-layer business under the work business, clear the sibling relationship of the sub-layer business records, and record the deletion relationship between each sub-layer business and the protection sub-layer business one by one.
  • the level of the work service is ODU2, and there are 3 sub-level services under it as ODU1, then the sibling relationship associated with the three sub-level ODU1 services needs to be cleared, and the deletion relationship between the delete sub-level service ID and the work service sub-level service ID is generated. If the work business has no sub-level business, it means that the protection level is the same as the cross grain, and there is no need to remove the sibling relationship.
  • the upper layer of the work business contains a service layer, it means that the protection layer is not the largest particle, and the upper layer of the protection business also has a service layer.
  • the service layer of the protection business has no other sub-layers other than the current protection business, the protection business also needs to be deleted
  • the top-level ODUK business needs to be deleted, the OTUK business also needs to be deleted.
  • the protection level is ODU2
  • the upper layer of the working service ODU2 has two services, ODU3 and ODU4
  • the upper layer of the protection service ODU2 also has two services, ODU3 and ODU4, and it needs to be deleted when there is no other service under the protection service layer ODU3.
  • the sub-layer of the ODU4 service layer needs to be deleted when there are no other sub-layer services except the current ODU3.
  • ODU4 When ODU4 needs to be deleted, its service layer ODUT also needs to be deleted. Record the relationship between the deleted protection business and the parent layer and the work business and the parent layer respectively.
  • the embodiment of the present invention also provides a system for lossless adjustment of OTN protection services, including:
  • the first service adjustment module is used to select the unprotected service to be adjusted, select the type, protection level, and attribute of the protected service to be created, and create protection for the selected unprotected service.
  • the system further includes a second service adjustment module, which is used to select the service with protection to be adjusted and delete protection for the selected service with protection.
  • a second service adjustment module which is used to select the service with protection to be adjusted and delete protection for the selected service with protection.
  • the attributes of the protection service include protection mode, return method, delay time, and recovery waiting time.
  • the first service adjustment module selects the unprotected service to be adjusted, selects the type, protection level, and attribute of the protected service to be created, and creates protection for the selected unprotected service, which specifically includes the following steps:
  • the selected protection level associate the protection business object and the work business object of the protection level to generate the protection relationship object, and record the association relationship between the work business, the protection business and the protection relationship object;
  • the second service adjustment module selects the service with protection to be adjusted, and deletes protection for the selected service with protection, which specifically includes the following steps:
  • the present invention also provides a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored on which a computer program is stored.
  • the computer program is executed by a processor, all or some of the method steps in the method for non-destructive adjustment of OTN protection services are realized.
  • All or part of the processes in the method for implementing the lossless adjustment of OTN protection services in the embodiments of the present invention can also be completed by instructing relevant hardware through a computer program.
  • the computer program can be stored in a computer-readable storage medium. When executed by the processor, the steps of the foregoing method embodiments can be implemented.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms.
  • Computer-readable media may include: any entity or device capable of carrying computer program code, recording media, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access Memory (RAM, Random Access Memory), electric carrier signal, telecommunications signal, software distribution medium, etc.
  • computer-readable media can be appropriately added or deleted according to the requirements of the legislation and patent practice in the jurisdiction.
  • computer-readable media does not include Electric carrier signal and telecommunications signal.
  • this application also provides an electronic device, including a memory and a processor, the memory stores a computer program running on the processor, and the processor executes the computer program in a method for achieving lossless adjustment of OTN protection services All or part of the method steps.
  • the so-called processor can be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), ready-made Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor, or the processor may also be any conventional processor, etc.
  • the processor is the control center of the computer device, and various interfaces and lines are used to connect various parts of the entire computer device.
  • the memory may be used to store computer programs and/or modules, and the processor implements various functions of the computer device by running or executing the computer programs and/or modules stored in the memory and calling data stored in the memory.
  • the memory may mainly include a storage program area and a storage data area, where the storage program area can store the operating system, at least one application program (such as sound playback function, image playback function, etc.) required by the function; the storage data area can be stored according to the mobile phone Use the created data (such as audio data, video data, etc.).
  • the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disks, memory, plug-in hard disks, smart media cards (SMC), and secure digital (SD) cards. , Flash Card, at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
  • the embodiments of the present invention can be provided as methods, systems, servers, or computer program products. Therefore, the present invention may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program codes.
  • a computer-usable storage media including but not limited to disk storage, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Storage Device Security (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to the technical field of communications, and disclosed are a method and system for the non-destructive adjustment of OTN protection services. The present invention comprises the following steps: selecting an unprotected service to be adjusted, selecting the type, protection level and protection service properties of a protected service to be created, and creating a protection in the unprotected service. A protected service to be adjusted is selected, and the protection in the protected service is removed. By employing the technical solution of the present invention, a user is able to adjust an unprotected service to be a protected service and adjust a protected service to be an unprotected service without deactivating and removing the original service. Moreover, there is no influence on the actual connectivity of the original service, which thereby improves the usability for the user and improves the operating efficiency for a network administrator.

Description

一种无损调整OTN保护业务的方法及系统Method and system for non-destructive adjustment of OTN protection service 技术领域Technical field
本发明涉及通信技术领域,具体是涉及一种无损调整OTN保护业务的方法及系统。The present invention relates to the field of communication technology, in particular to a method and system for losslessly adjusting OTN protection services.
背景技术Background technique
在OTN传输网管中,OTN业务严格按照标准划分为OTS、OMS、OCH、OTUK、ODUK、CLIENT层次,其中ODUK层按照实际的速率又可以分为:ODU1、ODU2、ODU3、ODU4等层次,业务模型越来越复杂。无论业务模型如何变化,为用户提供方便、快捷、稳定的操作都是一直追求的目标。现在OTN保护业务的调整就是其中之一。这其中包含将已经存在的无保护的业务快速调整为带保护的业务而不对无保护业务原来的实际联通性造成影响;同时包含将已经存在的带保护的业务调整为无保护的业务而不对保护业务中的工作业务的实际联通性产生影响。In the OTN transmission network management, OTN services are strictly classified into OTS, OMS, OCH, OTUK, ODUK, CLIENT levels according to the standard. The ODUK layer can be divided into ODU1, ODU2, ODU3, ODU4 and other levels according to the actual rate. The business model More and more complicated. No matter how the business model changes, providing users with convenient, fast and stable operations is always the goal. The adjustment of OTN protection business is one of them. This includes the rapid adjustment of existing unprotected services to protected services without affecting the original actual connectivity of the unprotected services; at the same time, it includes adjusting the existing protected services to unprotected services without compromising protection. The actual connectivity of the work in the business has an impact.
目前将无保护业务调整为带保护的业务的方式是将无保护业务删除,然后重建。在重新创建原来业务的时候,同时为其创建保护业务,从而将原来的无保护业务调整为带保护的业务。这种方式的不便之处是需要用户先将创建好的业务删除,然后在重复创建,这无疑增加了用户的操作过程,而且当无保护业务已经是激活状态的时候,需要先将该无保护业务去激活,这还会导致无保护业务的中断,影响实际用户的使用。The current way to adjust unprotected services to protected services is to delete unprotected services and then rebuild. When recreating the original service, a protected service is created for it at the same time, so that the original unprotected service is adjusted to a protected service. The inconvenience of this method is that the user needs to delete the created business first, and then repeat the creation, which undoubtedly increases the user's operation process, and when the unprotected business is already activated, the unprotected Deactivation of services will also lead to the interruption of unprotected services and affect the use of actual users.
目前将带保护的业务调整为无保护,需要将带保护的业务删除, 然后重新创建保护业务中的工作业务,从而调整为无保护业务。这种方式同样增加了用户的重复操作,而且在保护业务激活的状态下,首先要将保护业务去激活,这同样是以工作业务的中断为代价的。随着时间的推移及技术的进步,这些缺陷对用户而言变得越来越难以接受,在保证原有业务不受影响的情况下,用户对操作的易用性和快捷性提出了越来越高的要求。Currently, if the protected service is adjusted to unprotected, the protected service needs to be deleted, and then the working service in the protected service is recreated to adjust to the unprotected service. This method also increases the user's repeated operations, and when the protection service is activated, the protection service must first be deactivated, which is also at the cost of interruption of the work service. With the passage of time and the advancement of technology, these defects have become more and more unacceptable for users. Under the circumstance of ensuring that the original business is not affected, users have put forward more and more suggestions on the ease of use and speed of operation. The higher the requirements.
发明内容Summary of the invention
本发明的目的是为了克服上述背景技术的不足,提供一种无损调整OTN保护业务的方法及系统,保证原有业务不受影响,提高操作效率。The purpose of the present invention is to overcome the deficiencies of the above-mentioned background technology and provide a method and system for non-destructive adjustment of OTN protection services, to ensure that the original services are not affected, and to improve operation efficiency.
本发明提供一种无损调整OTN保护业务的方法,包括以下步骤:The present invention provides a method for non-destructive adjustment of OTN protection services, including the following steps:
选择待调整的无保护业务,选择待创建的保护业务的类型、保护层级和保护业务的属性,为选择的无保护业务创建保护。Select the unprotected service to be adjusted, select the type, protection level, and attribute of the protected service to be created, and create protection for the selected unprotected service.
在上述方案的基础上,所述方法还包括以下步骤:选择待调整的带保护业务,为选择的带保护业务删除保护。On the basis of the above solution, the method further includes the following steps: selecting the service with protection to be adjusted, and deleting protection for the selected service with protection.
在上述方案的基础上,所述保护业务的属性包括保护模式、返回方式、拖延时间、恢复等待时间。On the basis of the above solution, the attributes of the protection service include protection mode, return method, delay time, and recovery waiting time.
在上述方案的基础上,所述选择待调整的无保护业务,选择待创建的保护业务的类型、保护层级和保护业务的属性,为选择的无保护业务创建保护,具体包括以下步骤:On the basis of the above solution, the selection of unprotected services to be adjusted, selection of the type, protection level, and attributes of the protected services to be created, and creation of protection for the selected unprotected services specifically include the following steps:
选择待调整的无保护业务,确定待创建保护业务的源、宿保护端口;Select the unprotected service to be adjusted, and determine the source and sink protected ports of the protected service to be created;
选择保护业务的类型,选择保护层级,选择保护业务的属性;Select the type of protection service, select the protection level, and select the attribute of the protection service;
根据工作业务上工作端口上各层级业务对象,创建保护业务上保护端口上各层级的业务对象;According to the business objects of each level on the working port of the work business, create business objects of each level on the protection port of the protection business;
根据选择的保护层级,将保护层级的保护业务对象和工作业务对象关联,生成保护关系对象,并记录工作业务、保护业务与保护关系对象之间的关联关系;According to the selected protection level, associate the protection business object and the work business object of the protection level to generate the protection relationship object, and record the association relationship between the work business, the protection business and the protection relationship object;
关联保护层级颗粒下工作子层业务与保护子层业务之间的兄弟关系;Associate the sibling relationship between the working sub-layer business and the protection sub-layer business under the protection layer granule;
修改待调整的无保护业务的网管状态,提示用户调整后的业务需要进行下载;Modify the network management status of the unprotected service to be adjusted, and remind the user that the adjusted service needs to be downloaded;
在业务下载的过程中,将各个层级业务和保护关系对象涉及的配置数据记录到数据库。In the process of business downloading, the configuration data involved in each level of business and protection relationship objects are recorded in the database.
在上述方案的基础上,所述选择待调整的带保护业务,为选择的带保护业务删除保护,具体包括以下步骤:On the basis of the above solution, the selection of the service with protection to be adjusted and the deletion of protection for the selected service with protection specifically include the following steps:
选择待调整的带保护业务,通过保护关系对象获取工作路径和保护路径,清除工作路径、保护路径和保护关系对象之间的关联关系,删除保护关系对象,记录工作业务和被删除保护关系对象的删除关系;Select the business with protection to be adjusted, obtain the working path and the protection path through the protection relationship object, clear the association relationship between the work path, the protection path and the protection relationship object, delete the protection relationship object, record the work business and the deleted protection relationship object Delete relationship
递归清除工作业务的子层路径与保护业务的子层路径之间的兄弟关系,记录工作业务的子层路径和保护业务的子层路径之间的删除关系;Recursively clear the sibling relationship between the sub-layer path of the work service and the sub-layer path of the protection service, and record the deletion relationship between the sub-layer path of the work service and the sub-layer path of the protection service;
分别记录待删除的保护业务及父层路径与工作业务及父层路径之间的关联关系;Record the relationship between the protection service to be deleted and the parent layer path and the work service and parent layer path respectively;
删除保护路径、保护路径的子层路径及父层路径,将上面记录的业务之间删除关系的数据存储到数据库;Delete the protection path, the child path and the parent path of the protection path, and store the data of the deleted relationship between the services recorded above in the database;
修改工作业务的网管状态,提示用户调整后的业务需要进行下载;Modify the network management status of the work business, and remind the user that the adjusted business needs to be downloaded;
在业务下载的过程中,查找关联的被删除的各层业务并关联下 载,将记录的删除关系数据和配置数据在数据库中清除。In the process of business downloading, search for related deleted services of each layer and correlate the download, and clear the recorded deletion relationship data and configuration data in the database.
本发明还提供一种无损调整OTN保护业务的系统,包括:The present invention also provides a system for lossless adjustment of OTN protection services, including:
第一业务调整模块,其用于:选择待调整的无保护业务,选择待创建的保护业务的类型、保护层级和保护业务的属性,为选择的无保护业务创建保护。The first service adjustment module is used to select the unprotected service to be adjusted, select the type, protection level, and attribute of the protected service to be created, and create protection for the selected unprotected service.
在上述方案的基础上,所述系统还包括第二业务调整模块,其用于:选择待调整的带保护业务,为选择的带保护业务删除保护。On the basis of the above solution, the system further includes a second service adjustment module, which is used to select the service with protection to be adjusted and delete protection for the selected service with protection.
在上述方案的基础上,所述保护业务的属性包括保护模式、返回方式、拖延时间、恢复等待时间。On the basis of the above solution, the attributes of the protection service include protection mode, return method, delay time, and recovery waiting time.
在上述方案的基础上,所述第一业务调整模块选择待调整的无保护业务,选择待创建的保护业务的类型、保护层级和保护业务的属性,为选择的无保护业务创建保护,具体包括以下步骤:On the basis of the above solution, the first service adjustment module selects the unprotected service to be adjusted, selects the type, protection level, and attributes of the protected service to be created, and creates protection for the selected unprotected service, including: The following steps:
选择待调整的无保护业务,确定待创建保护业务的源、宿保护端口;Select the unprotected service to be adjusted, and determine the source and sink protected ports of the protected service to be created;
选择保护业务的类型,选择保护层级,选择保护业务的属性;Select the type of protection service, select the protection level, and select the attribute of the protection service;
根据工作业务上工作端口上各层级业务对象,创建保护业务上保护端口上各层级的业务对象;According to the business objects of each level on the working port of the work business, create business objects of each level on the protection port of the protection business;
根据选择的保护层级,将保护层级的保护业务对象和工作业务对象关联,生成保护关系对象,并记录工作业务、保护业务与保护关系对象之间的关联关系;According to the selected protection level, associate the protection business object and the work business object of the protection level to generate the protection relationship object, and record the association relationship between the work business, the protection business and the protection relationship object;
关联保护层级颗粒下工作业务的子层业务与保护业务的子层业务之间的兄弟关系;Associate the sibling relationship between the sub-level business of the working business under the protection level granule and the sub-level business of the protection business;
修改待调整的无保护业务的网管状态,提示用户调整后的业务需要进行下载;Modify the network management status of the unprotected service to be adjusted, and remind the user that the adjusted service needs to be downloaded;
在业务下载的过程中,将各个层级业务和保护关系对象涉及的配 置数据记录到数据库。In the process of business downloading, the configuration data involved in each level of business and protection relationship objects are recorded in the database.
在上述方案的基础上,所述第二业务调整模块选择待调整的带保护业务,为选择的带保护业务删除保护,具体包括以下步骤:On the basis of the above solution, the second service adjustment module selects the service with protection to be adjusted, and deletes protection for the selected service with protection, which specifically includes the following steps:
选择待调整的带保护业务,通过保护关系对象获取工作路径和保护路径,清除工作路径、保护路径和保护关系对象之间的关联关系,删除保护关系对象,记录工作业务和被删除保护关系对象的删除关系;Select the business with protection to be adjusted, obtain the working path and the protection path through the protection relationship object, clear the association relationship between the work path, the protection path and the protection relationship object, delete the protection relationship object, record the work business and the deleted protection relationship object Delete relationship
递归清除工作业务的子层路径与保护业务的子层路径之间的兄弟关系,记录工作业务的子层路径和保护业务的子层路径之间的删除关系;Recursively clear the sibling relationship between the sub-layer path of the work service and the sub-layer path of the protection service, and record the deletion relationship between the sub-layer path of the work service and the sub-layer path of the protection service;
分别记录待删除的保护业务及父层路径与工作业务及父层路径之间的关联关系;Record the relationship between the protection service to be deleted and the parent layer path and the work service and parent layer path respectively;
删除保护路径、保护路径的子层路径及父层路径,将上面记录的业务之间删除关系数据数据存储到数据库;Delete the protection path, the child path and the parent path of the protection path, and store the deleted relationship data between the services recorded above in the database;
修改工作业务的网管状态,提示用户调整后的业务需要进行下载;Modify the network management status of the work business, and remind the user that the adjusted business needs to be downloaded;
在业务下载的过程中,查找关联的被删除的各层业务并关联下载,将记录的删除关系数据和配置数据在数据库中清除。In the process of business downloading, find the associated deleted services of each layer and associate the download, and clear the recorded deletion relationship data and configuration data in the database.
与现有技术相比,本发明的优点如下:Compared with the prior art, the advantages of the present invention are as follows:
采用本发明的技术方案,用户不需要去激活和删除原有业务,就能实现将无保护业务调整为带保护的业务,将保护业务调整为无保护的业务。且对原来业务的实际联通性不产生任何影响,改善了用户的易用性,提高了网管的操作效率。By adopting the technical scheme of the present invention, the user does not need to deactivate and delete the original service, and can realize the adjustment of the unprotected service to the protected service and the protected service to the unprotected service. And it does not have any impact on the actual connectivity of the original business, improves the user's ease of use, and improves the operating efficiency of the network management.
附图说明Description of the drawings
图1是本发明实施例的无损调整OTN保护业务的方法的无保护 业务调整为带保护业务的流程示意图;FIG. 1 is a schematic diagram of a process of adjusting an unprotected service to a protected service in a method for losslessly adjusting an OTN protection service according to an embodiment of the present invention;
图2是本发明实施例的无损调整OTN保护业务的方法的带保护业务调整为无保护业务的流程示意图。Fig. 2 is a schematic diagram of a process of adjusting a protected service to an unprotected service in a method for losslessly adjusting an OTN protection service according to an embodiment of the present invention.
具体实施方式detailed description
现在将详细参照本发明的具体实施例,在附图中例示了本发明的例子。尽管将结合具体实施例描述本发明,但请理解,不是想要将本发明限于所述的实施例。相反,而是想要覆盖由所附权利要求限定的在本发明的精神和范围内包括的变更、修改和等价物。应注意,这里描述的方法步骤都可以由任何功能块或功能布置来实现,且任何功能块或功能布置可被实现为物理实体或逻辑实体、或者两者的组合。Reference will now be made in detail to specific embodiments of the present invention, which are illustrated in the accompanying drawings. Although the present invention will be described in conjunction with specific embodiments, please understand that it is not intended to limit the present invention to the described embodiments. On the contrary, it is intended to cover changes, modifications, and equivalents included within the spirit and scope of the present invention as defined by the appended claims. It should be noted that the method steps described here can be implemented by any functional block or functional arrangement, and any functional block or functional arrangement can be implemented as a physical entity or a logical entity, or a combination of both.
为了使本领域技术人员更好地理解本发明,下面结合附图和具体实施方式对本发明作进一步详细说明。In order to enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
注意:接下来要介绍的示例仅是一个具体的例子,而不作为限制本发明的实施例必须为如下具体的步骤、数值、条件、数据、顺序等等。本领域技术人员可以通过阅读本说明书来运用本发明的构思来构造本说明书中未提到的更多实施例。Note: The example to be introduced next is only a specific example, and is not intended to limit the embodiment of the present invention. The specific steps, values, conditions, data, sequence, etc. must be as follows. Those skilled in the art can use the concept of the present invention to construct more embodiments not mentioned in this specification by reading this specification.
本发明实施例提供一种无损调整OTN保护业务的方法,包括以下步骤:The embodiment of the present invention provides a method for lossless adjustment of OTN protection services, which includes the following steps:
选择待调整的无保护业务,选择待创建的保护业务的类型、保护层级和保护业务的属性,为选择的无保护业务创建保护。Select the unprotected service to be adjusted, select the type, protection level, and attribute of the protected service to be created, and create protection for the selected unprotected service.
优选的,所述方法还包括以下步骤:选择待调整的带保护业务,为选择的带保护业务删除保护。如果当前路径是保护路径,只需要将保护路径和工作路径进行角色切换,设置原保护路径为当前工作路径,原工作路径为当前保护路径,即可适用本发明实施例的为带保护 业务删除保护的方法。Preferably, the method further includes the following steps: selecting the service with protection to be adjusted, and deleting the protection for the selected service with protection. If the current path is a protection path, you only need to switch the roles of the protection path and the working path, set the original protection path as the current working path, and the original working path as the current protection path, then the embodiment of the present invention can be applied to delete protection for services with protection Methods.
优选的,所述保护业务的属性包括保护模式、返回方式、拖延时间、恢复等待时间。Preferably, the attributes of the protection service include protection mode, return method, delay time, and recovery waiting time.
优选的,如图1所示,无保护业务调整为带保护业务实施步骤说明如下:Preferably, as shown in Figure 1, the steps for adjusting the unprotected service to the protected service are as follows:
S11、在网管的界面上,直接选择要调整的无保护业务,在点击右键后的快捷菜单中提供直接添加保护路径的菜单项供用户选择。S11. On the interface of the network management, directly select the unprotected service to be adjusted, and provide a menu item to directly add a protected path in the shortcut menu after right-clicking for the user to choose.
S12、选择保护业务的类型,如OCH1+1,OCH1:1,ODUK1+1,ODUK1:1和CLIENT1+1;选择保护层级,根据选择的要添加保护路径的工作路径的当前层次,来确定可选保护业务的层级,保护层级可以是当前业务的层次也可以是其父层的层次。如原有无保护业务的端口上有3个层级的业务,分别为ODU1、ODU2、ODU3的ODUK业务。当选择在ODU2的业务上创建保护时,那保护层级可以是ODU2、ODU3,当选择在ODU1的业务上创建保护时,那么层级可以是ODU1、ODU2或ODU3。选择为ODU1的业务添加保护,且保护层级选择为ODU1时,这时保护层级就与交叉颗粒相同,当选择的保护层级是ODU2或ODU3时,这时就是大颗粒保护小颗粒交叉场景;同时还要选择保护模式、返回方式、拖延时间、恢复等待时间等属性。确定保护路径的源宿端口,要求端口的速率要与工作端口的速率一致,同时保护端口上的映射路径的业务层次需要与工作端口上保护层级以上的路径相同,即工作端口上的业务层次为ODU1、ODU2、ODU3三层,当为ODU2添加保护,保护端口上的业务层次需要为ODU2、ODU3两层。S12. Select the type of protection service, such as OCH1+1, OCH1:1, ODUK1+1, ODUK1:1 and CLIENT1+1; select the protection level, and determine the available protection level according to the current level of the working path to which the protection path is selected. Select the level of the protection service. The protection level can be the level of the current service or the level of its parent. For example, there are three levels of services on the original unprotected service port, namely the ODUK service of ODU1, ODU2, and ODU3. When choosing to create protection on the service of ODU2, the protection level can be ODU2, ODU3, and when choosing to create protection on the service of ODU1, then the level can be ODU1, ODU2 or ODU3. When you choose to add protection to the service of ODU1, and the protection level is selected as ODU1, the protection level is the same as the cross particle. When the selected protection level is ODU2 or ODU3, then it is the large particle protection small particle cross scenario; To select the protection mode, return method, delay time, recovery waiting time and other attributes. To determine the source and sink ports of the protection path, the rate of the port must be consistent with the rate of the working port, and the service level of the mapped path on the protection port must be the same as the path above the protection level on the working port, that is, the service level on the working port is There are three layers of ODU1, ODU2, and ODU3. When adding protection to ODU2, the service layer on the protected port needs to be ODU2 and ODU3.
S13、根据保护业务端口上要创建的业务层次,从大颗粒到交叉颗粒依次创建各层ODUK业务。当创建与选择的保护层级相同的 ODUK业务后,需要递归分析在该保护层级对应的工作业务及其子层是否还存在子层业务,那么在与保护层级相同的保护ODUK对象下要创建与工作业务ODUK对象下一一对应的子层业务。如原来无保护的业务的端口上的业务层次为ODU4=1/OUD3=1/ODU2=1,ODU4=1/ODU3=2,ODU4=1/OUD3=1/ODU2=2,即在该端口上有一条ODU4的业务,在ODU4业务上2条ODU3的子层业务,在ODU3=1的业务上有2条ODU2的业务。当选择为OUD4的业务添加保护时,在保护端口上创建ODU4的业务后,同时需要创建对应的2条ODU3业务和两条ODU2业务。当选择为ODU3=2的业务添加保护,且保护层次选择ODU3,那么在保护端口上创建ODU4和ODU3业务即可。当选择为ODU3=1的业务添加保护,且保护层级选择ODU3,在保护端口上创建ODU4和ODU3业务后,还需要创建2条ODU2业务与ODU3=1的子层业务一一对应。S13. According to the service level to be created on the protection service port, the ODUK services of each layer are created in sequence from large particles to cross particles. After creating an ODUK service with the same protection level as the selected protection level, it is necessary to recursively analyze whether there are sub-level services in the work service corresponding to the protection level and its sub-levels. Then, create and work under the same protection ODUK object as the protection level. The next-to-one sub-layer service of the business ODUK object. For example, the service level on the port of the original unprotected service is ODU4=1/OUD3=1/ODU2=1, ODU4=1/ODU3=2, ODU4=1/OUD3=1/ODU2=2, that is, on this port There is one ODU4 service, two ODU3 sub-layer services in the ODU4 service, and two ODU2 services in the ODU3=1 service. When choosing to add protection for OUD4 services, after creating ODU4 services on the protected port, two corresponding ODU3 services and two ODU2 services need to be created at the same time. When you choose to add protection for the service of ODU3=2, and the protection level selects ODU3, then ODU4 and ODU3 services can be created on the protected port. When you choose to add protection for the service with ODU3=1, and choose ODU3 as the protection level, after creating ODU4 and ODU3 services on the protection port, you need to create two ODU2 services in a one-to-one correspondence with the sub-layer service with ODU3=1.
S14、创建保护关系对象,将创建的与保护层次同层次的工作业务和保护业务对象关联起来。同时在工作业务和保护业务对象的属性中记录保护关系对象的信息从而表明工作业务为带有保护的业务。S14. Create a protection relationship object, and associate the created work business and protection business object at the same level as the protection level. At the same time, the information of the protection relationship object is recorded in the attributes of the work business and the protection business object to indicate that the work business is a business with protection.
S15、当保护为大颗粒,交叉为小颗粒的场景下,保护业务下面会相应创建与工作业务下面对应的子层业务,以便保护发生倒换时,所有的小颗粒业务进行倒换,所以需要在工作子层业务的属性中记录保护业务子层的兄弟关系,同时在保护业务的子层属性中记录工作子层的兄弟关系。S15. When the protection is a large particle and the cross is a small particle, the sub-layer service corresponding to the work service will be created under the protection service, so that when the protection is switched, all the small-particle services are switched, so you need to work The sibling relationship of the protection service sub-layer is recorded in the attribute of the sub-layer service, and the sibling relationship of the working sub-layer is recorded in the sub-layer attribute of the protection service.
S16、当原来无保护业务的网管状态为激活状态时,需要将其状态调整为部分激活的状态,提示用户该业务经过调整,需要重新下载,以使调整后的保护生效。当原来无保护业务的网管状态为部分激活或未激活时,不需要对其状态进行变更,因为在未激活或部分激活的状 态下,用户本身就需要对业务进行激活的操作,才能使业务的全部功能生效。S16. When the network management status of the original unprotected service is activated, its status needs to be adjusted to a partially activated status, prompting the user that the service has been adjusted and needs to be downloaded again to make the adjusted protection effective. When the network management status of the original unprotected service is partially activated or inactive, there is no need to change its status, because in the inactive or partially activated state, the user himself needs to activate the service to enable the service All functions take effect.
S17、当用户对业务进行激活时,需要将各个层次的业务和保护关系对象涉及的相关配置数据存储到表1的数据库的表中,即记录业务ID和配置数据的对应关系,以便当业务被删除后可以将关联的配置取出,然后在设备中清除。S17. When the user activates the business, it is necessary to store the relevant configuration data related to the business and protection relationship objects at each level in the database table in Table 1, that is, to record the corresponding relationship between the business ID and the configuration data, so that when the business is After deletion, the associated configuration can be taken out and then cleared in the device.
表1、业务ID和配置数据的对应关系表Table 1. Correspondence table of business ID and configuration data
字段Field 类型Types of 备注Remarks
cbusinessidcbusinessid intint 业务IDBusiness ID
cdatacdata longbloblongblob 配置数据Configuration Data
优选的,如图2所示,带保护业务调整为无保护业务实施步骤说明如下:Preferably, as shown in Figure 2, the implementation steps for adjusting a protected service to an unprotected service are described as follows:
S21、在网管的界面上,直接选择要调整的带保护业务,带保护业务的网管状态无论是激活还是未激活时,在点击右键后的快捷菜单中提供直接删除保护路径的菜单项供用户选择。S21. On the network management interface, directly select the protected service to be adjusted. When the status of the protected service network management is activated or inactive, the menu item to directly delete the protection path is provided in the shortcut menu after right-clicking for the user to choose .
S22、通过保护关系对象获取其中的工作路径和保护路径,清除工作路径、保护路径和保护关系对象之间的联系,删除保护关系对象,同时记录一条工作业务ID和被删除保护关系对象ID的删除关系,以便在工作业务下载时可以通过该数据找到与其对应的被删除的对象的ID。S22. Obtain the working path and the protection path therein through the protection relationship object, clear the connection between the work path, the protection path and the protection relationship object, delete the protection relationship object, and record the deletion of a working business ID and the deleted protection relationship object ID Relationship, so that the ID of the corresponding deleted object can be found through the data when the work service is downloaded.
S23、对工作业务递归获取其下任意子层业务,清除子层业务记录的兄弟关系,同时一一记录各子层业务和保护子层业务之间删除关系。如工作业务的层次为ODU2,其下有3个子层业务为ODU1,那么需要清除3个子层ODU1业务上关联的兄弟关系,同时生成删除子层业务ID与工作业务子层业务ID的删除关系。如果工作业务没有子层业务,说明保护层级与交叉颗粒是相同的,不需进行清除兄弟关 系的操作。S23. Recursively obtain any sub-layer business under the work business, clear the sibling relationship of the sub-layer business records, and record the deletion relationship between each sub-layer business and the protection sub-layer business one by one. For example, the level of the work service is ODU2, and there are 3 sub-level services under it as ODU1, then the sibling relationship associated with the three sub-level ODU1 services needs to be cleared, and the deletion relationship between the delete sub-level service ID and the work service sub-level service ID is generated. If the work business has no sub-level business, it means that the protection level is the same as the cross grain, and there is no need to remove the sibling relationship.
S24、如果工作业务的上层含有服务层,说明保护层级不是最大颗粒,同时保护业务的上层也有服务层,当保护业务的服务层除当前保护业务之外没有其他子层时,保护业务也需要删除,当最高层的ODUK业务需要删除时,OTUK的业务也需要删除。如保护的层级为ODU2,工作业务ODU2的上层有ODU3和ODU4两层业务,保护业务ODU2的上层也有ODU3和ODU4两层业务,且当保护业务服务层ODU3下没有其他任何业务时需要删除,当ODU4服务层的子层除当前的ODU3之外没有其他子层业务时需要删除,当ODU4需要删除时其服务层ODUT也需要删除。分别记录被删除保护业务及父层与工作业务及父层之间的关联关系。S24. If the upper layer of the work business contains a service layer, it means that the protection layer is not the largest particle, and the upper layer of the protection business also has a service layer. When the service layer of the protection business has no other sub-layers other than the current protection business, the protection business also needs to be deleted When the top-level ODUK business needs to be deleted, the OTUK business also needs to be deleted. If the protection level is ODU2, the upper layer of the working service ODU2 has two services, ODU3 and ODU4, and the upper layer of the protection service ODU2 also has two services, ODU3 and ODU4, and it needs to be deleted when there is no other service under the protection service layer ODU3. The sub-layer of the ODU4 service layer needs to be deleted when there are no other sub-layer services except the current ODU3. When ODU4 needs to be deleted, its service layer ODUT also needs to be deleted. Record the relationship between the deleted protection business and the parent layer and the work business and the parent layer respectively.
S25、将保护子层路径,保护路径,保护父层路径删除,释放各层路径中占用的的资源,如删除保护前保护业务的网管状态为激活时,需要将记录的被删除保护业务ID和关联的工作业务ID的对应关系信息存入表2所示的数据库表中。S25. Delete the protection child path, protection path, and protection parent path to release the resources occupied in each path. For example, when the network management status of the protection service is activated before the protection is deleted, the recorded deleted protection service ID and The corresponding relationship information of the associated work service ID is stored in the database table shown in Table 2.
表2、被删除工作业务ID和关联的保护业务ID对应关系表Table 2. Correspondence between the deleted work service ID and the associated protection service ID
字段Field 类型Types of 备注Remarks
cdeledbizIdcdeledbizId intint 被删除保护业务IDDeleted protection business ID
crelatebizIdcrelgoldenstatebizId intint 关联的工作业务IDAssociated work business ID
S26、当原来带保护业务的网管状态为激活时,需要将调整后无保护的工作路径的状态修改为部分激活,提示用户对该业务进行下载。S26. When the original network management status with the protection service is activated, the status of the adjusted unprotected working path needs to be modified to partially activated, and the user is prompted to download the service.
S27、在用户对调整后的业务进行激活或去激活操作时,通过要激活或去激活的无保护业务ID在数据库表2中找到与其关联的被删除的业务ID,将被删除的业务ID的配置数据在记录的业务配置数据库表1中取出并随无保护业务一起进行删除的操作。同时删除数据库 表1和表2中记录的信息。S27. When the user activates or deactivates the adjusted service, find the deleted service ID associated with it in the database table 2 through the unprotected service ID to be activated or deactivated, and the ID of the deleted service The configuration data is retrieved from the recorded service configuration database table 1 and deleted along with the unprotected service. At the same time delete the information recorded in the database Table 1 and Table 2.
本发明实施例还提供一种无损调整OTN保护业务的系统,包括:The embodiment of the present invention also provides a system for lossless adjustment of OTN protection services, including:
第一业务调整模块,其用于:选择待调整的无保护业务,选择待创建的保护业务的类型、保护层级和保护业务的属性,为选择的无保护业务创建保护。The first service adjustment module is used to select the unprotected service to be adjusted, select the type, protection level, and attribute of the protected service to be created, and create protection for the selected unprotected service.
优选的,所述系统还包括第二业务调整模块,其用于:选择待调整的带保护业务,为选择的带保护业务删除保护。Preferably, the system further includes a second service adjustment module, which is used to select the service with protection to be adjusted and delete protection for the selected service with protection.
优选的,所述保护业务的属性包括保护模式、返回方式、拖延时间、恢复等待时间。Preferably, the attributes of the protection service include protection mode, return method, delay time, and recovery waiting time.
优选的,所述第一业务调整模块选择待调整的无保护业务,选择待创建的保护业务的类型、保护层级和保护业务的属性,为选择的无保护业务创建保护,具体包括以下步骤:Preferably, the first service adjustment module selects the unprotected service to be adjusted, selects the type, protection level, and attribute of the protected service to be created, and creates protection for the selected unprotected service, which specifically includes the following steps:
选择待调整的无保护业务,确定待创建保护业务的源、宿保护端口;Select the unprotected service to be adjusted, and determine the source and sink protected ports of the protected service to be created;
选择保护业务的类型,选择保护层级,选择保护业务的属性;Select the type of protection service, select the protection level, and select the attribute of the protection service;
根据工作业务上工作端口上各层级业务对象,创建保护业务上保护端口上各层级的业务对象;According to the business objects of each level on the working port of the work business, create business objects of each level on the protection port of the protection business;
根据选择的保护层级,将保护层级的保护业务对象和工作业务对象关联,生成保护关系对象,并记录工作业务、保护业务与保护关系对象之间的关联关系;According to the selected protection level, associate the protection business object and the work business object of the protection level to generate the protection relationship object, and record the association relationship between the work business, the protection business and the protection relationship object;
关联保护层级颗粒下工作业务的子层业务与保护业务的子层业务之间的兄弟关系;Associate the sibling relationship between the sub-level business of the working business under the protection level granule and the sub-level business of the protection business;
修改待调整的无保护业务的网管状态,提示用户调整后的业务需要进行下载;Modify the network management status of the unprotected service to be adjusted, and remind the user that the adjusted service needs to be downloaded;
在业务下载的过程中,将各个层级业务和保护关系对象涉及的配 置数据记录到数据库。In the process of business downloading, the configuration data involved in each level of business and protection relationship objects are recorded in the database.
优选的,所述第二业务调整模块选择待调整的带保护业务,为选择的带保护业务删除保护,具体包括以下步骤:Preferably, the second service adjustment module selects the service with protection to be adjusted, and deletes protection for the selected service with protection, which specifically includes the following steps:
选择待调整的带保护业务,通过保护关系对象获取工作路径和保护路径,清除工作路径、保护路径和保护关系对象之间的关联关系,删除保护关系对象,记录工作业务和被删除保护关系对象的删除关系;Select the business with protection to be adjusted, obtain the working path and the protection path through the protection relationship object, clear the association relationship between the work path, the protection path and the protection relationship object, delete the protection relationship object, record the work business and the deleted protection relationship object Delete relationship
递归清除工作业务的子层路径与保护业务的子层路径之间的兄弟关系,记录工作业务的子层路径和保护业务的子层路径之间的删除关系;Recursively clear the sibling relationship between the sub-layer path of the work service and the sub-layer path of the protection service, and record the deletion relationship between the sub-layer path of the work service and the sub-layer path of the protection service;
分别记录待删除的保护业务及父层路径与工作业务及父层路径之间的关联关系;Record the relationship between the protection service to be deleted and the parent layer path and the work service and parent layer path respectively;
删除保护路径、保护路径的子层路径及父层路径,将上面记录的业务之间删除关系数据数据存储到数据库;Delete the protection path, the child path and the parent path of the protection path, and store the deleted relationship data between the services recorded above in the database;
修改工作业务的网管状态,提示用户调整后的业务需要进行下载;Modify the network management status of the work business, and remind the user that the adjusted business needs to be downloaded;
在业务下载的过程中,查找关联的被删除的各层业务并关联下载,然后将记录的删除关系数据和配置数据在数据库中清除。In the process of business downloading, find the associated deleted services of each layer and associate the download, and then clear the recorded deletion relationship data and configuration data in the database.
基于同一发明构思,本发明还提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现无损调整OTN保护业务的方法中的所有方法步骤或部分方法步骤。Based on the same inventive concept, the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, all or some of the method steps in the method for non-destructive adjustment of OTN protection services are realized.
本发明实施例实现无损调整OTN保护业务的方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,计算机程序包括计算 机程序代码,计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。计算机可读介质可以包括:能够携带计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。All or part of the processes in the method for implementing the lossless adjustment of OTN protection services in the embodiments of the present invention can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed by the processor, the steps of the foregoing method embodiments can be implemented. The computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms. Computer-readable media may include: any entity or device capable of carrying computer program code, recording media, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access Memory (RAM, Random Access Memory), electric carrier signal, telecommunications signal, software distribution medium, etc. It should be noted that the content contained in computer-readable media can be appropriately added or deleted according to the requirements of the legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to the legislation and patent practice, computer-readable media does not include Electric carrier signal and telecommunications signal.
基于同一发明构思,本申请提供了还提供一种电子设备,包括存储器和处理器,存储器上储存有在处理器上运行的计算机程序,处理器执行计算机程序时实现无损调整OTN保护业务的方法中的所有方法步骤或部分方法步骤。Based on the same inventive concept, this application also provides an electronic device, including a memory and a processor, the memory stores a computer program running on the processor, and the processor executes the computer program in a method for achieving lossless adjustment of OTN protection services All or part of the method steps.
所称处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,处理器是计算机装置的控制中心,利用各种接口和线路连接整个计算机装置的各个部分。The so-called processor can be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), ready-made Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor, or the processor may also be any conventional processor, etc. The processor is the control center of the computer device, and various interfaces and lines are used to connect various parts of the entire computer device.
存储器可用于存储计算机程序和/或模块,处理器通过运行或执行存储在存储器内的计算机程序和/或模块,以及调用存储在存储器内的数据,实现计算机装置的各种功能。存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能 所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、视频数据等)等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory may be used to store computer programs and/or modules, and the processor implements various functions of the computer device by running or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, where the storage program area can store the operating system, at least one application program (such as sound playback function, image playback function, etc.) required by the function; the storage data area can be stored according to the mobile phone Use the created data (such as audio data, video data, etc.). In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disks, memory, plug-in hard disks, smart media cards (SMC), and secure digital (SD) cards. , Flash Card, at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、服务器或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention can be provided as methods, systems, servers, or computer program products. Therefore, the present invention may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program codes.
本发明是参照根据本发明实施例的方法、设备(系统)、服务器和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowcharts and/or block diagrams of methods, devices (systems), servers, and computer program products according to embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. In this way, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.

Claims (10)

  1. 一种无损调整OTN保护业务的方法,其特征在于,包括以下步骤:A method for non-destructive adjustment of OTN protection services is characterized in that it comprises the following steps:
    选择待调整的无保护业务,选择待创建的保护业务的类型、保护层级和保护业务的属性,为选择的无保护业务创建保护。Select the unprotected service to be adjusted, select the type, protection level, and attribute of the protected service to be created, and create protection for the selected unprotected service.
  2. 如权利要求1所述的方法,其特征在于:所述方法还包括以下步骤:选择待调整的带保护业务,为选择的带保护业务删除保护。The method according to claim 1, wherein the method further comprises the following steps: selecting the service with protection to be adjusted, and deleting protection for the selected service with protection.
  3. 如权利要求1所述的方法,其特征在于:所述保护业务的属性包括保护模式、返回方式、拖延时间、恢复等待时间。The method according to claim 1, wherein the attributes of the protection service include protection mode, return mode, delay time, and recovery waiting time.
  4. 如权利要求1所述的方法,其特征在于:所述选择待调整的无保护业务,选择待创建的保护业务的类型、保护层级和保护业务的属性,为选择的无保护业务创建保护,具体包括以下步骤:The method according to claim 1, characterized in that: selecting the unprotected service to be adjusted, selecting the type, protection level, and attributes of the protected service to be created, and creating protection for the selected unprotected service. It includes the following steps:
    选择待调整的无保护业务,确定待创建保护业务的源、宿保护端口;Select the unprotected service to be adjusted, and determine the source and sink protected ports of the protected service to be created;
    选择保护业务的类型,选择保护层级,选择保护业务的属性;Select the type of protection service, select the protection level, and select the attribute of the protection service;
    根据工作业务上工作端口上各层级业务对象,创建保护业务上保护端口上各层级的业务对象;According to the business objects of each level on the working port of the work business, create business objects of each level on the protection port of the protection business;
    根据选择的保护层级,将保护层级的保护业务对象和工作业务对象关联,生成保护关系对象,并记录工作业务、保护业务与保护关系对象之间的关联关系;According to the selected protection level, associate the protection business object and the work business object of the protection level to generate the protection relationship object, and record the association relationship between the work business, the protection business and the protection relationship object;
    关联保护层级颗粒下工作子层业务与保护子层业务之间的兄弟关系;Associate the sibling relationship between the working sub-layer business and the protection sub-layer business under the protection layer granule;
    修改待调整的无保护业务的网管状态,提示用户调整后的业务需要进行下载;Modify the network management status of the unprotected service to be adjusted, and remind the user that the adjusted service needs to be downloaded;
    在业务下载的过程中,将各个层级业务和保护关系对象涉及的配 置数据记录到数据库。In the process of business downloading, the configuration data involved in each level of business and protection relationship objects are recorded in the database.
  5. 如权利要求2所述的方法,其特征在于:所述选择待调整的带保护业务,为选择的带保护业务删除保护,具体包括以下步骤:The method according to claim 2, characterized in that: selecting the service with protection to be adjusted and deleting protection for the selected service with protection includes the following steps:
    选择待调整的带保护业务,通过保护关系对象获取工作路径和保护路径,清除工作路径、保护路径和保护关系对象之间的关联关系,删除保护关系对象,记录工作业务和被删除保护关系对象的删除关系;Select the business with protection to be adjusted, obtain the working path and the protection path through the protection relationship object, clear the association relationship between the work path, the protection path and the protection relationship object, delete the protection relationship object, record the work business and the deleted protection relationship object Delete relationship
    递归清除工作业务的子层路径与保护业务的子层路径之间的兄弟关系,记录工作业务的子层路径和保护业务的子层路径之间的删除关系;Recursively clear the sibling relationship between the sub-layer path of the work service and the sub-layer path of the protection service, and record the deletion relationship between the sub-layer path of the work service and the sub-layer path of the protection service;
    分别记录待删除的保护业务及父层路径和工作业务及父层路径之间的关联关系;Record the relationship between the protection service to be deleted and the parent layer path and the working service and parent layer path respectively;
    删除保护路径、保护路径的子层路径及父层路径,将上面记录的业务之间删除关系的数据存储到数据库;Delete the protection path, the child path and the parent path of the protection path, and store the data of the deleted relationship between the services recorded above in the database;
    修改工作业务的网管状态,提示用户调整后的业务需要进行下载;Modify the network management status of the work business, and remind the user that the adjusted business needs to be downloaded;
    在业务下载的过程中,查找关联的被删除的各层业务并关联下载,将记录的删除关系数据和配置数据在数据库中清除。In the process of business downloading, find the associated deleted services of each layer and associate the download, and clear the recorded deletion relationship data and configuration data in the database.
  6. 一种无损调整OTN保护业务的系统,其特征在于,包括:A system for non-destructive adjustment of OTN protection services, characterized in that it includes:
    第一业务调整模块,其用于:选择待调整的无保护业务,选择待创建的保护业务的类型、保护层级和保护业务的属性,为选择的无保护业务中创建保护。The first service adjustment module is used to select the unprotected service to be adjusted, select the type, protection level, and attribute of the protected service to be created, and create protection for the selected unprotected service.
  7. 如权利要求6所述的系统,其特征在于:所述系统还包括第二业务调整模块,其用于:选择待调整的带保护业务,为选择的带保护业务删除保护。7. The system according to claim 6, characterized in that: the system further comprises a second service adjustment module, which is used to select the protected service to be adjusted and delete protection for the selected protected service.
  8. 如权利要求6所述的系统,其特征在于:所述保护业务的属性包括保护模式、返回方式、拖延时间、恢复等待时间。The system according to claim 6, wherein the attributes of the protection service include protection mode, return mode, delay time, and recovery waiting time.
  9. 如权利要求6所述的系统,其特征在于:所述第一业务调整模块选择待调整的无保护业务,选择待创建的保护业务的类型、保护层级和保护业务的属性,为选择的无保护业务创建保护,具体包括以下步骤:The system according to claim 6, wherein the first service adjustment module selects the unprotected service to be adjusted, selects the type, protection level, and attribute of the protected service to be created, and is the selected unprotected service Business creation protection includes the following steps:
    选择待调整的无保护业务,确定待创建保护业务的源、宿保护端口;Select the unprotected service to be adjusted, and determine the source and sink protected ports of the protected service to be created;
    选择保护业务的类型,选择保护层级,选择保护业务的属性;Select the type of protection service, select the protection level, and select the attribute of the protection service;
    根据工作业务上工作端口上各层级业务对象,创建保护业务上保护端口上各层级的业务对象;According to the business objects of each level on the working port of the work business, create business objects of each level on the protection port of the protection business;
    根据选择的保护层级,将保护层级的保护业务对象和工作业务对象关联,生成保护关系对象,并记录工作业务、保护业务与保护关系对象之间的关联关系;According to the selected protection level, associate the protection business object and the work business object of the protection level to generate the protection relationship object, and record the association relationship between the work business, the protection business and the protection relationship object;
    关联保护层级颗粒下工作业务的子层业务与保护业务的子层业务之间的兄弟关系;Associate the sibling relationship between the sub-level business of the working business under the protection level granule and the sub-level business of the protection business;
    修改待调整的无保护业务的网管状态,提示用户调整后的业务需要进行下载;Modify the network management status of the unprotected service to be adjusted, and remind the user that the adjusted service needs to be downloaded;
    在业务下载的过程中,将各个层级业务和保护关系对象涉及的配置数据记录到数据库。In the process of business downloading, the configuration data involved in each level of business and protection relationship objects are recorded in the database.
  10. 如权利要求7所述的系统,其特征在于:所述第二业务调整模块选择待调整的带保护业务,为选择的带保护业务删除保护,具体包括以下步骤:The system according to claim 7, wherein the second service adjustment module selects the service with protection to be adjusted, and deletes protection for the selected service with protection, which specifically includes the following steps:
    选择待调整的带保护业务,通过保护关系对象获取工作路径和保护路径,清除工作路径、保护路径和保护关系对象之间的关联关系, 删除保护关系对象,记录工作业务和被删除保护关系对象的删除关系;Select the business with protection to be adjusted, obtain the working path and the protection path through the protection relationship object, clear the association relationship between the work path, the protection path and the protection relationship object, delete the protection relationship object, and record the work business and the deleted protection relationship object Delete relationship
    递归清除工作业务的子层路径与保护业务的子层路径之间的兄弟关系,记录工作业务的子层路径和保护业务的子层路径之间的删除关系;Recursively clear the sibling relationship between the sub-layer path of the work service and the sub-layer path of the protection service, and record the deletion relationship between the sub-layer path of the work service and the sub-layer path of the protection service;
    分别记录待删除的保护业务及父层路径与工作业务及父层路径之间的关联关系;Record the relationship between the protection service to be deleted and the parent layer path and the work service and parent layer path respectively;
    删除保护路径、保护路径的子层路径及父层路径,将上面记录的业务之间删除关系数据数据存储到数据库;Delete the protection path, the child path and the parent path of the protection path, and store the deleted relationship data between the services recorded above in the database;
    修改工作业务的网管状态,提示用户调整后的业务需要进行下载;Modify the network management status of the work business, and remind the user that the adjusted business needs to be downloaded;
    在业务下载的过程中,查找关联的被删除的各层业务并关联下载,将记录的删除关系数据和配置数据在数据库中清除。In the process of business downloading, find the associated deleted services of each layer and associate the download, and clear the recorded deletion relationship data and configuration data in the database.
PCT/CN2019/096114 2019-03-29 2019-07-16 Method and system for non-destructive adjustment of otn protection services WO2020199420A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
BR112021017082A BR112021017082A2 (en) 2019-03-29 2019-07-16 Method and system for non-destructive tuning of optical transport network protection services

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910253202.XA CN109788373B (en) 2019-03-29 2019-03-29 Method and system for lossless adjustment of OTN protection service
CN201910253202.X 2019-03-29

Publications (1)

Publication Number Publication Date
WO2020199420A1 true WO2020199420A1 (en) 2020-10-08

Family

ID=66490821

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/096114 WO2020199420A1 (en) 2019-03-29 2019-07-16 Method and system for non-destructive adjustment of otn protection services

Country Status (3)

Country Link
CN (1) CN109788373B (en)
BR (1) BR112021017082A2 (en)
WO (1) WO2020199420A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988159B (en) * 2019-05-23 2022-08-12 烽火通信科技股份有限公司 Network management service data association downloading activation method and system
CN112564929B (en) * 2019-09-10 2022-08-05 烽火通信科技股份有限公司 Residual data cleaning method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159494A (en) * 2007-10-26 2008-04-09 中兴通讯股份有限公司 Service protecting method for automatic exchange optical network
CN101286869A (en) * 2007-04-13 2008-10-15 中兴通讯股份有限公司 Control method and device for asynchronous transmission mode service and service protection thereof
CN101640818A (en) * 2009-09-08 2010-02-03 中兴通讯股份有限公司 Protection device and protection method of optical network
US20140328599A1 (en) * 2013-05-06 2014-11-06 Federal Law Enforcement Development Services, Inc. Network Security and Variable Pulse Wave Form with Continuous Communication
US20180262269A1 (en) * 2017-03-09 2018-09-13 Cisco Technology, Inc. Visible light communications network wavelength filter for security at transparent structures

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461862B (en) * 2014-10-23 2017-07-21 中标软件有限公司 Resource recovery method and apparatus after data handling system and thread collapse

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286869A (en) * 2007-04-13 2008-10-15 中兴通讯股份有限公司 Control method and device for asynchronous transmission mode service and service protection thereof
CN101159494A (en) * 2007-10-26 2008-04-09 中兴通讯股份有限公司 Service protecting method for automatic exchange optical network
CN101640818A (en) * 2009-09-08 2010-02-03 中兴通讯股份有限公司 Protection device and protection method of optical network
US20140328599A1 (en) * 2013-05-06 2014-11-06 Federal Law Enforcement Development Services, Inc. Network Security and Variable Pulse Wave Form with Continuous Communication
US10205530B2 (en) * 2013-05-06 2019-02-12 Federal Law Enforcement Development Services, Inc. Network security and variable pulse wave form with continuous communication
US20180262269A1 (en) * 2017-03-09 2018-09-13 Cisco Technology, Inc. Visible light communications network wavelength filter for security at transparent structures

Also Published As

Publication number Publication date
CN109788373A (en) 2019-05-21
CN109788373B (en) 2020-07-14
BR112021017082A2 (en) 2021-11-09

Similar Documents

Publication Publication Date Title
WO2020199420A1 (en) Method and system for non-destructive adjustment of otn protection services
US10956305B2 (en) Creation and utilization of ephemeral organization structures in a multitenant environment
US10264447B2 (en) Communication record privacy protection validation
CN108512695A (en) The method and device of interim card is applied in monitoring
US9917900B2 (en) Operator movement based on memory
CN102543119A (en) Scene-based music playing processing method and music playing device
US20200151352A1 (en) Data loss prevention for an online content management platform
CN105101270A (en) Traffic managing device and traffic managing method for terminal
EP2599304A1 (en) Method and apparatus for determining and equalizing one or more segments of a media track
CN106547870A (en) Point table method and device of data base
US20200127959A1 (en) Architecture for large data management in communication applications through multiple mailboxes
US20120078905A1 (en) Manipulating non-schema attributes for objects in a schema based directory
US9992659B1 (en) Stream-processing of telecommunication event records
CN104615422A (en) Procedure customizing method for application software interface
CN108628931B (en) Method, device and equipment for data driving service
CN104537012A (en) Data processing method and device
CN102739525A (en) Message copying method and device
CN108170424A (en) A kind of self extended method and system based on cloud knowledge base
CN116560626A (en) Data processing method, system, equipment and storage medium based on custom rules
CN104317590B (en) The method of embedded configuration system and embedded configuration audit flow
JP5490325B2 (en) Autonomous intelligent content items
CN107526816B (en) Stream distribution record storage method and device and electronic equipment
US20220198058A1 (en) Identifying and preventing access to aggregate pii from anonymized data
US20210157787A1 (en) Methods and systems for reading data based on plurality of blockchain networks
JP2009159607A (en) Method, system and computer-readable recording medium for providing controller of multimedia based on display condition of contents

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: 19923174

Country of ref document: EP

Kind code of ref document: A1

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112021017082

Country of ref document: BR

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 112021017082

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20210827

122 Ep: pct application non-entry in european phase

Ref document number: 19923174

Country of ref document: EP

Kind code of ref document: A1