CN112332910B - Fault detection method, device and equipment - Google Patents

Fault detection method, device and equipment Download PDF

Info

Publication number
CN112332910B
CN112332910B CN202011202838.0A CN202011202838A CN112332910B CN 112332910 B CN112332910 B CN 112332910B CN 202011202838 A CN202011202838 A CN 202011202838A CN 112332910 B CN112332910 B CN 112332910B
Authority
CN
China
Prior art keywords
service
service device
port
detection port
detection
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
CN202011202838.0A
Other languages
Chinese (zh)
Other versions
CN112332910A (en
Inventor
秦保根
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202011202838.0A priority Critical patent/CN112332910B/en
Publication of CN112332910A publication Critical patent/CN112332910A/en
Application granted granted Critical
Publication of CN112332910B publication Critical patent/CN112332910B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/071Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using a reflected signal, e.g. using optical time domain reflectometers [OTDR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0791Fault location on the transmission path

Abstract

The embodiment of the application provides a fault detection method, a fault detection device and fault detection equipment, which are applied to a network system, wherein the network system comprises first service equipment and at least one second service equipment, the first service equipment is connected with the at least one second service equipment, and the method comprises the following steps: the method comprises the steps that a first service device receives fault information sent by a second service device, wherein the fault information is used for indicating that an optical fiber connected with the second service device has a fault; the first service equipment sends a test signal through a first detection port corresponding to the second service equipment; the first service equipment receives a reflected signal corresponding to the test signal through the first detection port; and the first service equipment determines the position of the optical fiber with a fault according to the test signal and the reflected signal. The efficiency of determining the location of the fault is improved.

Description

Fault detection method, device and equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, and a device for fault detection.
Background
The communication optical cable is a physical basic network of a telecommunication operator and takes charge of almost all business services, and therefore, when the communication optical cable fails, a timely repair is needed.
At present, when a communication optical cable breaks down, operation and maintenance personnel determine the optical cable section which breaks down according to fault information, and carry out fault test on a service station or a relay station corresponding to the optical cable section which breaks down to obtain an accurate fault position. However, if the service station or the relay station corresponding to the optical cable segment with the fault is far away, the operation and maintenance personnel need a long time to reach the service station or the relay station corresponding to the optical cable segment with the fault, so that the time for determining the fault position is long, and the efficiency for determining the fault position is low.
Disclosure of Invention
The application provides a fault detection method, a fault detection device and fault detection equipment. The efficiency of determining the location of the fault is improved.
In a first aspect, an embodiment of the present application provides a fault detection method, which is applied to a network system, where the network system includes a first service device and at least one second service device, and the first service device is connected to the at least one second service device, where the method includes:
the method comprises the steps that a first service device receives fault information sent by a second service device, wherein the fault information is used for indicating that an optical fiber connected with the second service device has a fault;
the first service equipment sends a test signal through a first detection port corresponding to the second service equipment;
the first service equipment receives a reflected signal corresponding to the test signal through the first detection port;
and the first service equipment determines the position of the optical fiber with a fault according to the test signal and the reflected signal.
In a possible implementation, the first service device and the second service device respectively include a detection port and a service port;
the detection port in the first service equipment is connected with the detection port in the second service equipment through an optical fiber;
and the service port in the first service equipment is connected with the service port in the second service equipment through the optical fiber.
In a possible implementation, the first service device includes at least two detection ports; the sending, by the first service device, a test signal through a first detection port corresponding to the second service device includes:
the first service equipment determines the first detection port;
and the first service equipment sends a test signal through the first detection port.
In a possible implementation, the determining, by the first service device, the first detection port includes:
the first service equipment acquires a first preset corresponding relation, wherein the first preset corresponding relation comprises the identification of at least two detection ports and the equipment identification corresponding to each detection port;
and the first service equipment determines the first detection port in the at least two detection ports according to the first preset corresponding relation and the identifier of the second service equipment.
In a possible implementation manner, the network system further includes a maintenance device, where the maintenance device includes a detection port, and the detection port in the maintenance device is connected to the detection port in the first service device through an optical fiber.
In a possible implementation manner, the sending, by the first service device, a test signal through a first detection port corresponding to the second service device includes:
the first service equipment receives a test signal sent by the maintenance equipment through a second detection port;
and the first service equipment sends the test signal through the first detection port.
In a possible implementation, the sending, by the first service device, the test signal through the first detection port includes:
the first service equipment determines the first detection port according to the identifier of the second detection port;
and the first service equipment sends the test signal through the first detection port.
In a second aspect, an embodiment of the present application provides a fault detection apparatus, which is applied to a network system, where the network system includes a first service device and at least one second service device, and the first service device is connected to the at least one second service device, and the apparatus includes: the device comprises a first receiving module, a sending module, a second receiving module and a determining module, wherein:
the first receiving module is specifically configured to receive, by a first service device, fault information sent by a second service device, where the fault information is used to indicate that an optical fiber connected to the second service device has a fault;
the sending module is specifically configured to send, by the first service device, a test signal through a first detection port corresponding to the second service device;
the second receiving module is specifically configured to receive, by the first service device, a reflected signal corresponding to the test signal through the first detection port;
the determining module is specifically configured to determine, by the first service device, a location where the optical fiber fails according to the test signal and the reflected signal.
In a possible implementation, the first service device and the second service device respectively include a detection port and a service port;
the detection port in the first service equipment is connected with the detection port in the second service equipment through an optical fiber;
and the service port in the first service equipment is connected with the service port in the second service equipment through the optical fiber.
In a possible implementation, the first service device includes at least two detection ports; the sending module is specifically configured to:
the first service equipment determines the first detection port;
and the first service equipment sends a test signal through the first detection port.
In a possible implementation, the determining module is specifically configured to:
the first service equipment acquires a first preset corresponding relation, wherein the first preset corresponding relation comprises the identification of at least two detection ports and the equipment identification corresponding to each detection port;
and the first service equipment determines the first detection port in the at least two detection ports according to the first preset corresponding relation and the identifier of the second service equipment.
In a possible implementation manner, the network system further includes a maintenance device, where the maintenance device includes a detection port, and the detection port in the maintenance device is connected to the detection port in the first service device through an optical fiber.
In a possible implementation manner, the sending module is specifically configured to:
the first service equipment receives a test signal sent by the maintenance equipment through a second detection port;
and the first service equipment sends the test signal through the first detection port.
In a possible implementation manner, the sending module is specifically configured to:
the first service equipment determines the first detection port according to the identifier of the second detection port;
and the first service equipment sends the test signal through the first detection port.
In a third aspect, an embodiment of the present application provides a fault detection device, including: a memory for storing program instructions, a processor for invoking the program instructions in the memory to perform the fault detection method according to any one of the first aspect, and a communication interface.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a computer program is stored; the computer program is for implementing a fault detection method as defined in any one of the first aspects.
The application provides a fault detection method, a fault detection device and fault detection equipment, which are applied to a network system, wherein the network system comprises first service equipment and at least one second service equipment, and the first service equipment is connected with the second service equipment. And the first service equipment receives fault information sent by the second service equipment, wherein the fault information is used for indicating that an optical fiber connected with the second service equipment has a fault. The second service equipment sends a test signal through a first detection port corresponding to the second service equipment, the first service equipment receives a reflected signal corresponding to the test signal through the first detection port, and the first service equipment determines the position of the optical fiber with a fault according to the test signal and the reflected signal. In the method, when the optical fiber between the first service device and at least one second service device fails, the first service device sends the test signal through the first detection port corresponding to the second service device, so that the first service device can acquire the fault position of any section of optical fiber, and the efficiency of determining the fault position is further improved.
Drawings
Fig. 1 is a schematic architecture diagram of a network system according to an embodiment of the present application;
fig. 2 is an application scenario provided in an embodiment of the present application;
fig. 3 is a schematic flow chart of a short message processing method according to an embodiment of the present application;
fig. 4A is a schematic diagram of a connection between a first service device and a second service device according to an embodiment of the present application;
fig. 4B is a schematic diagram of another connection between a first service device and a second service device according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating that a first service device receives failure information according to an embodiment of the present application;
fig. 6 is a schematic process diagram of a first service device sending a test signal according to an embodiment of the present application;
fig. 7 is a schematic diagram of a first service device receiving a reflected signal according to an embodiment of the present application;
FIG. 8 is a schematic diagram of determining a location of a fiber failure according to an embodiment of the present disclosure;
fig. 9 is a schematic flowchart of a first service device sending a test signal according to an embodiment of the present application;
fig. 10 is a schematic diagram of a process of receiving a test signal by a first device according to an embodiment of the present application;
fig. 11 is a schematic process diagram of a fault detection method according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a fault detection apparatus according to an embodiment of the present application;
fig. 13 is a schematic hardware structure diagram of the fault detection device provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
For ease of understanding, the architecture of the network system to which the present application relates will be described first.
Fig. 1 is a schematic architecture diagram of a network system according to an embodiment of the present application. Please refer to fig. 1, which includes a service device a, a service device B, and a service device C. The service equipment A and the service equipment B are connected through optical fibers, and the service equipment B and the service equipment C are connected through optical fibers. The service device may be a device in the relay station or a device in the service station.
Two-way communication can be carried out between the service devices. For example, service device a may send communication information to service device B, service device B may also send communication information to service device a, and service device a may send communication information to service device C through service device B, and service device C may send communication information to service device a through service device B.
In the actual use process of the network system, the optical fiber between the service devices is interrupted, so that communication between the service devices fails, and further, service interruption is caused, and therefore, when the optical fiber between the service devices is interrupted, urgent repair is needed in time.
In the related art, when an optical fiber between service devices is broken, it is generally necessary to perform fault detection in the broken service devices. For example, referring to fig. 1, if an optical fiber between a service device B and a service device C is interrupted, the optical fiber between the service devices needs to be detected by the service device B or the service device C, so as to determine an accurate position of the optical fiber interruption. However, in practical applications, the distance between service devices is large (the distance between service devices in an inter-provincial trunk line is usually greater than 80 kilometers), and when a service device with an optical fiber fault is far away from an emergency repair unit, a fault detection worker needs to spend more time to reach the service device with the optical fiber fault for fault detection, which results in low efficiency of determining a fault location.
In order to solve the problem of low efficiency in determining a fault location in the related art, in an embodiment of the present application, a first service device is connected to at least one second service device, the first service device receives fault information sent by the second service device, and the fault information is used to indicate that an optical fiber connected to the second service device has a fault. The second service equipment sends a test signal through a first detection port corresponding to the second service equipment, the first service equipment receives a reflected signal corresponding to the test signal through the first detection port, and the first service equipment determines the position of the optical fiber with a fault according to the test signal and the reflected signal. In the method, when the optical fiber between the first service equipment and the at least one second service equipment fails, the failure detection is not required to be performed through the equipment with the optical fiber failure. The first service equipment sends the test signal through the first detection port corresponding to the second service equipment, so that the first service equipment can acquire the fault position of any section of optical fiber, and the efficiency of determining the fault position is improved.
For ease of understanding, an application scenario of the embodiment of the present application is described below with reference to fig. 2.
Fig. 2 is an application scenario provided in the embodiment of the present application. Please refer to fig. 2, which includes a first service device, a second service device a, and a second service device B. The first service equipment is connected with the second service equipment A through an optical fiber, and the first service equipment is connected with the second service equipment B through the second service equipment A. The first service device may send communication information to the second service device a, the second service device a may also send communication information to the first service device, and the first service device may send communication information to the second service device B through the second service device a, and the second service device B may send communication information to the first service device through the second service device a.
When line interruption occurs between a second service device A and a second service device B, a first service device receives fault information sent by the second service device A and sends a test signal to the second service device A through a detection port in the first service device, the second service device A receives the test signal and sends the test signal to the second service device B, due to the line interruption, the second service device A receives a reflection signal corresponding to the test signal and sends a reflection signal corresponding to the test signal to the first service device, and the first service device determines the accurate position of the line interruption according to the test signal and the reflection signal. Therefore, the accurate position of the line interruption between the second service equipment A and the second service equipment B can be determined through the first service equipment, the second service equipment A or the second service equipment B is not required to be used for testing, and the efficiency of determining the fault position is improved.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following embodiments may be combined with each other, and the description of the same or similar contents in different embodiments is not repeated.
Fig. 3 is a schematic flowchart of a fault detection method according to an embodiment of the present application. Referring to fig. 3, the method may include:
s301, the first service equipment receives fault information sent by the second service equipment.
The execution subject of the embodiment of the present invention may be a fault detection apparatus, where the fault detection apparatus is disposed in the first service device, and the fault detection apparatus may be a processing chip in the first service device. Alternatively, the fault detection device may be implemented by software, or may be implemented by a combination of software and hardware.
The first service device may be a relay station or a device in a service station. For example, the first service device may be a device in the relay station, the first service device may also be a device in the service station, and the first service device may perform data transmission. The first service device includes a detection port and a service port. The detection port in the first service device may send a test signal, and the test signal may be an optical pulse signal. For example, a first service device may send a test signal to a second service device through a detection port. The service port is used for data transmission. For example, a first service device may send data to a second service device through a service port.
Alternatively, the detection port may be a port of a vacant core in the optical fiber. For example, the detection port may be a core port that does not transmit traffic data. Optionally, the service port may be a fiber core port for data transmission in an optical fiber. For example, the service port may be a core port for traffic data transmission.
The second service device may be a relay station or a device in a service station. For example, the second service device may be a device in the relay station, the second service device may also be a device in the service station, and the second service device may perform data transmission. The second service device includes a detection port and a service port. Wherein, the detection port in the second service device can receive or transmit the test signal. For example, the second service device may receive the test signal sent by the first service device through the detection port and send the test signal to other second service devices. The service port is used for data transmission. For example, the second service device may receive the service data sent by the first service device through the service port, and send the service data to other second service devices.
Optionally, the detection port in the first service device is connected to the detection port in the second service device through an optical fiber, and the service port in the first service device is connected to the service port in the second service device through an optical fiber.
Next, the connection relationship between the first service device and the second service device is described in detail with reference to fig. 4A to 4B.
Fig. 4A is a schematic diagram of a connection between a first service device and a second service device according to an embodiment of the present application. Please refer to fig. 4A, which includes a first service device, a second service device a, and a second service device B. The first service equipment, the second service equipment A and the second service equipment B are connected in series through optical fibers. The detection port of the first service device is connected with the detection ports of the second service device a and the second service device B. The service port of the first service device is connected with the service ports of the second service device a and the second service device B. The first service device may perform data transmission with the second service device B through the second service device a.
Fig. 4B is a schematic diagram of another connection between a first service device and a second service device according to an embodiment of the present application. Please refer to fig. 4B, which includes a first service device, a second service device a, a second service device B, a second service device C, and a second service device D. The first service device, the second service device a, the second service device B, the second service device C and the second service device D are connected through optical fibers. The detection port of the first service device is connected with the detection ports of the second service device a, the second service device B, the second service device C and the second service device D. The service port of the first service device is connected with the service ports of the second service device a, the second service device B, the second service device C and the second service device D. The first service device may perform data transmission with the second service device a through the second service device a, and the first service device may perform data transmission with the second service device B through the second service device a.
The failure information is used to indicate that the optical fiber connected to the second service device has failed. For example, the fault information may include an identifier of an optical fiber, and when an optical fiber connected between the first service device and the at least one second service device is interrupted, the fault information is used to indicate the identifier of the interrupted optical fiber.
Next, with reference to fig. 5, a process of receiving the failure information by the first service device is described in detail.
Fig. 5 is a schematic diagram of receiving fault information by a first service device according to an embodiment of the present application. Please refer to fig. 5, which includes a first service device, a second service device a, and a second service device B. The first service equipment is connected with the second service equipment A through optical fibers, and the second service equipment A is connected with the second service equipment B through optical fibers.
When a line between the second service device a and the second service device B is interrupted, the second service device B cannot receive service data sent by the second service device a through the optical fiber. And the second service equipment A sends the fault information to the first service equipment. The fault information is used to indicate line interruption between the second service device a and the second service device B.
S302, the first service device sends a test signal through a first detection port corresponding to the second service device.
The first service device includes at least two detection ports. The first detection port may be a port corresponding to the second service device among the plurality of detection ports of the first service device. For example, a first service device may send a test signal to a second service device corresponding to a first detection port through the first detection port.
The first service device sends a test signal to the second service device in a feasible implementation according to the following: the first service equipment determines a first detection port, and the first service equipment sends a test signal through the first detection port. For example, when the first service device receives the failure information, the first service device determines a first detection port corresponding to the second service device that has the failure, and sends a test signal to the second service device through the first detection port.
Optionally, the first service device may determine the first detection port according to a feasible implementation manner as follows: the first service device obtains a first preset corresponding relationship, wherein the first preset corresponding relationship comprises the identifiers of at least two detection ports and the device identifier corresponding to each detection port. The identifier of the detection port is used to indicate identity information of the detection port, and the identifier of the device is used to indicate identity information of the device, for example, the identifier of the detection port may be an ID of the detection port, the identifier of the device may be an ID of the device, and the first preset correspondence may be as shown in table 1:
TABLE 1
Figure BDA0002755969810000081
Figure BDA0002755969810000091
It should be noted that table 1 illustrates the first preset corresponding relationship in an exemplary form, and does not limit the first preset corresponding relationship.
For example, when the identifier of the detection port is identifier 1 of the detection port, the corresponding device identifier is device identifier 1; when the identifier of the detection port is the identifier 2 of the detection port, the corresponding equipment identifier is the equipment identifier 2; when the identifier of the detection port is the identifier 3 of the detection port, the corresponding device identifier is the device identifier 3.
And the first service equipment determines a first detection port in the at least two detection ports according to the first preset corresponding relation and the identifier of the second service equipment. For example, when the first service device receives the failure information, the first service device determines, according to the first preset correspondence and the identifier of the second service device, a detection port corresponding to the identifier of the second service device among the plurality of detection ports of the first service device.
Next, referring to fig. 6, a process of the first service device transmitting the test signal is described in detail.
Fig. 6 is a schematic process diagram of sending a test signal by a first service device according to an embodiment of the present application. Please refer to fig. 6, which includes a first service device, a second service device a, and a second service device B. The first service device includes a port C and a port D, the second service device a includes a port a, and the second service device B includes a port B. The port A, the port B, the port C and the port D are detection ports, the port A and the port C are connected through optical fibers, and the port D and the port B are connected through the optical fibers.
When the first service equipment receives the fault information, if the fault information indicates that the optical fiber between the first service equipment and the second service equipment A has a fault, the first service equipment determines that the port C is a port corresponding to the second service equipment A according to the first preset corresponding relation and the identification of the second service equipment A, and sends a test signal to the port A through the port C.
When the first service device receives the fault information, if the fault information indicates that the optical fiber between the first service device and the second service device B is in fault, the first service device determines that the port D is the port corresponding to the second service device B according to the first preset corresponding relation and the identifier of the second service device B, and sends a test signal to the port B through the port D.
S303, the first service device receives a reflection signal corresponding to the test signal through the first detection port.
The reflected signal may be an optical pulse signal. The reflected signal corresponding to the test signal may be a signal that the test signal encounters media with different refractive indexes in the optical fiber and is reflected back. For example, an optical time domain reflectometer may be used to transmit a test signal in an optical fiber, and a reflected signal received by the optical time domain reflectometer is a reflected signal corresponding to the test signal.
Next, referring to fig. 7, a process of the first service device receiving a reflected signal corresponding to the test signal is described in detail.
Fig. 7 is a schematic diagram of a first service device receiving a reflected signal according to an embodiment of the present application. Please refer to fig. 7, which includes a first service device, a second service device a, and a second service device B. The first service device includes a port C and a port D, the second service device a includes a port a, and the second service device B includes a port B. The port A, the port B, the port C and the port D are detection ports, the port A and the port C are connected through optical fibers, and the port D and the port B are connected through the optical fibers.
When the first service device receives the fault information, if the fault information indicates that an optical fiber between the first service device and the second service device A has a fault, the first service device sends a test signal A to the port A through the port C, the test signal A encounters media with different refractive indexes in the optical fiber and is reflected back to the port C, and the first service device receives a reflected signal A corresponding to the test signal A.
When the first service device receives the fault information, if the fault information indicates that the optical fiber between the first service device and the second service device B has a fault, the first service device sends a test signal B to the port B through the port D, the test signal B encounters media with different refractive indexes in the optical fiber and is reflected back to the port D, and the first service device receives a reflected signal B corresponding to the test signal B.
S304, the first service equipment determines the position of the optical fiber with the fault according to the test signal and the reflected signal.
The location of the fiber failure is used to indicate the location of the fiber break. For example, the location of the fiber break may be 100 kilometers from the first service device.
The location of the fiber failure can be determined according to the following feasible implementation: the first service device determines a test time according to the test signal and the reflected signal, wherein the test time may be a total time from the transmission of the test signal to the reception of the reflected signal. For example, if the time when the first service device sends the test signal is a and the time when the first service device receives the reflected signal is B, the test time may be the difference between a and B. And determining the position of the optical fiber fault according to the test time. For example, when the optical fiber is broken, the distance of the test signal propagating in the optical fiber is determined according to the propagation speed of light and the test time, and then the position of the optical fiber fault can be determined.
Alternatively, the distance that the test signal travels in the optical fiber may be determined according to the following formula:
Figure BDA0002755969810000101
where d is the distance that the test signal travels in the fiber, c is the speed of light in vacuum, t is the test time, and α is the refractive index of the fiber.
Alternatively, the refractive index of the fiber can be determined by the fiber manufacturer's label. And determining the position of the optical fiber fault according to the propagation distance of the test signal in the optical fiber. For example, if the test signal travels 100 kilometers in the optical fiber, the location of the optical fiber at which the failure occurs is 100 kilometers from the first service device.
Next, a process of determining a location of a failure of the optical fiber will be described in detail with reference to fig. 8.
Fig. 8 is a schematic diagram of determining a location of a fiber failure according to an embodiment of the present application. Please refer to fig. 8, which includes a first service device, a second service device B, and a second service device C. The first service device includes a port a, the second service device includes a port B and a port B, and the second service device C includes a port C. Port a, port B and port C are detection ports. Port a and port b are connected by optical fibers. The port B and the port B are two ports in the second service device B, and can perform data transmission, and the port B and the port C are connected by an optical fiber.
When the optical fiber between the second service device B and the second service device C is interrupted, the first service device sends a test signal to the second service device B through the port a, and the test signal is sent to the second service device C through the port B in the second service device B. Since the optical fiber between the second service device B and the second service device C is interrupted, the test signal is reflected after reaching the position of the optical fiber interruption, and a reflected signal is generated. The reflected signal passes through the second service device B and is transmitted to the first service device through the port B.
The first service equipment receives the reflected signal, determines the test time according to the test signal and the reflectable signal, and determines the position of the test signal generating the reflected signal according to the test time, so as to obtain the position of the optical fiber fault.
The application provides a fault detection method, which is applied to a network system, wherein the network system comprises a first service device and at least one second service device, and the first service device is connected with the second service device. And the first service equipment receives the fault information sent by the second service equipment. The second service equipment sends a test signal through a first detection port corresponding to the second service equipment, the first service equipment receives a reflected signal corresponding to the test signal through the first detection port, and the first service equipment determines the position of the optical fiber with a fault according to the test signal and the reflected signal. In the method, when the optical fiber between the first service device and at least one second service device fails, the first service device sends the test signal through the first detection port corresponding to the second service device, so that the first service device can acquire the fault position of any section of optical fiber, and the efficiency of determining the fault position is further improved.
On the basis of the embodiment shown in fig. 3, the network system further includes a maintenance device, and a process that the first service device sends the test signal through the first detection port corresponding to the second service device when the network system includes the maintenance device is described in detail below with reference to fig. 9.
Fig. 9 is a schematic flowchart of a process of sending a test signal by a first service device according to an embodiment of the present application. Referring to fig. 9, the method may include:
s901, the first service device receives a test signal sent by the maintenance device through the second detection port.
The maintenance equipment comprises a detection port, and the detection port in the maintenance equipment is connected with the detection port in the first service equipment through an optical fiber. For example, each detection port in the first service device is connected to a corresponding detection port in the maintenance device through an optical fiber. The detection port in the maintenance device may send a test signal or receive a reflected signal. For example, the detection port in the maintenance device may send a test signal to the second detection port in the first service device, or may receive a reflected signal sent by the first service device to the maintenance device.
The second detection port may be a port corresponding to the maintenance device in the plurality of detection ports of the first service device. For example, the first service device may receive the test signal sent by the maintenance device through the second detection port. Optionally, the number of the detection ports in the maintenance device is greater than or equal to the number of the detection ports in the first service device.
Optionally, the second detection port may be determined according to a correspondence between an identifier of the detection port in the maintenance device and an identifier of the second detection port. The identifier of the detection port in the maintenance device is used for indicating the identity information of the detection port in the maintenance device, and the identifier of the second detection port is used for indicating the identity information of the detection port in the first service device. For example, the identifier of the detection port in the maintenance device may be an ID of the detection port in the maintenance device, the identifier of the second detection port may be an ID of the detection port in the first service device, and the correspondence between the identifier of the detection port in the maintenance device and the identifier of the second detection port may be as shown in table 2:
TABLE 2
Figure BDA0002755969810000121
It should be noted that table 2 illustrates, by way of example, a correspondence between the identifier of the detection port in the maintenance device and the identifier of the second detection port, and does not limit the correspondence between the identifier of the detection port in the maintenance device and the identifier of the second detection port.
For example, when the identifier of the detection port in the maintenance device is detection port 1, the identifier of the corresponding second detection port is second detection port 1; when the identifier of the detection port in the maintenance equipment is the detection port 2, the identifier of the corresponding second detection port is the second detection port 2; when the identifier of the detection port in the maintenance device is the detection port 3, the identifier of the corresponding second detection port is the second detection port 3.
Next, referring to fig. 10, a process of the first device receiving the test signal through the second detection port will be described in detail.
Fig. 10 is a schematic diagram of a process of receiving a test signal by a first device according to an embodiment of the present application. Please refer to fig. 10, which includes a maintenance device and a first service device. The maintenance equipment comprises a detection port, and the first service equipment comprises a second detection port. The detection port is connected with the second detection port through an optical fiber.
After the first service device receives the fault information, the first service device sends a test request signal to the maintenance device, wherein the test request signal includes an identifier of the second detection port. The first service device may receive the test signal sent by the maintenance device through the second detection port.
S902, the first service device sends a test signal through the first detection port.
The test signal may be sent according to a possible implementation as follows: and the first service equipment determines the first detection port according to the identifier of the second detection port, and the first service equipment sends a test signal through the first detection port. Optionally, the first detection port may be determined according to a correspondence between the identifier of the second detection port and the identifier of the first detection port. For example, the correspondence between the identifier of the second detection port and the identifier of the first detection port may be as shown in table 3:
TABLE 3
Figure BDA0002755969810000131
It should be noted that table 3 illustrates the first preset corresponding relationship in an exemplary form, and does not limit the first preset corresponding relationship.
For example, when the identifier of the second detection port is the second detection port 1, the corresponding first detection port is the first detection port 1; when the identifier of the second detection port is the second detection port 2, the corresponding first detection port is the first detection port 2; when the identifier of the second detection port is the second detection port 3, the corresponding first detection port is the first detection port 3.
The application provides a fault detection method, which is applied to a network system, wherein the network system comprises a maintenance device, a first service device and at least one second service device, the first service device is connected with the second service device, and the maintenance device is connected with the first service device. And the first service equipment receives the test signal sent by the maintenance equipment through the second detection port, determines the first detection port according to the identifier of the second detection port and sends the test signal through the first detection port. In the method, the detection port in the maintenance equipment is connected with the second detection port in the first service equipment through the optical fiber, when the optical fiber in the network system breaks down, the accurate position of the optical fiber breaking down can be determined according to the first service equipment, and meanwhile, maintenance personnel can be timely informed to rush repair the broken optical fiber, so that the efficiency of maintaining the optical fiber is improved.
On the basis of any of the above embodiments, the following describes the fault detection method in detail by using a specific example with reference to fig. 11.
Fig. 11 is a schematic process diagram of a fault detection method according to an embodiment of the present application. Please refer to fig. 11, which includes a maintenance device, a first service device, a second service device a, and a second service device B. The maintenance equipment comprises a detection port 1 and a detection port 2, the first service equipment comprises a second detection port 1, a second detection port 2, a first detection port 1 and a first detection port 2, the second service equipment A comprises a detection port A, and the second service equipment B comprises a detection port B. The detection port 1 is connected with the second detection port 1 through an optical fiber, the detection port 2 is connected with the second detection port 2 through an optical fiber, the first detection port 2 is connected with the detection port B through an optical fiber, and the first detection port 1 is connected with the detection port A through an optical fiber. In the first service device, the first detection port corresponding to the second detection port 1 is the first detection port 1, and the first detection port corresponding to the second detection port 2 is the first detection port 2.
When the optical fiber between the first service device and the second service device B is interrupted, the maintenance device sends a test signal to the first service device through the detection port 2, and the first service device receives the test signal sent by the maintenance device through the second detection port 2 and sends the test signal to the second service device B through the first detection port 2. Due to the interruption of the optical fiber between the first service device and the second service device B, the test signal is reflected when reaching the point of interruption, forming a reflected signal. The first service device receives the reflected signal through the first detection port 2, and determines the distance between the position where the optical fiber is interrupted and the first service device according to the test signal and the reflected signal, thereby determining the accurate position of the optical fiber interruption.
The application provides a fault detection method, which is applied to a network system, wherein the network system comprises a maintenance device, a first service device and at least one second service device, the first service device is connected with the second service device, and the maintenance device is connected with the first service device. The first service equipment receives the test signal sent by the maintenance equipment and sends the test signal to the second service equipment. And the first service equipment receives the reflection signal corresponding to the test signal through the first detection port and sends the reflection signal to the maintenance equipment. And the maintenance equipment determines the position of the optical fiber with the fault according to the test signal and the reflected signal. In the method, according to the test signal sent by the maintenance equipment and the reflected signal received by the first service equipment, the accurate fault position when the optical fiber in the network system fails can be determined, and the efficiency of determining the fault position is further improved.
Fig. 12 is a schematic structural diagram of a fault detection apparatus according to an embodiment of the present application. The fault detection means may be provided in the terminal device. Referring to fig. 12, the failure detection device 10 includes: a first receiving module 11, a sending module 12, a second receiving module 13 and a determining module 14, wherein:
the first receiving module 11 is specifically configured to receive, by a first service device, fault information sent by a second service device, where the fault information is used to indicate that an optical fiber connected to the second service device fails;
the sending module 12 is specifically configured to send, by the first service device, a test signal through a first detection port corresponding to the second service device;
the second receiving module 13 is specifically configured to receive, by the first service device, a reflected signal corresponding to the test signal through the first detection port;
the determining module 14 is specifically configured to determine, by the first service device, a location where the optical fiber fails according to the test signal and the reflected signal.
In a possible implementation, the first service device and the second service device respectively include a detection port and a service port;
the detection port in the first service equipment is connected with the detection port in the second service equipment through an optical fiber;
and the service port in the first service equipment is connected with the service port in the second service equipment through the optical fiber.
In a possible implementation, the first service device includes at least two detection ports; the sending module 12 is specifically configured to:
the first service equipment determines the first detection port;
and the first service equipment sends a test signal through the first detection port.
In a possible implementation, the determining module 14 is specifically configured to:
the first service equipment acquires a first preset corresponding relation, wherein the first preset corresponding relation comprises the identification of at least two detection ports and the equipment identification corresponding to each detection port;
and the first service equipment determines the first detection port in the at least two detection ports according to the first preset corresponding relation and the identifier of the second service equipment.
In a possible implementation manner, the network system further includes a maintenance device, where the maintenance device includes a detection port, and the detection port in the maintenance device is connected to the detection port in the first service device through an optical fiber.
In a possible implementation manner, the sending module 12 is specifically configured to:
the first service equipment receives a test signal sent by the maintenance equipment through a second detection port;
and the first service equipment sends the test signal through the first detection port.
In a possible implementation manner, the sending module 12 is specifically configured to:
the first service equipment determines the first detection port according to the identifier of the second detection port;
and the first service equipment sends the test signal through the first detection port.
The fault detection device provided in the embodiment of the present application can implement the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
Fig. 13 is a schematic hardware structure diagram of the fault detection device provided in the present application. Referring to fig. 13, the fault detection apparatus 20 may include: a processor 21 and a memory 22, wherein the processor 21 and the memory 22 may communicate; illustratively, the processor 21 and the memory 22 communicate via a communication bus 23, the memory 22 being configured to store program instructions, and the processor 21 being configured to invoke the program instructions in the memory to perform the fault detection method as shown in any of the above-described method embodiments.
Optionally, the fault detection device 20 may further comprise a communication interface, which may comprise a transmitter and/or a receiver.
Optionally, the Processor may be a Central Processing Unit (CPU), or may be another general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
A readable storage medium having a computer program stored thereon; the computer program is for implementing a fault detection method as described in any of the embodiments above.
The embodiment of the application provides a computer program product, which comprises instructions, and when the instructions are executed, the instructions cause a computer to execute the fault detection method.
All or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be stored in a readable memory. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape (magnetic tape), floppy disk (flexible disk), optical disk (optical disk), and any combination thereof.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.
In the present application, the terms "include" and variations thereof may refer to non-limiting inclusions; the term "or" and variations thereof may mean "and/or". The terms "first," "second," and the like in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. In the present application, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.

Claims (9)

1. A method for detecting a failure, applied to a network system, where the network system includes a first service device and at least one second service device, and the first service device is directly or indirectly connected to the at least one second service device, the method includes:
a first service device receives fault information sent by a second service device, wherein the fault information is used for indicating that an optical fiber connected with the second service device has a fault, the first service device is a relay station or a device in a service station, and the second service device is a relay station or a device in the service station;
the first service equipment sends a test signal through a first detection port corresponding to the second service equipment;
the first service equipment receives a reflected signal corresponding to the test signal through the first detection port;
the first service equipment determines the position of the optical fiber with a fault according to the test signal and the reflected signal;
the first service equipment and the second service equipment respectively comprise a detection port and a service port, the detection port is a vacant fiber core port in the optical fiber, and the service port is a fiber core port for data transmission in the optical fiber;
the detection port in the first service equipment is connected with the detection port in the second service equipment through an optical fiber;
and the service port in the first service equipment is connected with the service port in the second service equipment through the optical fiber.
2. The method of claim 1, wherein the first traffic device comprises at least two detection ports; the sending, by the first service device, a test signal through a first detection port corresponding to the second service device includes:
the first service equipment determines the first detection port;
and the first service equipment sends a test signal through the first detection port.
3. The method of claim 2, wherein the determining, by the first traffic device, the first detection port comprises:
the first service equipment acquires a first preset corresponding relation, wherein the first preset corresponding relation comprises the identification of at least two detection ports and the equipment identification corresponding to each detection port;
and the first service equipment determines the first detection port in the at least two detection ports according to the first preset corresponding relation and the identifier of the second service equipment.
4. The method according to claim 1 or 2, wherein the network system further comprises a maintenance device, wherein the maintenance device comprises a detection port, and wherein the detection port in the maintenance device is connected with the detection port in the first service device through an optical fiber.
5. The method of claim 4, wherein the sending, by the first service device, the test signal through the first detection port corresponding to the second service device comprises:
the first service equipment receives a test signal sent by the maintenance equipment through a second detection port;
and the first service equipment sends the test signal through the first detection port.
6. The method of claim 5, wherein the first service device sending the test signal through the first detection port comprises:
the first service equipment determines the first detection port according to the identifier of the second detection port;
and the first service equipment sends the test signal through the first detection port.
7. A fault detection apparatus, applied to a network system, where the network system includes a first service device and at least one second service device, and the first service device is directly or indirectly connected to the at least one second service device, the apparatus includes: the device comprises a first receiving module, a sending module, a second receiving module and a determining module, wherein:
the first receiving module is specifically configured to receive, by a first service device, fault information sent by a second service device, where the fault information is used to indicate that an optical fiber connected to the second service device has a fault, the first service device is a relay station or a device in a service station, and the second service device is a relay station or a device in a service station;
the sending module is specifically configured to send, by the first service device, a test signal through a first detection port corresponding to the second service device;
the second receiving module is specifically configured to receive, by the first service device, a reflected signal corresponding to the test signal through the first detection port;
the determining module is specifically configured to determine, by the first service device, a location where the optical fiber fails according to the test signal and the reflected signal;
the first service equipment and the second service equipment respectively comprise a detection port and a service port, the detection port is a vacant fiber core port in the optical fiber, and the service port is a fiber core port for data transmission in the optical fiber;
the detection port in the first service equipment is connected with the detection port in the second service equipment through an optical fiber;
and the service port in the first service equipment is connected with the service port in the second service equipment through the optical fiber.
8. A fault detection device, comprising: a memory for storing program instructions, a processor for calling program instructions in the memory to perform the fault detection method of any one of claims 1-6, and a communication interface.
9. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program; the computer program is for implementing a fault detection method as claimed in any one of claims 1-6.
CN202011202838.0A 2020-11-02 2020-11-02 Fault detection method, device and equipment Active CN112332910B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011202838.0A CN112332910B (en) 2020-11-02 2020-11-02 Fault detection method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011202838.0A CN112332910B (en) 2020-11-02 2020-11-02 Fault detection method, device and equipment

Publications (2)

Publication Number Publication Date
CN112332910A CN112332910A (en) 2021-02-05
CN112332910B true CN112332910B (en) 2022-04-26

Family

ID=74324094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011202838.0A Active CN112332910B (en) 2020-11-02 2020-11-02 Fault detection method, device and equipment

Country Status (1)

Country Link
CN (1) CN112332910B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113759254B (en) * 2021-09-27 2023-12-26 中国联合网络通信集团有限公司 Battery reorganization method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917226A (en) * 2010-08-23 2010-12-15 中兴通讯股份有限公司 Method and optical line terminal for performing fiber fault diagnosis in passive optical network
CN103441794A (en) * 2013-09-05 2013-12-11 重庆大学 Transformer station optical fiber fault locating system and method
CN209562551U (en) * 2018-12-06 2019-10-29 中国移动通信集团贵州有限公司 Cable's Fault positioning system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917226A (en) * 2010-08-23 2010-12-15 中兴通讯股份有限公司 Method and optical line terminal for performing fiber fault diagnosis in passive optical network
CN103441794A (en) * 2013-09-05 2013-12-11 重庆大学 Transformer station optical fiber fault locating system and method
CN209562551U (en) * 2018-12-06 2019-10-29 中国移动通信集团贵州有限公司 Cable's Fault positioning system

Also Published As

Publication number Publication date
CN112332910A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN101252393B (en) Optic cable automatic monitoring system with optical fiber automatic switch unit
EP3029853A1 (en) Method, device, and system for optical fiber link identification
CN112332910B (en) Fault detection method, device and equipment
CN108989128B (en) Fault positioning method and device based on networking structure
CN101540936A (en) Station terminal device, communication system, subscriber device management method
CN101540637B (en) Method and system for positioning network fault
CN101547526B (en) Fault handling method, wireless device and communication system
CN111262731B (en) Alarm method, alarm device, server equipment and storage medium
CN103747472A (en) Noninductive tandem system on basis of circuit switch domain No.7 signaling network
CN114157350B (en) Optical fiber misconnection detection method and system
WO2022080592A1 (en) Ai-based active optical line management system
JP2020123789A (en) Communication monitoring method and communication monitoring method
CN101902369B (en) The Fault Locating Method of backboard cross system and device
CN114520935B (en) Path selection method and path selection device
CN105306135B (en) Link polling detection method and device
CN112291083B (en) Data processing method, device and equipment
CN218387758U (en) Network access equipment and system
US11611394B1 (en) Systems and methods for mapping optical connections in a fiber distribution hub of a passive optical network
CN112423325B (en) Multi-channel-based northbound interface communication method and device
US20050157710A1 (en) Data bus system
KR100366541B1 (en) Method for testing signal link path by ass-t section in mobile communication msc system
KR100292802B1 (en) How to watch on simulator
CN114124213A (en) ODN pre-coverage monitoring method and system for optical distribution network
CN105611561B (en) A kind of link failure processing method, device and system
JPH06141045A (en) Message communication system

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