WO2015043155A1 - 一种基于命令集的网元备份与恢复方法及装置 - Google Patents

一种基于命令集的网元备份与恢复方法及装置 Download PDF

Info

Publication number
WO2015043155A1
WO2015043155A1 PCT/CN2014/075013 CN2014075013W WO2015043155A1 WO 2015043155 A1 WO2015043155 A1 WO 2015043155A1 CN 2014075013 W CN2014075013 W CN 2014075013W WO 2015043155 A1 WO2015043155 A1 WO 2015043155A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration command
command set
network element
data
file
Prior art date
Application number
PCT/CN2014/075013
Other languages
English (en)
French (fr)
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 WO2015043155A1 publication Critical patent/WO2015043155A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • H04L41/0856Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information by backing up or archiving configuration information

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a command set-based network element backup and recovery method and apparatus.
  • BACKGROUND There are two current backup recovery methods: based on a network management database and a device-based database.
  • the backup and recovery based on the network management database involves all the network element data of the network management system.
  • the network management system must be restarted. This will inevitably affect all other users who are logging in to the NMS, and the amount of engineering data is relatively large. Restarting the network management system interrupts user operations for a long time. Based on the backup and recovery of the device database, the device must be restarted, and all services passing through the NE will be interrupted.
  • the entire network management database is restored.
  • the recovery time is long, and the network management system must be restored after the network management database is restored.
  • Restart and the number of project NEs is relatively large, the network scale is relatively large, and the restart time is relatively long. All other users who log in to the NMS must wait until the NMS restarts before logging in to the NMS for a longer time. The other method is longer.
  • the device database is backed up and restored based on the device database. This prevents the entire network management from being backed up and restored. However, after the device database is restored, the device must be restarted. All existing services on the device are interrupted. User satisfaction is very poor.
  • the embodiments of the present invention provide a method and device for backing up and restoring a network element based on a command set, which solves the problem that the existing technology needs to restart the network management or restart the device, affect other users or interrupt existing services, and satisfy user satisfaction. Poorer problems.
  • a command set-based network element backup and recovery method including the following steps: forming a configuration command set by writing a configuration command set of a network element affected by an important service operation into a file Saving the configuration command set file to the storage device; when it is found that the execution of the important business operation fails or is abnormal, reading the configuration command set file from the storage device; using the read configuration command set The file recovers the data of the network element affected by important business operations.
  • the configuration command set of the network element includes a network element configuration command code and a network element configuration command code parameter.
  • the configuration command set file is read from the storage device and transferred to the network management.
  • the recovering the data of the network element affected by the important service operation by using the read configuration command set file includes: loading the configuration command set file from the storage device into the network management, The data of the network element affected by the important service operations in the network management is restored. The data of the network element affected by the important service operations recovered in the network management is sent to the device to restore the data on the device.
  • the recovering, by using the read configuration command set file, the data of the network element affected by the important service operation includes at least one of the following methods: configuring the command code by using all the network elements in the read configuration command set file.
  • a command set-based network element backup and recovery device including: acquiring a configuration command set file module, configured to write a configuration command set of a network element affected by an important service operation Into the file, form a configuration command set file; Saving a configuration command set file module, configured to save the configuration command set file to a storage device; and reading a configuration command set file module, configured to be from the storage device when a failure or abnormality occurs in performing an important business operation is found The configuration command set file is read; the network element data recovery module is configured to recover data of the network element affected by the important service operation by using the read configuration command set file.
  • the configuration command set of the network element includes a network element configuration command code and a network element configuration command code parameter.
  • the read configuration command set file module when it is found that the execution of the important service operation fails or is abnormal, the configuration command set file is read from the storage device and transferred to the network management.
  • the network element data recovery module includes: a network element data recovery unit, configured to load the configuration command set file from the storage device into the network management system to affect an important service operation in the network management system. The data of the network element is restored. The data of the network element affected by the important service operations recovered in the network management is sent to the device to restore the data on the device.
  • the network element data recovery module further includes: an all recovery unit, configured to use the network element configuration command code and the network element configuration command code parameter in the read configuration command set file to affect the important service operation.
  • the partial recovery unit is set to use the network element configuration command code and the network element configuration command code parameter in the read configuration command set file to affect the data of the network element affected by the important service operation.
  • Carry out recovery. Compared with the prior art, the embodiments of the present invention have the following advantages: The embodiment of the present invention does not need to restart the network management system, so that other users who are using the network management system are not affected, and the device does not need to be restarted, so the service is not interrupted, and only on the network management system.
  • FIG. 1 is a flowchart of a method for backing up and restoring a network element based on a command set according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a network element backup and recovery device based on a command set according to an embodiment of the present invention
  • schematic diagram is a flowchart of a method for backing up and restoring a network element based on a command set according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a configuration command set file provided by an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for backing up and restoring a network element based on a command set according to an embodiment of the present invention. As shown in FIG.
  • Step S101 configuring a network element affected by an important service operation
  • the command set is written into the file to form a configuration command set file
  • Step S102 saving the configuration command set file to the storage device
  • Step S103 When it is found that the execution of the important business operation fails or is abnormal, from the storage device
  • the configuration command set file is read
  • Step S104 The data of the network element affected by the important service operation is restored by using the read configuration command set file.
  • the configuration command set of the network element includes a network element configuration command code and a network element configuration command code parameter.
  • the recovering the data of the network element affected by the important service operation by using the read configuration command set file includes: loading the configuration command set file from the storage device into the network management system, The data of the network element affected by the important service operations in the network management system is restored. The data of the network element affected by the important service operations recovered in the network management is sent to the device, so that the data on the device is performed. restore. Further, the recovering the data of the network element affected by the important service operation by using the read configuration command set file includes at least one of the following methods: configuring the command code with all the network elements in the read configuration command set file.
  • FIG. 2 is a schematic diagram of a device set backup and recovery device based on a command set according to an embodiment of the present invention. As shown in FIG. 2, the method includes: acquiring a configuration command set file module 201, which is set to affect an important service operation.
  • the configuration command set of the network element is written into the file to form a configuration command set file; the save configuration command set file module 202 is configured to save the configuration command set file to the storage device; and read the configuration command set file module 203, and set
  • the configuration command set file is read from the storage device when it is found that the execution of the important business operation fails or is abnormal; the network metadata recovery module 204 is configured to use the read configuration command set file to perform important business operations.
  • the data of the affected network element is restored.
  • the configuration command set of the network element includes a network element configuration command code and a network element configuration command code parameter.
  • the network element data recovery module 204 includes: a network element data recovery unit, configured to transfer the configuration command set file from the storage device to the network management system, and affect the network element affected by important service operations in the network management system. The data is restored. The data of the network element affected by the important service operations recovered in the network management is sent to the device to restore the data on the device.
  • the network element data recovery module 204 further includes: an all recovery unit, configured to use the network element configuration command code and the network element configuration command code parameter in the read configuration command set file to affect the network element affected by the important service operation. The data is restored; the partial recovery unit is configured to recover the data of the network element affected by the important service operation by using the NE configuration command code and the network element configuration command code parameter in the changed configuration command set file. .
  • Step S301 Plan a network element that requires an important service operation; Before performing important service operations on the project site, you need to plan which network elements are to be configured in advance. For example, all NEs on the same protection ring network or an optical port with performance degradation needs to perform port service migration. It can be a single network element or multiple network elements.
  • step S302 the network element affected by the important service operation is backed up; the network management system writes the configuration command set of the network element to a file, and the configuration command set includes the command code configured for the network element and specific parameters of the command code, such as Figure 4 shows.
  • the backup process simulates the process of sending a configuration from the NMS to the device, but it is not actually delivered to the device, but is saved on the hard disk. As for the name and path of the file, it can be set as needed.
  • the network element affected by the important service operations is backed up by the configuration command set. It does not need to involve all the network elements of the entire network management system. The amount of network element data involved is relatively small compared to the entire network management database.
  • Step S303 performing an important service operation, determining whether it is a failure or an abnormality; if the failure or the abnormality, executing step S304; if not, or performing the abnormality, executing step S305.
  • important service expansion or port migration such as failure or abnormality
  • the network management will present the user to the user in the form of a "prompt box".
  • step S304 the data of the network element affected by the important service operation is restored.
  • the backed up network element is selected, and the saved configuration command set file is used for data recovery.
  • the specific recovery process is as follows:
  • the configuration command set in the save file is transferred to the NMS, which is equivalent to the NMS re-executing the configuration command set in the backup file and re-executing the device without sending the device without affecting all other NEs of the NMS. It does not involve the entire network management database. It does not need to restart the network management system. It does not affect all other users who are operating the network management system.
  • the device is not delivered, that is, it does not interact with the device.
  • the data of the network management unit is delivered to the device, and the device is restored to the state before the backup.
  • the network management and device data are consistent, and the device does not need to be restarted.
  • the network element is fully restored, all the files in the backup file will be backed up.
  • the device managed by the network management is called a "network element", which is a logical entity of the device, and the device is a real computer room entity, and the network element and the device have a one-to-one correspondence.
  • the embodiment of the present invention first performs command set-based backup on network elements affected by important service operations. When an important service operation fails or is abnormal, only the command set-based recovery of these network elements can be quickly restored. The data of these network elements does not need to restart the network management and equipment, and does not affect other users who are operating the network management, and does not interrupt the existing services.
  • the embodiment of the present invention has the following technical effects:
  • the embodiment of the present invention is very close to the engineering application, and the whole process only involves the configuration command set, and does not involve the entire network management database or the device database, and does not need to restart the network management, so the impact is not affected.
  • the device does not need to be restarted, so the service is not interrupted, and the configuration command set of the network element involved is operated only on the network management system, which is fast and easy to operate.
  • a command set-based network element backup and recovery method and apparatus provided by the embodiments of the present invention have the following beneficial effects:
  • the entire process involves only a configuration command set, and does not involve the entire network management database or device database. You do not need to restart the NMS, so you can not affect other users who are using the NMS. You do not need to restart the device, so the service will not be interrupted.
  • the configuration command set of the NEs involved in the NMS is fast and easy to operate.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Retry When Errors Occur (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明公开了一种基于命令集的网元备份与恢复方法及装置,涉及通信技术领域,其方法包括以下步骤:通过将重要业务操作影响的网元的配置命令集写到文件中,形成配置命令集文件;将所述配置命令集文件保存到存储装置中;当发现执行重要业务操作出现失败或异常时,从所述存储装置中读取所述配置命令集文件;用所读取的配置命令集文件对重要业务操作影响的网元的数据进行恢复。本发明不需要重启网管所以影响不到其他正在使用网管的用户,不需要重启设备所以不会中断业务,而且仅在网管上对涉及到的网元的配置命令集进行操作,速度快、操作便捷。

Description

一种基于命令集的网元备份与恢复方法及装置 技术领域 本发明涉及通信技术领域, 特别涉及一种基于命令集的网元备份与恢复方法及装 置。 背景技术 目前的备份恢复方法有两种: 基于网管数据库和基于设备数据库。 基于网管数据 库进行的备份恢复, 涉及到网管的全部网元数据, 网管必须要重启, 势必影响到其他 正在登录操作网管的所有用户, 而且工程数据量比较大, 重启网管中断用户操作的时 间比较长; 基于设备数据库进行的备份恢复, 设备必须重启, 该网元上经过的业务全 部会中断。 这两种方法需要重启网管或者重启设备, 影响其他用户或中断已有业务, 用户满意度比较差。 在工程现场, 经常有二三十个以上的用户登录同一个网管, 有的用户需要一些重 要的业务配置操作, 例如业务的扩缩容、 端口迁移等, 而一些其他用户在进行普通的 维护操作或查看操作。 在对一些网元进行重要业务的操作过程中, 经常会出现失败或 冲突的情况, 这时会对这些网元的已有正常业务造成重大影响, 此时需要快速便捷恢 复这些网元以前的数据, 并且保证不影响其他用户、 不中断现有业务。 而目前最通用 的做法是在对这些网元进行重要业务操作前, 备份整个网管数据库, 在重要业务操作 出现失败或冲突时, 恢复整个网管数据库, 恢复时间比较长, 而且恢复网管数据库后 网管必须重启, 而工程上网元数量比较多, 网络规模比较大, 重启时间比较长, 其他 登录操作网管的所有用户都必须等到网管重启完毕后才能再次登录网管进行操作, 中 断时间比较长; 另外一种方法是对重要业务操作影响的这些网元进行基于设备数据库 的备份恢复, 这样避免了对整个网管进行备份恢复, 但是基于设备数据库进行恢复后 必须重启设备, 设备上经过的所有现有业务全部会中断, 用户满意度非常差。 发明内容 本发明实施例在于提供一种基于命令集的网元备份与恢复方法及装置, 解决了现 有技术中存在的需要重启网管或者重启设备, 影响其他用户或中断已有业务, 用户满 意度比较差的问题。 根据本发明实施例的一个方面, 提供了一种基于命令集的网元备份与恢复方法, 包括以下步骤: 通过将重要业务操作影响的网元的配置命令集写到文件中,形成配置命令集文件; 将所述配置命令集文件保存到存储装置中; 当发现执行重要业务操作出现失败或异常时, 从所述存储装置中读取所述配置命 令集文件; 用所读取的配置命令集文件对重要业务操作影响的网元的数据进行恢复。 优选地, 所述网元的配置命令集包括网元配置命令码和网元配置命令码参数。 优选地, 所述当发现执行重要业务操作出现失败或异常时, 将从所述存储装置中 读取所述配置命令集文件调入到网管中。 优选地, 所述用所读取的配置命令集文件对重要业务操作影响的网元的数据进行 恢复包括: 将从所述存储装置中读取所述配置命令集文件调入到网管中, 将网管中的重要业 务操作影响的网元的数据进行恢复; 其中, 根据工程需要, 将所述网管中恢复的重要业务操作影响的网元的数据下发 到设备中, 使设备上的数据进行恢复。 优选地, 所述用所读取的配置命令集文件对重要业务操作影响的网元的数据进行 恢复包括以下方式至少之一: 用所读取的配置命令集文件中的全部网元配置命令码和网元配置命令码参数对重 要业务操作影响的网元的数据进行恢复; 用所读取的配置命令集文件中的发生了变化部分的网元配置命令码和网元配置命 令码参数对重要业务操作影响的网元的数据进行恢复。 根据本发明实施例的另一方面, 提供了一种基于命令集的网元备份与恢复装置, 包括: 获取配置命令集文件模块, 设置为通过将重要业务操作影响的网元的配置命令集 写到文件中, 形成配置命令集文件; 保存配置命令集文件模块, 设置为将所述配置命令集文件保存到存储装置中; 读取配置命令集文件模块, 设置为当发现执行重要业务操作出现失败或异常时, 从所述存储装置中读取所述配置命令集文件; 网元数据恢复模块, 设置为用所读取的配置命令集文件对重要业务操作影响的网 元的数据进行恢复。 优选地, 所述网元的配置命令集包括网元配置命令码和网元配置命令码参数。 优选地, 所述读取配置命令集文件模块中当发现执行重要业务操作出现失败或异 常时, 将从所述存储装置中读取所述配置命令集文件调入到网管中。 优选地, 所述网元数据恢复模块包括: 网元数据恢复单元, 设置为将从所述存储装置中读取所述配置命令集文件调入到 网管中, 将网管中的重要业务操作影响的网元的数据进行恢复; 其中, 根据工程需要, 将所述网管中恢复的重要业务操作影响的网元的数据下发到设备中, 使设备上的数据 进行恢复。 优选地, 所述网元数据恢复模块还包括: 全部恢复单元, 设置为用所读取的配置命令集文件中的全部网元配置命令码和网 元配置命令码参数对重要业务操作影响的网元的数据进行恢复; 部分恢复单元, 设置为用所读取的配置命令集文件中的发生了变化部分的网元配 置命令码和网元配置命令码参数对重要业务操作影响的网元的数据进行恢复。 与现有技术相比较, 本发明实施例的有益效果在于: 本发明实施例不需要重启网管所以影响不到其他正在使用网管的用户, 不需要重 启设备所以不会中断业务, 而且仅在网管上对涉及到的网元的配置命令集进行操作, 速度快、 操作便捷。 附图说明 图 1是本发明实施例提供的一种基于命令集的网元备份与恢复方法的流程图; 图 2是本发明实施例提供的一种基于命令集的网元备份与恢复装置的示意图; 图 3是本发明实施例提供的一种基于命令集的网元备份与恢复方法流程图; 图 4是本发明实施例提供的配置命令集文件的示意图。 具体实施方式 以下结合附图对本发明的优选实施例进行详细说明, 应当理解, 以下所说明的优 选实施例仅用于说明和解释本发明, 并不用于限定本发明。 首先说明本发明实施例的应用: 在业务开通后的工程现场, 经常需要对一些网元 进行重要的业务扩缩容、 迁移等操作, 而这些操作经常会出现一些资源冲突、 下发失 败的情况, 从而严重影响现有业务。 需要在重要业务操作出现失败或异常时, 快速对 影响到的网元进行恢复, 不影响到其他网管用户或现有业务。 图 1 显示了本发明实施例提供的一种基于命令集的网元备份与恢复方法的流程 图, 如图 1所示, 包括以下步骤: 步骤 S101 : 通过将重要业务操作影响的网元的配置命令集写到文件中, 形成配置 命令集文件; 步骤 S102: 将所述配置命令集文件保存到存储装置中; 步骤 S103: 当发现执行重要业务操作出现失败或异常时, 从所述存储装置中读取 所述配置命令集文件; 步骤 S104: 用所读取的配置命令集文件对重要业务操作影响的网元的数据进行恢 复。 其中, 所述网元的配置命令集包括网元配置命令码和网元配置命令码参数。 所述当发现执行重要业务操作出现失败或异常时, 将从所述存储装置中读取所述 配置命令集文件调入到网管中。 具体地说, 所述用所读取的配置命令集文件对重要业务操作影响的网元的数据进 行恢复包括: 将从所述存储装置中读取所述配置命令集文件调入到网管中, 将网管中 的重要业务操作影响的网元的数据进行恢复; 其中, 根据工程需要, 将所述网管中恢 复的重要业务操作影响的网元的数据下发到设备中, 使设备上的数据进行恢复。 进一步说, 所述用所读取的配置命令集文件对重要业务操作影响的网元的数据进 行恢复包括以下方式至少之一: 用所读取的配置命令集文件中的全部网元配置命令码 和网元配置命令码参数对重要业务操作影响的网元的数据进行恢复; 用所读取的配置 命令集文件中的发生了变化部分的网元配置命令码和网元配置命令码参数对重要业务 操作影响的网元的数据进行恢复。 图 2 显示了本发明实施例提供的一种基于命令集的网元备份与恢复装置的示意 图, 如图 2所示, 包括: 获取配置命令集文件模块 201, 设置为通过将重要业务操作 影响的网元的配置命令集写到文件中, 形成配置命令集文件; 保存配置命令集文件模 块 202, 设置为将所述配置命令集文件保存到存储装置中; 读取配置命令集文件模块 203, 设置为当发现执行重要业务操作出现失败或异常时,从所述存储装置中读取所述 配置命令集文件; 网元数据恢复模块 204, 设置为用所读取的配置命令集文件对重要 业务操作影响的网元的数据进行恢复。 其中, 所述网元的配置命令集包括网元配置命令码和网元配置命令码参数。 所述读取配置命令集文件模块 203 中当发现执行重要业务操作出现失败或异常 时, 将从所述存储装置中读取所述配置命令集文件调入到网管中。 所述网元数据恢复模块 204包括: 网元数据恢复单元, 设置为将从所述存储装置 中读取所述配置命令集文件调入到网管中, 将网管中的重要业务操作影响的网元的数 据进行恢复; 其中, 根据工程需要, 将所述网管中恢复的重要业务操作影响的网元的 数据下发到设备中, 使设备上的数据进行恢复。 所述网元数据恢复模块 204还包括: 全部恢复单元, 设置为用所读取的配置命令 集文件中的全部网元配置命令码和网元配置命令码参数对重要业务操作影响的网元的 数据进行恢复; 部分恢复单元, 设置为用所读取的配置命令集文件中的发生了变化部 分的网元配置命令码和网元配置命令码参数对重要业务操作影响的网元的数据进行恢 复。 图 3显示了本发明实施例提供的一种基于命令集的网元备份与恢复方法流程图, 如图 3所示, 包括以下步骤: 步骤 S301 , 规划需要重要业务操作的网元; 在工程现场进行重要业务操作前, 需要提前规划好对哪些现网网元进行配置, 例 如同一个保护环网上的所有网元或者某个光口有性能劣化需要进行端口业务迁移的网 元。 可以是单个网元或多个网元。 步骤 S302 , 对重要业务操作影响的网元进行备份; 网管将网元的配置命令集写到一个文件中, 配置命令集包含对该网元配置过的命 令码和该命令码的具体参数, 如图 4所示。 该备份过程模拟了从网管向设备下发配置 的过程, 但并没有真正下发到设备上, 而是保存在硬盘上。 至于文件的名称和路径可 以根据需要设定。 只对重要业务操作影响到的网元进行基于配置命令集的备份, 不需 要涉及到整个网管的所有网元, 相对于整个网管数据库来说涉及到的网元数据量非常 小, 实现起来更加快速; 相对于备份这些网元的设备数据库来说, 不需要和真实设备 交互, 只需要在网管上操作即可, 更加便捷。 其中, 可以根据需要选择单个或多个网元进行备份。 步骤 S303 , 执行重要业务操作, 判断是否失败或异常; 若失败或异常, 则执行步骤 S304,; 若未失败或异常, 则执行步骤 S305。 在进行 重要业务扩缩容或端口迁移过程中, 如失败或异常, 网管会以 "提示框" 的形式呈现 给用户。 在工程现场, 由于同时操作网管的用户比较多 (二三十个以上), 经常会出现 资源冲突、 下发失败等异常情况。 例如业务要迁移的目标端口被另一个用户配置了其 他业务占用。 步骤 S304, 对重要业务操作影响的网元的数据进行恢复; 当重要业务操作出现失败或异常时, 选择备份过的网元, 通过保存的配置命令集 文件进行数据恢复。 具体恢复过程如下: 将保存文件中的配置命令集调入到网管中, 相当于网管重新执行了一遍备份文件中的配置命令集重新执行了一遍而不下发设备, 不影响网管的其他所有网元, 不涉及到整个网管数据库, 不需要重启网管, 不影响其 他正在操作网管的所有用户; 不下发设备, 即不与设备交互, 速度更快而且不影响设 备的任何业务。 即使根据工程需要, 将网管上网元的数据下发给设备, 使得设备也恢 复为备份前的状态保证网管和设备数据一致, 也不需要重启设备, 不中断现有未变化 业务。 同时可以根据应用需要选择恢复配置命令集文件中的所有或部分配置命令码, 即 支持对网元进行全量恢复和增量恢复。 对网元做全量恢复时, 将备份文件中的所有配 置命令码和参数全部调入网管; 如果清晰知道具体哪些配置命令发生了变化可以选择 增量恢复, 只选择变化了的配置命令码和参数调入网管即可。 步骤 S305 , 完成, 不影响现有网管用户和业务。 重要业务操作不管是顺利执行完毕还是出现异常马上恢复数据, 都不影响现有网 管用户和业务。 在本文中, 被网管管理上的设备称之为 "网元", 为设备的逻辑实体, 而设备为真 正的机房实体, 网元与设备一一对应。 综上所述, 本发明实施例先对重要业务操作影响的网元进行基于命令集的备份, 当重要业务操作出现失败或异常时, 只对这些网元进行基于命令集的恢复, 能够快速 恢复这些网元的数据, 而且不需要重启网管和设备,不影响其他正在操作网管的用户, 不中断现有业务。 综上所述, 本发明实施例具有以下技术效果: 本发明实施例非常贴近于工程应用, 整个过程只涉及到配置命令集, 不涉及到整 个网管数据库或设备数据库,不需要重启网管所以影响不到其他正在使用网管的用户, 不需要重启设备所以不会中断业务, 而且仅在网管上对涉及到的网元的配置命令集进 行操作, 速度快、 操作便捷。 尽管上文对本发明进行了详细说明, 但是本发明不限于此, 本技术领域技术人员 可以根据本发明的原理进行各种修改。 因此, 凡按照本发明原理所作的修改, 都应当 理解为落入本发明的保护范围。 工业实用性 如上所述, 本发明实施例提供的一种基于命令集的网元备份与恢复方法及装 置具有以下有益效果: 整个过程只涉及到配置命令集, 不涉及到整个网管数据库或 设备数据库, 不需要重启网管所以影响不到其他正在使用网管的用户, 不需要重启 设备所以不会中断业务, 而且仅在网管上对涉及到的网元的配置命令集进行操作, 速度快、 操作便捷。

Claims

权 利 要 求 书 、 一种基于命令集的网元备份与恢复方法, 包括以下步骤:
通过将重要业务操作影响的网元的配置命令集写到文件中, 形成配置命令 集文件;
将所述配置命令集文件保存到存储装置中; 当发现执行重要业务操作出现失败或异常时, 从所述存储装置中读取所述 配置命令集文件; 用所读取的配置命令集文件对重要业务操作影响的网元的数据进行恢复。 、 根据权利要求 1所述的方法, 其中, 所述网元的配置命令集包括网元配置命令 码和网元配置命令码参数。 、 根据权利要求 1或 2所述的方法, 其中, 所述当发现执行重要业务操作出现失 败或异常时, 将从所述存储装置中读取所述配置命令集文件调入到网管中。 、 根据权利要求 3所述的方法, 其中, 所述用所读取的配置命令集文件对重要业 务操作影响的网元的数据进行恢复包括:
将从所述存储装置中读取所述配置命令集文件调入到网管中, 将网管中的 重要业务操作影响的网元的数据进行恢复;
其中, 根据工程需要, 将所述网管中恢复的重要业务操作影响的网元的数 据下发到设备中, 使设备上的数据进行恢复。 、 根据权利要求 1-4任一所述的方法, 其中, 所述用所读取的配置命令集文件对 重要业务操作影响的网元的数据进行恢复包括以下方式至少之一: 用所读取的配置命令集文件中的全部网元配置命令码和网元配置命令码参 数对重要业务操作影响的网元的数据进行恢复; 用所读取的配置命令集文件中的发生了变化部分的网元配置命令码和网元 配置命令码参数对重要业务操作影响的网元的数据进行恢复。 、 一种基于命令集的网元备份与恢复装置, 包括: 获取配置命令集文件模块, 设置为通过将重要业务操作影响的网元的配置 命令集写到文件中, 形成配置命令集文件; 保存配置命令集文件模块, 设置为将所述配置命令集文件保存到存储装置 中;
读取配置命令集文件模块, 设置为当发现执行重要业务操作出现失败或异 常时, 从所述存储装置中读取所述配置命令集文件;
网元数据恢复模块, 设置为用所读取的配置命令集文件对重要业务操作影 响的网元的数据进行恢复。 、 根据权利要求 6所述的装置, 其中, 所述网元的配置命令集包括网元配置命令 码和网元配置命令码参数。 、 根据权利要求 6或 7所述的装置, 其中, 所述读取配置命令集文件模块中当发 现执行重要业务操作出现失败或异常时, 将从所述存储装置中读取所述配置命 令集文件调入到网管中。 、 根据权利要求 8所述的装置, 其中, 所述网元数据恢复模块包括: 网元数据恢复单元, 设置为将从所述存储装置中读取所述配置命令集文件 调入到网管中, 将网管中的重要业务操作影响的网元的数据进行恢复; 其中, 根据工程需要, 将所述网管中恢复的重要业务操作影响的网元的数据下发到设 备中, 使设备上的数据进行恢复。 0、 根据权利要求 6-9任一所述的装置, 其中, 所述网元数据恢复模块还包括: 全部恢复单元, 设置为用所读取的配置命令集文件中的全部网元配置命令 码和网元配置命令码参数对重要业务操作影响的网元的数据进行恢复; 部分恢复单元, 设置为用所读取的配置命令集文件中的发生了变化部分的 网元配置命令码和网元配置命令码参数对重要业务操作影响的网元的数据进行 恢复。
PCT/CN2014/075013 2013-09-29 2014-04-09 一种基于命令集的网元备份与恢复方法及装置 WO2015043155A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310455134.8 2013-09-29
CN201310455134.8A CN104516796B (zh) 2013-09-29 2013-09-29 一种基于命令集的网元备份与恢复方法及装置

Publications (1)

Publication Number Publication Date
WO2015043155A1 true WO2015043155A1 (zh) 2015-04-02

Family

ID=52741933

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/075013 WO2015043155A1 (zh) 2013-09-29 2014-04-09 一种基于命令集的网元备份与恢复方法及装置

Country Status (2)

Country Link
CN (1) CN104516796B (zh)
WO (1) WO2015043155A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726540A (zh) * 2020-05-25 2021-11-30 中移(苏州)软件技术有限公司 一种网元处理方法、装置、电子设备和存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326089B (zh) * 2015-06-16 2020-03-27 中兴通讯股份有限公司 一种自动化测试的方法、装置及系统
CN105515823A (zh) * 2015-11-24 2016-04-20 上海斐讯数据通信技术有限公司 网元数据恢复方法、装置及系统
CN105337781A (zh) * 2015-12-01 2016-02-17 上海斐讯数据通信技术有限公司 网络管理系统、方法及网络系统
CN107623575B (zh) * 2016-07-13 2022-03-22 中兴通讯股份有限公司 一种发现业务的方法及装置
CN106469080B (zh) * 2016-09-09 2019-08-16 Oppo广东移动通信有限公司 防止系统服务进程重启的方法及装置、移动终端
CN107678844B (zh) * 2017-09-28 2020-02-21 平安科技(深圳)有限公司 断点智能分流方法、电子装置及计算机可读存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815974A (zh) * 2005-02-06 2006-08-09 华为技术有限公司 备份和恢复网元配置数据的方法及其系统
US20130204986A1 (en) * 2005-07-22 2013-08-08 At&T Intellectual Property I, L.P. Remote Configuration of Client Devices
CN103248503A (zh) * 2012-02-03 2013-08-14 中兴通讯股份有限公司 一种网管配置数据备份恢复功能的方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100555958C (zh) * 2007-07-03 2009-10-28 中兴通讯股份有限公司 网元管理系统中的配置方法
CN101374312B (zh) * 2007-08-20 2012-08-01 中国移动通信集团公司 网络参数管理及修改方法、及其装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815974A (zh) * 2005-02-06 2006-08-09 华为技术有限公司 备份和恢复网元配置数据的方法及其系统
US20130204986A1 (en) * 2005-07-22 2013-08-08 At&T Intellectual Property I, L.P. Remote Configuration of Client Devices
CN103248503A (zh) * 2012-02-03 2013-08-14 中兴通讯股份有限公司 一种网管配置数据备份恢复功能的方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726540A (zh) * 2020-05-25 2021-11-30 中移(苏州)软件技术有限公司 一种网元处理方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN104516796B (zh) 2019-05-14
CN104516796A (zh) 2015-04-15

Similar Documents

Publication Publication Date Title
WO2015043155A1 (zh) 一种基于命令集的网元备份与恢复方法及装置
TWI608419B (zh) 軟體相容性預先檢測方法與其系統
US8938643B1 (en) Cloning using streaming restore
US9311191B2 (en) Method for a source storage device sending data to a backup storage device for storage, and storage device
US8341364B2 (en) Maintaining asynchronous mirroring
JP2011060055A (ja) 仮想計算機システム、仮想マシンの復旧処理方法及びそのプログラム
KR20140025503A (ko) 서비스의 2차 위치에서의 작업의 재생 기법
US9524215B1 (en) Systems and methods for managing virtual machine backups
US20190317872A1 (en) Database cluster architecture based on dual port solid state disk
JP2012507788A (ja) ストレージ・エリア・ネットワークを使用してコンピュータシステムを復旧するための方法およびシステム
CN111984465A (zh) 数据库远程备份方法、装置、介质和电子设备
JP4883986B2 (ja) 計算機システム、管理計算機及びデータリカバリ方法
WO2018033062A1 (zh) 一种系统磁盘管理方法和装置
CN104615511A (zh) 一种基于双中心的主机批量恢复处理方法及装置
JP5352027B2 (ja) 計算機システムの管理方法及び管理装置
CN102591750A (zh) 集群系统的恢复方法
CN115098300B (zh) 一种数据库的备份方法、容灾方法、装置及设备
CN110543385A (zh) 一种虚拟化备份方法和虚拟化备份还原方法
US20130110789A1 (en) Method of, and apparatus for, recovering data on a storage system
CN107544868B (zh) 数据恢复方法和装置
JP6160688B2 (ja) 情報処理装置、情報処理方法、及び情報処理プログラム
JP2004046658A (ja) データ転送方法
CN112100003A (zh) 虚拟化磁盘双活容灾方法、装置和系统
CN111400098A (zh) 一种副本管理方法、装置、电子设备及存储介质
US20240095230A1 (en) Prechecking for non-disruptive update of a data management system

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

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

Country of ref document: EP

Kind code of ref document: A1