Network element fault self-healing method, device, equipment and storage medium
Patent Information
- Application Number
- CN202111058878.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-09
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-09-09
AI Technical Summary
When the existing IP SMS gateway faces the QoS degradation of the network layer link of the system virtual machine module, it causes problems such as the failure to send and receive messages at the application level normally. It cannot handle the fault quickly and relies on manual intervention and maintenance, resulting in a long processing time.
Set up communication monitoring tools inside the network element to monitor the status of the business processing virtual machine module, protocol proxy virtual machine module and signaling front-end virtual machine module based on the heartbeat mechanism, locate abnormal virtual machine modules, and report abnormal information to the virtual machine manager. Activate the preset fault recovery mechanism to achieve self-healing processing.
When a fault occurs, the self-healing process is quickly started to shorten the fault recovery time, improve the accuracy and speed of fault location, and ensure timely recovery of the business.
Smart Images

Figure CN115842713B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a network element fault self-healing method, device, equipment and storage medium. Background Art
[0002] SMS service is one of the basic telecommunications services in the circuit domain. In the 4G+ / 5G era, the IP SMS gateway has the function of performing performance statistics on relevant indicators such as the status information of different links and the registration success rate, thereby realizing the monitoring and guarantee of the quality of IP SMS gateway-related systems and services.
[0003] At present, in the process of monitoring and ensuring the quality of IP SMS gateway related systems and services, faced with the problem of QoS degradation of the network layer link of the system virtual machine module, which leads to the inability to send and receive messages at the application level, the operation and maintenance of the IP SMS gateway often adopts the maintenance method of manual intervention afterwards. However, it takes a long time from the occurrence of the fault to the relevant business complaints, or the monitoring system detects relevant alarms after a certain period of time, and then manually troubleshooting and processing, which makes it impossible to quickly handle the fault. Summary of the invention
[0004] The main purpose of this application is to provide a network element fault self-healing method, device, equipment and storage medium, aiming to solve the technical problem that the existing IP SMS gateway cannot quickly handle faults.
[0005] To achieve the above object, the present application provides a network element fault self-healing method, which is applied to network management. The network element fault self-healing method includes:
[0006] Receive the monitoring results sent by the communication monitoring tool after monitoring the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module based on the heartbeat monitoring mechanism;
[0007] Based on the monitoring result, locate the target virtual machine module in an abnormal state;
[0008] Report the corresponding abnormal information of the target virtual machine module to the virtual machine manager in communication connection, so that the virtual machine manager can start the preset fault recovery mechanism and perform recovery processing on the target virtual machine module.
[0009] Optionally, the step of locating the target virtual machine module in an abnormal state based on the monitoring result includes:
[0010] Summarize the communication status between the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module;
[0011] Based on the communication status, a target virtual machine module that is disconnected from multiple other virtual machine modules is selected from the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module.
[0012] Optionally, the step of receiving a monitoring result sent by a communication monitoring tool after monitoring the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module based on a heartbeat monitoring mechanism comprises:
[0013] Receive the monitoring results sent by the communication monitoring tool after monitoring the link handshake of the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module;
[0014] Among them, after the protocol proxy virtual machine module receives the external information of the terminal, it sends the external information to the business processing virtual machine module. The business processing virtual machine module converts the external information into internal information and sends it to the signaling front-end virtual machine module. The signaling front-end virtual machine module determines the target address of the external information based on the internal information to send the external information to the target address.
[0015] Optionally, after the step of restoring the target virtual machine module, the method includes:
[0016] If the target virtual machine module fails to recover, an alarm mechanism is triggered;
[0017] Based on the alarm mechanism, an alarm message of recovery failure is sent to a target maintenance personnel.
[0018] To achieve the above object, the present application also provides a network element fault self-healing method, which is applied to a virtual machine manager. The network element fault self-healing method includes:
[0019] Receive a recovery request for recovering a target virtual machine module in an abnormal state reported by a network management;
[0020] Based on the recovery request and a preset fault recovery mechanism, the target virtual machine module is restored.
[0021] Optionally, the preset fault recovery mechanism includes a preset restart mechanism, and the step of performing recovery processing on the target virtual machine module based on the recovery request and the preset fault recovery mechanism includes:
[0022] Based on the recovery request and the preset restart mechanism, restart the target virtual machine module, and determine whether the status of other virtual machine modules associated with the target virtual machine module has returned to normal;
[0023] If the status of other virtual machine modules associated with the target virtual machine module returns to normal, it is determined that the target virtual machine module has been successfully recovered, and the first associated information of the successful recovery is recorded.
[0024] Optionally, after the step of determining whether the status of other virtual machine modules associated with the target virtual machine module has returned to normal, the method includes:
[0025] If the status of other virtual machine modules associated with the target virtual machine module has not returned to normal, obtaining the mirror information of the target virtual machine module;
[0026] Based on the mirror information, reconstruct the virtual machine information of the target virtual machine module to obtain a reconstructed virtual machine module, wherein the virtual machine information includes a machine name, an IP address, an account number and password information;
[0027] Determine whether the status of other virtual machine modules associated with the rebuilt virtual machine module has returned to normal. If so, it indicates that the fault has been successfully recovered, and record the second associated information of the successful recovery.
[0028] The present application also provides a network element fault self-healing device, which is applied to network management, and the network element fault self-healing device includes:
[0029] A first receiving module is used to receive the monitoring results sent by the communication monitoring tool after monitoring the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module based on the heartbeat monitoring mechanism;
[0030] A positioning module, using a module for positioning a target virtual machine in an abnormal state based on the monitoring result;
[0031] The reporting module is used to report the abnormal information corresponding to the target virtual machine module to the virtual machine manager connected to the communication, so that the virtual machine manager can start a preset fault recovery mechanism and perform recovery processing on the target virtual machine module.
[0032] Optionally, the positioning module includes:
[0033] A summarizing unit, used to summarize the communication status between the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module;
[0034] The selection unit is used to select a target virtual machine module that is disconnected from other multiple virtual machine modules from the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module based on the communication state.
[0035] Optionally, the first receiving module includes:
[0036] A receiving unit, used to receive a monitoring result sent by a communication monitoring tool after monitoring the link handshake of the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module;
[0037] Among them, after the protocol proxy virtual machine module receives the external information of the terminal, it sends the external information to the business processing virtual machine module. The business processing virtual machine module converts the external information into internal information and sends it to the signaling front-end virtual machine module. The signaling front-end virtual machine module determines the target address of the external information based on the internal information to send the external information to the target address.
[0038] Optionally, the network element fault self-healing device further includes:
[0039] A trigger module, used to trigger an alarm mechanism if the target virtual machine module fails to recover;
[0040] The sending module is used to send the restoration failure alarm information to the target maintenance personnel based on the alarm mechanism.
[0041] To achieve the above object, the present application also provides a network element fault self-healing device, which is applied to a virtual machine manager, and the network element fault self-healing device includes:
[0042] A second receiving module is used to receive a recovery request for recovering a target virtual machine module in an abnormal state reported by a network management;
[0043] The recovery module is used to perform recovery processing on the target virtual machine module based on the recovery request and a preset fault recovery mechanism.
[0044] Optionally, the recovery module includes:
[0045] A restart unit, configured to restart the target virtual machine module based on the recovery request and a preset restart mechanism, and determine whether the status of other virtual machine modules associated with the target virtual machine module has returned to normal;
[0046] The determination unit is used to determine that the target virtual machine module has been successfully recovered from the fault if the status of other virtual machine modules associated with the target virtual machine module has been restored to normal, and record the first associated information of the successful recovery.
[0047] Optionally, the network element fault self-healing device further includes:
[0048] An acquisition module, used for acquiring the mirror information of the target virtual machine module if the status of other virtual machine modules associated with the target virtual machine module has not returned to normal;
[0049] A reconstruction module, used to reconstruct virtual machine information of the target virtual machine module based on the mirror information to obtain a reconstructed virtual machine module, wherein the virtual machine information includes a machine name, an IP address, an account number and password information;
[0050] The determination module is used to determine whether the status of other virtual machine modules associated with the rebuilt virtual machine module has returned to normal. If it has returned to normal, it means that the fault recovery is successful, and record the second associated information of the successful recovery.
[0051] The present application also provides a network element fault self-healing device, which is a physical node device, and includes: a memory, a processor, and a program of the network element fault self-healing method applied to network management, which is stored on the memory and can be run on the processor. When the program of the network element fault self-healing method is executed by the processor, the steps of the network element fault self-healing method applied to network management as described above can be implemented.
[0052] The present application also provides a network element fault self-healing device, which is a physical node device, and includes: a memory, a processor, and a program of the network element fault self-healing method applied to the virtual machine manager, which is stored in the memory and can be run on the processor. When the program of the network element fault self-healing method is executed by the processor, the steps of the network element fault self-healing method applied to the virtual machine manager as described above can be implemented.
[0053] The present application also provides a storage medium, on which is stored a program for implementing the above-mentioned network element fault self-healing method applied to network management. When the program for the network element fault self-healing method applied to network management is executed by a processor, the steps of the above-mentioned network element fault self-healing method applied to network management are implemented.
[0054] The present application also provides a storage medium, on which is stored a program for implementing the above-mentioned network element failure self-healing method applied to the virtual machine manager. When the program for the network element failure self-healing method applied to the virtual machine manager is executed by a processor, the steps of the network element failure self-healing method applied to the virtual machine manager as described above are implemented.
[0055] The present application provides a network element fault self-healing method, device, equipment and storage medium. Compared with the IP SMS gateway in the prior art that cannot quickly handle faults, in the present application, a monitoring result is obtained after receiving the monitoring of the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module based on the heartbeat monitoring mechanism sent by the communication monitoring tool; based on the monitoring result, the target virtual machine module in the abnormal state is located; and the corresponding abnormal information of the target virtual machine module is reported to the virtual machine manager of the communication connection, so that the virtual machine manager can start the preset fault recovery mechanism and perform recovery processing on the target virtual machine module. In the present application, a communication monitoring tool is provided inside the network element. Based on the communication monitoring tool, a heartbeat mechanism is established between the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front-end virtual machine module that affect the real-time business, the status between each virtual machine module is monitored, and in an abnormal situation, the corresponding abnormal information of the target virtual machine module is reported to the virtual machine manager of the communication connection, and then the preset fault recovery mechanism, i.e., the self-healing mechanism, is quickly started. That is, in the present application, when a fault occurs, the self-healing process is started inside the network element as soon as possible, so as to realize the rapid handling of the fault. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0057] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0058] Figure 1 This is a flow chart of the first embodiment of the network element fault self-healing method of the present application;
[0059] Figure 2 This is a flow chart of the second embodiment of the network element fault self-healing method of the present application;
[0060] Figure 3 A schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application;
[0061] Figure 4 A schematic diagram of a scenario involved in the embodiment of the present application.
[0062] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0063] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.
[0064] The present application embodiment provides a network element fault self-healing method. In the first embodiment of the network element fault self-healing method of the present application, refer to Figure 1 , the network element fault self-healing method comprises:
[0065] Step S10, receiving the monitoring results sent by the communication monitoring tool, after monitoring the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module based on the heartbeat monitoring mechanism;
[0066] Step S20, based on the monitoring result, locating the target virtual machine module in an abnormal state;
[0067] Step S30, reporting the corresponding abnormal information of the target virtual machine module to the virtual machine manager with communication connection, so that the virtual machine manager can start the preset fault recovery mechanism and perform recovery processing on the target virtual machine module.
[0068] The specific steps are as follows:
[0069] Step S10, receiving the monitoring results sent by the communication monitoring tool, after monitoring the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module based on the heartbeat monitoring mechanism;
[0070] In this embodiment, it should be noted that the network element fault self-healing method can be applied to a network element fault self-healing system, which is subordinate to the network element fault self-healing device.
[0071] In this embodiment, the network element functions on the network side are optimized.
[0072] Specifically, the network side network element includes multiple parts or components (these multiple parts or components are often virtual machine modules), and a link relationship or a communication connection relationship is established between the multiple virtual machine modules. If the link relationship between the virtual machine modules is broken, or the communication connection relationship is broken, it is difficult to process the business information inside the network element, which results in the inability to send and receive application-level messages normally. In this embodiment, a heartbeat mechanism is established inside the network element (a heartbeat mechanism is established between virtual machine modules that affect real-time services), the link status between each virtual machine module is monitored, and the self-healing mechanism is quickly started under abnormal circumstances, that is, when a fault occurs, the self-healing process is started inside the network element as soon as possible, thereby shortening the fault recovery time and ensuring the timeliness of fault handling.
[0073] In this embodiment, since a heartbeat mechanism is established inside the network element, the fault can be located quickly and accurately, that is, the accuracy and speed of fault location are improved.
[0074] In this embodiment, the specific application scenario may be:
[0075] At present, in the process of monitoring and ensuring the quality of IP SMS gateway related systems and services, faced with the problem that the QoS of the network layer link of the system virtual machine module is degraded, resulting in the inability to send and receive messages at the application level, the operation and maintenance of the IP SMS gateway often adopts the maintenance method of manual intervention afterwards. Specifically, there are two methods: "user complaints + troubleshooting and processing" and "alarm reporting + troubleshooting and processing". Among them, the "user complaints + troubleshooting and processing" method is: from the occurrence of the fault to the generation of multiple related business complaints, and then the operation and maintenance personnel conduct manual intervention, and the "alarm reporting + troubleshooting and processing" method is: after a certain period of time after the fault occurs, the network element related monitoring system detects the relevant alarm, and then manual troubleshooting and processing are carried out. Obviously, it takes a long time after multiple related business complaints are generated and the relevant monitoring system detects the relevant alarm, which makes it impossible to quickly handle the fault.
[0076] In this embodiment, it should be noted that the network side network element includes multiple virtual machine modules, which can specifically be a service processing virtual machine module, a protocol proxy virtual machine module (SIP Proxy virtual machine) and a signaling front-end virtual machine module (SIU virtual machine), among which the service processing virtual machine is the core module of the preset IP-SM-GW system.
[0077] In this embodiment, the communication relationship between the service processing virtual machine module, the protocol proxy virtual machine module (SIP Proxy virtual machine) and the signaling front virtual machine module (SIU virtual machine) is first clearly explained. Before explaining the communication relationship between the service processing virtual machine module, the protocol proxy virtual machine module (SIP Proxy virtual machine) and the signaling front virtual machine module (SIU virtual machine), it should be emphasized that the network element processes information services such as text messages as a whole, that is, the network element receives information from an external first user terminal, then processes the information, finds the target user terminal of the information, that is, the second user terminal, and then forwards the information to the second user terminal. Specifically, after the protocol proxy virtual machine module receives the external information of the terminal, it sends the external information to the service processing virtual machine module, the service processing virtual machine module converts the external information into internal information, and sends it to the signaling front virtual machine module. The signaling front virtual machine module determines the target address of the external information based on the internal information to send the external information to the target address (after which the application layer realizes normal sending and receiving of information).
[0078] The communication monitoring tool receives the monitoring results sent by the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front-end virtual machine module based on the heartbeat monitoring mechanism. In this embodiment, a communication monitoring tool is set inside the network element to monitor the network communication status between each virtual machine.
[0079] Among them, the communication monitoring tool monitors the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module based on the heartbeat monitoring mechanism, and the monitoring results obtained specifically include:
[0080] The communication monitoring tool monitors different business processing virtual machine modules based on the heartbeat monitoring mechanism and obtains the monitoring results;
[0081] The communication monitoring tool monitors the business processing virtual machine module and the protocol proxy virtual machine module based on the heartbeat monitoring mechanism and obtains the monitoring results;
[0082] The communication monitoring tool monitors the business processing virtual machine module and the signaling front-end virtual machine module based on the heartbeat monitoring mechanism and obtains the monitoring results.
[0083] In this embodiment, the specific heartbeat monitoring mechanism may be:
[0084] Method 1: Monitor the communication progress information or alarm information of each communication and obtain the monitoring results;
[0085] Method 2: Configurably monitor the link handshake message to obtain the monitoring result.
[0086] The step of receiving the monitoring result sent by the communication monitoring tool after monitoring the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module based on the heartbeat monitoring mechanism includes:
[0087] Step S11, receiving the monitoring results sent by the communication monitoring tool after monitoring the link handshake of the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module;
[0088] Among them, after the protocol proxy virtual machine module receives the external information of the terminal, it sends the external information to the business processing virtual machine module. The business processing virtual machine module converts the external information into internal information and sends it to the signaling front-end virtual machine module. The signaling front-end virtual machine module determines the target address of the external information based on the internal information to send the external information to the target address.
[0089] In this embodiment, the process of configurably monitoring the link handshake message and obtaining the monitoring result is described, that is, the monitoring based on the heartbeat monitoring mechanism is the monitoring of the link handshake. Under normal circumstances, there are link handshake messages for monitoring the module status between different business processing virtual machine modules, between the business processing virtual machine and the SIU virtual machine, and between the business processing virtual machine and the SIP Proxy virtual machine module. Specifically, for example, a link handshake request is sent to the other party every 5s (configurable, such as 4S) (such as a link handshake request is sent to the other party every 5s between different business processing virtual machine modules). If the link handshake response of the other party is not received for 6 consecutive times (configurable), it is considered that the virtual machine module at the opposite end is broken. In this embodiment, the network monitoring tool monitors each virtual machine module, so the link handshake message can be accurately obtained.
[0090] In this embodiment, the monitoring result obtained can be the monitoring result of a specific virtual machine module disconnection, or it can be a normal monitoring result. In this embodiment, if the monitoring result is normal, the status information of each module is recorded and stored in a log.
[0091] Step S20, based on the monitoring result, locating the target virtual machine module in an abnormal state;
[0092] In this embodiment, based on the monitoring result, locating the target virtual machine module in an abnormal state includes:
[0093] Method 1: Based on the monitoring result, if one possible alarm information is detected instead of multiple alarm information, determine the virtual machine module pointed to by the alarm, and use the virtual machine module pointed to by the alarm as the target virtual machine module;
[0094] Mode 2: The step of locating the target virtual machine module in an abnormal state based on the monitoring result includes:
[0095] Step S21, summarizing the communication status between the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module;
[0096] Step S22, based on the communication state, select a target virtual machine module that is disconnected from the other multiple virtual machine modules from the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module.
[0097] In this embodiment, the network management summarizes the communication status among the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front-end virtual machine module, and based on the communication status, selects a target virtual machine module that is disconnected from the other multiple virtual machine modules from the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front-end virtual machine module. Specifically, the communication monitoring tool reports the monitoring result to the OMU module, i.e., the network management in real time, or the communication monitoring tool feeds back the monitoring result to each virtual machine module, and each virtual machine module reports the monitoring result to the OMU module, i.e., the network management in real time, or each virtual machine module directly reports the monitoring result to the OMU module, i.e., the network management, and the network management summarizes and determines the network communication status between each virtual machine (the summarization process includes sorting). If the network management finds that multiple service processing virtual machine modules all report to a certain virtual machine module (the certain virtual machine module may be a service processing virtual machine, an SIU virtual machine or a SIP virtual machine), the network management will collect and judge the network communication status between each virtual machine. If a proxy virtual machine) is broken, it is considered that a certain virtual machine module is the target virtual machine module, and the target virtual machine module is the faulty virtual machine module. In this embodiment, the broken virtual machine module is accurately determined, that is, the target virtual machine module is accurately located.
[0098] In this embodiment, if there is no target virtual machine module disconnected from other virtual machine modules, a preset self-recovery time is determined for the virtual machine module to recover itself. If it is not recovered within the preset self-recovery time, an alarm is directly processed.
[0099] Step S30, reporting the corresponding abnormal information of the target virtual machine module to the virtual machine manager with communication connection, so that the virtual machine manager can start the preset fault recovery mechanism and perform recovery processing on the target virtual machine module.
[0100] In this embodiment, the network management reports the abnormal information corresponding to the target virtual machine module to the virtual machine manager in communication connection, so that the virtual machine manager can start the preset fault recovery mechanism and perform recovery processing on the target virtual machine module.
[0101] In this embodiment, the virtual machine manager manages virtual machine modules such as the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front-end virtual machine module.
[0102] In this embodiment, the virtual machine manager starts the fault recovery mechanism including the following steps: Figure 4 As shown:
[0103] 1. After the network management locates the faulty virtual machine module, it reports to the virtual machine manager to request to start the recovery mechanism and perform recovery processing on the target virtual machine module;
[0104] 2. The virtual machine manager first restarts the faulty virtual machine module (performs recovery processing on the target virtual machine module).
[0105] In this embodiment, after the faulty virtual machine module is restarted, the network management collects status information of each virtual machine module to determine whether the collected module status information has returned to normal. If the status information has returned to normal, it indicates that the fault recovery is successful.
[0106] In this embodiment, further, if the status information of each virtual machine module collected by the network management is still abnormal after restart, the VNFM (virtual machine manager) starts to rebuild the faulty virtual machine module. Specifically, according to the mirror information of the original virtual machine, the host name, IP address, account number and password of the original virtual machine are retained for reconstruction.
[0107] Specifically, the image information of the original virtual machine is the backup information. The process of reconstructing the original virtual machine by retaining the host name, IP address, account number and password of the original virtual machine can be as follows:
[0108] A preset reconstruction component is triggered, in which a preset reconstruction program segment is set. The preset reconstruction program segment is executed by the processor to rebuild the host name, IP address, account number, password and other information of the original virtual machine according to the mirror information of the original virtual machine.
[0109] In this embodiment, after the reconstruction is completed, it is determined whether the module status information collected and summarized by the OMU (network management unit) has returned to normal. If the status information has returned to normal, it indicates that the fault recovery is successful.
[0110] In this embodiment, risks are quickly identified or faults are resolved before a customer complains, thereby ensuring stable operation of the system and improving the quality of SMS services.
[0111] In this embodiment, before and after the failure recovery is successful, the network management also records and generates log information, that is, records various processing of the failed virtual machine module and generates a processing log.
[0112] After the step of restoring the target virtual machine module, the method includes:
[0113] Step A1, if the target virtual machine module fails to recover, trigger an alarm mechanism;
[0114] Step A2: Based on the alarm mechanism, alarm information of recovery failure is sent to target maintenance personnel.
[0115] In this embodiment, if the target virtual machine module fails to recover, an alarm mechanism is triggered, and the alarm mechanism may be: sending the recovery failure information to the operation and maintenance personnel team, that is, in this embodiment, based on the alarm mechanism, the recovery failure alarm information is sent to the target maintenance personnel.
[0116] The present application provides a network element fault self-healing method, device, equipment and storage medium. Compared with the IP SMS gateway in the prior art that cannot quickly handle faults, in the present application, a monitoring result is obtained after receiving the monitoring of the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module based on the heartbeat monitoring mechanism sent by the communication monitoring tool; based on the monitoring result, the target virtual machine module in the abnormal state is located; and the corresponding abnormal information of the target virtual machine module is reported to the virtual machine manager of the communication connection, so that the virtual machine manager can start the preset fault recovery mechanism and perform recovery processing on the target virtual machine module. In the present application, a communication monitoring tool is provided inside the network element. Based on the communication monitoring tool, a heartbeat mechanism is established between the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front-end virtual machine module that affect the real-time business, the status between each virtual machine module is monitored, and in an abnormal situation, the corresponding abnormal information of the target virtual machine module is reported to the virtual machine manager of the communication connection, and then the preset fault recovery mechanism, i.e., the self-healing mechanism, is quickly started. That is, in the present application, when a fault occurs, the self-healing process is started inside the network element as soon as possible, so as to realize the rapid handling of the fault.
[0117] Further, based on the first embodiment of the present application, another embodiment of the present application is provided, referring to Figure 2 In this embodiment, applied to a virtual machine manager, the network element fault self-healing method includes:
[0118] Step S40, receiving a recovery request for recovering a target virtual machine module in an abnormal state reported by a network manager;
[0119] In this embodiment, it is applied to a virtual machine manager, which manages the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module. The management includes:
[0120] The virtual machine manager restarts the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module;
[0121] The virtual machine manager reconstructs the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module;
[0122] The virtual machine manager records the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front-end virtual machine module.
[0123] In this embodiment, the virtual machine manager also communicates with the network manager, and then receives a recovery request reported by the network manager to restore the target virtual machine module in an abnormal state, that is, the recovery request carries information about the target virtual machine module in the abnormal state, which may be a name, an identifier, and a corresponding work log, etc.
[0124] Step S50: Based on the recovery request and a preset fault recovery mechanism, the target virtual machine module is restored.
[0125] Based on the recovery request and the preset fault recovery mechanism, the target virtual machine module is restored. The recovery process may be a restart process or a rebuild process.
[0126] Specifically, the preset fault recovery mechanism includes a preset restart mechanism, and the step of performing recovery processing on the target virtual machine module based on the recovery request and the preset fault recovery mechanism includes:
[0127] Step S51, based on the recovery request and the preset restart mechanism, restart the target virtual machine module, and determine whether the status of other virtual machine modules associated with the target virtual machine module has returned to normal;
[0128] In this embodiment, the target virtual machine module is first restarted, and the network manager determines whether the status of other virtual machine modules associated with the target virtual machine module has returned to normal. Specifically, after restarting the target virtual machine module, the network manager collects status information between each virtual machine module, and then sends the status information to the virtual machine manager for the virtual machine manager to determine whether the status of other virtual machine modules associated with the target virtual machine module has returned to normal.
[0129] Step S52: If the status of other virtual machine modules associated with the target virtual machine module returns to normal, it is determined that the target virtual machine module has been successfully recovered, and first associated information of the successful recovery is recorded.
[0130] In this embodiment, if the status of other virtual machine modules associated with the target virtual machine module returns to normal, it is determined that the target virtual machine module fault has recovered successfully, and the first associated information of the successful recovery is recorded. The first associated information can be a recovery record during the restart process such as the recovery operation, time, identification and other information.
[0131] In this embodiment, a recovery request for recovering a target virtual machine module in an abnormal state reported by a network management is received; based on the recovery request and a preset fault recovery mechanism, the target virtual machine module is recovered. In this embodiment, restarting the target virtual machine module is preferred to handle the fault, thereby avoiding resource waste caused during the fault handling process.
[0132] Further, based on the first embodiment and the second embodiment of the present application, another embodiment of the present application is provided. In this embodiment, after the step of determining whether the status of other virtual machine modules associated with the target virtual machine module has returned to normal, the method includes:
[0133] Step B1, if the status of other virtual machine modules associated with the target virtual machine module has not returned to normal, then obtaining the mirror information of the target virtual machine module;
[0134] In this embodiment, if the status of other virtual machine modules associated with the target virtual machine module has not returned to normal after the target virtual machine module is restarted, the mirror information of the target virtual machine module is obtained. The mirror information is backup information, which is specifically a backup of the target virtual machine module attributes.
[0135] Step B2, based on the mirror information, reconstructing the virtual machine information of the target virtual machine module to obtain a reconstructed virtual machine module, wherein the virtual machine information includes a machine name, an IP address, an account number and password information;
[0136] Specifically, in this embodiment, the target virtual machine module is reconstructed including virtual machine information such as machine name, IP address, account number and password information through backup information and a preset reconstruction program segment, or through backup information and a preset reconstruction template (including a reconstruction template corresponding to the machine name, IP address, account number and password information), to obtain a reconstructed virtual machine module.
[0137] Step B3, determining whether the status of other virtual machine modules associated with the rebuilt virtual machine module has returned to normal. If so, it indicates that the fault has been successfully recovered, and the second associated information of the successful recovery is recorded.
[0138] In this embodiment, it is determined whether the status of other virtual machine modules associated with the rebuilt virtual machine module has returned to normal. If it has returned to normal, it means that the fault recovery is successful, and the second associated information of the successful recovery is recorded. The second associated information can be a recovery record in the reconstruction process, such as the recovery operation, time, and identification information.
[0139] In this embodiment, if the target virtual machine module fails to recover, an alarm mechanism is triggered, and the alarm mechanism may be: sending the recovery failure information to the operation and maintenance personnel team, that is, in this embodiment, based on the alarm mechanism, the recovery failure alarm information is sent to the target maintenance personnel.
[0140] In this embodiment, if the status of other virtual machine modules associated with the target virtual machine module has not been restored to normal, the mirror information of the target virtual machine module is obtained; based on the mirror information, the virtual machine information of the target virtual machine module is rebuilt to obtain a rebuilt virtual machine module, wherein the virtual machine information includes a machine name, an IP address, an account number and password information; it is determined whether the status of other virtual machine modules associated with the rebuilt virtual machine module has been restored to normal, if it has been restored to normal, it indicates that the fault has been successfully recovered, and the second associated information of the successful recovery is recorded. In this embodiment, the rapid processing of the fault is achieved by reconstructing the virtual machine module.
[0141] Reference Figure 3 , Figure 3 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.
[0142] like Figure 3 As shown, the network element fault self-healing device may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.
[0143] Optionally, the network element fault self-healing device may also include a rectangular user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, etc. The rectangular user interface may include a display screen (Display), an input submodule such as a keyboard (Keyboard), and the optional rectangular user interface may also include a standard wired interface and a wireless interface. The network interface may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
[0144] Those skilled in the art will understand that Figure 3 The network element fault self-healing device structure shown in the figure does not constitute a limitation on the network element fault self-healing device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0145] like Figure 3As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, and a network element fault self-healing program. The operating system is a program that manages and controls the hardware and software resources of the network element fault self-healing device, and supports the operation of the network element fault self-healing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the memory 1005, and the communication with other hardware and software in the network element fault self-healing system.
[0146] exist Figure 3 In the network element fault self-healing device shown, the processor 1001 is used to execute the network element fault self-healing program stored in the memory 1005 to implement the steps of any of the above-mentioned network element fault self-healing methods.
[0147] The specific implementation methods of the network element fault self-healing device of the present application are basically the same as the embodiments of the network element fault self-healing method described above, and will not be repeated here.
[0148] The present application also provides a network element fault self-healing device, which is applied to network management, and the network element fault self-healing device includes:
[0149] A first receiving module is used to receive the monitoring results sent by the communication monitoring tool after monitoring the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module based on the heartbeat monitoring mechanism;
[0150] A positioning module, using a module for positioning a target virtual machine in an abnormal state based on the monitoring result;
[0151] The reporting module is used to report the abnormal information corresponding to the target virtual machine module to the virtual machine manager connected to the communication, so that the virtual machine manager can start a preset fault recovery mechanism and perform recovery processing on the target virtual machine module.
[0152] Optionally, the positioning module includes:
[0153] A summarizing unit, used to summarize the communication status between the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module;
[0154] The selection unit is used to select a target virtual machine module that is disconnected from other multiple virtual machine modules from the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module based on the communication state.
[0155] Optionally, the first receiving module includes:
[0156] A receiving unit, used to receive a monitoring result sent by a communication monitoring tool after monitoring the link handshake of the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module;
[0157] Among them, after the protocol proxy virtual machine module receives the external information of the terminal, it sends the external information to the business processing virtual machine module. The business processing virtual machine module converts the external information into internal information and sends it to the signaling front-end virtual machine module. The signaling front-end virtual machine module determines the target address of the external information based on the internal information to send the external information to the target address.
[0158] Optionally, the network element fault self-healing device further includes:
[0159] A trigger module, used to trigger an alarm mechanism if the target virtual machine module fails to recover;
[0160] The sending module is used to send the restoration failure alarm information to the target maintenance personnel based on the alarm mechanism.
[0161] The specific implementation of the network element fault self-healing device applied to the network management of the present application is basically the same as the embodiments of the network element fault self-healing method applied to the network management mentioned above, and will not be repeated here.
[0162] To achieve the above object, the present application also provides a network element fault self-healing device, which is applied to a virtual machine manager, and the network element fault self-healing device includes:
[0163] A second receiving module is used to receive a recovery request for recovering a target virtual machine module in an abnormal state reported by a network management;
[0164] The recovery module is used to perform recovery processing on the target virtual machine module based on the recovery request and a preset fault recovery mechanism.
[0165] Optionally, the recovery module includes:
[0166] A restart unit, configured to restart the target virtual machine module based on the recovery request and a preset restart mechanism, and determine whether the status of other virtual machine modules associated with the target virtual machine module has returned to normal;
[0167] The determination unit is used to determine that the target virtual machine module has been successfully recovered from the fault if the status of other virtual machine modules associated with the target virtual machine module has been restored to normal, and record the first associated information of the successful recovery.
[0168] Optionally, the network element fault self-healing device further includes:
[0169] An acquisition module, used for acquiring the mirror information of the target virtual machine module if the status of other virtual machine modules associated with the target virtual machine module has not returned to normal;
[0170] A reconstruction module, used to reconstruct virtual machine information of the target virtual machine module based on the mirror information to obtain a reconstructed virtual machine module, wherein the virtual machine information includes a machine name, an IP address, an account number and password information;
[0171] The determination module is used to determine whether the status of other virtual machine modules associated with the rebuilt virtual machine module has returned to normal. If it has returned to normal, it means that the fault recovery is successful, and record the second associated information of the successful recovery.
[0172] The specific implementation of the network element fault self-healing device applied to the virtual machine manager in the present application is basically the same as the various embodiments of the network element fault self-healing method described above, and will not be repeated here.
[0173] An embodiment of the present application provides a storage medium, and the storage medium stores one or more programs, and the one or more programs can also be executed by one or more processors to implement the steps of the network element fault self-healing method applied to network management.
[0174] The specific implementation methods of the storage medium of the present application are basically the same as the above-mentioned embodiments of the network element fault self-healing method applied to network management, and will not be repeated here.
[0175] An embodiment of the present application provides a storage medium, and the storage medium stores one or more programs, and the one or more programs can also be executed by one or more processors to implement the steps of the network element fault self-healing method applied to the virtual machine manager.
[0176] The specific implementation methods of the storage medium of the present application are basically the same as the above-mentioned embodiments of the network element failure self-healing method applied to the virtual machine manager, and will not be repeated here.
[0177] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0178] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0179] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods 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 method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0180] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A network element fault self-healing method, It is characterized in that Applied to network management, the network element fault self-healing method includes: Receive the monitoring results sent by the communication monitoring tool after monitoring the link handshake of the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module; After receiving the external information of the terminal, the protocol proxy virtual machine module sends the external information to the service processing virtual machine module, the service processing virtual machine module converts the external information into internal information and sends it to the signaling front virtual machine module, and the signaling front virtual machine module determines the target address of the external information based on the internal information to send the external information to the target address; Based on the monitoring result, locate the target virtual machine module in an abnormal state; Report the corresponding abnormal information of the target virtual machine module to the virtual machine manager in communication connection, so that the virtual machine manager can start the preset fault recovery mechanism and perform recovery processing on the target virtual machine module.
2. The network element fault self-healing method according to claim 1, It is characterized in that The step of locating the target virtual machine module in an abnormal state based on the monitoring result includes: Summarize the communication status between the business processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module; Based on the communication status, a target virtual machine module that is disconnected from multiple other virtual machine modules is selected from the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module.
3. The network element fault self-healing method according to claim 1, It is characterized in that After the step of restoring the target virtual machine module, the method includes: If the target virtual machine module fails to recover, an alarm mechanism is triggered; Based on the alarm mechanism, an alarm message of recovery failure is sent to a target maintenance personnel.
4. A network element fault self-healing method, It is characterized in that Applied to a virtual machine manager, the network element fault self-healing method includes: Receive a recovery request for recovering a target virtual machine module in an abnormal state reported by a network manager, wherein the recovery request is sent to a local after the network manager locates the target virtual machine module in an abnormal state based on a monitoring result, wherein the monitoring result is obtained after a communication monitoring tool monitors a link handshake of a service processing virtual machine module, a protocol proxy virtual machine module, and a signaling front virtual machine module and sends the result to the network manager; After receiving the external information of the terminal, the protocol proxy virtual machine module sends the external information to the service processing virtual machine module, the service processing virtual machine module converts the external information into internal information and sends it to the signaling front virtual machine module, and the signaling front virtual machine module determines the target address of the external information based on the internal information to send the external information to the target address; Based on the recovery request and a preset fault recovery mechanism, the target virtual machine module is restored.
5. The network element fault self-healing method according to claim 4, It is characterized in that The preset fault recovery mechanism includes a preset restart mechanism, and the step of performing recovery processing on the target virtual machine module based on the recovery request and the preset fault recovery mechanism includes: Based on the recovery request and the preset restart mechanism, restart the target virtual machine module, and determine whether the status of other virtual machine modules associated with the target virtual machine module has returned to normal; If the status of other virtual machine modules associated with the target virtual machine module returns to normal, it is determined that the target virtual machine module has been successfully recovered, and the first associated information of the successful recovery is recorded.
6. The network element fault self-healing method according to claim 5, It is characterized in that After the step of determining whether the status of other virtual machine modules associated with the target virtual machine module has returned to normal, the method includes: If the status of other virtual machine modules associated with the target virtual machine module has not returned to normal, obtaining the mirror information of the target virtual machine module; Based on the mirror information, reconstruct the virtual machine information of the target virtual machine module to obtain a reconstructed virtual machine module, wherein the virtual machine information includes a machine name, an IP address, an account number and password information; Determine whether the status of other virtual machine modules associated with the rebuilt virtual machine module has returned to normal. If so, it indicates that the fault has been successfully recovered, and record the second associated information of the successful recovery.
7. A network element fault self-healing device, It is characterized in that Applied to network management, the network element fault self-healing device comprises: A first receiving module, wherein the first receiving module comprises: A receiving unit, used to receive a monitoring result sent by a communication monitoring tool after monitoring the link handshake of the service processing virtual machine module, the protocol proxy virtual machine module and the signaling front virtual machine module; After receiving the external information of the terminal, the protocol proxy virtual machine module sends the external information to the service processing virtual machine module, the service processing virtual machine module converts the external information into internal information and sends it to the signaling front virtual machine module, and the signaling front virtual machine module determines the target address of the external information based on the internal information to send the external information to the target address; A positioning module, using a module for positioning a target virtual machine in an abnormal state based on the monitoring result; The reporting module is used to report the abnormal information corresponding to the target virtual machine module to the virtual machine manager connected to the communication, so that the virtual machine manager can start a preset fault recovery mechanism and perform recovery processing on the target virtual machine module.
8. A network element fault self-healing device, It is characterized in that The network element fault self-healing device comprises: a memory, a processor, and a program stored in the memory for implementing the network element fault self-healing method. The memory is used to store a program for implementing a method for self-healing network element failures; The processor is used to execute a program for implementing the network element fault self-healing method to implement the steps of the network element fault self-healing method as claimed in any one of claims 1 to 6.
9. A storage medium, It is characterized in that The storage medium stores a program for implementing a network element failure self-healing method, and the program for implementing a network element failure self-healing method is executed by a processor to implement the steps of the network element failure self-healing method as claimed in any one of claims 1 to 6.
