CN109302230B - Optical interface calibration method and device - Google Patents

Optical interface calibration method and device Download PDF

Info

Publication number
CN109302230B
CN109302230B CN201811279060.6A CN201811279060A CN109302230B CN 109302230 B CN109302230 B CN 109302230B CN 201811279060 A CN201811279060 A CN 201811279060A CN 109302230 B CN109302230 B CN 109302230B
Authority
CN
China
Prior art keywords
optical
state
register
optical signal
optical module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811279060.6A
Other languages
Chinese (zh)
Other versions
CN109302230A (en
Inventor
张久仙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201811279060.6A priority Critical patent/CN109302230B/en
Publication of CN109302230A publication Critical patent/CN109302230A/en
Application granted granted Critical
Publication of CN109302230B publication Critical patent/CN109302230B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

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

Abstract

The application provides an optical interface calibration method and device, comprising the following steps: determining whether an optical module corresponding to an optical interface of the device receives an effective optical signal; and if the optical module receives the effective optical signal, the optical interface receiving end of the optical interface is reset, so that the optical interface receiving end after resetting calibrates the physical layer parameter of the optical interface receiving end based on the effective electric signal converted from the effective optical signal by the optical module. By using the method provided by the application, the problem of inaccurate calibration of the optical interface receiving end caused by receiving invalid optical signals by the optical module can be solved, and the calibration accuracy of the optical interface receiving end is effectively improved.

Description

Optical interface calibration method and device
Technical Field
The present application relates to the field of computer communications, and in particular, to a method and an apparatus for calibrating an optical interface.
Background
The optical module is a main element for performing photoelectric conversion, and plays an important role in optical fiber transmission.
Typically, the optical module is adapted to the optical interface on the forwarding device. The optical interface comprises an optical interface receiving end and an optical interface sending end, wherein the optical interface receiving end is used for receiving messages, and the optical interface sending end is used for sending messages. When the forwarding device sends a message through the optical interface sending end, the optical module adapted to the optical interface needs to convert the electrical signal of the message into an optical signal, and send the optical signal out through the optical fiber. When the forwarding device receives a packet through the receiving end of the optical interface, the optical module adapted to the optical interface needs to convert an optical signal from the optical fiber into an electrical signal and send the electrical signal to the receiving end of the optical interface.
When the forwarding device is plugged into the optical module, in order to ensure that the optical interface receiving end corresponding to the optical module operates normally, the physical layer parameters of the optical interface receiving end need to be calibrated based on the electrical signal forwarded by the optical module. Therefore, how to accurately calibrate the receiving end of the optical interface becomes a problem to be continuously discussed in the industry.
Disclosure of Invention
In view of the above, the present application provides an optical interface calibration method and apparatus for improving the accuracy of calibrating physical layer parameters at an optical interface receiving end.
Specifically, the method is realized through the following technical scheme:
according to a first aspect of the present application, there is provided an optical interface calibration method, which is applied to a forwarding device, and includes:
determining whether an optical module corresponding to an optical interface of the device receives an effective optical signal;
and if the optical module receives the effective optical signal, the optical interface receiving end of the optical interface is reset, so that the optical interface receiving end after resetting calibrates the physical layer parameter of the optical interface receiving end based on the effective electric signal converted from the effective optical signal by the optical module.
Optionally, the method further includes:
and if the optical module receives an invalid optical signal or does not receive an optical signal, maintaining the reset state of the optical interface receiving end.
Optionally, determining whether the optical module corresponding to the optical interface receives a valid optical signal includes:
determining the states of a receiving end signal LOSs RX LOS register and a clock data recovery CDR register of the optical module;
if the state of the RX LOS register is the state of receiving an optical signal and the state of the CDR register is the locking state, determining that the optical module receives an effective optical signal;
if the state of the RX LOS register is a state of not receiving an optical signal and the state of the CDR register is a non-locking state, determining that the optical module does not receive the optical signal;
and if the state of the RX LOS register is the state of receiving the optical signal and the state of the CDR register is the non-locking state, determining that the optical module receives an invalid optical signal.
Optionally, the method further includes:
if the state of the RX LOS register is a state in which an optical signal is not received and the state of the CDR register is a locked state, it is determined that the RX LOS register, the CDR register, or the optical module is abnormal, and a reset state of the optical interface receiving end is maintained.
Optionally, the determining whether the optical module corresponding to the optical interface on the device receives the valid optical signal includes:
and after detecting that the optical module corresponding to the optical interface is inserted into the equipment, determining whether the optical module corresponding to the optical interface on the equipment receives an effective optical signal.
Optionally, the physical layer parameters at least include:
PF/CTLE parameter of high-pass filter/linear equalizer, VGA parameter of variable gain amplifier, DCO parameter of direct current bias voltage, DFE parameter of decision feedback equalizer.
According to a second aspect of the present application, there is provided an optical interface calibration apparatus, which is applied to a forwarding device, and includes:
a determining unit, configured to determine whether an optical module corresponding to an optical interface of the device receives an effective optical signal;
and the resetting unit is used for resetting the optical interface receiving end of the optical interface if the optical module receives the effective optical signal, so that the optical interface receiving end after resetting calibrates the physical layer parameter of the optical interface receiving end based on the effective electric signal converted from the effective optical signal by the optical module.
Optionally, the apparatus further comprises:
and the maintaining unit is used for maintaining the reset state of the optical interface receiving end if the optical module receives an invalid optical signal or does not receive an optical signal.
Optionally, the determining unit is specifically configured to determine states of a receive end signal LOSs RX LOS register and a clock data recovery CDR register of the optical module; if the state of the RX LOS register is the state of receiving an optical signal and the state of the CDR register is the locking state, determining that the optical module receives an effective optical signal; if the state of the RX LOS register is a state of not receiving an optical signal and the state of the CDR register is a non-locking state, determining that the optical module does not receive the optical signal; and if the state of the RX LOS register is the state of receiving the optical signal and the state of the CDR register is the non-locking state, determining that the optical module receives an invalid optical signal.
Optionally, the apparatus further comprises:
a maintaining unit, configured to determine that the RX LOS register, the CDR register, or the optical module is abnormal and maintain a reset state of the optical interface receiving end if the state of the RX LOS register is a state in which an optical signal is not received and the state of the CDR register is a locked state.
Optionally, the determining unit is further specifically configured to determine whether an optical module corresponding to the optical interface on the device receives a valid optical signal after detecting that the optical module corresponding to the optical interface is inserted into the device.
Optionally, the physical layer parameters at least include: PF/CTLE parameter of high-pass filter/linear equalizer, VGA parameter of variable gain amplifier, DCO parameter of direct current bias voltage, DFE parameter of decision feedback equalizer.
Because the reset operation of the optical interface is executed only when the optical module is determined to receive the effective optical signal, so that the optical interface can calibrate the receiving end of the optical interface by using the effective electrical signal converted from the effective optical signal, the method can avoid resetting the receiving end of the optical interface when the optical module receives the ineffective optical signal, and further can avoid the optical interface from calibrating the receiving end of the optical interface after the reset operation by using the ineffective electrical signal converted from the ineffective optical signal, thereby solving the problem of inaccurate calibration of the receiving end of the optical interface caused by the receiving of the ineffective optical signal by the optical module, and effectively improving the calibration accuracy of the receiving end of the optical interface.
Drawings
Fig. 1 is a diagram illustrating a hardware architecture of a forwarding device according to an exemplary embodiment of the present application;
FIG. 2 is a flow chart illustrating a method for calibrating an optical interface according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram illustrating a method for calibrating an optical interface according to an exemplary embodiment of the present application;
fig. 4 is a block diagram of an optical interface calibration apparatus according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
An RX LOS (Receiver LOSs of Signal) register is arranged inside the optical module to identify whether the optical module receives an optical Signal. When the optical module receives an optical signal, the RX LOS register is in a state of receiving the optical signal, and when the optical module does not receive the optical signal, the RX LOS register is in a state of not receiving the optical signal. Therefore, whether the optical module receives the optical signal can be judged by the value of the RX LOS register.
The traditional way to calibrate the receiving end of the optical interface is: when the optical module is inserted into the forwarding device, the forwarding device determines the state of an RX LOS register in the optical module, and performs a reset operation on an optical interface receiving end corresponding to the optical module if the state of the RX LOS register is a received optical signal state. After the resetting operation, the optical module is used for converting the optical signal into an electric signal to calibrate the receiving end of the optical interface.
However, some optical modules do not have interference rejection capability, and these optical modules without interference rejection capability still perform photoelectric conversion and output invalid electrical signals when receiving invalid optical signals. Such a nulling electrical signal corresponds to a noise signal. If the receiving end of the optical interface uses the invalid electrical signal to perform the calibration operation, the calibration is extremely inaccurate.
Therefore, the problems that arise with the above approach are: when the optical module receives an invalid optical signal, the state of the RX LOS register is still set to be the state of receiving the optical signal, the forwarding device performs a reset operation on the receiving end of the optical interface, and calibrates the receiving end of the optical interface by using an invalid electrical signal output by the optical module (the optical module converts the invalid optical signal into the invalid electrical signal), so that the calibration of the receiving end of the optical interface is inaccurate, and the optical interface cannot work normally.
In view of this, the present application provides an optical interface calibration method, in which a forwarding device may determine whether an optical module receives an effective optical signal, and if the optical module receives the effective optical signal, the forwarding device resets an optical interface receiving end corresponding to the optical module, and calibrates the receiving end of the optical interface by using an effective electrical signal converted from the effective optical signal by the optical module.
Because the reset operation of the optical interface is executed only when the optical module is determined to receive the effective optical signal, so that the optical interface can calibrate the receiving end of the optical interface by using the effective electrical signal converted from the effective optical signal, the method can avoid resetting the receiving end of the optical interface when the optical module receives the ineffective optical signal, and further can avoid the optical interface from calibrating the receiving end of the optical interface after the reset operation by using the ineffective electrical signal converted from the ineffective optical signal, thereby solving the problem of inaccurate calibration of the receiving end of the optical interface caused by the receiving of the ineffective optical signal by the optical module, and effectively improving the calibration accuracy of the receiving end of the optical interface.
Before introducing the optical interface calibration method provided by the present application, a hardware structure of the forwarding device of the present application is introduced.
Referring to fig. 1, fig. 1 is a diagram illustrating a hardware architecture of a forwarding device according to an exemplary embodiment of the present application.
The repeater 101 includes a repeater chip 102, an optical interface 103, and an optical module 104. The forwarding chip 102 includes an optical interface 103, and the optical interface 103 is adapted to the optical module 104. The optical interface 103 includes an optical interface receiving end and an optical interface transmitting end. The optical interface receiving end is used for receiving messages, and the optical interface sending end is used for sending messages.
The optical module 104 is a pluggable component, and the main function of the optical module 104 is photoelectric conversion. When the forwarding device 101 sends a message through the sending end of the optical interface 103, the optical module 104 adapted to the optical interface 103 needs to convert the message electrical signal into an optical signal, and send the optical signal out through an optical fiber. When the forwarding device 101 receives a message through a receiving end of the optical interface 103, the optical module 104 adapted to the optical interface 103 needs to convert an optical signal from an optical fiber into an electrical signal and send the electrical signal to the receiving end of the optical interface.
The optical module 104 includes at least an RX LOS register 105 and a CDR (Clock Data Recovery) register 106. Of course, in practical applications, other hardware such as a photoelectric conversion circuit may be included in optical module 104, which is only an example and does not specifically limit the hardware included in optical module 104.
As shown above, the RX LOS register 105 is used to represent whether the optical module receives an optical signal, and when the optical module receives the optical signal, the state of the RX LOS register 105 is the state of receiving the optical signal; when the optical module does not receive an optical signal, the state of the RX LOS register 105 is a state in which an optical signal is not received.
The CDR register 106 is also used to characterize whether the optical module receives an optical signal, and unlike the RX LOS register 105: when the optical module receives a valid optical signal, the state of the CDR register 106 is a locked state, and when the optical module does not receive an optical signal or the optical module receives an invalid optical signal, the state of the CDR register is an unlocked state.
In addition, the forwarding device 101 refers to a device having a message forwarding function, and may include a router, a switch, and the like, and here, the forwarding device is only exemplarily described, and the forwarding device is not specifically limited.
It should be noted that, in practical applications, the forwarding device 101 may include a plurality of forwarding chips, each of which may include a plurality of optical interfaces, and each of the optical interfaces corresponds to one optical module, and fig. 1 is only an exemplary illustration and does not limit the number of forwarding chips in the forwarding device and the number of optical interfaces on the forwarding chips.
Referring to fig. 2, fig. 2 is a flowchart illustrating an optical interface calibration method according to an exemplary embodiment of the present application. The method can be applied to a forwarding device and can comprise the following steps.
Step 201: the forwarding device can determine whether the optical module corresponding to the optical interface on the device receives a valid optical signal.
In an optional implementation manner, when the forwarding device detects that an optical module corresponding to an optical interface of the forwarding device is inserted into the forwarding device, the forwarding device may determine whether the optical module receives a valid optical signal.
Typically, the optical module has an RX LOS register and a CDR register inside.
The RX LOS register is used for representing whether the optical module receives an optical signal, and when the optical module receives the optical signal, the RX LOS register is in a state of receiving the optical signal; when the optical module does not receive the optical signal, the RX LOS register is in a state of not receiving the optical signal.
The CDR register is also used to characterize whether the optical module receives an optical signal, unlike RX LOS register 105: when the optical module receives a valid optical signal, the state of the CDR register 106 is a locked state, and when the optical module does not receive an optical signal or the optical module receives an invalid optical signal, the state of the CDR register is an unlocked state.
Because the RX LOS register and the CDR register have the above characteristics, the present application can determine whether the optical module receives a valid optical signal by detecting the state of the RX LOS register and the state of the CDR register.
In particular, the repeater device may access the status of the RX LOS register and CDR register inside the optical module through a specific interface (such as the I2C interface, etc.).
If the state of the RX LOS register is the state of receiving an optical signal and the state of the CDR register is the locking state, determining that the optical module receives an effective optical signal;
if the state of the RX LOS register is a state of not receiving an optical signal and the state of the CDR register is a non-locking state, determining that the optical module does not receive the optical signal;
and if the state of the RX LOS register is the state of receiving the optical signal and the state of the CDR register is the non-locking state, determining that the optical module receives an invalid optical signal.
If the state of the RX LOS register is a state in which an optical signal is not received and the state of the CDR register is a locked state, it is determined that the RX LOS register, the CDR register, or the optical module is abnormal, and a reset state of the optical interface receiving end is maintained.
The state of the RX LOS register and the state of the CDR register are used for judging, so that the condition that the optical module receives the optical signal can be determined to be more accurate by the forwarding equipment,
in addition, the condition that the RX LOS register, the CDR register or the optical module is abnormal can be judged according to the states of the RX LOS register and the CDR register, so that the problem that the calibration of an optical interface receiving end is influenced by resetting misoperation caused by the abnormity of the RX LOS register, the CDR register or the optical module is effectively solved.
Step 202: if the optical module receives the effective optical signal, the forwarding device can reset the optical interface receiving end of the optical interface, so that the reset optical interface receiving end can calibrate the physical layer parameter of the optical interface receiving end based on the effective electrical signal converted from the effective optical signal by the optical module.
The physical layer parameters are mainly used for measuring the reliability of receiving messages by the receiving end of the optical interface. The physical layer parameters at least include: PF/CTLE (peak Filter/Continuous Time Linear Equalizer) parameters, VGA (Variable Gain Amplifier) parameters, DCO (direct current Offset) parameters, and DFE (Decision Feedback Equalizer) parameters. Here, the physical layer parameter is only exemplified and is not specifically limited.
When the optical module receives the effective optical signal, the forwarding device can reset the optical interface receiving end.
If the optical module does not receive the optical signal or the optical module receives an invalid optical signal, the forwarding device can maintain the reset state of the optical interface receiving end.
If the forwarding device determines that the RX LOS register, the CDR register, or the optical module is abnormal, the forwarding device may maintain the reset state of the optical interface receiving end.
Before an optical module is inserted into the device, the optical interface receiving end corresponding to the optical module is in a reset state, and the reset state is a state in which the optical interface receiving end is not operated. In the reset state, the receiving end of the optical interface does not perform the calibration operation. When the forwarding device resets the optical interface receiving end (in other words, starts the optical interface receiving end), the optical interface receiving end can perform calibration operation.
The optical module can convert the received effective optical signal into an effective electrical signal and send the effective electrical signal to an optical interface receiving end adapted to the optical module. After the optical interface receiving end is reset, the optical interface receiving end can utilize the effective electric signal to calibrate the physical layer parameters of the optical interface receiving end.
Specifically, the optical interface receiving end may calibrate the PF parameter or the CTLE parameter according to the effective electrical signal to compensate for an influence caused by ISI (Inter-symbol interference). Then, the receiving end of the optical interface can calibrate the VGA parameter according to the amplitude value of the effective electric signal. Then, the optical interface receiving end can calibrate the DCO parameter according to the valid electrical signal. Finally, the receiving end of the optical interface calibrates DFE parameters according to the effective electric signal.
The calibrated physical layer parameters are only exemplarily described herein, and are not specifically limited. In addition, the order of calibrating these physical layer parameters is not specifically limited in this application.
As can be seen from the above description, on the one hand, since the resetting operation of the optical interface is performed only when it is determined that the optical module receives the valid optical signal, so that the optical interface can calibrate the optical interface receiving end by using the valid electrical signal converted from the valid optical signal, the present application can avoid performing the resetting operation on the optical interface receiving end when the optical module receives the invalid optical signal, and further can avoid the optical interface calibrating the optical interface receiving end after the resetting operation by using the invalid electrical signal converted from the invalid optical signal, thereby solving the problem of inaccurate calibration of the optical interface receiving end caused by the optical module receiving the invalid optical signal, and effectively improving the calibration accuracy of the optical interface receiving end.
On the other hand, the method and the device can not only determine that the optical module receives the effective optical signal, but also respectively determine that the optical module does not receive the optical signal and that the optical module receives the ineffective optical signal, so that the description granularity for describing the condition that the optical module receives the optical signal is finer, the forwarding device can determine that the condition that the optical module receives the optical signal at the moment is more accurate,
the optical interface calibration method provided by the present application is described in detail below by way of specific examples, with reference to fig. 3.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating an optical interface calibration method according to an exemplary embodiment of the present application.
In fig. 3, the forwarding device 301 includes a forwarding chip 302, and the forwarding chip 302 includes 2 optical interfaces, i.e., an optical interface 1 and an optical interface 2. The optical interface 1 corresponds to the optical module 1, and the optical interface 2 corresponds to the optical module 2.
The optical module 1 includes an RX LOS register 1 and a CDR register 1. The optical module 2 includes an RX LOS register 2 and a CDR register 2.
Hereinafter, the calibration of the optical interface receiving end of the optical interface 1 is taken as an example for explanation, and the calibration method of the optical interface receiving end of the optical interface 2 is the same as that of the optical interface 1, which is not described herein again.
Step 1: the forwarding device 301 determines the values of the RX LOS register 1 and the CDR register 1.
In implementation, when the repeater 301 detects that the optical module 1 corresponding to the optical interface 1 is inserted into the repeater 301, the repeater may access the state of the RX LOS register 1 and the state of the CDR register 1 inside the optical module 1 through a specific interface (e.g., I2C interface).
The RX LOS register 1 is in a state of receiving an optical signal, which indicates that the optical module 1 receives the optical signal, and the RX LOS register 1 is in a state of not receiving the optical signal, which indicates that the optical module 1 does not receive the optical signal.
The CDR register 1 is in a locked state, which indicates that the optical module 1 receives an effective optical signal, and the CDR register 1 is in an unlocked state, which indicates that the optical module 1 receives an ineffective optical signal or that the optical module 1 does not receive an optical signal.
Step 2: the forwarding device 301 may determine whether to perform a reset operation on the optical interface receiving end of the optical interface 1 according to the status of the RX LOS register 1 and the CDR register 1.
In implementation, it is assumed that the RX LOS register is in a state of not receiving an optical signal, which is represented by a value 1, the RX LOS register is in a state of receiving an optical signal, which is represented by a value 0, the CDR register is in a locked state, which is represented by a value 1, and the CDR register is in an unlocked state, which is represented by a value 0.
As shown in table 1, table 1 is a truth table of values of RX LOS register 1 and CDR register 1 and the optical interface receiving end reset condition of the optical interface 1.
Figure GDA0002393163800000111
TABLE 1
Where "0" and "1" in table 1 corresponding to RX LOS register 1 and CDR register 1 represent the status of RX LOS register 1 and CDR register 1. The value of the reset item at the receiving end of the optical interface is 1, which indicates that the reset state of the receiving end of the optical interface is maintained. When the value of the reset item at the optical interface receiving end is 0, the optical interface receiving end of the optical interface 1 is reset.
In implementation, as shown in table 1, if the value of RX LOS register 1 is 0 and the value of CDR register 1 is 1, it indicates that the optical module receives an effective optical signal, and at this time, the forwarding device 301 may reset the optical interface receiving end of the optical interface 1.
If the value of the RX LOS register 1 is 1 and the value of the CDR register 1 is 0, it indicates that the optical module 1 does not receive the optical signal, and at this time, the forwarding device 301 may maintain the reset state of the optical interface receiving end of the optical interface 1.
If the value of the RX LOS register 1 is 0 and the value of the CDR register 1 is 0, it indicates that the optical module 1 receives an invalid optical signal, and at this time, the forwarding device 301 may maintain the reset state of the optical interface receiving end of the optical interface 1.
If the value of the RX LOS register 1 is 1 and the value of the CDR register 1 is 1, indicating that the optical module 1, or the RX LOS register 1 or the CDR register 1 is abnormal, at this time, the forwarding device 301 may maintain the reset state of the optical interface receiving end of the optical interface 1.
It should be noted that, when the value of the RX LOS register 1 is 1, it indicates that the optical module 1 receives an optical signal, and when the value of the CDR register 1 is 1, it indicates that the optical module 1 receives an effective optical signal, under normal conditions, the value of the RX LOS register 1 is 1 and the value of the CDR register 1 is 1, which may not exist simultaneously, but in practical applications, when the two exist simultaneously, it indicates that the LOS RX register 1, the CDR register 1, or the optical module 1 is abnormal.
The method adopts the value combination of the RX LOS register and the CDR register to judge the condition that the optical module 1 receives the optical signal, not only can determine that the optical module receives an effective optical signal, but also can respectively determine that the optical module does not receive the optical signal and that the optical module receives an ineffective optical signal, so that the description granularity for describing the condition that the optical module receives the optical signal is thinner, thereby the forwarding equipment 301 determines that the condition that the optical module receives the optical signal at the moment is more accurate,
in addition, the condition that the RX LOS register, the CDR register or the optical module is abnormal can be judged through the values of the RX LOS register and the CDR register, so that the problem that the calibration of an optical interface receiving end is influenced due to resetting misoperation caused by the abnormity of the RX LOS register, the CDR register or the optical module is effectively solved.
And step 3: if the optical interface receiving end of the optical interface 1 is subjected to the reset operation. The optical interface receiving end of the optical interface 1 can calibrate the physical layer parameters of the optical interface receiving end based on the effective electrical signal output by the optical module 1.
Specifically, when receiving an optical signal, the optical module performs photoelectric forwarding to convert the optical signal into an electrical signal. When the optical interface receiving end of the optical interface 1 is reset, the optical interface receiving end can calibrate physical layer parameters such as PF/CLTE parameters, VGA parameters, DCO parameters, DFE parameters, and the like based on an effective electrical signal converted from a received effective optical signal (the resetting of the optical interface receiving end indicates that the optical signal received by the optical module 1 is an effective optical signal) by the optical module 1.
If the optical interface receiving end of the optical interface 1 is still in the reset state, no calibration operation is performed.
Since the reset operation of the optical interface receiving end of the optical interface 1 is performed only when the optical module 1 is determined to receive the effective optical signal, the optical interface receiving end can calibrate the optical interface receiving end by using the effective electrical signal converted from the effective optical signal, the problem that the optical interface receiving end is inaccurate in calibration due to the fact that the optical module receives the ineffective optical signal can be solved, and the calibration accuracy of the optical interface receiving end can be effectively improved.
Referring to fig. 4, fig. 4 is a block diagram illustrating an optical interface calibration apparatus according to an exemplary embodiment of the present application. The device can be applied to a forwarding device and can comprise the following units.
A determining unit 401, configured to determine whether an optical module corresponding to an optical interface of the present apparatus receives a valid optical signal;
a resetting unit 402, configured to, if the optical module receives an effective optical signal, reset an optical interface receiving end of the optical interface, so that the optical interface receiving end after resetting calibrates a physical layer parameter of the optical interface receiving end based on an effective electrical signal converted from the effective optical signal by the optical module.
Optionally, the apparatus further comprises:
a maintaining unit 403, configured to maintain a reset state of the optical interface receiving end if the optical module receives an invalid optical signal or does not receive an optical signal.
Optionally, the determining unit 401 is specifically configured to determine states of a receive end signal LOSs RX LOS register and a clock data recovery CDR register of the optical module; if the state of the RX LOS register is the state of receiving an optical signal and the state of the CDR register is the locking state, determining that the optical module receives an effective optical signal; if the state of the RXLOS register is a state that an optical signal is not received and the state of the CDR register is a non-locking state, determining that the optical module does not receive the optical signal; and if the state of the RX LOS register is the state of receiving the optical signal and the state of the CDR register is the non-locking state, determining that the optical module receives an invalid optical signal.
Optionally, the apparatus further comprises:
a maintaining unit 403, configured to determine that the RX LOS register, the CDR register, or the optical module is abnormal and maintain a reset state of the optical interface receiving end if the state of the RX LOS register is a state in which an optical signal is not received and the state of the CDR register is a locked state.
Optionally, the determining unit 401 is further specifically configured to determine whether an optical module corresponding to the optical interface on the device receives a valid optical signal after detecting that the optical module corresponding to the optical interface is inserted into the device.
Optionally, the physical layer parameters at least include: PF/CTLE parameter of high-pass filter/linear equalizer, VGA parameter of variable gain amplifier, DCO parameter of direct current bias voltage, DFE parameter of decision feedback equalizer.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (12)

1. An optical interface calibration method, applied to a forwarding device, includes:
determining whether an optical module corresponding to an optical interface of the device receives an effective optical signal;
if the optical module receives the effective optical signal, the optical interface receiving end of the optical interface is reset, so that the optical interface receiving end after resetting calibrates the physical layer parameter of the optical interface receiving end based on the effective electric signal converted from the effective optical signal by the optical module;
determining whether an optical module corresponding to the optical interface receives a valid optical signal, comprising:
determining the states of a receiving end signal LOSs RX LOS register and a clock data recovery CDR register of the optical module;
and if the state of the RX LOS register is the state of receiving the optical signal and the state of the CDR register is the locking state, determining that the optical module receives the effective optical signal.
2. The method of claim 1, further comprising:
and if the optical module receives an invalid optical signal or does not receive an optical signal, maintaining the reset state of the optical interface receiving end.
3. The method of claim 1, further comprising:
if the state of the RX LOS register is a state of not receiving an optical signal and the state of the CDR register is a non-locking state, determining that the optical module does not receive the optical signal;
and if the state of the RX LOS register is the state of receiving the optical signal and the state of the CDR register is the non-locking state, determining that the optical module receives an invalid optical signal.
4. The method of claim 3, further comprising:
if the state of the RX LOS register is a state in which an optical signal is not received and the state of the CDR register is a locked state, it is determined that the RX LOS register, the CDR register, or the optical module is abnormal, and a reset state of the optical interface receiving end is maintained.
5. The method of claim 1, wherein determining whether a valid optical signal is received by an optical module corresponding to an optical interface on the device comprises:
and after detecting that the optical module corresponding to the optical interface is inserted into the equipment, determining whether the optical module corresponding to the optical interface on the equipment receives an effective optical signal.
6. The method of claim 1, wherein the physical layer parameters comprise at least:
PF/CTLE parameter of high-pass filter/linear equalizer, VGA parameter of variable gain amplifier, DCO parameter of direct current bias voltage, DFE parameter of decision feedback equalizer.
7. An optical interface calibration apparatus, applied to a forwarding device, comprising:
a determining unit, configured to determine whether an optical module corresponding to an optical interface of the device receives an effective optical signal;
a reset unit, configured to reset an optical interface receiving end of the optical interface if the optical module receives an effective optical signal, so that the reset optical interface receiving end calibrates a physical layer parameter of the optical interface receiving end based on an effective electrical signal converted from the effective optical signal by the optical module;
the determining unit is specifically configured to determine states of a receive end signal LOSs RX LOS register and a clock data recovery CDR register of the optical module; and if the state of the RX LOS register is the state of receiving the optical signal and the state of the CDR register is the locking state, determining that the optical module receives the effective optical signal.
8. The apparatus of claim 7, further comprising:
and the maintaining unit is used for maintaining the reset state of the optical interface receiving end if the optical module receives an invalid optical signal or does not receive an optical signal.
9. The apparatus of claim 7, wherein the determining unit is further configured to determine that the optical module has not received an optical signal if the status of the RX LOS register is a status of not receiving an optical signal and the status of the CDR register is an unlocked status; and if the state of the RX LOS register is the state of receiving the optical signal and the state of the CDR register is the non-locking state, determining that the optical module receives an invalid optical signal.
10. The apparatus of claim 9, further comprising:
a maintaining unit, configured to determine that the RX LOS register, the CDR register, or the optical module is abnormal and maintain a reset state of the optical interface receiving end if the state of the RX LOS register is a state in which an optical signal is not received and the state of the CDR register is a locked state.
11. The apparatus according to claim 7, wherein the determining unit is further specifically configured to determine whether an optical module corresponding to the optical interface on the device receives a valid optical signal after detecting that the optical module corresponding to the optical interface is inserted into the device.
12. The apparatus of claim 7, wherein the physical layer parameters comprise at least: PF/CTLE parameter of high-pass filter/linear equalizer, VGA parameter of variable gain amplifier, DCO parameter of direct current bias voltage, DFE parameter of decision feedback equalizer.
CN201811279060.6A 2018-10-30 2018-10-30 Optical interface calibration method and device Active CN109302230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811279060.6A CN109302230B (en) 2018-10-30 2018-10-30 Optical interface calibration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811279060.6A CN109302230B (en) 2018-10-30 2018-10-30 Optical interface calibration method and device

Publications (2)

Publication Number Publication Date
CN109302230A CN109302230A (en) 2019-02-01
CN109302230B true CN109302230B (en) 2020-09-08

Family

ID=65145145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811279060.6A Active CN109302230B (en) 2018-10-30 2018-10-30 Optical interface calibration method and device

Country Status (1)

Country Link
CN (1) CN109302230B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225423B (en) * 2019-06-28 2021-10-22 苏州浪潮智能科技有限公司 Method, apparatus and medium for adaptive optical signal rate for switch system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916191A (en) * 2012-12-31 2014-07-09 上海贝尔股份有限公司 Method and apparatus for optical access network
CN105634611A (en) * 2016-01-08 2016-06-01 华为技术有限公司 Optical module and signal processing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144018A (en) * 2013-05-10 2014-11-12 中兴通讯股份有限公司 Optical receiving device and method and optical receiving and emitting integrated module

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916191A (en) * 2012-12-31 2014-07-09 上海贝尔股份有限公司 Method and apparatus for optical access network
CN105634611A (en) * 2016-01-08 2016-06-01 华为技术有限公司 Optical module and signal processing method

Also Published As

Publication number Publication date
CN109302230A (en) 2019-02-01

Similar Documents

Publication Publication Date Title
JP4782667B2 (en) Optical receiver
EP2609697B1 (en) Scalable high speed gigabit active bundle link and tester
US20200313841A1 (en) Method for measuring and correcting multi-wire skew
US11316726B2 (en) Calibration for mismatch in receiver circuitry with multiple samplers
CA2327040A1 (en) Method and apparatus for regenerating data
EP2768175A1 (en) Pattern-Based Loss Of Signal Detector
US20080080609A1 (en) Method and apparatus for non-linear decision-feedback equalization in the presence of asymmetric channel
US11627022B2 (en) Variable gain amplifier and sampler offset calibration without clock recovery
US20070230364A1 (en) Signal degrade detecting method, signal restoration detecting method, devices for those methods, and traffic transmission system
US20160173295A1 (en) device and measuring method for ascertaining the internal delay time of a can bus connection unit
WO2008042475A1 (en) Method and apparatus for determining latch position for decision-feedback equalization using single-sided eye
CN109302230B (en) Optical interface calibration method and device
US8885695B1 (en) Receiver circuit
US20080146181A1 (en) Design structure for data communications systems
US8432960B2 (en) Digital adaptive channel equalizer
US20220393914A1 (en) Explicit solution for dfe optimization with constraints
JP2020188295A (en) Receiver circuit, receiver, and reception control method
US7671602B1 (en) Method and apparatus for cross-point detection
US20030048859A1 (en) Receiver for high bitrate binary signals
US5809072A (en) Mixed signal adaptive equalizer
JP2011244365A (en) Optical transport analyzer
US8774042B2 (en) Communication apparatus with transmitted rate detecting function and method thereof
KR102466086B1 (en) Signal Integrity Diagnostic Routines for Communication Channels
JP5260710B2 (en) Optical receiver
WO2022267699A1 (en) Abnormal positioning method, device and system, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant