WO2018001046A1 - 智能网业务的恢复方法、装置及系统 - Google Patents

智能网业务的恢复方法、装置及系统 Download PDF

Info

Publication number
WO2018001046A1
WO2018001046A1 PCT/CN2017/087176 CN2017087176W WO2018001046A1 WO 2018001046 A1 WO2018001046 A1 WO 2018001046A1 CN 2017087176 W CN2017087176 W CN 2017087176W WO 2018001046 A1 WO2018001046 A1 WO 2018001046A1
Authority
WO
WIPO (PCT)
Prior art keywords
intelligent network
network service
service
information
backup server
Prior art date
Application number
PCT/CN2017/087176
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 WO2018001046A1 publication Critical patent/WO2018001046A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation

Definitions

  • the present application relates to, but is not limited to, the field of intelligent networks, and in particular, to a method, device and system for recovering intelligent network services.
  • the intelligent network device is mainly used by the carrier-class operator to deploy the intelligent network service. Due to the characteristics of the intelligent network service, the intelligent network device needs to be able to operate in a long-term and stable manner. And the database cannot be used normally, which affects the normal operation of the entire intelligent network. Therefore, when the intelligent network device fails or the problem occurs when the intelligent network version is upgraded, the intelligent network service and database data on the intelligent network device can be quickly restored. Very urgent. In the related art, there is no related solution for restoring the intelligent network service, and only manual maintenance can be used to minimize the failure of the intelligent network service.
  • the embodiment of the invention provides a method, a device and a system for recovering an intelligent network service, so as to at least solve the problem that the intelligent network service cannot be restored in the related art.
  • a method for recovering an intelligent network service including: determining that a backup server backs up service information of an intelligent network service; and determining whether the intelligent network service on the intelligent network device is faulty; When the intelligent network service fails, the service information backed up in the backup server is used to recover the intelligent network service.
  • the service information includes: software information of software of the intelligent network service, and data information of the intelligent network service.
  • the software information of the software of the intelligent network service includes at least one of the following: the software should Using the directory, the software file, the intelligent network software, the environment variable file corresponding to the intelligent network device, the user name of the intelligent network device software, the identifier of the user of the software of the intelligent network device, the group name of the software user, The group identifier of the group in which the software intelligent network device user is located; and/or the data information of the intelligent network service includes at least one of the following: a database application directory, a data file, an environment variable file corresponding to the database corresponding to the intelligent network device, and the The user name of the database, the identifier of the user of the database, the group name of the user of the database, and the group identifier of the group in which the user of the database is located.
  • determining, according to at least one of the following manners, whether the intelligent network service on the intelligent network device is faulty determining whether the specified process on the backup server is abnormal, and determining that the specified process on the backup server is abnormal. Determining whether the intelligent network service is faulty; determining whether the CPU usage rate of the central processing unit of the backup server exceeds a preset threshold, and determining that the CPU usage rate of the central processing unit of the backup server exceeds a preset threshold Determining whether the intelligent network service is faulty; determining whether the backup server feedback response information is timed out, determining that the intelligent network service is faulty when determining that the backup server feedback response information times out; wherein the backup server receives according to a preset period The request information is monitored, and the response information of the monitoring request information is fed back within a predetermined time.
  • restoring the intelligent network service by using the service information backed up in the backup server includes: restoring software information of the intelligent network service after restoring the data information of the intelligent network service.
  • recovering the smart network service by using the service information backed up in the backup server to recover the smart network service on the intelligent network device by using the service information including: receiving, by the backup server, The service information is invoked; the recovery script is invoked to restore the intelligent network service on the intelligent network device by using the service information.
  • the application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • a recovery system for an intelligent network service including: a backup server, configured to periodically back up service information of an intelligent network service to a backup server, and send the service information to a management server.
  • a recovery server configured to recover the intelligent network service on the intelligent network device by using the service information when the intelligent network service on the intelligent network device is detected to be faulty; the management server, Backup server and recovery server And connecting, when the intelligent network service on the intelligent network device fails, sending the service information backed up by the backup server to the recovery server.
  • the management server is further configured to deploy a backup script and a timing task at the backup server, and deploy a recovery script and a monitoring program on the recovery server.
  • an apparatus for restoring an intelligent network service includes: a determining module configured to determine that a backup server backs up service information of an intelligent network service; and a determining module configured to determine a device on the intelligent network device Whether the intelligent network service is faulty or not; and the recovery module is configured to restore the intelligent network service by using the service information backed up in the backup server when the intelligent network service is faulty.
  • the determining module determines, according to at least one of the following manners, whether the intelligent network service on the intelligent network device is faulty: determining whether the specified process on the backup server is abnormal, and determining the backup server When the abnormality of the specified process occurs, determining that the intelligent network service is faulty; determining whether the CPU usage of the central processing unit of the backup server exceeds a preset threshold, and determining that the CPU usage of the central processing unit of the backup server exceeds a preset threshold Determining that the intelligent network service is faulty; determining whether the backup server feedback response information times out, determining that the intelligent network service is faulty when determining that the backup server feedback response information times out, wherein the backup server is configured according to The preset period receives the monitoring request information, and feeds back the response information of the monitoring request information within a predetermined time.
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • the service information backed up in the backup server is used to recover the intelligent network service.
  • the embodiment of the present invention determines that the backup server backs up the service information of the intelligent network service, and then determines whether the intelligent network service on the intelligent network device is faulty.
  • the backup server is used.
  • the service information backed up is restored to the intelligent network service.
  • the backup server backs up the related service information of the intelligent network service, it is in the intelligent network service.
  • FIG. 1 is a network architecture diagram in accordance with an embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for restoring an intelligent network service according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram of a recovery system for an intelligent network service according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of an apparatus for restoring an intelligent network service according to an embodiment of the present invention.
  • Figure 5 is a structural diagram of a system according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of configuration deployment according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a backup process according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an active recovery process according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a passive recovery process according to an embodiment of the present invention.
  • the embodiment of the present application can be run on the network architecture shown in FIG. 1, and FIG. 1 is based on the present invention.
  • the network architecture includes: a management server, a backup server, a recovery server, and an intelligent network service (front-end device), wherein the management server is configured to configure a backup server and a recovery server.
  • FIG. 2 is a flowchart of a method for restoring an intelligent network service according to an embodiment of the present invention. As shown in FIG. 2, the process includes The following steps:
  • Step S202 determining that the backup server backs up the service information of the intelligent network service
  • Step S204 determining whether the intelligent network service on the intelligent network device is faulty
  • step S206 when the intelligent network service fails, the service information backed up in the backup server is used to restore the intelligent network service.
  • the backup server backs up the service information of the intelligent network service, and then determines whether the intelligent network service on the intelligent network device is faulty.
  • the service information backed up by the backup server is used to restore the intelligent network service.
  • the backup server backs up the related service information of the intelligent network service when the intelligent network service fails, the service that has been backed up can be used to restore the intelligent network service, which can solve the problem that the intelligent network service cannot be restored in the related technology, and the smart information is reduced.
  • the daily maintenance cost of the network service improves the efficiency of restoring the intelligent network device, thereby reducing the loss caused by the failure of the intelligent network device.
  • execution body of the foregoing steps may be the foregoing recovery server or the like, but is not limited thereto.
  • the service information includes: software information of the software of the intelligent network service, and data information of the intelligent network service.
  • the software information of the software of the intelligent network service may be, but is not limited to, a software application directory, a software file, an environment variable file corresponding to the intelligent network device of the intelligent network software, a user name of the software, a user identifier of the software, and a software user Group name, group ID of the group where the software user is located;
  • the data information of the intelligent network service can be, but is not limited to, the database application directory, the data file, the environment variable file corresponding to the intelligent network device of the database, the user name of the database, and the identifier of the user of the database. , the group name of the user of the database, and the group ID of the group where the user of the database is located.
  • whether the intelligent network service on the intelligent network device is faulty may be determined according to the following manners:
  • Determining whether the CPU usage of the central processing unit of the backup server exceeds a preset threshold When determining that the CPU usage of the central processing unit of the backup server exceeds a preset threshold, determining that the intelligent network service is faulty; of course, other parameters may be used herein. , such as the I / O rate, the number of processes running, and so on.
  • Determining whether the feedback response information of the backup server times out When determining that the feedback response information of the backup server times out, determining that the intelligent network service is faulty; wherein the backup server receives the monitoring request information according to a preset period, and feeds back the response of the monitoring request information within a predetermined time. information.
  • restoring the intelligent network service by using the service information backed up in the backup server includes: restoring the software information of the intelligent network service after restoring the data information of the intelligent network service. Since the intelligent network software is dependent on the database, in the recovery process, the database software and data are restored first, and then the intelligent network business software is restored. When recovering the database software and data, the database software is first restored and the database is started, and then the data is restored. The specific process is based on the backup data in the backup process, and the current recovery intelligent network device is determined according to the application user and group information of the backup database. Whether the same application user and group exist on the same.
  • the recovery script will create the same application users and groups as the backup intelligent network device, and will restore the database directory and files, and give the backup intelligent network device. The same permissions, then the environment variable file will be restored and the environment variables will take effect, and finally the recovery script will automatically start the database. After the database is restored and started, the recovery script uses the data import command to automatically import the backed up data into the database, ensuring the consistency of the recovered data and the backup data.
  • the service information that is backed up in the backup server is used to recover the intelligent network service.
  • the service information is used to recover the intelligent network service on the intelligent network device, including:
  • the backup server may send the service information of the real-time backup to the management server first, and then the management server sends the service information to the recovery server when the recovery server needs to be restored.
  • the recovery script is invoked to restore the intelligent network service on the intelligent network device using the service information.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present application may be in essence or the part contributing to the related technology may be a software product.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk, optical disk), and includes a plurality of instructions for making a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) Methods of various embodiments of the invention are performed.
  • Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • a recovery system and an apparatus for the intelligent network service are also provided, which are used to implement the foregoing embodiments and preferred embodiments, and are not described again.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a structural block diagram of a recovery system for an intelligent network service according to an embodiment of the present invention. As shown in FIG. 3, the system includes:
  • the backup server 30 is configured to periodically back up the service information of the intelligent network service to the backup server, and send the service information to the management server;
  • the recovery server 32 is configured to use the service information to restore the intelligent network service on the intelligent network device when the intelligent network service on the intelligent network device is faulty.
  • the management server 34 is connected to the backup server and the recovery server, and is configured to send the service information backed up by the backup server to the recovery server when the intelligent network service on the intelligent network device fails.
  • the management server is also configured to deploy backup scripts and scheduled tasks on the backup server, and to deploy recovery scripts and monitors on the recovery server.
  • FIG. 4 is a structural block diagram of an apparatus for restoring an intelligent network service according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes:
  • the determining module 40 is configured to determine that the backup server backs up the service information of the intelligent network service
  • the determining module 42 is configured to determine whether the intelligent network service on the intelligent network device is faulty
  • the recovery module 44 is configured to restore the intelligent network service by using the service information backed up in the backup server when the intelligent network service fails.
  • the determining module determines, according to at least one of the following manners, whether the intelligent network service on the intelligent network device is faulty:
  • Determining whether the feedback response information of the backup server times out When determining that the feedback response information of the backup server times out, determining that the intelligent network service is faulty; wherein the backup server receives the monitoring request information according to a preset period, and feeds back the response of the monitoring request information within a predetermined time. information.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • This embodiment is based on the automatic backup and recovery method of the intelligent network device.
  • the monitoring program and the script are deployed to the backup server and the recovery server, and the scheduled server is configured to the backup server.
  • the backup process is performed to monitor the status of the backup server and the backup server automatically reports the recovery request to trigger the recovery process, so that the intelligent network service and the database software are automatically deployed on the recovery server.
  • the purpose of this embodiment is to provide an effective and stable method for automatically backing up and restoring an intelligent network device, which helps field maintenance personnel reduce the cost of daily maintenance, and greatly improves the efficiency of restoring the intelligent network device, thereby reducing the failure of the intelligent network device. The resulting loss.
  • This embodiment relates to a configuration deployment process, a backup process, an active recovery process, and a passive recovery process.
  • the configuration server and the management server may be the same server, which are described below.
  • the configuration process is mainly after the installation and debugging of the intelligent network device is completed.
  • the information about the backup server and the information of the recovery server are configured on the configuration tool.
  • the information of the backup server includes the IP address, root user, password, and service.
  • User name and database username, timed Information such as the information and the plan that triggers the recovery process;
  • the information of the recovery server contains information such as the IP address, root user, and password.
  • the configuration tool After the backup server information is configured and the server information is restored, the configuration tool sends the information to the configuration server, which deploys backup scripts, scheduled tasks, and monitoring programs to the backup server; and deploys recovery scripts and monitoring programs to the recovery server.
  • the monitoring program it is mainly responsible for configuring the server to communicate with the backup server, the recovery server, and monitoring the status of the server. If the status is abnormal, the recovery process is triggered.
  • the main function is to back up the intelligent network business software and database software and database data deployed on the intelligent network device.
  • the main function is to restore the intelligent network business software and database software and database data deployed on the intelligent network device.
  • the crontab is configured to configure the scheduled tasks of the backup intelligent network service software and the backup database and the data timing tasks. Because the system resources are consumed during the backup, in order to avoid affecting the normal operation of the service, two timings are required. Tasks are staggered to ease the pressure on the server.
  • the backup process is performed after the configuration and deployment process is completed, and the scheduled task is deployed to the intelligent network device.
  • the system-level scheduled task automatically triggers the execution of the script and database backup script of the backup intelligent network service software to generate the intelligent network service backup package.
  • the database backup package is automatically uploaded to the configuration server. Because the configuration server disk space is limited, the backup script automatically determines the number of historical backup packages that exist before uploading the intelligent network service backup package and database backup package. If the backup package has more than six data, the first backup intelligent network service backup package and database backup package will be deleted first, and then the latest backup intelligent network service backup package and database backup package will be uploaded to ensure the configuration server. Up to the last seven intelligent network service backup packages and database backup packages can be saved in the backup directory.
  • the environment variable file, user name, user ID (IDENTITY), user group name, group ID, etc. of the user where the intelligent network software is located is also saved and backed up to prepare for the recovery of the intelligent network software in the recovery process.
  • the data in the database (including information such as table structure and table data) and the environment variable file of the user where the database is located, the user name, the user ID, and the user's
  • the group name, group ID and other information are also saved and backed up, in preparation for the recovery of the intelligent network software in the subsequent recovery process.
  • the active recovery process performs self-detection on the backup intelligent network device according to the configured recovery rules, such as the process abnormality of the device and the CPU usage rate. If the recovery condition is found, the configuration server is restored. After the request server receives the recovery request, it deploys the latest backup package to the recovery server, and calls the recovery script on the recovery server to recover the intelligent network service and database.
  • the configured recovery rules such as the process abnormality of the device and the CPU usage rate. If the recovery condition is found, the configuration server is restored.
  • the request server After the request server receives the recovery request, it deploys the latest backup package to the recovery server, and calls the recovery script on the recovery server to recover the intelligent network service and database.
  • the passive recovery process is that the configuration server periodically sends (for example, 5s) the monitoring request message. Once the receiving monitoring response message times out, the configuration server can consider that the backup server is faulty, and the latest backup package is deployed to the restored server. And call the recovery script on the recovery server to recover the intelligent network business and database.
  • the intelligent network software Since the intelligent network software is dependent on the database, in the recovery process, the database software and data are restored first, and then the intelligent network business software is restored.
  • the database software When recovering the database software and data, the database software is first restored and the database is started, and then the data is restored.
  • the specific process is based on the backup data in the backup process, and the current recovery intelligent network device is determined according to the application user and group information of the backup database. Whether the same application user and group exist on the same. If it does not exist, the recovery script will create the same application users and groups as the backup intelligent network device, and will restore the database directory and files, and give the backup intelligent network device. The same permissions, then the environment variable file will be restored and the environment variables will take effect, and finally the recovery script will automatically start the database. After the database is restored and started, the recovery script uses the data import command to automatically import the backed up data into the database, ensuring the consistency of the recovered data and the backup data.
  • the backup application user and group information whether the same application user and group exist on the currently recovered intelligent network device, and if not, the recovery is performed.
  • the script will create the same application users and groups as the backed up smart network device, and will restore the directory and files of the intelligent network business software, and give the same permissions to the backed up intelligent network device, then restore the environment variable file and make The environment variable takes effect and the recovery script automatically launches the intelligent network software.
  • the automatic backup and recovery method of the intelligent network device provided by this embodiment is very automated. After the configuration is completed, the backup and recovery process does not require manual operation, and the field personnel can be saved manually. Backup and recovery operations greatly improve the efficiency and success rate of backup and recovery.
  • FIG. 5 is a structural diagram of a system according to an embodiment of the present invention.
  • the system is composed of a configuration tool, a configuration server, a backup server, and a recovery server.
  • the configuration tool interacts with the configuration server and is responsible for configuring the information of the backup server and the recovery server.
  • the configuration server interacts with the backup server and the recovery server, is responsible for deploying scripts and monitors on the backup server and recovery server, and monitoring the status of the backup server.
  • the backup server and the recovery server implement backup and recovery functions respectively.
  • FIG. 6 is a schematic diagram of configuration deployment according to an embodiment of the present invention, and the steps are as follows:
  • the information of the backup server includes information such as an IP address, a root user and a password, a service user name and a database user name, a scheduled task, and a plan for triggering the recovery process.
  • the information includes information such as the IP address, root user, and password.
  • the management tool After the configuration is completed, the management tool sends the configuration information to the management server.
  • FIG. 7 is a schematic diagram of a backup process according to an embodiment of the present invention, and the steps are as follows:
  • a scheduled task is deployed on the backup server.
  • the scheduled task includes backing up the scheduled tasks of the intelligent network service and the scheduled tasks of the backup database.
  • the backup script is invoked to back up the intelligent network service and the database respectively.
  • the backup server uploads the backup package to the configuration server.
  • FIG. 8 is a schematic diagram of an active recovery process according to an embodiment of the present invention, and the steps are as follows:
  • the backup server monitors its own system in real time according to the predefined monitoring rules, for example, monitoring the system process.
  • the backup server Upon detecting a process abnormality, the backup server sends a recovery request to the configuration server.
  • the configuration server After receiving the recovery request sent by the backup server, the configuration server deploys the backed up service package and the database package to the recovery server, and sends a recovery request to the recovery server.
  • the recovery server After receiving the recovery request sent by the configuration server, the recovery server invokes the recovery script to recover the intelligent network service and the database.
  • FIG. 9 is a schematic diagram of a passive recovery process according to an embodiment of the present invention, and the steps are as follows:
  • the management server sends a request for monitoring status to the backup server periodically (for example, 5s).
  • the recovery process is triggered once the management server receives a response timeout for monitoring the status of the backup server.
  • the configuration server triggers a recovery process, deploys the backed up service package and the database package to the recovery server, and sends a recovery request to the recovery server.
  • the recovery server After receiving the recovery request sent by the configuration server, the recovery server invokes a recovery script to recover the intelligent network service and the database.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the service information backed up in the backup server is used to recover the intelligent network service.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs, according to the stored program code in the storage medium, determining that the backup server backs up the service information of the intelligent network service;
  • the processor performs, according to the stored program code in the storage medium, whether the intelligent network service on the intelligent network device is faulty;
  • the processor executes according to the stored program code in the storage medium.
  • the intelligent network service fails, use the service information backed up in the backup server to recover the intelligent network service.
  • modules or steps of the above-described embodiments of the present invention can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed across multiple computing devices.
  • they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from this
  • the steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module.
  • embodiments of the invention are not limited to any specific combination of hardware and software.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery. Send the media.
  • the backup server backs up the related service information of the intelligent network service, when the intelligent network service fails, the service that has been backed up can be used to restore the intelligent network service, which can solve the problem that the intelligent network service cannot be restored in the related technology, and the smart information is reduced.
  • the daily maintenance cost of the network service improves the efficiency of restoring the intelligent network device, thereby reducing the loss caused by the failure of the intelligent network device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Hardware Redundancy (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明的实施例提供了一种智能网业务的恢复方法、装置及系统,其中,该方法包括:确定备份服务器备份了智能网业务的业务信息;判断智能网设备上的所述智能网业务是否出现故障;在所述智能网业务出现故障时,使用所述备份服务器中备份的所述业务信息恢复所述智能网业务。通过本发明的实施例,解决了相关技术中不能恢复智能网业务的问题。

Description

智能网业务的恢复方法、装置及系统 技术领域
本申请涉及但不限于智能网领域,具体而言,涉及一种智能网业务的恢复方法、装置及系统。
背景技术
相关技术中,智能网设备主要是电信级运营商用于部署智能网业务,由于智能网业务的特性,需要智能网设备能够长期且稳定的运行,一旦设备出现故障,导致设备上部署的智能网业务和数据库无法正常使用,进而影响整个智能网的正常运行,因此,当智能网设备出现故障,或者升级智能网版本时出现问题时,能够快速恢复智能网设备上的智能网业务和数据库数据变得非常迫切。而相关技术中,并没有恢复智能网业务的相关方案,只能通过手动维护来尽量减小智能网业务的故障。
针对相关技术中存在的上述问题,目前尚未发现有效的解决方案。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供了一种智能网业务的恢复方法、装置及系统,以至少解决相关技术中不能恢复智能网业务的问题。
根据本发明的一个实施例,提供了一种智能网业务的恢复方法,包括:确定备份服务器备份了智能网业务的业务信息;判断智能网设备上的所述智能网业务是否出现故障;在所述智能网业务出现故障时,使用所述备份服务器中备份的所述业务信息恢复所述智能网业务。
可选地,所述业务信息包括:智能网业务的软件的软件信息、智能网业务的数据信息。
可选地,所述智能网业务的软件的软件信息包括以下至少之一:软件应 用目录、软件文件、智能网软件对应智能网设备的环境变量文件、所述智能网设备软件的用户名、智能网设备所述软件的用户的标识,所述软件用户所在的组名,所述软件智能网设备用户所在组的组标识;和/或,所述智能网业务的数据信息包括以下至少之一:数据库应用目录、数据文件、所述数据库对应智能网设备的环境变量文件、所述数据库的用户名、所述数据库的用户的标识,所述数据库的用户所在的组名,所述数据库的用户所在组的组标识。
可选地,根据以下方式至少之一判断智能网设备上的所述智能网业务是否出现故障:判断所述备份服务器上的指定进程是否出现异常,在判断所述备份服务器上的指定进程出现异常时,确定所述智能网业务出现故障;判断所述备份服务器的中央处理单元CPU使用率是否超过预设阈值,在判断所述备份服务器的中央处理单元CPU使用率超过预设阈值时,确定所述智能网业务出现故障;判断所述备份服务器反馈响应信息是否超时,在判断所述备份服务器反馈响应信息超时时,确定所述智能网业务出现故障;其中,所述备份服务器按照预设周期接收监控请求信息,并在预定时间内反馈所述监控请求信息的所述响应信息。
可选地,使用所述备份服务器中备份的所述业务信息恢复所述智能网业务包括:在恢复所述智能网业务的数据信息之后,再恢复所述智能网业务的软件信息。
可选地,使用所述备份服务器中备份的所述业务信息恢复所述智能网业务使用所述业务信息恢复所述智能网设备上的所述智能网业务包括:接收所述备份服务器保存的所述业务信息;调用恢复脚本使用所述业务信息在所述智能网设备上恢复所述智能网业务。
本申请另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。
根据本发明的另一个实施例,提供了一种智能网业务的恢复系统,包括:备份服务器,设置成定时将智能网业务的业务信息备份到备份服务器,并将所述业务信息发送给管理服务器;恢复服务器,设置成在监控到智能网设备上的所述智能网业务出现故障时,使用所述业务信息恢复所述智能网设备上的所述智能网业务;所述管理服务器,与所述备份服务器和所述恢复服务器 连接,设置成在所述智能网设备上的所述智能网业务出现故障时,将所述备份服务器备份的所述业务信息发送给所述恢复服务器。
可选地,所述管理服务器还设置成在所述备份服务器部署备份脚本和定时任务,以及在所述恢复服务器上部署恢复脚本和监控程序。
根据本发明的又一个实施例,提供了一种智能网业务的恢复装置,包括:确定模块,设置成确定备份服务器备份了智能网业务的业务信息;判断模块,设置成判断智能网设备上的所述智能网业务是否出现故障;恢复模块,设置成在所述智能网业务出现故障时,使用所述备份服务器中备份的所述业务信息恢复所述智能网业务。
可选地,所述判断模块根据以下方式至少之一判断智能网设备上的所述智能网业务是否出现故障:判断所述备份服务器上的指定进程是否出现异常,在判断所述备份服务器上的指定进程出现异常时,确定所述智能网业务出现故障;判断所述备份服务器的中央处理单元CPU使用率是否超过预设阈值,在判断所述备份服务器的中央处理单元CPU使用率超过预设阈值时,确定所述智能网业务出现故障;判断所述备份服务器反馈响应信息是否超时,在判断所述备份服务器反馈响应信息超时时,确定所述智能网业务出现故障,其中,所述备份服务器按照预设周期接收监控请求信息,并在预定时间内反馈所述监控请求信息的所述响应信息。
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:
确定备份服务器备份了智能网业务的业务信息;
判断智能网设备上的所述智能网业务是否出现故障;
在所述智能网业务出现故障时,使用所述备份服务器中备份的所述业务信息恢复所述智能网业务。
通过本发明的实施例,确定备份服务器备份了智能网业务的业务信息,然后判断智能网设备上的所述智能网业务是否出现故障,在所述智能网业务出现故障时,使用所述备份服务器中备份的所述业务信息恢复所述智能网业务。由于备份服务器备份了智能网业务的相关业务信息,因此在智能网业务 出现故障时可以使用已经备份的业务来恢复智能网业务,可以解决相关技术中不能恢复智能网业务的问题,减少了对智能网业务的日常维护成本,提高了恢复智能网设备的效率,进而减轻由于智能网设备出现故障导致的损失。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
此处所说明的附图用来提供对本发明的实施例的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是根据本发明实施例的网络构架图;
图2是根据本发明实施例的智能网业务的恢复方法的流程图;
图3是根据本发明实施例的智能网业务的恢复系统的结构框图;
图4是根据本发明实施例的智能网业务的恢复装置的结构框图;
图5是本发明实施例的系统结构图;
图6是本发明实施例的配置部署示意图;
图7是本发明实施例的备份流程示意图;
图8是本发明实施例的主动恢复流程示意图;
图9是本发明实施例的被动恢复流程示意图。
本发明的实施方式
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例1
本申请实施例可以运行于图1所示的网络架构上,图1是根据本发明实 施例的网络构架图,如图1所示,该网络架构包括:管理服务器、备份服务器、恢复服务器、智能网业务(前端设备),其中,管理服务器设置成配置备份服务器和恢复服务器。
在本实施例中提供了一种运行于上述网络架构的智能网业务的恢复方法,图2是根据本发明实施例的智能网业务的恢复方法的流程图,如图2所示,该流程包括如下步骤:
步骤S202,确定备份服务器备份了智能网业务的业务信息;
步骤S204,判断智能网设备上的智能网业务是否出现故障;
步骤S206,在智能网业务出现故障时,使用备份服务器中备份的业务信息恢复智能网业务。
通过上述步骤,确定备份服务器备份了智能网业务的业务信息,然后判断智能网设备上的智能网业务是否出现故障,在智能网业务出现故障时,使用备份服务器中备份的业务信息恢复智能网业务。由于备份服务器备份了智能网业务的相关业务信息,因此在智能网业务出现故障时可以使用已经备份的业务来恢复智能网业务,可以解决相关技术中不能恢复智能网业务的问题,减少了对智能网业务的日常维护成本,提高了恢复智能网设备的效率,进而减轻由于智能网设备出现故障导致的损失。
可选地,上述步骤的执行主体可以为上述恢复服务器等,但不限于此。
可选的,业务信息包括:智能网业务的软件的软件信息、智能网业务的数据信息。进一步的,智能网业务的软件的软件信息可以但不限于为:软件应用目录、软件文件、智能网软件对应智能网设备的环境变量文件、软件的用户名、软件的用户标识,软件用户所在的组名,软件用户所在组的组标识;智能网业务的数据信息可以但不限于为:数据库应用目录、数据文件、数据库对应智能网设备的环境变量文件、数据库的用户名、数据库的用户的标识,数据库的用户所在的组名,数据库的用户所在组的组标识。
在本实施例中,可以根据以下几种方式来判断智能网设备上的智能网业务是否出现故障:
判断备份服务器上的指定进程是否出现异常,在判断备份服务器上的指 定进程出现异常时,确定智能网业务出现故障;
判断备份服务器的中央处理单元CPU使用率是否超过预设阈值,在判断备份服务器的中央处理单元CPU使用率超过预设阈值时,确定智能网业务出现故障;当然,此处也可以是其他的参数,如I/O速率,运行的进程数等。
判断备份服务器反馈响应信息是否超时,在判断备份服务器反馈响应信息超时时,确定智能网业务出现故障;其中,备份服务器按照预设周期接收监控请求信息,并在预定时间内反馈监控请求信息的响应信息。
可选的,使用备份服务器中备份的业务信息恢复智能网业务包括:在恢复智能网业务的数据信息之后,再恢复智能网业务的软件信息。由于智能网软件是依赖于数据库的,所以恢复流程中,会先恢复数据库软件和数据,然后恢复智能网业务软件。在恢复数据库软件和数据时,会先恢复数据库软件并启动数据库,然后恢复数据,具体流程是根据备份流程中的备份数据,先根据备份数据库的应用用户和组信息,判断目前恢复的智能网设备上是否存在相同的应用用户和组,如果不存在的话,恢复脚本会创建与备份的智能网设备完全相同的应用用户和组,并且会恢复数据库的目录和文件,并赋予与备份的智能网设备相同的权限,然后会恢复环境变量文件,并使环境变量生效,最后恢复脚本会自动启动数据库。数据库恢复并启动后,恢复脚本会使用数据导入命令,自动将备份的数据导入到数据库中,确保恢复的数据和备份数据的一致性。
可选的,使用备份服务器中备份的业务信息恢复智能网业务使用业务信息恢复智能网设备上的智能网业务包括:
接收备份服务器保存的业务信息;可选的,备份服务器可以将实时备份的业务信息先发送给管理服务器,然后管理服务器在恢复服务器需要恢复的时候发送给恢复服务器。
调用恢复脚本使用业务信息在智能网设备上恢复智能网业务。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的 形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。
本发明实施例另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。
实施例2
在本实施例中还提供了一种智能网业务的恢复系统、装置,用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图3是根据本发明实施例的智能网业务的恢复系统的结构框图,如图3所示,该系统包括:
备份服务器30,设置成定时将智能网业务的业务信息备份到备份服务器,并将业务信息发送给管理服务器;
恢复服务器32,设置成在监控到智能网设备上的智能网业务出现故障时,使用业务信息恢复智能网设备上的智能网业务;
管理服务器34,与备份服务器和恢复服务器连接,设置成在智能网设备上的智能网业务出现故障时,将备份服务器备份的业务信息发送给恢复服务器。
可选的,管理服务器还设置成在备份服务器部署备份脚本和定时任务,以及在恢复服务器上部署恢复脚本和监控程序。
图4是根据本发明实施例的智能网业务的恢复装置的结构框图,如图4所示,该装置包括:
确定模块40,设置成确定备份服务器备份了智能网业务的业务信息;
判断模块42,设置成判断智能网设备上的智能网业务是否出现故障;
恢复模块44,设置成在智能网业务出现故障时,使用备份服务器中备份的业务信息恢复智能网业务。
可选的,判断模块根据以下方式至少之一判断智能网设备上的智能网业务是否出现故障:
判断备份服务器上的指定进程是否出现异常,在判断备份服务器上的指定进程出现异常时,确定智能网业务出现故障;
判断备份服务器的中央处理单元CPU使用率是否超过预设阈值,在判断备份服务器的中央处理单元CPU使用率超过预设阈值时,确定智能网业务出现故障;
判断备份服务器反馈响应信息是否超时,在判断备份服务器反馈响应信息超时时,确定智能网业务出现故障;其中,备份服务器按照预设周期接收监控请求信息,并在预定时间内反馈监控请求信息的响应信息。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例3
本实施例是基于智能网设备的自动备份和恢复的方法,通过在管理工具上配置备份服务器和恢复服务器信息,将监控程序和脚本部署到备份服务器和恢复服务器,通过配置的定时任务对备份服务器进行备份,通过监控备份服务器的状态和备份服务器主动上报恢复请求触发恢复流程,实现智能网业务和数据库软件在恢复服务器上进行自动部署。
本实施例的目的是提供一种有效且稳定的自动备份和恢复智能网设备的方法,帮助现场维护人员减少日常维护的成本,大大提供恢复智能网设备的效率,进而减轻由于智能网设备出现故障导致的损失。
本实施例涉及配置部署流程、备份流程、主动恢复流程和被动恢复流程,在本实施例中,配置服务器和管理服务器可以是同一个服务器,下面逐一进行下说明。
1:配置部署流程主要是在智能网设备安装和调试完成,可以正常运行之后,在配置工具上配置备份服务器的信息和恢复服务器的信息,备份服务器的信息包含IP地址、root用户和密码、业务用户名和数据库用户名、定时任 务的信息和触发恢复流程的规划等信息;恢复服务器的信息包含例如IP地址、root用户和密码等信息。
配置好备份服务器的信息和恢复服务器的信息后,配置工具会将信息发送到配置服务器,配置服务器会向备份服务器部署备份脚本,定时任务和监控程序;向恢复服务器部署恢复脚本和监控程序。
其中对于监控程序,主要是负责配置服务器与备份服务器、恢复服务器进行通信和监测服务器的状态,如果状态异常,则会触发恢复流程。
对于备份脚本,主要的功能是备份智能网设备上部署的智能网业务软件和数据库软件以及数据库数据。
对于恢复脚本,主要的功能是恢复智能网设备上部署的智能网业务软件和数据库软件以及数据库数据。
对于定时任务,主要是通过设置crontab,分别配置备份智能网业务软件的定时任务和备份数据库以及数据的定时任务,由于备份时比较耗费系统资源,为了避免影响业务的正常运行,需要将两个定时任务错开,减轻服务器的压力。
2:备份流程是在配置部署流程完成后,定时任务部署到智能网设备上且生效,通过系统级定时任务自动触发执行备份智能网业务软件的脚本和数据库备份脚本,分别生成智能网业务备份包和数据库备份包,并自动上传到配置服务器上,由于配置服务器磁盘空间是有限的,因此备份脚本在上传智能网业务备份包和数据库备份包时,会自动判断目前已经存在的历史备份包的数量,如果备份包的数据超过了六个,那么会先删除最先备份的智能网业务备份包和数据库备份包,然后再把最新备份的智能网业务备份包和数据库备份包上传上来,确保配置服务器的备份目录下最多保存最近七个智能网业务备份包和数据库备份包。
在备份智能网软件时,除了备份智能网软件的应用目录和文件以外,还将智能网软件所在的用户的环境变量文件、用户名、用户的ID(IDENTITY),用户的组名,组ID等信息也一并保存并备份起来,为后面的恢复流程中百分百恢复智能网软件做准备。
在备份数据库时,除了备份数据库的应用目录和文件以外,还将数据库中的数据(包括表结构和表数据等信息)以及数据库所在的用户的环境变量文件、用户名、用户的ID,用户的组名,组ID等信息也一并保存并备份起来,为后面的恢复流程中百分百恢复智能网软件做准备。
3:主动恢复流程是在根据配置的恢复规则,比如设备的进程异常,CPU使用率等条件,在备份的智能网设备上进行自我检测,一旦发现满足恢复的条件,则会向配置服务器发起恢复请求,配置服务器收到恢复请求后,会将最新的备份包部署到恢复的服务器上,并在恢复服务器上调用恢复脚本,对智能网业务和数据库进行恢复。
4:被动恢复流程是在配置服务器会定期发送(比如5s)监控请求消息,一旦接收监控响应消息超时,配置服务器可认为备份的服务器出现故障,,会将最新的备份包部署到恢复的服务器上,并在恢复服务器上调用恢复脚本,对智能网业务和数据库进行恢复。
由于智能网软件是依赖于数据库的,所以恢复流程中,会先恢复数据库软件和数据,然后恢复智能网业务软件。
在恢复数据库软件和数据时,会先恢复数据库软件并启动数据库,然后恢复数据,具体流程是根据备份流程中的备份数据,先根据备份数据库的应用用户和组信息,判断目前恢复的智能网设备上是否存在相同的应用用户和组,如果不存在的话,恢复脚本会创建与备份的智能网设备完全相同的应用用户和组,并且会恢复数据库的目录和文件,并赋予与备份的智能网设备相同的权限,然后会恢复环境变量文件,并使环境变量生效,最后恢复脚本会自动启动数据库。数据库恢复并启动后,恢复脚本会使用数据导入命令,自动将备份的数据导入到数据库中,确保恢复的数据和备份数据的一致性。
在恢复智能网业务软件时,会根据备份流程中的备份数据,先根据备份的应用用户和组信息,判断目前恢复的智能网设备上是否存在相同的应用用户和组,如果不存在的话,恢复脚本会创建与备份的智能网设备完全相同的应用用户和组,并且会恢复智能网业务软件的目录和文件,并赋予与备份的智能网设备相同的权限,然后会恢复环境变量文件,并使环境变量生效,最后恢复脚本会自动启动智能网软件。
与常规的手工备份和恢复的方式相比,本实施例所提供的智能网设备的自动备份和恢复的方法非常自动化,在配置完成后,备份和恢复流程不需要人工操作,可以节省现场人员手工去进行备份和恢复的操作,大大提升了备份和恢复的效率和成功率。
图5是本发明实施例的系统结构图,系统一共由配置工具,配置服务器,备份服务器和恢复服务器组成。其中配置工具与配置服务器进行交互,负责配置备份服务器和恢复服务器的信息。配置服务器与备份服务器和恢复服务器进行交互,负责在备份服务器和恢复服务器部署脚本和监控程序,以及监控备份服务器的状态。备份服务器和恢复服务器分别实现备份和恢复的功能。
图6是本发明实施例的配置部署示意图,步骤如下:
S61,在管理工具上配置备份服务器和恢复服务器的信息,备份服务器的信息包含IP地址、root用户和密码、业务用户名和数据库用户名、定时任务的信息和触发恢复流程的规划等信息;恢复服务器的信息包含例如IP地址、root用户和密码等信息。
S62,配置完成后,管理工具会将配置信息发送给管理服务器。
S63,配置服务器收到信息后,将在备份服务器上部署备份脚本,定时任务和监控程序。
S64,配置服务器收到信息后,将在恢复服务器部署恢复脚本和监控程序。
图7是本发明实施例的备份流程示意图,步骤如下:
S71,备份服务器上部署了定时任务,定时任务包括备份智能网业务的定时任务和备份数据库的定时任务,当定时任务触发后,会调用备份脚本对智能网业务和数据库分别进行备份。
S72,备份完成后,备份服务器会将备份包上传到配置服务器上。
图8是本发明实施例的主动恢复流程示意图,步骤如下:
S81,备份服务器会根据事先定义好的监控规则,实时对自身系统监控,例如对系统进程进行监控。
S82,一旦检测到进程异常,备份服务器会向配置服务器发送恢复请求。
S83,配置服务器收到备份服务器发送的恢复请求后,会将备份的业务包和数据库包部署到恢复服务器,并向恢复服务器发送恢复请求。
S84,恢复服务器收到配置服务器发送的恢复请求后,调用恢复脚本对智能网业务和数据库进行恢复。
图9是本发明实施例的被动恢复流程示意图,步骤如下:
S91,管理服务器定期(例如5s)向备份服务器发送监测状态的请求。
S92,一旦管理服务器收到监测备份服务器状态的响应超时,则会触发恢复流程。
S93,配置服务器触发恢复流程,会将备份的业务包和数据库包部署到恢复服务器,并向恢复服务器发送恢复请求。
S94,恢复服务器收到配置服务器发送的恢复请求后,调用恢复脚本对智能网业务和数据库进行恢复。
实施例4
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
确定备份服务器备份了智能网业务的业务信息;
判断智能网设备上的智能网业务是否出现故障;
在智能网业务出现故障时,使用备份服务器中备份的业务信息恢复智能网业务。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行确定备份服务器备份了智能网业务的业务信息;
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行判断智能网设备上的智能网业务是否出现故障;
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行 在智能网业务出现故障时,使用备份服务器中备份的业务信息恢复智能网业务
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明的实施例不限制于任何特定的硬件和软件结合。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理单元的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或者所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递 送介质。
以上所述仅为本发明的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本发明的实施例可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
工业实用性
由于备份服务器备份了智能网业务的相关业务信息,因此在智能网业务出现故障时可以使用已经备份的业务来恢复智能网业务,可以解决相关技术中不能恢复智能网业务的问题,减少了对智能网业务的日常维护成本,提高了恢复智能网设备的效率,进而减轻由于智能网设备出现故障导致的损失。

Claims (11)

  1. 一种智能网业务的恢复方法,包括:
    确定备份服务器备份了智能网业务的业务信息;
    判断智能网设备上的所述智能网业务是否出现故障;
    在所述智能网业务出现故障时,使用所述备份服务器中备份的所述业务信息恢复所述智能网业务。
  2. 根据权利要求1所述的方法,其中,所述业务信息包括:智能网业务的软件的软件信息、智能网业务的数据信息。
  3. 根据权利要求2所述的方法,其中,所述智能网业务的软件的软件信息包括以下至少之一:软件应用目录、软件文件、智能网软件对应智能网设备的环境变量文件、所述智能网设备软件的用户名、所述软件的用户的标识,软件用户所在的组名,软件用户所在组的组标识;和/或,所述智能网业务的数据信息包括以下至少之一:数据库应用目录、数据文件、所述数据库对应智能网设备的环境变量文件、所述数据库的用户名、所述数据库的用户的标识,所述数据库的用户所在的组名,所述数据库的用户所在组的组标识。
  4. 根据权利要求1所述的方法,其中,根据以下方式至少之一判断智能网设备上的所述智能网业务是否出现故障:
    判断所述备份服务器上的指定进程是否出现异常,在判断所述备份服务器上的指定进程出现异常时,确定所述智能网业务出现故障;
    判断所述备份服务器的中央处理单元CPU使用率是否超过预设阈值,在判断所述备份服务器的中央处理单元CPU使用率超过预设阈值时,确定所述智能网业务出现故障;
    判断所述备份服务器反馈响应信息是否超时,在判断所述备份服务器反馈响应信息超时时,确定所述智能网业务出现故障,其中,所述备份服务器按照预设周期接收监控请求信息,并在预定时间内反馈所述监控请求信息的所述响应信息。
  5. 根据权利要求2所述的方法,其中,使用所述备份服务器中备份的所述业务信息恢复所述智能网业务的步骤包括:
    在恢复所述智能网业务的数据信息之后,再恢复所述智能网业务的软件信息。
  6. 根据权利要求1所述的方法,其中,使用所述备份服务器中备份的所述业务信息恢复所述智能网业务使用所述业务信息恢复所述智能网设备上的所述智能网业务的步骤包括:
    接收所述备份服务器保存的所述业务信息;
    调用恢复脚本使用所述业务信息在所述智能网设备上恢复所述智能网业务。
  7. 一种智能网业务的恢复系统,包括:
    备份服务器,设置成定时将智能网业务的业务信息备份到备份服务器,并将所述业务信息发送给管理服务器;
    恢复服务器,设置成在监控到智能网设备上的所述智能网业务出现故障时,使用所述业务信息恢复所述智能网设备上的所述智能网业务;
    所述管理服务器,与所述备份服务器和所述恢复服务器连接,设置成在所述智能网设备上的所述智能网业务出现故障时,将所述备份服务器备份的所述业务信息发送给所述恢复服务器。
  8. 根据权利要求7所述的系统,所述管理服务器还设置成在所述备份服务器部署备份脚本和定时任务,以及在所述恢复服务器上部署恢复脚本和监控程序。
  9. 一种智能网业务的恢复装置,包括:
    确定模块,设置成确定备份服务器备份了智能网业务的业务信息;
    判断模块,设置成判断智能网设备上的所述智能网业务是否出现故障;
    恢复模块,设置成在所述智能网业务出现故障时,使用所述备份服务器中备份的所述业务信息恢复所述智能网业务。
  10. 根据权利要求9所述的装置,其中,所述判断模块根据以下方式至少之一判断智能网设备上的所述智能网业务是否出现故障:
    判断所述备份服务器上的指定进程是否出现异常,在判断所述备份服务 器上的指定进程出现异常时,确定所述智能网业务出现故障;
    判断所述备份服务器的中央处理单元CPU使用率是否超过预设阈值,在判断所述备份服务器的中央处理单元CPU使用率超过预设阈值时,确定所述智能网业务出现故障;
    判断所述备份服务器反馈响应信息是否超时,在判断所述备份服务器反馈响应信息超时时,确定所述智能网业务出现故障;其中,所述备份服务器按照预设周期接收监控请求信息,并在预定时间内反馈所述监控请求信息的所述响应信息。
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。
PCT/CN2017/087176 2016-06-29 2017-06-05 智能网业务的恢复方法、装置及系统 WO2018001046A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610506687.5A CN107544867B (zh) 2016-06-29 2016-06-29 智能网业务的恢复方法、装置及系统
CN201610506687.5 2016-06-29

Publications (1)

Publication Number Publication Date
WO2018001046A1 true WO2018001046A1 (zh) 2018-01-04

Family

ID=60786687

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/087176 WO2018001046A1 (zh) 2016-06-29 2017-06-05 智能网业务的恢复方法、装置及系统

Country Status (2)

Country Link
CN (1) CN107544867B (zh)
WO (1) WO2018001046A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099990A (zh) * 2020-08-31 2020-12-18 新华三信息技术有限公司 一种容灾备份方法、装置、设备及机器可读存储介质
CN113783826A (zh) * 2020-09-22 2021-12-10 北京沃东天骏信息技术有限公司 一种微服务异常处理方法和装置

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117311A (zh) * 2018-08-22 2019-01-01 郑州云海信息技术有限公司 一种故障恢复方法及装置
CN109815233A (zh) * 2018-12-27 2019-05-28 北京奇艺世纪科技有限公司 一种数据表的处理方法和系统
CN111865670B (zh) * 2020-07-03 2023-06-30 宏图智能物流股份有限公司 一种仓库网络快速恢复方法以及仓库网络快速恢复服务器

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1747585A (zh) * 2004-09-10 2006-03-15 华为技术有限公司 智能网系统中实现业务处理单元备份的方法及装置
CN1750476A (zh) * 2004-09-14 2006-03-22 华为技术有限公司 智能网系统中保证呼叫接续的方法及装置
CN1870536A (zh) * 2006-03-08 2006-11-29 华为技术有限公司 一种软交换容错处理方法及实现系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825811A (zh) * 2005-02-23 2006-08-30 中兴通讯股份有限公司 Cdma智能网中信令应急处理的方法
KR100845000B1 (ko) * 2007-12-04 2008-07-10 주식회사 엔써티 이동통신 단말기의 데이터를 백업/복구하는 서비스 시스템 및 그에 적용되는 원격 데이터저장소 서버

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1747585A (zh) * 2004-09-10 2006-03-15 华为技术有限公司 智能网系统中实现业务处理单元备份的方法及装置
CN1750476A (zh) * 2004-09-14 2006-03-22 华为技术有限公司 智能网系统中保证呼叫接续的方法及装置
CN1870536A (zh) * 2006-03-08 2006-11-29 华为技术有限公司 一种软交换容错处理方法及实现系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099990A (zh) * 2020-08-31 2020-12-18 新华三信息技术有限公司 一种容灾备份方法、装置、设备及机器可读存储介质
CN113783826A (zh) * 2020-09-22 2021-12-10 北京沃东天骏信息技术有限公司 一种微服务异常处理方法和装置
CN113783826B (zh) * 2020-09-22 2023-08-04 北京沃东天骏信息技术有限公司 一种微服务异常处理方法和装置

Also Published As

Publication number Publication date
CN107544867A (zh) 2018-01-05
CN107544867B (zh) 2023-07-21

Similar Documents

Publication Publication Date Title
WO2018001046A1 (zh) 智能网业务的恢复方法、装置及系统
US10152382B2 (en) Method and system for monitoring virtual machine cluster
US10831622B2 (en) Method and apparatus for processing gateway device fault
WO2020248507A1 (zh) 基于容器云的系统资源监控方法及相关设备
CN110830283B (zh) 故障检测方法、装置、设备和系统
WO2018095414A1 (zh) 虚拟机故障的检测和恢复方法及装置
CN108429629A (zh) 设备故障恢复方法和装置
CN104408071A (zh) 一种基于集群管理器的分布式数据库高可用方法及系统
CN105302661A (zh) 一种实现虚拟化管理平台高可用的系统和方法
WO2018019242A1 (zh) 网站服务器的自恢复方法和自恢复系统
CN108268305A (zh) 用于虚拟机自动扩缩容的系统和方法
CN110618864A (zh) 一种中断任务恢复方法及装置
CN109474470A (zh) 一种自监控方法和装置
CN115297124A (zh) 一种系统运维管理方法、装置及电子设备
WO2017198156A1 (zh) 业务部署方法、装置和系统
CN110972497A (zh) 虚拟化平台的容灾方法及装置
CN110620798A (zh) Ftp连接的控制方法、系统、设备和存储介质
CN108897646B (zh) 一种bios芯片的切换方法及基板管理控制器
WO2016177098A1 (zh) 会议备份方法和装置
CN108154343B (zh) 一种企业级信息系统的应急处理方法及系统
CN106161061B (zh) 业务配置的回滚方法及网络设备
CN114691395A (zh) 一种故障处理方法、装置、电子设备及存储介质
KR101428769B1 (ko) 스마트 그리드 시스템의 재구성을 지원하기 위한 블랙박스 장치 및 방법
CN110289977B (zh) 物流仓库系统的故障检测方法及系统、设备和存储介质
CN111625420B (zh) 一种分布式训练任务处理方法、装置、设备及存储介质

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

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

Country of ref document: EP

Kind code of ref document: A1