CN108540298B - Method and device for automatically processing garbage service - Google Patents

Method and device for automatically processing garbage service Download PDF

Info

Publication number
CN108540298B
CN108540298B CN201710119819.3A CN201710119819A CN108540298B CN 108540298 B CN108540298 B CN 108540298B CN 201710119819 A CN201710119819 A CN 201710119819A CN 108540298 B CN108540298 B CN 108540298B
Authority
CN
China
Prior art keywords
service
garbage
protection
services
repairable
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
CN201710119819.3A
Other languages
Chinese (zh)
Other versions
CN108540298A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710119819.3A priority Critical patent/CN108540298B/en
Publication of CN108540298A publication Critical patent/CN108540298A/en
Application granted granted Critical
Publication of CN108540298B publication Critical patent/CN108540298B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors

Landscapes

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

Abstract

The invention discloses a method and a device for automatically processing garbage service, which relate to the technical field of data communication, and the method comprises the following steps: classifying all the garbage services into repairable services and cleanable garbage services; repairing the service missing segment of the repairable service to form a complete end-to-end service; and deleting the cleanable garbage service and repairing the deleted protection service capable of repairing the service. The invention integrates analysis, repair and cleaning, reduces the workload of current network maintenance and improves the network stability.

Description

Method and device for automatically processing garbage service
Technical Field
The present invention relates to the field of data communications technologies, and in particular, to a method and an apparatus for automatically processing a spam service.
Background
In the operation and maintenance of a communication network, a great amount of garbage services are generated due to service abnormality caused by various inevitable operations, and the services occupy a great amount of resources and generate alarms. The reasons for generating the garbage services are complex, some of the garbage services are useless, some of the garbage services are still useful, the garbage services are very troublesome to process, and the garbage services become a problem for maintaining the engineering existing network. The traditional garbage service processing method is generally characterized in that one judgment is carried out manually, which services need to be cleaned and which services need to be repaired are difficult to distinguish manually, and the cleaned services and the repaired services which are distinguished are difficult to clean and repair, because complex dependency relationships and complex configurations are often carried out among service objects, such as the relationship between a client layer and a service layer, the relationship between work and protection, the dependency of upstream and downstream parameter configurations, the logical verification of parameters and the like, the processing is complex, the efficiency is low, the risk of service interruption is possible, and the requirement on operators is high.
Disclosure of Invention
The technical problem solved by the scheme provided by the embodiment of the invention is that the operation complexity of repairing and cleaning the garbage service is higher.
The method for automatically processing the garbage service provided by the embodiment of the invention comprises the following steps:
classifying all the garbage services into repairable services and cleanable garbage services;
repairing the service missing segment of the repairable service to form a complete end-to-end service;
and deleting the cleanable garbage service and repairing the deleted protection service capable of repairing the service.
Preferably, the repairable service includes a must-repair service and a proposed-repair service.
Preferably, the classifying all the garbage traffics into repairable traffic and cleanable garbage traffic includes:
judging whether each junk service bears a client layer or not, and if not, classifying the junk services into cleanable junk services;
if the spam bears the client layer, further judging whether the spam has a protection relationship, and if the spam has no protection relationship, classifying the spam into cleanable spam;
if the garbage service has a protection relation, the garbage service is classified into a repairable service and a cleanable garbage service by judging whether the working service, the protection service and the client layer service are abnormal or not.
Preferably, the classifying the service into the repairable service and the cleanable garbage service by determining whether the working service, the protection service and the client layer service are abnormal includes:
and if the working service and the protection service corresponding to the spam service with the protection relationship are judged to be abnormal, or the client layer service corresponding to the spam service with the protection relationship is judged to be abnormal, classifying the spam service into a cleanable spam service.
Preferably, the classifying the service into the repairable service and the cleanable garbage service by judging whether the service of the working layer, the service of the protection layer and the service of the client layer are abnormal or not includes:
if the protection service and the client layer service corresponding to the garbage service with the protection relationship are normal and the working service is abnormal, classifying the garbage service into a service which needs to be repaired;
if the working service and the client layer service corresponding to the garbage service with the protection relationship are normal and the protection service is abnormal, classifying the garbage service into a suggested repair service.
Preferably, the repairing the repairable service into a complete end-to-end service by performing the repair processing on the service-missing node of the repairable service includes:
repairing the service which needs to be repaired into a complete end-to-end service by repairing one or more missing nodes of the working service of the service which needs to be repaired;
wherein the service which must be repaired includes abnormal service which must be repaired and isolated service which must be repaired.
Preferably, the repairing the repairable service into a complete end-to-end service by performing the repair processing on the service-missing node of the repairable service includes:
and according to the repair selection of the user, repairing one or more missing nodes of the protection service of the proposed repair service, so that the proposed repair service is repaired into a complete end-to-end service.
The device for automatically processing the garbage service provided by the embodiment of the invention comprises the following components:
the classification module is used for classifying all the garbage services into repairable services and cleanable garbage services;
a repair module, configured to repair a service-missing node of the repairable service to a complete end-to-end service;
and the cleaning module is used for deleting the cleanable garbage service and repairing the deleted protection service capable of repairing the service.
Preferably, the repairable service includes a must-repair service and a proposed-repair service.
Preferably, the classification module comprises:
the system comprises a judging unit and a judging unit, wherein the judging unit is used for judging whether each junk service bears a client layer or not, if the client layer is not borne by the junk services, the junk services are classified into cleanable junk services, if the client layer is borne by the junk services, whether a protection relation exists or not is further judged, if the client layer is not borne by the junk services, the junk services are classified into cleanable junk services, and if the junk services have the protection relation, the working services, the protection services and the client layer services are judged to be abnormal or not to be classified into repairable services and cleanable junk services.
A computer-readable storage medium according to an embodiment of the present invention includes a processor and a memory, wherein the memory is configured to store executable program code; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the steps of:
classifying all the garbage services into repairable services and cleanable garbage services;
repairing the service missing segment of the repairable service to form a complete end-to-end service;
and deleting the cleanable garbage service and repairing the deleted protection service capable of repairing the service.
According to the scheme provided by the embodiment of the invention, the automatic analysis function is combined with the on-off of the garbage service, and the garbage service is quickly analyzed and processed, so that the garbage service which is quickly repaired and cleaned in batches is realized, the efficiency and the accuracy of the processing of the garbage service are improved, the safety of the cleaning process is ensured, and the operation threshold and the workload are reduced.
Drawings
Fig. 1 is a flowchart of a method for automatically processing a spam service according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an apparatus for automatically processing spam services according to an embodiment of the present invention;
FIG. 3 is a flow chart of analysis of spam provided by an embodiment of the present invention;
FIG. 4 is a flowchart of a garbage service repair process provided by an embodiment of the present invention;
FIG. 5 is a schematic diagram of a single node configuration miss according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a plurality of node configuration deletions according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and it should be understood that the preferred embodiments described below are only for the purpose of illustrating and explaining the present invention, and are not to be construed as limiting the present invention.
Fig. 1 is a flowchart of a method for automatically processing a spam service according to an embodiment of the present invention, as shown in fig. 1, including:
step S101: classifying all the garbage services into repairable services and cleanable garbage services;
step S102: repairing the service missing segment of the repairable service to form a complete end-to-end service;
step S103: and deleting the cleanable garbage service and repairing the deleted protection service capable of repairing the service.
Wherein the repairable service comprises a must-repair service and a proposed repair service.
Wherein the classifying all the garbage services into repairable services and cleanable garbage services comprises: judging whether each spam service bears a client layer or not, and if the spam service does not bear the client layer, classifying the spam service into cleanable spam service; if the garbage service bears the client layer, whether the garbage service has a protection relation is further judged, and if the garbage service does not have the protection relation, the garbage service is classified as a cleanable garbage service; if the garbage service has a protection relation, classifying the garbage service into a repairable service and a garbage cleanable service by judging whether the working service, the protection service and the client layer service are abnormal or not.
The classifying the service into the repairable service and the garbage cleanable service by judging whether the working service, the protection service and the client layer service are abnormal or not comprises the following steps: and if the working service and the protection service corresponding to the spam service with the protection relationship are judged to be abnormal, or the client layer service corresponding to the spam service with the protection relationship is judged to be abnormal, classifying the spam service into cleanable spam service.
The classifying the service into the repairable service and the garbage cleanable service by judging whether the working service, the protection service and the client layer service are abnormal or not comprises the following steps: if the protection service and the client layer service corresponding to the garbage service with the protection relationship are normal and the working service is abnormal, classifying the garbage service into a service which needs to be repaired; if the working service and the client layer service corresponding to the garbage service with the protection relationship are normal and the protection service is abnormal, classifying the garbage service into a suggested repair service.
Wherein, the repairing the service missing node of the repairable service to a complete end-to-end service includes: repairing the service which needs to be repaired into a complete end-to-end service by repairing one or more missing nodes of the working service of the service which needs to be repaired; wherein, the service which must be repaired comprises abnormal service which must be repaired and isolated service which must be repaired; the end-to-end services include end-to-end service layer services and end-to-end client layer services.
Wherein, the repairing the service missing node of the repairable service to a complete end-to-end service includes: according to the repair selection of a user, repairing one or more missing nodes of the protection service of the proposed repair service to enable the proposed repair service to be repaired into a complete end-to-end service; wherein the end-to-end service comprises an end-to-end service layer service and an end-to-end client layer service.
Analyzing abnormal conditions of the service to be repaired into single-node loss and multi-section loss; the filling and matching missing segment is automatically filled and configured in batch for the single-node missing; for the multi-node missing, the missing routing nodes are compensated by recalculating the routing, and the abnormal service is repaired into a finished end-to-end service layer service and an end-to-end client layer service by compensation.
Fig. 2 is a schematic diagram of an apparatus for automatically processing a spam service according to an embodiment of the present invention, as shown in fig. 2, including: a classification module 201, configured to classify all the garbage services into repairable services and cleanable garbage services; a repair module 202, configured to repair a service-missing node of the repairable service to a complete end-to-end service; the cleaning module 203 is configured to delete the cleanable garbage service and repair the deleted protection service that is capable of repairing the service.
Wherein the repairable service comprises a necessary repair service and a proposed repair service.
Wherein the classification module 201 comprises: the system comprises a judging unit and a judging unit, wherein the judging unit is used for judging whether each junk service bears a client layer or not, if the junk service does not bear the client layer, the junk service is classified into a cleanable junk service, if the junk service bears the client layer, whether a protection relation exists or not is further judged, if the junk service does not have the protection relation, the junk service is classified into a cleanable junk service, and if the junk service has the protection relation, the junk service is classified into a repairable service and a cleanable junk service by judging whether a working service, a protection service and a client layer service of the junk service are abnormal or not.
Wherein the judging unit includes: the first sub-judgment unit is used for classifying the garbage service with the protection relationship into a cleanable garbage service if the working service and the protection service corresponding to the garbage service with the protection relationship are judged to be abnormal or the client layer service corresponding to the garbage service with the protection relationship is judged to be abnormal; and the second sub-judgment unit is used for classifying the protection business corresponding to the garbage business with the protection relationship into a business which needs to be repaired if the protection business and the client layer business corresponding to the garbage business with the protection relationship are normal and the working business is abnormal, and classifying the working business corresponding to the garbage business with the protection relationship into a suggested repair business if the working business and the client layer business corresponding to the garbage business with the protection relationship are normal and the protection business is abnormal.
The repair module 202 is specifically configured to repair one or more missing nodes of the working service of the service that needs to be repaired, so that the service that needs to be repaired is repaired into a complete end-to-end service; wherein, the service which must be repaired comprises abnormal service which must be repaired and isolated service which must be repaired; the end-to-end services include end-to-end service layer services and end-to-end client layer services.
The repair module 202 is specifically configured to perform repair processing on one or more missing nodes of the protection service of the proposed repair service according to a repair selection of a user, so that the proposed repair service is repaired into a complete end-to-end service; wherein the end-to-end service comprises an end-to-end service layer service and an end-to-end client layer service.
The computer-readable storage medium provided by the embodiment of the invention comprises a processor and a memory, wherein the memory is used for storing executable program codes; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the steps of:
classifying all the garbage services into repairable services and cleanable garbage services;
repairing the service missing segment of the repairable service to form a complete end-to-end service;
and deleting the cleanable garbage service and repairing the deleted protection service capable of repairing the service.
The spam service of the embodiment of the invention comprises abnormal service and isolated service, wherein the abnormal service refers to non-terminal service layer service, a complete end-to-end service is not formed, for example, due to the loss of certain service configuration and the like, the complete end-to-end service is segmented into a plurality of segments. Isolated traffic here refers to single-network element traffic data that does not form end-to-end traffic.
Wherein the abnormal traffic classification comprises: abnormal traffic must be repaired, repair traffic is recommended, and garbage traffic can be cleaned up. The client layer service corresponding to the abnormal service must be repaired, the service works on the protection service at present, the working service is abnormal, and the service is interrupted after the abnormal service is cleaned; the method comprises the steps that the abnormal service layer service is recommended to be repaired, the service of a client layer is connected, the service works on a working service at present, the protection service is abnormal, and the protection service needs to be supplemented in time after the abnormal service is cleaned; abnormal service can be cleared to indicate that the client layer service is disconnected or has no client layer service, and repair is not needed. The abnormal service system which needs to be repaired is automatically locked and cannot be deleted by the user, so that the service is prevented from being broken.
Fig. 3 is a flowchart of a spam analysis provided in an embodiment of the present invention, as shown in fig. 3, including:
the first step is as follows: finding out idle abnormal services (without bearing a client layer) from all the abnormal services, and classifying the idle abnormal services as service capable of clearing the abnormal service layer.
The second step is that: and judging whether protection exists from the rest garbage services, if not, classifying the protection as the service capable of cleaning the abnormal service layer, and analyzing the abnormal service with the protection in the third step.
The third step: and further analyzing the abnormal service with protection, and classifying the abnormal service into the service capable of clearing the abnormal service layer if the corresponding working service and the corresponding protection service are abnormal. If not, the client layer corresponding to the client layer is required to be further found whether to be communicated, and the fourth step is carried out.
The fourth step: for the abnormal working service and the complete protection service, after finding the opposite end through the protection service, finding the corresponding client layer from the isolated service, further judging whether the service of the client layer is open, if yes, the abnormal service is classified as the abnormal service which needs to be repaired; if not, the service is classified as abnormal service layer service cleaning.
The fifth step: for the abnormal protection service and the complete working service, further judging whether the service of the client layer is communicated, if so, classifying the service as the suggested repair service; if not, the service is classified as abnormal service layer service cleaning.
Fig. 4 is a flowchart of a repair process of a spam service according to an embodiment of the present invention, as shown in fig. 4, including:
(1) for abnormal services which need to be repaired, a project generally has multiple sections, an opposite end needs to be found at first, and the opposite end is found according to corresponding protection services. The opposite end may be an abnormal service or an isolated service.
(2) Analyzing the reason of the abnormal service according to the found opposite end, judging whether the opposite end points to the same node or not according to the next hop of the abnormal service at the two ends, wherein the link to the next hop node is good, and the abnormal condition is caused by the configuration loss of only one node; if the node points to a different next-hop node, the exception is caused by the configuration missing of a plurality of nodes or the missing of a service layer link.
(3) And for automatic batch complementing configuration of single node missing, automatically complementing when analyzing the abnormal reason, restoring the abnormal service into a complete end-to-end service, and removing the complete end-to-end service from the abnormal service.
(4) For the missing of a plurality of nodes or the missing of a service layer link, the routes are required to be recalculated, the routes are automatically calculated in batch from the two missing ends, the missing routes are supplemented, the abnormal service is repaired into a complete end-to-end service, and the complete end-to-end service is removed from the abnormal service. If the route is failed to be calculated, a mark to be repaired is automatically marked, and the user is prevented from deleting the route by mistake.
(5) And further repairing the isolated client layer service caused by the service layer abnormity into a finished end-to-end service, and deleting the service from the corresponding isolated service. And forming an end-to-end service for the isolated client layer service which fails to repair the abnormal service of the service layer, and marking the service to be repaired.
Wherein, the service for suggested repair comprises: the user can select to repair or not to repair, if the user selects not to repair, the service cleaning processing is carried out, and the protection service is needed to be repaired after the service cleaning. If repair is selected, the above steps (1) - (5) are employed.
The inquiring and clearing isolated service comprises the following steps: cleaning isolated client layer services and providing batch deletion of isolated clients; and cleaning isolated service layer services and protection groups and providing batch deletion operation.
The abnormal service clearing method comprises the following steps:
1. for deletable abnormal traffic, the user may choose to delete automatically by the system and delete with manual intervention.
2. When the system automatically deletes, the deletion is carried out item by item according to the sequence, and one-key deletion is provided, including deletion together with protection.
3. The deletion is manually intervened, and the deletion can be selected not to be performed or to be performed by selecting a certain abnormal service.
4. When the repairable abnormal service is cleared, the service is deleted and then the protection service is required to be supplemented, so that the service safety is ensured.
As shown in fig. 5 and fig. 6, the clearing and repairing of Packet Transport Network (PTN) spam traffic will be described in detail:
the PTN junk service refers to an abnormal tunnel and an isolated service, wherein the abnormal tunnel comprises an A-end non-terminated static tunnel, a Z-end non-terminated static tunnel and two-end non-terminated static tunnels. Isolated service support: isolated pseudowires, isolated TDM (Time Division Multiplexing) traffic, isolated ethernet traffic, isolated tunnels.
The implementation steps are as follows:
1, analyzing the non-terminated tunnel of the whole network:
(1) and (2) according to whether the abnormal tunnel bears the client layer, classifying the abnormal tunnel without bearing the client layer as a cleanable tunnel, and switching the tunnel with the client layer to (2) to continue analysis.
(2) And judging whether the residual abnormal tunnels with the client layer have protection or not, and classifying the abnormal tunnels without protection as cleanable tunnels, because the client layer service is definitely broken and is not needed to be repaired. And (3) continuing analyzing the abnormal tunnel with the protection.
(3) And analyzing whether the abnormal tunnel with protection corresponds to the working tunnel or the protection tunnel, if so, classifying the tunnel into a cleanable garbage service, which indicates that the service is broken and is not necessary to be repaired.
(4) The analysis work is an abnormal tunnel and the protection is complete, whether the client layer service is connected or not is further judged, and if yes, the client layer service is classified as the abnormal tunnel which needs to be repaired; if not, the abnormal tunnel can be cleared.
(5) Analyzing whether the protection is an abnormal tunnel and the work is complete, further judging whether the client layer service is communicated, if so, resolving to be a repairable abnormal tunnel; if not, the abnormal tunnel can be cleared.
According to the above analysis, the abnormal tunnels are classified as: non-terminating tunnels that must be repaired (the client layer is a complete working only non-terminating tunnel), abnormal tunnels that are proposed to be repaired (the client layer is a complete protection only non-terminating tunnel), abnormal tunnels that can be cleaned up. Wherein, the abnormal tunnel that can clear up further divide into: no-load non-terminated tunnels (without a client layer), unprotected non-terminated tunnels, working-only non-terminated tunnels with an incomplete client layer, protective-only non-terminated tunnels with an incomplete client layer, and non-terminated tunnels with both working and protection, which facilitate subsequent cleanup operations.
2, repairing the abnormal tunnel which needs to be repaired:
the abnormal tunnel must be repaired, which means that a plurality of services work on the protection tunnel and are communicated, and the services have potential safety hazards and need to be repaired as soon as possible. The aim of repair is to make the abnormal tunnel become a complete end-to-end tunnel and an isolated customer service form a complete end-to-end service. The repair process comprises the following steps:
(1) the abnormal tunnel is generally broken into a plurality of sections in engineering, and the abnormal tunnel needs to be broken into a plurality of sections to be repaired into a complete end-to-end tunnel. Firstly, an opposite end needs to be found, and an abnormal tunnel or an isolated tunnel at the other end is found according to the relation between the complete protection tunnel and the protection group. As shown in fig. 5, the APE-ZPE originally is a complete tunnel, and the middle P node configuration is missing to cause the complete tunnel to be broken into two sections: APE-P2, ZPE-P3. As shown in fig. 6, the APE-ZPE originally is a complete tunnel, and the configuration of a plurality of nodes in the middle is missing, so that the complete tunnel is broken into two sections: APE-P1, ZPE-P4, P2 and P3 nodes represent configuration misses.
(2) Analyzing the reason of tunnel abnormity according to the tunnels at the two ends, if the next hops of the network elements at the two ends point to the same network element and the link to the network element of the next hop is good, indicating that the tunnel abnormity is caused only by the configuration loss of one node in the middle; if the node points to a different next-hop node, the exception is caused by the configuration missing of a plurality of nodes or the missing of a service layer link.
(3) For the automatic batch complement configuration of single node missing, automatically complement when analyzing the abnormal reason, and repair the abnormal service into a complete end-to-end service, and remove from the abnormal tunnel, as shown in fig. 5.
(4) For the missing of multiple nodes or the missing of links in the service layer, the missing segments need to be recalculated for routing, the system calculates the routes in batch automatically to complement the missing segments, and restores the abnormal traffic into a complete end-to-end tunnel and removes the abnormal traffic from the abnormal tunnel, as shown in fig. 6.
(5) And (3) for repairing the abnormal tunnel automatically repaired to complete the normal static tunnel, further forming the client layer isolated service (isolated pseudo wire, isolated TDM and isolated Ethernet) into a complete end-to-end pseudo wire and end-to-end service, and removing the end-to-end pseudo wire and the end-to-end service from the isolated service.
Repair client layer complete protection only non-terminating tunnels:
the client layer completely only protects the non-terminal tunnel means that the working tunnel is good, the protection tunnel is bad, a user can select to repair the protection tunnel, and the protection tunnel can be repaired as much as possible in automatic batch repair according to the method for repairing the non-terminal tunnel, so that the protection tunnel is guaranteed to be good. The tunnel identification which cannot be repaired can be cleaned up and a protection tunnel is needed to be repaired.
And 4, after the previous three steps are implemented, the isolated service can be cleared.
Inquiring isolated service of the whole network, and dividing the service into: isolated ethernet traffic, isolated TDM traffic, isolated pseudowires, isolated tunnels. When cleaning, deleting according to the sequence of deleting the client layer first and then deleting the service layer, ensuring the success of deleting the isolated service: and deleting isolated Ethernet service, TDM service, isolated pseudo wires and isolated tunnels. Meanwhile, the associated protection groups can be deleted together when the isolated pseudo wires and the isolated tunnels are deleted.
And 5, after the isolated service is cleaned up, further cleaning up the non-terminated abnormal tunnel.
When the abnormal tunnels are cleared, the abnormal tunnels are deleted one by one according to the sequence, and the empty load non-terminal tunnels, the unprotected non-terminal tunnels, the tunnels which are not terminated in working and protection, and the tunnels which are only terminated in working and protection are incomplete in a client layer are deleted firstly.
6, for the tunnel which is only protected by the client layer and is not terminated, after the protection tunnel is deleted, the corresponding complete working tunnel is listed, and a user is prompted to need to supplement the protection tunnel in time.
According to the scheme provided by the embodiment of the invention, the analysis, the repair and the cleaning are integrated at the same time, the garbage service is analyzed and processed at one time, a user can know the condition of the garbage service at a glance, safe and reliable automatic repair and cleaning are provided, the field operation threshold is greatly reduced, and the efficiency is greatly improved; the garbage services are subjected to global classification, services which need to be repaired and services which can be cleaned are rapidly identified, and the complexity and workload of repair analysis can be greatly reduced; the method has the advantages that the automatic repairing function is provided for abnormal services which need to be repaired, and the marks are marked to control the user to be deleted by mistake, so that the user can be effectively prevented from being deleted by mistake, and the safety of user operation is improved; the garbage cleaning service provides automatic cleaning and manual intervention cleaning, and is flexible and convenient.
Although the present invention has been described in detail hereinabove, the present invention is not limited thereto, and various modifications can be made by those skilled in the art in light of the principle of the present invention. Thus, modifications made in accordance with the principles of the present invention should be understood to fall within the scope of the present invention.

Claims (11)

1. A method of handling spam traffic, comprising:
classifying all the garbage services into repairable services and cleanable garbage services;
repairing the service missing segment of the repairable service to form a complete end-to-end service;
and deleting the cleanable garbage service, and simultaneously supplementing a protection service to the deleted repairable service.
2. The method of claim 1, the repairable services comprising must repair services and proposed repair services.
3. The method of claim 2, the classifying all spam traffic into repairable traffic and cleanable spam traffic comprising:
judging whether each junk service bears a client layer or not, and if not, classifying the junk services into cleanable junk services;
if the garbage service bears the client layer, whether the garbage service has a protection relation is further judged, and if the garbage service does not have the protection relation, the garbage service is classified as a cleanable garbage service;
if the garbage service has a protection relation, classifying the garbage service into a repairable service and a garbage cleanable service by judging whether the working service, the protection service and the client layer service are abnormal or not.
4. The method of claim 3, wherein classifying the working traffic, the protection traffic, and the client layer traffic as recoverable traffic and cleanable garbage traffic by determining whether they are anomalous comprises:
and if the working service and the protection service corresponding to the spam service with the protection relationship are judged to be abnormal, or the client layer service corresponding to the spam service with the protection relationship is judged to be abnormal, classifying the spam service into a cleanable spam service.
5. The method of claim 3, wherein classifying the working traffic, protection traffic, and client layer traffic as recoverable traffic and cleanable spam traffic by determining whether they are anomalous comprises:
if the protection service and the client layer service corresponding to the garbage service with the protection relationship are normal and the working service is abnormal, classifying the garbage service into a service which needs to be repaired;
if the working service and the client layer service corresponding to the garbage service with the protection relationship are normal and the protection service is abnormal, classifying the garbage service into a suggested repair service.
6. The method of claim 5, wherein the repairing the repairable service into a complete end-to-end service by performing a repair process on a service-missing node of the repairable service comprises:
repairing the service which needs to be repaired into a complete end-to-end service by repairing one or more missing nodes of the working service of the service which needs to be repaired;
wherein the service which must be repaired includes abnormal service which must be repaired and isolated service which must be repaired.
7. The method of claim 5, wherein the repairing the repairable service into a complete end-to-end service by performing a repair process on a service-missing node of the repairable service comprises:
and according to the repair selection of the user, repairing one or more missing nodes of the protection service of the proposed repair service, so that the proposed repair service is repaired into a complete end-to-end service.
8. An apparatus for automatically processing garbage traffic, comprising:
the classification module is used for classifying all the garbage services into repairable services and cleanable garbage services;
a repair module, configured to repair a service-missing node of the repairable service to a complete end-to-end service;
and the cleaning module is used for deleting the cleanable garbage service and simultaneously supplementing the deleted repairable service with the protection service.
9. The apparatus of claim 8, the repairable services comprising a must-repair service and a proposed-repair service.
10. The apparatus of claim 9, the classification module comprising:
the system comprises a judging unit and a judging unit, wherein the judging unit is used for judging whether each junk service bears a client layer or not, if the junk service does not bear the client layer, the junk service is classified into a cleanable junk service, if the junk service bears the client layer, whether a protection relation exists or not is further judged, if the junk service does not have the protection relation, the junk service is classified into a cleanable junk service, and if the junk service has the protection relation, the junk service is classified into a repairable service and a cleanable junk service by judging whether a working service, a protection service and a client layer service of the junk service are abnormal or not.
11. A computer readable storage medium comprising a processor and a memory, wherein the memory is configured to store executable program code; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the steps of:
classifying all garbage services into repairable services and cleanable garbage services;
repairing the service missing segment of the repairable service to complete end-to-end service;
and deleting the cleanable garbage service, and simultaneously supplementing a protection service to the deleted repairable service.
CN201710119819.3A 2017-03-01 2017-03-01 Method and device for automatically processing garbage service Active CN108540298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710119819.3A CN108540298B (en) 2017-03-01 2017-03-01 Method and device for automatically processing garbage service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710119819.3A CN108540298B (en) 2017-03-01 2017-03-01 Method and device for automatically processing garbage service

Publications (2)

Publication Number Publication Date
CN108540298A CN108540298A (en) 2018-09-14
CN108540298B true CN108540298B (en) 2022-06-17

Family

ID=63488986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710119819.3A Active CN108540298B (en) 2017-03-01 2017-03-01 Method and device for automatically processing garbage service

Country Status (1)

Country Link
CN (1) CN108540298B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901160B (en) * 2020-07-15 2022-09-16 中盈优创资讯科技有限公司 Method and device for combing network equipment garbage strategy configuration

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798054A (en) * 2004-12-21 2006-07-05 华为技术有限公司 Optical network management system and method for implementing services from end-to-end
CN101027872A (en) * 2004-07-30 2007-08-29 阿尔卡特朗讯公司 Communication network management system for automatic fault repair
CN103188090A (en) * 2011-12-28 2013-07-03 中国移动通信集团江苏有限公司 Identification method and device for junk time slot of transmission network
CN103248510A (en) * 2012-02-14 2013-08-14 中兴通讯股份有限公司 Method and device for automatic recovery and reactivation of business
CN103501503A (en) * 2013-09-06 2014-01-08 大唐移动通信设备有限公司 Network problem analyzing method and network problem analyzing device
CN105790980A (en) * 2014-12-22 2016-07-20 中兴通讯股份有限公司 Fault recovery method and apparatus
CN106452829A (en) * 2016-01-21 2017-02-22 华南师范大学 Intelligent operation and maintenance method and system for cloud computation center based on BCC-KNN

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101027872A (en) * 2004-07-30 2007-08-29 阿尔卡特朗讯公司 Communication network management system for automatic fault repair
CN1798054A (en) * 2004-12-21 2006-07-05 华为技术有限公司 Optical network management system and method for implementing services from end-to-end
CN103188090A (en) * 2011-12-28 2013-07-03 中国移动通信集团江苏有限公司 Identification method and device for junk time slot of transmission network
CN103248510A (en) * 2012-02-14 2013-08-14 中兴通讯股份有限公司 Method and device for automatic recovery and reactivation of business
CN103501503A (en) * 2013-09-06 2014-01-08 大唐移动通信设备有限公司 Network problem analyzing method and network problem analyzing device
CN105790980A (en) * 2014-12-22 2016-07-20 中兴通讯股份有限公司 Fault recovery method and apparatus
CN106452829A (en) * 2016-01-21 2017-02-22 华南师范大学 Intelligent operation and maintenance method and system for cloud computation center based on BCC-KNN

Also Published As

Publication number Publication date
CN108540298A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
JP5095823B2 (en) Transport control server, network system, and transport control method
EP2285051B1 (en) Transport control server, transport control system, and backup path setting method
US9203732B2 (en) Recovery of traffic in a connection-oriented network
JP4462442B2 (en) Link attribute setting method, route calculation method, and system using them
EP2169876A1 (en) Method for restoring connections in a network
JP5747281B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND NETWORK MANAGEMENT DEVICE
CN104521192A (en) Techniques for flooding optimization for link state protocols in a network topology
CN103401749A (en) Failure recovery method for first node and host node in network
CN106878038B (en) Fault positioning method and device in communication network
US9584387B1 (en) Systems and methods of sending a packet in a packet-switched network through a pre-determined path to monitor network health
CN108540298B (en) Method and device for automatically processing garbage service
CN101207555B (en) Method for automatically clearing over loading bit in the course of avoiding path black hole
US20130128725A1 (en) Methods, apparatus and communication network for providing restoration survivability
EP2693706A1 (en) Method and device for implementing multi-protection overlapped protection groups
CN107248952B (en) Method and system for determining service alternative route
JP4455285B2 (en) Route analyzer
CN109218180A (en) Multicast control method and device based on Local Area Network
CN108600055A (en) Data forwarding method, device and routing device
CN104426771A (en) Message forwarding method and message forwarding device
CN102821052A (en) Method and device for searching forwarding information in virtual special local area network service network
CN107579837A (en) The method and device that a kind of damaged business is repaired automatically
JP3689061B2 (en) Upper node, network, program and recording medium
US20050105462A1 (en) Method for restoring a connection in a telecommunication network
CN108667508B (en) Shared link risk group generation method and device
EP2896157B1 (en) Method and apparatus for node realignment in a telecommunications network

Legal Events

Date Code Title Description
PB01 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