CN116961740A - Method and device for monitoring alarm and status signals of remote optical module - Google Patents

Method and device for monitoring alarm and status signals of remote optical module Download PDF

Info

Publication number
CN116961740A
CN116961740A CN202210382070.2A CN202210382070A CN116961740A CN 116961740 A CN116961740 A CN 116961740A CN 202210382070 A CN202210382070 A CN 202210382070A CN 116961740 A CN116961740 A CN 116961740A
Authority
CN
China
Prior art keywords
optical module
hardware
remote
signal
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210382070.2A
Other languages
Chinese (zh)
Inventor
高建河
朱全彪
祝成军
赵佳丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Accelink Technologies Co Ltd
Original Assignee
Accelink Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Accelink Technologies Co Ltd filed Critical Accelink Technologies Co Ltd
Priority to CN202210382070.2A priority Critical patent/CN116961740A/en
Publication of CN116961740A publication Critical patent/CN116961740A/en
Pending legal-status Critical Current

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

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

Abstract

The invention relates to a method and a device for monitoring alarm and status signals of a remote optical module. The method mainly comprises the following steps: the MCU of the local side optical module monitors hardware alarm and status signals and sets a hardware mark for switching the working mode of the hardware pin signals of the optical module; when the hardware marking value is A, the working mode of the hardware pin signal of the optical module is switched to a local side mode, and the local side equipment detects the hardware signal of the optical module; when the hardware mark value is B, the working mode of the hardware pin signal of the optical module is switched to a far-end mode, and the local side equipment detects the hardware signal mirrored by the far-end optical module. The invention can reduce the links passed by the state and alarm signal transmission, thereby reducing the processing delay, enhancing the real-time performance and increasing the rapid fault processing and recovery capability of the network.

Description

Method and device for monitoring alarm and status signals of remote optical module
Technical Field
The present invention relates to the field of optical communications technologies, and in particular, to a method and an apparatus for monitoring an alarm and a status signal of a remote optical module.
Background
The 5G forwarding network requires end-to-end management and maintenance to improve reliability and availability of the entire network. The real-time performance required by the 5G business application is very high, and the time delay is very small, so that the higher real-time performance requirement is provided for the alarm processing and recovery of the network.
When the conventional antenna side far-end optical module generates hardware signal alarm, the alarm information of the antenna optical module is packaged in a data packet and is transmitted to local side equipment together with service data, the local side equipment extracts the alarm data packet of the antenna side far-end optical module, and the alarm phenomenon is found to appear on the antenna side after analysis.
In the 5G forwarding, as shown in fig. 1, the conventional method for monitoring the alarm and status signal of the far-end optical module at the antenna side first triggers the far-end main processor to process by the far-end optical module through an electrical signal, the far-end host reports the far-end alarm to the local side equipment main processor through a network management interface through a related network, and the host of the local side equipment processes the alarm information in the network management and then sends an alarm indication to an operation and maintenance personnel. The state and the alarm transmission mode have more links (paths shown by dotted arrows in fig. 1), so that the processing delay is larger, the instantaneity is low, and the rapid fault processing and recovery capability of the network is reduced.
In view of the above, how to overcome the defects existing in the prior art and solve the problem of more links passed by the state and the alarm transmission mode is a difficult problem to be solved in the technical field.
Disclosure of Invention
Aiming at the defects or improvement demands of the prior art, the invention provides a method and a device for monitoring the alarm and state signals of a far-end optical module, which mirror the hardware state signals and alarm signals of the far-end optical module onto the hardware pins of a local-end optical module, so that the local-end equipment can acquire the hardware signal state of the far-end optical module by adopting the original management mode, and greatly reduce the software and hardware changes of the local-end equipment. The deployment of the new remote management function is simpler and more convenient, and the instantaneity is improved.
The embodiment of the invention adopts the following technical scheme:
in a first aspect, the present invention provides a method for monitoring an alarm and a status signal of a far-end optical module at one side of a local optical module, including:
the MCU of the local side optical module monitors hardware alarm and status signals and sets a hardware mark for switching the working mode of the hardware pin signals of the optical module;
when the hardware marking value is A, the working mode of the hardware pin signal of the optical module is switched to a local side mode, and the local side equipment detects the hardware signal of the optical module;
when the hardware mark value is B, the working mode of the hardware pin signal of the optical module is switched to a far-end mode, and the local side equipment detects the hardware signal mirrored by the far-end optical module.
Further, the local side mode specifically includes:
the local side optical module closes the hardware monitoring signal transmission unit and communicates the hardware signal of the local side optical module to the optical module electrical pin so as to upload the hardware signal of the local side optical module to the local side equipment main processor.
Further, the remote mode specifically includes:
the local side optical module starts a hardware monitoring signal transmission unit, analyzes a remote mirror image data packet sent from the remote side optical module and stores the remote mirror image data packet;
the local side optical module disconnects the logic connection between the hardware signal of the local side optical module and the electric pin of the optical module;
the local side optical module communicates the hardware signal of the far-end mirror image to an optical module electric pin so as to upload the hardware signal of the far-end mirror image to a local side equipment main processor.
In a second aspect, the present invention provides a method for monitoring alarm and status signals of a remote optical module, including:
the MCU of the remote optical module monitors hardware alarm and status signals and sets a hardware mark for switching the working mode of the optical module;
when the hardware marking value is A, the working mode of the optical module is switched to a local side mode, and the remote equipment closes the hardware monitoring signal transmission unit;
when the hardware marking value is B, the working mode of the optical module is switched to a far-end mode, and the far-end equipment starts the hardware monitoring signal transmission unit and sends a far-end mirror image data packet to the local side optical module.
Further, the remote mode specifically includes:
the remote optical module starts a hardware monitoring signal transmission unit;
the hardware monitoring signal transmission unit packages the hardware signal of the far-end optical module into a far-end mirror image data packet;
and superposing the far-end mirror image data packet on a laser and sending the far-end mirror image data packet to a local optical module.
Further, the hardware flags are controlled by one or more of registers, bits, and hardware levels.
Further, the hardware signal is represented by one or more of a plurality of bits, a byte, and a plurality of bytes.
Further, a and B of the hardware flag values are different from each other.
Furthermore, the local side optical module packages the hardware signal of the local side optical module into a local side mirror image data packet and sends the local side mirror image data packet to the far-end optical module for receiving.
In a third aspect, the present invention provides a monitoring device for alarming and status signals of a remote optical module, specifically: the system comprises at least one processor and a memory, wherein the at least one processor and the memory are connected through a data bus, and the memory stores instructions executed by the at least one processor, and the instructions are used for completing the monitoring method of the remote light module alarm and state signals in the first aspect and the second aspect after being executed by the processor.
Compared with the prior art, the invention has the beneficial effects that: the acquisition and configuration of the hardware signals of the far-end optical module can be realized by only adding a hardware mark for switching the local-end mode or the far-end mode in the local-end equipment software, the influence on the existing equipment is small, and the deployment is easy. In addition, the hardware mark carries out data transmission through the data channel of the bottom layer, a main processor at the far end does not need to participate, and links through which state and alarm signals are transmitted can be reduced, so that processing delay is reduced, instantaneity is enhanced, and quick fault processing and recovery capacity of a network are improved.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are required to be used in the embodiments of the present invention will be briefly described below. It is evident that the drawings described below are only some embodiments of the present invention and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a schematic diagram of a conventional method for monitoring alarm and status signals of an antenna-side far-end optical module according to the background art of the present invention;
fig. 2 is a flow chart of a method for monitoring alarm and status signals of a far-end optical module at a local side provided in embodiment 1 of the present invention;
fig. 3 is a schematic workflow diagram of receiving mirror image data by a local side optical module according to embodiment 1 of the present invention;
fig. 4 is a flow chart of a method for monitoring alarm and status signals of a remote optical module at a remote side according to embodiment 2 of the present invention;
fig. 5 is a schematic workflow diagram of transmitting mirror image data by a far-end optical module according to embodiment 2 of the present invention;
fig. 6 is a schematic diagram illustrating the definition of an electrical interface of an sfp+ optical module according to embodiment 3 of the present invention;
fig. 7 is a schematic diagram of an optical module with a far-end hardware signal mirroring function according to embodiment 3 of the present invention;
fig. 8 is a schematic diagram of a transmission path of hardware signal alarm or status information of a remote antenna side light module according to embodiment 3 of the present invention;
FIG. 9 is a diagram of a complete packet according to embodiment 3 of the present invention;
FIG. 10 is a mirror image transmission schematic diagram of the master/slave mode provided in embodiment 3 of the present invention;
FIG. 11 is a schematic diagram of a peer-to-peer mirror transfer provided in embodiment 3 of the present invention;
fig. 12 is a schematic structural diagram of a monitoring device for remote optical module alarm and status signals according to embodiment 4 of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In addition, the technical features of the embodiments of the present invention described below may be combined with each other as long as they do not collide with each other. The invention will be described in detail below with reference to the drawings and examples.
Example 1:
as shown in fig. 2, embodiment 1 of the present invention provides a method for monitoring alarm and status signals of a remote optical module, which is described from a local optical module side, and includes the following steps:
step 101: the MCU (Microcontroller Unit, micro control unit) of the local side optical module monitors hardware alarm and status signals and sets a hardware flag for switching the hardware pin signal working mode of the optical module. The step sets a Local or remote hardware mark in the optical module, wherein the Local mark can be realized by a register or bit in software, or can be realized by the hardware level of a hardware circuit. In addition, the hardware alarm and status signals, i.e., subsequent hardware signals, are represented using one or more of a plurality of bits, a byte, and a plurality of bytes.
Step 102: when the hardware mark value is A, the working mode of the hardware pin signal of the optical module is switched to the local side mode, and the local side equipment detects the hardware signal of the optical module. The local side mode in the step specifically comprises the following steps: the local side optical module closes the hardware monitoring signal transmission unit and communicates the hardware signal of the local side optical module to the optical module electrical pin so as to upload the hardware signal of the local side optical module to the local side equipment main processor. In general, for example, when a of the hardware flag value is 1, that is, when the hardware flag local=1, the pin hardware signal indicating the optical module is Local itself.
Step 103: when the hardware mark value is B, the working mode of the hardware pin signal of the optical module is switched to a far-end mode, and the local side equipment detects the hardware signal mirrored by the far-end optical module. The remote mode in this step specifically includes: the local side optical module starts a hardware monitoring signal transmission unit, analyzes a remote mirror image data packet sent from the remote side optical module and stores the remote mirror image data packet; the local side optical module disconnects the logic connection between the hardware signal of the local side optical module and the electric pin of the optical module; the local side optical module communicates the hardware signal of the far-end mirror image to an optical module electric pin so as to upload the hardware signal of the far-end mirror image to a local side equipment main processor. In general, for example, when B of the hardware flag value is 0, that is, when the hardware flag local=0, the pin signal indicating the optical module is mirrored from the far end. When the optical module is initialized to be powered on, the Local value can be 1 or 0 by default.
Through the steps, the Local equipment host can obtain the hardware state or the alarm signal of the Local or the remote optical module by reading or rewriting the Local mark. The Local device host can also record and store the Local mark and the hardware signal information together, so that subsequent inquiry or information source distinguishing can be facilitated.
For this embodiment, the workflow of the local side optical module for receiving the mirror image data is shown in fig. 3, and specifically includes the following procedure.
Step 10: and the MCU of the local side optical module is powered on and started.
Step 11: the local side optical module MCU monitors hardware signal state or alarm.
Step 12: and judging whether the hardware flag Local is equal to 1, if so, proceeding to step 13, and if not, proceeding to step 15.
Step 13: and closing the hardware monitoring signal transmission unit of the local side.
Step 14: the hardware signal of the local side is communicated to an optical module electric interface (namely an electric pin of the optical module), and the hardware signal of the local side is uploaded to a main processor of the local side equipment. After the step is completed, the step 11 is returned, and the local side optical module MCU continues to monitor the hardware signal state or alarm.
Step 15: and starting a hardware monitoring signal transmission unit of the local side.
Step 16: analyzing the far-end mirror image data packet separated from the detector, and recovering the original far-end hardware signal level state after judgment, and storing.
Step 17: the local MCU disconnects the hardware signal of the MCU from the logic connection of the electric pin of the optical module.
Step 18: the local side MCU communicates the hardware signal state of the far-end mirror image to the optical module electric pin, and uploads the hardware signal of the far-end mirror image to the local side equipment main processor.
Optionally, the Local side device host processor may modify the Local flag through an optical module management interface (e.g. I2C) according to needs, so that local=1 or local=0 is alternately made, so as to achieve both the hardware and the mirror data of the Local side device host processor.
In summary, in the embodiment of the present invention, only one hardware flag for switching the local mode or the remote mode needs to be newly added to the software of the local device, so that the acquisition and the configuration of the hardware signal of the remote optical module can be realized, the influence on the existing device is small, and the deployment is easy.
Example 2:
as shown in fig. 4, embodiment 1 of the present invention provides a method for monitoring alarm and status signals of a remote optical module, wherein the method is described from a side of the remote optical module, and comprises the following steps:
step 201: the MCU of the remote optical module monitors hardware alarms and status signals and sets a hardware flag for switching the working mode of the optical module. The step sets a Local or remote hardware mark in the optical module, wherein the Local mark can be realized by a register or bit in software, or can be realized by the hardware level of a hardware circuit.
Step 202: when the hardware marking value is A, the working mode of the optical module is switched to a local side mode, and the remote equipment closes the hardware monitoring signal transmission unit. In general, for example, when a of the hardware flag value is 1, that is, when the hardware flag local=1, the pin hardware signal of the Local optical module indicates that the Local optical module is the Local itself, and the Local optical module does not need the remote device to mirror the past hardware signal, so the remote device turns off the hardware monitoring signal transmission unit and does not perform the mirror transmission of the hardware signal.
Step 203: when the hardware marking value is B, the working mode of the optical module is switched to a far-end mode, and the far-end equipment starts the hardware monitoring signal transmission unit and sends a far-end mirror image data packet to the local side optical module. The remote mode in this step specifically includes: the remote optical module starts a hardware monitoring signal transmission unit; the hardware monitoring signal transmission unit packages the hardware signal of the far-end optical module into a far-end mirror image data packet; and superposing the far-end mirror image data packet on a laser and sending the far-end mirror image data packet to a local optical module. In general, for example, when B of the hardware flag value is 0, that is, when the hardware flag local=0, the pin signal of the Local optical module is mirrored from the far end, and the Local optical module needs the far end device to mirror the past hardware signal, so the far end device starts the hardware monitoring signal transmission unit to perform the mirror transmission of the hardware signal.
Through the steps, the remote equipment host can determine whether to transmit the hardware state or the alarm signal mirror image of the remote equipment host to the Local optical module by reading the Local mark. The remote equipment host can also record and store the Local mark and the hardware signal information together, so that the subsequent inquiry or the distinguishing of the information sources is facilitated.
For the present embodiment, the workflow of transmitting mirror data by the remote optical module is shown in fig. 5, and specifically includes the following procedure.
Step 20: the MCU of the far-end light module (also referred to as an antenna-side light module, the antenna side in this embodiment is the far end) is powered on.
Step 21: the remote light module MCU monitors hardware signal status or alarms, and the step can synchronize information to the remote equipment main processor.
Step 22: it is determined whether the hardware flag Local is equal to 1, if yes, step 23 is entered, and if no, step 24 is entered. The hardware mark in the step carries out data transmission through the data channel at the bottom layer so as to ensure the consistency of the hardware marks at the local end and the far end.
Step 23: the remote hardware monitoring signal transmitting unit is closed. After this step, the process returns to step 21, and the remote light module MCU continues to monitor the hardware signal status or alarm.
Step 24: the remote hardware monitoring signal transmitting unit is started.
Step 25: and the remote hardware monitoring information transmission unit performs data encapsulation and transmits a data packet to the local side optical module according to a certain transmission rule.
Step 26: and superposing the monitoring information data on the laser and sending the monitoring information data to the local side optical module.
In summary, the hardware tag in the embodiment of the present invention performs data transmission through the data channel at the bottom layer, and the host processor at the far end does not need to participate in the transmission of the hardware signal, so that links through which the state and the alarm signal are transmitted can be reduced, thereby reducing processing delay, enhancing instantaneity, and increasing rapid fault processing and recovery capability of the network.
Example 3:
based on the methods provided in embodiment 1 and embodiment 2, this embodiment 3 further describes the interaction procedure of the present invention by a specific implementation example.
Firstly, for the existing optical module, different packaging forms and electrical interface definitions are adopted, but a plurality of hardware signals are specified on the electrical interface to inform the working state of the optical module to a main processor CPU of the device, the hardware signals are required to respond quickly and have higher real-time performance, the response of the main processor is triggered through the hardware signals, and the main processing is prompted to further analyze specific alarm sources and state information values inside the optical module through a management interface (such as I2C) of the optical module. For example, in an optical module of sfp+ (Small Form-factor Pluggables), the definition of the electrical interface is shown in fig. 6. The two most critical pin status alarm signals tx_fault indicate that the laser has serious faults, and rx_los indicates that the receiving end has no optical signal. The other status signals RS0, RS1 represent the operating rate status. Tx_disable is used to turn the laser on/off and Mod_ABS indicates that the optical module has been inserted into the device. Both these status and alarm signals can be mirrored onto the local optical module as desired using the methods of embodiments 1, 2 of the present invention.
Compared with the conventional optical module, embodiment 3 of the present invention provides an optical module with a remote hardware signal mirroring function, as shown in fig. 7, in which a Local/remote mirroring flag Local (i.e. hardware flag), a hardware monitoring information transmitting unit, and a related flow of transmitting data packets are mainly configured in the conventional optical module. According to the embodiment, the remote or local mirror image mark is adopted, data transmission is carried out through the data channel of the bottom layer, a main processor of the remote does not need to participate, and the state of a hardware signal of an electrical interface of the remote optical module is mirrored on an electrical interface hardware signal of the local optical module, so that the local equipment can easily acquire the working condition of the remote optical module.
Based on the optical module with the far-end hardware signal mirroring function shown in fig. 7, in the optical module of this embodiment, the Local side/far-end mirror mark Local is used to switch the working mode of the hardware pin signal of the optical module, when local=1, it indicates that the hardware pin hardware signal of the current optical module is the Local side itself, and the Local side device detects the hardware signal of the optical module itself. When local=0, it indicates that the hardware pin signal of the current optical module is mirrored from the far-end, and the Local side device detects the hardware signal mirrored from the far-end antenna side optical module. Local/remote mirror flag Local may be controlled by a register or bit, or by hardware level (e.g., high level is Local and low level is remote mirror).
The MCU in the optical module is responsible for monitoring all hardware state signals, and can convert the monitored signal states into data frames or data packets according to a certain rule (for example, periodically or based on each condition triggering type), and the data frames or data packets are overlapped on the laser through an optional external matching circuit and sent out. Meanwhile, the monitoring information data packet separated from the detector is processed by the matching circuit and is sent to the hardware monitoring information transmission unit for analysis and conversion into the original hardware signal level.
After the local side and the far-end antenna side adopt the optical module with the hardware mirror function, the transmission paths of the hardware signal alarms or state information of the far-end antenna side optical module are shown by the dotted arrow in fig. 8, the states of the hardware signal alarms and the like of the far-end antenna side optical module do not need participation of the main processor of the antenna side, and the states can be reported to the main processor of the local side only through the MCU in the optical module, so that the modification of software and hardware of the far-end antenna side equipment is greatly reduced, the maintainability threshold of the far-end antenna side equipment is reduced, the equipment stability is improved, and the rapid deployment and application of the functions are easy. Meanwhile, because the alarm transmission path is obviously shortened, the real-time performance of the 5G forwarding network on fault monitoring and recovery is improved.
In the hardware monitoring information transmitting unit of the preferred embodiment, the hardware signals may be encapsulated into data packets in a certain manner. For example, a hardware signal may be represented by a few bits or a byte, which are then added to the header and trailer identifiers to form a completed packet for transmission.
Mode one: each hardware pin signal is represented by several bits. For example, each hardware signal is represented by 4 bits, so that 8 bits of the two signals can form a byte, and a plurality of bytes can form a data packet for uninterrupted transmission. As shown in fig. 9, a complete packet is shown. In this manner, the state of representing a hardware signal by a plurality of bits may have a certain error correction capability, and if tx_fault is represented by 6 bits, a decision rule may be preset: if there are more than 4 bits with the same value, the 4 bit value is used to determine the state of Tx_Fault. For example, when the optical module is operating, tx_fault=1 indicates that the laser is malfunctioning, and tx_fault=0 indicates that the laser is operating properly. Assuming that tx_fault=1 is denoted by 111111, when an error occurs during transmission, the receiving end becomes 101110 because 4 bits are received to be equal to 1, and the received tx_fault=1 is finally determined according to a decision rule. Thus, the receiving end can tolerate 2 bit errors without misjudgment.
Mode two: each hardware pin signal is represented by 1 or more bytes. The use of multiple bytes to represent a hardware signal may have a stronger error correction capability, and the decision concept and manner during reception are similar and will not be described again.
In order to improve the instantaneity of the hardware signal mirror image, corresponding data packets can be formed periodically and sent uninterruptedly, or the MCU can be triggered to form the data packets to be sent out in time by finding that a certain hardware signal changes. The length and the sending frequency of the data packet can be set in software, so that the requirement of network fault monitoring instantaneity is met. In addition, in order to adapt to different application scenes, part of hardware signals of the optical module electrical interface can be selectively mirrored, and the rest of hardware signals are not mirrored.
It should be noted that, in the above example of the embodiment, the remote antenna side optical module only transmits the image data, and does not receive the image data. The local side optical module does not send mirror image data and only receives the mirror image data. As shown in fig. 10, this is a transmission method of a master/slave mode, in which a local optical module is used as a master device, a remote antenna side optical module is used as a slave device, and only a path for transmitting mirror image data of the slave device to the master device is provided. In another implementation manner of this embodiment, in order to adapt to other usage scenarios, both the local optical module and the remote antenna side optical module may transmit the mirror image data and receive the mirror image data at the same time, so as to form a bidirectional peer-to-peer transmission manner. As shown in fig. 11, in the peer-to-peer transmission method, the software of the local optical module and the remote antenna side optical module needs to have the processing functions of the processes in embodiments 1 and 2 at the same time, that is, the hardware monitoring information transmission unit of the local optical module may send the image data to the hardware monitoring information transmission unit of the remote antenna side optical module, and may also receive the image data sent by the hardware monitoring information transmission unit of the remote antenna side optical module; likewise, the hardware monitoring information transmitting unit of the remote antenna side light module can not only transmit the mirror image data to the hardware monitoring information transmitting unit of the local side light module, but also receive the mirror image data transmitted by the hardware monitoring information transmitting unit of the local side light module.
In summary, in the embodiment of the present invention, only one hardware flag for switching the local mode or the remote mode needs to be newly added to the software of the local device, so that the acquisition and the configuration of the hardware signal of the remote optical module can be realized, the influence on the existing device is small, and the deployment is easy. In addition, the hardware mark carries out data transmission through the data channel of the bottom layer, a main processor at the far end does not need to participate, and links through which state and alarm signals are transmitted can be reduced, so that processing delay is reduced, instantaneity is enhanced, and quick fault processing and recovery capacity of a network are improved.
Example 4:
on the basis of the remote optical module alarm and status signal monitoring methods provided in the foregoing embodiments 1 and 2, the present invention further provides a remote optical module alarm and status signal monitoring device that may be used to implement the foregoing methods, as shown in fig. 12, which is a schematic device architecture diagram of an embodiment of the present invention. The monitoring device for remote optical module alarms and status signals of this embodiment includes one or more processors 21 and a memory 22. In fig. 12, a processor 21 is taken as an example.
The processor 21 and the memory 22 may be connected by a bus or otherwise, which is illustrated in fig. 12 as a bus connection.
The memory 22 is used as a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computer executable programs, and modules, such as the remote optical module alarm and status signal monitoring methods of embodiments 1 and 2. The processor 21 executes various functional applications and data processing of the monitoring apparatus for remote optical module alarm and status signals by running nonvolatile software programs, instructions and modules stored in the memory 22, i.e., implements the monitoring method for remote optical module alarm and status signals of embodiments 1, 2.
The memory 22 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 22 may optionally include memory located remotely from processor 21, which may be connected to processor 21 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The program instructions/modules are stored in the memory 22 and when executed by the one or more processors 21 perform the method of monitoring the remote optical module alarms and status signals of embodiments 1, 2 described above, for example, performing the various steps shown in fig. 2-5 described above.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the embodiments may be implemented by a program that instructs associated hardware, the program may be stored on a computer readable storage medium, the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic disk or optical disk.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention. What is not described in detail in this specification is prior art known to those skilled in the art.

Claims (10)

1. A method for monitoring alarm and status signals of a remote optical module, comprising:
the MCU of the local side optical module monitors hardware alarm and status signals and sets a hardware mark for switching the working mode of the hardware pin signals of the optical module;
when the hardware marking value is A, the working mode of the hardware pin signal of the optical module is switched to a local side mode, and the local side equipment detects the hardware signal of the optical module;
when the hardware mark value is B, the working mode of the hardware pin signal of the optical module is switched to a far-end mode, and the local side equipment detects the hardware signal mirrored by the far-end optical module.
2. The method for monitoring the alarm and status signals of the remote optical module according to claim 1, wherein the local mode specifically comprises:
the local side optical module closes the hardware monitoring signal transmission unit and communicates the hardware signal of the local side optical module to the optical module electrical pin so as to upload the hardware signal of the local side optical module to the local side equipment main processor.
3. The method for monitoring alarm and status signals of a remote optical module according to claim 1, wherein the remote mode specifically comprises:
the local side optical module starts a hardware monitoring signal transmission unit, analyzes a remote mirror image data packet sent from the remote side optical module and stores the remote mirror image data packet;
the local side optical module disconnects the logic connection between the hardware signal of the local side optical module and the electric pin of the optical module;
the local side optical module communicates the hardware signal of the far-end mirror image to an optical module electric pin so as to upload the hardware signal of the far-end mirror image to a local side equipment main processor.
4. A method for monitoring alarm and status signals of a remote optical module, comprising:
the MCU of the remote optical module monitors hardware alarm and status signals and sets a hardware mark for switching the working mode of the optical module;
when the hardware marking value is A, the working mode of the optical module is switched to a local side mode, and the remote equipment closes the hardware monitoring signal transmission unit;
when the hardware marking value is B, the working mode of the optical module is switched to a far-end mode, and the far-end equipment starts the hardware monitoring signal transmission unit and sends a far-end mirror image data packet to the local side optical module.
5. The method for monitoring the alarm and status signals of the remote optical module according to claim 4, wherein the remote mode specifically comprises:
the remote optical module starts a hardware monitoring signal transmission unit;
the hardware monitoring signal transmission unit packages the hardware signal of the far-end optical module into a far-end mirror image data packet;
and superposing the far-end mirror image data packet on a laser and sending the far-end mirror image data packet to a local optical module.
6. The method of any one of claims 1-5, wherein the hardware flags are controlled by one or more of registers, bits, and hardware levels.
7. The method of any one of claims 1-5, wherein the hardware signal is represented by one or more of a plurality of bits, a byte, and a plurality of bytes.
8. The method for monitoring alarm and status signals of a remote optical module according to any one of claims 1 to 5, wherein a and B of the hardware flag values are different from each other.
9. The method for monitoring alarm and status signals of a remote optical module according to any one of claims 1 to 5, wherein the local optical module further encapsulates its own hardware signal into a local mirror data packet and sends the local mirror data packet to the remote optical module for receiving.
10. A monitoring device for remote optical module alarming and status signals is characterized in that:
comprising at least one processor and a memory connected by a data bus, said memory storing instructions for execution by said at least one processor, said instructions, when executed by said processor, for performing the method of monitoring the alarm and status signals of the remote optical module of any one of claims 1-9.
CN202210382070.2A 2022-04-13 2022-04-13 Method and device for monitoring alarm and status signals of remote optical module Pending CN116961740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210382070.2A CN116961740A (en) 2022-04-13 2022-04-13 Method and device for monitoring alarm and status signals of remote optical module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210382070.2A CN116961740A (en) 2022-04-13 2022-04-13 Method and device for monitoring alarm and status signals of remote optical module

Publications (1)

Publication Number Publication Date
CN116961740A true CN116961740A (en) 2023-10-27

Family

ID=88451566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210382070.2A Pending CN116961740A (en) 2022-04-13 2022-04-13 Method and device for monitoring alarm and status signals of remote optical module

Country Status (1)

Country Link
CN (1) CN116961740A (en)

Similar Documents

Publication Publication Date Title
US11228515B2 (en) Data packet detection method, device, and system
US10637287B2 (en) Apparatus and method for ensuring reliability of trip protection of intelligent substation
US10708132B2 (en) Technique for handling a status change in an interconnect node
KR101386502B1 (en) Neighbor discovery for ethernet private line on user network interfaces
JP6603816B2 (en) Method and apparatus for transmitting frame data between near-end device and far-end device
CN115987754B (en) Network communication method and device
US20160080842A1 (en) Data transmission method, apparatus, and system
US20120177360A1 (en) Transmission apparatus and reporting method for reporting fault
CN112492410B (en) OAM information transmission method, device, equipment and medium for mobile forwarding
US11792099B2 (en) Troubleshooting method, device, and readable storage medium
US9455867B2 (en) Automatic configuration of a repeater
CN110572228A (en) Synchronous information transmission method, device, related equipment and storage medium
EP3767882B1 (en) Network traffic monitoring device
CN116961740A (en) Method and device for monitoring alarm and status signals of remote optical module
US20230208756A1 (en) Operation, Administration, and Maintenance OAM Packet Processing Method and Device
CN102098198B (en) Ethernet protection method and device
CN110557268B (en) Method and device for controlling transmission of Ethernet frame
CN108599984B (en) Method for sharing port state, access equipment and system for supporting dual-homing protection
US10523235B2 (en) Transmission checking method, node, system and computer storage medium
US7602727B2 (en) Method and apparatus for resolving deadlock of auto-negotiation sequence between switches
CN107800558B (en) Fault determination method, information sending method, device, source end equipment and sink end equipment
CN113572629B (en) Message transmission method, terminal and storage medium
CN114301852A (en) Message transmission control, generation and transmission method, configuration method, equipment and medium
CN115277299B (en) Synchronous loop communication system suitable for cascading converter topology
US20230344752A1 (en) Method and apparatus for collecting bit error information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information

Address after: No. 1, Liusu South Road, Donghu New Technology Development Zone, Wuhan, Hubei 430074

Applicant after: ACCELINK TECHNOLOGIES Co.,Ltd.

Address before: 430074, No. 88, postal academy road, Hongshan District, Hubei, Wuhan

Applicant before: ACCELINK TECHNOLOGIES Co.,Ltd.

CB02 Change of applicant information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination