Optical broadband network fault positioning method and device

文档序号:1469775 发布日期:2020-02-21 浏览:4次 中文

阅读说明:本技术 光宽带网络故障定位方法及装置 (Optical broadband network fault positioning method and device ) 是由 高泰培 于 2019-10-30 设计创作,主要内容包括:本发明公开了一种光宽带网络故障定位方法及装置,该方法包括:向多个网络段同时发送检测请求,获取多个网络段的检测结果;根据检测结果,结合预设权重配置规则,为每个网络段中的每个检测项配置权重;利用权重对光宽带网络进行故障定位。本发明检测时间较短,工作效率和故障定位精度较高。(The invention discloses a method and a device for positioning faults of an optical broadband network, wherein the method comprises the following steps: simultaneously sending detection requests to a plurality of network segments to obtain detection results of the plurality of network segments; according to the detection result, combining with a preset weight configuration rule, configuring the weight for each detection item in each network segment; and carrying out fault location on the optical broadband network by using the weight. The invention has the advantages of short detection time, high working efficiency and high fault positioning precision.)

1. A method for locating a fault of an optical broadband network is characterized by comprising the following steps:

simultaneously sending detection requests to a plurality of network segments to obtain detection results of the plurality of network segments;

according to the detection result, combining with a preset weight configuration rule, configuring the weight for each detection item in each network segment;

and carrying out fault location on the optical broadband network by using the weight.

2. The method of claim 1, wherein using the weights to fault locate the optical broadband network comprises:

and taking the network segment with the smallest weight in the multiple detection items as a fault source.

3. The method of claim 2, wherein configuring a weight for each detection item in each network segment according to the detection result and in combination with a preset weight configuration rule comprises:

if the detection result is normal, configuring a preset normal weight value for each detection item in each network segment by combining a preset weight configuration rule;

and if the detection result is abnormal, configuring an abnormal weight value for the abnormal detection item in each network segment by combining a preset weight configuration rule, wherein the abnormal weight value is smaller than the normal weight value.

4. The method of claim 3, further comprising:

setting detection codes for a plurality of detection items from small to large according to the transmission sequence of network signals;

and if the weights of two different detection items are the same and the two different detection items are the minimum, the network section where the detection item with the small detection code is located is used as a fault source.

5. An optical broadband network fault locating device, comprising:

the detection module is used for simultaneously sending detection requests to a plurality of network segments and acquiring detection results of the plurality of network segments;

the weight configuration module is used for configuring the weight for each detection item in each network segment according to the detection result and in combination with a preset weight configuration rule;

and the fault positioning module is used for positioning the fault of the optical broadband network by using the weight.

6. The apparatus of claim 5, wherein the fault location module is further to:

and taking the network segment with the smallest weight in the multiple detection items as a fault source.

7. The apparatus of claim 6, wherein the weight configuration module is further to:

if the detection result is normal, configuring a preset normal weight value for each detection item in each network segment by combining a preset weight configuration rule;

and if the detection result is abnormal, configuring an abnormal weight value for the abnormal detection item in each network segment by combining a preset weight configuration rule, wherein the abnormal weight value is smaller than the normal weight value.

8. The apparatus of claim 7, further comprising:

the code configuration module is used for setting detection codes for a plurality of detection items from small to large according to the transmission sequence of the network signals;

and the judging and positioning module is used for taking the network section where the detection item with small detection code is located as a fault source if the weights of two different detection items are the same and are the minimum in the plurality of detection items.

9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 4 when executing the computer program.

10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 4.

Technical Field

The invention relates to the technical field of communication, in particular to a method and a device for positioning a fault of an optical broadband network.

Background

At present, the network topology of each local telecommunication metropolitan area network is complex, the service planning is different, each network segment belongs to different maintenance departments, and once a certain part of the network segment fails, normal network operation is affected. Therefore, in order to enable workers to quickly find and solve the fault, it is important to provide a fault location method for the optical broadband network.

Disclosure of Invention

The embodiment of the invention provides a fault positioning method for an optical broadband network, which is used for reducing detection time and improving working efficiency and fault positioning precision and comprises the following steps:

simultaneously sending detection requests to a plurality of network segments to obtain detection results of the plurality of network segments;

according to the detection result, combining with a preset weight configuration rule, configuring the weight for each detection item in each network segment;

and carrying out fault location on the optical broadband network by using the weight.

Optionally, the performing fault location on the optical broadband network by using the weight includes:

and taking the network segment with the smallest weight in the multiple detection items as a fault source.

Optionally, configuring, according to the detection result and in combination with a preset weight configuration rule, a weight for each detection item in each network segment, including:

if the detection result is normal, configuring a preset normal weight value for each detection item in each network segment by combining a preset weight configuration rule;

and if the detection result is abnormal, configuring an abnormal weight value for the abnormal detection item in each network segment by combining a preset weight configuration rule, wherein the abnormal weight value is smaller than the normal weight value.

Optionally, the method further includes:

setting detection codes for a plurality of detection items from small to large according to the transmission sequence of network signals;

and if the weights of two different detection items are the same and the two different detection items are the minimum, the network section where the detection item with the small detection code is located is used as a fault source.

The embodiment of the invention also provides a device for positioning the fault of the optical broadband network, which is used for reducing the detection time and improving the working efficiency and the fault positioning precision, and comprises the following components:

the detection module is used for simultaneously sending detection requests to a plurality of network segments and acquiring detection results of the plurality of network segments;

the weight configuration module is used for configuring the weight for each detection item in each network segment according to the detection result and in combination with a preset weight configuration rule;

and the fault positioning module is used for positioning the fault of the optical broadband network by using the weight.

Optionally, the fault location module is further configured to:

and taking the network segment with the smallest weight in the multiple detection items as a fault source.

Optionally, the weight configuration module is further configured to:

if the detection result is normal, configuring a preset normal weight value for each detection item in each network segment by combining a preset weight configuration rule;

and if the detection result is abnormal, configuring an abnormal weight value for the abnormal detection item in each network segment by combining a preset weight configuration rule, wherein the abnormal weight value is smaller than the normal weight value.

Optionally, the apparatus further comprises:

the code configuration module is used for setting detection codes for a plurality of detection items from small to large according to the transmission sequence of the network signals;

and the judging and positioning module is used for taking the network section where the detection item with small detection code is located as a fault source if the weights of two different detection items are the same and are the minimum in the plurality of detection items.

The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method when executing the computer program.

An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program for executing the above method is stored.

In the embodiment of the invention, the detection results of the plurality of network segments are obtained by simultaneously sending the detection requests to the plurality of network segments, the weight is configured for each detection item in each network segment according to the detection results and the preset weight configuration rule, and the light broadband network is subjected to fault location by using the weight, so that the simultaneous detection of the plurality of network segments can be realized, and the mutual interference of different network segments in the detection process can be avoided. In conclusion, the invention has the advantages of short detection time, high working efficiency and high fault positioning precision.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:

fig. 1 is a flowchart of a method for locating a fault in an optical broadband network according to an embodiment of the present invention;

fig. 2 is another flowchart of a method for locating a fault in an optical broadband network according to an embodiment of the present invention;

fig. 3 is a schematic structural diagram of an optical broadband network fault location device in an embodiment of the present invention;

fig. 4 is another schematic structural diagram of the optical broadband network fault location apparatus in the embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.

Fig. 1 is a flowchart of a method for locating a fault in an optical broadband network according to an embodiment of the present invention, as shown in fig. 1, the method includes:

step 101, sending a detection request to a plurality of network segments simultaneously, and obtaining detection results of the plurality of network segments.

In this embodiment, the network segment may be: branch optical path, trunk optical path, OLT equipment, switch equipment, SR equipment, platform side and the like.

And 102, configuring the weight for each detection item in each network segment according to the detection result and by combining a preset weight configuration rule.

In this embodiment, step 102 includes:

if the detection result is normal, configuring a preset normal weight value for each detection item in each network segment by combining a preset weight configuration rule;

and if the detection result is abnormal, configuring an abnormal weight value for the abnormal detection item in each network segment by combining a preset weight configuration rule, wherein the abnormal weight value is smaller than the normal weight value.

The preset weight configuration rule may be: the staff presets a corresponding weight configuration rule for each condition of the detection item according to the work experience, for example, when receiving a detection instruction of a certain detection item, a corresponding weight is configured for the certain detection item, and the specific correspondence relationship can be referred to table 1 below.

And 103, positioning the fault of the optical broadband network by using the weight. In this embodiment, step 103 includes:

and taking the network segment with the smallest weight in the multiple detection items as a fault source. As an example, the detection terms and weights are shown in table 1:

TABLE 1

Figure BDA0002253143320000041

Figure BDA0002253143320000051

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:量子保密通信系统激光发射器的抗攻击检测方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!