WO2015117384A1 - Method and device for reporting received loss of signal alarm (rxlos) - Google Patents

Method and device for reporting received loss of signal alarm (rxlos) Download PDF

Info

Publication number
WO2015117384A1
WO2015117384A1 PCT/CN2014/089076 CN2014089076W WO2015117384A1 WO 2015117384 A1 WO2015117384 A1 WO 2015117384A1 CN 2014089076 W CN2014089076 W CN 2014089076W WO 2015117384 A1 WO2015117384 A1 WO 2015117384A1
Authority
WO
WIPO (PCT)
Prior art keywords
rxlos
state
qsfp
optical module
value
Prior art date
Application number
PCT/CN2014/089076
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 WO2015117384A1 publication Critical patent/WO2015117384A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for reporting a received signal loss alarm RXLOS.
  • RXLOS Receiveive Loss of Signal Alarm
  • an RXLOS pin is designed in the interface, and the RXLOS state is monitored in the hardware circuit design to obtain information on whether the received signal is lost.
  • the RXLOS interrupt is quickly reported to the processing system, and then the processing system responds and processes in time. This method of quickly reporting RXLOS state changes in the form of RXLOS interrupts is too One of the important means for the network to achieve fast link switching.
  • the RXLOS pin is not designed in the QSFP (Quad Small Form-factor Pluggable four-channel SFP interface) + optical module structure.
  • the external circuit does not directly obtain the RXLOS status of the QSFP+ optical module.
  • the status register type is read, ie once the RXLOS status is lost, the status register is automatically locked until external The IIC bus reads this register, otherwise RXLOS is always locked to the lost state, which causes the RXLOS status register to respond only to the first received signal from loss to loss of the change process, after which the RXLOS state will be locked in the lost state, the received signal Subsequent lost state changes will no longer respond and will not produce a normal RXLOS interrupt.
  • the system can quickly respond to and process the RXLOS interrupt of the QSFP+ optical module.
  • the above two major shortcomings of the QSFP+ optical module can prevent the RXLOS interrupt from being reported quickly. This is not conducive to the fast link between the QSFP+ optical module and the Ethernet.
  • the switching function will limit the application of QSFP+ optical modules in Ethernet.
  • the present invention provides a method and a device for reporting a received signal loss alarm RXLOS, so as to at least solve the problem that the system cannot report the RXLOS state of the QSFP+ optical module normally in the Ethernet operation.
  • a method for reporting a received signal loss alarm RXLOS comprising: detecting a level value of an INTL pin external to a QSFP+ optical module, wherein the INTL pin is configured to respond The state of receiving the signal loss alarm RXLOS; determining the state of the RXLOS according to the level value; reporting the state of the RXLOS.
  • the state of the RXLOS is a lost state
  • the state of the RXLOS stored in an internal register of the QSFP+optical module is read.
  • the method before detecting the level value of the INTL pin outside the QSFP+ optical module, the method further includes: configuring a parameter corresponding to the INTL pin in the internal register, so that the INTL pin responds to the state of the RXLOS.
  • the method before detecting the level value of the INTL pin outside the QSFP+ optical module, the method further includes: periodically detecting a value of the preset enable register, where the value of the enable register is used to indicate the detecting device or system Occupying the IIC bus; when the value of the enable register indicates that the detecting device occupies the IIC bus, the detecting device occupies the IIC bus and detects the level value of the INTL pin.
  • the method further includes: occupying, by the system, the IIC bus when a value of the enable register indicates that the system occupies the IIC bus.
  • an apparatus for reporting a received signal loss alarm RXLOS comprising: a first detecting module configured to detect a level value of an INTL pin external to the QSFP+ optical module, wherein The INTL pin is configured to respond to the state of the received signal loss alarm RXLOS; the determining module is configured to determine the state of the RXLOS according to the level value; and the reporting module is configured to report the state of the RXLOS.
  • the method further includes: a read clearing module, configured to read the state of the RXLOS stored in an internal register of the QSFP+ optical module when the state of the RXLOS is a lost state.
  • a read clearing module configured to read the state of the RXLOS stored in an internal register of the QSFP+ optical module when the state of the RXLOS is a lost state.
  • the method further includes: configuring a module, configured to configure a parameter corresponding to the INTL pin in the internal register, so that the INTL pin responds to the state of the RXLOS.
  • the device further includes: a second detecting module, configured to periodically detect a value of the preset enable register, wherein the value of the enable register is used to indicate that the second detecting module or system occupies IIC bus;
  • the first detecting module is configured to: when the value of the enable register indicates that the second detecting module occupies the IIC bus, the second detecting module occupies the IIC bus, and detects the INTL pin Level value.
  • the method further includes an occupancy module configured to occupy the IIC bus by the system when the value of the enable register indicates that the system occupies the IIC bus.
  • an apparatus for reporting a received signal loss alarm RXLOS comprising: a first register configured to store parameters of an INTL pin external to the QSFP+ optical module, wherein the parameter Configuring to cause the INTL pin to respond to a state of the received signal loss alarm RXLOS; the first processor, coupled to the INTL pin, configured to detect a level value of the INTL pin, according to the level The value determines the state of the RXLOS and reports the status of the RXLOS.
  • the first processor is further configured to read the state of the RXLOS stored in an internal register of the QSFP+ optical module when the state of the RXLOS is a lost state.
  • the apparatus further includes: a second processor configured to periodically detect a value of the preset enable register before detecting the level value, wherein the value of the enable register is used to indicate The second processor or system occupies an IIC bus; when the value of the enable register indicates that the second processor occupies the IIC bus, the second processing device occupies the IIC bus, and detects the INTL a level value of the pin; the first processor is configured to occupy an IIC bus to the INTL pin when the value of the enable register indicates that the level value of the INTL pin is detected The level value is detected.
  • a level value of an INTL pin external to the QSFP+ optical module is detected, wherein the INTL pin is configured to lose a state of the alarm RXLOS in response to the received signal; determining the RXLOS according to the level value Status; reports the status of the RXLOS.
  • the system in the Ethernet operation, the system cannot report the RXLOS state of the QSFP+ optical module normally, and the effect of rapidly changing the state of the RXLOS of the QSFP+ optical module is achieved.
  • FIG. 1 is a flowchart of a method for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of an apparatus for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention
  • FIG. 3 is a block diagram 1 showing a preferred structure of an apparatus for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention
  • FIG. 4 is a block diagram 2 of a preferred structure of an apparatus for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention
  • FIG. 5 is a block diagram 3 of a preferred structure of an apparatus for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention
  • FIG. 6 is a structural block diagram of an apparatus for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention
  • FIG. 7 is a block diagram 1 showing a preferred structure of a device for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention
  • FIG. 8 is a schematic flowchart of configuring an internal register of a QSFP+ optical module according to a preferred embodiment of the present invention.
  • FIG. 9 is a schematic flow chart of logic device detecting a RXLOS state of a QSFP+ optical module and reading a RXLOS state register according to a preferred embodiment of the present invention
  • FIG. 10 is a schematic flowchart of a system operation of an internal register of a QSFP+ optical module according to a preferred embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 detecting a level value of an INTL pin external to the QSFP+ optical module, wherein the INTL pin is configured to lose a state of the alarm RXLOS in response to the received signal;
  • Step S104 determining a state of the RXLOS according to the level value
  • step S106 the status of the RXLOS is reported.
  • the state of the RXLOS when the state of the RXLOS is in a lost state, the state of the RXLOS stored in the internal register of the QSFP+ optical module is read.
  • the method further includes: configuring a parameter corresponding to the INTL pin in the internal register, so that the INTL pin responds to the state of the RXLOS.
  • a parameter corresponding to the INTL pin in the internal register There are various parameters for configuring the INTL pin.
  • Write 0xff; 3) Write all the registers with addresses 242 to 253 in page 3 of the QSFP+ optical module to 0xff.
  • the corresponding alarms in the QSFP+ optical module are disabled except for the RXLOS status alarm.
  • the remaining alarms are all blocked. That is, the INL pin of the QSFP+ optical module only responds to the RXLOS status.
  • the INTL pin is used. The output will be low, and the INTL pin will output a normal high level when the RXLOS state is not lost.
  • the external circuit only needs to monitor the state of the INTL pin to get a loss of RXLOS.
  • the method further includes: periodically detecting a value of the preset enable register, where the value of the enable register is used to indicate that the detecting device or the system occupies the IIC bus;
  • the detecting device occupies the IIC bus and periodically detects the level value of the INTL pin; when the value of the enable register indicates that the system occupies the IIC bus, the system occupies the IIC bus.
  • the enable register CHECK_EN is used by the logic device to detect the RXLOS state process and the system operates the QSFP+ optical module process time module IIC bus chip select signal.
  • the logic device detects the RXLOS state process and occupies the light.
  • the module IIC bus on the other hand, when CHECK_EN is 0, the system occupies the optical module IIC bus to operate the QSFP+ optical module.
  • an RXLOS device for reporting a received signal loss alarm is also provided.
  • the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module" can implement software for a predetermined function.
  • the device includes: a first detecting module 22 configured to detect a level of an INTL pin external to the QSFP+ optical module. a value, wherein the INTL pin is configured to be responsive to the status of the received signal loss alarm RXLOS; the determining module 24 is configured to determine the state of the RXLOS based on the level value; the reporting module 26 is configured to report the status of the RXLOS.
  • the device includes a read clear module 32, which is configured to include, in addition to all the modules shown in FIG. When the state of RXLOS is lost, the state of RXLOS stored in the internal register of the QSFP+ optical module is read.
  • FIG. 4 is a block diagram 2 of a preferred structure for reporting a received signal loss alarm RXLOS device according to an embodiment of the present invention.
  • the device includes, in addition to all the modules shown in FIG. 2, a configuration module 42 configured to Configure the parameters corresponding to the INTL pin in the internal register so that the INTL pin responds to the state of RXLOS.
  • the device includes: a second detection module 52, in addition to all the modules shown in FIG. Set to periodically detect the value of the preset enable register, wherein the value of the enable register is used to indicate that the second detection module or system occupies the IIC bus;
  • the first detecting module 22 is configured to detect that the second detecting module 52 occupies the IIC bus when the value of the enabling register indicates that the second detecting module 52 occupies the IIC bus, and detects the level value of the INTL pin.
  • the occupancy module 54 is configured to occupy the IIC bus by the system when the value of the enable register indicates that the system is occupying the IIC bus.
  • FIG. 6 is a structural block diagram of a RXLOS device for reporting a received signal loss alarm according to an embodiment of the present invention.
  • the device includes: a first register 62, Set to store parameters of the INTL pin 64 external to the QSFP+ optical module, wherein the parameters are configured to cause the INTL pin 64 to respond to the state of the received signal loss alarm RXLOS;
  • the first processor 66 is connected to the INTL pin and configured to detect the level value of the INTL pin, determine the state of the RXLOS according to the level value, and report the state of the RXLOS.
  • the first processor 66 is further configured to read the state of the RXLOS stored in the internal register of the QSFP+ optical module when the state of the RXLOS is a lost state.
  • FIG. 7 is a block diagram showing a preferred structure of a device for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention.
  • the device further includes: a second processor 72 configured to periodically before detecting a level value. Detecting a value of a preset enable register, wherein the value of the enable register is used to indicate that the second processor or system occupies the IIC bus;
  • the second processor 72 occupies the IIC bus and detects the level value of the INTL pin.
  • the purpose of the preferred embodiment of the present invention is to provide a method for implementing normal fast reporting of the RXLOS interrupt of the QSFP+ optical module.
  • the method is simple, flexible, and easy to implement, and does not affect the normal high-speed operation of the entire system.
  • a preferred embodiment of the present invention discloses a method for implementing a normal fast reporting of a QSFP+ optical module RXLOS interrupt.
  • the technical solutions adopted by the present invention include:
  • Step S202 Configure the QSFP+ optical module internal register through the IIC bus, and configure the external INTL pin of the QSFP+ optical module to respond only to the RXLOS status register.
  • Step S204 The logic device automatically detects the RXLOS state of the QSFP+ optical module through the IIC bus. When the RXLOS state is lost, the logic device automatically reads the RXLOS status register until the RXLOS state is not lost.
  • Step S206 Add a logic device to detect the RXLOS state enable register CHECK_EN to avoid the IIC bus conflict between the system suddenly operating the optical module internal register and the logic detection.
  • the step S202 mainly includes:
  • step S204 the logic device detects that the RXLOS state is indirectly determined according to the level of the INTL pin.
  • the RXLOS state can be obtained indirectly by detecting the INTL pin level state.
  • the enable register CHECK_EN is a logic device detecting RXLOS state process and a system operation QSFP+ optical module process time optical module IIC bus chip select signal.
  • CHECK_EN the logic device detects the RXLOS state process and occupies the optical module IIC bus.
  • CHECK_EN is 0, the system occupies the optical module IIC bus to operate the QSFP+ optical module.
  • CHECK_EN is set to 1 by default, that is, the logic detection process occupies the QSFP+ optical module IIC bus, automatically detects the RXLOS state, and then reads the RXLOS status register operation; when the system needs to use the IIC bus to operate the QSFP+ optical module internal registers, the system first needs to The enable register CHECK_EN is set to 0, and the logic device automatic detection function is turned off. At this time, the logic device stops automatically detecting, releasing the IIC bus to the system, and then the system starts to operate the QSFP+ optical module internal register, after the system completes the QSFP+ optical module internal register operation. The system then sets the enable register CHECK_EN to 1, releasing the IIC bus to the detection logic, and the logic device resumes automatically detecting the RXLOS state.
  • the basic idea of the present invention is to configure the QSFP+ optical module internal register to indirectly characterize the RXLOS state through the state of the INTL pin; then use logic to automatically detect and read the lock to the lost RXLOS state, so that the RXLOS state change can be fast. It is perceived, and the interrupt is reported to the system for timely response and processing.
  • QSFP+ optical module internal register and logic automatically detect and read the IIC bus conflict between QSFP+ internal RXLOS state, add an enable register CHECK_EN.
  • FIG. 8 is a schematic diagram of a process of configuring an internal register of a QSFP+ optical module according to a preferred embodiment of the present invention, as shown in FIG.
  • the detailed configuration process is:
  • Step S302 De-reset the QSFP+ optical module
  • the RESET pin is pulled high. Normally, the optical module is reset to the default state when it is powered on.
  • Step S304 Pull the QSFP+ optical module MODSEL pin low
  • this step is for the QSFP+ optical module to respond to the IIC bus;
  • Step S306 delay 2s
  • the QSFP+ optical module needs to complete the de-reset process for a maximum of 2s, and the delay is 2s, so that the optical module fully completes the reset.
  • Step S308 CHECK_EN is set to 0, the logic automatic detection function is turned off, and the system occupies the IIC bus for operation;
  • Step S310 Write 0xf0 to the register with address 100 in the internal page0 of the QSFP+ optical module;
  • Step S312 Write all the registers with addresses 101 to 106 in the internal page 0 of the QSFP+ optical module to 0xff;
  • Step S314 Write all the registers with addresses 242 to 253 in the internal page 3 of the QSFP+ optical module to 0xff;
  • Step S316 CHECK_EN is set to 0, and the logic automatic detection function is turned on.
  • the above steps S310, S312, and S314 are the most critical, and the corresponding alarms in the QSFP+ optical module are turned on except the RXLOS state alarm, and the remaining alarms are all shielded, that is, the INTL pins of the QSFP+ optical module are implemented after the three steps are implemented. Only respond to the RXLOS state. When the RXLOS state is a loss alarm, the INTL pin will output a low level. When the RXLOS state is not lost, the INTL pin will output a normal high level. The external circuit only needs to monitor the state of the INTL pin to get a loss of RXLOS.
  • FIG. 9 is a flow chart showing the logic device detecting the RXLOS state of the QSFP+ optical module and reading the RXLOS status register according to a preferred embodiment of the present invention, as shown in FIG. 2.
  • Step S402 The logic internally scans the value of the CHECK_EN register at a high speed frequency. When it is detected that the value of the CHECK_EN register is 1, the process proceeds to step S404, otherwise, the process proceeds to step S402, and the value of the CHECK_EN register is repeatedly scanned.
  • Step S404 detecting whether the RXLOS state is a loss; that is, whether the state of the INTL pin is a low level;
  • step S406 When the RXLOS state is lost, that is, the INTL pin is low, the process proceeds to step S406. Otherwise, the RXLOS state is not locked and lost, and the RXLOS status register does not need to be read. At this time, the process returns to step S402, and the CHECK_EN is rescanned. The value of the register;
  • Step S406 The logic internally starts to initiate the command to automatically read the RXLOS status register (0x3 address in page0) inside the QSFP+ optical module through the IIC bus, and after the operation is completed, return to step S402 again;
  • FIG. 10 is a schematic flowchart of a system operation of an internal register of a QSFP+ optical module according to a preferred embodiment of the present invention, as shown in FIG.
  • Step S1002 When the system does not need to operate the QSFP+ optical module internal register, the detection enable register CHECK_EN defaults to 1, that is, the logic detection occupies the IIC bus by default;
  • Step S1004 When the system needs to operate the QSFP+ optical module internal register, the system first sets CHECK_EN to 0, and the logic detects and releases the QSFP+ optical module IIC bus to the system operation;
  • Step S1006 After the system operation is completed, the system sets CHECK_EN to 1, and returns the QSFP+ optical module IIC bus to the logical detection occupation.
  • the system can control the value of the write enable register CHECK_EN at any time, so the system can operate the internal register of the QSFP+ optical module at any time.
  • the RXLOS state change of the QSFP+ optical module can be quickly captured, and the RXLOS interrupt is normally reported quickly.
  • the invention adopts the logic to detect the RXLOS state and automatically read the RXLOS lock state method, which not only does not affect the normal operation of the system, and the logic detection hardly occupies the system resources, adds an enable register, avoids the IIC bus conflict problem, and the system can operate the QSFP+ at any time.
  • the internal registers of the optical module improve the working efficiency of the system and facilitate the fast switching of the link in the Ethernet application by the QSFP+ optical module.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above embodiments and the preferred embodiments solve the problem that the system cannot report the RXLOS state of the QSFP+ optical module in the Ethernet operation in the prior art, and the effect of quickly capturing the state change of the RXLOS of the QSFP+ optical module is achieved. .

Landscapes

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

Abstract

Provided are a method and device for reporting a received loss of signal alarm (RXLOS). The method of the present invention comprises: detecting a level value of an INTL pin outside of a QSFP+ optical module, wherein the INTL pin is configured to respond to a state of a received loss of signal alarm (RXLOS); according to the level value, determining the state of the RXLOS; and reporting the state of the RXLOS. The present invention solves the problem in the prior art that a system cannot normally and quickly report a state of an RXLOS of a QSFP+ optical module during Ethernet operation, thus achieving the effect of quickly capturing the change of state of the RXLOS of the QSFP+ optical module.

Description

上报接收信号丢失告警RXLOS的方法及装置Method and device for reporting received signal loss alarm RXLOS 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种上报接收信号丢失告警RXLOS的方法及装置。The present invention relates to the field of communications, and in particular, to a method and apparatus for reporting a received signal loss alarm RXLOS.
背景技术Background technique
RXLOS(Receive Loss of Signal Alarm,接收信号丢失告警),RXLOS功能是直接反映接收信号是否正常,当接收信号未丢失时,RXLOS=0,当接收信号丢失时,RXLOS=1。通常在光模块产品中,其接口中都会设计一个RXLOS管脚,在硬件电路设计中通过监控该RXLOS状态来获取接收信号是否丢失的信息。在以太网中,当系统检测到RXLOS状态有变化时,将快速产生RXLOS中断上报给处理系统,然后处理系统及时响应并处理,这种将RXLOS状态变化以RXLOS中断形式快速上报的处理方式是以太网实现链路快速切换的重要手段之一。RXLOS (Receive Loss of Signal Alarm), RXLOS function directly reflects whether the received signal is normal, when the received signal is not lost, RXLOS = 0, when the received signal is lost, RXLOS = 1. Usually in the optical module product, an RXLOS pin is designed in the interface, and the RXLOS state is monitored in the hardware circuit design to obtain information on whether the received signal is lost. In the Ethernet, when the system detects a change in the RXLOS state, the RXLOS interrupt is quickly reported to the processing system, and then the processing system responds and processes in time. This method of quickly reporting RXLOS state changes in the form of RXLOS interrupts is too One of the important means for the network to achieve fast link switching.
随着以太网的飞速发展,40G/100G光接口标准和可插拔光模块标准的完成,40G和100G的光模块逐步进步市场。由于速率快,封装小,功耗低等优点,40G的QSFP+光模块迅速发展起来,其在高速以太网中应用也越来越多。但其存在两大缺点:With the rapid development of Ethernet, 40G/100G optical interface standards and pluggable optical module standards have been completed, and 40G and 100G optical modules have gradually improved the market. Due to its high speed, small package size and low power consumption, the 40G QSFP+ optical module has been rapidly developed and its application in high-speed Ethernet is increasing. But it has two major drawbacks:
1)由于封装的减小,QSFP(Quad Small Form-factor Pluggable四通道SFP接口)+光模块结构中没有设计RXLOS管脚。外部电路并不能直接获取到QSFP+光模块的RXLOS状态1) Due to the reduction of the package, the RXLOS pin is not designed in the QSFP (Quad Small Form-factor Pluggable four-channel SFP interface) + optical module structure. The external circuit does not directly obtain the RXLOS status of the QSFP+ optical module.
2)根据QSFP+光模块遵守的SFF 8436协议,虽然可以通过IIC总线访问其内部RXLOS状态寄存器,但该状态寄存器的类型是读清的,即一旦RXLOS状态为丢失,该状态寄存器自动锁定,直到外部IIC总线读清该寄存器,否则RXLOS一直锁定为丢失状态,这就导致RXLOS状态寄存器只对第一次接收信号从未丢失到丢失这个变化过程响应,之后RXLOS状态将锁定在丢失状态,对接收信号后续的丢失状态变化将不再响应,无法产生正常的RXLOS中断。2) According to the SFF 8436 protocol followed by the QSFP+ optical module, although the internal RXLOS status register can be accessed via the IIC bus, the status register type is read, ie once the RXLOS status is lost, the status register is automatically locked until external The IIC bus reads this register, otherwise RXLOS is always locked to the lost state, which causes the RXLOS status register to respond only to the first received signal from loss to loss of the change process, after which the RXLOS state will be locked in the lost state, the received signal Subsequent lost state changes will no longer respond and will not produce a normal RXLOS interrupt.
在以太网工作中,通常要求系统能快速响应并处理QSFP+光模块RXLOS中断,而QSFP+光模块的以上两大缺点使得RXLOS中断不能正常快速上报,不利于QSFP+光模块在以太网中实现链路快速切换的功能,将会限制QSFP+光模块在以太网中的应用。 In the Ethernet operation, the system can quickly respond to and process the RXLOS interrupt of the QSFP+ optical module. The above two major shortcomings of the QSFP+ optical module can prevent the RXLOS interrupt from being reported quickly. This is not conducive to the fast link between the QSFP+ optical module and the Ethernet. The switching function will limit the application of QSFP+ optical modules in Ethernet.
发明内容Summary of the invention
本发明提供了一种上报接收信号丢失告警RXLOS的方法及装置,以至少解决现有技术在以太网工作中,系统不能正常快速上报QSFP+光模块RXLOS状态的问题。The present invention provides a method and a device for reporting a received signal loss alarm RXLOS, so as to at least solve the problem that the system cannot report the RXLOS state of the QSFP+ optical module normally in the Ethernet operation.
根据本发明的一个方面,提供了一种上报接收信号丢失告警RXLOS的方法,所述方法包括:检测QSFP+光模块外部的INTL管脚的电平值,其中,所述INTL管脚被配置为响应于接收信号丢失告警RXLOS的状态;根据所述电平值确定所述RXLOS的状态;上报所述RXLOS的状态。According to an aspect of the present invention, a method for reporting a received signal loss alarm RXLOS is provided, the method comprising: detecting a level value of an INTL pin external to a QSFP+ optical module, wherein the INTL pin is configured to respond The state of receiving the signal loss alarm RXLOS; determining the state of the RXLOS according to the level value; reporting the state of the RXLOS.
可选地,当所述RXLOS的状态为丢失状态时,读清QSFP+光模块的内部寄存器中存储的所述RXLOS的状态。Optionally, when the state of the RXLOS is a lost state, the state of the RXLOS stored in an internal register of the QSFP+optical module is read.
可选地,检测QSFP+光模块外部的INTL管脚的电平值之前,还包括:配置内部寄存器中所述INTL管脚对应的参数,以使所述INTL管脚响应所述RXLOS的状态。Optionally, before detecting the level value of the INTL pin outside the QSFP+ optical module, the method further includes: configuring a parameter corresponding to the INTL pin in the internal register, so that the INTL pin responds to the state of the RXLOS.
可选地,检测QSFP+光模块外部的INTL管脚的电平值之前,还包括:周期性检测预设的使能寄存器的值,其中,所述使能寄存器的值用于指示检测装置或系统占用IIC总线;在所述使能寄存器的值指示所述检测装置占用所述IIC总线时,所述检测装置占用所述IIC总线,检测所述INTL管脚的电平值。Optionally, before detecting the level value of the INTL pin outside the QSFP+ optical module, the method further includes: periodically detecting a value of the preset enable register, where the value of the enable register is used to indicate the detecting device or system Occupying the IIC bus; when the value of the enable register indicates that the detecting device occupies the IIC bus, the detecting device occupies the IIC bus and detects the level value of the INTL pin.
可选地,还包括:在所述使能寄存器的值指示所述系统占用所述IIC总线时,由所述系统占用所述IIC总线。Optionally, the method further includes: occupying, by the system, the IIC bus when a value of the enable register indicates that the system occupies the IIC bus.
根据本发明的另一个方面,提供了一种上报接收信号丢失告警RXLOS的装置,所述装置包括:第一检测模块,设置为检测QSFP+光模块外部的INTL管脚的电平值,其中,所述INTL管脚被配置为响应于接收信号丢失告警RXLOS的状态;确定模块,设置为根据所述电平值确定所述RXLOS的状态;上报模块,设置为上报所述RXLOS的状态。According to another aspect of the present invention, there is provided an apparatus for reporting a received signal loss alarm RXLOS, the apparatus comprising: a first detecting module configured to detect a level value of an INTL pin external to the QSFP+ optical module, wherein The INTL pin is configured to respond to the state of the received signal loss alarm RXLOS; the determining module is configured to determine the state of the RXLOS according to the level value; and the reporting module is configured to report the state of the RXLOS.
可选地,还包括:读清模块,设置为在所述RXLOS的状态为丢失状态时,读清QSFP+光模块的内部寄存器中存储的所述RXLOS的状态。Optionally, the method further includes: a read clearing module, configured to read the state of the RXLOS stored in an internal register of the QSFP+ optical module when the state of the RXLOS is a lost state.
可选地,还包括,配置模块,设置为配置内部寄存器中所述INTL管脚对应的参数,以使所述INTL管脚响应所述RXLOS的状态。Optionally, the method further includes: configuring a module, configured to configure a parameter corresponding to the INTL pin in the internal register, so that the INTL pin responds to the state of the RXLOS.
可选地,所述装置还包括,第二检测模块,设置为周期性检测预设的使能寄存器的值,其中,所述使能寄存器的值用于指示所述第二检测模块或系统占用IIC总线; 所述第一检测模块,设置为在所述使能寄存器的值指示所述第二检测模块占用所述IIC总线时,所述第二检测模块占用所述IIC总线,检测所述INTL管脚的电平值。Optionally, the device further includes: a second detecting module, configured to periodically detect a value of the preset enable register, wherein the value of the enable register is used to indicate that the second detecting module or system occupies IIC bus; The first detecting module is configured to: when the value of the enable register indicates that the second detecting module occupies the IIC bus, the second detecting module occupies the IIC bus, and detects the INTL pin Level value.
可选地,还包括,占用模块,设置为在所述使能寄存器的值指示系统占用IIC总线时,由所述系统占用所述IIC总线。Optionally, the method further includes an occupancy module configured to occupy the IIC bus by the system when the value of the enable register indicates that the system occupies the IIC bus.
根据本发明的另一方面,还提供了一种上报接收信号丢失告警RXLOS的装置,所述装置包括:第一寄存器,设置为存储QSFP+光模块外部的INTL管脚的参数,其中,所述参数被配置为使所述INTL管脚响应于接收信号丢失告警RXLOS的状态;第一处理器,与所述INTL管脚相连,设置为检测所述INTL管脚的电平值,根据所述电平值确定所述RXLOS的状态,并上报所述RXLOS的状态。According to another aspect of the present invention, there is also provided an apparatus for reporting a received signal loss alarm RXLOS, the apparatus comprising: a first register configured to store parameters of an INTL pin external to the QSFP+ optical module, wherein the parameter Configuring to cause the INTL pin to respond to a state of the received signal loss alarm RXLOS; the first processor, coupled to the INTL pin, configured to detect a level value of the INTL pin, according to the level The value determines the state of the RXLOS and reports the status of the RXLOS.
可选地,所述第一处理器,还设置为在所述RXLOS的状态为丢失状态时,读清QSFP+光模块的内部寄存器中存储的所述RXLOS的状态。Optionally, the first processor is further configured to read the state of the RXLOS stored in an internal register of the QSFP+ optical module when the state of the RXLOS is a lost state.
可选地,所述装置还包括:第二处理器,设置为在检测所述电平值之前,周期性检测预设的使能寄存器的值,其中,所述使能寄存器的值用于指示所述第二处理器或系统占用IIC总线;在所述使能寄存器的值指示所述第二处理器占用所述IIC总线时,所述第二处理装置占用所述IIC总线,检测所述INTL管脚的电平值;所述第一处理器,设置为在所述使能寄存器的值指示对所述INTL管脚的电平值进行检测时,占用IIC总线,对所述INTL管脚的电平值进行检测。Optionally, the apparatus further includes: a second processor configured to periodically detect a value of the preset enable register before detecting the level value, wherein the value of the enable register is used to indicate The second processor or system occupies an IIC bus; when the value of the enable register indicates that the second processor occupies the IIC bus, the second processing device occupies the IIC bus, and detects the INTL a level value of the pin; the first processor is configured to occupy an IIC bus to the INTL pin when the value of the enable register indicates that the level value of the INTL pin is detected The level value is detected.
通过本发明,采用检测QSFP+光模块外部的INTL管脚的电平值,其中,所述INTL管脚被配置为响应于接收信号丢失告警RXLOS的状态;根据所述电平值确定所述RXLOS的状态;上报所述RXLOS的状态。解决现有技术在以太网工作中,系统不能正常快速上报QSFP+光模块RXLOS状态的问题,进而达到了快速捕捉到QSFP+光模块RXLOS状态变化的效果。By the present invention, a level value of an INTL pin external to the QSFP+ optical module is detected, wherein the INTL pin is configured to lose a state of the alarm RXLOS in response to the received signal; determining the RXLOS according to the level value Status; reports the status of the RXLOS. In the prior art, in the Ethernet operation, the system cannot report the RXLOS state of the QSFP+ optical module normally, and the effect of rapidly changing the state of the RXLOS of the QSFP+ optical module is achieved.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的上报接收信号丢失告警RXLOS方法的流程图;1 is a flowchart of a method for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention;
图2是根据本发明实施例的上报接收信号丢失告警RXLOS装置的结构框图; 2 is a structural block diagram of an apparatus for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention;
图3是根据本发明实施例的上报接收信号丢失告警RXLOS装置的优选结构框图一;3 is a block diagram 1 showing a preferred structure of an apparatus for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention;
图4是根据本发明实施例的上报接收信号丢失告警RXLOS装置的优选结构框图二;4 is a block diagram 2 of a preferred structure of an apparatus for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention;
图5是根据本发明实施例的上报接收信号丢失告警RXLOS装置的优选结构框图三;5 is a block diagram 3 of a preferred structure of an apparatus for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention;
图6是根据本发明实施例的上报接收信号丢失告警RXLOS装置的结构框图;6 is a structural block diagram of an apparatus for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention;
图7是根据本发明实施例的上报接收信号丢失告警RXLOS装置的优选结构框图一;7 is a block diagram 1 showing a preferred structure of a device for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention;
图8为本发明优选实施例的配置QSFP+光模块内部寄存器流程示意图;FIG. 8 is a schematic flowchart of configuring an internal register of a QSFP+ optical module according to a preferred embodiment of the present invention; FIG.
图9为本发明优选实施例的逻辑器件检测QSFP+光模块RXLOS状态和读清RXLOS状态寄存器的流程示意图;9 is a schematic flow chart of logic device detecting a RXLOS state of a QSFP+ optical module and reading a RXLOS state register according to a preferred embodiment of the present invention;
图10为本发明优选实施例的系统操作QSFP+光模块内部寄存器流程示意图。FIG. 10 is a schematic flowchart of a system operation of an internal register of a QSFP+ optical module according to a preferred embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种上报接收信号丢失告警RXLOS的方法,图1是根据本发明实施例的上报接收信号丢失告警RXLOS方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for reporting a received signal loss alarm RXLOS is provided. FIG. 1 is a flowchart of a method for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
步骤S102,检测QSFP+光模块外部的INTL管脚的电平值,其中,INTL管脚被配置为响应于接收信号丢失告警RXLOS的状态;Step S102, detecting a level value of an INTL pin external to the QSFP+ optical module, wherein the INTL pin is configured to lose a state of the alarm RXLOS in response to the received signal;
步骤S104,根据电平值确定RXLOS的状态;Step S104, determining a state of the RXLOS according to the level value;
步骤S106,上报RXLOS的状态。In step S106, the status of the RXLOS is reported.
通过上述步骤,通过周期性检测被配置为响应于接收信号丢失告警RXLOS的状态的INTL管脚的电平值,根据电平值确定RXLOS的状态并上报该RXLOS的状态, 解决现有技术在以太网工作中,系统不能正常快速上报QSFP+光模块RXLOS状态的问题,进而能够快速捕捉到QSFP+光模块RXLOS状态变化。Through the above steps, by periodically detecting the level value of the INTL pin configured to respond to the state of the received signal loss alarm RXLOS, determining the state of the RXLOS according to the level value and reporting the state of the RXLOS, In the Ethernet technology, the system cannot report the RXLOS status of the QSFP+ optical module normally, and the RXLOS state change of the QSFP+ optical module can be quickly captured.
可选地,当RXLOS的状态为丢失状态时,读清QSFP+光模块的内部寄存器中存储的RXLOS的状态。在上述步骤S104中,优选地根据逻辑器件检测INTL管脚的电平来间接反馈RXLOS状态。例如,当RXLOS为丢失状态时,表明QSFP+光模块有告警,此时INTL管脚为低电平,即INTL=0;当RXLOS为未丢失状态时,表明QSFP+光模块无告警,此时INTL管脚为高电平,即INTL=1。Optionally, when the state of the RXLOS is in a lost state, the state of the RXLOS stored in the internal register of the QSFP+ optical module is read. In the above step S104, the RXLOS state is indirectly fed back according to the logic device detecting the level of the INTL pin. For example, when the RXLOS is in the lost state, it indicates that the QSFP+ optical module has an alarm. At this time, the INTL pin is low, that is, INTL=0. When the RXLOS is not lost, it indicates that the QSFP+ optical module has no alarm. The pin is high, ie INTL=1.
可选地,在步骤S102之前,该方法还包括:配置内部寄存器中INTL管脚对应的参数,以使INTL管脚响应RXLOS的状态。配置INTL管脚对应的参数有多种,优选地,例如,1)将QSFP+光模块内部page0中地址为100的寄存器写0xf0;2)将QSFP+光模块内部page0中地址为101至106的寄存器全写0xff;3)将QSFP+光模块内部page3中地址为242至253的寄存器全写0xff。Optionally, before step S102, the method further includes: configuring a parameter corresponding to the INTL pin in the internal register, so that the INTL pin responds to the state of the RXLOS. There are various parameters for configuring the INTL pin. Preferably, for example, 1) write 0xf0 to the register with address 100 in the internal page0 of the QSFP+ optical module; 2) register all the addresses in the internal page0 of the QSFP+ optical module from 101 to 106. Write 0xff; 3) Write all the registers with addresses 242 to 253 in page 3 of the QSFP+ optical module to 0xff.
经过上述配置之后,该QSFP+光模块内部的相应告警除了RXLOS状态告警打开,其余的告警全部被屏蔽,即QSFP+光模块的INTL管脚只响应RXLOS状态,当RXLOS状态为丢失告警时,INTL管脚将输出低电平,当RXLOS状态为未丢失正常状态时,INTL管脚将输出正常的高电平。外部电路只需要监控INTL管脚的状态,便可获取RXLOS是否有丢失。After the above configuration, the corresponding alarms in the QSFP+ optical module are disabled except for the RXLOS status alarm. The remaining alarms are all blocked. That is, the INL pin of the QSFP+ optical module only responds to the RXLOS status. When the RXLOS status is lost, the INTL pin is used. The output will be low, and the INTL pin will output a normal high level when the RXLOS state is not lost. The external circuit only needs to monitor the state of the INTL pin to get a loss of RXLOS.
可选地,在步骤S102之前,还包括:周期性检测预设的使能寄存器的值,其中,使能寄存器的值用于指示检测装置或系统占用IIC总线;Optionally, before step S102, the method further includes: periodically detecting a value of the preset enable register, where the value of the enable register is used to indicate that the detecting device or the system occupies the IIC bus;
在使能寄存器的值指示检测装置占用IIC总线时,检测装置占用IIC总线,周期性检测INTL管脚的电平值;在使能寄存器的值指示系统占用IIC总线时,由系统占用IIC总线。When the value of the enable register indicates that the detecting device occupies the IIC bus, the detecting device occupies the IIC bus and periodically detects the level value of the INTL pin; when the value of the enable register indicates that the system occupies the IIC bus, the system occupies the IIC bus.
在本发明实施例中,优选地,使能寄存器CHECK_EN为逻辑器件检测RXLOS状态过程和系统操作QSFP+光模块过程时光模块IIC总线片选信号,当CHECK_EN为1时,逻辑器件检测RXLOS状态过程占用光模块IIC总线,反之,当CHECK_EN为0时,系统占用光模块IIC总线对QSFP+光模块进行操作。In the embodiment of the present invention, preferably, the enable register CHECK_EN is used by the logic device to detect the RXLOS state process and the system operates the QSFP+ optical module process time module IIC bus chip select signal. When the CHECK_EN is 1, the logic device detects the RXLOS state process and occupies the light. The module IIC bus, on the other hand, when CHECK_EN is 0, the system occupies the optical module IIC bus to operate the QSFP+ optical module.
在本实施例中还提供了一种上报接收信号丢失告警RXLOS装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件。 In this embodiment, an RXLOS device for reporting a received signal loss alarm is also provided. The device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used below, the term "module" can implement software for a predetermined function.
图2是根据本发明实施例的上报接收信号丢失告警RXLOS装置的结构框图,如图2所示,该装置包括:第一检测模块22,设置为检测QSFP+光模块外部的INTL管脚的电平值,其中,INTL管脚被配置为响应于接收信号丢失告警RXLOS的状态;确定模块24,设置为根据电平值确定RXLOS的状态;上报模块26,设置为上报RXLOS的状态。2 is a structural block diagram of a device for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention. As shown in FIG. 2, the device includes: a first detecting module 22 configured to detect a level of an INTL pin external to the QSFP+ optical module. a value, wherein the INTL pin is configured to be responsive to the status of the received signal loss alarm RXLOS; the determining module 24 is configured to determine the state of the RXLOS based on the level value; the reporting module 26 is configured to report the status of the RXLOS.
图3是根据本发明实施例的上报接收信号丢失告警RXLOS装置的优选结构框图一,如图3所示,该装置除包括图2所示的所有模块外,还包括读清模块32,设置为在RXLOS的状态为丢失状态时,读清QSFP+光模块的内部寄存器中存储的RXLOS的状态。3 is a block diagram of a preferred structure for reporting a received signal loss alarm RXLOS device according to an embodiment of the present invention. As shown in FIG. 3, the device includes a read clear module 32, which is configured to include, in addition to all the modules shown in FIG. When the state of RXLOS is lost, the state of RXLOS stored in the internal register of the QSFP+ optical module is read.
图4是根据本发明实施例的上报接收信号丢失告警RXLOS装置的优选结构框图二,如图4所示,该装置除包括图2所示的所有模块外,还包括:配置模块42,设置为配置内部寄存器中INTL管脚对应的参数,以使INTL管脚响应RXLOS的状态。4 is a block diagram 2 of a preferred structure for reporting a received signal loss alarm RXLOS device according to an embodiment of the present invention. As shown in FIG. 4, the device includes, in addition to all the modules shown in FIG. 2, a configuration module 42 configured to Configure the parameters corresponding to the INTL pin in the internal register so that the INTL pin responds to the state of RXLOS.
图5是根据本发明实施例的上报接收信号丢失告警RXLOS装置的优选结构框图三,如图5所示,该装置除包括图2所示的所有模块外,还包括:第二检测模块52,设置为周期性检测预设的使能寄存器的值,其中,使能寄存器的值用于指示第二检测模块或系统占用IIC总线;5 is a block diagram 3 of a preferred structure for reporting a received signal loss alarm RXLOS device according to an embodiment of the present invention. As shown in FIG. 5, the device includes: a second detection module 52, in addition to all the modules shown in FIG. Set to periodically detect the value of the preset enable register, wherein the value of the enable register is used to indicate that the second detection module or system occupies the IIC bus;
第一检测模块22,设置为在使能寄存器的值指示第二检测模块52占用IIC总线时,第二检测模块52占用IIC总线,检测INTL管脚的电平值。The first detecting module 22 is configured to detect that the second detecting module 52 occupies the IIC bus when the value of the enabling register indicates that the second detecting module 52 occupies the IIC bus, and detects the level value of the INTL pin.
占用模块54,设置为在使能寄存器的值指示系统占用IIC总线时,由系统占用IIC总线。The occupancy module 54 is configured to occupy the IIC bus by the system when the value of the enable register indicates that the system is occupying the IIC bus.
本发明还提供了一种上报接收信号丢失告警RXLOS装置,图6是根据本发明实施例的上报接收信号丢失告警RXLOS装置的结构框图,如图6所示,该装置包括:第一寄存器62,设置为存储QSFP+光模块外部的INTL管脚64的参数,其中,参数被配置为使INTL管脚64响应于接收信号丢失告警RXLOS的状态;The present invention further provides a RXLOS device for reporting a received signal loss alarm. FIG. 6 is a structural block diagram of a RXLOS device for reporting a received signal loss alarm according to an embodiment of the present invention. As shown in FIG. 6, the device includes: a first register 62, Set to store parameters of the INTL pin 64 external to the QSFP+ optical module, wherein the parameters are configured to cause the INTL pin 64 to respond to the state of the received signal loss alarm RXLOS;
第一处理器66,与INTL管脚相连,设置为检测INTL管脚的电平值,根据电平值确定RXLOS的状态,并上报RXLOS的状态。The first processor 66 is connected to the INTL pin and configured to detect the level value of the INTL pin, determine the state of the RXLOS according to the level value, and report the state of the RXLOS.
可选地,第一处理器66,还设置为在RXLOS的状态为丢失状态时,读清QSFP+光模块的内部寄存器中存储的RXLOS的状态。 Optionally, the first processor 66 is further configured to read the state of the RXLOS stored in the internal register of the QSFP+ optical module when the state of the RXLOS is a lost state.
图7是根据本发明实施例的上报接收信号丢失告警RXLOS装置的优选结构框图一,如图7所示,该装置还包括:第二处理器72,设置为在检测电平值之前,周期性检测预设的使能寄存器的值,其中,使能寄存器的值用于指示第二处理器或系统占用IIC总线;FIG. 7 is a block diagram showing a preferred structure of a device for reporting a received signal loss alarm RXLOS according to an embodiment of the present invention. As shown in FIG. 7, the device further includes: a second processor 72 configured to periodically before detecting a level value. Detecting a value of a preset enable register, wherein the value of the enable register is used to indicate that the second processor or system occupies the IIC bus;
在使能寄存器的值指示第二处理器72占用IIC总线时,第二处理器72占用IIC总线,检测INTL管脚的电平值。When the value of the enable register indicates that the second processor 72 is occupying the IIC bus, the second processor 72 occupies the IIC bus and detects the level value of the INTL pin.
为了更好的说明书上述实施例,下面将结合优选实施例进行说明。For a better description of the above embodiments, the following description will be made in conjunction with the preferred embodiments.
本发明优选实施例的目的是提供一种实现QSFP+光模块RXLOS中断正常快速上报的方法,该方法简单、灵活、易于实现,且不影响整个系统的正常高速运行。The purpose of the preferred embodiment of the present invention is to provide a method for implementing normal fast reporting of the RXLOS interrupt of the QSFP+ optical module. The method is simple, flexible, and easy to implement, and does not affect the normal high-speed operation of the entire system.
为了达到上述目的,本发明优选实施例公开了一种实现QSFP+光模块RXLOS中断正常快速上报的方法。本发明采用的技术方案包括:In order to achieve the above object, a preferred embodiment of the present invention discloses a method for implementing a normal fast reporting of a QSFP+ optical module RXLOS interrupt. The technical solutions adopted by the present invention include:
步骤S202:通过IIC总线配置QSFP+光模块内部寄存器,将QSFP+光模块的外部INTL管脚配置成为只对RXLOS状态寄存器响应。Step S202: Configure the QSFP+ optical module internal register through the IIC bus, and configure the external INTL pin of the QSFP+ optical module to respond only to the RXLOS status register.
步骤S204:逻辑器件通过IIC总线自动检测QSFP+光模块RXLOS状态,当RXLOS状态为丢失时,逻辑器件自动读清RXLOS状态寄存器,直至RXLOS状态为未丢失。Step S204: The logic device automatically detects the RXLOS state of the QSFP+ optical module through the IIC bus. When the RXLOS state is lost, the logic device automatically reads the RXLOS status register until the RXLOS state is not lost.
步骤S206:增加一个逻辑器件检测RXLOS状态使能寄存器CHECK_EN,避免系统突然操作光模块内部寄存器时和逻辑检测之间的IIC总线冲突。Step S206: Add a logic device to detect the RXLOS state enable register CHECK_EN to avoid the IIC bus conflict between the system suddenly operating the optical module internal register and the logic detection.
其中,步骤S202中主要包括:The step S202 mainly includes:
1)将QSFP+光模块内部page0中地址为100的寄存器写0xf0。1) Write 0xf0 to the register with address 100 in the internal page0 of the QSFP+ optical module.
2)将QSFP+光模块内部page0中地址为101至106的寄存器全写0xff。2) Write all the registers with addresses 101 to 106 in the internal page0 of the QSFP+ optical module to 0xff.
3)将QSFP+光模块内部page3中地址为242至253的寄存器全写0xff。3) Write all the registers with addresses 242 to 253 in page 3 of the QSFP+ optical module to 0xff.
其中,步骤S204中,逻辑器件检测RXLOS状态根据INTL管脚的电平来间接判断的。根据步骤S202中的配置过程,当RXLOS为丢失状态时,表明QSFP+光模块有告警,即INTL=0;当RXLOS为未丢失状态时,表明QSFP+光模块无告警,即INTL=1。可通过检测INTL管脚电平状态间接的获取RXLOS状态。 Wherein, in step S204, the logic device detects that the RXLOS state is indirectly determined according to the level of the INTL pin. According to the configuration process in step S202, when the RXLOS is in the lost state, it indicates that the QSFP+ optical module has an alarm, that is, INTL=0; when the RXLOS is not lost, it indicates that the QSFP+ optical module has no alarm, that is, INTL=1. The RXLOS state can be obtained indirectly by detecting the INTL pin level state.
其中,步骤S204中,当逻辑器件检测RXLOS状态锁定为丢失时(即INTL=0),逻辑器件将自动读清RXLOS状态寄存器,然后又开始检测RXLOS状态,直至检测到RXLOS状态为未丢失(即INTL=1)。Wherein, in step S204, when the logic device detects that the RXLOS state is locked to be lost (ie, INTL=0), the logic device will automatically read the RXLOS status register and then start detecting the RXLOS state until it detects that the RXLOS state is not lost (ie, INTL=1).
其中,步骤S206中,使能寄存器CHECK_EN为逻辑器件检测RXLOS状态过程和系统操作QSFP+光模块过程时光模块IIC总线片选信号,当CHECK_EN为1时,逻辑器件检测RXLOS状态过程占用光模块IIC总线,反之,当CHECK_EN为0时,系统占用光模块IIC总线对QSFP+光模块进行操作。CHECK_EN默认设置为1,即逻辑检测过程占用QSFP+光模块IIC总线,自动检测RXLOS状态,以及随后的读清RXLOS状态寄存器操作;当系统需要使用IIC总线操作QSFP+光模块内部寄存器时,系统首先需要将该使能寄存器CHECK_EN置0,关闭逻辑器件自动检测功能,此时逻辑器件停止自动检测,释放IIC总线给系统占用,然后系统开始操作QSFP+光模块内部寄存器,待系统完成QSFP+光模块内部寄存器操作后,系统再将使能寄存器CHECK_EN置1,将IIC总线释放还给检测逻辑,逻辑器件重新开始自动检测RXLOS状态。Wherein, in step S206, the enable register CHECK_EN is a logic device detecting RXLOS state process and a system operation QSFP+ optical module process time optical module IIC bus chip select signal. When CHECK_EN is 1, the logic device detects the RXLOS state process and occupies the optical module IIC bus. Conversely, when CHECK_EN is 0, the system occupies the optical module IIC bus to operate the QSFP+ optical module. CHECK_EN is set to 1 by default, that is, the logic detection process occupies the QSFP+ optical module IIC bus, automatically detects the RXLOS state, and then reads the RXLOS status register operation; when the system needs to use the IIC bus to operate the QSFP+ optical module internal registers, the system first needs to The enable register CHECK_EN is set to 0, and the logic device automatic detection function is turned off. At this time, the logic device stops automatically detecting, releasing the IIC bus to the system, and then the system starts to operate the QSFP+ optical module internal register, after the system completes the QSFP+ optical module internal register operation. The system then sets the enable register CHECK_EN to 1, releasing the IIC bus to the detection logic, and the logic device resumes automatically detecting the RXLOS state.
为了更清楚的解释和说明本发明优选实施例的上述步骤,下面对本发明优选实施例采用的上述方法进行详细说明。In order to more clearly explain and explain the above-described steps of a preferred embodiment of the present invention, the above-described methods employed in the preferred embodiments of the present invention are described in detail.
本发明的基本思想在于:通过配置QSFP+光模块内部寄存器,将RXLOS状态间接的通过INTL管脚的状态来表征;然后利用逻辑自动检测和读清锁定为丢失的RXLOS状态,使得RXLOS状态变化能快速被感知,产生中断上报给系统及时响应和处理;同时,为了避免系统操作QSFP+光模块内部寄存器和逻辑自动检测和读清QSFP+内部RXLOS状态之间的IIC总线冲突,增加一个使能寄存器CHECK_EN。The basic idea of the present invention is to configure the QSFP+ optical module internal register to indirectly characterize the RXLOS state through the state of the INTL pin; then use logic to automatically detect and read the lock to the lost RXLOS state, so that the RXLOS state change can be fast. It is perceived, and the interrupt is reported to the system for timely response and processing. At the same time, in order to avoid the system operation QSFP+ optical module internal register and logic automatically detect and read the IIC bus conflict between QSFP+ internal RXLOS state, add an enable register CHECK_EN.
为使本发明上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施例对本发明作进一步详细地说明。The present invention will be further described in detail with reference to the drawings and specific embodiments.
图8为本发明优选实施例的配置QSFP+光模块内部寄存器流程示意图,如图1所示。其详细配置流程为:FIG. 8 is a schematic diagram of a process of configuring an internal register of a QSFP+ optical module according to a preferred embodiment of the present invention, as shown in FIG. The detailed configuration process is:
步骤S302:将QSFP+光模块解复位;Step S302: De-reset the QSFP+ optical module;
其中,将其RESET管脚电平拉高,通常光模块上电时默认配置为复位状态。The RESET pin is pulled high. Normally, the optical module is reset to the default state when it is powered on.
步骤S304:将QSFP+光模块MODSEL管脚拉低;Step S304: Pull the QSFP+ optical module MODSEL pin low;
其中,此步骤是为了让QSFP+光模块对IIC总线响应; Wherein, this step is for the QSFP+ optical module to respond to the IIC bus;
步骤S306:延时2s;Step S306: delay 2s;
其中,根据SFF 8436协议,QSFP+光模块完成解复位过程最大需要2s时间,此处延时2s使得光模块充分完成解复位;According to the SFF 8436 protocol, the QSFP+ optical module needs to complete the de-reset process for a maximum of 2s, and the delay is 2s, so that the optical module fully completes the reset.
步骤S308:CHECK_EN置0,关闭逻辑自动检测功能,系统占用IIC总线进行操作;Step S308: CHECK_EN is set to 0, the logic automatic detection function is turned off, and the system occupies the IIC bus for operation;
步骤S310:将QSFP+光模块内部page0中地址为100的寄存器写0xf0;Step S310: Write 0xf0 to the register with address 100 in the internal page0 of the QSFP+ optical module;
步骤S312:将QSFP+光模块内部page0中地址为101至106的寄存器全写0xff;Step S312: Write all the registers with addresses 101 to 106 in the internal page 0 of the QSFP+ optical module to 0xff;
步骤S314:将QSFP+光模块内部page3中地址为242至253的寄存器全写0xff;Step S314: Write all the registers with addresses 242 to 253 in the internal page 3 of the QSFP+ optical module to 0xff;
步骤S316:CHECK_EN置0,开启逻辑自动检测功能。Step S316: CHECK_EN is set to 0, and the logic automatic detection function is turned on.
其中,上述步骤S310、步骤S312、步骤S314最为关键,它将QSFP+光模块内部的相应告警除了RXLOS状态告警打开,其余的告警全部被屏蔽,即这三步骤实施后,QSFP+光模块的INTL管脚只响应RXLOS状态,当RXLOS状态为丢失告警时,INTL管脚将输出低电平,当RXLOS状态为未丢失正常状态时,INTL管脚将输出正常的高电平。外部电路只需要监控INTL管脚的状态,便可获取RXLOS是否有丢失。The above steps S310, S312, and S314 are the most critical, and the corresponding alarms in the QSFP+ optical module are turned on except the RXLOS state alarm, and the remaining alarms are all shielded, that is, the INTL pins of the QSFP+ optical module are implemented after the three steps are implemented. Only respond to the RXLOS state. When the RXLOS state is a loss alarm, the INTL pin will output a low level. When the RXLOS state is not lost, the INTL pin will output a normal high level. The external circuit only needs to monitor the state of the INTL pin to get a loss of RXLOS.
图9为本发明优选实施例的逻辑器件检测QSFP+光模块RXLOS状态和读清RXLOS状态寄存器的流程示意图,如图2所示。FIG. 9 is a flow chart showing the logic device detecting the RXLOS state of the QSFP+ optical module and reading the RXLOS status register according to a preferred embodiment of the present invention, as shown in FIG. 2.
步骤S402:逻辑内部以高速频率循环扫描CHECK_EN寄存器的值,当检测到CHECK_EN寄存器的值为1时,进入到步骤S404,否则停留在步骤S402,反复扫描CHECK_EN寄存器的值;Step S402: The logic internally scans the value of the CHECK_EN register at a high speed frequency. When it is detected that the value of the CHECK_EN register is 1, the process proceeds to step S404, otherwise, the process proceeds to step S402, and the value of the CHECK_EN register is repeatedly scanned.
步骤S404:检测RXLOS状态是否为丢失;即INTL管脚的状态是否为低电平;Step S404: detecting whether the RXLOS state is a loss; that is, whether the state of the INTL pin is a low level;
其中,当RXLOS状态为丢失,即INTL管脚为低电平时,进入步骤S406,否则说明RXLOS状态并没有锁定丢失,不需要进行读清RXLOS状态寄存器,此时回退到步骤S402,重新扫描CHECK_EN寄存器的值;When the RXLOS state is lost, that is, the INTL pin is low, the process proceeds to step S406. Otherwise, the RXLOS state is not locked and lost, and the RXLOS status register does not need to be read. At this time, the process returns to step S402, and the CHECK_EN is rescanned. The value of the register;
步骤S406:逻辑内部开始发起命令通过IIC总线自动读清QSFP+光模块内部的RXLOS状态寄存器(page0中的0x3地址),操作完成后,又重新回到步骤S402; Step S406: The logic internally starts to initiate the command to automatically read the RXLOS status register (0x3 address in page0) inside the QSFP+ optical module through the IIC bus, and after the operation is completed, return to step S402 again;
如此,通过上面的一直扫描以及读清RXLOS状态操作,当RXLOS由丢失锁定至未丢失的状态变化时便可以快速地检测出来,产生RXLOS中断正常快速上报。In this way, through the above-mentioned continuous scanning and reading the RXLOS state operation, when the RXLOS changes from the lost lock to the unaltered state, it can be quickly detected, and the RXLOS interrupt is normally reported quickly.
由于QSFP+光模块只有唯有一组IIC总线可以访问其内部寄存器,系统操作QSFP+光模块内部寄存器和逻辑自动读清RXLOS状态寄存器都是采用这同一组IIC总线。为了避免系统操作QSFP+光模块内部寄存器和逻辑自动读清RXLOS寄存器之间出现IIC总线冲突,特别增加一个检测使能寄存器CHECK_EN。图10为本发明优选实施例的系统操作QSFP+光模块内部寄存器流程示意图,如图10所示,Since the QSFP+ optical module only has a set of IIC buses to access its internal registers, the system operates the QSFP+ optical module internal registers and the logic automatically reads the RXLOS status registers using the same set of IIC buses. In order to avoid the system operation QSFP+ optical module internal registers and logic automatically read the IIC bus conflict between the RXLOS registers, a detection enable register CHECK_EN is added. FIG. 10 is a schematic flowchart of a system operation of an internal register of a QSFP+ optical module according to a preferred embodiment of the present invention, as shown in FIG.
步骤S1002:当系统不需要操作QSFP+光模块内部寄存器时,检测使能寄存器CHECK_EN默认为1,即默认为逻辑检测占用IIC总线;Step S1002: When the system does not need to operate the QSFP+ optical module internal register, the detection enable register CHECK_EN defaults to 1, that is, the logic detection occupies the IIC bus by default;
步骤S1004:当系统需要操作QSFP+光模块内部寄存器时,系统先将CHECK_EN置0,逻辑检测释放QSFP+光模块IIC总线给系统操作;Step S1004: When the system needs to operate the QSFP+ optical module internal register, the system first sets CHECK_EN to 0, and the logic detects and releases the QSFP+ optical module IIC bus to the system operation;
步骤S1006:系统操作完成后,系统又将CHECK_EN置1,将QSFP+光模块IIC总线还给逻辑检测占用。Step S1006: After the system operation is completed, the system sets CHECK_EN to 1, and returns the QSFP+ optical module IIC bus to the logical detection occupation.
其中,系统可随时控制写使能寄存器CHECK_EN的值,因而系统可随时对QSFP+光模块内部寄存器进行操作。Among them, the system can control the value of the write enable register CHECK_EN at any time, so the system can operate the internal register of the QSFP+ optical module at any time.
采用本发明优选实施例的方法,可以快速的捕捉到QSFP+光模块RXLOS状态变化,产生RXLOS中断正常快速上报。本发明采用逻辑检测RXLOS状态和自动读清RXLOS锁定状态方法,不仅不影响系统正常工作,且逻辑检测几乎不占用系统资源,增加一个使能寄存器,避免了IIC总线冲突问题,系统可随时操作QSFP+光模块内部寄存器,提高了系统的工作效率,便于QSFP+光模块在以太网应用中实现链路快速切换的功能。With the method of the preferred embodiment of the present invention, the RXLOS state change of the QSFP+ optical module can be quickly captured, and the RXLOS interrupt is normally reported quickly. The invention adopts the logic to detect the RXLOS state and automatically read the RXLOS lock state method, which not only does not affect the normal operation of the system, and the logic detection hardly occupies the system resources, adds an enable register, avoids the IIC bus conflict problem, and the system can operate the QSFP+ at any time. The internal registers of the optical module improve the working efficiency of the system and facilitate the fast switching of the link in the Ethernet application by the QSFP+ optical module.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。 It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,通过上述实施例及优选实施方式,解决现有技术在以太网工作中,系统不能正常快速上报QSFP+光模块RXLOS状态的问题,进而达到了快速捕捉到QSFP+光模块RXLOS状态变化的效果。 As described above, the above embodiments and the preferred embodiments solve the problem that the system cannot report the RXLOS state of the QSFP+ optical module in the Ethernet operation in the prior art, and the effect of quickly capturing the state change of the RXLOS of the QSFP+ optical module is achieved. .

Claims (13)

  1. 一种上报接收信号丢失告警RXLOS的方法,包括:A method for reporting a received signal loss alarm RXLOS, comprising:
    检测QSFP+光模块外部的INTL管脚的电平值,其中,所述INTL管脚被配置为响应于接收信号丢失告警RXLOS的状态;Detecting a level value of an INTL pin external to the QSFP+ optical module, wherein the INTL pin is configured to lose a state of the alarm RXLOS in response to the received signal;
    根据所述电平值确定所述RXLOS的状态;Determining a state of the RXLOS according to the level value;
    上报所述RXLOS的状态。Report the status of the RXLOS.
  2. 根据权利要求1所述的方法,其中,还包括:The method of claim 1 further comprising:
    当所述RXLOS的状态为丢失状态时,读清QSFP+光模块的内部寄存器中存储的所述RXLOS的状态。When the state of the RXLOS is a lost state, the state of the RXLOS stored in the internal register of the QSFP+optical module is read.
  3. 根据权利要求1所述的方法,其中,检测QSFP+光模块外部的INTL管脚的电平值之前,还包括:The method according to claim 1, wherein before detecting the level value of the INTL pin outside the QSFP+ optical module, the method further comprises:
    配置内部寄存器中所述INTL管脚对应的参数,以使所述INTL管脚响应所述RXLOS的状态。The parameters corresponding to the INTL pin in the internal register are configured such that the INTL pin responds to the state of the RXLOS.
  4. 根据权利要求1所述的方法,其中,检测QSFP+光模块外部的INTL管脚的电平值之前,还包括:The method according to claim 1, wherein before detecting the level value of the INTL pin outside the QSFP+ optical module, the method further comprises:
    周期性检测预设的使能寄存器的值,其中,所述使能寄存器的值用于指示检测装置或系统占用IIC总线;Periodically detecting a value of a preset enable register, wherein the value of the enable register is used to indicate that the detecting device or system occupies the IIC bus;
    在所述使能寄存器的值指示所述检测装置占用所述IIC总线时,所述检测装置占用所述IIC总线,检测所述INTL管脚的电平值。When the value of the enable register indicates that the detecting device occupies the IIC bus, the detecting device occupies the IIC bus and detects a level value of the INTL pin.
  5. 根据权利要求4所述的方法,其中,还包括:The method of claim 4, further comprising:
    在所述使能寄存器的值指示所述系统占用所述IIC总线时,由所述系统占用所述IIC总线。The IIC bus is occupied by the system when the value of the enable register indicates that the system is occupying the IIC bus.
  6. 一种上报接收信号丢失告警RXLOS的装置,包括:A device for reporting a received signal loss alarm RXLOS, comprising:
    第一检测模块,设置为检测QSFP+光模块外部的INTL管脚的电平值,其中,所述INTL管脚被配置为响应于接收信号丢失告警RXLOS的状态;a first detecting module configured to detect a level value of an INTL pin external to the QSFP+ optical module, wherein the INTL pin is configured to lose a state of the alarm RXLOS in response to the received signal;
    确定模块,设置为根据所述电平值确定所述RXLOS的状态; Determining a module, configured to determine a state of the RXLOS according to the level value;
    上报模块,设置为上报所述RXLOS的状态。The reporting module is configured to report the status of the RXLOS.
  7. 根据权利要求6所述的装置,其中,还包括:The apparatus of claim 6 further comprising:
    读清模块,设置为在所述RXLOS的状态为丢失状态时,读清QSFP+光模块的内部寄存器中存储的所述RXLOS的状态。The read module is configured to read the state of the RXLOS stored in the internal register of the QSFP+ optical module when the state of the RXLOS is in a lost state.
  8. 根据权利要求6所述的装置,其中,还包括,The apparatus of claim 6 further comprising
    配置模块,设置为配置内部寄存器中所述INTL管脚对应的参数,以使所述INTL管脚响应所述RXLOS的状态。The configuration module is configured to configure a parameter corresponding to the INTL pin in the internal register, so that the INTL pin responds to the state of the RXLOS.
  9. 根据权利要求6所述的装置,其中,The apparatus according to claim 6, wherein
    所述装置还包括,第二检测模块,设置为周期性检测预设的使能寄存器的值,其中,所述使能寄存器的值用于指示所述第二检测模块或系统占用IIC总线;The device further includes a second detecting module configured to periodically detect a value of the preset enable register, wherein the value of the enable register is used to indicate that the second detecting module or system occupies an IIC bus;
    所述第一检测模块,设置为在所述使能寄存器的值指示所述第二检测模块占用所述IIC总线时,所述第二检测模块占用所述IIC总线,检测所述INTL管脚的电平值。The first detecting module is configured to: when the value of the enable register indicates that the second detecting module occupies the IIC bus, the second detecting module occupies the IIC bus, and detects the INTL pin Level value.
  10. 根据权利要求9所述的装置,其中,还包括,The apparatus according to claim 9, further comprising
    占用模块,设置为在所述使能寄存器的值指示系统占用IIC总线时,由所述系统占用所述IIC总线。The occupancy module is configured to occupy the IIC bus by the system when the value of the enable register indicates that the system is occupying the IIC bus.
  11. 一种上报接收信号丢失告警RXLOS的装置,包括:A device for reporting a received signal loss alarm RXLOS, comprising:
    第一寄存器,设置为存储QSFP+光模块外部的INTL管脚的参数,其中,所述参数被配置为使所述INTL管脚响应于接收信号丢失告警RXLOS的状态;a first register, configured to store a parameter of an INTL pin external to the QSFP+ optical module, wherein the parameter is configured to cause the INTL pin to respond to a state of the received signal loss alarm RXLOS;
    第一处理器,与所述INTL管脚相连,设置为检测所述INTL管脚的电平值,根据所述电平值确定所述RXLOS的状态,并上报所述RXLOS的状态。The first processor is connected to the INTL pin, and is configured to detect a level value of the INTL pin, determine a state of the RXLOS according to the level value, and report a status of the RXLOS.
  12. 根据权利要求11所述的装置,其中,所述第一处理器,还设置为在所述RXLOS的状态为丢失状态时,读清QSFP+光模块的内部寄存器中存储的所述RXLOS的状态。The apparatus of claim 11, wherein the first processor is further configured to read a state of the RXLOS stored in an internal register of the QSFP+ optical module when the state of the RXLOS is a lost state.
  13. 根据权利要求11或12所述的装置,其中, The device according to claim 11 or 12, wherein
    所述装置还包括:第二处理器,设置为在检测所述电平值之前,周期性检测预设的使能寄存器的值,其中,所述使能寄存器的值用于指示所述第二处理器或系统占用IIC总线;The apparatus further includes: a second processor configured to periodically detect a value of the preset enable register before detecting the level value, wherein the value of the enable register is used to indicate the second The processor or system occupies the IIC bus;
    在所述使能寄存器的值指示所述第二处理器占用所述IIC总线时,所述第二处理器占用所述IIC总线,检测所述INTL管脚的电平值;When the value of the enable register indicates that the second processor occupies the IIC bus, the second processor occupies the IIC bus, and detects a level value of the INTL pin;
    所述第一处理器,设置为在所述使能寄存器的值指示对所述INTL管脚的电平值进行检测时,占用IIC总线,对所述INTL管脚的电平值进行检测。 The first processor is configured to: when the value of the enable register indicates that the level value of the INTL pin is detected, occupy an IIC bus to detect a level value of the INTL pin.
PCT/CN2014/089076 2014-07-17 2014-10-21 Method and device for reporting received loss of signal alarm (rxlos) WO2015117384A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410343113.1A CN105281939A (en) 2014-07-17 2014-07-17 Method and device for reporting RXLOS (Receive Loss of Signal Alarm)
CN201410343113.1 2014-07-17

Publications (1)

Publication Number Publication Date
WO2015117384A1 true WO2015117384A1 (en) 2015-08-13

Family

ID=53777202

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/089076 WO2015117384A1 (en) 2014-07-17 2014-10-21 Method and device for reporting received loss of signal alarm (rxlos)

Country Status (2)

Country Link
CN (1) CN105281939A (en)
WO (1) WO2015117384A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039582A (en) * 2020-09-03 2020-12-04 南京捷澳德信息科技有限公司 System and method for optical module expansion supporting optical communication link protection switching application

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109217922B (en) * 2018-09-25 2020-06-09 东莞铭普光磁股份有限公司 Method and device for reporting loss alarm of received signal by optical module
CN109495163A (en) * 2018-12-17 2019-03-19 周阳 A kind of multi-channel module loss of signal alarm processing unit and method
CN114389691B (en) * 2022-01-24 2024-02-27 青岛海信宽带多媒体技术有限公司 Optical module

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110081807A1 (en) * 2009-10-06 2011-04-07 Mellanox Technologies Ltd. Adapter for pluggable module
CN102843184A (en) * 2012-08-28 2012-12-26 中兴通讯股份有限公司 Quad small form-factor pluggable (QSFP) loopback device for test
CN103490904A (en) * 2013-09-11 2014-01-01 福建星网锐捷网络有限公司 Ethernet electrical interface compatibility conversion device, control method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101166415B (en) * 2007-07-09 2011-09-14 华为技术有限公司 Master/slave switch circuit and method
CN102567177B (en) * 2010-12-25 2014-12-10 鸿富锦精密工业(深圳)有限公司 System and method for detecting error of computer system
CN103795459B (en) * 2013-11-22 2017-02-22 广东海信宽带科技有限公司 Optical module-based fault processing method, device and optical module

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110081807A1 (en) * 2009-10-06 2011-04-07 Mellanox Technologies Ltd. Adapter for pluggable module
CN102843184A (en) * 2012-08-28 2012-12-26 中兴通讯股份有限公司 Quad small form-factor pluggable (QSFP) loopback device for test
CN103490904A (en) * 2013-09-11 2014-01-01 福建星网锐捷网络有限公司 Ethernet electrical interface compatibility conversion device, control method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039582A (en) * 2020-09-03 2020-12-04 南京捷澳德信息科技有限公司 System and method for optical module expansion supporting optical communication link protection switching application

Also Published As

Publication number Publication date
CN105281939A (en) 2016-01-27

Similar Documents

Publication Publication Date Title
EP3706010B1 (en) Enabling sync header suppression latency optimization in the presence of retimers for serial interconnect
WO2015117384A1 (en) Method and device for reporting received loss of signal alarm (rxlos)
CN109688058B (en) Message processing method and device and network equipment
CN108089856B (en) Page element monitoring method and device
US20140068134A1 (en) Data transmission apparatus, system, and method
WO2016101099A1 (en) Techniques for power management associated with processing received packets at a network device
KR101665985B1 (en) Virtual gpio
US9146797B2 (en) Method for ensuring remediation of hung multiplexer bus channels
KR102416283B1 (en) Serial peripheral interface
CN111131936B (en) Optical module monitoring method, monitoring device, switch and storage medium
CN102855214B (en) Realize the method for data consistency and a kind of multiple nucleus system
WO2020238747A1 (en) Serial port output path switching method, system and apparatus, and switch
CN112260366B (en) Charging method, charging device and charger
WO2016201983A1 (en) Method and device for managing enablement state of optical module
CN109933549B (en) Interrupt controller suitable for RISC-V treater
CN105634502A (en) Realization method of key scanning based on state machine
CN114463163A (en) Heterogeneous multi-core image processing method and device
WO2017165036A1 (en) Optoelectronic transceiver with power management
US20130166805A1 (en) Interrupt cause management device and interrupt processing system
CN104424142B (en) The method and apparatus of shared resource is accessed in a kind of multi-core processor system
WO2017198112A1 (en) Frequency switching method and apparatus, and computer readable storage medium
CN106055510A (en) FPGA-based control system for automatic detection of configuration bus bit width
CN114268670A (en) Ethernet asynchronous message processing system and method based on time trigger
WO2017012459A1 (en) System bus device response timeout processing method and apparatus, and storage medium
CN114328350A (en) Communication method, device and medium based on AXI bus

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: 14881907

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: 14881907

Country of ref document: EP

Kind code of ref document: A1