CN106488489B - Method and device for recovering user service data - Google Patents

Method and device for recovering user service data Download PDF

Info

Publication number
CN106488489B
CN106488489B CN201510552272.7A CN201510552272A CN106488489B CN 106488489 B CN106488489 B CN 106488489B CN 201510552272 A CN201510552272 A CN 201510552272A CN 106488489 B CN106488489 B CN 106488489B
Authority
CN
China
Prior art keywords
node
user
service
service data
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510552272.7A
Other languages
Chinese (zh)
Other versions
CN106488489A (en
Inventor
唐涛
蒋健
叶晓龙
刘光辰
龚超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Zhejiang Innovation Research Institute Co ltd
China Mobile Group Zhejiang Co Ltd
Original Assignee
China Mobile Group Zhejiang Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Zhejiang Co Ltd filed Critical China Mobile Group Zhejiang Co Ltd
Priority to CN201510552272.7A priority Critical patent/CN106488489B/en
Publication of CN106488489A publication Critical patent/CN106488489A/en
Application granted granted Critical
Publication of CN106488489B publication Critical patent/CN106488489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method and a device for recovering user service data, wherein the method comprises the following steps: monitoring the interruption state of a user service data flow; when it is monitored that a user service data flow enters a recovery state from interruption, scanning each node of a system for recovering user service data, and judging whether each node is abnormal or not; when a first node with an abnormality exists in the system, user service data in the first node is collected; the embodiment of the invention can timely recover the user service data under the condition that a system for recovering the user service data is abnormal, thereby improving the user experience.

Description

Method and device for recovering user service data
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for recovering user service data.
Background
The Business Operation Support (BOSS) System is the core Business Support System of each telecom operator, and the unified opening System is the 'must pass' channel for interaction between the BOSS domain and the network management domain. In recent years, with the rapid development of mobile internet and the continuous popularization of traffic services, whether a user can quickly recover a service function (such as an internet function) after stopping and recharging is provided, and higher requirements are provided for the support system in the aspects of program processing timeliness and operation stability.
As shown in fig. 1, the current flow of recovering the traffic internet function of the user is roughly as follows:
after the user recharges, the accounting system judges whether to generate a recovery work order according to the condition of the balance and the credit level of the user; a Customer Relationship Management (CRM) system takes the recovery work order and judges whether to generate a traffic online recovery work order according to the order relationship of the user; the opening system takes away the flow internet surfing recovery work order, and finally generates a network management side recognizable instruction through a series of rule judgment according to the configured instruction rule; the opening system sends a starting-up instruction to the switch.
From the above process, it can be seen that the complete processing flow for recovering the traffic internet access function is distributed in multiple system domains, the data is dispersed, the flow is complex, and the accuracy and timeliness of recovering the traffic internet access function are affected no matter a program in a certain link is abnormal, or a host, a database or a network where a certain application is deployed is abnormal, so that the user perception is seriously affected.
Although the operator has an emergency recovery mechanism aiming at the rapid recovery of the user call function at present and has a certain defense capability in timeliness, in the aspect of accuracy, as the recovery of the traffic function is relatively complex, no defense measure is provided in the aspect of rapid recovery of the traffic internet function, and the guarantee capability is seriously deficient under the large background of the current operator traffic operation.
The prior recharging emergency answering machine technology of an operator mainly has two defects:
firstly, the function is single, can't be to the emergent recovery of flow function: the call function can be uniformly processed as a necessary basic function for each user, but each user has certain individuality for the flow function, and the current flow cannot be judged. For the traffic internet access function of the user, the situation is complex, and different user traffic internet access function recovery rules need to be formulated according to different service ordering situations of the user. For example: when a user subscribes to a second generation mobile communication technology General Packet Radio Service (2G GPRS) Service and no GPRS suspension or capping Service exists, the user needs to recover the 2G flow internet access function; when a user subscribes to a fourth generation mobile communication technology General Packet Radio Service (4G GPRS) Service and does not have GPRS suspension or capping Service, the user needs to recover the 4G flow internet access function; when the user subscribes to the 2G or 4G GPRS service, but subscribes to the GPRS suspension or capping service at the same time, the 2G and 4G flow internet access function can not be recovered for the user.
Second, only the process internal emergency processing is limited, and the end-to-end recovery capability is deficient: at present, the emergency recovery process still depends on data processing of an opening system, the user service function cannot be directly recovered at a network management side, and when the opening system has host, database or network abnormity, the emergency recovery channel is also interrupted.
In conclusion, the existing emergency recovery technology has serious defects, the emergency recovery of the GPRS function cannot be carried out, end-to-end coverage is lacked, and poor perception is brought to user experience in the 4G competitive era with king traffic.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for recovering user service data, which can recover the user service data in time and improve user experience under the condition that a system for recovering the user service data is abnormal.
In order to achieve the above object, an embodiment of the present invention provides a method for recovering user service data, where the method includes:
monitoring the interruption state of a user service data flow;
when it is monitored that a user service data flow enters a recovery state from interruption, scanning each node of a system for recovering user service data, and judging whether each node is abnormal or not;
when a first node with an abnormality exists in the system, user service data in the first node is collected;
and sending a service recovery instruction to the network management equipment corresponding to the user, so that the network management equipment recovers the user service data after receiving the service recovery instruction.
The acquiring user service data in the first node specifically includes:
judging the number of first nodes in the system;
when a plurality of first nodes exist in the system, acquiring the service codes and the service process codes of the first nodes needing to acquire user service data;
acquiring user service data in the first nodes needing to acquire the user service data in a segmented manner according to the service codes, the service process codes, the abnormal occurrence time and the preset acquisition time length of each first node needing to acquire the user service data;
when only one first node exists in the system, user service data in the first node is acquired in a segmented manner according to the abnormal occurrence moment, the preset acquisition time length, and the service code and the service flow code which are configured for the first node in advance.
The acquiring of the service code and the service process code of each first node of the user service data to be acquired specifically includes:
acquiring a service code, a service process code and a service process code serial-parallel mark configured for each node in the system;
and acquiring the service code and the service flow code of each first node of the user service data to be acquired according to the service code, the service flow code and the service flow code serial-parallel mark of each node in the system.
The sending of the service restoration instruction to the network management device corresponding to the user specifically includes:
judging whether the first node needs to be accurately judged according to an accurate judgment rule configured for each node of the system in advance;
when the first node needs to be accurately judged, further judging whether an environment for accurately judging the first node is available or not;
when the environment for accurately judging the first node is available, judging whether the user meets a special scene filtering rule or not according to the special scene filtering rule configured for the user in advance;
when the user does not meet the special scene filtering rule, generating a recovery service instruction according to a preset first recovery instruction generation rule, and sending the recovery service instruction to network management equipment corresponding to the user;
and when the user meets the special scene filtering rule, ending the process.
Before judging whether the first node needs to be accurately judged, the method further comprises the following steps:
and acquiring an accurate judgment rule configured for each node in the system.
Before judging whether the user meets the special scene filtering rule, the method further comprises the following steps:
and acquiring a special scene filtering rule configured for a user.
Wherein, judge whether the environment that carries out accurate judgement to first node is available, specifically include:
judging whether nodes behind the first node in the system can normally operate or not and whether information required for accurate judgment can be normally acquired or not;
when the nodes behind the first node can normally operate and can normally acquire information required for accurate judgment, determining that the environment for accurately judging the first node is available;
and when the nodes behind the first node cannot normally operate and/or cannot normally acquire the information required for accurate judgment, determining that the environment for accurate judgment of the first node is unavailable.
Wherein, the method further comprises:
and when the first node does not need to perform accurate judgment, generating a recovery service instruction according to a preset second recovery instruction generation rule, and sending the recovery service instruction to the network management equipment corresponding to the user.
Wherein, the method further comprises:
and when the environment for accurately judging the first node is unavailable, generating a recovery service instruction according to a preset third recovery instruction generation rule, and sending the recovery service instruction to the network management equipment corresponding to the user.
The sending of the service restoration instruction to the network management device corresponding to the user specifically includes:
judging whether the first node is the last node in the system;
when the first node is not the last node in the system, transferring the user service data in the first node to any second node behind the first node, so that the second node and all nodes behind the second node process the user service data transferred from the first node, and send a service recovery instruction to the network management equipment corresponding to the user.
Before sending a service restoring instruction to the network management equipment corresponding to the user, the method further comprises the following steps:
and determining to receive an instruction response message returned by the network management equipment corresponding to the user.
The embodiment of the invention also provides a device for recovering the user service data, which comprises:
the monitoring module is used for monitoring the interruption state of the user service data flow;
the scanning module is used for scanning each node of a system for recovering user service data when the fact that a user service data flow enters a recovery state from interruption is monitored, judging whether each node is abnormal or not, and triggering the acquisition module when a first node with abnormality exists in the system;
the acquisition module is used for acquiring user service data in the first node according to the triggering of the scanning module;
and the sending module is used for sending a service recovery instruction to the network management equipment corresponding to the user, so that the network management equipment recovers the user service data after receiving the service recovery instruction.
Wherein, the collection module includes:
the first judging unit is used for judging the number of the first nodes in the system;
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the service code and the service process code of each first node of user service data to be acquired when a plurality of first nodes exist in the system;
the first acquisition unit is used for acquiring the user service data in the first nodes of the user service data to be acquired in a segmented manner according to the service codes, the service process codes, the abnormal occurrence time and the preset acquisition time length of each first node of the user service data to be acquired;
and the second acquisition unit is used for acquiring the user service data in the first node in a segmented manner according to the abnormal occurrence moment, the preset acquisition time length, the service code and the service process code which are configured for the first node in advance when only one first node exists in the system.
Wherein, the acquisition unit includes:
the first subunit is used for acquiring the service codes, the service process codes and the service process code serial-parallel marks configured for each node in the system;
and the second subunit is used for acquiring the service codes and the service process codes of the first nodes of the user service data to be acquired according to the service codes, the service process codes and the service process code serial-parallel marks of the nodes in the system.
Wherein, the sending module includes:
the second judging unit is used for judging whether the first node needs to be accurately judged according to an accurate judging rule configured for each node of the system in advance and triggering the third judging unit when the first node needs to be accurately judged;
the third judging unit is used for further judging whether the environment for accurately judging the first node is available or not according to the triggering of the second judging unit, and triggering the fourth judging unit when the environment for accurately judging the first node is available;
the fourth judging unit is used for judging whether the user meets the special scene filtering rule or not according to the triggering of the third judging unit and further according to the special scene filtering rule configured for the user in advance, triggering the generating unit when the user does not meet the special scene filtering rule, and ending the process when the user meets the special scene filtering rule;
and the generating unit is used for generating a recovery service instruction according to the trigger of the fourth judging unit and a preset first recovery instruction generating rule, and sending the recovery service instruction to the network management equipment corresponding to the user.
Wherein, the device still includes:
and the first acquisition module is used for acquiring the accurate judgment rule configured for each node in the system.
Wherein, the device still includes:
and the second acquisition module is used for acquiring the special scene filtering rule configured for the user.
Wherein the third judging unit includes:
the third subunit is used for judging whether a node behind the first node in the system can normally operate or not and whether information required for accurate judgment can be normally acquired or not, triggering the fourth subunit when the node behind the first node can normally operate and can normally acquire the information required for accurate judgment, and triggering the fifth subunit when the node behind the first node cannot normally operate and/or cannot normally acquire the information required for accurate judgment;
the fourth subunit is used for determining that the environment for accurately judging the first node is available according to the triggering of the third subunit;
and the fifth subunit is used for determining that the environment for accurately judging the first node is unavailable according to the triggering of the third subunit.
Wherein, the device still includes:
and the first generation module is used for generating a recovery service instruction according to a preset second recovery instruction generation rule when the first node does not need to be accurately judged, and sending the recovery service instruction to the network management equipment corresponding to the user.
Wherein, the device still includes:
and the second generation module is used for generating a recovery service instruction according to a preset third recovery instruction generation rule when the environment for accurately judging the first node is unavailable, and sending the recovery service instruction to the network management equipment corresponding to the user.
Wherein, the sending module includes:
a fifth judging unit, configured to judge whether the first node is a last node in the system, and trigger the transfer unit when the first node is not the last node in the system;
and the transfer unit is used for transferring the user service data in the first node to any one second node behind the first node according to the trigger of the fifth judging unit, so that the second node and all nodes behind the second node process the user service data transferred from the first node, and send a service recovery instruction to the network management equipment corresponding to the user.
Wherein, the device still includes:
and the determining module is used for determining that the instruction response message returned by the network management equipment corresponding to the user is received.
The scheme of the invention at least comprises the following beneficial effects:
in the embodiment of the invention, when the user service data flow enters the recovery state from interruption, whether a first node with abnormality exists in the system is judged by scanning each node of the system for recovering the user service data, and when the first node with abnormality exists in the system, the user service data in the first node is collected, and a recovery service instruction is sent to the network management equipment corresponding to the user, so that the network management equipment recovers the collected user service data.
Drawings
Fig. 1 is a flow chart of recovering the internet function in the prior art;
fig. 2 is a flowchart of a method for recovering user service data according to a first embodiment of the present invention;
fig. 3 is a schematic structural diagram of each node in the BOSS system, the CRM system, and the provisioning system when performing a top-up service in the first embodiment of the present invention;
fig. 4 is a schematic structural diagram of each node in the BOSS system, the CRM system, and the provisioning system when performing program control change according to the first embodiment of the present invention;
FIG. 5 is a flowchart illustrating a first implementation manner of step S24 in FIG. 2 according to a first embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus for recovering user service data according to a second embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
First embodiment
As shown in fig. 2, a first embodiment of the present invention provides a method for recovering user traffic data, where the method includes:
step S21, monitoring the interruption state of user service data flow;
step S22, when it is monitored that the user service data flow enters the recovery state from interruption, scanning each node of the system for recovering the user service data, and judging whether each node is abnormal;
in a first embodiment of the present invention, the system for recovering user service data mainly includes a BOSS system, a CRM system, and an activation system. It should be noted that the system for recovering user service data mentioned in the first embodiment of the present invention includes a BOSS system, a CRM system, and an activation system.
In the first embodiment of the present invention, different scanning intervals are configured in advance for each node according to the performance (for example, the type of processing traffic) of each node in the system. That is, during the scanning process, the scanning intervals of different nodes may be different. It will of course be appreciated that a connection between the module for scanning the nodes and the nodes needs to be established before the scanning step is performed. In addition, the determination condition for determining whether each node is abnormal may be set according to a specific service, for example, when the service is internet access, the determination condition may be set as whether the number of error messages reaches a preset value.
Step S23, when there is abnormal first node in the system, collecting the user service data in the first node;
in the first embodiment of the present invention, similar to the scanning step, before performing the collection of the user traffic data, it is necessary to establish a connection between the module for collecting the user traffic data and each node.
Step S24, sending a service recovery instruction to the network management device corresponding to the user, so that the network management device recovers the user service data after receiving the service recovery instruction.
In the first embodiment of the present invention, an interruption state of a user service data flow is monitored, and when it is monitored that the user service data flow enters a recovery state from interruption, each node of a system for recovering user service data is scanned, whether a first node with an abnormality exists in the system is judged, and when the first node with the abnormality exists in the system, user service data in the first node is collected, and a recovery service instruction is sent to network management equipment corresponding to a user, so that the network management equipment recovers the collected user service data, thereby achieving the purpose of recovering the user service data in time (for example, recovering the internet function of the user within 2 minutes) in case that the system for recovering the user service data has an abnormality, and improving the user experience.
In the first embodiment of the present invention, the method may be understood as that when there is a first node having an abnormality in the system for recovering user service data, a dedicated line for recovering user service data is established, so as to avoid a fault of any one node, recover user service data in time (for example, recover the internet function of a user within 2 minutes), and improve the user experience effect.
In a first embodiment of the present invention, the step S23 specifically includes: firstly, judging the number of first nodes in the system; when a plurality of first nodes exist in the system, acquiring the service codes and the service process codes of all the first nodes of user service data to be acquired, and acquiring the user service data in the first nodes of the user service data to be acquired in a segmented manner according to the service codes, the service process codes, the abnormal occurrence time and the preset acquisition time length of all the first nodes of the user service data to be acquired; and when only one first node exists in the system, the user service data in the first node is acquired in a segmented manner directly according to the abnormal occurrence moment, the preset acquisition time length, the service code and the service flow code which are configured for the first node in advance.
In the first embodiment of the present invention, when there is a lot of user service data in the first node, in order to avoid missing the user service data, the user service data may be collected in segments according to a preset collection time length from the time when the abnormality occurs. The preset acquisition time length can be preset and can also be changed in the acquisition process.
Specifically, in the acquisition process, the time range for acquiring the user service data this time is determined according to the time (possibly the time of occurrence of an abnormality) of acquiring the user service data last time and a preconfigured "time range for confirming the unaware recovery when the abnormality occurs". For example, the time when the user service data was collected last time is T1, and the "time range for no perceptual recovery at the time of occurrence of an anomaly" is T2 (for example, 0), the time range for collecting the user service data this time is T1 to the current time-T2, and the current time-T2 is used as the starting time for collecting the user service data once in order to maintain the continuity of collection. After the time range (for example, T1 to the current time-T2) of the user service data collected this time is determined, the user service data in the time range (for example, T1 to the current time-T2) of the user service data collected this time is collected in segments according to a preset time length from the start time (for example, T1) of the collection this time, and in the process of the segment collection, in order to avoid missing the user service data, the collection progress is recorded all the time.
In the first embodiment of the present invention, when there are multiple first nodes in a system, acquiring a service code and a service flow code of each first node that needs to acquire user service data includes: and acquiring the service codes, the service process codes and the service process code serial-parallel marks configured for each node in the system, and acquiring the service codes and the service process codes of each first node of the user service data to be acquired according to the service codes, the service process codes and the service process code serial-parallel marks of each node in the system.
In the first embodiment of the present invention, the backlogged user service data in two or more first nodes having a serial relationship is repeated, so that the processing is only required once, that is, for two or more first nodes having a serial relationship, only the user service data in the first node located at the top in the system needs to be collected. This ensures both integrity of the user traffic data and minimisation of the amount of data.
In the first embodiment of the present invention, the service code and the service flow code of each first node, which determines the user service data to be collected when there are a plurality of first nodes, are explained by using the recharge service and the program control change. As shown in fig. 3, the top-up service is represented by S, and the representation manner of each node in the BOSS system, the CRM system and the provisioning system corresponding to the top-up service is as follows: capital launch is represented by G1, real-time trust is represented by G2, account process is represented by G3, stop-and-go process is represented by G4, work order scheduling is represented by G5, work order splitting is represented by G6, network element processing is represented by G7, wherein G1 is the initial point of S traffic, G2 is in serial relation with G1, G3 is in serial relation with G2, G4 is in serial relation with G3, G5 is in parallel relation with G1, G6 is in parallel relation with G1, and G7 is in parallel relation with G1. Therefore, if the 4 nodes G1, G4, G6 and G7 are abnormal, only user service data in the 3 nodes G1, G6 and G7 need to be collected. Specifically, "s.g 1. initial" may represent that S service G1 is the initial point of the flow, "s.g 6. and G1" represents that S services G6 and G1 are in a parallel relationship, "s.g 2. string G1" represents that S services G2 and G1 are in a serial relationship, and other string-parallel relationships may also be represented in the same manner. It should be noted that S corresponds to the service codes of the 7 nodes of the above-mentioned fund issuance, real-time signaling, account handling process, stop-and-reply process, work order scheduling, work order splitting and network element processing, G1, G2, G3, G4, G5, G6 and G7 correspond to the service flow codes of the 7 nodes of the fund issuance, real-time signaling, account handling process, stop-and-reply process, work order scheduling, work order splitting and network element processing, "s.g 1. initial" corresponds to the service flow code string parallel flag of the fund issuance, "s.g 2. string G1" corresponds to the service flow code string parallel flag of the real-time signaling, and the service flow code string parallel flags of other nodes can also be expressed in the same way.
Similarly, as shown in fig. 4, the program-controlled change is denoted by F, and the nodes in the BOSS system, the CRM system and the provisioning system corresponding to the recharge service are denoted by: the process of sending up is represented by G1, the process of opening business is represented by G2, the work order scheduling is represented by G3, the work order splitting is represented by G4, and the network element processing is represented by G5, wherein G2 is the initial point of the F business, G1 and G2 are in parallel relation, G3 and G2 are in serial relation, G4 and G3 are in serial relation, and G5 and G2 are in serial relation. Therefore, if 3 nodes G2, G4 and G5 are abnormal, only user service data in 1 node G2 needs to be collected. Specifically, "f.g 2. initial" may indicate that F service G2 is the flow initial point, "f.g 1. and G2" indicates that F services G1 and G2 are in a parallel relationship, "f.g 3. string G2" indicates that F services G3 and G2 are in a serial relationship, and other string-parallel relationships may also be indicated in the same manner. It should be noted that F is equivalent to the service code of the 5 nodes of the above-mentioned sending process, business sending opening process, work order scheduling, work order splitting and network element processing, G1, G2, G3, G4 and G5 are equivalent to the service flow code of the 5 nodes of the sending process, business sending opening process, work order scheduling, work order splitting and network element processing, "f.g 2. initial" is equivalent to the service flow code string parallel flag of the business sending opening process, "f.g 3. string G2" is equivalent to the service flow code string parallel flag of the work order scheduling, and the service flow code string parallel flags of other nodes can also be represented in the same manner.
In the first embodiment of the present invention, the step S24 includes two implementation manners, and as shown in fig. 5, the first implementation manner of the step S24 specifically includes:
step S51, according to the accuracy judgment rule configured for each node of the system in advance, judging whether the first node needs to be accurately judged;
in the first embodiment of the present invention, before step S51 is executed, it is necessary to obtain an accurate judgment rule configured for each node in the system, where the accurate judgment rule mainly includes whether the node needs to be accurately judged or not.
Step S52, when the first node needs to be accurately judged, further judging whether the environment for accurately judging the first node is available;
step S53, when the environment for accurately judging the first node is available, further judging whether the user meets the special scene filtering rule according to the special scene filtering rule configured for the user in advance, if so, executing step S54, otherwise, executing step S55;
in the first embodiment of the present invention, before step S53 is executed, a special scene filtering rule configured for a user needs to be obtained, for example, the user is configured as a user with a GPRS suspension, so that the user is equivalent to meet the special scene filtering rule, the process is directly ended, and the internet access function is not resumed for the user.
Step S54, when the user meets the special scene filtering rule, the flow is ended;
and step S55, when the user does not meet the special scene filtering rule, generating a recovery service instruction according to a preset first recovery instruction generation rule, and sending the recovery service instruction to the network management equipment corresponding to the user.
In a first embodiment of the present invention, the step S52 specifically includes: judging whether nodes behind the first node in the system can normally operate or not and whether information required for accurate judgment can be normally acquired or not; when the nodes behind the first node can normally operate and can normally acquire information required for accurate judgment, determining that the environment for accurately judging the first node is available; and when the nodes behind the first node cannot normally operate and/or cannot normally acquire the information required for accurate judgment, determining that the environment for accurate judgment of the first node is unavailable.
In the first embodiment of the present invention, when it is determined in step S51 that the first node does not need to perform an accurate determination, a restoration service instruction is generated directly according to a preset second restoration instruction generation rule, and the restoration service instruction is sent to the network management device corresponding to the user, so that the gateway device corresponding to the user restores the user service data.
Similarly, when it is determined in step S52 that the environment for accurately determining the first node is not available, a recovery service instruction is generated according to a preset third recovery instruction generation rule, and the recovery service instruction is sent to the network management device corresponding to the user, so that the gateway device corresponding to the user recovers the user service data.
In the first embodiment of the present invention, the first recovery instruction generation rule, the second recovery instruction generation rule, and the third recovery instruction generation rule may be preset. The setting can be specifically performed according to the characteristics of the service scene, the attribute of the network management equipment and the like.
In the first embodiment of the present invention, the second implementation manner of step S24 is: firstly, judging whether a first node is the last node in a system, when the first node is not the last node in the system, transferring user service data in the first node to any second node behind the first node, enabling the second node and all nodes behind the second node to process the user service data transferred from the first node, and sending a service recovery instruction to network management equipment corresponding to a user, so that gateway equipment corresponding to the user recovers the user service data.
In the first embodiment of the present invention, in order to ensure the normal operation of the gateway device, before the step S24 is executed, it is necessary to determine that an instruction response message returned by the network management device corresponding to the user is received. I.e. to ensure that there is a free channel in the network management device. Specifically, whether the network management device has an idle channel can be monitored by configuring the maximum connection number or the maximum connection number ratio or the instruction traffic of a single connection to the network management device. The step S24 can be executed only when there is a free channel in the network management device.
Second embodiment
As shown in fig. 6, a second embodiment of the present invention provides an apparatus for recovering user traffic data, including:
the monitoring module 61 is used for monitoring the interruption state of the user service data flow;
the scanning module 62 is configured to scan each node of the system for recovering user service data when it is monitored that a user service data flow enters a recovery state from an interruption, determine whether each node is abnormal, and trigger the acquisition module 63 when a first node in which an abnormality occurs exists in the system;
an acquisition module 63, configured to acquire user service data in the first node according to the trigger of the scanning module 62;
the sending module 64 is configured to send a service recovery instruction to the network management device corresponding to the user, so that the network management device recovers the user service data after receiving the service recovery instruction.
Wherein, the collection module 63 includes:
the first judging unit is used for judging the number of the first nodes in the system;
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the service code and the service process code of each first node of user service data to be acquired when a plurality of first nodes exist in the system;
the first acquisition unit is used for acquiring the user service data in the first nodes of the user service data to be acquired in a segmented manner according to the service codes, the service process codes, the abnormal occurrence time and the preset acquisition time length of each first node of the user service data to be acquired;
and the second acquisition unit is used for acquiring the user service data in the first node in a segmented manner according to the abnormal occurrence moment, the preset acquisition time length, the service code and the service process code which are configured for the first node in advance when only one first node exists in the system.
Wherein, the acquisition unit includes:
the first subunit is used for acquiring the service codes, the service process codes and the service process code serial-parallel marks configured for each node in the system;
and the second subunit is used for acquiring the service codes and the service process codes of the first nodes of the user service data to be acquired according to the service codes, the service process codes and the service process code serial-parallel marks of the nodes in the system.
Wherein, the sending module 64 includes:
the second judging unit is used for judging whether the first node needs to be accurately judged according to an accurate judging rule configured for each node of the system in advance and triggering the third judging unit when the first node needs to be accurately judged;
the third judging unit is used for further judging whether the environment for accurately judging the first node is available or not according to the triggering of the second judging unit, and triggering the fourth judging unit when the environment for accurately judging the first node is available;
the fourth judging unit is used for judging whether the user meets the special scene filtering rule or not according to the triggering of the third judging unit and further according to the special scene filtering rule configured for the user in advance, triggering the generating unit when the user does not meet the special scene filtering rule, and ending the process when the user meets the special scene filtering rule;
and the generating unit is used for generating a recovery service instruction according to the trigger of the fourth judging unit and a preset first recovery instruction generating rule, and sending the recovery service instruction to the network management equipment corresponding to the user.
Wherein, the device still includes:
and the first acquisition module is used for acquiring the accurate judgment rule configured for each node in the system.
Wherein, the device still includes:
and the second acquisition module is used for acquiring the special scene filtering rule configured for the user.
Wherein the third judging unit includes:
the third subunit is used for judging whether a node behind the first node in the system can normally operate or not and whether information required for accurate judgment can be normally acquired or not, triggering the fourth subunit when the node behind the first node can normally operate and can normally acquire the information required for accurate judgment, and triggering the fifth subunit when the node behind the first node cannot normally operate and/or cannot normally acquire the information required for accurate judgment;
the fourth subunit is used for determining that the environment for accurately judging the first node is available according to the triggering of the third subunit;
and the fifth subunit is used for determining that the environment for accurately judging the first node is unavailable according to the triggering of the third subunit.
Wherein, the device still includes:
and the first generation module is used for generating a recovery service instruction according to a preset second recovery instruction generation rule when the first node does not need to be accurately judged, and sending the recovery service instruction to the network management equipment corresponding to the user.
Wherein, the device still includes:
and the second generation module is used for generating a recovery service instruction according to a preset third recovery instruction generation rule when the environment for accurately judging the first node is unavailable, and sending the recovery service instruction to the network management equipment corresponding to the user.
Wherein, the sending module 64 includes:
a fifth judging unit, configured to judge whether the first node is a last node in the system, and trigger the transfer unit when the first node is not the last node in the system;
and the transfer unit is used for transferring the user service data in the first node to any one second node behind the first node according to the trigger of the fifth judging unit, so that the second node and all nodes behind the second node process the user service data transferred from the first node, and send a service recovery instruction to the network management equipment corresponding to the user.
Wherein, the device still includes:
and the determining module is used for determining that the instruction response message returned by the network management equipment corresponding to the user is received.
In the second embodiment of the present invention, the apparatus may monitor an interruption state of a user service data flow, and when it is monitored that the user service data flow enters a recovery state from interruption, scan each node of a system for recovering user service data, determine whether an abnormal first node exists in the system, and when the abnormal first node exists in the system, collect user service data in the first node, and send a recovery service instruction to a network management device corresponding to a user, so that the network management device recovers the collected user service data, thereby achieving the purpose of recovering the user service data in time (for example, recovering the internet access function of the user within 2 minutes) in case that the system for recovering the user service data is abnormal, and improving the user experience effect.
In the second embodiment of the present invention, the device may convert the connection information (e.g., IP address, etc.) of the network management device into a format that can be recognized by itself and store the converted connection information in a local area, so as to facilitate the device to send a service restoration instruction to the gateway device.
It should be noted that the above apparatus is suitable for data interaction of each network element (for example, a home location register, etc.) in a traditional operator support domain and a network management domain, and is also suitable for quick and unaware recovery of user service data under the condition of interruption of user service data, and is also suitable for quick and unaware recovery of user service data under the condition of abnormal interaction between any other peripheral platform (for example, a virtual operator, etc.) and a traditional operator system domain. In addition, the apparatus for recovering user service data provided by the second embodiment of the present invention is an apparatus applying the method described above, that is, all embodiments of the method described above are applicable to the apparatus, and can achieve the same or similar beneficial effects.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (22)

1. A method for recovering user traffic data, the method comprising:
monitoring the interruption state of a user service data flow;
when it is monitored that a user service data flow enters a recovery state from interruption, scanning each node of a system for recovering user service data, and judging whether each node is abnormal or not;
when a first node with abnormality exists in all nodes of the system, user service data in the first node is collected;
and sending a service recovery instruction to the network management equipment corresponding to the user, so that the network management equipment recovers the user service data after receiving the service recovery instruction.
2. The method of claim 1, wherein the collecting user traffic data in the first node specifically comprises:
judging the number of first nodes in the system;
when a plurality of first nodes exist in the system, acquiring the service codes and the service process codes of the first nodes needing to acquire user service data;
acquiring user service data in the first nodes needing to acquire the user service data in a segmented manner according to the service codes, the service process codes, the abnormal occurrence time and the preset acquisition time length of each first node needing to acquire the user service data;
when only one first node exists in the system, user service data in the first node is acquired in a segmented manner according to the abnormal occurrence moment, the preset acquisition time length, and the service code and the service flow code which are configured for the first node in advance.
3. The method according to claim 2, wherein the acquiring the service code and the service flow code of each first node of the user service data to be collected specifically comprises:
acquiring a service code, a service process code and a service process code serial-parallel mark configured for each node in the system;
and acquiring the service code and the service flow code of each first node of the user service data to be acquired according to the service code, the service flow code and the service flow code serial-parallel mark of each node in the system.
4. The method of claim 1, wherein the sending the service restoration instruction to the network management device corresponding to the user specifically includes:
judging whether the first node needs to be accurately judged according to an accurate judgment rule configured for each node of the system in advance;
when the first node needs to be accurately judged, further judging whether an environment for accurately judging the first node is available or not;
when the environment for accurately judging the first node is available, judging whether the user meets a special scene filtering rule or not according to a special scene filtering rule configured for the user in advance;
when the user does not meet the special scene filtering rule, generating a recovery service instruction according to a preset first recovery instruction generation rule, and sending the recovery service instruction to network management equipment corresponding to the user;
and when the user meets the special scene filtering rule, ending the process.
5. The method of claim 4, wherein prior to said determining whether the first node requires an accurate determination, the method further comprises:
and acquiring an accurate judgment rule configured for each node in the system.
6. The method of claim 4, wherein prior to said determining whether said user satisfies a special scene filtering rule, said method further comprises:
and acquiring a special scene filtering rule configured for the user.
7. The method of claim 4, wherein said determining whether an environment for accurately determining said first node is available comprises:
judging whether nodes behind the first node in the system can normally operate or not and whether information required for accurate judgment can be normally acquired or not;
when the nodes behind the first node can normally operate and can normally acquire information required for accurate judgment, determining that the environment for accurately judging the first node is available;
and when the nodes behind the first node cannot normally operate and/or cannot normally acquire the information required for accurate judgment, determining that the environment for accurately judging the first node is unavailable.
8. The method of claim 4, wherein the method further comprises:
and when the first node does not need to perform accurate judgment, generating a recovery service instruction according to a preset second recovery instruction generation rule, and sending the recovery service instruction to the network management equipment corresponding to the user.
9. The method of claim 4, wherein the method further comprises:
and when the environment for accurately judging the first node is unavailable, generating a recovery service instruction according to a preset third recovery instruction generation rule, and sending the recovery service instruction to the network management equipment corresponding to the user.
10. The method of claim 1, wherein the sending the service restoration instruction to the network management device corresponding to the user specifically includes:
judging whether the first node is the last node in the system;
when the first node is not the last node in the system, transferring the user service data in the first node to any second node behind the first node, so that the second node and all nodes behind the second node process the user service data transferred from the first node, and send a service recovery instruction to the network management equipment corresponding to the user.
11. The method according to claim 1, wherein before the sending the service restoration instruction to the network management device corresponding to the user, the method further comprises:
and determining to receive an instruction response message returned by the network management equipment corresponding to the user.
12. An apparatus for recovering user traffic data, the apparatus comprising:
the monitoring module is used for monitoring the interruption state of the user service data flow;
the system comprises a scanning module, a collecting module and a processing module, wherein the scanning module is used for scanning each node of a system for recovering user service data when monitoring that a user service data flow enters a recovery state from interruption, judging whether each node is abnormal or not, and triggering the collecting module when a first node with abnormality exists in each node of the system;
the acquisition module is used for acquiring user service data in the first node according to the triggering of the scanning module;
and the sending module is used for sending a service recovery instruction to the network management equipment corresponding to the user, so that the network management equipment recovers the user service data after receiving the service recovery instruction.
13. The apparatus of claim 12, wherein the acquisition module comprises:
the first judging unit is used for judging the number of the first nodes in the system;
the acquisition unit is used for acquiring the service codes and the service process codes of all the first nodes needing to acquire the user service data when a plurality of first nodes exist in the system;
the first acquisition unit is used for acquiring the user service data in the first nodes of the user service data to be acquired in a segmented manner according to the service codes, the service process codes, the abnormal occurrence time and the preset acquisition time length of each first node of the user service data to be acquired;
and the second acquisition unit is used for acquiring the user service data in the first node in a segmented manner according to the abnormal occurrence moment, the preset acquisition time length, the service code and the service process code which are configured for the first node in advance when only one first node exists in the system.
14. The apparatus of claim 13, wherein the obtaining unit comprises:
the first subunit is used for acquiring the service codes, the service process codes and the service process code serial-parallel marks configured for each node in the system;
and the second subunit is used for acquiring the service codes and the service process codes of the first nodes of the user service data to be acquired according to the service codes, the service process codes and the service process code serial-parallel marks of the nodes in the system.
15. The apparatus of claim 12, wherein the sending module comprises:
the second judging unit is used for judging whether the first node needs to be accurately judged according to an accurate judging rule configured for each node of the system in advance and triggering a third judging unit when the first node needs to be accurately judged;
a third judging unit, configured to further judge whether an environment for accurately judging the first node is available according to the triggering of the second judging unit, and trigger a fourth judging unit when the environment for accurately judging the first node is available;
a fourth judging unit, configured to judge whether the user satisfies a special scene filtering rule according to the trigger of the third judging unit and further according to a special scene filtering rule configured in advance for the user, trigger the generating unit when the user does not satisfy the special scene filtering rule, and end the process when the user satisfies the special scene filtering rule;
and the generating unit is used for generating a recovery service instruction according to the trigger of the fourth judging unit and a preset first recovery instruction generating rule, and sending the recovery service instruction to the network management equipment corresponding to the user.
16. The apparatus of claim 15, wherein the apparatus further comprises:
and the first acquisition module is used for acquiring the accurate judgment rule configured for each node in the system.
17. The apparatus of claim 15, wherein the apparatus further comprises:
and the second acquisition module is used for acquiring the special scene filtering rule configured for the user.
18. The apparatus of claim 15, wherein the third determination unit comprises:
the third subunit is used for judging whether a node behind the first node in the system can normally operate or not and normally acquiring information required for accurate judgment or not, triggering the fourth subunit when the node behind the first node can normally operate and can normally acquire the information required for accurate judgment, and triggering the fifth subunit when the node behind the first node cannot normally operate and/or cannot normally acquire the information required for accurate judgment;
the fourth subunit is used for determining that the environment for accurately judging the first node is available according to the triggering of the third subunit;
and the fifth subunit is used for determining that the environment for accurately judging the first node is unavailable according to the triggering of the third subunit.
19. The apparatus of claim 15, wherein the apparatus further comprises:
and the first generation module is used for generating a service restoration instruction according to a preset second restoration instruction generation rule when the first node does not need to be accurately judged, and sending the service restoration instruction to the network management equipment corresponding to the user.
20. The apparatus of claim 15, wherein the apparatus further comprises:
and the second generation module is used for generating a recovery service instruction according to a preset third recovery instruction generation rule when the environment for accurately judging the first node is unavailable, and sending the recovery service instruction to the network management equipment corresponding to the user.
21. The apparatus of claim 12, wherein the sending module comprises:
a fifth judging unit, configured to judge whether the first node is a last node in the system, and trigger the transfer unit when the first node is not the last node in the system;
and a transfer unit, configured to transfer the user service data in the first node to any one second node after the first node according to the trigger of the fifth determining unit, so that the second node and all nodes after the second node process the user service data transferred from the first node, and send a service restoration instruction to the network management device corresponding to the user.
22. The apparatus of claim 12, wherein the apparatus further comprises:
and the determining module is used for determining that the instruction response message returned by the network management equipment corresponding to the user is received.
CN201510552272.7A 2015-09-01 2015-09-01 Method and device for recovering user service data Active CN106488489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510552272.7A CN106488489B (en) 2015-09-01 2015-09-01 Method and device for recovering user service data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510552272.7A CN106488489B (en) 2015-09-01 2015-09-01 Method and device for recovering user service data

Publications (2)

Publication Number Publication Date
CN106488489A CN106488489A (en) 2017-03-08
CN106488489B true CN106488489B (en) 2020-02-18

Family

ID=58237747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510552272.7A Active CN106488489B (en) 2015-09-01 2015-09-01 Method and device for recovering user service data

Country Status (1)

Country Link
CN (1) CN106488489B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818489B (en) * 2019-04-11 2023-04-25 中国移动通信集团山东有限公司 Service opening time prediction method and service opening monitoring system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159889A (en) * 2007-11-09 2008-04-09 中国移动通信集团广东有限公司 Service operation support standby system
CN101646105A (en) * 2008-08-07 2010-02-10 华为技术有限公司 Method, system and equipment for service recovery
CN101729305A (en) * 2008-10-28 2010-06-09 华为技术有限公司 Method and system for automatically restoring fault, and control network element
CN202160184U (en) * 2010-09-02 2012-03-07 罗显平 Large-area fault interception system
CN102447798A (en) * 2010-09-30 2012-05-09 中国移动通信集团浙江有限公司 Recharge-for-recovery method and device
CN102761429A (en) * 2011-04-28 2012-10-31 中国移动通信集团河北有限公司 Abnormal bill processing method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IN2013MU02965A (en) * 2013-09-13 2015-07-03 Tech Mahindra Ltd

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159889A (en) * 2007-11-09 2008-04-09 中国移动通信集团广东有限公司 Service operation support standby system
CN101646105A (en) * 2008-08-07 2010-02-10 华为技术有限公司 Method, system and equipment for service recovery
CN101729305A (en) * 2008-10-28 2010-06-09 华为技术有限公司 Method and system for automatically restoring fault, and control network element
CN202160184U (en) * 2010-09-02 2012-03-07 罗显平 Large-area fault interception system
CN102447798A (en) * 2010-09-30 2012-05-09 中国移动通信集团浙江有限公司 Recharge-for-recovery method and device
CN102761429A (en) * 2011-04-28 2012-10-31 中国移动通信集团河北有限公司 Abnormal bill processing method and system

Also Published As

Publication number Publication date
CN106488489A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN106130761B (en) The recognition methods of the failed network device of data center and device
WO2017041406A1 (en) Failure positioning method and device
CN109654666B (en) Method, device and equipment for debugging unit
CN104301136A (en) Method and equipment for reporting and processing fault information
CN108833172B (en) Network fault alarm processing method and device and network system
EP3958508A1 (en) Data processing method and device, storage medium and electronic device
CN106533724B (en) Method, device and system for monitoring and optimizing Network Function Virtualization (NFV) network
CN101640818B (en) Protection device and protection method of optical network
CN111010298B (en) PON (passive optical network) network fault monitoring method and device
CN110445697B (en) Video big data cloud platform equipment access service method
CN105704789A (en) Method and device for restoring network connection
CN114301818A (en) Service flow detection method, device, system, terminal and storage medium
CN109257218B (en) Island self-healing method of network system based on SNMP protocol
CN112118600B (en) Flow traction system under 5G independent networking SA architecture
CN106488489B (en) Method and device for recovering user service data
CN102882887A (en) Smooth software updating method and equipment
CN108696433A (en) Route flapping suppressing method and BGP routing devices
CN110224872B (en) Communication method, device and storage medium
CN112532418A (en) Charging equipment of electric transportation tool and automatic fault removing method thereof
CN114071391B (en) Content charging test method, management device, terminal device and storage medium
JP2008244902A (en) Failure recovery apparatus, failure recovery method, and failure recovery system
CN110635954A (en) Method and system for processing network fault of data center
CN101917699B (en) Random reported signaling tracking method and device based on users
CN101945413B (en) Alarm information processing method and device
CN113629878B (en) Remote control verification method and system for three-remote switch of power distribution network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231219

Address after: No.19, Jiefang East Road, Hangzhou, Zhejiang Province, 310000

Patentee after: CHINA MOBILE GROUP ZHEJIANG Co.,Ltd.

Patentee after: China Mobile (Zhejiang) Innovation Research Institute Co.,Ltd.

Address before: 310006 No. 288 North Ring Road, Zhejiang, Hangzhou

Patentee before: CHINA MOBILE GROUP ZHEJIANG Co.,Ltd.