WO2016086635A1 - 一种网元升级的管理方法及装置 - Google Patents
一种网元升级的管理方法及装置 Download PDFInfo
- Publication number
- WO2016086635A1 WO2016086635A1 PCT/CN2015/081251 CN2015081251W WO2016086635A1 WO 2016086635 A1 WO2016086635 A1 WO 2016086635A1 CN 2015081251 W CN2015081251 W CN 2015081251W WO 2016086635 A1 WO2016086635 A1 WO 2016086635A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- upgrade
- error
- network
- failure
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
Definitions
- This document relates to network communication, and in particular to a management method and device for network element upgrade.
- the bearer network is used to carry services that require high transmission quality (such as softswitch, video, and key customer VPN).
- the number of network elements in the bearer network is large, and a large number of communication services are assumed.
- the network element upgrade of the bearer network is generally carried out in the middle of the night when the traffic is small.
- most of the existing network element upgrade tools of the bearer network have the function of task scheduling. After the upgrade task is set, the upgrade will be performed automatically. However, the operation and maintenance personnel need to pay close attention to the upgrade process, and pay attention to whether an abnormality occurs.
- This document provides a management method and device for network element upgrade, which can help network operation and maintenance personnel monitor the process of network element upgrade.
- a management method for upgrading a network element including:
- the device of the bearer network includes at least one of a bearer network element and a network management.
- the error condition includes at least one of the following:
- the step of analyzing the upgrade error message and determining an error condition that occurs when the network element is upgraded includes at least one of the following steps:
- the upgrade error message includes a network management verification failure information segment, it is determined that the error condition is a download failure caused by a file error;
- the upgrade error message includes a trial run failure prompt, it is determined that the error condition is a trial run failure
- the upgrade failure message includes an activation failure prompt, determining that the error condition is activation failure;
- the upgrade error message includes a fallback failure prompt, it is determined that the error condition is a fallback failure
- the upgrade error message includes a failure prompt for downloading the network element data, determining that the error condition fails to download the network element data.
- the method further includes: performing at least one of the following steps:
- the upgrade file matching information is obtained from the detection message during the test run of the upgrade file, so that the error message sent by the subsequent contact mode of the network operation and maintenance personnel carries the upgrade file matching information;
- the error condition is that the downloading of the network element data fails
- the data item information that fails to download the network element data is obtained, so that the error alarm message sent by the subsequent contact mode of the network operation and maintenance personnel carries the data item information that fails to download the network element data.
- the method further includes:
- the method further includes:
- a management device for upgrading a network element comprising:
- the upgrade error message receiving module is configured to: an upgrade error message sent by the device receiving the bearer network within a preset time window;
- the error condition analysis module is configured to: analyze the upgrade error message, and determine an error condition that occurs when the network element is upgraded;
- the error alarm message sending module is configured to send an error alarm message to the network operation and maintenance personnel in the contact mode according to the preset alarm mode, so that the network operation and maintenance personnel can learn the network element upgrade of the bearer network through the error alarm message. Error condition in the process;
- the device of the bearer network includes at least one of a bearer network element and a network management.
- the error condition includes at least one of the following:
- the error condition analysis module includes at least one of the following:
- the download failure determines the first subunit, and is set to: when the upgrade error message is received after the bearer network network management starts downloading and before receiving the download success message, determining that the error condition is a download failure caused by a download process error;
- the download failure determines the second subunit, and is set to: when the upgrade error message includes the network management verification failure information segment, it is determined that the error condition is a download failure caused by a file error;
- the trial run failure determination subunit is set to: when the upgrade error message includes a trial run failure prompt, it is determined that the error condition is a trial run failure;
- the activation failure determination subunit is set to: when the upgrade failure message includes an activation failure prompt, determining that the error condition is activation failure;
- the rollback failure determination subunit is set to: when the upgrade error message includes a fallback failure prompt, determine that the error condition is a fallback failure;
- the downloading the NE data failure determining subunit is set to: when the upgrade error message includes a failure prompt for downloading the network element data, determining that the error status is a failure to download the network element data.
- the device further comprises at least one of the following:
- the upgrade file matching information obtaining module is configured to: when the error condition is a trial run failure, obtain the upgrade file matching information from the detection message during the trial run of the upgrade file, so that the subsequent error alarm sent to the network operation and maintenance personnel contact mode is sent.
- the message carries the upgrade file matching information
- the failing data item information obtaining module is configured to: when the error condition is that the downloading of the network element data fails, obtaining the data item information that fails to download the network element data, so that the subsequent error alarm message sent by the network operation and maintenance personnel is sent The data item information that fails to download the network element data.
- the device further includes:
- the first prompting module is configured to: when receiving the upgrade file download message, and/or the trial run message, and/or the activation message, and/or the fallback message, and/or downloading the network element data message, when the distance is set When the time end of the window has a predetermined duration, if the message that the upgrade is successful is not received, the message that the time is up will be prompted;
- the second prompt module is set to: when the time limit of the set time window is reached, and the upgrade is not completed, a message prompting that the upgrade is not completed is issued.
- the device further includes:
- the command line message receiving module is configured to: receive a command line message sent by the network operation and maintenance personnel;
- the remote command execution module is configured to: perform corresponding operations on the network element according to the command line message.
- a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
- the management method and device for the network element upgrade provided by the present invention can assist the network operation and maintenance personnel to upgrade the bearer network element, and at the same time, it does not negatively affect the processing speed and processing efficiency of the bearer network element error condition. influences.
- FIG. 1 is a schematic flowchart of a network element upgrade management method according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of a network element to be performed according to an embodiment of the present invention
- FIG. 3 is a schematic structural diagram of a network element upgrade management apparatus according to an embodiment of the present invention.
- the embodiment of the present invention first provides a method for managing a network element upgrade, including the steps shown in FIG. 1:
- Step 101 Receive an upgrade error message sent by the device of the bearer network within a preset time window.
- Step 102 Analyze the upgrade error message to determine an error condition that occurs when the network element is upgraded.
- Step 103 Send an error alarm message to the network operation and maintenance personnel in the contact mode according to the preset alarm mode, so that the network operation and maintenance personnel can learn the error condition in the upgrade process of the network element of the bearer network through the error alarm message.
- the device of the bearer network includes at least one of a bearer network element and a network management.
- the network element upgrade management method can receive an upgrade error message sent by the bearer network element during the upgrade process, and determine an actual error condition according to the upgrade error message, and then send an alarm message to the network operation and maintenance personnel.
- the network operation and maintenance personnel can learn the error status of the NE upgrade process of the bearer network, and allow the network operation and maintenance personnel to remotely know the error occurred during the upgrade process of the bearer network element through the mobile phone, mail, or network. In this case, the network operation and maintenance personnel do not need to actively monitor the upgrade dynamics of the NEs of the bearer network at any time, reduce the workload and workload of the network operation and maintenance personnel in the NE upgrade process, and simplify the monitoring process of the NE upgrade.
- the preset alarm manner may include an audible alarm, a mobile phone message alarm, a network message alarm, an email alarm, and the like.
- the contact information of the network operation and maintenance personnel includes a mobile phone number, a network account number, an email address, and the like.
- Network operation and maintenance personnel do not need it To actively monitor the upgrade status of the NE, you only need to carry the terminal that receives the alarm message.
- the terminal can be a specific alarm message receiving terminal, or it can be a mobile phone or a computer.
- the device carrying the device identifier can be used.
- the network operation and maintenance personnel can know the device that sends the error condition, so that the device with the error condition can be directly and quickly checked for faults.
- the preset alarm mode and the contact mode of the network operation and maintenance personnel may be set before the start of the upgrade process or before the method provided by the embodiment of the present invention starts.
- the device of the bearer network includes a network element of the bearer network and a network management system.
- the network element has multiple boards, and the board has a difference between the non-main control board and the main control board.
- the boards that are included in the NE are upgraded.
- the upgraded boards may include the main control board and the non-main control board. Of course, only one of them can be included.
- the error condition comprises at least one of the following:
- the NE upgrade of the bearer network includes the download of the upgrade file, the trial run of the upgrade file, and the activation of the upgrade file.
- the upgraded main control board or non-main control board is used. Perform an upgrade rollback and roll back to the state before the trial run phase was started. If the upgraded file is upgraded, the upgrade process will include the download of the upgrade file, the trial run of the upgrade file, the activation of the upgrade file, and the download of the NE data.
- the upgrade control board is upgraded and rolled back to the state before the start of the trial run phase. When the upgrade file is successfully activated, the main control board needs to download the NE data.
- the network operation and maintenance personnel quickly resolve the cause of the error condition. For example, when the network operation and maintenance personnel know through the alarm message Download the failed error status, you can roughly judge the communication link problem or the file download does not match, then the network operation and maintenance personnel can directly view the communication link or upgrade the downloaded file without calling the upgrade data. When the network operation and maintenance personnel handle the error condition, they can find the cause of the error and fix the error in the shortest time.
- the step of analyzing the upgrade error message and determining an error condition that occurs when the network element is upgraded includes at least one of the following steps:
- the upgrade error message includes a network management verification failure information segment, it is determined that the error condition is a download failure caused by a file error;
- the upgrade error message includes a trial run failure prompt, it is determined that the error condition is a trial run failure
- the upgrade failure message includes an activation failure prompt, determining that the error condition is activation failure;
- the upgrade error message includes a fallback failure prompt, it is determined that the error condition is a fallback failure
- the upgrade error message includes a fallback success message prompt, determining that the error condition is the activation failure rollback success;
- the upgrade error message includes a failure prompt for downloading the network element data, determining that the error condition fails to download the network element data.
- the download failure generally includes two cases. One is that the NE download process is wrong, causing the file download to be unsuccessful. The other is that the NE downloads the file but downloads it.
- the file is inconsistent with the preset file parameters, which means that the network element downloads the file and checks whether the file size does not match when the file size is checked. In this case, the trial run phase has not been started, because the file error causes the download failure error. situation.
- the NMS is used as the FTP client to log in to the FTP server on the NE.
- the upgrade file is transmitted through the FTP protocol.
- the NMS sends a trial run command to the NE.
- the NE receives the test. Perform the upgrade file trial run after running the command; the trial run succeeds
- the network element performs the upgrade file activation operation.
- the network element performs the rollback operation autonomously. If the rollback operation fails, a fallback failure prompt message is sent. Therefore, the upgrade error message contains error status prompts for different states.
- the user After the activation fails, the user enters the fallback phase. Even if the rollback is successful, the network operation and maintenance personnel are required to participate in the upgrade process for corresponding processing. Therefore, the activation failure and the rollback success are regarded as an error condition in the embodiment of the present invention. When the situation occurs, a corresponding error alarm message is also sent to the operation and maintenance personnel.
- the method further includes at least one of the following steps:
- the upgrade file matching information is obtained from the detection message during the test run of the upgrade file, so that the error message sent by the subsequent contact mode of the network operation and maintenance personnel carries the upgrade file matching information;
- the error condition is that the downloading of the network element data fails
- the data item information that fails to download the network element data is obtained, so that the error alarm message sent by the subsequent contact mode of the network operation and maintenance personnel carries the data item information that fails to download the network element data.
- the matching information of the upgrade file is first checked, and the version number and type of the upgrade file are matched with the preset upgrade file information, and the matching information of the upgrade file is obtained at the same time.
- the matching information of the upgrade file may be attached when the alarm message is sent, so that the network operation and maintenance personnel can refer to the matching information to determine the cause of the error condition when receiving the alarm message.
- the NMS obtains the data item that failed to be downloaded according to the progress of the download task data table, and sends an error alarm message to the network operation and maintenance personnel, and sends the data item that is cut off when the download of the network element data fails. Help network operation and maintenance personnel to quickly find out the reason for the failure to download network element data.
- the method provided by the embodiment of the present invention not only enables the network operation and maintenance personnel to grasp the errors and faults occurring during the upgrade process of the network element without actively monitoring in real time, thereby helping to reduce the network operation.
- the workload of the Victorian staff On the other hand, the embodiment of the present invention sets a corresponding error condition for the error conditions occurring at different stages in the network element upgrade process.
- the cause-assisted judgment mechanism occurs. Therefore, in the actual use process, the network operation and maintenance personnel do not have the real-time active monitoring and are not always in the state of responding to the emergency situation, and the error faults occurring during the NE upgrade process cannot be resolved in time.
- the method provided by the embodiment of the invention can reduce the workload of the network operation and maintenance personnel, and can also assist the network operation and maintenance personnel to obtain the cause of the error condition in the network element upgrade, so that the error condition can be timely and fast. Solution.
- the method further includes:
- the related device such as the NE does not send an error message during the upgrade process
- it will consider that there is no error condition during the upgrade of the NE.
- the upgrade process goes smoothly during the upgrade time, it does not mean that the upgrade process does not require the control and intervention of network operation and maintenance personnel.
- the network element upgrade process is generally performed within the time limit of the set time window. If the network element has not been upgraded at the end of the time window time, even if there is no error condition during the entire upgrade process, it will be because The upgrade of the network element exceeds the time limit and affects the service quality of the communication service.
- the service quality of the communication service is significantly affected. Therefore, in the above embodiment of the present invention, if the test runs, After the process of activating, rewinding, and downloading the NE data is started, if the end of the scheduled time window is coming, if the upgrade success message is not received, the NE is still in trial operation, or activated, or back. To retreat or download the NE data, you need network operation and maintenance personnel to intervene at this time, which requires network operation and maintenance personnel to pay attention. If the end of the preset time window is reached and the upgrade is not completed, the operation and maintenance personnel must manually intervene in the upgrade process to complete the upgrade, so as to prevent the network element from being affected during the daytime operation of the network.
- the setting may also be performed in the network element, so that the network element automatically terminates the upgrade process when the time end of the time window is coming.
- the method further includes:
- the network management system can remotely send the command line to control the network management, the network element, and the like to perform corresponding operations.
- the error condition is that the download fails
- the network operation and maintenance personnel can send a CLI (command-line interface) command line to the network element to view the network element storage space and delete unnecessary files in the storage space;
- the download failure fails due to a file error, and the network operation and maintenance personnel can control the network management to re-initiate the download.
- the network operation and maintenance personnel can send a CLI command line to the network element to delete the downloaded error file, and control the network management. Re-download the correct file and try running the new file.
- the network operation and maintenance personnel may send a CLI command line to the upgrade main control board, so that the upgrade main control board is activated according to the new activation condition; or the upgrade main control board performs the rollback operation; After the re-success, the network operation and maintenance personnel can send the CLI command line to the NE to restart the trial operation.
- the network operation and maintenance personnel may send the CLI command line to enable the network element to re-download the network element data, or re-download the data item corresponding to the download progress when the error condition is sent.
- the network operation and maintenance personnel can send a CLI command line to force the NE to fall back to the state before the start of the trial run phase.
- the error condition is determined to be a download failure, a trial run failure, or an activation failure, in addition to sending a CLI command, the operation and maintenance personnel can perform the upgrade task on the upgrade tool to perform another network element or network management to perform re-download and re-commission. Reactivate and other operations.
- the network operation and maintenance personnel sends a fallback operation success message.
- the network operation and maintenance personnel can remotely operate the network element, the network management system, and the upgrade main control board, so that the error condition can be solved in time, and the workload of the network operation and maintenance personnel is also reduced.
- the network operation and maintenance personnel can remotely control the network element, network management, or upgrade the main control board to correct the error condition, it is no longer necessary to visit the upgrade site to correct the error condition.
- the process of upgrading the network element of the bearer network managed by the method provided by the embodiment of the present invention is as shown in FIG. 2, and includes the following steps:
- Step 200 Start the upgrade, and start the timing according to the preset time window.
- the preset time window refers to the upgrade time period set according to the running time period of the network element; for example, the running time of the network element is from 2 am to early morning. Five points, then the preset time window is used to indicate that the network element is upgraded from 2 am to 5 am;
- Step 201 After entering the upgrade file downloading phase, if the upgrade file is successfully downloaded, the network management system sends a success message. If the download fails, the network management system sends an upgrade error message, and according to the content of the received message, it is determined whether the upgrade file is successfully downloaded.
- Step 202 If the upgrade file is successfully downloaded, enter the upgrade file trial run phase; if the upgrade file is successfully run, the network management system sends a success message. If the test run fails, the network management system sends an upgrade error message, and includes the test run in the upgrade error message. The failure prompts that if the trial run is successful, the network management system will send a success message; according to the received message, it can be judged whether the upgrade file trial run is successful;
- Step 203 If the upgrade file is successfully run, the upgrade file is activated. If the upgrade file is successfully activated, the NMS sends an activation success message. If the upgrade file fails to be activated, the NMS sends an upgrade error message and is in the upgrade error message. The activation failure prompt is included, and the network management system enters the fallback process; according to the received message, it can be determined whether the upgrade file activation is successful;
- Step 204 If the upgrade file is successfully activated, the network data is downloaded from the main control board. If the download of the network data fails, the upgrade main control board sends an upgrade error message. If the network data is successfully downloaded, the upgrade main control board sends a network. The message that the metadata download succeeds, according to the received message, can determine whether the downloaded network element data is successful;
- Step 205 If the downloading of the network element data is successful, the network element upgrade is successful, and then the time window is closed.
- Step 206 Send an activation success prompt message to the network operation and maintenance personnel.
- Step 207 If the activation fails in step 203, the user enters the fallback phase; if the fallback is successful, the fallback success message is sent, so that the network operation and maintenance personnel can participate in the upgrade process to perform the corresponding processing operation; if the rollback fails, Sending an upgrade error message that fails to be rolled back; according to the received message, it is known whether the rollback is successful;
- step 201 If it is determined in step 201 that the upgrade file download fails according to the received message, the network operation and maintenance personnel sends an error alarm message that the upgrade file download fails, so that the network operation and maintenance personnel learns that the upgrade file download fails by using the error alarm message.
- Error condition If it is determined in step 201 that the upgrade file download fails according to the received message, the network operation and maintenance personnel sends an error alarm message that the upgrade file download fails, so that the network operation and maintenance personnel learns that the upgrade file download fails by using the error alarm message.
- step 202 If it is determined in step 202 that the upgrade file fails to be run according to the received message, the network operation and maintenance personnel sends an error alarm message that the upgrade file fails to be tested, so that the network operation and maintenance personnel knows the upgrade file by using the error alarm message.
- step 203 If it is determined in step 203 that the upgrade file fails to be activated according to the received message, the network operation and maintenance personnel sends an error alarm message that the upgrade file activation fails, so that the network operation and maintenance personnel learns that the upgrade file activation fails by using the error alarm message.
- Error condition If it is determined in step 203 that the upgrade file fails to be activated according to the received message, the network operation and maintenance personnel sends an error alarm message that the upgrade file activation fails, so that the network operation and maintenance personnel learns that the upgrade file activation fails by using the error alarm message.
- step 204 If it is determined in step 204 that the downloading of the network element data fails according to the received message, the network operation and maintenance personnel sends an error alarm message that fails to download the network element data, so that the network operation and maintenance personnel knows the download network through the error alarm message.
- the error condition of metadata failure
- step 207 If it is determined in step 207 that the rollback fails according to the received message, the network operation and maintenance personnel sends an error alarm message of the fallback failure, so that the network operation and maintenance personnel can know the error of the fallback failure through the error alarm message. situation;
- step 207 If it is determined in step 207 that the rollback is successful according to the received message, the network operation and maintenance personnel sends an error alarm message indicating that the activation failure is successful, so that the network operation and maintenance personnel can learn that the activation fails and returns through the error alarm message.
- Step 208 At the same time that the upgrade file starts to be downloaded, the time is started according to the preset time window.
- the time limit of the time window set by the distance has a predetermined time length, if the upgrade success message is not received, the message that the time will arrive is sent. prompt;
- Step 209 When the time end of the set time window arrives and the upgrade is not completed, a message that the upgrade is not completed is issued.
- a management device for upgrading a network element comprising:
- the upgrade error message receiving module 31 is configured to: receive an upgrade error message sent by the device of the bearer network within a preset time window;
- the error condition analysis module 32 is configured to: analyze the upgrade error message, and determine the network element upgrade. The error condition that occurred during the time;
- the error alarm message sending module 33 is configured to send an error alarm message to the network operation and maintenance personnel in the contact mode according to the preset alarm mode, so that the network operation and maintenance personnel can learn the network element of the bearer network through the error alarm message. Error conditions during the upgrade process;
- the device of the bearer network includes at least one of a bearer network element and a network management.
- the error condition comprises at least one of the following:
- the error condition analysis module includes at least one of the following:
- the download failure determines the first subunit, and is set to: when the upgrade error message is received after the bearer network network management starts downloading and before receiving the download success message, determining that the error condition is a download failure caused by a download process error;
- the download failure determines the second subunit, and is set to: when the upgrade error message includes the network management verification failure information segment, it is determined that the error condition is a download failure caused by a file error;
- the trial run failure determination subunit is set to: when the upgrade error message includes a trial run failure prompt, it is determined that the error condition is a trial run failure;
- the activation failure determination subunit is set to: when the upgrade failure message includes an activation failure prompt, determining that the error condition is activation failure;
- the rollback failure determination subunit is set to: when the upgrade error message includes a fallback failure prompt, determine that the error condition is a fallback failure;
- the rollback success determination subunit is set to: when the upgrade error message includes a fallback success message prompt, determining that the error condition is successful activation failure rollback is successful;
- the downloading the NE data failure determining subunit is set to: when the upgrade error message includes a failure prompt for downloading the network element data, determining that the error status is a failure to download the network element data.
- the apparatus further comprises at least one of the following:
- the upgrade file matching information obtaining module is set to: when the error condition is a trial run failure
- the upgrade file matching information is obtained from the detection message of the upgrade file during the test run, so that the error message sent by the network operation and maintenance personnel in the contact mode carries the upgrade file matching information;
- the failing data item information obtaining module is configured to: when the error condition is that the downloading of the network element data fails, obtaining the data item information that fails to download the network element data, so that the subsequent error alarm message sent by the network operation and maintenance personnel is sent The data item information that fails to download the network element data.
- the apparatus further includes:
- the first prompting module is configured to: when receiving the upgrade file download message, and/or the trial run message, and/or the activation message, and/or the fallback message, and/or downloading the network element data message, when the distance is set When the window has a predetermined duration, if the message that the upgrade is successful is not received, the message that the time is up will be prompted;
- the second prompt module is set to: when the time limit of the set time window is reached, and the upgrade is not completed, a message prompting that the upgrade is not completed is issued.
- the apparatus further includes:
- the command line message receiving module is configured to: receive a command line message sent by the network operation and maintenance personnel;
- the remote command execution module is configured to: perform corresponding operations on the network element according to the command line message.
- the network element upgrade management method and device provided by the embodiment of the present invention can assist the network operation and maintenance personnel to upgrade the bearer network element, and at the same time, the processing speed and processing of the bearer network element error condition are not processed. Efficiency has a negative impact.
- all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
- the device/function module/functional unit in the above embodiments may be implemented by using a general-purpose computing device, which may be concentrated on a single computing device or distributed in multiple computing devices. On the network.
- the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
- the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
- the embodiment of the present invention can receive an upgrade error message sent by the bearer network element in the upgrade process, and determine an actual error condition according to the upgrade error message, and send an alarm message to the network operation and maintenance personnel, so that the network operation and maintenance personnel can know the bearer.
- the fault condition of the network element upgrade process of the network allows the network operation and maintenance personnel to remotely know the error status of the network element of the bearer network during the upgrade process by means of the mobile phone, mail, or network, without the network operation and maintenance personnel actively monitoring the bearer.
- the upgrade of the network element is used to reduce the workload and workload of the network operation and maintenance personnel in the upgrade process of the NE and simplify the monitoring process of the NE upgrade.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
一种网元升级的管理方法和装置。所述方法包括:接收承载网的设备在预设时间窗的时间内发送的升级错误消息;分析所述升级错误消息,确定网元升级时所发生的错误状况;按照预设的告警方式,向网络运维人员的联系方式发送错误告警消息,使得所述网络运维人员通过所述错误告警消息得知承载网的网元升级过程中的错误状况;所述承载网的设备包括承载网网元、网管中的至少一个。所述装置包括升级错误消息接收模块、错误状况分析模块和错误告警消息发送模块。
Description
本文涉及网络通信,尤其涉及一种网元升级的管理方法及装置。
承载网用于承载对传输质量要求较高的业务(如软交换、视讯、重点客户VPN等),承载网中网元数量众多,而且承担着大量的通讯业务。为了减少对通讯业务服务质量的影响,承载网的网元升级一般都在通信量较少的深夜进行。目前已有的承载网网元升级工具大多具有任务编排的功能,在设定好升级任务后,会自动进行升级,但是运维人员需要密切关注升级过程,留意是否有异常发生,如果遇到异常需要及时处理,而且由于升级网元数量众多,不仅对网络运维人员的工作造成了极大的负担,而且网元升级的过程中一直需要运维人员的注意力和精神集中,如此会产生极大的人力消耗,并且会对运维人员的工作造成较大的难度。
发明内容
本文提供一种网元升级的管理方法及装置,能够协助网络运维人员监控网元升级的过程。
一种网元升级的管理方法,包括:
接收承载网的设备在预设时间窗的时间内发送的升级错误消息;
分析所述升级错误消息,确定网元升级时所发生的错误状况;
按照预设的告警方式,向网络运维人员的联系方式发送错误告警消息,使得所述网络运维人员通过所述错误告警消息得知承载网的网元升级过程中的错误状况;
所述承载网的设备包括承载网网元、网管中的至少一个。
可选的,所述错误状况包括下述内容中的至少一个:
下载失败、试运行失败、激活失败、回退失败、激活失败且回退成功、下载网元数据失败。
可选的,所述分析所述升级错误消息、确定网元升级时所发生的错误状况的步骤包括下述步骤中的至少一个:
当所述升级错误消息在所述承载网网管启动下载之后、收到下载成功消息之前接收到,则确定错误状况为因下载过程错误导致的下载失败;
当所述升级错误消息中包含网管校验失败信息段时,则确定错误状况为因文件错误导致的下载失败;
当所述升级错误消息中包含试运行失败提示时,则确定错误状况为试运行失败;
当所述升级错误消息中包含激活失败提示时,则确定错误状况为激活失败;
当所述升级错误消息中包含回退失败提示时,则确定错误状况为回退失败;
当所述升级错误消息中包含下载网元数据失败提示时,确定错误状况为下载网元数据失败。
可选的,分析所述升级错误消息、确定网元升级时所发生的错误状况之后,还包括下述步骤中的至少一个:
当所述错误状况为试运行失败时,从升级文件试运行时的检测消息获取升级文件匹配信息,使得后续向网络运维人员的联系方式发送的错误告警消息中携带升级文件匹配信息;
当所述错误状况为下载网元数据失败时,获取下载网元数据失败的数据项信息,使得后续向网络运维人员的联系方式发送的错误告警消息中携带下载网元数据失败的数据项信息。
可选的,所述方法还包括:
接收到升级文件下载消息、和/或试运行消息、和/或激活消息、和/或回退消息、和/或下载网元数据消息之后,当距离设定时间窗的时间终点还有预定时长时,若未收到升级成功的消息,发出时间将到的消息提示;
当设定的时间窗的时间终点到、升级还未完成时,发出升级未能完成的消息提示。
可选的,向网络运维人员的联系方式发送错误告警消息之后,还包括:
接收网络运维人员发送的命令行消息;
根据所述命令行消息,对网元进行相应的操作。
一种网元升级的管理装置,包括:
升级错误消息接收模块,设置为:接收承载网的设备在预设时间窗的时间内发送的升级错误消息;
错误状况分析模块,设置为:分析所述升级错误消息,确定网元升级时所发生的错误状况;
错误告警消息发送模块,设置为:按照预设的告警方式,向网络运维人员的联系方式发送错误告警消息,使得所述网络运维人员通过所述错误告警消息得知承载网的网元升级过程中的错误状况;
所述承载网的设备包括承载网网元、网管中的至少一个。
可选的,所述错误状况包括下述内容中的至少一个:
下载失败、试运行失败、激活失败、回退失败、激活失败且回退成功、下载网元数据失败。
可选的,所述错误状况分析模块包括下述中的至少一个:
下载失败确定第一子单元,设置为:当所述升级错误消息在所述承载网网管启动下载之后、收到下载成功消息之前接收到,则确定错误状况为因下载过程错误导致的下载失败;
下载失败确定第二子单元,设置为:当所述升级错误消息中包含网管校验失败信息段时,则确定错误状况为因文件错误导致的下载失败;
试运行失败确定子单元,设置为:当所述升级错误消息中包含试运行失败提示时,则确定错误状况为试运行失败;
激活失败确定子单元,设置为:当所述升级错误消息中包含激活失败提示时,则确定错误状况为激活失败;
回退失败确定子单元,设置为:当所述升级错误消息中包含回退失败提示时,则确定错误状况为回退失败;
下载网元数据失败确定子单元,设置为:当所述升级错误消息中包含下载网元数据失败提示时,确定错误状况为下载网元数据失败。
可选的,所述装置还包括下述中的至少一个:
升级文件匹配信息获取模块,设置为:当所述错误状况为试运行失败时,从升级文件试运行时的检测消息获取升级文件匹配信息,使得后续向网络运维人员的联系方式发送的错误告警消息中携带升级文件匹配信息;
失败数据项信息获取模块,设置为:当所述错误状况为下载网元数据失败时,获取下载网元数据失败的数据项信息,使得后续向网络运维人员的联系方式发送的错误告警消息中携带下载网元数据失败的数据项信息。
可选的,所述装置还包括:
第一提示模块,设置为:接收到升级文件下载消息、和/或试运行消息、和/或激活消息、和/或回退消息、和/或下载网元数据消息之后,当距离设定时间窗的时间终点还有预定时长时,若未收到升级成功的消息,发出时间将到的消息提示;
第二提示模块,设置为:当设定的时间窗的时间终点到、升级还未完成时,发出升级未能完成的消息提示。
可选的,所述装置还包括:
命令行消息接收模块,设置为:接收网络运维人员发送的命令行消息;
远程命令执行模块,设置为:根据所述命令行消息,对网元进行相应的操作。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。
从上面所述可以看出,本文提供的网元升级的管理方法及装置,能够协助网络运维人员进行承载网元的升级,并同时不会对承载网元错误状况处理速度和处理效率造成负面影响。
附图概述
图1为本发明实施例所提供的网元升级管理方法流程示意图;
图2为本发明实施例网元升级所要执行的流程示意图;
图3为本发明实施例所提供的网元升级管理装置结构示意图。
以下结合说明书附图对本发明的实施方式进行说明。
本发明实施例首先提供一种网元升级的管理方法,包括如图1所示的步骤:
步骤101:接收承载网的设备在预设时间窗的时间内发送的升级错误消息;
步骤102:分析所述升级错误消息,确定网元升级时所发生的错误状况;
步骤103:按照预设的告警方式,向网络运维人员的联系方式发送错误告警消息,使得所述网络运维人员通过所述错误告警消息得知承载网的网元升级过程中的错误状况;
所述承载网的设备包括承载网网元、网管中的至少一个。
本发明实施例所提供的网元升级管理方法,能够在接收到承载网元在升级过程中发送的升级错误消息,并根据升级错误消息确定实际的错误状况,然后向网络运维人员发送告警消息,使得网络运维人员能够得知承载网的网元升级过程中的错误状况,允许网络运维人员能够通过手机、邮件、网络等方式在远程得知承载网网元在升级过程中发生的错误状况,无需网络运维人员随时主动监控承载网网元的升级动态,减轻网络运维人员在网元升级过程中的工作量和工作负担,简化网元升级的监控过程。
在本发明实施例中,预设的告警方式可以包括声音告警、手机消息告警、网络消息告警、电子邮件告警等。相应的,所述网络运维人员的联系方式相应地包括手机号码、网络账号、电子邮箱地址等。网络运维人员无需时
刻主动监控网元的升级状况,只需随身携带接收告警消息的终端即可,该终端可以是特定的告警消息接收终端,也可以是手机、电脑等。承载网的设备发送升级错误消息时,会携带设备标识,网络运维人员可以得知发送错误状况的设备,从而能够直接快速地对发生错误状况的设备进行故障检查。
在本发明的实施例中,预设的告警方式、网络运维人员的联系方式可以在升级过程开始之前、或本发明实施例所提供的方法开始之前设置。
在本发明的大多数实施例中,所述承载网的设备包括承载网网元、网管,网元中有多块单板,单板里面有非主控板和主控板的区别,给网元升级的时候就是给网元中包含的单板升级,升级的单板可能包括了主控板和非主控板,当然也可以只包括其中的一种。
在本发明的一些实施例中,所述错误状况包括下述内容中的至少一个:
下载失败、试运行失败、激活失败、回退失败、激活失败且回退成功、下载网元数据失败、距离时间窗时间结束还有设定时长时未接收到升级成功的消息、升级时间到升级没有完成。
一般情况下,承载网网元升级包括升级文件的下载、升级文件的试运行、升级文件的激活这几个阶段;当升级文件激活失败时,会由正在升级的主控板或非主控板进行升级回退,回退到试运行阶段启动之前的状态。如果待升级的网元为升级主控板,那么升级过程会包括升级文件的下载、升级文件的试运行、升级文件的激活、下载网元数据这几个阶段;当升级文件激活失败时,会由升级主控板进行升级回退,回退到试运行阶段启动之前的状态;当升级文件激活成功时,主控板需要下载网元数据。
相关技术中,网络运维人员在主动监控升级过程遇到错误状况时,可以直观地查看到升级进度,也可以通过调用升级数据、查看网元状态、查看升级主控板状态等一系列操作查找出现错误的原因,但网络运维人员通过告警消息间接得知出现错误状况的情况下,不能够很方便地执行调用升级数据、查看升级进度、查看升级设备状态等一系列操作。因此,在上述实施例中,结合网元升级的过程,设置相应的错误状况,有利于网络运维人员在接收到告警消息之后能够在较短的时间内判断出现错误的原因,有利于网络运维人员快速解决错误状况出现的原因。例如,当网络运维人员通过告警消息得知
下载失败的错误状况,可大致判断通信链路出现问题或文件下载不匹配,那么网络运维人员在不调用升级数据的情况下,可有直接去查看通信链路或升级下载的文件,有助于网络运维人员处理错误状况时在最短的时间内有针对性地查找出现错误的原因并对错误进行修复。
在本发明实施例中,所述分析所述升级错误消息、确定网元升级时所发生的错误状况的步骤包括下述步骤中的至少一个:
当所述升级错误消息在所述承载网网管启动下载之后、收到下载成功消息之前接收到,则确定错误状况为因下载过程错误导致的下载失败;
当所述升级错误消息中包含网管校验失败信息段时,则确定错误状况为因文件错误导致的下载失败;
当所述升级错误消息中包含试运行失败提示时,则确定错误状况为试运行失败;
当所述升级错误消息中包含激活失败提示时,则确定错误状况为激活失败;
当所述升级错误消息中包含回退失败提示时,则确定错误状况为回退失败;
当所述升级错误消息中包含回退成功消息提示时,确定错误状况为激活失败回退成功;
当所述升级错误消息中包含下载网元数据失败提示时,确定错误状况为下载网元数据失败。
在网元升级的过程中,下载失败一般包括两种情况,一种是网元下载过程出现错误,导致文件下载不成功;另一种是网元虽然将文件下载了下来,但其所下载的文件与预设的文件参数不一致,体现为网元将文件下载完成,检验文件大小时判断文件大小不匹配,在这种情况下,试运行阶段还未启动,因为文件错误导致了下载失败的错误状况。
网元升级的过程中,网管作为FTP客户端登陆到网元上的FTP服务端,通过FTP协议传输升级文件;升级文件下载成功后,网管向网元发送试运行的命令,网元接收到试运行的命令后执行升级文件试运行操作;试运行成功
后,网管向网元发送激活命令,网元接收到激活命令后执行升级文件激活操作;激活失败后,网元自主执行回退操作。如果回退操作执行失败,则发送回退失败提示消息。因此,升级错误消息中包含不同状态的错误状况提示。
由于当激活失败以后,会进入回退阶段,即使回退成功,也需要网络运维人员介入升级过程进行相应处理,因此,本发明实施例将激活失败、回退成功作为一种错误状况,在该状况发生时,也向运维人员发送相应的错误告警消息。
在本发明的一些实施例中,分析所述升级错误消息、确定网元升级时所发生的错误状况之后,还包括下述步骤中的至少一个:
当所述错误状况为试运行失败时,从升级文件试运行时的检测消息获取升级文件匹配信息,使得后续向网络运维人员的联系方式发送的错误告警消息中携带升级文件匹配信息;
当所述错误状况为下载网元数据失败时,获取下载网元数据失败的数据项信息,使得后续向网络运维人员的联系方式发送的错误告警消息中携带下载网元数据失败的数据项信息。
当对下载的升级文件进行试运行时,会首先查看升级文件的匹配信息,将升级文件的版本号、类型等于预设的升级文件信息进行匹配,并同时会获得升级文件的匹配信息。当错误状况为试运行失败时,可在发送告警消息时附上升级文件的匹配信息,以供网络运维人员在接收到告警消息时参考所述匹配信息对错误状况发生的原因进行判断。
当发生下载网元数据失败时,网管会根据下载任务数据表的进度获得下载失败的数据项,向网络运维人员发送错误告警消息的同时发送发生下载网元数据失败时所截止的数据项,有助于网络运维人员快速查找下载网元数据失败的原因。
从上面所述可以看出,本发明实施例所提供的方法,不仅使得网络运维人员可以在不主动实时监控的情况下掌握网元升级过程中发生的错误和故障,有助于减轻网络运维人员的工作负担。另一方面,由于本发明实施例针对网元升级过程中各个不同阶段出现的错误状况,都设置有相应的错误状况
出现原因辅助判断机制,因此,在实际使用过程中,不会因为网络运维人员没有实时主动监控、没有始终处于应对突发状况的状态而对网元升级过程中出现的错误故障不能及时处理解决,相反,本发明实施例所提供的方法,在减轻网络运维人员工作负担的同时,也能协助网络运维人员获得网元升级中错误状况出现的原因,从而使得错误状况能够得到及时、快速的解决。
在本发明的一些实施例中,所述方法还包括:
接收到升级文件下载消息、和/或试运行消息、和/或激活消息、和/或回退消息、和/或下载网元数据消息之后,当距离设定时间窗的时间终点还有预定时长时,若未收到升级成功的消息,发出时间将到的消息提示;
当设定的时间窗的时间终点到、升级还未完成时,发出升级未能完成的消息提示。
一般情况下,在升级过程中若是网元等相关设备没有发出错误消息,则会认为网元升级的过程中没有出现错误状况。但是即使升级过程在升级时间内顺利进行,也并不意味着升级过程不需要网络运维人员的控制和干预。最为显著的,网元升级过程一般会在设定的时间窗的时间界限之内进行,如果网元在时间窗时间终点时还未升级完毕,那么即使整个升级过程没有出现错误状况,也会因为网元升级超过时间限制而对通讯业务服务质量造成影响。考虑到网元升级过程中的试运行、激活、回退、下载网元数据步骤为敏感步骤,会对通讯业务服务质量造成显著的影响,因此,在本发明上述实施例中,若试运行、激活、回退、下载网元数据的过程启动后,在预定的时间窗时间终点即将到来时,若仍未收到升级成功的消息,说明此时网元仍处于试运行、或激活、或回退、或下载网元数据的阶段,那么此时需要网络运维人员进行干预,需要网络运维人员注意。若在预设的时间窗的时间终点到、升级还未完成,则需要运维人员人工干预升级过程,结束升级,以免网元升级导致承载网络日间的运行受到影响。
本发明上述实施例的各个步骤可以在承载网网元升级的任意阶段进行。
在本发明的实施例中,也可以在网元中进行设置,令网元在时间窗的时间终点即将到来之时,自动终止升级过程。
在本发明的一些实施例中,向网络运维人员的联系方式发送错误告警消息之后,还包括:
接收网络运维人员发送的命令行消息;
根据所述命令行消息,对网元进行相应的操作。
在本发明的实施例中,网络运维人员收到错误告警消息,并得知错误状况的情况下,能够通过远程发送命令行来控制网管、网元等执行相应的操作。例如,当错误状况为下载失败时,网络运维人员可以向网元发送CLI(command-line interface,命令行界面)命令行来查看网元存储空间、删除存储空间中多余文件;当所述错误状况为文件错误导致的下载失败,网络运维人员可以控制网管重新发起下载。再如,当所述错误状况为试运行失败时,如果是由于试运行的版本不对导致试运行失败,则网络运维人员可以向网元发送CLI命令行来删除已下载的错误文件,控制网管重新下载正确的文件并试运行新的文件。当所述错误状况为激活失败,网络运维人员可以向升级主控板发送CLI命令行,使得升级主控板按照新的激活条件进行激活;或者令升级主控板执行回退操作;当回退成功后,网络运维人员可以向网元发送CLI命令行,使得网元重新启动试运行的阶段。当所述错误状况为下载网元数据失败时,网络运维人员可以发送CLI命令行使得网元重新进行网元数据下载,或重新下载错误状况发送时下载进度对应的数据项。当所述错误状况为回退失败时,网络运维人员可以发送CLI命令行,强制网元回退到试运行阶段启动之前的状态。当确定错误状况为下载失败、试运行失败、激活失败时,除了发送CLI命令之外,运维人员可以通过重新执行升级工具上的升级任务来另网元或网管执行重新下载、重新试运行、重新激活等操作。
在本发明的一些实施例中,当升级主控板执行回退操作成功后,向网络运维人员发送回退操作成功消息。
通过本发明的上述实施例,网络运维人员可以在远程对网元、网管、升级主控板进行操作,使得错误状况发生时能够及时得到解决,同时也减轻了网络运维人员的工作负担,使得网络运维人员在能够远程控制网元、网管或升级主控板更正错误状况的情况下,无需再亲临升级现场对错误状况进行更正。
在一种实施例中,采用本发明实施例所提供的方法管理的承载网网元升级的过程如图2所示,包括如下步骤:
步骤200:开始升级,并按照预设的时间窗,开启计时;所述预设的时间窗指根据网元运行时间段设置的升级时间段;例如,网元运行时间段为凌晨两点至凌晨五点,那么预设的时间窗用于指示网元升级的时间段为凌晨两点至凌晨五点;
步骤201:进入升级文件下载阶段后,若升级文件下载成功,网管会发送成功消息,若下载失败,网管会发送升级错误消息,根据接收到的消息内容,判断升级文件下载是否成功;
步骤202:若升级文件下载成功,进入升级文件试运行阶段;若升级文件试运行成功,则网管会发送成功消息,若试运行失败,网管发送升级错误消息,并在升级错误消息中包含试运行失败提示,若试运行成功,网管会发送成功消息;根据接收到的消息,可判断升级文件试运行是否成功;
步骤203:若升级文件试运行成功,进入升级文件激活阶段;若升级文件激活成功,则网管会发送激活成功消息,若升级文件激活失败,则网管会发送升级错误消息,并在升级错误消息中包含激活失败提示,并且网管会进入回退流程;根据接收到的消息,可判断升级文件激活是否成功;
步骤204:若升级文件激活成功,则由主控板下载网元数据,若下载网元数据失败,升级主控板会发送升级错误消息,若下载网元数据成功,升级主控板会发送网元数据下载成功的消息,根据接收到的消息,可判断下载网元数据是否成功;
步骤205:若下载网元数据成功,则说明网元升级成功,那么关闭时间窗的计时操作;
步骤206:向网络运维人员发送激活成功提示消息;
步骤207:若在步骤203中,激活失败,则进入回退阶段;若回退成功,则发送回退成功消息,使得网络运维人员能够介入升级过程执行相应的处理操作;若回退失败,则发送回退失败的升级错误消息;根据接收到的消息可得知回退是否成功;
发送错误告警消息,如下:
若在步骤201中,根据接收到的消息判断升级文件下载失败,那么向网络运维人员发送升级文件下载失败的错误告警消息,使得网络运维人员通过所述错误告警消息得知升级文件下载失败的错误状况;
若在步骤202中,根据接收到的消息判断升级文件试运行失败,那么向网络运维人员发送升级文件试运行失败的错误告警消息,使得网络运维人员通过所述错误告警消息得知升级文件试运行失败的错误状况;
若在步骤203中,根据接收到的消息判断升级文件激活失败,那么向网络运维人员发送升级文件激活失败的错误告警消息,使得网络运维人员通过所述错误告警消息得知升级文件激活失败的错误状况;
若在步骤204中,根据接收到的消息判断下载网元数据失败,那么向网络运维人员发送下载网元数据失败的错误告警消息,使得网络运维人员通过所述错误告警消息得知下载网元数据失败的错误状况;
若在步骤207中,根据接收到的消息判断回退失败,那么向网络运维人员发送回退失败的错误告警消息,使得网络运维人员通过所述错误告警消息能够得知回退失败的错误状况;
若在步骤207中,根据接收到的消息判断回退成功,那么向网络运维人员发送激活失败回退成功的错误告警消息,使得网络运维人员通过所述错误告警消息得知激活失败、回退成功的错误状况;
步骤208:在升级文件开始下载的同时,按照预设的时间窗开始计时,当距离设定的时间窗的时间终点还有预定时长时,若未收到升级成功消息,发出时间将到的消息提示;
步骤209:当设定的时间窗的时间终点到、升级还未完成时,发出升级未能完成的消息。
一种网元升级的管理装置,结构如图3所示,包括:
升级错误消息接收模块31,设置为:接收承载网的设备在预设时间窗的时间内发送的升级错误消息;
错误状况分析模块32,设置为:分析所述升级错误消息,确定网元升级
时所发生的错误状况;
错误告警消息发送模块33,设置为:按照预设的告警方式,向网络运维人员的联系方式发送错误告警消息,使得所述网络运维人员通过所述错误告警消息得知承载网的网元升级过程中的错误状况;
所述承载网的设备包括承载网网元、网管中的至少一个。
在本发明一些实施例中,所述错误状况包括下述内容中的至少一个:
下载失败、试运行失败、激活失败、回退失败、激活失败且回退成功、下载网元数据失败。
在本发明一些实施例中,所述错误状况分析模块包括下述中的至少一个:
下载失败确定第一子单元,设置为:当所述升级错误消息在所述承载网网管启动下载之后、收到下载成功消息之前接收到,则确定错误状况为因下载过程错误导致的下载失败;
下载失败确定第二子单元,设置为:当所述升级错误消息中包含网管校验失败信息段时,则确定错误状况为因文件错误导致的下载失败;
试运行失败确定子单元,设置为:当所述升级错误消息中包含试运行失败提示时,则确定错误状况为试运行失败;
激活失败确定子单元,设置为:当所述升级错误消息中包含激活失败提示时,则确定错误状况为激活失败;
回退失败确定子单元,设置为:当所述升级错误消息中包含回退失败提示时,则确定错误状况为回退失败;
回退成功确定子单元,设置为:当所述升级错误消息中包含回退成功消息提示时,确定错误状况为激活失败回退成功;
下载网元数据失败确定子单元,设置为:当所述升级错误消息中包含下载网元数据失败提示时,确定错误状况为下载网元数据失败。
在本发明一些实施例中,所述装置还包括下述中的至少一个:
升级文件匹配信息获取模块,设置为:当所述错误状况为试运行失败
时,从升级文件试运行时的检测消息获取升级文件匹配信息,使得后续向网络运维人员的联系方式发送的错误告警消息中携带升级文件匹配信息;
失败数据项信息获取模块,设置为:当所述错误状况为下载网元数据失败时,获取下载网元数据失败的数据项信息,使得后续向网络运维人员的联系方式发送的错误告警消息中携带下载网元数据失败的数据项信息。
在本发明一些实施例中,所述装置还包括:
第一提示模块,设置为:接收到升级文件下载消息、和/或试运行消息、和/或激活消息、和/或回退消息、和/或下载网元数据消息之后,当距离设定时间窗还有预定时长时,若未收到升级成功的消息,发出时间将到的消息提示;
第二提示模块,设置为:当设定的时间窗的时间终点到、升级还未完成时,发出升级未能完成的消息提示。
在本发明一些实施例中,所述装置还包括:
命令行消息接收模块,设置为:接收网络运维人员发送的命令行消息;
远程命令执行模块,设置为:根据所述命令行消息,对网元进行相应的操作。
从上面所述可以看出,本发明实施例提供的网元升级的管理方法及装置,能够协助网络运维人员进行承载网元的升级,并同时不会对承载网元错误状况处理速度和处理效率造成负面影响。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成
的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
本发明实施例能够在接收到承载网元在升级过程中发送的升级错误消息,并根据升级错误消息确定实际的错误状况,向网络运维人员发送告警消息,使得网络运维人员能够得知承载网的网元升级过程中的错误状况,允许网络运维人员能够通过手机、邮件、网络等方式在远程得知承载网网元在升级过程中发生的错误状况,无需网络运维人员主动监控承载网网元的升级动态,减轻网络运维人员在网元升级过程中的工作量和工作负担,简化网元升级的监控过程。
Claims (13)
- 一种网元升级的管理方法,包括:接收承载网的设备在预设时间窗的时间内发送的升级错误消息;分析所述升级错误消息,确定网元升级时所发生的错误状况;按照预设的告警方式,向网络运维人员的联系方式发送错误告警消息,使得所述网络运维人员通过所述错误告警消息得知承载网的网元升级过程中的错误状况;所述承载网的设备包括承载网网元、网管中的至少一个。
- 根据权利要求1所述的方法,其中,所述错误状况包括下述内容中的至少一个:下载失败、试运行失败、激活失败、回退失败、激活失败且回退成功、下载网元数据失败。
- 根据权利要求2所述的方法,其中,所述分析所述升级错误消息、确定网元升级时所发生的错误状况的步骤包括下述步骤中的至少一个:当所述升级错误消息在所述承载网网管启动下载之后、收到下载成功消息之前接收到,则确定错误状况为因下载过程错误导致的下载失败;当所述升级错误消息中包含网管校验失败信息段时,则确定错误状况为因文件错误导致的下载失败;当所述升级错误消息中包含试运行失败提示时,则确定错误状况为试运行失败;当所述升级错误消息中包含激活失败提示时,则确定错误状况为激活失败;当所述升级错误消息中包含回退失败提示时,则确定错误状况为回退失败;当所述升级错误消息中包含回退成功消息提示时,确定错误状况为激活失败回退成功;当所述升级错误消息中包含下载网元数据失败提示时,确定错误状况为下载网元数据失败。
- 根据权利要求2所述的方法,其中,分析所述升级错误消息、确定网元升级时所发生的错误状况之后,还包括下述步骤中的至少一个:当所述错误状况为试运行失败时,从升级文件试运行时的检测消息获取升级文件匹配信息,使得后续向网络运维人员的联系方式发送的错误告警消息中携带升级文件匹配信息;当所述错误状况为下载网元数据失败时,获取下载网元数据失败的数据项信息,使得后续向网络运维人员的联系方式发送的错误告警消息中携带下载网元数据失败的数据项信息。
- 根据权利要求1所述的方法,还包括:接收到升级文件下载消息、和/或试运行消息、和/或激活消息、和/或回退消息、和/或下载网元数据消息之后,当距离设定时间窗的时间终点还有预定时长时,若未收到升级成功的消息,发出时间将到的消息提示;当设定的时间窗的时间终点到、升级还未完成时,发出升级未能完成的消息提示。
- 根据权利要求1-5中任意一项所述的方法,其中,向网络运维人员的联系方式发送错误告警消息之后,还包括:接收网络运维人员发送的命令行消息;根据所述命令行消息,对网元进行相应的操作。
- 一种网元升级的管理装置,包括:升级错误消息接收模块,设置为:接收承载网的设备在预设时间窗的时间内发送的升级错误消息;错误状况分析模块,设置为:分析所述升级错误消息,确定网元升级时所发生的错误状况;错误告警消息发送模块,设置为:按照预设的告警方式,向网络运维人员的联系方式发送错误告警消息,使得所述网络运维人员通过所述错误告警 消息得知承载网的网元升级过程中的错误状况;所述承载网的设备包括承载网网元、网管中的至少一个。
- 根据权利要求7所述的装置,其中,所述错误状况包括下述内容中的至少一个:下载失败、试运行失败、激活失败、回退失败、激活失败且回退成功、下载网元数据失败。
- 根据权利要求8所述的装置,其中,所述错误状况分析模块包括下述中的至少一个:下载失败确定第一子单元,设置为:当所述升级错误消息在所述承载网网管启动下载之后、收到下载成功消息之前接收到,则确定错误状况为因下载过程错误导致的下载失败;下载失败确定第二子单元,设置为:当所述升级错误消息中包含网管校验失败信息段时,则确定错误状况为因文件错误导致的下载失败;试运行失败确定子单元,设置为:当所述升级错误消息中包含试运行失败提示时,则确定错误状况为试运行失败;激活失败确定子单元,设置为:当所述升级错误消息中包含激活失败提示时,则确定错误状况为激活失败;回退失败确定子单元,设置为:当所述升级错误消息中包含回退失败提示时,则确定错误状况为回退失败;回退成功确定子单元,设置为:当所述升级错误消息中包含回退成功消息提示时,确定错误状况为激活失败回退成功;下载网元数据失败确定子单元,设置为:当所述升级错误消息中包含下载网元数据失败提示时,确定错误状况为下载网元数据失败。
- 根据权利要求8所述的装置,还包括下述中的至少一个:升级文件匹配信息获取模块,设置为:当所述错误状况为试运行失败时,从升级文件试运行时的检测消息获取升级文件匹配信息,使得后续向网络运维人员的联系方式发送的错误告警消息中携带升级文件匹配信息;失败数据项信息获取模块,设置为:当所述错误状况为下载网元数据失败时,获取下载网元数据失败的数据项信息,使得后续向网络运维人员的联系方式发送的错误告警消息中携带下载网元数据失败的数据项信息。
- 根据权利要求7所述的装置,还包括:第一提示模块,设置为:接收到升级文件下载消息、和/或试运行消息、和/或激活消息、和/或回退消息、和/或下载网元数据消息之后,当距离设定时间窗的时间终点还有预定时长时,若未收到升级成功的消息,发出时间将到的消息提示;第二提示模块,设置为:当设定的时间窗的时间终点到、升级还未完成时,发出升级未能完成的消息提示。
- 根据权利要求7-11中任意一项所述的装置,还包括:命令行消息接收模块,设置为:接收网络运维人员发送的命令行消息;远程命令执行模块,设置为:根据所述命令行消息,对网元进行相应的操作。
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-6任一项的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410720801.5A CN105656659A (zh) | 2014-12-02 | 2014-12-02 | 一种网元升级的管理方法及装置 |
CN201410720801.5 | 2014-12-02 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016086635A1 true WO2016086635A1 (zh) | 2016-06-09 |
Family
ID=56090933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/081251 WO2016086635A1 (zh) | 2014-12-02 | 2015-06-11 | 一种网元升级的管理方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105656659A (zh) |
WO (1) | WO2016086635A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109995561A (zh) * | 2017-12-30 | 2019-07-09 | 中国移动通信集团福建有限公司 | 通信网络故障定位的方法、装置、设备及介质 |
CN114928523A (zh) * | 2022-04-19 | 2022-08-19 | 广州爱浦路网络技术有限公司 | 基于5g oam的网元升级方法及升级装置 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108268358A (zh) * | 2017-12-29 | 2018-07-10 | 北京奇虎科技有限公司 | 任务的监控方法、装置及系统 |
CN108845823B (zh) * | 2018-07-18 | 2021-07-13 | 北京航天长征飞行器研究所 | 一种基于f2812芯片的软件在线升级方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6343290B1 (en) * | 1999-12-22 | 2002-01-29 | Celeritas Technologies, L.L.C. | Geographic network management system |
CN102239663A (zh) * | 2008-08-18 | 2011-11-09 | 兰吉特·苏迪埃·瓦德卡尔 | 用于监测、管理以及控制分散网络的系统 |
CN102546252A (zh) * | 2012-01-04 | 2012-07-04 | 华为技术服务有限公司 | 升级网元的方法、装置及网络管理系统 |
CN104135387A (zh) * | 2014-08-12 | 2014-11-05 | 浪潮通信信息系统有限公司 | 一种基于元模型拓扑的网管数据处理可视化监控方法 |
-
2014
- 2014-12-02 CN CN201410720801.5A patent/CN105656659A/zh active Pending
-
2015
- 2015-06-11 WO PCT/CN2015/081251 patent/WO2016086635A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6343290B1 (en) * | 1999-12-22 | 2002-01-29 | Celeritas Technologies, L.L.C. | Geographic network management system |
CN102239663A (zh) * | 2008-08-18 | 2011-11-09 | 兰吉特·苏迪埃·瓦德卡尔 | 用于监测、管理以及控制分散网络的系统 |
CN102546252A (zh) * | 2012-01-04 | 2012-07-04 | 华为技术服务有限公司 | 升级网元的方法、装置及网络管理系统 |
CN104135387A (zh) * | 2014-08-12 | 2014-11-05 | 浪潮通信信息系统有限公司 | 一种基于元模型拓扑的网管数据处理可视化监控方法 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109995561A (zh) * | 2017-12-30 | 2019-07-09 | 中国移动通信集团福建有限公司 | 通信网络故障定位的方法、装置、设备及介质 |
CN114928523A (zh) * | 2022-04-19 | 2022-08-19 | 广州爱浦路网络技术有限公司 | 基于5g oam的网元升级方法及升级装置 |
CN114928523B (zh) * | 2022-04-19 | 2023-09-05 | 广州爱浦路网络技术有限公司 | 基于5g oam的网元升级方法及升级装置 |
Also Published As
Publication number | Publication date |
---|---|
CN105656659A (zh) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11055169B2 (en) | Forecasting workload transaction response time | |
WO2015180291A1 (zh) | 监控服务器集群的方法和系统 | |
WO2016086635A1 (zh) | 一种网元升级的管理方法及装置 | |
JP4680896B2 (ja) | ネットワーク装置およびこの種の装置のスタートアップを監視するための方法 | |
CN106843957A (zh) | 系统固件升级方法及装置 | |
WO2018019242A1 (zh) | 网站服务器的自恢复方法和自恢复系统 | |
TW201407341A (zh) | 修復軟體運行錯誤的方法、裝置及系統 | |
US8086909B1 (en) | Automatic core file upload | |
US8914798B2 (en) | Production control for service level agreements | |
CN106980565A (zh) | 升级过程监控方法及装置 | |
CN106201805B (zh) | 用于检测服务器故障的方法和装置 | |
WO2016032442A1 (en) | Computer device error instructions | |
CN113722181B (zh) | 一种服务器的bmc进程监控方法、装置、系统及介质 | |
JP2003233512A (ja) | 保守機能付きクライアント監視システム及び監視サーバ及びプログラム並びにクライアント監視・保守方法 | |
CN111078484A (zh) | 系统升级的断电测试方法、装置、设备及存储介质 | |
US8402125B2 (en) | Method of managing operations for administration, maintenance and operational upkeep, management entity and corresponding computer program product | |
CN101727378B (zh) | 一种应用服务程序稳定运行控制方法及系统 | |
CN110134558B (zh) | 一种服务器的检测方法和装置 | |
WO2016188223A1 (zh) | 故障信息采集的方法及装置 | |
JP6222759B2 (ja) | 障害通知装置、障害通知方法及びプログラム | |
CN110620695A (zh) | 一种数据处理方法及相关设备 | |
JP5139485B2 (ja) | リモートセキュリティ診断システム | |
JP2007068090A (ja) | ネットワーク装置監視システムおよび監視方法、ならびにそのプログラム | |
CN110011817B (zh) | 一种网元升级方法、装置和计算机可读存储介质 | |
CN108880907B (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: 15865582 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: 15865582 Country of ref document: EP Kind code of ref document: A1 |