CN107579868B - Method and device for detecting service affected by network element failure - Google Patents

Method and device for detecting service affected by network element failure Download PDF

Info

Publication number
CN107579868B
CN107579868B CN201610514995.2A CN201610514995A CN107579868B CN 107579868 B CN107579868 B CN 107579868B CN 201610514995 A CN201610514995 A CN 201610514995A CN 107579868 B CN107579868 B CN 107579868B
Authority
CN
China
Prior art keywords
network element
service
tunnel
protection
route
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
CN201610514995.2A
Other languages
Chinese (zh)
Other versions
CN107579868A (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 CN201610514995.2A priority Critical patent/CN107579868B/en
Priority to PCT/CN2017/091600 priority patent/WO2018006787A1/en
Publication of CN107579868A publication Critical patent/CN107579868A/en
Application granted granted Critical
Publication of CN107579868B publication Critical patent/CN107579868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a method and a device for detecting network element failure influence service, wherein the method comprises the steps of setting partial network elements in a target area as failure network elements; inquiring a service set passing through the failure network element in the target area, and judging whether the service set is influenced by the failure network element or not according to each service in the service set; and acquiring the service influenced by the invalid network element in the target area according to the judging result. The embodiment of the invention can improve the detection efficiency of the service affected by the network element failure.

Description

Method and device for detecting service affected by network element failure
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for detecting a service affected by a network element failure.
Background
With the high-speed development of communication networks, the scale and capacity of the communication networks are larger and larger, network elements for network management are more and more, and configuration services are more and more. In a communication network, network element failure may be caused by various reasons, the network element failure may have a great influence on services, if the protection configuration is unreasonable, service interruption may be caused, and when serious, great loss may be caused to an operator of the communication network.
The current method for detecting the influence of network element failure on the service mainly relies on manually analyzing whether the service is influenced by the failure of a certain network element. The number of services in the whole network is thousands, and the manual detection is low in efficiency.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for detecting service influence caused by network element failure, which solve the problem of low service detection efficiency caused by network element failure.
In order to achieve the above objective, an embodiment of the present invention provides a method for detecting a network element failure affecting service, including:
setting part of network elements in the target area as invalid network elements;
inquiring a service set passing through the failure network element in the target area, and judging whether the service set is influenced by the failure network element or not according to each service in the service set;
and acquiring the service influenced by the invalid network element in the target area according to the judging result.
The embodiment of the invention provides a device for detecting network element failure influencing service, which comprises the following components:
the setting module is used for setting part of network elements in the target area as invalid network elements;
the query module is used for querying the service set passing through the failure network element in the target area;
the judging module is used for judging whether the service is influenced by the failure network element or not according to each service in the service set;
and the acquisition module is used for acquiring the service influenced by the failure network element in the target area according to the judgment result.
The embodiment of the invention also provides a computer storage medium, wherein one or more programs executable by a computer are stored in the computer storage medium, and when the one or more programs are executed by the computer, the computer is caused to execute the method for detecting the network element failure influence service.
One of the above technical solutions has the following advantages or beneficial effects:
in the embodiment of the invention, partial network elements in the target area are set as invalid network elements; inquiring a service set passing through the failure network element in the target area, and judging whether the service set is influenced by the failure network element or not according to each service in the service set; and acquiring the service influenced by the invalid network element in the target area according to the judging result. Thus, the efficiency of detecting that the network element failure affects the service can be improved.
Drawings
Fig. 1 is a flowchart of a method for detecting network element failure impact service according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for detecting network element failure impact service according to an embodiment of the present invention;
fig. 3 is a network element failure impact service detection device provided in an embodiment of the present invention;
fig. 4 is a schematic diagram of another network element failure service detection apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of another network element failure service detection apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram of another network element failure service detection apparatus according to an embodiment of the present invention;
fig. 7 is a schematic diagram of another network element failure service detection apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved more apparent, the following detailed description will be given with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, an embodiment of the present invention provides a method for detecting a service affected by a network element failure, including the following steps:
step S101, setting partial network elements in the target area as invalid network elements.
The network element data may be basic data such as network elements uploaded through an existing interface of a network manager by connecting an evaluation tool to the network manager to be detected. If the network manager is used as a plug-in, the basic data such as network elements in the network manager can be directly used.
The target area is an area where the user needs to evaluate whether the service is affected by the failure of the network element. The target area is an area selected by a user according to the need, the system provides default areas comprising a backbone layer, an access layer and a convergence layer, the user can add the network element into different areas according to different actual functions of the network element, and one or more layers can be selected as the target area at the same time for evaluation. The user can also create a new area, and the specific size and position of the target area can be selected by the user according to the needs. For example, the user selects an access layer and a convergence layer as target areas, and sets part of network elements in the access layer and the convergence layer as failure network elements.
And selecting a part of network elements to be set as invalid network elements in the target area. The target area may be an area included in the target area, the selecting a part of network elements to be failure network elements may be selecting by a user according to needs, the selecting a key point network element to be failure network elements may be network elements with more service, for example, network element bridge nodes and backbone network elements.
In addition, the failed network element may be that the network element is not able to function properly. Setting a part of network elements as failure network elements may be setting the part of network elements, so that the part of network elements cannot work normally.
Step S102, inquiring a service set passing through the failure network element in the target area, and judging whether the service set is influenced by the failure network element or not according to each service in the service set.
The service may be TDM or ethernet service, the service set may be all the services passing through the failure network element in the target area, and the query is performed by taking all the services passing through the failure network element in the target area as a query target. The query mode may be to query whether all the services in the area pass through the failure network element one by one, and screen out all the services passing through the failure network element to form a service set; or directly querying all the services passing through the failed network element, and forming the services passing through the failed network element into a service set.
The determining whether the service is affected by the failed network element for each service in the service set may be determining whether the service is affected by the failed network element one by one in the service set. After judging one service, continuing to judge the next service, and ending the judgment when all the services in the service set passing through the failure network element are judged. For example, there are 100 total service sets passing through the failed network element in the target area, the 100 services are judged, when 98 service sets are judged, two service sets are not judged, the 99 th service set is continuously judged, after the 99 th service set is judged, one service set is not judged, the judgment is continuously carried out until all 100 service sets in the service set are judged, and the judgment is finished.
In addition, the influence of the failed network element on the service passing through the failed network element may be that the service passing through the failed network element is interrupted, and after the service is interrupted, the service cannot be continued without any processing; the service may be not interrupted but have an influence on transmission performance, the influence may be an influence on transmission performance, a delay, a stability decrease, or other influences, where the service may still be performed, and the specific influence generated above may be one or more influences, and the specific influence generated in this embodiment is not limited. For example, a service passing through a failed network element is affected by the failed network element to generate service delay, and stability is reduced. This is merely an example, and the present embodiment is not limited thereto.
And step S103, acquiring the service affected by the failure network element in the target area according to the judging result.
The determination result may be a determination result obtained by determining, in step S102, whether the service is affected by the failed network element for each service in the service set. The judging result may include that the service in the service set is affected by the failed network element and is interrupted, and the service in the service set is affected by the failed network element but is not interrupted, or may be other more specific affecting results. The judging result may further include each service affected by the failed network element in the service set passing through the failed network element in the target area and the influence of each service correspondingly.
The obtaining the service affected by the failed network element in the target area may be obtaining all the services affected by the failed network element in the service set passing through the failed network element in the target area and the corresponding affected services according to the determination result in step S102.
The acquiring process may be that each time a service affected by the failed network element is judged, the service and the corresponding affected service are acquired, until all the services passing through the failed network element in the service set are judged, all the services affected by the failed network element and the corresponding affected service are acquired. For example, a total of 100 services passing through the failure network element in the service set are judged, the 1 st service is affected, the 1 st affected service and the corresponding affected service are obtained, the 2 nd service is judged, the 2 nd affected service and the corresponding affected service are obtained, the next service is judged until all the 100 services are judged, and the affected service and the corresponding affected service in the 100 services are obtained. This is merely an example, and the present embodiment is not limited thereto.
The acquiring process may also be that after all the services in the service set that pass through the failure network element are judged, the affected service in the service set and the corresponding affected service are acquired. For example, there are 100 services passing through the failed network element in the service set, and after the 100 services in the service set are judged in sequence, the affected service in the 100 services and the corresponding affected service are obtained. This is merely an example, and the present embodiment is not limited thereto.
In this embodiment, the above method may be applied to a PDN device.
In this embodiment, a part of network elements in a target area are set as failure network elements, a service set passing through the failure network elements in the target area is queried, whether the service is affected by the failure network elements is judged for each service in the service set, and the service affected by the failure network elements in the target area is obtained according to a judgment result. Thus, the efficiency of detecting that the network element failure affects the service can be improved.
As shown in fig. 2, fig. 2 is a flowchart of another method for detecting network element failure impact service according to an embodiment of the present invention, where the method includes the following steps:
step S201, setting partial network elements in the target area as invalid network elements.
Step S202, inquiring a service set passing through the failure network element in the target area, and judging whether the service set is influenced by the failure network element or not according to each service in the service set.
And step S213, obtaining the service affected by the failure network element in the target area according to the judging result.
Optionally, the determining, for each service in the service set, whether the service is affected by the failed network element includes the following steps:
step 203, for each service in the service set, judging whether a pseudo wire protection exists.
Step S204, if the pseudo wire protection exists, judging whether the working pseudo wire route and the protection pseudo wire route pass through the failure network element at the same time, and if the working pseudo wire route and the protection pseudo wire route do not pass through the failure network element at the same time, executing step S205.
Step S205, it is determined that the currently judged service is affected by the failed network element without interruption.
In this embodiment, for each service in the service set, it is determined whether or not a pseudo wire protection exists. If the pseudo wire protection exists, inquiring a working pseudo wire route and a protection pseudo wire route, and judging whether the working pseudo wire route and the protection pseudo wire route pass through the failure network element at the same time. If the working pseudo-line route and the protection pseudo-line route do not pass through the failure network element at the same time, the current judging service can be determined to be influenced by the failure network element without interruption.
The whether the working pseudowire route and the protection pseudowire route pass through the failure network element at the same time may be whether the working pseudowire route and the protection pseudowire route pass through the failure network element at the same time. For example, both the working pseudowire route and the protection pseudowire route pass through the failed network element. The working pseudowire route and the protection pseudowire route do not pass through the failure network element at the same time, and either one of the working pseudowire route and the protection pseudowire route or both routes pass through the failure network element. For example, the working pseudowire route passes through the failed network element, and the protection pseudowire route does not pass through the failed network element.
The influence may be an influence on transmission performance, the influence on transmission performance may be a delay or a decrease in stability, or may be other influence, and the generated influence may be one or more influences, which is not limited in this embodiment.
In this way, each service in the service set is judged step by step, so that the efficiency of the network element failure affecting service detection can be improved.
Optionally, the determining, for each service in the service set, whether the service is affected by the failed network element further includes the following steps:
step S206, if no pseudo wire protection exists, judging whether the tunnel bound by the pseudo wire has tunnel protection or not.
Step S207, if the tunnel protection exists, judging whether the working tunnel route and the protection tunnel route pass through the failure network element at the same time, and if the working tunnel route and the protection tunnel route do not pass through the failure network element at the same time, executing step S205.
And step S208, if the working pseudo wire route and the protection pseudo wire route pass through the failure network element at the same time, judging whether the tunnel bound by the working pseudo wire has tunnel protection.
Step S209, judging whether the tunnel bound by the protection pseudo wire has tunnel protection.
Step S207, if the tunnel protection exists, judging whether the working tunnel route and the protection tunnel route pass through the failure network element at the same time, and if the working tunnel route and the protection tunnel route do not pass through the failure network element at the same time, executing step S205.
In this embodiment, if no pseudo-wire protection exists, it is determined whether a tunnel bound by a pseudo-wire exists, if so, it is determined whether a route of a working tunnel and a route of a protection tunnel of the tunnel protection pass through the failure network element at the same time, and if the route of the working tunnel and the route of the protection tunnel do not pass through the failure network element at the same time, it is determined that the currently determined service is affected by the failure network element and is not interrupted. The route passing through the working tunnel and the protection tunnel at the same time may be that the route passing through the working tunnel and the protection tunnel both pass through the failure network element, and the route passing through the failure network element at different times may be that only one of the route passing through the working tunnel and the protection tunnel passes through the failure network element or neither of them passes through the failure network element.
If the working pseudo wire route and the protection pseudo wire route pass through the failure network element at the same time, judging whether the working pseudo wire binding tunnel and the protection pseudo wire binding tunnel have tunnel protection or not one by one. If the working pseudo wire binding tunnel has tunnel protection, judging whether the working tunnel and the protection tunnel route of the tunnel protection pass through the failure network element at the same time. If the working tunnel route and the protection tunnel route do not pass through the failure network element at the same time, determining that the currently judged service is affected by the failure network element and is not interrupted.
If the working pseudo wire binding tunnel does not have tunnel protection, judging whether the protection pseudo wire binding tunnel has tunnel protection, if the protection pseudo wire binding tunnel has tunnel protection, judging whether the routes of the working tunnel and the protection tunnel of the tunnel protection pass through the failure network element at the same time, and if the routes of the working tunnel and the protection tunnel do not pass through the failure network element at the same time, determining that the currently judged service is influenced by the failure network element and is not interrupted.
In this way, each service in the service set is judged step by step, so that the efficiency of the network element failure affecting service detection can be improved.
Optionally, the determining, for each service in the service set, whether the service is affected by the failed network element further includes the following steps:
step S210, if no tunnel protection exists in the pseudowire-bound tunnel, or neither the working pseudowire-bound tunnel nor the protection pseudowire-bound tunnel exists, or the routing of the working pseudowire-bound tunnel and the protection pseudowire-bound tunnel passes through the failure network element at the same time, determining whether a ring protection exists in the segment layer, and if not, executing step S212.
Step S211, if the ring protection exists, judging whether the route of the segment layer ring protection passes through the failure network element, and if so, executing step S205; if not, step S212 is performed.
Step S212, determining that the currently judged service is affected by the failed network element and interrupted.
In this embodiment, if the tunnel bound by the pseudowire does not have tunnel protection, or neither the tunnel bound by the working pseudowire nor the tunnel bound by the protection pseudowire has tunnel protection, or the routes of the tunnel bound by the working pseudowire and the tunnel bound by the protection pseudowire pass through the failure network element at the same time, if any one of these three conditions occurs, it is determined whether the segment layer has ring protection.
If the ring protection exists, judging whether the route of the ring protection of the segment layer passes through the failure network element, if the route of the ring protection of the segment layer passes through the failure network element, determining that the currently judged service is affected by the failure network element and is not interrupted, and if the route of the ring protection of the segment layer does not pass through the failure network element, determining that the currently judged service is affected by the failure network element and is interrupted.
The above-described influence and interruption may be such that the traffic is not normally performed, and the influence and interruption may be such that the traffic is still performed, but is affected in transmission performance. The foregoing has been explained and will not be repeated here.
In this way, each service in the service set is judged step by step, so that the efficiency of the network element failure affecting service detection can be improved.
Optionally, the step S213 of obtaining the service affected by the failed network element in the target area according to the determination result includes the following steps:
and step S213, obtaining the service affected by the failure network element in the target area according to the judging result.
And step S214, generating a detection evaluation report according to the scoring template and the report template.
The scoring templates and reporting templates may be pre-stored, or may be obtained from outside or otherwise, which is not limited in this embodiment. The content of the template may include scoring and evaluating the transmission performance of the service, which are not limited in this embodiment, for the number of services affected by the failed network element and the corresponding impact results.
The evaluation report may include the traffic affected by the failed network element and the corresponding impact result, and may also include the evaluation of transmission performance. The evaluation of the transmission performance may be evaluated by a scoring form or by a text description, which is not limited in this embodiment. For example, 50 services are detected in total, of which 48 services are affected without interruption and 2 services are affected with interruption. The transmission performance is good. This is merely an example, and the present embodiment is not limited thereto.
And acquiring the service influenced by the failure network element in the target area according to the judging result, and generating a detection evaluation report according to the scoring template and the report template, so that the user can maintain and reference.
As shown in fig. 3, fig. 3 is a network element failure impact service detection apparatus provided in an embodiment of the present invention. As shown in fig. 3, the network element failure impact service detection apparatus 300 includes: a setting module 301, a query module 302, a judging module 303 and an obtaining module 304.
A setting module 301, configured to set a part of network elements in the target area as failure network elements;
a query module 302, configured to query a service set passing through the failure network element in the target area;
a judging module 303, configured to judge, for each service in the service set, whether the service set is affected by the failed network element;
and the obtaining module 304 is configured to obtain, according to the determination result, a service affected by the failed network element in the target area.
Optionally, as shown in fig. 4, the determining module 303 includes:
a first judging unit 3031, configured to judge, for each service in the service set, whether a pseudowire protection exists;
and the second judging unit 3032 is configured to judge whether the working pseudo-wire route and the protection pseudo-wire route pass through the failure network element at the same time if pseudo-wire protection exists, and determine that the currently judged service is affected by the failure network element without interruption if the working pseudo-wire route and the protection pseudo-wire route do not pass through the failure network element at the same time.
Optionally, as shown in fig. 5, the determining module 303 further includes:
a third judging unit 3033, configured to judge whether the tunnel bound by the pseudowire has tunnel protection if the pseudowire does not have the pseudowire protection;
a fourth judging unit 3034, configured to judge whether the working tunnel route and the protection tunnel route pass through the failure network element at the same time if there is a tunnel protection;
a fifth judging unit 3035, configured to determine that, if the working tunnel route and the protection tunnel route do not pass through the failed network element at the same time, the currently-judged service is affected by the failed network element and is not interrupted;
a sixth judging unit 3036, configured to judge whether a tunnel bound by the working pseudowire has tunnel protection if the working pseudowire route and the protection pseudowire route pass through the failure network element at the same time, and judge whether the tunnel bound by the protection pseudowire has tunnel protection;
a seventh judging unit 3037, configured to judge whether the working tunnel route and the protection tunnel route pass through the failure network element at the same time if tunnel protection exists;
and an eighth judging unit 3038, configured to determine that the currently-judged service is affected by the failed network element without interruption if the working tunnel route and the protection tunnel route do not pass through the failed network element at the same time.
Optionally, as shown in fig. 6, the determining module 303 further includes:
a ninth judging unit 3039, configured to judge whether the segment layer has ring protection if the tunnel bound by the pseudowire does not have tunnel protection, or if the tunnel bound by the working pseudowire and the tunnel bound by the protection pseudowire do not have tunnel protection, or if the routes of the tunnel bound by the working pseudowire and the tunnel bound by the protection pseudowire pass through the failure network element at the same time;
a tenth judging unit 30310, configured to, if the ring protection exists, judge whether the route of the segment layer ring protection passes through the failure network element, if so, determine that the currently judged service is affected by the failure network element and is not interrupted, and if not, determine that the currently judged service is affected by the failure network element and is interrupted;
an eleventh judging unit 30311 is configured to determine that the currently judged service is affected by the failed network element and is interrupted if the segment layer does not have the ring protection.
Optionally, as shown in fig. 7, the obtaining module 304 includes:
an acquiring unit 3041, configured to acquire, according to a determination result, a service affected by the failed network element in the target area;
and the generating unit 3042 is used for generating a detection evaluation report according to the scoring template and the report template.
In this embodiment, the network element failure impact service detection apparatus 300 may be an apparatus in a PDN device.
The network element failure affecting service detection apparatus 300 may implement each process in the method embodiments in fig. 1 and fig. 2, and in order to avoid repetition, a description thereof will be omitted. The network element failure influence service detection device 300 can detect the influence of network element failure on the service, and can improve the detection efficiency.
Those of ordinary skill in the art will appreciate that all or some of the steps of implementing the methods of the above embodiments may be implemented by hardware associated with program instructions, where the program may be stored on a computer readable medium, the program when executed comprising the steps of:
setting part of network elements in the target area as invalid network elements;
inquiring a service set passing through the failure network element in the target area, and judging whether the service set is influenced by the failure network element or not according to each service in the service set;
and acquiring the service influenced by the invalid network element in the target area according to the judging result.
Optionally, the determining, for each service in the service set, whether the service is affected by the failed network element includes:
judging whether pseudo-wire protection exists for each service in the service set;
if the pseudo wire protection exists, judging whether the working pseudo wire route and the protection pseudo wire route pass through the failure network element at the same time, and if the working pseudo wire route and the protection pseudo wire route do not pass through the failure network element at the same time, determining that the currently judged service is influenced by the failure network element and is not interrupted.
Optionally, the determining, for each service in the service set, whether the service is affected by the failed network element further includes:
if no pseudo-wire protection exists, judging whether a tunnel bound by the pseudo-wire exists or not;
if the tunnel protection exists, judging whether a working tunnel route and a protection tunnel route pass through the failure network element at the same time, and if the working tunnel route and the protection tunnel route do not pass through the failure network element at the same time, determining that the currently judged service is influenced by the failure network element and is not interrupted;
if the working pseudo wire route and the protection pseudo wire route pass through the failure network element at the same time, judging whether tunnel protection exists in the tunnel bound by the working pseudo wire, and judging whether tunnel protection exists in the tunnel bound by the protection pseudo wire;
if the tunnel protection exists, judging whether the working tunnel route and the protection tunnel route pass through the failure network element at the same time, and if the working tunnel route and the protection tunnel route do not pass through the failure network element at the same time, determining that the currently judged service is influenced by the failure network element and is not interrupted.
Optionally, the determining, for each service in the service set, whether the service is affected by the failed network element further includes:
if the tunnel bound by the pseudo wire does not have tunnel protection, or the tunnel bound by the working pseudo wire and the tunnel bound by the protection pseudo wire do not have tunnel protection, or the routes of the tunnel bound by the working pseudo wire and the tunnel bound by the protection pseudo wire pass through the failure network element at the same time, judging whether the ring protection exists in the segment layer;
if the ring protection exists, judging whether the route of the segment layer ring protection passes through the failure network element, if so, determining that the currently judged service is affected by the failure network element and is not interrupted, and if not, determining that the currently judged service is affected by the failure network element and is interrupted;
if the ring protection does not exist in the segment layer, the currently judged service is determined to be influenced by the failure network element and is interrupted.
Optionally, the obtaining, according to the determination result, the service affected by the failed network element in the target area includes:
and acquiring the service influenced by the failure network element in the target area according to the judging result, and generating a detection evaluation report according to the scoring template and the reporting template.
Such as Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disk, etc. While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (8)

1. A method for detecting network element failure affecting service, comprising:
setting part of network elements in the target area as invalid network elements;
inquiring a service set passing through the failure network element in the target area, and judging whether the service set is influenced by the failure network element or not according to each service in the service set;
acquiring the service influenced by the failure network element in the target area according to the judging result;
wherein, for each service in the service set, the determining whether the service set is affected by the failure network element includes:
judging whether pseudo-wire protection exists for each service in the service set;
if the pseudo wire protection exists, judging whether the working pseudo wire route and the protection pseudo wire route pass through the failure network element at the same time, and if the working pseudo wire route and the protection pseudo wire route do not pass through the failure network element at the same time, determining that the currently judged service is influenced by the failure network element and is not interrupted;
if no pseudo-wire protection exists, judging whether a tunnel bound by the pseudo-wire exists or not; if the tunnel protection exists, judging whether the working tunnel route and the protection tunnel route pass through the failure network element at the same time, and if the working tunnel route and the protection tunnel route do not pass through the failure network element at the same time, determining that the currently judged service is influenced by the failure network element and is not interrupted.
2. The method of claim 1, wherein said determining, for each service in said set of services, whether affected by said failed network element further comprises:
if the working pseudo wire route and the protection pseudo wire route pass through the failure network element at the same time, judging whether tunnel protection exists in the tunnel bound by the working pseudo wire, and judging whether tunnel protection exists in the tunnel bound by the protection pseudo wire;
if the tunnel protection exists, judging whether the working tunnel route and the protection tunnel route pass through the failure network element at the same time, and if the working tunnel route and the protection tunnel route do not pass through the failure network element at the same time, determining that the currently judged service is influenced by the failure network element and is not interrupted.
3. The method of claim 2, wherein said determining, for each service in said set of services, whether affected by said failed network element further comprises:
if the tunnel bound by the pseudo wire does not have tunnel protection, or the tunnel bound by the working pseudo wire and the tunnel bound by the protection pseudo wire do not have tunnel protection, or the routes of the tunnel bound by the working pseudo wire and the tunnel bound by the protection pseudo wire pass through the failure network element at the same time, judging whether the ring protection exists in the segment layer;
if the ring protection exists, judging whether the route of the segment layer ring protection passes through the failure network element, if so, determining that the currently judged service is affected by the failure network element and is not interrupted, and if not, determining that the currently judged service is affected by the failure network element and is interrupted;
if the ring protection does not exist in the segment layer, the currently judged service is determined to be influenced by the failure network element and is interrupted.
4. A method according to any one of claims 1-3, wherein the obtaining, according to the determination result, the service affected by the failed network element in the target area includes:
and acquiring the service influenced by the failure network element in the target area according to the judging result, and generating a detection evaluation report according to the scoring template and the reporting template.
5. A network element failure affecting service detection apparatus, comprising:
the setting module is used for setting part of network elements in the target area as invalid network elements;
the query module is used for querying the service set passing through the failure network element in the target area;
the judging module is used for judging whether the service is influenced by the failure network element or not according to each service in the service set;
the acquisition module is used for acquiring the service influenced by the failure network element in the target area according to the judgment result;
wherein, the judging module includes:
a first judging unit, configured to judge, for each service in the service set, whether a pseudowire protection exists;
the second judging unit is used for judging whether the working pseudo-wire route and the protection pseudo-wire route pass through the failure network element at the same time if pseudo-wire protection exists, and determining that the currently judged service is influenced by the failure network element and is not interrupted if the working pseudo-wire route and the protection pseudo-wire route do not pass through the failure network element at the same time;
the third judging unit is used for judging whether the tunnel bound by the pseudo wire has tunnel protection or not if the pseudo wire does not have the pseudo wire protection;
a fourth judging unit, configured to judge whether a working tunnel route and a protection tunnel route pass through the failure network element at the same time if tunnel protection exists;
and a fifth judging unit, configured to determine that the currently-judged service is affected by the failed network element without interruption if the working tunnel route and the protection tunnel route do not pass through the failed network element at the same time.
6. The apparatus of claim 5, wherein the determination module further comprises:
a sixth judging unit, configured to judge whether a tunnel bound by the working pseudowire has tunnel protection if the working pseudowire route and the protection pseudowire route pass through the failure network element at the same time, and judge whether a tunnel bound by the protection pseudowire has tunnel protection;
a seventh judging unit, configured to judge whether the working tunnel route and the protection tunnel route pass through the failure network element at the same time if tunnel protection exists;
and an eighth judging unit, configured to determine that the currently-judged service is affected by the failed network element without interruption if the working tunnel route and the protection tunnel route do not pass through the failed network element at the same time.
7. The apparatus of claim 6, wherein the determination module further comprises:
a ninth judging unit, configured to judge whether a ring protection exists in the segment layer if no tunnel protection exists in the tunnel bound by the pseudowire, or neither the tunnel bound by the working pseudowire nor the tunnel bound by the protection pseudowire exists, or if the routes of the tunnel bound by the working pseudowire and the tunnel bound by the protection pseudowire pass through the failure network element at the same time;
a tenth judging unit, configured to judge whether the route of the segment layer ring protection passes through the failure network element if the ring protection exists, and determine that the currently judged service is affected by the failure network element and is not interrupted if the route passes through the failure network element, and determine that the currently judged service is affected by the failure network element and is interrupted if the route does not pass through the failure network element;
and an eleventh judging unit, configured to determine that the currently-judged service is affected by the failed network element and is interrupted if the ring protection does not exist in the segment layer.
8. The apparatus of any of claims 5-7, wherein the acquisition module comprises:
the acquisition unit is used for acquiring the service influenced by the failure network element in the target area according to the judgment result;
and the generating unit is used for generating a detection evaluation report according to the scoring template and the report template.
CN201610514995.2A 2016-07-04 2016-07-04 Method and device for detecting service affected by network element failure Active CN107579868B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610514995.2A CN107579868B (en) 2016-07-04 2016-07-04 Method and device for detecting service affected by network element failure
PCT/CN2017/091600 WO2018006787A1 (en) 2016-07-04 2017-07-04 Method and apparatus for detection of service affected by failed network element, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610514995.2A CN107579868B (en) 2016-07-04 2016-07-04 Method and device for detecting service affected by network element failure

Publications (2)

Publication Number Publication Date
CN107579868A CN107579868A (en) 2018-01-12
CN107579868B true CN107579868B (en) 2023-05-23

Family

ID=60911999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610514995.2A Active CN107579868B (en) 2016-07-04 2016-07-04 Method and device for detecting service affected by network element failure

Country Status (2)

Country Link
CN (1) CN107579868B (en)
WO (1) WO2018006787A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116132261B (en) * 2022-12-26 2024-05-28 浪潮通信信息系统有限公司 Correlation analysis method, system and device for equipment faults and service

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007065301A1 (en) * 2005-12-09 2007-06-14 Zte Corporation A fast rerouting method for automatically exchanging optical network
CN101192959A (en) * 2006-11-28 2008-06-04 中兴通讯股份有限公司 A recovery method for multicast service connection in automatic switching optical network
CN101212814A (en) * 2006-12-29 2008-07-02 中国移动通信集团公司 Service handling method, system, and network element in case the network element data fails or the network element fails
CN105634935A (en) * 2014-10-30 2016-06-01 中兴通讯股份有限公司 Device and method for detecting service layer signal failure

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001173B (en) * 2006-06-29 2010-08-18 华为技术有限公司 Method for estimating network protection status
CN100488264C (en) * 2006-07-03 2009-05-13 华为技术有限公司 Method for obtaining protection path information
CN101409644B (en) * 2007-10-12 2011-05-25 中兴通讯股份有限公司 Method and system for pre-warning service quality
US8374078B2 (en) * 2007-12-21 2013-02-12 Cisco Technology, Inc. Active fault management for metro Ethernet service over MPLS network
CN102148724B (en) * 2011-01-31 2014-12-31 中兴通讯股份有限公司 Link detecting method and network access device
CN103378980B (en) * 2012-04-16 2016-09-28 河南山谷网安科技股份有限公司 A kind of layer network alarm and business correlation analysis and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007065301A1 (en) * 2005-12-09 2007-06-14 Zte Corporation A fast rerouting method for automatically exchanging optical network
CN101192959A (en) * 2006-11-28 2008-06-04 中兴通讯股份有限公司 A recovery method for multicast service connection in automatic switching optical network
CN101212814A (en) * 2006-12-29 2008-07-02 中国移动通信集团公司 Service handling method, system, and network element in case the network element data fails or the network element fails
CN105634935A (en) * 2014-10-30 2016-06-01 中兴通讯股份有限公司 Device and method for detecting service layer signal failure

Also Published As

Publication number Publication date
WO2018006787A1 (en) 2018-01-11
CN107579868A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
EP3817298A1 (en) Data message detection method, device and system
CN110891021B (en) Path calculation method and device and computer readable storage medium
CN107968791B (en) Attack message detection method and device
US7688758B2 (en) Node merging process for network topology representation
US20160164732A1 (en) System and method for rule creation and parameter adaptation by data mining in a self-organizing network
EP3474493B1 (en) Network performance measurement method and detection device
CN105530138A (en) Data monitoring method and data monitoring device
JP2007208633A (en) Device, method and program for designing network
US20170299645A1 (en) Fault Analysis Method and Apparatus Based on Data Center
US20150381446A1 (en) Detecting and Measuring Network Route Reconvergence Using In-Band Data Probes
CN111565133B (en) Private line switching method and device, electronic equipment and computer readable storage medium
CN102136965B (en) Method for detecting tunnel faults and traffic engineering (TE) node
CN104205745B (en) Method and device for processing message
CN104486168A (en) Router wireless performance evaluation system and method
JPWO2015182629A1 (en) Monitoring system, monitoring device and monitoring program
EP2629453A1 (en) Method, apparatus and system for setting a size of an event correlation time window
CN107579868B (en) Method and device for detecting service affected by network element failure
EP3748913A1 (en) Link bandwidth utilization rate acquisition method and device, and terminal
CN105207905B (en) Route selection method and device
RU2569573C1 (en) Method and apparatus for forming peer-to-peer service
CN113261246A (en) Method, device and system for reducing routing loop
CN109981386B (en) Network quality testing method, testing server and testing system
CN113904972B (en) Path detection method and device, controller and PE (polyethylene) equipment
CN112702221A (en) BGP abnormal route monitoring method and device
CN109150707B (en) Routing path analysis method and device

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