WO2016070585A1 - Optical link fault locating method, device, processing component and storage medium - Google Patents

Optical link fault locating method, device, processing component and storage medium Download PDF

Info

Publication number
WO2016070585A1
WO2016070585A1 PCT/CN2015/077189 CN2015077189W WO2016070585A1 WO 2016070585 A1 WO2016070585 A1 WO 2016070585A1 CN 2015077189 W CN2015077189 W CN 2015077189W WO 2016070585 A1 WO2016070585 A1 WO 2016070585A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter information
optical link
parameter
optical
change
Prior art date
Application number
PCT/CN2015/077189
Other languages
French (fr)
Chinese (zh)
Inventor
张笃飞
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016070585A1 publication Critical patent/WO2016070585A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems

Definitions

  • the present invention relates to optical fiber transmission technologies, and in particular, to an optical link fault location method, device, processing device, and storage medium.
  • an optical signal is used as a communication medium, that is, an optical fiber is used to transmit an optical signal to complete the transmission.
  • the transmission distance of the optical fiber can reach 40 km or more, and therefore, at a cost.
  • optical fibers are often used as signal transmission media.
  • an optical module and an optical fiber are combined as an optical link for communication between a local device and a remote communication device; if the optical link fails, the local device and the remote communication device cannot communicate normally;
  • the optical module is usually replaced by the optical module.
  • the local device and the remote communication device are far apart, if the optical module is not sure, replace the optical module to solve the problem.
  • the optical link failure problem is time-consuming and costly, and the existing solution to the optical link failure may not solve the optical link failure problem.
  • the embodiments of the present invention provide an optical link fault location method, device, processing device, and storage medium, which can remotely and batchly locate optical link faults, shorten the fault location period, and save labor costs.
  • the embodiment of the invention provides a method for locating an optical link fault, and the method includes:
  • the change parameter request message is sent, so that the peer device changes the first parameter information corresponding to the peer device according to the change parameter request message;
  • the determining that the optical link is in an abnormal state includes:
  • the optical link is detected, and the optical link is determined to be in an abnormal state according to the second parameter information corresponding to the optical link.
  • the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
  • the change parameter request message includes: adjusting or reducing the optical power parameter information and/or the extinction ratio parameter information.
  • the method further includes:
  • the embodiment of the invention further provides an optical link fault locating method, the method comprising:
  • the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
  • the modifying the first parameter information corresponding to the change according to the change parameter request message includes:
  • the optical power parameter information and/or the extinction ratio parameter information corresponding to the optical power parameter information and/or the extinction ratio parameter information are adjusted.
  • the embodiment of the invention further provides a first device, where the first device includes:
  • a first sending unit configured to: when it is determined that the optical link is in an abnormal state, send a change parameter request message, so that the peer device changes the first parameter information corresponding to the peer device according to the change parameter request message;
  • a first receiving unit configured to receive a change parameter response message corresponding to the change parameter request message
  • the determining unit is configured to detect the second parameter information corresponding to the optical link according to the change parameter response message, and determine the impact of the changed first parameter information on the optical link.
  • the first sending unit is further configured to receive an optical link failure alarm message, and determine that the optical link is in an abnormal state according to the optical link failure alarm message;
  • the optical link is also configured to detect the optical link, and the optical link is determined to be in an abnormal state according to the second parameter information corresponding to the optical link.
  • the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
  • the change parameter request message includes: adjusting or reducing the optical power parameter information and/or the extinction ratio parameter information.
  • the first device further includes:
  • the locating unit is configured to locate the optical link fault according to the impact of the changed first parameter information on the optical link, where the optical link fault includes one or more of the following faults: Reflection failure, optical link loss failure, and optical power anomalies.
  • An embodiment of the present invention further provides an optical module processing device, where the optical module processing device includes:
  • a second receiving unit configured to receive a change parameter request message, and change the first parameter information corresponding to the change parameter request message according to the change parameter request message;
  • the adjusting unit is configured to adjust the driving parameter information according to the changed first parameter information, so that the driving parameter information corresponds to the changed first parameter information;
  • the second sending unit is configured to generate a change parameter response message after the adjustment of the driving parameter information is completed, and send the change parameter response message.
  • the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
  • the second receiving unit is further configured to adjust or reduce the optical power parameter information and/or the extinction ratio parameter information corresponding to the optical parameter parameter according to the change parameter request message.
  • the optical link fault locating method, the device, the processing device, and the storage medium provided by the embodiments of the present invention can determine the parameter information adjustment scheme by detecting the abnormal state of the optical link, that is, when determining that the optical link is in an abnormal state, Generating a change parameter request message, and according to the change parameter request message, the peer device changes the first parameter information, and then detects the second parameter information corresponding to the optical link according to the changed first parameter information to determine the changed parameter.
  • the impact of the parameter information on the optical link, and finally the optical link fault is located according to the impact. Therefore, the embodiment of the present invention can be executed in the local device, or the local device can be monitored by the monitoring device, so The purpose of remote and batch positioning optical link failure is achieved, and the fault location period and labor cost are shortened.
  • FIG. 1 is a schematic flowchart 1 of an implementation process of an optical link fault locating method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a first device according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart 2 of an implementation process of an optical link fault locating method according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of an optical module processing device according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a specific implementation of an optical link fault locating method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a system corresponding to Embodiment 3 of the present invention.
  • FIG. 1 is a schematic flowchart 1 of an implementation process of an optical link fault locating method according to an embodiment of the present invention; the method is applied to a local device; the local device is connected to an optical module processing device, and thus, the optical device and the optical module processing device are used to make the device The local device and the remote communication device perform signal transmission; as shown in FIG. 1, the method includes:
  • Step 101 When it is determined that the optical link is in an abnormal state, send a change parameter request message, so that the peer device changes the first parameter information corresponding to the peer device according to the change parameter request message;
  • the peer device refers to an optical module processing device.
  • the local device and the remote communication device when the optical link between the local device and the remote communication device fails, the local device and the remote communication device cannot communicate normally; at this time, the local device processes the optical module.
  • the device sends a change parameter request message, so that the optical module processing device changes the parameter value of the first parameter information corresponding to itself according to the change parameter request message.
  • the determining that the optical link is in an abnormal state includes:
  • the optical link is detected, and the optical link is determined to be in an abnormal state according to the second parameter information corresponding to the optical link.
  • the local device determines that the optical link is in an abnormal state and can be active. It can also be passive; that is, the local device can actively detect the running status of the optical link used when transmitting signals with the remote communication device, or passively receive the optical link failure sent by the optical module processing device. Alarm message, therefore, in actual applications, it is possible to set whether to actively detect the optical link according to the hardware capabilities of the local device.
  • the second parameter information includes but is not limited to the following: error parameter information and optical power parameter information.
  • the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
  • the change parameter request message includes: adjusting or reducing the optical power parameter information and/or the extinction ratio parameter information.
  • Step 102 Receive a change parameter response message corresponding to the change parameter request message.
  • the first parameter information in the self is changed, and the driving parameter information is adjusted according to the changed first parameter information, so that The driving parameter information corresponds to the changed first parameter information, and then generates a change parameter response message, and sends the changed parameter response message to the local device to inform the local device to complete the current parameter changing process.
  • the optical module processing device stores a correspondence table between the first parameter information and the driving parameter information.
  • the optical module processing device can be configured to change the first parameter information according to the first parameter information. And searching, in the correspondence table, a parameter value of the driving parameter information corresponding to the changed first parameter information, to adjust the driving parameter information according to the correspondence relationship.
  • Step 103 Detect the second parameter information corresponding to the optical link according to the change parameter response message, and determine the impact of the changed first parameter information on the optical link.
  • the method further includes:
  • optical link failure includes one or more of the following faults: a light reflection fault, an optical link loss fault, and an optical power anomaly.
  • the local device detects the second parameter information corresponding to the optical link according to the change parameter response message, and determines the impact of the changed first parameter information on the optical link, and further, according to the changed The impact of a parameter information on the optical link locates the optical link failure.
  • the optical link fault of the optical link is faulty, including:
  • the local device determines that the optical link is in an abnormal state and is in the local state.
  • the optical module processing device that is connected to the device sends a change parameter request message, where the change parameter request message includes: reducing a parameter value of the transmit optical power parameter information corresponding to the optical module processing device and a parameter value of the extinction ratio parameter information ;
  • the optical module processing device adjusts the transmit optical power parameter information and the extinction ratio parameter information according to the change parameter request message, and adjusts the drive parameter information according to the adjusted transmit optical power parameter information and the extinction ratio parameter information, so that the drive
  • the parameter information corresponds to the transmit optical power parameter information and the extinction ratio parameter information
  • the optical module processing device determines that the adjustment of the current driving parameter information is completed, generating a change parameter response message, and sending the change parameter response message to the local device, where the local device detects according to the changed parameter response message.
  • the second parameter information corresponding to the optical link specifically, when the local device detects that the parameter value corresponding to the error parameter information is decreased, determining that the optical link fault is a light reflection fault.
  • the optical link loss of the optical link is faulty, including:
  • the local device When the local device detects that the received optical power is too low, or the optical port does not receive the optical signal, the local device determines that the optical link is in an abnormal state, and processes the device with the optical module connected to the local device. Sending a change parameter request message; wherein the change parameter request message
  • the method includes: increasing a parameter value of the transmit optical power parameter information corresponding to the optical module processing device;
  • the optical module processing device adjusts the transmit optical power parameter information according to the change parameter request message, and adjusts the drive parameter information according to the adjusted transmit optical power parameter information, so that the drive parameter information and the transmit optical power parameter information are correspond;
  • the optical module processing device determines that the adjustment of the current driving parameter information is completed, generating a change parameter response message, and sending the change parameter response message to the local device, where the local device detects according to the changed parameter response message.
  • the second parameter information corresponding to the optical link specifically, when the local device detects that the received optical power is normal, determining that the optical link failure is caused by excessive optical link loss.
  • the optical link has an abnormal optical power fault, including:
  • the local device When the local device detects that the received optical power is abnormal, the local device determines that the optical link is in an abnormal state, and sends a change parameter request message to the optical module processing device connected to the local device;
  • the parameter change request message includes: adjusting a parameter value of the transmit optical power parameter information corresponding to the optical module processing device;
  • the optical module processing device adjusts the transmit optical power parameter information according to the change parameter request message, and adjusts the drive parameter information according to the adjusted transmit optical power parameter information, so that the drive parameter information and the transmit optical power parameter information are correspond;
  • the optical module processing device determines that the adjustment of the current driving parameter information is completed, generating a change parameter response message, and sending the change parameter response message to the local device, where the local device detects according to the changed parameter response message.
  • the second parameter information corresponding to the optical link specifically, when the local device detects that the received optical power is normal, determining that the optical link fault is abnormal due to optical power.
  • the normal optical power of the optical module processing device is usually -5.2-0.5 dBm, and the optical power is too high or too low, which is an abnormal optical power; for example, the optical power is too high, which is likely to cause optical power received by the receiving device.
  • the overload also affects the laser lifetime of the optical module processing device corresponding to the receiving end device and the transmitting end device; if the optical power is too low, the eye diagram of the receiving end device is likely to be deteriorated, and the receiving sensitivity of the receiving end device is also easily exceeded.
  • the embodiment of the invention further provides a first computer readable storage medium, the storage medium comprising a set of instructions for performing the optical link fault location method as shown in FIG. 1 above.
  • the embodiment of the present invention further provides a first device.
  • the first device includes:
  • the first sending unit 21 is configured to: when it is determined that the optical link is in an abnormal state, send a change parameter request message, so that the peer device changes the first parameter information corresponding to the peer parameter according to the change parameter request message;
  • the first receiving unit 22 is configured to receive a change parameter response message corresponding to the change parameter request message
  • the determining unit 23 is configured to detect the second parameter information corresponding to the optical link according to the changed parameter response message, and determine the impact of the changed first parameter information on the optical link.
  • the first sending unit 21 is further configured to receive an optical link failure alarm message, and determine that the optical link is in an abnormal state according to the optical link failure alarm message;
  • the optical link is also configured to detect the optical link, and the optical link is determined to be in an abnormal state according to the second parameter information corresponding to the optical link.
  • the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
  • the change parameter request message includes: adjusting or reducing the optical power parameter information and/or the extinction ratio parameter information.
  • the first device further includes:
  • the locating unit 24 is configured to locate the optical link fault according to the impact of the changed first parameter information on the optical link, where the optical link fault includes one or more of the following faults: Light reflection failure, optical link loss failure, and optical power anomaly.
  • the first sending unit 21, the first receiving unit 22, the determining unit 23, and the positioning unit 24 may all run on the first device, and may be a central processing unit (CPU) located on the first device. Or a microprocessor (MPU), or a digital signal processor (DSP), or a programmable gate array (FPGA) implementation.
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA programmable gate array
  • FIG. 3 is a schematic flowchart 2 of an implementation process of an optical link fault locating method according to an embodiment of the present invention; the method is applied to an optical module processing device corresponding to an optical link; and the optical module processing device is connected to a local device; And the optical module processing device performs signal transmission between the local device and the remote communication device; as shown in FIG. 3, the method includes:
  • Step 301 Receive a change parameter request message, and change the first parameter information corresponding to the change parameter request message according to the change parameter request message;
  • the local device when the optical link between the local device and the remote communication device fails, the local device and the remote communication device cannot communicate normally; at this time, the local device processes the optical module.
  • the device sends a change parameter request message, the optical module processing device receives the change parameter request message, and changes the first parameter information corresponding to itself according to the change parameter request message.
  • the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
  • the modifying the first parameter information corresponding to the change according to the change parameter request message includes:
  • the optical power parameter information and/or the extinction ratio parameter information corresponding to the optical power parameter information and/or the extinction ratio parameter information are adjusted.
  • Step 302 Adjust driving parameter information according to the changed first parameter information, so that the driving The dynamic parameter information corresponds to the changed first parameter information;
  • the optical module processing device adjusts the driving parameter information according to the changed first parameter information, so that the driving parameter information corresponds to the changed first parameter information.
  • the optical module processing device stores a correspondence table between the first parameter information and the driving parameter information; thus, the optical module processing device can be configured to change the first parameter according to the first parameter. And searching for the parameter value of the driving parameter information corresponding to the changed first parameter information in the correspondence relationship table, so as to adjust the driving parameter information according to the correspondence relationship.
  • Step 303 After the adjustment of the driving parameter information is completed, generate a change parameter response message, and send the change parameter response message.
  • the optical module processing device After the adjustment of the driving parameter is completed, the optical module processing device generates a change parameter response message, and sends the change parameter response message to the local device, so that the local device is notified to complete the current parameter.
  • the process of changing so that the local device detects the second parameter information corresponding to the optical link according to the change parameter response message, and further determines the impact of the changed first parameter information on the optical link, so as to influence the light according to the influence The link is faulty for positioning.
  • the embodiment of the present invention further provides a second computer readable storage medium, the storage medium comprising a set of instructions for performing the optical link fault location method as shown in FIG.
  • an embodiment of the present invention further provides an optical module processing device.
  • the optical module processing device includes:
  • the second receiving unit 41 is configured to receive a change parameter request message, and change the first parameter information corresponding to the change parameter request message according to the change parameter request message;
  • the adjusting unit 42 is configured to adjust the driving parameter information according to the changed first parameter information, so that the driving parameter information corresponds to the changed first parameter information;
  • the second sending unit 43 is configured to generate a change parameter response message after the adjustment of the driving parameter information is completed, and send the change parameter response message.
  • the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
  • the second receiving unit 41 is further configured to adjust or reduce the optical power parameter information and/or extinction ratio parameter information corresponding to the data according to the change parameter request message.
  • the second sending unit 43, the second receiving unit 41, and the adjusting unit 42 may all run on the optical module processing device, and may be a central processing unit (CPU) located on the optical module processing device, or Microprocessor (MPU), or digital signal processor (DSP), or programmable gate array (FPGA) implementation.
  • CPU central processing unit
  • MPU Microprocessor
  • DSP digital signal processor
  • FPGA programmable gate array
  • FIG. 5 is a schematic flowchart of a specific implementation of an optical link fault locating method according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a system corresponding to the third embodiment of the present invention; as shown in FIG. 6, the method relates to the following devices and devices. And internal components, respectively:
  • the indoor/outdoor remote device 1 specifically the device corresponding to the baseband processing unit (BBU)/radio remote module (RRU); the optical module processing device 2, the optical module processing device 2 is extended through the indoor/outdoor
  • the optical port on the device 1 is connected to the indoor/outdoor remote device 1;
  • the first controller 3 is located on the indoor/outdoor remote device 1, and the first processor 3 may be the indoor/ a central processing unit (CPU) or a field programmable gate array (FPGA) or the like in the outdoor remote device 1; a second controller 4, a driving chip 5, a light emitting unit 6, a receiving unit 7, and a memory 8, both located in the light Module processing device 2;
  • the first controller 3 is connected to the second controller 4, and realizes the purpose of transmitting signals by the indoor/outdoor remote device 1 through the optical fiber and the optical module processing device 2 and the remote communication device;
  • the memory 8 and the driving chip 5 are both connected to the second controller 4, and the driving chip 5 is respectively connected to the light emitting component 6 and the receiving component 7;
  • the light-emitting component 6 and the receiving component 7 can be integrated into one component, collectively referred to as a transmitting and receiving component 9; the memory 8 can be specifically a charged erasable programmable read-only memory. (EEPROM).
  • EEPROM charged erasable programmable read-only memory
  • the method includes:
  • Step 501 When the first controller 3 determines that the optical link is in an abnormal state, send a change parameter request message to the second controller 4;
  • the indoor/outdoor remote device 1 and the remote communication device cannot communicate normally;
  • the first controller 3 in the indoor/outdoor remote device 1 transmits a change parameter request message to the second controller 4 in the optical module processing device 2 to cause the optical module processing device 2 to change according to the change
  • the parameter request message changes the parameter value of the first parameter information corresponding to itself.
  • the optical link is a link structure composed of an optical fiber and the optical module processing device 2.
  • the determining that the optical link is in an abnormal state includes:
  • the optical link is detected, and the optical link is determined to be in an abnormal state according to the second parameter information corresponding to the optical link.
  • the process of determining that the optical link is in an abnormal state can be active or passive; that is, the indoor/outdoor remote device 1 can actively detect and communicate with the remote end.
  • the operating state of the optical link used by the device for signal transmission may also passively receive the optical link failure alarm message sent by the optical module processing device 2. Therefore, in practical applications, according to the indoor/outdoor remote device 1 Whether the hardware capability setting actively detects the optical link;
  • the task of determining whether the optical link is in an abnormal state is performed by the first controller 3, and therefore, for the first controller 3, the first controller 3 can actively detect Operation of the optical link used for signal transmission with the remote communication device
  • the optical link failure alarm message sent by the optical module processing device 2 or the optical link failure alarm message determined by other modules in the indoor/outdoor remote device 1 may be passively received.
  • the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
  • the change parameter request message includes: adjusting or reducing the optical power parameter information and/or the extinction ratio parameter information.
  • Step 502 The second controller 4 receives the change parameter request message, and instructs the memory 8 to change the first parameter information corresponding to the memory 8 according to the change parameter request message.
  • the second controller 4 after receiving the change parameter request message, informs the memory 8 to cause the memory 8 to change the first parameter information according to the change parameter request message.
  • Step 503 The second controller 4 determines that the memory 8 has changed the first parameter information, and sends an adjustment message to the driving chip 5;
  • the second controller 4 detects that there is a change in the first parameter information in the memory 8, the second controller 4 An adjustment message is sent to the drive chip 5.
  • Step 504 The driving chip 5 queries the second controller 4 for driving parameter information corresponding to the changed first parameter information according to the adjustment message, and according to the modified The driving parameter information corresponding to the parameter information has a corresponding relationship, and the driving parameter information corresponding to the driving chip is adjusted;
  • the second controller 4 stores a correspondence table between the first parameter information and the driving parameter information; thus, the driving chip 5 can be caused to change the first parameter according to the first parameter.
  • Step 505 The driving chip 5 sends an instruction to the lighting component 6 according to the adjusted driving parameter information, instructing the lighting component 6 to send an optical signal according to the adjusted driving parameter information;
  • Step 506 After the second controller 4 determines that the drive parameter information adjustment in the drive chip 5 is completed, generate a change parameter response message, and send the change parameter response message to the first controller 3;
  • a change parameter response message is generated, and the changed parameter response message is sent to the first controller 3, Instructing the first controller 3 to complete the current parameter change process, so that the first controller 3 detects the second parameter information corresponding to the optical link according to the changed parameter response message, thereby determining the first change.
  • the impact of the parameter information on the optical link to locate the optical link fault according to the impact.
  • Step 507 The first controller 3 detects the second parameter information corresponding to the optical link according to the changed parameter response message, and determines the impact of the changed first parameter information on the optical link.
  • Step 508 The first controller 3 locates the optical link fault according to the impact of the changed first parameter information on the optical link.
  • the optical link failure includes one or more of the following faults: a light reflection fault, an optical link loss fault, and an optical power abnormality.
  • the optical link fault locating method, device, and processing device provided by the embodiments of the present invention can determine the parameter information adjustment scheme by detecting the abnormal state of the optical link, that is, when determining that the optical link is in an abnormal state, generating a change parameter And requesting the message, and modifying the parameter request message according to the change parameter request message, so that the peer device changes the first parameter information, and further detects the second parameter information corresponding to the optical link according to the changed first parameter information to determine the changed first parameter information.
  • the impact on the optical link is finally located to locate the optical link fault according to the impact. Therefore, the embodiment of the present invention can
  • the local device is executed in the local device, or the local device is monitored by the monitoring device. Therefore, the remote and batch positioning optical link faults can be achieved, and the fault locating cycle and labor cost can be shortened.
  • the fault location of the optical link is implemented in the interaction between the local device and the optical module processing device, and therefore, when the local device and the optical module processing device are integrated as a whole,
  • the process of the fault location of the optical link in the embodiment of the present invention is a closed loop positioning process. Therefore, the method of the embodiment of the present invention is simple and operability is strong; and when the monitoring device detects multiple local devices, the embodiment of the present invention
  • the method can also provide a method for locating an optical link fault in a remote and batch manner, so that the fault locating period is shortened and the labor cost is saved.
  • the embodiment of the present invention can also serve as a reference for subsequent similar problems.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the device is implemented in a flow chart A function specified in a block or blocks of a process or multiple processes and/or block diagrams.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the embodiment of the present invention can determine the adjustment scheme of the parameter information by detecting the abnormal state of the optical link, that is, when determining that the optical link is in an abnormal state, generating a change parameter request message, and making the peer device according to the change parameter request message.
  • the first parameter information is changed, and the second parameter information corresponding to the optical link is detected according to the changed first parameter information to determine the impact of the changed first parameter information on the optical link, and finally according to the impact
  • the optical link is faulty to be located. Therefore, the embodiment of the present invention can be executed in the local device, or the local device can be monitored by the monitoring device. Therefore, the purpose of remote and batch positioning optical link failure can be achieved, and the fault positioning period and the human power can be shortened. cost.

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

Disclosed is an optical link fault locating method. The method comprises: when determining that an optical link is in an abnormal state, sending a parameter change request message so that a peer device changes first parameter information corresponding to the peer device according to the parameter change request message; receiving a parameter change response message corresponding to the parameter change request message; and detecting second parameter information corresponding to the optical link according to the parameter change response message, and determining the influence of the changed first parameter information on the optical link. Also disclosed are a device, a processing component and a storage medium.

Description

一种光链路故障定位方法、设备、处理器件及存储介质Optical link fault location method, device, processing device and storage medium 技术领域Technical field
本发明涉及光纤传输技术,尤其涉及一种光链路故障定位方法、设备、处理器件及存储介质。The present invention relates to optical fiber transmission technologies, and in particular, to an optical link fault location method, device, processing device, and storage medium.
背景技术Background technique
本地设备和远程通讯设备间为了增大传输距离,会使用光信号作为通信媒介,即使用光纤传输光信号,以完传输,通常,光纤的传输距离可以达到40km或者更远,因此,在成本地设备和和远程通讯设备的信号通信或者其它远距离信息交互的领域中,常选用光纤作为信号传输媒介。In order to increase the transmission distance between the local device and the remote communication device, an optical signal is used as a communication medium, that is, an optical fiber is used to transmit an optical signal to complete the transmission. Generally, the transmission distance of the optical fiber can reach 40 km or more, and therefore, at a cost. In the field of signal communication or other long-distance information exchange between devices and remote communication devices, optical fibers are often used as signal transmission media.
在通信领域中,光模块和光纤组合后作为本地设备和远程通讯设备之间通信的光链路;若所述光链路出现故障,将导致本地设备和远程通讯设备之间不能正常通信;现有技术中,通常采用更换光模块的方式来解决光链路故障的问题,但是,由于本地设备和远程通讯设备相距较远,在不确定是否是光模块问题的情况下,更换光模块来解决光链路故障问题的方式耗时耗力且成本较高,而且,现有解决光链路故障的方式也不一定能解决光链路故障的问题。In the field of communication, an optical module and an optical fiber are combined as an optical link for communication between a local device and a remote communication device; if the optical link fails, the local device and the remote communication device cannot communicate normally; In the technology, the optical module is usually replaced by the optical module. However, because the local device and the remote communication device are far apart, if the optical module is not sure, replace the optical module to solve the problem. The optical link failure problem is time-consuming and costly, and the existing solution to the optical link failure may not solve the optical link failure problem.
发明内容Summary of the invention
为解决现有存在的技术问题,本发明实施例提供一种光链路故障定位方法、设备、处理器件及存储介质,能够远程、批量定位光链路故障,缩短故障定位周期,节约人力成本。In order to solve the existing technical problems, the embodiments of the present invention provide an optical link fault location method, device, processing device, and storage medium, which can remotely and batchly locate optical link faults, shorten the fault location period, and save labor costs.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种光链路故障定位方法,所述方法包括: The embodiment of the invention provides a method for locating an optical link fault, and the method includes:
当确定光链路处于异常状态时,发送更改参数请求消息,以使对端设备根据所述更改参数请求消息更改自身对应的第一参数信息;When it is determined that the optical link is in an abnormal state, the change parameter request message is sent, so that the peer device changes the first parameter information corresponding to the peer device according to the change parameter request message;
接收与所述更改参数请求消息对应的更改参数响应消息;Receiving a change parameter response message corresponding to the change parameter request message;
根据所述更改参数响应消息检测光链路对应的第二参数信息,确定更改后的第一参数信息对所述光链路的影响。And detecting, according to the changed parameter response message, the second parameter information corresponding to the optical link, and determining the impact of the changed first parameter information on the optical link.
上述方案中,所述确定光链路处于异常状态,包括:In the foregoing solution, the determining that the optical link is in an abnormal state includes:
接收光链路故障报警消息,根据所述光链路故障报警消息确定光链路处于异常状态;或者Receiving an optical link failure alarm message, determining that the optical link is in an abnormal state according to the optical link failure alarm message; or
对光链路进行检测,根据所述光链路对应的第二参数信息确定所述光链路处于异常状态。The optical link is detected, and the optical link is determined to be in an abnormal state according to the second parameter information corresponding to the optical link.
上述方案中,所述第一参数信息包括:光功率参数信息和/或消光比参数信息;对应地,In the above solution, the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
所述更改参数请求消息包括:调大或调小光功率参数信息和/或消光比参数信息。The change parameter request message includes: adjusting or reducing the optical power parameter information and/or the extinction ratio parameter information.
上述方案中,所述方法还包括:In the above solution, the method further includes:
根据更改后的第一参数信息对所述光链路的影响,对光链路故障进行定位;其中,所述光链路故障包括以下故障中的一种或多种:光反射故障、光链路损耗故障以及光功率异常。Locating an optical link fault according to the impact of the changed first parameter information on the optical link; wherein the optical link fault includes one or more of the following faults: a light reflection fault, a light chain Road loss failure and abnormal optical power.
本发明实施例还提供了一种光链路故障定位方法,所述方法包括:The embodiment of the invention further provides an optical link fault locating method, the method comprising:
接收更改参数请求消息,根据所述更改参数请求消息更改自身对应的第一参数信息;Receiving a change parameter request message, and changing the first parameter information corresponding to the change parameter request message according to the change parameter request message;
根据更改后的第一参数信息调整驱动参数信息,以使所述驱动参数信息与更改后的第一参数信息对应;Adjusting the driving parameter information according to the changed first parameter information, so that the driving parameter information corresponds to the changed first parameter information;
所述驱动参数信息调整完成后,生成更改参数响应消息,并发送所述更改参数响应消息。 After the adjustment of the driving parameter information is completed, a change parameter response message is generated, and the change parameter response message is sent.
上述方案中,所述第一参数信息包括:光功率参数信息和/或消光比参数信息;对应地,In the above solution, the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
所述根据所述更改参数请求消息更改自身对应的第一参数信息,包括:The modifying the first parameter information corresponding to the change according to the change parameter request message includes:
根据所述更改参数请求消息调大或调小自身对应的光功率参数信息和/或消光比参数信息。And according to the change parameter request message, the optical power parameter information and/or the extinction ratio parameter information corresponding to the optical power parameter information and/or the extinction ratio parameter information are adjusted.
本发明实施例还提供了一种第一设备,所述第一设备包括:The embodiment of the invention further provides a first device, where the first device includes:
第一发送单元,配置为当确定光链路处于异常状态时,发送更改参数请求消息,以使对端设备根据所述更改参数请求消息更改自身对应的第一参数信息;a first sending unit, configured to: when it is determined that the optical link is in an abnormal state, send a change parameter request message, so that the peer device changes the first parameter information corresponding to the peer device according to the change parameter request message;
第一接收单元,配置为接收与所述更改参数请求消息对应的更改参数响应消息;a first receiving unit, configured to receive a change parameter response message corresponding to the change parameter request message;
确定单元,配置为根据所述更改参数响应消息检测光链路对应的第二参数信息,确定更改后的第一参数信息对所述光链路的影响。The determining unit is configured to detect the second parameter information corresponding to the optical link according to the change parameter response message, and determine the impact of the changed first parameter information on the optical link.
上述方案中,所述第一发送单元,还配置为接收光链路故障报警消息,根据所述光链路故障报警消息确定光链路处于异常状态;或者,In the above solution, the first sending unit is further configured to receive an optical link failure alarm message, and determine that the optical link is in an abnormal state according to the optical link failure alarm message; or
还配置为对光链路进行检测,根据所述光链路对应的第二参数信息确定所述光链路处于异常状态。The optical link is also configured to detect the optical link, and the optical link is determined to be in an abnormal state according to the second parameter information corresponding to the optical link.
上述方案中,所述第一参数信息包括:光功率参数信息和/或消光比参数信息;对应地,In the above solution, the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
所述更改参数请求消息包括:调大或调小光功率参数信息和/或消光比参数信息。The change parameter request message includes: adjusting or reducing the optical power parameter information and/or the extinction ratio parameter information.
上述方案中,所述第一设备还包括:In the above solution, the first device further includes:
定位单元,配置为根据更改后的第一参数信息对所述光链路的影响,对光链路故障进行定位;其中,所述光链路故障包括以下故障中的一种或多种:光反射故障、光链路损耗故障以及光功率异常。 The locating unit is configured to locate the optical link fault according to the impact of the changed first parameter information on the optical link, where the optical link fault includes one or more of the following faults: Reflection failure, optical link loss failure, and optical power anomalies.
本发明实施例还提供了一种光模块处理器件,所述光模块处理器件包括:An embodiment of the present invention further provides an optical module processing device, where the optical module processing device includes:
第二接收单元,配置为接收更改参数请求消息,根据所述更改参数请求消息更改自身对应的第一参数信息;a second receiving unit, configured to receive a change parameter request message, and change the first parameter information corresponding to the change parameter request message according to the change parameter request message;
调整单元,配置为根据更改后的第一参数信息调整驱动参数信息,以使所述驱动参数信息与更改后的第一参数信息对应;The adjusting unit is configured to adjust the driving parameter information according to the changed first parameter information, so that the driving parameter information corresponds to the changed first parameter information;
第二发送单元,配置为所述驱动参数信息调整完成后,生成更改参数响应消息,并发送所述更改参数响应消息。The second sending unit is configured to generate a change parameter response message after the adjustment of the driving parameter information is completed, and send the change parameter response message.
上述方案中,所述第一参数信息包括:光功率参数信息和/或消光比参数信息;对应地,In the above solution, the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
所述第二接收单元,还配置为根据所述更改参数请求消息调大或调小自身对应的光功率参数信息和/或消光比参数信息。The second receiving unit is further configured to adjust or reduce the optical power parameter information and/or the extinction ratio parameter information corresponding to the optical parameter parameter according to the change parameter request message.
本发明实施例所提供的光链路故障定位方法、设备、处理器件及存储介质,能够通过检测光链路的异常状态,确定参数信息的调整方案,即当确定光链路处于异常状态时,生成更改参数请求消息,并根据所述更改参数请求消息使对端设备更改第一参数信息,进而根据更改后的第一参数信息检测光链路对应的第二参数信息,以确定更改后的第一参数信息对所述光链路的影响,最终根据所述影响对光链路故障进行定位,因此,本发明实施例能够在本地设备中执行,或者通过监控设备监控本地设备执行,如此,能够实现远程、批量定位光链路故障的目的,缩短故障定位周期以及人力成本。The optical link fault locating method, the device, the processing device, and the storage medium provided by the embodiments of the present invention can determine the parameter information adjustment scheme by detecting the abnormal state of the optical link, that is, when determining that the optical link is in an abnormal state, Generating a change parameter request message, and according to the change parameter request message, the peer device changes the first parameter information, and then detects the second parameter information corresponding to the optical link according to the changed first parameter information to determine the changed parameter. The impact of the parameter information on the optical link, and finally the optical link fault is located according to the impact. Therefore, the embodiment of the present invention can be executed in the local device, or the local device can be monitored by the monitoring device, so The purpose of remote and batch positioning optical link failure is achieved, and the fault location period and labor cost are shortened.
附图说明DRAWINGS
图1为本发明实施例光链路故障定位方法的实现流程示意图一;1 is a schematic flowchart 1 of an implementation process of an optical link fault locating method according to an embodiment of the present invention;
图2为本发明实施例第一设备的结构示意图;2 is a schematic structural diagram of a first device according to an embodiment of the present invention;
图3为本发明实施例光链路故障定位方法的实现流程示意图二; 3 is a schematic flowchart 2 of an implementation process of an optical link fault locating method according to an embodiment of the present invention;
图4为本发明实施例光模块处理器件的结构示意图;4 is a schematic structural diagram of an optical module processing device according to an embodiment of the present invention;
图5为本发明实施例光链路故障定位方法的具体实现的流程示意图;FIG. 5 is a schematic flowchart of a specific implementation of an optical link fault locating method according to an embodiment of the present invention;
图6为本发明实施例三对应的系统的结构示意图。FIG. 6 is a schematic structural diagram of a system corresponding to Embodiment 3 of the present invention.
具体实施方式detailed description
为了能够更加详尽地了解本发明实施例的特点与技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明实施例。The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
实施例一 Embodiment 1
图1为本发明实施例光链路故障定位方法的实现流程示意图一;所述方法应用于本地设备;所述本地设备与光模块处理器件连接,如此,通过光纤以及所述光模块处理器件使所述本地设备与远端通讯设备进行信号传输;如图1所示,所述方法包括:1 is a schematic flowchart 1 of an implementation process of an optical link fault locating method according to an embodiment of the present invention; the method is applied to a local device; the local device is connected to an optical module processing device, and thus, the optical device and the optical module processing device are used to make the device The local device and the remote communication device perform signal transmission; as shown in FIG. 1, the method includes:
步骤101:当确定光链路处于异常状态时,发送更改参数请求消息,以使对端设备根据所述更改参数请求消息更改自身对应的第一参数信息;Step 101: When it is determined that the optical link is in an abnormal state, send a change parameter request message, so that the peer device changes the first parameter information corresponding to the peer device according to the change parameter request message;
本发明实施例中,所述对端设备指的是光模块处理器件。In the embodiment of the present invention, the peer device refers to an optical module processing device.
本发明实施例中,当本地设备与远端通讯设备之间的光链路出现故障时,所述本地设备与远端通讯设备无法正常通信;此时,所述本地设备向所述光模块处理器件发送更改参数请求消息,以使所述光模块处理器件根据所述更改参数请求消息更改自身对应的第一参数信息的参数值。In the embodiment of the present invention, when the optical link between the local device and the remote communication device fails, the local device and the remote communication device cannot communicate normally; at this time, the local device processes the optical module. The device sends a change parameter request message, so that the optical module processing device changes the parameter value of the first parameter information corresponding to itself according to the change parameter request message.
本实施例中,所述确定光链路处于异常状态,包括:In this embodiment, the determining that the optical link is in an abnormal state includes:
接收光链路故障报警消息,根据所述光链路故障报警消息确定光链路处于异常状态;或者,Receiving an optical link failure alarm message, determining that the optical link is in an abnormal state according to the optical link failure alarm message; or
对光链路进行检测,根据所述光链路对应的第二参数信息确定所述光链路处于异常状态。The optical link is detected, and the optical link is determined to be in an abnormal state according to the second parameter information corresponding to the optical link.
值得注意的是,本地设备确定光链路处于异常状态的过程可以为主动 的、也可以为被动的;也就是说,本地设备可以主动检测与远端通讯设备进行信号传输时所使用的光链路的运行状态,也可以被动接收光模块处理器件发送的光链路故障报警消息,因此,在实际应用中,可以根据本地设备的硬件能力设置是否主动对光链路进行检测。It is worth noting that the local device determines that the optical link is in an abnormal state and can be active. It can also be passive; that is, the local device can actively detect the running status of the optical link used when transmitting signals with the remote communication device, or passively receive the optical link failure sent by the optical module processing device. Alarm message, therefore, in actual applications, it is possible to set whether to actively detect the optical link according to the hardware capabilities of the local device.
本实施例中,所述第二参数信息包括但不限于如下:误码参数信息、光功率参数信息。In this embodiment, the second parameter information includes but is not limited to the following: error parameter information and optical power parameter information.
本实施例中,所述第一参数信息包括:光功率参数信息和/或消光比参数信息;对应地,In this embodiment, the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
所述更改参数请求消息包括:调大或调小光功率参数信息和/或消光比参数信息。The change parameter request message includes: adjusting or reducing the optical power parameter information and/or the extinction ratio parameter information.
步骤102:接收与所述更改参数请求消息对应的更改参数响应消息;Step 102: Receive a change parameter response message corresponding to the change parameter request message.
本实施例中,当与所述光模块处理器件接收到所述更改参数请求消息后,对自身中的第一参数信息进行更改,并根据更改后的第一参数信息调整驱动参数信息,以使所述驱动参数信息与更改后的第一参数信息对应,随后,生成更改参数响应消息,并将所述更改参数响应消息发送至本地设备,以告知所述本地设备完成本次参数更改过程。In this embodiment, after receiving the change parameter request message with the optical module processing device, the first parameter information in the self is changed, and the driving parameter information is adjusted according to the changed first parameter information, so that The driving parameter information corresponds to the changed first parameter information, and then generates a change parameter response message, and sends the changed parameter response message to the local device to inform the local device to complete the current parameter changing process.
本实施例中,所述光模块处理器件中存储有所述第一参数信息与所述驱动参数信息的对应表;如此,能够使所述光模块处理器件根据更改后的所述第一参数信息,在所述对应表中查找与更改后的第一参数信息存在对应关系的驱动参数信息的参数值,以根据对应关系对所述驱动参数信息进行调整。In this embodiment, the optical module processing device stores a correspondence table between the first parameter information and the driving parameter information. In this manner, the optical module processing device can be configured to change the first parameter information according to the first parameter information. And searching, in the correspondence table, a parameter value of the driving parameter information corresponding to the changed first parameter information, to adjust the driving parameter information according to the correspondence relationship.
步骤103:根据所述更改参数响应消息检测光链路对应的第二参数信息,确定更改后的第一参数信息对所述光链路的影响。Step 103: Detect the second parameter information corresponding to the optical link according to the change parameter response message, and determine the impact of the changed first parameter information on the optical link.
本实施例中,所述方法还包括:In this embodiment, the method further includes:
根据更改后的第一参数信息对所述光链路的影响,对光链路故障进行 定位;其中,所述光链路故障包括以下故障中的一种或多种:光反射故障、光链路损耗故障以及光功率异常。Performing an optical link fault according to the impact of the changed first parameter information on the optical link Positioning; wherein the optical link failure includes one or more of the following faults: a light reflection fault, an optical link loss fault, and an optical power anomaly.
本实施例中,所述本地设备根据所述更改参数响应消息检测光链路对应的第二参数信息,确定更改后的第一参数信息对所述光链路的影响,进而根据更改后的第一参数信息对所述光链路的影响对光链路故障进行定位。In this embodiment, the local device detects the second parameter information corresponding to the optical link according to the change parameter response message, and determines the impact of the changed first parameter information on the optical link, and further, according to the changed The impact of a parameter information on the optical link locates the optical link failure.
本实施例中,定位光链路存在光反射故障,包括:In this embodiment, the optical link fault of the optical link is faulty, including:
当本地设备检测到与远端通讯设备进行信号传输的光链路的误码参数信息对应的参数值持续累加,此时,本地设备确定所述光链路处于异常状态,并向与所述本地设备连接的光模块处理器件发送更改参数请求消息;其中,所述更改参数请求消息包括:调小所述光模块处理器件所对应的发送光功率参数信息的参数值以及消光比参数信息的参数值;When the local device detects that the parameter value corresponding to the error parameter information of the optical link that is transmitted by the remote communication device continues to be accumulated, the local device determines that the optical link is in an abnormal state and is in the local state. The optical module processing device that is connected to the device sends a change parameter request message, where the change parameter request message includes: reducing a parameter value of the transmit optical power parameter information corresponding to the optical module processing device and a parameter value of the extinction ratio parameter information ;
所述光模块处理器件根据所述更改参数请求消息调整发送光功率参数信息以及消光比参数信息,并根据调整后的发送光功率参数信息以及消光比参数信息调整驱动参数信息,以使所述驱动参数信息与所述发送光功率参数信息及消光比参数信息对应;The optical module processing device adjusts the transmit optical power parameter information and the extinction ratio parameter information according to the change parameter request message, and adjusts the drive parameter information according to the adjusted transmit optical power parameter information and the extinction ratio parameter information, so that the drive The parameter information corresponds to the transmit optical power parameter information and the extinction ratio parameter information;
随后,当所述光模块处理器件确定本次驱动参数信息调整完成后,生成更改参数响应消息,并将所述更改参数响应消息发送至本地设备,所述本地设备根据所述更改参数响应消息检测所述光链路对应的第二参数信息,具体地,当所述本地设备检测到所述误码参数信息对应的参数值减小,则确定所述光链路故障为光反射故障。Then, after the optical module processing device determines that the adjustment of the current driving parameter information is completed, generating a change parameter response message, and sending the change parameter response message to the local device, where the local device detects according to the changed parameter response message. The second parameter information corresponding to the optical link, specifically, when the local device detects that the parameter value corresponding to the error parameter information is decreased, determining that the optical link fault is a light reflection fault.
本实施例中,定位光链路存在光链路损耗故障,包括:In this embodiment, the optical link loss of the optical link is faulty, including:
当本地设备检测到接收到的光功率过低,或者光口未接收到光信号,此时,本地设备确定所述光链路处于异常状态,并向与所述本地设备连接的光模块处理器件发送更改参数请求消息;其中,所述更改参数请求消息 包括:调大所述光模块处理器件所对应的发送光功率参数信息的参数值;When the local device detects that the received optical power is too low, or the optical port does not receive the optical signal, the local device determines that the optical link is in an abnormal state, and processes the device with the optical module connected to the local device. Sending a change parameter request message; wherein the change parameter request message The method includes: increasing a parameter value of the transmit optical power parameter information corresponding to the optical module processing device;
所述光模块处理器件根据所述更改参数请求消息调整发送光功率参数信息,并根据调整后的发送光功率参数信息调整驱动参数信息,以使所述驱动参数信息与所述发送光功率参数信息对应;The optical module processing device adjusts the transmit optical power parameter information according to the change parameter request message, and adjusts the drive parameter information according to the adjusted transmit optical power parameter information, so that the drive parameter information and the transmit optical power parameter information are correspond;
随后,当所述光模块处理器件确定本次驱动参数信息调整完成后,生成更改参数响应消息,并将所述更改参数响应消息发送至本地设备,所述本地设备根据所述更改参数响应消息检测所述光链路对应的第二参数信息,具体地,当所述本地设备检测到接收到的光功率正常时,则确定所述光链路故障为光链路损耗过大导致的。Then, after the optical module processing device determines that the adjustment of the current driving parameter information is completed, generating a change parameter response message, and sending the change parameter response message to the local device, where the local device detects according to the changed parameter response message. The second parameter information corresponding to the optical link, specifically, when the local device detects that the received optical power is normal, determining that the optical link failure is caused by excessive optical link loss.
本实施例中,定位光链路存在光功率异常故障,包括:In this embodiment, the optical link has an abnormal optical power fault, including:
当本地设备检测到接收到的光功率异常,此时,本地设备确定所述光链路处于异常状态,并向与所述本地设备连接的光模块处理器件发送更改参数请求消息;其中,所述更改参数请求消息包括:调整所述光模块处理器件所对应的发送光功率参数信息的参数值;When the local device detects that the received optical power is abnormal, the local device determines that the optical link is in an abnormal state, and sends a change parameter request message to the optical module processing device connected to the local device; The parameter change request message includes: adjusting a parameter value of the transmit optical power parameter information corresponding to the optical module processing device;
所述光模块处理器件根据所述更改参数请求消息调整发送光功率参数信息,并根据调整后的发送光功率参数信息调整驱动参数信息,以使所述驱动参数信息与所述发送光功率参数信息对应;The optical module processing device adjusts the transmit optical power parameter information according to the change parameter request message, and adjusts the drive parameter information according to the adjusted transmit optical power parameter information, so that the drive parameter information and the transmit optical power parameter information are correspond;
随后,当所述光模块处理器件确定本次驱动参数信息调整完成后,生成更改参数响应消息,并将所述更改参数响应消息发送至本地设备,所述本地设备根据所述更改参数响应消息检测所述光链路对应的第二参数信息,具体地,当所述本地设备检测到接收到的光功率正常时,则确定所述光链路故障为光功率异常而导致的。Then, after the optical module processing device determines that the adjustment of the current driving parameter information is completed, generating a change parameter response message, and sending the change parameter response message to the local device, where the local device detects according to the changed parameter response message. The second parameter information corresponding to the optical link, specifically, when the local device detects that the received optical power is normal, determining that the optical link fault is abnormal due to optical power.
值得注意的是,在实际应用中,需要根据所述本地设备所检测到的故障信息的变化情况,决定调大或调小所述光模块处理器件所对应的发送光功率参数信息的参数值。 It is to be noted that, in practical applications, it is determined to adjust or increase the parameter value of the transmitted optical power parameter information corresponding to the optical module processing device according to the change of the fault information detected by the local device.
这里,所述光模块处理器件的正常光功率通常在-5.2-0.5dBm,光功率过高或过低均属于光功率异常;例如,光功率过高,易造成接收端设备接收到的光功率过载,也影响接收端设备和发送端设备对应的光模块处理器件的激光器寿命;光功率过低,易造成接收端设备眼图变差,也易超出接收端设备的接收灵敏度。Here, the normal optical power of the optical module processing device is usually -5.2-0.5 dBm, and the optical power is too high or too low, which is an abnormal optical power; for example, the optical power is too high, which is likely to cause optical power received by the receiving device. The overload also affects the laser lifetime of the optical module processing device corresponding to the receiving end device and the transmitting end device; if the optical power is too low, the eye diagram of the receiving end device is likely to be deteriorated, and the receiving sensitivity of the receiving end device is also easily exceeded.
本发明实施例还提供了一种第一计算机可读存储介质,该存储介质包括一组指令,所述指令用于执行上述如图1所示的光链路故障定位方法。The embodiment of the invention further provides a first computer readable storage medium, the storage medium comprising a set of instructions for performing the optical link fault location method as shown in FIG. 1 above.
为实现上述方法,本发明实施例还提供了一种第一设备,如图2所示,所述第一设备包括:To implement the above method, the embodiment of the present invention further provides a first device. As shown in FIG. 2, the first device includes:
第一发送单元21,配置为当确定光链路处于异常状态时,发送更改参数请求消息,以使对端设备根据所述更改参数请求消息更改自身对应的第一参数信息;The first sending unit 21 is configured to: when it is determined that the optical link is in an abnormal state, send a change parameter request message, so that the peer device changes the first parameter information corresponding to the peer parameter according to the change parameter request message;
第一接收单元22,配置为接收与所述更改参数请求消息对应的更改参数响应消息;The first receiving unit 22 is configured to receive a change parameter response message corresponding to the change parameter request message;
确定单元23,配置为根据所述更改参数响应消息检测光链路对应的第二参数信息,确定更改后的第一参数信息对所述光链路的影响。The determining unit 23 is configured to detect the second parameter information corresponding to the optical link according to the changed parameter response message, and determine the impact of the changed first parameter information on the optical link.
上述方案中,所述第一发送单元21,还配置为接收光链路故障报警消息,根据所述光链路故障报警消息确定光链路处于异常状态;或者,In the above solution, the first sending unit 21 is further configured to receive an optical link failure alarm message, and determine that the optical link is in an abnormal state according to the optical link failure alarm message; or
还配置为对光链路进行检测,根据所述光链路对应的第二参数信息确定所述光链路处于异常状态。The optical link is also configured to detect the optical link, and the optical link is determined to be in an abnormal state according to the second parameter information corresponding to the optical link.
上述方案中,所述第一参数信息包括:光功率参数信息和/或消光比参数信息;对应地,In the above solution, the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
所述更改参数请求消息包括:调大或调小光功率参数信息和/或消光比参数信息。The change parameter request message includes: adjusting or reducing the optical power parameter information and/or the extinction ratio parameter information.
上述方案中,所述第一设备还包括: In the above solution, the first device further includes:
定位单元24,配置为根据更改后的第一参数信息对所述光链路的影响,对光链路故障进行定位;其中,所述光链路故障包括以下故障中的一种或多种:光反射故障、光链路损耗故障以及光功率异常。The locating unit 24 is configured to locate the optical link fault according to the impact of the changed first parameter information on the optical link, where the optical link fault includes one or more of the following faults: Light reflection failure, optical link loss failure, and optical power anomaly.
本实施例中,所述第一发送单元21、第一接收单元22、确定单元23以及定位单元24均可以运行于第一设备上,可由位于所述第一设备上的中央处理器(CPU)、或微处理器(MPU)、或数字信号处理器(DSP)、或可编程门阵列(FPGA)实现。In this embodiment, the first sending unit 21, the first receiving unit 22, the determining unit 23, and the positioning unit 24 may all run on the first device, and may be a central processing unit (CPU) located on the first device. Or a microprocessor (MPU), or a digital signal processor (DSP), or a programmable gate array (FPGA) implementation.
实施例二 Embodiment 2
图3为本发明实施例光链路故障定位方法的实现流程示意图二;所述方法应用于光链路对应的光模块处理器件中;所述光模块处理器件与本地设备连接;如此,通过光纤以及所述光模块处理器件使所述本地设备与远端通讯设备进行信号传输;如图3所示,所述方法包括:3 is a schematic flowchart 2 of an implementation process of an optical link fault locating method according to an embodiment of the present invention; the method is applied to an optical module processing device corresponding to an optical link; and the optical module processing device is connected to a local device; And the optical module processing device performs signal transmission between the local device and the remote communication device; as shown in FIG. 3, the method includes:
步骤301:接收更改参数请求消息,根据所述更改参数请求消息更改自身对应的第一参数信息;Step 301: Receive a change parameter request message, and change the first parameter information corresponding to the change parameter request message according to the change parameter request message;
本发明实施例中,当本地设备与远端通讯设备之间的光链路出现故障时,所述本地设备与远端通讯设备无法正常通信;此时,所述本地设备向所述光模块处理器件发送更改参数请求消息,所述光模块处理器件接收所述更改参数请求消息,并根据所述更改参数请求消息更改自身对应的第一参数信息。In the embodiment of the present invention, when the optical link between the local device and the remote communication device fails, the local device and the remote communication device cannot communicate normally; at this time, the local device processes the optical module. The device sends a change parameter request message, the optical module processing device receives the change parameter request message, and changes the first parameter information corresponding to itself according to the change parameter request message.
本实施例中,所述第一参数信息包括:光功率参数信息和/或消光比参数信息;对应地,In this embodiment, the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
所述根据所述更改参数请求消息更改自身对应的第一参数信息,包括:The modifying the first parameter information corresponding to the change according to the change parameter request message includes:
根据所述更改参数请求消息调大或调小自身对应的光功率参数信息和/或消光比参数信息。And according to the change parameter request message, the optical power parameter information and/or the extinction ratio parameter information corresponding to the optical power parameter information and/or the extinction ratio parameter information are adjusted.
步骤302:根据更改后的第一参数信息调整驱动参数信息,以使所述驱 动参数信息与更改后的第一参数信息对应;Step 302: Adjust driving parameter information according to the changed first parameter information, so that the driving The dynamic parameter information corresponds to the changed first parameter information;
本实施例中,所述光模块处理器件根据更改后的第一参数信息调整驱动参数信息,以使所述驱动参数信息与更改后的第一参数信息对应。In this embodiment, the optical module processing device adjusts the driving parameter information according to the changed first parameter information, so that the driving parameter information corresponds to the changed first parameter information.
本实施例中,所述光模块处理器件中存储有所述第一参数信息与所述驱动参数信息的对应关系表;如此,能够使所述光模块处理器件根据更改后的所述第一参数信息,在所述对应关系表中查找与更改后的第一参数信息存在对应关系的驱动参数信息的参数值,以根据对应关系对所述驱动参数信息进行调整。In this embodiment, the optical module processing device stores a correspondence table between the first parameter information and the driving parameter information; thus, the optical module processing device can be configured to change the first parameter according to the first parameter. And searching for the parameter value of the driving parameter information corresponding to the changed first parameter information in the correspondence relationship table, so as to adjust the driving parameter information according to the correspondence relationship.
步骤303:所述驱动参数信息调整完成后,生成更改参数响应消息,并发送所述更改参数响应消息。Step 303: After the adjustment of the driving parameter information is completed, generate a change parameter response message, and send the change parameter response message.
本实施例中,所述光模块处理器件对所述驱动参数调整完成后,生成更改参数响应消息,并将所述更改参数响应消息发送至本地设备,如此,告知所述本地设备完成本次参数更改过程,以使所述本地设备根据所述更改参数响应消息检测光链路对应的第二参数信息,进而确定更改后的第一参数信息对所述光链路的影响,以根据影响对光链路故障进行定位。In this embodiment, after the adjustment of the driving parameter is completed, the optical module processing device generates a change parameter response message, and sends the change parameter response message to the local device, so that the local device is notified to complete the current parameter. The process of changing, so that the local device detects the second parameter information corresponding to the optical link according to the change parameter response message, and further determines the impact of the changed first parameter information on the optical link, so as to influence the light according to the influence The link is faulty for positioning.
本发明实施例还提供了一种第二计算机可读存储介质,该存储介质包括一组指令,所述指令用于执行上述如图3所示的光链路故障定位方法The embodiment of the present invention further provides a second computer readable storage medium, the storage medium comprising a set of instructions for performing the optical link fault location method as shown in FIG.
为实现上述方法,本发明实施例还提供了一种光模块处理器件,如图4所示,所述光模块处理器件包括:To achieve the above method, an embodiment of the present invention further provides an optical module processing device. As shown in FIG. 4, the optical module processing device includes:
第二接收单元41,配置为接收更改参数请求消息,根据所述更改参数请求消息更改自身对应的第一参数信息;The second receiving unit 41 is configured to receive a change parameter request message, and change the first parameter information corresponding to the change parameter request message according to the change parameter request message;
调整单元42,配置为根据更改后的第一参数信息调整驱动参数信息,以使所述驱动参数信息与更改后的第一参数信息对应;The adjusting unit 42 is configured to adjust the driving parameter information according to the changed first parameter information, so that the driving parameter information corresponds to the changed first parameter information;
第二发送单元43,配置为所述驱动参数信息调整完成后,生成更改参数响应消息,并发送所述更改参数响应消息。 The second sending unit 43 is configured to generate a change parameter response message after the adjustment of the driving parameter information is completed, and send the change parameter response message.
上述方案中,所述第一参数信息包括:光功率参数信息和/或消光比参数信息;对应地,In the above solution, the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
所述第二接收单元41,还配置为根据所述更改参数请求消息调大或调小自身对应的光功率参数信息和/或消光比参数信息。The second receiving unit 41 is further configured to adjust or reduce the optical power parameter information and/or extinction ratio parameter information corresponding to the data according to the change parameter request message.
本实施例中,所述第二发送单元43、第二接收单元41以及调整单元42均可以运行于光模块处理器件上,可由位于所述光模块处理器件上的中央处理器(CPU)、或微处理器(MPU)、或数字信号处理器(DSP)、或可编程门阵列(FPGA)实现。In this embodiment, the second sending unit 43, the second receiving unit 41, and the adjusting unit 42 may all run on the optical module processing device, and may be a central processing unit (CPU) located on the optical module processing device, or Microprocessor (MPU), or digital signal processor (DSP), or programmable gate array (FPGA) implementation.
实施例三 Embodiment 3
图5为本发明实施例光链路故障定位方法的具体实现的流程示意图;图6为本发明实施例三对应的系统的结构示意图;如图6所示,所述方法涉及到如下设备、器件及内部组件,分别为:5 is a schematic flowchart of a specific implementation of an optical link fault locating method according to an embodiment of the present invention; FIG. 6 is a schematic structural diagram of a system corresponding to the third embodiment of the present invention; as shown in FIG. 6, the method relates to the following devices and devices. And internal components, respectively:
室内/室外拉远设备1,具体为基带处理单元(BBU)/射频拉远模块(RRU)所对应的设备;光模块处理器件2,所述光模块处理器件2通过所述室内/室外拉远设备1上的光口与所述室内/室外拉远设备1连接;第一控制器3,位于所述室内/室外拉远设备1上,且所述第一处理器3可以为所述室内/室外拉远设备1中的中央处理器(CPU)或现场可编程门阵列(FPGA)等;第二控制器4,驱动芯片5,发光组件6,接收组件7,存储器8,均位于所述光模块处理器件2上;The indoor/outdoor remote device 1, specifically the device corresponding to the baseband processing unit (BBU)/radio remote module (RRU); the optical module processing device 2, the optical module processing device 2 is extended through the indoor/outdoor The optical port on the device 1 is connected to the indoor/outdoor remote device 1; the first controller 3 is located on the indoor/outdoor remote device 1, and the first processor 3 may be the indoor/ a central processing unit (CPU) or a field programmable gate array (FPGA) or the like in the outdoor remote device 1; a second controller 4, a driving chip 5, a light emitting unit 6, a receiving unit 7, and a memory 8, both located in the light Module processing device 2;
其中,所述第一控制器3与所述第二控制器4连接,实现所述室内/室外拉远设备1通过光纤以及所述光模块处理器件2与远端通讯设备进行信号传输的目的;所述存储器8、驱动芯片5均与所述第二控制器4连接,所述驱动芯片5分别与所述发光组件6和接收组件7连接;The first controller 3 is connected to the second controller 4, and realizes the purpose of transmitting signals by the indoor/outdoor remote device 1 through the optical fiber and the optical module processing device 2 and the remote communication device; The memory 8 and the driving chip 5 are both connected to the second controller 4, and the driving chip 5 is respectively connected to the light emitting component 6 and the receiving component 7;
在实际应用中,所述发光组件6和接收组件7可以集成于一个组件中,统称为发射接收组件9;所述存储器8具体可以为带电可擦可编程只读存储 器(EEPROM)。In practical applications, the light-emitting component 6 and the receiving component 7 can be integrated into one component, collectively referred to as a transmitting and receiving component 9; the memory 8 can be specifically a charged erasable programmable read-only memory. (EEPROM).
基于图6所示的系统,所述方法包括:Based on the system shown in Figure 6, the method includes:
步骤501:当所述第一控制器3确定光链路处于异常状态时,向所述第二控制器4发送更改参数请求消息;Step 501: When the first controller 3 determines that the optical link is in an abnormal state, send a change parameter request message to the second controller 4;
本发明实施例中,当室内/室外拉远设备1与远端通讯设备之间的光链路出现故障时,所述室内/室外拉远设备1与远端通讯设备无法正常通信;此时,所述室内/室外拉远设备1中的第一控制器3向所述光模块处理器件2中的第二控制器4发送更改参数请求消息,以使所述光模块处理器件2根据所述更改参数请求消息更改自身对应的第一参数信息的参数值。In the embodiment of the present invention, when the optical link between the indoor/outdoor remote device 1 and the remote communication device fails, the indoor/outdoor remote device 1 and the remote communication device cannot communicate normally; The first controller 3 in the indoor/outdoor remote device 1 transmits a change parameter request message to the second controller 4 in the optical module processing device 2 to cause the optical module processing device 2 to change according to the change The parameter request message changes the parameter value of the first parameter information corresponding to itself.
本实施例中,所述光链路为由光纤与所述光模块处理器件2组成的链路结构。In this embodiment, the optical link is a link structure composed of an optical fiber and the optical module processing device 2.
本实施例中,所述确定光链路处于异常状态,包括:In this embodiment, the determining that the optical link is in an abnormal state includes:
接收光链路故障报警消息,根据所述光链路故障报警消息确定光链路处于异常状态;或者,Receiving an optical link failure alarm message, determining that the optical link is in an abnormal state according to the optical link failure alarm message; or
对光链路进行检测,根据所述光链路对应的第二参数信息确定所述光链路处于异常状态。The optical link is detected, and the optical link is determined to be in an abnormal state according to the second parameter information corresponding to the optical link.
值得注意的是,室内/室外拉远设备1确定光链路处于异常状态的过程可以为主动的、也可以为被动的;也就是说,室内/室外拉远设备1可以主动检测与远端通讯设备进行信号传输时所使用的光链路的运行状态,也可以被动接收光模块处理器件2发送的光链路故障报警消息,因此,在实际应用中,可以根据室内/室外拉远设备1的硬件能力设置是否主动对光链路进行检测;It is worth noting that the process of determining that the optical link is in an abnormal state can be active or passive; that is, the indoor/outdoor remote device 1 can actively detect and communicate with the remote end. The operating state of the optical link used by the device for signal transmission may also passively receive the optical link failure alarm message sent by the optical module processing device 2. Therefore, in practical applications, according to the indoor/outdoor remote device 1 Whether the hardware capability setting actively detects the optical link;
另外,在实际应用中,确定光链路是否处于异常状态的任务由所述第一控制器3执行,因此,对于所述第一控制器3而言,所述第一控制器3可以主动检测与远端通讯设备进行信号传输时所使用的光链路的运行状 态,也可以被动接收光模块处理器件2发送的光链路故障报警消息、或者,被动接收室内/室外拉远设备1中的其他模块确定出的光链路故障报警消息。In addition, in a practical application, the task of determining whether the optical link is in an abnormal state is performed by the first controller 3, and therefore, for the first controller 3, the first controller 3 can actively detect Operation of the optical link used for signal transmission with the remote communication device The optical link failure alarm message sent by the optical module processing device 2 or the optical link failure alarm message determined by other modules in the indoor/outdoor remote device 1 may be passively received.
本实施例中,所述第一参数信息包括:光功率参数信息和/或消光比参数信息;对应地,In this embodiment, the first parameter information includes: optical power parameter information and/or extinction ratio parameter information; correspondingly,
所述更改参数请求消息包括:调大或调小光功率参数信息和/或消光比参数信息。The change parameter request message includes: adjusting or reducing the optical power parameter information and/or the extinction ratio parameter information.
步骤502:所述第二控制器4接收所述更改参数请求消息,根据所述更改参数请求消息指示所述存储器8更改所述存储器8对应的第一参数信息;Step 502: The second controller 4 receives the change parameter request message, and instructs the memory 8 to change the first parameter information corresponding to the memory 8 according to the change parameter request message.
本实施例中,所述第二控制器4接收到所述更改参数请求消息后,告知所述存储器8,使所述存储器8根据所述更改参数请求消息对应更改第一参数信息。In this embodiment, after receiving the change parameter request message, the second controller 4 informs the memory 8 to cause the memory 8 to change the first parameter information according to the change parameter request message.
步骤503:所述第二控制器4确定所述存储器8已更改所述第一参数信息后,向所述驱动芯片5发送调整消息;Step 503: The second controller 4 determines that the memory 8 has changed the first parameter information, and sends an adjustment message to the driving chip 5;
本实施例中,当所述存储器8中的第一参数信息更改完成后,所述第二控制器4检测到所述存储器8中的第一参数信息有变化,则所述第二控制器4向所述驱动芯片5发送调整消息。In this embodiment, after the first parameter information in the memory 8 is changed, the second controller 4 detects that there is a change in the first parameter information in the memory 8, the second controller 4 An adjustment message is sent to the drive chip 5.
步骤504:所述驱动芯片5根据所述调整消息,向所述第二控制器4查询与更改后的所述第一参数信息存在对应关系的驱动参数信息,并根据与更改后的所述第一参数信息存在对应关系的驱动参数信息调整所述驱动芯片对应的驱动参数信息;Step 504: The driving chip 5 queries the second controller 4 for driving parameter information corresponding to the changed first parameter information according to the adjustment message, and according to the modified The driving parameter information corresponding to the parameter information has a corresponding relationship, and the driving parameter information corresponding to the driving chip is adjusted;
本实施例中,所述第二控制器4中存储有所述第一参数信息与所述驱动参数信息的对应关系表;如此,能够使所述驱动芯片5根据更改后的所述第一参数信息,在所述对应关系表中查找与更改后的第一参数信息存在对应关系的驱动参数信息的参数值,以根据对应关系对所述驱动参数信息 进行调整。In this embodiment, the second controller 4 stores a correspondence table between the first parameter information and the driving parameter information; thus, the driving chip 5 can be caused to change the first parameter according to the first parameter. Information, in the correspondence relationship table, searching for a parameter value of the driving parameter information corresponding to the changed first parameter information, to the driving parameter information according to the correspondence relationship Make adjustments.
步骤505:所述驱动芯片5根据调整后的驱动参数信息向所述发光组件6发送指令,指示所述发光组件6根据所述调整后的驱动参数信息发送光信号;Step 505: The driving chip 5 sends an instruction to the lighting component 6 according to the adjusted driving parameter information, instructing the lighting component 6 to send an optical signal according to the adjusted driving parameter information;
步骤506:当所述第二控制器4确定所述驱动芯片5中的驱动参数信息调整完成后,生成更改参数响应消息,并将所述更改参数响应消息发送至所述第一控制器3;Step 506: After the second controller 4 determines that the drive parameter information adjustment in the drive chip 5 is completed, generate a change parameter response message, and send the change parameter response message to the first controller 3;
本实施例中,所述第二控制器4确定所述驱动芯片5中的驱动参数信息调整完成后,生成更改参数响应消息,并将所述更改参数响应消息发送至第一控制器3,如此,告知所述第一控制器3完成本次参数更改过程,以使所述第一控制器3根据所述更改参数响应消息检测光链路对应的第二参数信息,进而确定更改后的第一参数信息对所述光链路的影响,以根据影响对光链路故障进行定位。In this embodiment, after the second controller 4 determines that the driving parameter information in the driving chip 5 is adjusted, a change parameter response message is generated, and the changed parameter response message is sent to the first controller 3, Instructing the first controller 3 to complete the current parameter change process, so that the first controller 3 detects the second parameter information corresponding to the optical link according to the changed parameter response message, thereby determining the first change. The impact of the parameter information on the optical link to locate the optical link fault according to the impact.
步骤507:所述第一控制器3根据所述更改参数响应消息检测光链路对应的第二参数信息,确定更改后的第一参数信息对所述光链路的影响;Step 507: The first controller 3 detects the second parameter information corresponding to the optical link according to the changed parameter response message, and determines the impact of the changed first parameter information on the optical link.
步骤508:所述第一控制器3根据更改后的第一参数信息对所述光链路的影响,对光链路故障进行定位;Step 508: The first controller 3 locates the optical link fault according to the impact of the changed first parameter information on the optical link.
其中,所述光链路故障包括以下故障中的一种或多种:光反射故障、光链路损耗故障以及光功率异常。The optical link failure includes one or more of the following faults: a light reflection fault, an optical link loss fault, and an optical power abnormality.
本发明实施例所提供的光链路故障定位方法、设备及处理器件,能够通过检测光链路的异常状态,确定参数信息的调整方案,即当确定光链路处于异常状态时,生成更改参数请求消息,并根据所述更改参数请求消息使对端设备更改第一参数信息,进而根据更改后的第一参数信息检测光链路对应的第二参数信息,以确定更改后的第一参数信息对所述光链路的影响,最终根据所述影响对光链路故障进行定位,因此,本发明实施例能够 在本地设备中执行,或者通过监控设备监控本地设备执行,如此,能够实现远程、批量定位光链路故障的目的,缩短故障定位周期以及人力成本;The optical link fault locating method, device, and processing device provided by the embodiments of the present invention can determine the parameter information adjustment scheme by detecting the abnormal state of the optical link, that is, when determining that the optical link is in an abnormal state, generating a change parameter And requesting the message, and modifying the parameter request message according to the change parameter request message, so that the peer device changes the first parameter information, and further detects the second parameter information corresponding to the optical link according to the changed first parameter information to determine the changed first parameter information. The impact on the optical link is finally located to locate the optical link fault according to the impact. Therefore, the embodiment of the present invention can The local device is executed in the local device, or the local device is monitored by the monitoring device. Therefore, the remote and batch positioning optical link faults can be achieved, and the fault locating cycle and labor cost can be shortened.
另外,本发明实施例对光链路进行故障定位时是在本地设备与光模块处理器件的交互过程中实现的,因此,当将所述本地设备与所述光模块处理器件作为一个整体时,本发明实施例对光链路进行故障定位的过程即为一闭环定位过程,因此,本发明实施例方法简单、可操作性强;而且,当监控设备检测多个本地设备时,本发明实施例方法也可使监控设备提供远程、批量地对光链路故障进行定位的方法,如此,缩短故障定位周期,节约人力成本;同时,本发明实施例还能够对后续类似问题起到借鉴意义。In addition, the fault location of the optical link is implemented in the interaction between the local device and the optical module processing device, and therefore, when the local device and the optical module processing device are integrated as a whole, The process of the fault location of the optical link in the embodiment of the present invention is a closed loop positioning process. Therefore, the method of the embodiment of the present invention is simple and operability is strong; and when the monitoring device detects multiple local devices, the embodiment of the present invention The method can also provide a method for locating an optical link fault in a remote and batch manner, so that the fault locating period is shortened and the labor cost is saved. At the same time, the embodiment of the present invention can also serve as a reference for subsequent similar problems.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个 流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The device is implemented in a flow chart A function specified in a block or blocks of a process or multiple processes and/or block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述仅是本发明实施例的实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明实施例原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明实施例的保护范围。The above is only an embodiment of the embodiments of the present invention, and it should be noted that those skilled in the art can make some improvements and refinements without departing from the principles of the embodiments of the present invention. Retouching should also be considered as the scope of protection of the embodiments of the present invention.
工业实用性Industrial applicability
本发明实施例能够通过检测光链路的异常状态,确定参数信息的调整方案,即当确定光链路处于异常状态时,生成更改参数请求消息,并根据所述更改参数请求消息使对端设备更改第一参数信息,进而根据更改后的第一参数信息检测光链路对应的第二参数信息,以确定更改后的第一参数信息对所述光链路的影响,最终根据所述影响对光链路故障进行定位,因此,本发明实施例能够在本地设备中执行,或者通过监控设备监控本地设备执行,如此,能够实现远程、批量定位光链路故障的目的,缩短故障定位周期以及人力成本。 The embodiment of the present invention can determine the adjustment scheme of the parameter information by detecting the abnormal state of the optical link, that is, when determining that the optical link is in an abnormal state, generating a change parameter request message, and making the peer device according to the change parameter request message. The first parameter information is changed, and the second parameter information corresponding to the optical link is detected according to the changed first parameter information to determine the impact of the changed first parameter information on the optical link, and finally according to the impact The optical link is faulty to be located. Therefore, the embodiment of the present invention can be executed in the local device, or the local device can be monitored by the monitoring device. Therefore, the purpose of remote and batch positioning optical link failure can be achieved, and the fault positioning period and the human power can be shortened. cost.

Claims (14)

  1. 一种光链路故障定位方法,所述方法包括:An optical link fault locating method, the method comprising:
    当确定光链路处于异常状态时,发送更改参数请求消息,以使对端设备根据所述更改参数请求消息更改自身对应的第一参数信息;When it is determined that the optical link is in an abnormal state, the change parameter request message is sent, so that the peer device changes the first parameter information corresponding to the peer device according to the change parameter request message;
    接收与所述更改参数请求消息对应的更改参数响应消息;Receiving a change parameter response message corresponding to the change parameter request message;
    根据所述更改参数响应消息检测光链路对应的第二参数信息,确定更改后的第一参数信息对所述光链路的影响。And detecting, according to the changed parameter response message, the second parameter information corresponding to the optical link, and determining the impact of the changed first parameter information on the optical link.
  2. 根据权利要求1所述的方法,其中,所述确定光链路处于异常状态,包括:The method of claim 1, wherein the determining that the optical link is in an abnormal state comprises:
    接收光链路故障报警消息,根据所述光链路故障报警消息确定光链路处于异常状态;或者Receiving an optical link failure alarm message, determining that the optical link is in an abnormal state according to the optical link failure alarm message; or
    对光链路进行检测,根据所述光链路对应的第二参数信息确定所述光链路处于异常状态。The optical link is detected, and the optical link is determined to be in an abnormal state according to the second parameter information corresponding to the optical link.
  3. 根据权利要求1或2所述的方法,其中,所述第一参数信息包括:光功率参数信息和/或消光比参数信息;对应地,The method according to claim 1 or 2, wherein the first parameter information comprises: optical power parameter information and/or extinction ratio parameter information; correspondingly,
    所述更改参数请求消息包括:调大或调小光功率参数信息和/或消光比参数信息。The change parameter request message includes: adjusting or reducing the optical power parameter information and/or the extinction ratio parameter information.
  4. 根据权利要求1或2所述的方法,其中,所述方法还包括:The method of claim 1 or 2, wherein the method further comprises:
    根据更改后的第一参数信息对所述光链路的影响,对光链路故障进行定位;其中,所述光链路故障包括以下故障中的一种或多种:光反射故障、光链路损耗故障以及光功率异常。Locating an optical link fault according to the impact of the changed first parameter information on the optical link; wherein the optical link fault includes one or more of the following faults: a light reflection fault, a light chain Road loss failure and abnormal optical power.
  5. 一种光链路故障定位方法,所述方法包括:An optical link fault locating method, the method comprising:
    接收更改参数请求消息,根据所述更改参数请求消息更改自身对应的第一参数信息; Receiving a change parameter request message, and changing the first parameter information corresponding to the change parameter request message according to the change parameter request message;
    根据更改后的第一参数信息调整驱动参数信息,以使所述驱动参数信息与更改后的第一参数信息对应;Adjusting the driving parameter information according to the changed first parameter information, so that the driving parameter information corresponds to the changed first parameter information;
    所述驱动参数信息调整完成后,生成更改参数响应消息,并发送所述更改参数响应消息。After the adjustment of the driving parameter information is completed, a change parameter response message is generated, and the change parameter response message is sent.
  6. 根据权利要求5所述的方法,其中,所述第一参数信息包括:光功率参数信息和/或消光比参数信息;对应地,The method according to claim 5, wherein the first parameter information comprises: optical power parameter information and/or extinction ratio parameter information; correspondingly,
    所述根据所述更改参数请求消息更改自身对应的第一参数信息,包括:The modifying the first parameter information corresponding to the change according to the change parameter request message includes:
    根据所述更改参数请求消息调大或调小自身对应的光功率参数信息和/或消光比参数信息。And according to the change parameter request message, the optical power parameter information and/or the extinction ratio parameter information corresponding to the optical power parameter information and/or the extinction ratio parameter information are adjusted.
  7. 一种第一设备,所述第一设备包括:A first device, the first device comprising:
    第一发送单元,配置为当确定光链路处于异常状态时,发送更改参数请求消息,以使对端设备根据所述更改参数请求消息更改自身对应的第一参数信息;a first sending unit, configured to: when it is determined that the optical link is in an abnormal state, send a change parameter request message, so that the peer device changes the first parameter information corresponding to the peer device according to the change parameter request message;
    第一接收单元,配置为接收与所述更改参数请求消息对应的更改参数响应消息;a first receiving unit, configured to receive a change parameter response message corresponding to the change parameter request message;
    确定单元,配置为根据所述更改参数响应消息检测光链路对应的第二参数信息,确定更改后的第一参数信息对所述光链路的影响。The determining unit is configured to detect the second parameter information corresponding to the optical link according to the change parameter response message, and determine the impact of the changed first parameter information on the optical link.
  8. 根据权利要求7所述的第一设备,其中,所述第一发送单元,还配置为接收光链路故障报警消息,根据所述光链路故障报警消息确定光链路处于异常状态;或者,The first device according to claim 7, wherein the first sending unit is further configured to receive an optical link failure alarm message, and determine that the optical link is in an abnormal state according to the optical link failure alarm message; or
    还配置为对光链路进行检测,根据所述光链路对应的第二参数信息确定所述光链路处于异常状态。The optical link is also configured to detect the optical link, and the optical link is determined to be in an abnormal state according to the second parameter information corresponding to the optical link.
  9. 根据权利要求7或8所述的第一设备,其中,所述第一参数信息包括:光功率参数信息和/或消光比参数信息;对应地,The first device according to claim 7 or 8, wherein the first parameter information comprises: optical power parameter information and/or extinction ratio parameter information; correspondingly,
    所述更改参数请求消息包括:调大或调小光功率参数信息和/或消光比 参数信息。The change parameter request message includes: adjusting or reducing the optical power parameter information and/or extinction ratio Parameter information.
  10. 根据权利要求7或8所述的第一设备,其中,所述第一设备还包括:The first device according to claim 7 or 8, wherein the first device further comprises:
    定位单元,配置为根据更改后的第一参数信息对所述光链路的影响,对光链路故障进行定位;其中,所述光链路故障包括以下故障中的一种或多种:光反射故障、光链路损耗故障以及光功率异常。The locating unit is configured to locate the optical link fault according to the impact of the changed first parameter information on the optical link, where the optical link fault includes one or more of the following faults: Reflection failure, optical link loss failure, and optical power anomalies.
  11. 一种光模块处理器件,所述光模块处理器件包括:An optical module processing device, the optical module processing device comprising:
    第二接收单元,配置为接收更改参数请求消息,根据所述更改参数请求消息更改自身对应的第一参数信息;a second receiving unit, configured to receive a change parameter request message, and change the first parameter information corresponding to the change parameter request message according to the change parameter request message;
    调整单元,配置为根据更改后的第一参数信息调整驱动参数信息,以使所述驱动参数信息与更改后的第一参数信息对应;The adjusting unit is configured to adjust the driving parameter information according to the changed first parameter information, so that the driving parameter information corresponds to the changed first parameter information;
    第二发送单元,配置为所述驱动参数信息调整完成后,生成更改参数响应消息,并发送所述更改参数响应消息。The second sending unit is configured to generate a change parameter response message after the adjustment of the driving parameter information is completed, and send the change parameter response message.
  12. 根据权利要求11所述的光模块处理器件,其中,所述第一参数信息包括:光功率参数信息和/或消光比参数信息;对应地,The optical module processing device according to claim 11, wherein the first parameter information comprises: optical power parameter information and/or extinction ratio parameter information; correspondingly,
    所述第二接收单元,还配置为根据所述更改参数请求消息调大或调小自身对应的光功率参数信息和/或消光比参数信息。The second receiving unit is further configured to adjust or reduce the optical power parameter information and/or the extinction ratio parameter information corresponding to the optical parameter parameter according to the change parameter request message.
  13. 一种第一计算机可读存储介质,该存储介质包括一组指令,所述指令用于执行权利要求1至4任一项所述的光链路故障定位方法。A first computer readable storage medium comprising a set of instructions for performing the optical link fault location method of any one of claims 1 to 4.
  14. 一种第二计算机可读存储介质,该存储介质包括一组指令,所述指令用于执行权利要求5或6所述的光链路故障定位方法。 A second computer readable storage medium comprising a set of instructions for performing the optical link fault location method of claim 5 or 6.
PCT/CN2015/077189 2014-11-05 2015-04-22 Optical link fault locating method, device, processing component and storage medium WO2016070585A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410620890.6 2014-11-05
CN201410620890.6A CN105610490B (en) 2014-11-05 2014-11-05 A kind of optical link Fault Locating Method, equipment and processing apparatus

Publications (1)

Publication Number Publication Date
WO2016070585A1 true WO2016070585A1 (en) 2016-05-12

Family

ID=55908489

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/077189 WO2016070585A1 (en) 2014-11-05 2015-04-22 Optical link fault locating method, device, processing component and storage medium

Country Status (2)

Country Link
CN (1) CN105610490B (en)
WO (1) WO2016070585A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630178B (en) * 2021-08-18 2022-09-20 新华三信息安全技术有限公司 Message transmission method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040004709A1 (en) * 2002-07-02 2004-01-08 Donald Pitchforth Method and system for performing measurements on an optical network
CN101296034A (en) * 2007-04-26 2008-10-29 华为技术有限公司 Method and apparatus for transmission of monitoring information, passive optical network system
CN101753207A (en) * 2008-12-16 2010-06-23 华为技术有限公司 Fiber link fault recognition method, device and system
CN101995320A (en) * 2009-08-27 2011-03-30 华为海洋网络有限公司 Method, device and equipment for detecting fault of underwater equipment
CN103166701A (en) * 2013-02-27 2013-06-19 华为技术有限公司 Parameter negotiation method in optical transmission, transmitting device, receiving device and optical module

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040004709A1 (en) * 2002-07-02 2004-01-08 Donald Pitchforth Method and system for performing measurements on an optical network
CN101296034A (en) * 2007-04-26 2008-10-29 华为技术有限公司 Method and apparatus for transmission of monitoring information, passive optical network system
CN101753207A (en) * 2008-12-16 2010-06-23 华为技术有限公司 Fiber link fault recognition method, device and system
CN101995320A (en) * 2009-08-27 2011-03-30 华为海洋网络有限公司 Method, device and equipment for detecting fault of underwater equipment
CN103166701A (en) * 2013-02-27 2013-06-19 华为技术有限公司 Parameter negotiation method in optical transmission, transmitting device, receiving device and optical module

Also Published As

Publication number Publication date
CN105610490B (en) 2019-11-19
CN105610490A (en) 2016-05-25

Similar Documents

Publication Publication Date Title
US11662222B2 (en) Sensor management and reliability
CN107910742B (en) Optical power adjusting method and device for optical module
US20230254377A1 (en) Establishment of operational status of a machine-to-machine device
US11329866B2 (en) Battery management system and communication method thereof
US10182002B1 (en) Signal characteristic information for networks
WO2015188553A1 (en) Link backup and power source backup method, device and system, and storage medium
CN110445683B (en) Server, equipment, method and system for monitoring survival state of server
CN104065526A (en) Server fault alarming method and device thereof
EP3300305B1 (en) Processing device, control method of processing device, and recording medium
US20180220320A1 (en) Reporting of RRC Mismatch Occurrences
KR20140133667A (en) Centralized Control System and Controlling Method for Sun Tracking
US11843957B2 (en) Detection of insufficient RF coverage areas in a wireless network
WO2016070585A1 (en) Optical link fault locating method, device, processing component and storage medium
US20140016944A1 (en) Method, device, and system for saving energy in optical communication
JP6395858B2 (en) Network device discovery method, network device, and network device discovery system
US20130138788A1 (en) Entrusted management method for a plurality of rack systems
CN102891720B (en) Method for automatically regulating optical power
CN102324970B (en) Monitoring device and method for working state of ONU (Optical Network Unit) transmitting end
CN112261627B (en) High-speed transmission method and system for wireless monitoring data of boiler temperature based on Internet of things
EP3280170A1 (en) Diagnosis apparatus and method for failure node and portable terminal
CN110749046B (en) Air conditioner control method and device, air conditioner and computer readable storage medium
KR101282891B1 (en) Optical Line Termination for managing reset database and the method
CN110601914B (en) Method and system for monitoring survival state of server
US20170322521A1 (en) Redundant ethernet-based control apparatus and method
US7558192B1 (en) Method to increase system availability of critical hardware components

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15857784

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15857784

Country of ref document: EP

Kind code of ref document: A1