Line detection method, device and system and storage medium

By sending label information between the branching device and the detection device, it detects whether the working line and the protection line belong to the same protection group, solving the problem of business interruption caused by wiring errors in multi-machine room line protection networking, and achieving business continuity. sex and stability.

CN118677756APending Publication Date: 2024-09-20HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310303695.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-16
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

In a multi-machine room line protection network, it is easy for connection errors to cause service interruption. It is difficult to effectively detect and prevent this situation with existing technology.

Method used

By sending label information between the branching equipment and the detection equipment, it is detected whether the working line and the protection line belong to the same protection group, thereby prompting maintenance and avoiding business interruption.

Benefits of technology

It realizes timely detection and alarm of line connection errors, ensures business continuity, and avoids business interruption caused by connection errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677756A
    Figure CN118677756A
Patent Text Reader

Abstract

The invention discloses a line detection method, device and system and a storage medium, and belongs to the field of communication. The method is applied to shunt equipment, and the shunt equipment is connected with a working line and a protection line. The method comprises the following steps: the shunt device sends first label information on the working line; and the shunt device sends second label information on the protection line, the first label information corresponds to the second label information, and the first label information and the second label information are used for detecting whether the working line and the protection line belong to the same protection group. According to the invention, service interruption can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to a method, device, system and storage medium for detecting a line. Background Art

[0002] Line protection is used to avoid interruption of services sent from a source device to a destination device. The network of line protection includes a first source device, a first branching device, a first detection device, and a first destination device. The first source device is connected to the first branching device, the first destination device is connected to the first detection device, the first branching device and the first detection device are connected using a first working line and a first protection line, and the first working line and the first protection line form a protection group.

[0003] The first branching device receives a signal sent by the first source device, and divides the signal into a first signal and a second signal, wherein the signal content of the first signal is the same as the signal content of the second signal. The first branching device sends a first signal to the first detection device on the first working line, and sends a second signal to the first detection device on the first protection line. The first detection device receives the first signal from the first working line, and sends the first signal to the first destination device. When the first working line fails, the first detection device will detect that there is no signal on the first working line, and then receive the second signal from the first protection line, and send the second signal to the first destination device, thereby ensuring that the service sent by the first source device to the first destination device will not be interrupted.

[0004] The first source device and the first branch device are devices in the first computer room, and the first detection device and the first destination device are devices in the second computer room. As the business between the first computer room and the second computer room increases, there may be multiple line protection networks between the first computer room and the second computer room. For example, the first computer room also includes a second source device and a second branch device, and the second computer room also includes a second destination device and a second branch device. The second source device is connected to the second branch device, and the second destination device is connected to the second detection device. The second branch device and the second detection device are connected using a second working line and a second protection line, and the second working thread and the second protection thread constitute another protection group.

[0005] The first working line and the second working line are different lines in the working cable, and the first protection line and the second protection line are different lines in the protection cable, which may easily lead to connection errors and cause service interruption. Summary of the invention

[0006] The present application provides a method, device, system and storage medium for detecting lines to avoid service interruption. The technical solution is as follows:

[0007] In a first aspect, the present application provides a method for detecting a line, the method being applied to a branching device, the branching device being connected to a working line and a protection line. In the method, the branching device sends first label information on the working line. The branching device sends second label information on the protection line, the first label information and the second label information corresponding to each other, and the first label information and the second label information are used to detect whether the working line and the protection line belong to the same protection group.

[0008] Since the branching device is connected to the working line and the protection line, the branching device is the starting position of the protection group. The branching device sends the first label information on the working line and sends the second label information on the protection line. In this way, the working line is connected to the working lines in other protection groups at any position, and / or the protection line is connected to the protection lines in other protection groups at any position. The connection errors can be detected through the first label information and the second label information, so that maintenance can be prompted in time to avoid business interruption.

[0009] In a possible implementation, the branching device sends a first signal on the working line, and the first signal carries the first label information. The branching device sends a second signal on the protection line, and the second signal carries the second label information. In this way, the first label information and the second label information can be integrated into the signal and sent, enriching the way of sending label information.

[0010] In another possible implementation, the splitter receives the third signal sent by the source device. The splitter splits the third signal into a fourth signal and a fifth signal. The splitter adjusts the signal power of the fourth signal based on the first tag information to obtain the first signal, and adjusts the signal power of the fifth signal based on the second tag information to obtain the second signal. The variation law of the signal power of the first signal is used to represent the first tag information, and the variation law of the signal power of the second signal is used to represent the second tag information, so that there is no need to add additional content to the first signal and the second signal, thereby avoiding increasing the data volume of the first signal and the second signal.

[0011] In another possible implementation, a splitter receives a third signal sent by a source device. The splitter splits the third signal into a fourth signal and a fifth signal. The splitter adjusts the waveform shape of the fourth signal based on the first tag information to obtain the first signal, and adjusts the waveform shape of the fifth signal based on the second tag information to obtain the second signal. The waveform shape of the first signal is used to represent the first tag information, and the waveform shape of the second signal is used to represent the second tag information, so that there is no need to add additional content to the first signal and the second signal, thereby avoiding increasing the data volume of the first signal and the second signal.

[0012] In another possible implementation manner, the first label information and the second label information are the same, which simplifies the process of detecting whether the working line and the protection line belong to the same working group based on the first label information and the second label information.

[0013] In another possible implementation, the first label information and the second label information are both target label information. The splitter receives a third signal sent by the source device, and the third signal carries the target label information. The splitter splits the third signal into a first signal and a second signal, both of which carry the target label information. In this way, the source device carries the target label information in the third signal, and the splitter splits the third signal into a first signal and a second signal with the same content, thereby simplifying the process of the splitter acquiring the first signal and the second signal.

[0014] In another possible implementation, the third signal is a signal obtained by adjusting the waveform shape of the signal to be transmitted by the source device based on the target tag information, and the waveform shape of the third signal is used to represent the target tag information. Since the branching device does not change the waveform shape of the signal when dividing the third signal into the first signal and the second signal, that is, the waveform shape of the first signal, the waveform shape of the second signal, and the waveform shape of the third signal are all the same, the first signal and the second signal both carry the target tag information.

[0015] In a second aspect, the present application provides a method for detecting a line, the method being applied to a detection device, the detection device being connected to a working line and a protection line. In the method, the detection device obtains first label information from the working line, and obtains second label information from the protection line. The detection device detects whether the working line and the protection line belong to the same protection group based on the first label information and the second label information.

[0016] Since the detection device is connected to the working line and the protection line, the detection device is the end position of the protection group. The detection device obtains the first label information on the working line and the second label information on the protection line. In this way, the working line is connected to the working lines in other protection groups at any position, and / or the protection line is connected to the protection lines in other protection groups at any position. The detection device can detect connection errors through the first label information and the second label information, so that maintenance can be reminded in time to avoid business interruption.

[0017] In a possible implementation, the detection device receives a first signal on a working line and a second signal on a protection line, wherein the first signal carries the first label information and the second signal carries the second label information. The detection device obtains the first label information based on the first signal and obtains the second label information based on the second signal. In this way, the first label information and the second label information can be fused in a signal and sent, thus enriching the way of transmitting label information.

[0018] In another possible implementation, the variation law of the signal power of the first signal is used to represent the first label information, and the variation law of the signal power of the second signal is used to represent the second label information. The detection device obtains the first label information by detecting the variation law of the signal power of the first signal, and obtains the second label information by detecting the variation law of the signal power of the second signal. In this way, the variation law of the signal power of the first signal is used to represent the first label information, and the variation law of the signal power of the second signal is used to represent the second label information, so that there is no need to add additional content to the first signal and the second signal, thereby avoiding increasing the data volume of the first signal and the second signal.

[0019] In another possible implementation, the waveform shape of the first signal is used to represent the first tag information, and the waveform shape of the second signal is used to represent the second tag information. The detection device obtains the first tag information by detecting the waveform shape of the first signal, and obtains the second tag information by detecting the waveform shape of the second signal. The waveform shape of the first signal is used to represent the first tag information, and the waveform shape of the second signal is used to represent the second tag information, so that there is no need to add additional content to the first signal and the second signal, thereby avoiding increasing the data volume of the first signal and the second signal.

[0020] In another possible implementation manner, when the first label information and the second label information correspond to each other, the detection device detects that the working line and the protection line belong to the same protection group.

[0021] In a third aspect, the present application provides a device for detecting a line, the device being connected to a working line and a protection line, the device comprising: a sending unit, configured to send first label information on the working line. The sending unit is also configured to send second label information on the protection line, the first label information and the second label information corresponding to each other, and the first label information and the second label information are used to detect whether the working line and the protection line belong to the same protection group.

[0022] Since the device is connected to the working line and the protection line, the device is the starting position of the protection group. The sending unit sends the first label information on the working line and sends the second label information on the protection line. In this way, the working line is connected to the working lines in other protection groups at any position, and / or the protection line is connected to the protection lines in other protection groups at any position. Connection errors can be detected through the first label information and the second label information, so that maintenance can be prompted in time to avoid business interruption.

[0023] In a possible implementation, the sending unit is used to send a first signal on a working line, the first signal carrying first label information; and send a second signal on a protection line, the second signal carrying second label information. In this way, the first label information and the second label information can be integrated into a signal for sending, thus enriching the way of sending label information.

[0024] In another possible implementation, the device further includes a receiving unit and a processing unit, wherein the receiving unit is used to receive a third signal sent by the source device. The processing unit is used to divide the third signal into a fourth signal and a fifth signal. The processing unit is also used to adjust the signal power of the fourth signal based on the first tag information to obtain the first signal, and to adjust the signal power of the fifth signal based on the second tag information to obtain the second signal. Among them, the change law of the signal power of the first signal is used to represent the first tag information, and the change law of the signal power of the second signal is used to represent the second tag information. The change law of the signal power of the first signal is used to represent the first tag information, and the change law of the signal power of the second signal is used to represent the second tag information, so that there is no need to add additional content to the first signal and the second signal, thereby avoiding increasing the data volume of the first signal and the second signal.

[0025] In another possible implementation, the apparatus further includes a receiving unit and a processing unit, wherein the receiving unit is configured to receive a third signal sent by the source device. The processing unit is configured to separate the third signal into a fourth signal and a fifth signal. The processing unit is further configured to adjust the waveform shape of the fourth signal based on the first tag information to obtain the first signal, and to adjust the waveform shape of the fifth signal based on the second tag information to obtain the second signal. The waveform shape of the first signal is used to represent the first tag information, and the waveform shape of the second signal is used to represent the second tag information.

[0026] In another possible implementation manner, the first label information and the second label information are the same, which simplifies the process of detecting whether the working line and the protection line belong to the same working group based on the first label information and the second label information.

[0027] In another possible implementation, the first label information and the second label information are both target label information, and the apparatus further includes a receiving unit and a processing unit. The receiving unit is configured to receive a third signal sent by a source device, the third signal carrying the target label information. The processing unit is configured to separate the third signal into a first signal and a second signal, both of which carry the target label information. In this way, the source device carries the target label information in the third signal, and the processing unit separates the third signal into a first signal and a second signal with the same content, thereby simplifying the process of the processing unit acquiring the first signal and the second signal.

[0028] In another possible implementation, the third signal is a signal obtained by adjusting the waveform shape of the signal to be transmitted by the source device based on the target tag information, and the waveform shape of the third signal is used to represent the target tag information. Since the processing unit does not change the waveform shape of the signal when dividing the third signal into the first signal and the second signal, that is, the waveform shape of the first signal, the waveform shape of the second signal, and the waveform shape of the third signal are all the same, the first signal and the second signal both carry the target tag information.

[0029] In a fourth aspect, the present application provides a device for detecting a line, the device being connected to a working line and a protection line, the device comprising: a processing unit, configured to obtain first label information from the working line and second label information from the protection line. The processing unit is further configured to detect whether the working line and the protection line belong to the same protection group based on the first label information and the second label information.

[0030] Since the device is connected to the working line and the protection line, the device is the end position of the protection group. The processing unit obtains the first label information on the working line and the second label information on the protection line. In this way, the working line is connected to the working lines in other protection groups at any position, and / or the protection line is connected to the protection lines in other protection groups at any position. The processing unit can detect connection errors through the first label information and the second label information, so as to promptly remind maintenance to avoid business interruption.

[0031] In a possible implementation, the device further includes a receiving unit. The receiving unit is configured to receive a first signal on a working line and a second signal on a protection line, wherein the first signal carries first label information and the second signal carries second label information. The processing unit is configured to obtain the first label information based on the first signal and obtain the second label information based on the second signal. In this way, the first label information and the second label information can be fused in a signal and sent, thereby enriching the method of transmitting label information.

[0032] In another possible implementation, the variation law of the signal power of the first signal is used to represent the first label information, and the variation law of the signal power of the second signal is used to represent the second label information. The processing unit is used to obtain the first label information by detecting the variation law of the signal power of the first signal, and to obtain the second label information by detecting the variation law of the signal power of the second signal. In this way, the variation law of the signal power of the first signal is used to represent the first label information, and the variation law of the signal power of the second signal is used to represent the second label information, so that there is no need to add additional content to the first signal and the second signal, thereby avoiding increasing the data volume of the first signal and the second signal.

[0033] In another possible implementation, the waveform shape of the first signal is used to represent the first tag information, and the waveform shape of the second signal is used to represent the second tag information. The processing unit is used to obtain the first tag information by detecting the waveform shape of the first signal, and to obtain the second tag information by detecting the waveform shape of the second signal. The waveform shape of the first signal is used to represent the first tag information, and the waveform shape of the second signal is used to represent the second tag information, so that there is no need to add additional content to the first signal and the second signal, thereby avoiding increasing the data volume of the first signal and the second signal.

[0034] In another possible implementation manner, the processing unit is configured to detect that the working line and the protection line belong to the same protection group when the first label information and the second label information correspond to each other.

[0035] In a fifth aspect, the present application provides a device for detecting a circuit, comprising at least one processor and a memory, wherein the at least one processor is used to couple with the memory, read and execute instructions in the memory, so that the device implements the method in the first aspect or any possible implementation method of the first aspect.

[0036] In a sixth aspect, the present application provides a device for detecting a circuit, comprising at least one processor and a memory, wherein the at least one processor is used to couple with the memory, read and execute instructions in the memory, so that the device implements the method in the second aspect or any possible implementation method of the second aspect.

[0037] In the seventh aspect, the present application provides a computer program product, which includes a computer program stored in a computer-readable storage medium, and the computer program is loaded by a computer to enable the computer to implement the above-mentioned first aspect, second aspect, any possible implementation method of the first aspect, or any possible implementation method of the second aspect.

[0038] In an eighth aspect, the present application provides a computer-readable storage medium for storing a computer program, which, when executed by a computer, enables the computer to execute the first aspect, the second aspect, any possible implementation of the first aspect, or any possible implementation of the second aspect.

[0039] In a ninth aspect, the present application provides a communication system, wherein the system includes the apparatus described in the third aspect and the apparatus described in the fourth aspect, or the system includes the apparatus described in the fifth aspect and the apparatus described in the sixth aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 This is a schematic diagram of a network architecture provided by an embodiment of the present application;

[0041] Figure 2 This is another network architecture diagram provided by an embodiment of the present application;

[0042] Figure 3 This is another network architecture diagram provided by an embodiment of the present application;

[0043] Figure 4 This is another network architecture diagram provided by an embodiment of the present application;

[0044] Figure 5 is a flow chart of a method for detecting a circuit provided in an embodiment of the present application;

[0045] Figure 6 is a flow chart of another method for detecting a circuit provided in an embodiment of the present application;

[0046] Figure 7 It is a schematic diagram of a signal waveform shape provided in an embodiment of the present application;

[0047] Figure 8 is another schematic diagram of a signal waveform shape provided in an embodiment of the present application;

[0048] Fig. 9 is another schematic diagram of a signal waveform shape provided in an embodiment of the present application;

[0049] Fig.10 It is a signal power schematic diagram provided in an embodiment of the present application;

[0050] Fig.11 This is a schematic diagram of a signal power variation law provided by an embodiment of the present application;

[0051] Fig.12 This is another schematic diagram of signal power variation law provided in an embodiment of the present application;

[0052] Fig.13 is a schematic diagram of a wiring error provided in an embodiment of the present application;

[0053] Fig.14 is a schematic diagram of another wiring error provided in an embodiment of the present application;

[0054] Fig.15 is a schematic diagram of another wiring error provided in an embodiment of the present application;

[0055] Fig.16 It is a schematic diagram of a device structure of a detection circuit provided in an embodiment of the present application;

[0056] Fig.17 is a schematic diagram of the structure of another detection circuit device provided in an embodiment of the present application;

[0057] Fig.18is a schematic diagram of the structure of another detection circuit device provided in an embodiment of the present application;

[0058] Fig.19 is a schematic diagram of the structure of another detection circuit device provided in an embodiment of the present application;

[0059] Fig. 20 It is a schematic diagram of the system structure of a detection circuit provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] The implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0061] See also Figure 1 The embodiment of the present application provides a network architecture 100, which includes a network of multiple line protections. The multiple line protections include a first line protection and a second line protection.

[0062] See also Figure 1 The first line protection includes a first source device 101, a first branching device 102, a first detection device 103 and a first destination device 104. The first source device 101 is connected to the first branching device 102, the first branching device 102 is connected to the first detection device 103 through the first working line and the first protection line, and the first detection device 103 is connected to the first destination device 104.

[0063] In some embodiments, the first branching device 102 includes a first output port and a second output port, and the first detection device 103 includes a first input port and a second input port. The first output port of the first branching device 102 and the first input port of the first detection device 103 are connected via a first working line. The second output port of the first branching device 102 and the second input port of the first detection device 103 are connected via a first protection line.

[0064] See also Figure 1 The second line protection includes a second source device 201, a second branching device 202, a second detection device 203 and a second destination device 204. The second source device 201 is connected to the second branching device 202, the second branching device 202 is connected to the second detection device 203 through the second working line and the second protection line, and the second detection device 203 is connected to the second destination device 204.

[0065] In some embodiments, the second branching device 202 includes a first output port and a second output port, and the second detection device 203 includes a first input port and a second input port. The first output port of the second branching device 202 and the first input port of the second detection device 203 are connected via a second working line. The second output port of the second branching device 202 and the second input port of the second detection device 203 are connected via a second protection line.

[0066] The first source device 101, the first branching device 102, the second source device 201 and the second branching device 202 are devices located in the first machine room, and the first detection device 103, the first destination device 104, the second detection device 203 and the second destination device 204 are devices located in the second machine room. Therefore, in order to simplify the connection between the first machine room and the second machine room, the first working line and the second working line are different lines wrapped in the working cable, and the first protection line and the second protection line are different lines wrapped in the protection cable.

[0067] For example, the working cable is an optical fiber cable, the first working line and the second working line are different fiber cores in the optical fiber cable, the protection cable is another optical fiber cable, the first protection line and the second protection line are different fiber cores in the another optical fiber cable.

[0068] For another example, the working cable is a copper wire cable, the first working line and the second working line are different copper cores in the copper wire cable, the protection cable is another copper wire cable, the first protection line and the second protection line are different copper cores in the another copper wire cable.

[0069] The first source device 101 can send a signal to the first branching device 102. The first branching device 102 receives the signal, divides the signal into a first signal and a second signal with the same signal content, sends the first signal on the first working line, and sends the second signal on the first protection line. The first detection device 103 receives the first signal on the first working line and sends the first signal to the first destination device 104. When the first working line fails, the first detection device 103 will detect that there is no signal on the first working line, and then receive the second signal from the first protection line and send the second signal to the first destination device, thereby ensuring that the service sent by the first source device 101 to the first destination device 104 will not be interrupted. Similarly, the process of the second source device 201 sending a service to the second destination device 204 is the same as the process of the first source device 101 sending a service to the first destination device 104, and will not be described in detail here.

[0070] In some embodiments, the first detection device 103 is a power detection device, and when the first detection device 103 detects that the power of the first signal on the first working line does not exceed a specified threshold, it determines that there is no signal on the first working line. Optionally, the specified threshold is 0, or a value close to 0. Similarly, the function of the second detection device 203 is the same as that of the first detection device 103, and will not be described in detail here.

[0071] In some embodiments, the network architecture 100 is applied to the field of electrical communications, and the signal sent by the first source device 101, the first signal, and the second signal are all analog signals.

[0072] In some embodiments, the network architecture 100 is applied to the field of optical communications, and the signal sent by the first source device 101, the first signal, and the second signal are all optical signals.

[0073] Alternatively, see Figure 2 The networking of the first protection line includes at least one first source device 101 and at least one first destination device 104. The networking of the first protection line also includes a first fusion device 105 and a first differentiation device 106. The first fusion device 105 is connected to the at least one first source device 101 and the first branching device 102, and the first differentiation device 106 is connected to the first detection device 103 and the at least one first destination device 104.

[0074] The first fusion device 105 receives at least one optical signal, fuses the at least one optical signal into one signal, and sends the one signal to the first branching device 102. The at least one optical signal is an optical signal sent by the at least one first source device 101, the at least one optical signal corresponds to the at least one first destination device 104 one by one, and each optical signal in the at least one optical signal has a different wavelength.

[0075] The first splitter 102 receives the signal sent by the first fusion device 105, divides the signal into a first signal and a second signal, sends the first signal on a first working line, and sends the second signal on a first protection line. The first signal is a signal obtained by fusion of the at least one optical signal, and the second signal is also a signal obtained by fusion of the at least one optical signal.

[0076] The first detection device 103 receives a first signal from the first working line and sends the first signal to the first distinguishing device 106 ; or, when the first working line fails, receives a second signal from the first protection line and sends the second signal to the first distinguishing device 106 .

[0077] The first distinguishing device 106 receives the signal (the first signal or the second signal) sent by the first detection device 103, distinguishes the optical signal corresponding to each first destination device 104 in the at least one first destination device 104 from the signal, and sends the optical signal corresponding to each first destination device 104 to each first destination device 104. In this way, the at least one first source device 101 sends the service to the at least one first destination device 104.

[0078] Alternatively, see Figure 2 , the networking of the second protection line includes at least one second source device 201 and at least one second destination device 204, and the networking of the second protection line also includes a second fusion device 205 and a second differentiation device 206. The second fusion device 205 is connected to the at least one second source device 201 and the second branching device 202, and the second differentiation device 206 is connected to the second detection device 203 and the at least one second destination device 204. Similarly, the process of the at least one second source device 201 sending a service to the at least one second destination device 204 is the same as the process of the at least one first source device 101 sending a service to the at least one first destination device 104, and will not be described in detail here.

[0079] In some embodiments, see Figure 3 The first source device 101 or the second source device 201 can be an optical transponder unit (OTU), etc., the first fusion device 105 or the second fusion device 106 can be a wavelength selective switch (WSS), etc., the first branching device 102 or the second branching device 202 can be an optical line protection (OLP), etc., the first detection device 103 or the second detection device 203 can be OLP, etc., the first distinguishing device 106 or the second distinguishing device 206 can be WSS, etc., the first destination device 104 or the second destination device 204 can be OTU, etc.

[0080] See also Figure 3 In the network architecture 100 applied to the field of optical communication, the first working line in the first line protection also includes a first fiber interface unit (FIU) 11 and a second FIU 12, and the first protection line in the first line protection also includes a third FIU 13 and a fourth FIU 14. In addition, the second working line in the second line protection also includes a fifth FIU 21 and a sixth FIU 22, and the second protection line in the second line protection also includes a seventh FIU 23 and an eighth FIU 24.

[0081] Among them, since the first working line and the second working line are different lines wrapped in the working cable, and the first protection line and the second protection line are different lines wrapped in the protection cable, connection errors are likely to occur.

[0082] For example, see Figure 4 , when networking, the first working line is used to connect the first branching device 102 and the first detection device 103, the first protection line is mistakenly used to connect the first branching device 102 and the second detection device 203, and the second working line is used to connect the second branching device 202 and the second detection device 203, and the second protection line is mistakenly used to connect the second branching device 202 and the first detection device 103. At this time, the first working line and the second protection line connected to the first detection device 103 are not lines in the same protection group, and the second working line and the first protection line connected to the second detection device 203 are not lines in the same protection group. In this way, when the first detection device 103 detects that there is no signal on the first working line, the signal received from the second protection line belongs to the second source device 201, resulting in the interruption of the service sent by the first source device 101 to the first destination device 104. Similarly, it may also cause the interruption of the service sent by the second source device 201 to the second destination device 204.

[0083] For another example, if the protection cable is dug up due to construction or other reasons, it is necessary to weld each line in the protection cable one by one, but the first protection line connected to the first branching device 102 and the second protection line connected to the second detection device 203 may be welded, and the second protection line connected to the second branching device 202 and the first protection line connected to the first detection device 103 may be welded. At this time, the working line and the protection line connected to the first detection device 103 are not lines in the same protection group, and the working line and the protection line connected to the second detection device 203 are not lines in the same protection group. In this way, when the first detection device 103 detects that there is no signal on the first working line, the signal received from the protection line connected to the first detection device 103 belongs to the second source device 201, thereby causing the interruption of the service sent by the first source device 101 to the first destination device 104. Similarly, it may also cause the interruption of the service sent by the second source device 201 to the second destination device 204.

[0084] In order to avoid service interruption, it is necessary to detect whether the working line and the protection line connected to the detection device (the first detection device 103 or the second detection device 203) belong to the same protection group. If it is detected that the working line and the protection line connected to the detection device do not belong to the same protection group, an alarm is given in time to enable a technician to perform maintenance. For the specific detection process, please refer to any of the following embodiments.

[0085] The present application embodiment provides a method 500 for detecting a circuit, wherein the method 500 is applied to Figure 1 , Figure 2 , Figure 3 or Figure 4 In the method 500, the splitter sends the first label information on the working line and sends the second label information on the protection line, so as to use the first label information and the second label information to detect whether the working line and the protection line belong to the same protection group, see Figure 5 , the method 500 includes the following process from step 501 to step 503.

[0086] Step 501: The branching device sends first label information on the working line and sends second label information on the protection line, the first label information and the second label information correspond to each other, and the working line and the protection line are lines connected to the branching device.

[0087] The first tag information may be the same as the second tag information, or the first tag information may be different from the second tag information.

[0088] The first label information and the second label information correspond to the line protection where the branching device is located, and different line protections correspond to different first label information and second label information.

[0089] In some embodiments, if the first label information and the second label information are different, the branching device and the detection device in the same line protection agree in advance on the first label information and the second label information. For example, the branching device may send the first label information and the second label information to the detection device in advance. For example, the branching device and the detection device in the same line protection agree in advance that the first label information is 01, and the second label information corresponding to the first label information is 02.

[0090] The branch device sending the first label information on the working line is actually sending the first signal on the working line, and the signal content of the first signal is the first label information. Sending the second label information on the protection line is actually sending the second signal on the protection line, and the signal content of the second signal is the second label information. Optionally, the first signal and the second signal may be analog signals or optical signals.

[0091] In some embodiments, it is possible to periodically detect whether the working line and the protection line belong to the same protection group by executing the method 500. That is, the branching device periodically sends the first label information and the second label information.

[0092] In some embodiments, when the branch device is powered on or the detection device is powered on, the method 500 may be executed to detect whether the working line and the protection line belong to the same protection group. That is, the branch device sends the first label information and the second label information when it is powered on, or the branch device sends the first label information and the second label information when it detects that the detection device is powered on. The branch device and the detection device are located in the same line protection network.

[0093] In some embodiments, under the triggering of an administrator, the method 500 may be executed to detect whether the working line and the protection line belong to the same protection group. That is, the branching device sends the first label information and the second label information under the triggering of the administrator.

[0094] Step 502: The detection device receives first label information on a working line and receives second label information on a protection line, where the working line and the protection line are lines connected to the detection device.

[0095] When the working line connected to the detection device is the same as the working line connected to the branch device, the first label information received by the detection device is the same as the first label information sent by the branch device. When the protection line connected to the detection device is the same as the protection line connected to the branch device, the second label information received by the detection device is the same as the second label information sent by the branch device.

[0096] When the working line connected to the detection device is different from the working line connected to the branch device, the first label information received by the detection device is different from the first label information sent by the branch device. When the protection line connected to the detection device is different from the protection line connected to the branch device, the second label information received by the detection device is different from the second label information sent by the branch device.

[0097] In step 502, the detection device receives a first signal on a working line, parses the first signal to obtain first label information, and receives a second signal on a protection line, parses the second signal to obtain second label information.

[0098] In some embodiments, when the first signal and the second signal are optical signals, the detection device includes a photoelectric conversion module, which converts the first signal into an electrical signal to obtain the first tag information and converts the second signal into an electrical signal to obtain the second tag information.

[0099] In some embodiments, the optoelectronic conversion module is a module such as an optical supervisory channel (OSC).

[0100] Step 503: The detection device detects whether the working line and the protection line belong to the same protection group based on the first label information and the second label information.

[0101] In step 503, the detection device detects that the working line and the protection line belong to the same protection group when the first label information and the second label information correspond, or detects that the working line and the protection line do not belong to the same protection group when the first label information and the second label information do not correspond.

[0102] For example, when the first label information and the second label information received by the detection device are the same, the first label information and the second label information are detected to correspond to each other. Alternatively, when the first label information received by the detection device is 01 and the second label information received is 02 corresponding to the first label information, the first label information and the second label information are detected to correspond to each other.

[0103] When the detection equipment detects that the working line and the protection line do not belong to the same protection group, it can issue an alarm to allow technical personnel to perform maintenance.

[0104] In an embodiment of the present application, a branching device sends a first label information on a working line connected to the branching device and sends a second label information on a protection line connected to the branching device. A detection device receives the first label information on a working line connected to the detection device and receives the second label information on a protection line connected to the detection device, and detects whether the working line and the protection line belong to the same protection group based on the received first label information and second label information. When the detection device detects that the working line and the protection line do not belong to the same protection group, an alarm prompt is issued to enable a technician to perform maintenance, so that connection errors can be repaired in time, thereby avoiding interruption of the transmission of the service when the transmission source device sends the service to the destination device.

[0105] The present application embodiment provides a method 600 for detecting a circuit, wherein the method 600 is applied to Figure 1 , Figure 2 , Figure 3 or Figure 4 In the method 600, the splitter receives a signal sent by the source device, obtains a first signal including first label information and a second signal including second label information, sends the first signal on the working line and sends the second signal on the protection line, and uses the first label information and the second label information to detect whether the working line and the protection line belong to the same protection group, see Figure 6 The method 600 shown includes the following process from step 601 to step 605.

[0106] Step 601: The branching device receives a third signal, where the third signal is a signal sent by a source device to a destination device.

[0107] In some embodiments, the third signal carries target tag information. Alternatively, the third signal may not carry target tag information.

[0108] In some embodiments, the target tag information includes one or more of the following: a network element identifier (NEID) of the source device, a slot number of the source device, or a port number of the source device, etc. The NEID is used to identify the chassis where the source device is located, and the slot number is used to identify the slot where the source device is located.

[0109] In some embodiments, the third signal is an optical signal, the target tag information is the signal content of the third signal, or the third signal is a signal obtained by adjusting the waveform shape of the signal to be transmitted by the source device based on the target tag information, and the waveform shape of the third signal is used to represent the target tag information, so that the third signal carries the target tag information. Optionally, the target tag information is represented by using a change rule of the waveform shape of the third signal.

[0110] In the implementation method in which the waveform shape of the third signal is used to represent the target tag information, the signal content of the third signal does not have the target tag information, and the appearance of the third signal is used to make the third signal carry the target tag information, thereby not increasing the signal content of the third signal, that is, not increasing the amount of data that the source device needs to send, thereby avoiding affecting the service sent by the source device to the destination device.

[0111] See also Figure 7 , the height of each peak or each trough included in the waveform of the signal to be sent is the same, and the target tag information includes at least one bit. The source device determines at least one continuous peak corresponding to each bit included in the target tag information in each peak included in the waveform of the signal to be sent, and adjusts the height of at least one peak corresponding to each bit based on each bit to obtain a third signal carrying the target tag information. Alternatively, the source device determines at least one continuous trough corresponding to each bit included in the target tag information in each peak included in the waveform of the signal to be sent, and adjusts the height of at least one trough corresponding to each bit based on each bit to obtain a third signal carrying the target tag information.

[0112] In some embodiments, each bit corresponds to a plurality of continuous peaks or troughs, so that the detection device can distinguish the plurality of peaks or troughs corresponding to each bit, thereby improving the resolution.

[0113] For example, assume that the target tag information is 1010, which includes four bits in total. Assume that each bit corresponds to two peaks, the first bit 1 corresponds to two peaks, the second bit 0 corresponds to two peaks, the third bit 1 corresponds to two peaks, and the fourth bit 0 corresponds to two peaks. The source device can reduce the height of the peak corresponding to bit 0 and keep the height of the peak corresponding to bit 1 unchanged. That is, the source device keeps the heights of the two peaks corresponding to the first bit 1 and the two peaks corresponding to the third bit 1 unchanged, and reduces the heights of the two peaks corresponding to the second bit 0 and the two peaks corresponding to the fourth bit 0, and obtains the following: Figure 8 The third signal shown. Figure 8 As shown, the waveform shape of the third signal is used to represent the target tag information 1010 .

[0114] For another example, still assuming that the target tag information is 1010, which includes four bits in total. Assume that each bit corresponds to two troughs, the first bit 1 corresponds to two troughs, the second bit 0 corresponds to two troughs, the third bit 1 corresponds to two troughs, and the fourth bit 0 corresponds to two troughs. The source device can increase the height of the trough corresponding to bit 0 and keep the height of the trough corresponding to bit 1 unchanged. That is, the source device keeps the heights of the two troughs corresponding to the first bit 1 and the two troughs corresponding to the third bit 1 unchanged, and increases the heights of the two troughs corresponding to the second bit 0 and the two troughs corresponding to the fourth bit 0, and obtains the following: Fig. 9 The third signal shown. Fig. 9 As shown, the waveform shape of the third signal is used to represent the target tag information 1010 .

[0115] In some embodiments, the height adjustment amplitude of the peak or trough in the third signal is greater than the first height threshold and less than the second height threshold. That is, the peak height difference between the peak corresponding to bit 1 and the peak corresponding to bit 0 in the third signal is greater than the first height threshold and less than the second height threshold, or the trough height difference between the trough corresponding to bit 1 and the trough corresponding to bit 0 in the third signal is greater than the first height threshold and less than the second height threshold, so as to ensure that the peak height difference or the trough height difference will not be too small, so that the detection device can distinguish bit 1 from bit 0, and also ensure that the peak height difference or the trough height difference will not be too large, resulting in a greater impact on the business data in the third signal.

[0116] Step 602: The branching device obtains a first signal and a second signal based on a third signal, wherein the first signal carries first label information and the second signal carries second label information.

[0117] In step 602, the branching device may obtain the first signal and the second signal in the following ways, which include the following way 1, way 2, way 3 or way 4.

[0118] Method 1: The third signal carries target label information, and the branching device divides the third signal into a first signal and a second signal. The first label information carried by the first signal and the second label information carried by the second signal are the same, both of which are target label information.

[0119] In the first mode, the first signal and the second signal are the same, the signal power of the first signal and the signal power of the second signal may be the same or different, and the sum of the signal power of the first signal and the signal power of the second signal may be equal to the signal power of the third signal.

[0120] The first tag information is the signal content of the first signal, and the second tag information is the signal content of the first signal. Or,

[0121] The waveform shape of the first signal is used to represent the first tag information, and the waveform shape of the second signal is used to represent the second tag information. The waveform shape of the first signal and the waveform shape of the second signal are both the same as the waveform shape of the third signal. For example, the waveform shape of the first signal and the waveform shape of the second signal are both the same as Figure 8 The waveform shape of the third signal is the same as shown, or the waveform shape of the first signal and the waveform shape of the second signal are the same as shown. Fig. 9 The waveform shape of the third signal shown is the same.

[0122] In a second implementation, the splitter device divides the third signal into a fourth signal and a fifth signal, adds the first label information to the fourth signal to obtain the first signal, and adds the second label information to the fifth signal to obtain the second signal. In this implementation, the first label information is the signal content of the first signal, and the second label information is the signal content of the first signal.

[0123] For example, the fourth signal and the fifth signal are both optical signals, and the first label information and the second label information are both electrical signals. The branching device converts the fourth signal into a first electrical signal, and converts the fifth signal into a second electrical signal. The first electrical signal and the first label information are combined into one electrical signal, and the one electrical signal is converted into the first signal. The second electrical signal and the second label information are combined into one electrical signal, and the one electrical signal is converted into the second signal.

[0124] Method three, the branching device divides the third signal into a fourth signal and a fifth signal, adjusts the signal power of the fourth signal based on the first label information to obtain the first signal, and adjusts the signal power of the fifth signal based on the second label information to obtain the second signal; wherein the change law of the signal power of the first signal is used to represent the first label information, and the change law of the signal power of the second signal is used to represent the second label information.

[0125] See also Fig.10, the signal power of the fourth signal or the fifth signal is fixed, the first tag information includes at least one bit, and the second tag information includes at least one bit.

[0126] See also Fig.11 or Fig.12 , the branching device determines the signal of a period of time corresponding to each bit included in the first label information in the fourth signal, and adjusts the signal power of the period of time corresponding to each bit based on the bit value of each bit to obtain the first signal, and the waveform of the signal power of the first signal changes up and down. And, the branching device determines the signal of a period of time corresponding to each bit included in the second label information in the fifth signal, and adjusts the signal power of the period of time corresponding to each bit based on the bit value of each bit to obtain the second signal, and the waveform of the signal power of the second signal changes up and down. Optionally, in the first signal or the second signal, high signal power represents bit value 1, and low signal power represents bit value 0; or, high signal power represents bit value 0, and low signal power represents bit value 1.

[0127] For example, assuming that the first label information is 101101, each bit corresponds to a signal of a time length of T, T is greater than 0, such as T is equal to 10ms, 30ms, 50ms or 60ms, etc. The branching device determines in the fourth signal the signal of a time period corresponding to the first bit 1 included in the first label information, the signal of a time period corresponding to the second bit 0, the signal of a time period corresponding to the third bit 1, the signal of a time period corresponding to the fourth bit 1, the signal of a time period corresponding to the fifth bit 0, and the signal of a time period corresponding to the sixth bit 1.

[0128] The splitter keeps the signal power of the signal corresponding to the first bit 1 for a period of time, the signal power of the signal corresponding to the third bit 1 for a period of time, the signal power of the signal corresponding to the fourth bit 1 for a period of time, and the signal power of the signal corresponding to the sixth bit 1 unchanged. The signal power of the signal corresponding to the second bit 0 for a period of time and the signal power of the signal corresponding to the fifth bit 0 for a period of time are reduced, and the following is obtained: Fig.11 The first signal shown. Fig.11 As shown, the change rule of the signal power of the first signal is used to represent the first label information 101101.

[0129] For another example, assume that the second label information is 101001. The branching device determines in the fifth signal that the second label information includes a signal for a period of time corresponding to the first bit 1, a signal for a period of time corresponding to the second bit 0, a signal for a period of time corresponding to the third bit 1, a signal for a period of time corresponding to the fourth bit 0, a signal for a period of time corresponding to the fifth bit 0, and a signal for a period of time corresponding to the sixth bit 1.

[0130] The splitter keeps the signal power of the signal corresponding to the first bit 1 for a period of time, the signal power of the signal corresponding to the third bit 1 for a period of time, and the signal power of the signal corresponding to the sixth bit 1 unchanged. The signal power of the signal corresponding to the second bit 0 for a period of time, the signal power of the signal corresponding to the fourth bit 0 for a period of time, and the signal power of the signal corresponding to the fifth bit 0 for a period of time are reduced, and the following is obtained: Fig.12 The second signal shown. Fig.11 As shown, the variation rule of the signal power of the second signal is used to represent the second label information 101001.

[0131] In some embodiments, the adjustment amplitude of the signal power in the first signal or the second signal is greater than the first power threshold and less than the second power threshold. That is, the power difference between the signal power of the signal corresponding to bit 1 and the signal power of the signal corresponding to bit 0 in the first signal or the second signal is greater than the first power threshold and less than the second power threshold, so as to ensure that the power difference is not too small, so that the detection device can distinguish bit 1 from bit 0, and also ensure that the power difference is not too large, resulting in a greater impact on the service data in the first signal and the second signal.

[0132] The first power threshold may be 0.3dB, 0.35dB, or 0.4dB, etc., and the second power threshold may be 0.45dB, 0.5dB, or 0.55dB, etc.

[0133] In some embodiments, the branching device includes a power adjustment module, and the branching device adjusts the signal power of the fourth signal and the signal power of the fifth signal through the power adjustment module. Optionally, the power adjustment module can be a variable optical attenuator (VOA) or the like.

[0134] Method 4: The branching device divides the third signal into a fourth signal and a fifth signal; adjusts the waveform shape of the fourth signal based on the first tag information to obtain the first signal, and adjusts the waveform shape of the fifth signal based on the second tag information to obtain the second signal; wherein the waveform shape of the first signal is used to represent the first tag information, and the waveform shape of the second signal is used to represent the second tag information. The detailed implementation process of adjusting to obtain the first signal and the second signal is the same as the detailed implementation process of adjusting to obtain the third signal, and will not be described in detail here.

[0135] Step 603: The branching device sends a first signal on a working line and sends a second signal on a protection line, where the working line and the protection line are lines connected to the branching device.

[0136] In some embodiments, whether the working line and the protection line belong to the same protection group can be detected periodically by executing the method 600. That is, the branching device periodically sends a first signal carrying the first label information and a second signal carrying the second label information.

[0137] In some embodiments, when the branch device is powered on or the detection device is powered on, the method 600 may be executed to detect whether the working line and the protection line belong to the same protection group. That is, the branch device sends a first signal carrying the first label information and a second signal carrying the second label information when it is powered on, or the branch device sends a first signal carrying the first label information and a second signal carrying the second label information when it detects that the detection device is powered on. The branch device and the detection device are located in the same line protection network.

[0138] In some embodiments, the method 600 can be executed under the triggering of an administrator to detect whether the working line and the protection line belong to the same protection group. That is, the branching device sends a first signal carrying the first label information and a second signal carrying the second label information under the triggering of the administrator.

[0139] Step 604: The detection device receives a first signal on a working line and receives a second signal on a protection line, wherein the working line and the protection line are lines connected to the detection device.

[0140] When the working line connected to the detection device is the same as the working line connected to the branching device, the first signal received by the detection device is the same as the first signal sent by the branching device. When the protection line connected to the detection device is the same as the protection line connected to the branching device, the second signal received by the detection device is the same as the second signal sent by the branching device.

[0141] When the working line connected to the detection device is different from the working line connected to the branch device, the first signal received by the detection device is different from the first signal sent by the branch device. When the protection line connected to the detection device is different from the protection line connected to the branch device, the second signal received by the detection device is different from the second signal sent by the branch device.

[0142] Step 605: The detection device detects whether the working line and the protection line belong to the same protection group based on the first label information carried by the first signal and the second label information carried by the second signal.

[0143] In step 605, the detection device may detect whether the working line and the protection line belong to the same protection group through the following operations 6051 to 6052.

[0144] 6051: The detection device obtains first tag information based on the first signal, and obtains second tag information based on the second signal

[0145] In some embodiments, the signal content of the first signal includes first tag information, and the signal content of the second signal includes second tag information. In 6051, the detection device parses the first signal to obtain the first tag information, and parses the second signal to obtain the second tag information.

[0146] In some embodiments, when the first signal and the second signal are optical signals, the detection device includes a photoelectric conversion module, which converts the first signal into an electrical signal to obtain the first tag information and converts the second signal into an electrical signal to obtain the second tag information.

[0147] In some embodiments, the variation law of the signal power of the first signal is used to represent the first tag information, and the variation law of the signal power of the second signal is used to represent the second tag information. In 6051, the detection device obtains the first tag information by detecting the variation law of the signal power of the first signal, and obtains the second tag information by detecting the variation law of the signal power of the second signal.

[0148] In the first signal or the second signal, the signal power of a segment of the signal corresponding to bit 1 is different from the signal power of a segment of the signal corresponding to bit 0. The detection device obtains each bit included in the first label information by detecting the signal power of the first signal, and obtains each bit included in the second label information by detecting the signal power of the second signal.

[0149] For example, the detection device can Fig.11 The signal power of the first signal shown in FIG. 1 is detected to obtain that each bit of the first tag information is 101101, and Fig.12 The signal power of the second signal is detected to obtain that each bit included in the second label information is 101001.

[0150] In some embodiments, the waveform shape of the first signal is used to represent the first tag information, and the waveform shape of the second signal is used to represent the second tag information. In 6051, the detection device obtains the first tag information by detecting the waveform shape of the first signal, and obtains the second tag information by detecting the waveform shape of the second signal.

[0151] In the first signal or the second signal, the height of at least one peak corresponding to bit 1 is different from the height of at least one peak corresponding to bit 0, or the height of at least one trough corresponding to bit 1 is different from the height of at least one trough corresponding to bit 0. The detection device obtains each bit included in the first label information by detecting the height of the peak or the height of the trough of the first signal, and obtains each bit included in the second label information by detecting the height of the peak or the height of the trough of the second signal.

[0152] For example, it is assumed that the first tag information carried by the first signal and the second tag information carried by the second signal are target tag information 1010. That is, the waveform shapes of the first signal and the second signal are similar to each other. Figure 8 The waveform shape of the third signal shown in FIG. Figure 8 The height of the peak of the first signal (or the second signal) shown in FIG. 1 is detected to obtain the first tag information (or the second tag information), and each bit included in the first tag information (or the second tag information) is 1010. Alternatively, the waveform shapes of the first signal and the second signal are as follows: Fig. 9 The waveform shape of the third signal shown in FIG. Fig. 9 The height of the trough of the first signal (or the second signal) shown is detected to obtain the first label information (or the second label information), and each bit included in the first label information (or the second label information) is 1010.

[0153] 6052: The detection device detects that the working line and the protection line belong to the same protection group when the first label information and the second label information correspond, or detects that the working line and the protection line do not belong to the same protection group when the first label information and the second label information do not correspond.

[0154] For example, when the first label information and the second label information received by the detection device are the same, the first label information and the second label information are detected to correspond to each other. Alternatively, when the first label information received by the detection device is 01 and the second label information received is 02 corresponding to the first label information, the first label information and the second label information are detected to correspond to each other.

[0155] When the detection equipment detects that the working line and the protection line do not belong to the same protection group, it can issue an alarm to allow technical personnel to perform maintenance.

[0156] In the field of optical communications, connection errors may be of the following types.

[0157] The first one, see Fig.13OLP11 (the first branching device in the first line protection) is connected to the seventh FIU on the second protection line in the second line protection, and OLP21 (the second branching device in the second line protection) is connected to the third FIU on the first protection line in the first line protection.

[0158] The second one, see Fig.14 , OLP12 (the first detection device in the first line protection) is connected to the eighth FIU on the second protection line in the second line protection, and OLP22 (the second detection device in the second line protection) is connected to the fourth FIU on the first protection line in the first line protection.

[0159] The third one, see Fig.15 The first FIU on the first protection line in the first line protection is connected to the eighth FIU on the second protection line in the second line protection, and the fourth FIU on the first protection line in the first line protection is connected to the seventh FIU on the second protection line in the second line protection.

[0160] For the above three types of connection errors (the first, second, and third types), since the branching device (OLP11 or OLP21) is the starting position of the protection group, and the detection device (OLP12 or OLP22) is the ending position of the protection group, the branching device sends the first label information on the working line and sends the second label information on the protection line, so that the branching device sends the first label information on the working line, the detection device receives the first label information from the working line, and the first label information passes through the entire working line, and the branching device sends the second label information on the protection line, the detection device receives the second label information from the protection line, and the second label information passes through the entire protection line. In this way, the working line is connected to the working line in other protection groups at any position, and / or the protection line is connected to the protection line in other protection groups at any position, and the detection device can detect the connection error through the received first label information and second label information, so that maintenance can be prompted in time to avoid business interruption.

[0161] In an embodiment of the present application, a branching device receives a third signal sent by a source device, and obtains a first signal including first label information and a second signal including second label information based on the third signal. The branching device sends a first signal on a working line connected to the branching device and sends a second signal on a protection line connected to the branching device. The detection device receives a first signal on a working line connected to the detection device and receives a second signal on a protection line connected to the detection device, and detects whether the working line and the protection line belong to the same protection group based on the first label information included in the first signal and the second label information included in the second signal. When the detection device detects that the working line and the protection line do not belong to the same protection group, an alarm prompt is issued to enable a technician to perform maintenance, thereby avoiding interruption of the transmission of the service when the transmission source device sends the service to the destination device.

[0162] See also Fig.16 The present application embodiment provides a device 1600 for detecting a line, wherein the device 1600 is connected to a working line and a protection line, and the device 1600 can be deployed in the above Figure 1 , Figure 2 , Figure 3 or Figure 4 Alternatively, the device 1600 may be deployed on the splitter device of the network architecture 100 shown in FIG. Figure 5 The method 500 or Figure 6 The method 600 is shown on a split device. The device 1600 includes:

[0163] The sending unit 1601 is used to send the first label information on the working line;

[0164] The sending unit 1602 is further used to send second label information on the protection line, the first label information and the second label information correspond to each other, and the first label information and the second label information are used to detect whether the working line and the protection line belong to the same protection group.

[0165] Optionally, the detailed implementation process of the sending unit 1601 sending the first tag information is shown in Figure 5 Step 501 of the method 500 or Figure 6 The relevant contents of step 603 of the method 600 are not described in detail here.

[0166] Optionally, the detailed implementation process of the sending unit 1601 sending the second tag information is shown in Figure 5 Step 501 of the method 500 or Figure 6 The relevant contents of step 603 of the method 600 are not described in detail here.

[0167] Optionally, the sending unit 1601 is configured to:

[0168] Sending a first signal on a working line, where the first signal carries first label information;

[0169] A second signal is sent on the protection line, where the second signal carries second label information.

[0170] Optionally, the detailed implementation process of the sending unit 1601 sending the first signal can be found in Figure 5 Step 501 of the method 500 or Figure 6 The relevant contents of step 603 of the method 600 are not described in detail here.

[0171] Optionally, the detailed implementation process of the sending unit 1601 sending the second signal can be found in Figure 5 Step 501 of the method 500 or Figure 6 The relevant contents of step 603 of the method 600 are not described in detail here.

[0172] Optionally, the device 1600 further includes a receiving unit 1602 and a processing unit 1603 .

[0173] In some embodiments, the receiving unit 1602 is configured to receive a third signal sent by a source device;

[0174] A processing unit 1603, configured to divide the third signal into a fourth signal and a fifth signal;

[0175] The processing unit 1603 is further configured to adjust the signal power of the fourth signal based on the first tag information to obtain the first signal, and adjust the signal power of the fifth signal based on the second tag information to obtain the second signal;

[0176] The variation rule of the signal power of the first signal is used to represent the first tag information, and the variation rule of the signal power of the second signal is used to represent the second tag information.

[0177] Optionally, the detailed implementation process of receiving the third signal by the receiving unit 1602 is shown in Figure 6 The relevant contents of step 601 of the method 600 are not described in detail here.

[0178] Optionally, the detailed implementation process of the processing unit 1603 dividing the third signal into the fourth signal and the fifth signal is shown in Figure 6 The relevant contents of step 602 of the method 600 are not described in detail here.

[0179] Optionally, the processing unit 1603 adjusts the signal power of the fourth signal based on the first tag information to obtain the first signal, and adjusts the signal power of the fifth signal based on the second tag information to obtain the second signal. For a detailed implementation process, see Figure 6 The relevant contents of step 602 of the method 600 are not described in detail here.

[0180] In some embodiments, the receiving unit 1602 is configured to receive a third signal sent by a source device;

[0181] A processing unit 1603, configured to divide the third signal into a fourth signal and a fifth signal;

[0182] The processing unit 1603 is further configured to adjust the waveform shape of the fourth signal based on the first tag information to obtain the first signal, and adjust the waveform shape of the fifth signal based on the second tag information to obtain the second signal;

[0183] The waveform shape of the first signal is used to represent the first tag information, and the waveform shape of the second signal is used to represent the second tag information.

[0184] Optionally, the detailed implementation process of receiving the third signal by the receiving unit 1602 is shown in Figure 6 The relevant contents of step 601 of the method 600 are not described in detail here.

[0185] Optionally, the detailed implementation process of the processing unit 1603 dividing the third signal into the fourth signal and the fifth signal is shown in Figure 6 The relevant contents of step 602 of the method 600 are not described in detail here.

[0186] Optionally, the processing unit 1603 adjusts the waveform shape of the fourth signal based on the first tag information to obtain the first signal, and adjusts the waveform shape of the fifth signal based on the second tag information to obtain the second signal. Figure 6 The relevant contents of step 602 of the method 600 are not described in detail here.

[0187] Optionally, the first tag information and the second tag information are the same.

[0188] In some embodiments, the first tag information and the second tag information are both target tag information.

[0189] The receiving unit 1601 is configured to receive a third signal sent by a source device, where the third signal carries target tag information;

[0190] The processing unit 1602 is configured to divide the third signal into a first signal and a second signal, both of which carry target tag information.

[0191] Optionally, the detailed implementation process of receiving the third signal by the receiving unit 1602 is shown in Figure 6 The relevant contents of step 601 of the method 600 are not described in detail here.

[0192] Optionally, the processing unit 1603 divides the third signal into a first signal and a second signal, both of which carry target tag information, for a detailed implementation process. Figure 6 The relevant contents of step 602 of the method 600 are not described in detail here.

[0193] Optionally, the third signal is a signal obtained by the source device adjusting the waveform shape of the signal to be transmitted based on the target tag information, and the waveform shape of the third signal is used to represent the target tag information.

[0194] In an embodiment of the present application, the sending unit sends the first label information on the working line and sends the second label information on the protection line, and the first label information and the second label information correspond to each other, so that the detection device receives the first label information and the second label information, and uses the first label information and the second label information to detect whether the working line and the protection line belong to the same protection group. Since the device is connected to the working line and the protection line, the device is the starting position of the protection group, and the sending unit sends the first label information on the working line and sends the second label information on the protection line, so that the working line is connected to the working line in other protection groups at any position, and / or the protection line is connected to the protection line in other protection groups at any position, and the detection device can detect the connection error through the first label information and the second label information, so that maintenance can be reminded in time to avoid business interruption.

[0195] See also Fig.17 The embodiment of the present application provides a device 1700 for detecting a line, wherein the device 1700 is connected to a working line and a protection line, and the device 1700 can be deployed in the above Figure 1 , Figure 2 , Figure 3 or Figure 4 The detection device of the network architecture 100 shown in FIG. 1 , or the device 1700 can be deployed on the above Figure 5 The method 500 or Figure 6 The detection device of the method 600 is shown. The device 1700 includes:

[0196] The processing unit 1701 is configured to obtain first label information from a working line and obtain second label information from a protection line;

[0197] The processing unit 1701 is further configured to detect whether the working line and the protection line belong to the same protection group based on the first label information and the second label information.

[0198] Optionally, the detailed implementation process of the processing unit 1701 obtaining the first tag information and the second tag information can be found in Figure 5 Step 502 of method 500 or Figure 6The relevant contents of step 604 of the method 600 are not described in detail here.

[0199] Optionally, the processing unit 1701 detects whether the working line and the protection line belong to the same protection group based on the first label information and the second label information. Figure 5 Step 5032 of method 500 or Figure 6 The relevant contents of step 605 of the method 600 are not described in detail here.

[0200] Optionally, the device 1700 further includes a receiving unit 1702,

[0201] A receiving unit, configured to receive a first signal on a working line and a second signal on a protection line, wherein the first signal carries first label information and the second signal carries second label information;

[0202] The processing unit 1701 is configured to obtain first tag information based on the first signal, and obtain second tag information based on the second signal.

[0203] Optionally, the detailed implementation process of the receiving unit 1702 receiving the first signal and the second signal can be found in Figure 6 The relevant contents of step 604 of the method 600 are not described in detail here.

[0204] Optionally, the detailed implementation process of the processing unit 1701 obtaining the first tag information based on the first signal and obtaining the second tag information based on the second signal is shown in FIG. Figure 6 The relevant contents of step 6051 of the method 600 are not described in detail here.

[0205] Optionally, the variation rule of the signal power of the first signal is used to represent the first tag information, and the variation rule of the signal power of the second signal is used to represent the second tag information.

[0206] The processing unit 1701 is configured to obtain first label information by detecting a change rule of the signal power of the first signal, and obtain second label information by detecting a change rule of the signal power of the second signal.

[0207] Optionally, the processing unit 1701 obtains the first tag information by detecting the change rule of the signal power of the first signal, and obtains the second tag information by detecting the change rule of the signal power of the second signal. Figure 6 The relevant contents of step 6051 of the method 600 are not described in detail here.

[0208] Optionally, the waveform shape of the first signal is used to represent the first tag information, and the waveform shape of the second signal is used to represent the second tag information.

[0209] The processing unit 1701 is configured to obtain first label information by detecting the waveform shape of the first signal, and obtain second label information by detecting the waveform shape of the second signal.

[0210] Optionally, the processing unit 1701 obtains the first tag information by detecting the waveform shape of the first signal, and obtains the second tag information by detecting the waveform shape of the second signal. Figure 6 The relevant contents of step 6051 of the method 600 are not described in detail here.

[0211] Optionally, the processing unit 1701 is configured to detect that the working line and the protection line belong to the same protection group when the first label information and the second label information correspond to each other.

[0212] In an embodiment of the present application, the processing unit obtains the first label information from the working line and the second label information from the protection line. Based on the first label information and the second label information, it is detected whether the working line and the protection line belong to the same protection group. Since the device is connected to the working line and the protection line, the device is the end position of the protection group. The processing unit obtains the first label information on the working line and the second label information on the protection line, so that the working line is connected to the working line in other protection groups at any position, and / or the protection line is connected to the protection line in other protection groups at any position. The processing unit can detect the connection error through the first label information and the second label information, so that maintenance can be reminded in time to avoid business interruption.

[0213] See also Fig.18 , the present application embodiment provides a schematic diagram of a device 1800 for detecting a circuit. The device 1800 may be a branching device provided by any of the above embodiments, for example, Figure 1 , Figure 2 , Figure 3 or Figure 4 The splitter device in the network architecture 100 shown, or Figure 5 The splitter device in the method 500 shown, or Fig.18 The demultiplexing device in the method 1800 is shown. The device 1800 includes at least one processor 1801 , an internal connection 1802 , a memory 1803 and at least one transceiver 1804 .

[0214] The device 1800 is a hardware structure device that can be used to implement Fig.16The functional modules in the device 1600 are as follows. For example, those skilled in the art may think of Fig.16 The processing unit 1603 in the device 1600 shown can be implemented by the at least one processor 1801 calling the code in the memory 1803. Fig.16 The sending unit 1601 and the receiving unit 1602 in the illustrated device 1600 may be implemented by the at least one transceiver 1804 .

[0215] The device 1800 can also be used to implement the function of the branching device in any of the above embodiments.

[0216] The processor 1801 may be a general-purpose central processing unit (CPU), a network processor (NP), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0217] The internal connection 1802 may include a path to transmit information between the components. The internal connection 1802 may be a single board or a bus.

[0218] The at least one transceiver 1804 is used to communicate with other devices or communication networks.

[0219] The memory 1803 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a bus. The memory may also be integrated with the processor.

[0220] The memory 1803 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 1801. The processor 1801 is used to execute the application code stored in the memory 1803, and cooperate with at least one transceiver 1804, so that the device 1800 implements the functions of the method of the present patent.

[0221] In a specific implementation, as an embodiment, the processor 1801 may include one or more CPUs, such as Fig.18 CPU0 and CPU1 in.

[0222] In a specific implementation, as an embodiment, the device 1800 may include multiple processors, such as Fig.18 1801 and 1807 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0223] See also Fig.19 , the present application embodiment provides a schematic diagram of a device 1900 for detecting a circuit. The device 1900 may be a detection device provided by any of the above embodiments, for example, Figure 1 , Figure 2 , Figure 3 or Figure 4 The detection device in the network architecture 100 shown, or Figure 5 The detection device in the method 500 shown, or Figure 6 The detection device in the method 600 is shown. The apparatus 1900 comprises at least one processor 1901 , an internal connection 1902 , a memory 1903 and at least one transceiver 1904 .

[0224] The device 1900 is a hardware structure device that can be used to implement Fig.17 The functional modules in the device 1700 are as follows. For example, those skilled in the art may think of Fig.17 The processing unit 1701 in the device 1700 shown can be implemented by the at least one processor 1901 calling the code in the memory 1903. Fig.17 The receiving unit 1702 in the illustrated device 1700 may be implemented by the at least one transceiver 1904 .

[0225] The device 1900 can also be used to implement the functions of the detection device in any of the above embodiments.

[0226] The processor 1901 may be a general-purpose central processing unit (CPU), a network processor (NP), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0227] The internal connection 1902 may include a path to transmit information between the components. The internal connection 1902 may be a single board or a bus.

[0228] The at least one transceiver 1904 is used to communicate with other devices or communication networks.

[0229] The memory 1903 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a bus. The memory may also be integrated with the processor.

[0230] The memory 1903 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 1901. The processor 1901 is used to execute the application code stored in the memory 1903, and cooperate with at least one transceiver 1904, so that the device 1900 implements the functions of the method of the present patent.

[0231] In a specific implementation, as an embodiment, the processor 1901 may include one or more CPUs, such as Fig.19 CPU0 and CPU1 in.

[0232] In a specific implementation, as an embodiment, the device 1900 may include multiple processors, such as Fig.19 1901 and 1907 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0233] See also Fig. 20 The present application embodiment provides a system 2000 for detecting a circuit, wherein the system 2000 includes: Fig.16 The device 1600 shown and Figure 7 The device 1700 shown, or the system 2000 includes Fig.18 The device 1800 shown and Fig.19 Device 1900 is shown.

[0234] Among them, Fig.16 The device 1600 shown or Fig.18 The device 1800 shown may be a splitter device 2001, such as Fig.17 The device 1700 shown or Fig.19 The device 1900 shown may be a detection apparatus 2002 .

[0235] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0236] In the present application, the terms "first", "second", etc. are used to distinguish between identical or similar items having substantially the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there a limitation on quantity and execution order. It should also be understood that although the following description uses the terms first, second, etc. to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of the various described examples, a first image may be referred to as a second image, and similarly, a second image may be referred to as a first image. Both the first image and the second image may be images, and in some cases, may be separate and different images.

[0237] It should also be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0238] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for detecting a circuit, characterized in that: The method is applied to a branching device, the branching device is connected to a working line and a protection line, and the method comprises: The branching device sends the first label information on the working line; The branching device sends second label information on the protection line, the first label information corresponds to the second label information, and the first label information and the second label information are used to detect whether the working line and the protection line belong to the same protection group.

2. The method according to claim 1, characterized in that The branching device sends the first label information on the working line, including: The branching device sends a first signal on the working line, where the first signal carries the first label information; The branching device sends the second label information on the protection line, including: The branching device sends a second signal on the protection line, where the second signal carries the second label information.

3. The method according to claim 2, characterized in that The method further comprises: The branching device receives a third signal sent by the source device; The branching device divides the third signal into a fourth signal and a fifth signal; The branching device adjusts the signal power of the fourth signal based on the first label information to obtain the first signal, and adjusts the signal power of the fifth signal based on the second label information to obtain the second signal; The variation rule of the signal power of the first signal is used to represent the first tag information, and the variation rule of the signal power of the second signal is used to represent the second tag information.

4. The method according to claim 2, characterized in that The method further comprises: The branching device receives a third signal sent by the source device; The branching device divides the third signal into a fourth signal and a fifth signal; The branching device adjusts the waveform shape of the fourth signal based on the first label information to obtain the first signal, and adjusts the waveform shape of the fifth signal based on the second label information to obtain the second signal; The waveform shape of the first signal is used to represent the first tag information, and the waveform shape of the second signal is used to represent the second tag information.

5. The method according to any one of claims 1 to 4, characterized in that: The first tag information and the second tag information are the same.

6. The method according to claim 2, characterized in that The first label information and the second label information are both target label information, and the method further includes: The branching device receives a third signal sent by the source device, where the third signal carries the target tag information; The branching device divides the third signal into the first signal and the second signal, both of which carry the target tag information.

7. The method according to claim 6, characterized in that The third signal is a signal obtained by the source device adjusting the waveform shape of the signal to be transmitted based on the target tag information, and the waveform shape of the third signal is used to represent the target tag information.

8. A method for detecting a circuit, characterized in that: The method is applied to a detection device, the detection device is connected to a working line and a protection line, and the method comprises: The detection device obtains first label information from the working line and obtains second label information from the protection line; The detection device detects whether the working line and the protection line belong to the same protection group based on the first label information and the second label information.

9. The method according to claim 8, characterized in that The detection device acquires first label information from the working line and acquires second label information from the protection line, including: The detection device receives a first signal on the working line and a second signal on the protection line, the first signal carries the first label information, and the second signal carries the second label information; The detection device acquires the first tag information based on the first signal, and acquires the second tag information based on the second signal.

10. The method according to claim 9, characterized in that The variation rule of the signal power of the first signal is used to represent the first tag information, and the variation rule of the signal power of the second signal is used to represent the second tag information. The detection device acquires the first tag information based on the first signal, and acquires the second tag information based on the second signal, including: The detection device obtains the first tag information by detecting a change rule of the signal power of the first signal, and obtains the second tag information by detecting a change rule of the signal power of the second signal.

11. The method according to claim 9, characterized in that The waveform shape of the first signal is used to represent the first tag information, and the waveform shape of the second signal is used to represent the second tag information. The detection device acquires the first tag information based on the first signal, and acquires the second tag information based on the second signal, including: The detection device obtains the first label information by detecting the waveform shape of the first signal, and obtains the second label information by detecting the waveform shape of the second signal.

12. The method according to any one of claims 8 to 11, characterized in that: The detection device detects whether the working line and the protection line belong to the same protection group based on the first label information and the second label information, including: When the first label information and the second label information correspond to each other, the detection device detects that the working line and the protection line belong to the same protection group.

13. A device for detecting a circuit, characterized in that: The device is connected to the working circuit and the protection circuit, and comprises: A sending unit, configured to send first label information on the working line; The sending unit is further used to send second label information on the protection line, the first label information corresponds to the second label information, and the first label information and the second label information are used to detect whether the working line and the protection line belong to the same protection group.

14. The device according to claim 13, characterized in that The sending unit is used for: Sending a first signal on the working line, where the first signal carries the first label information; A second signal is sent on the protection line, where the second signal carries the second label information.

15. The device according to claim 14, characterized in that The device also includes a receiving unit and a processing unit. The receiving unit is configured to receive a third signal sent by the source device; The processing unit is used to divide the third signal into a fourth signal and a fifth signal; The processing unit is further configured to adjust the signal power of the fourth signal based on the first tag information to obtain the first signal, and to adjust the signal power of the fifth signal based on the second tag information to obtain the second signal; The variation rule of the signal power of the first signal is used to represent the first tag information, and the variation rule of the signal power of the second signal is used to represent the second tag information.

16. The device according to claim 14, characterized in that The device also includes a receiving unit and a processing unit. The receiving unit is configured to receive a third signal sent by the source device; The processing unit is used to divide the third signal into a fourth signal and a fifth signal; The processing unit is further configured to adjust the waveform shape of the fourth signal based on the first tag information to obtain the first signal, and adjust the waveform shape of the fifth signal based on the second tag information to obtain the second signal; The waveform shape of the first signal is used to represent the first tag information, and the waveform shape of the second signal is used to represent the second tag information.

17. The device according to claim 14, characterized in that The first tag information and the second tag information are both target tag information, and the device further includes a receiving unit and a processing unit. The receiving unit is configured to receive a third signal sent by the source device, wherein the third signal carries the target tag information; The processing unit is configured to divide the third signal into the first signal and the second signal, both of which carry the target tag information.

18. The device according to claim 17, characterized in that The third signal is a signal obtained by the source device adjusting the waveform shape of the signal to be transmitted based on the target tag information, and the waveform shape of the third signal is used to represent the target tag information.

19. A device for detecting a circuit, characterized in that: The device comprises at least one processor, wherein the at least one processor is used to couple with a memory, read and execute instructions in the memory, so that the device implements the method according to any one of claims 1 to 7.

20. A device for detecting a circuit, characterized in that: The device comprises at least one processor, wherein the at least one processor is used to couple with a memory, read and execute instructions in the memory, so that the device implements the method according to any one of claims 8 to 12.

21. A system for detecting a circuit, characterized in that: Comprises the device as claimed in claim 19 and the device as claimed in claim 20.

22. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a computer, the computer is enabled to implement the method according to any one of claims 1 to 12.