CN101292450A - Optical transceiver with customized logging mechanism - Google Patents
Optical transceiver with customized logging mechanism Download PDFInfo
- Publication number
- CN101292450A CN101292450A CNA2006800384999A CN200680038499A CN101292450A CN 101292450 A CN101292450 A CN 101292450A CN A2006800384999 A CNA2006800384999 A CN A2006800384999A CN 200680038499 A CN200680038499 A CN 200680038499A CN 101292450 A CN101292450 A CN 101292450A
- Authority
- CN
- China
- Prior art keywords
- optical transceiver
- transceiver
- microcode
- information
- laser
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Optical Communication System (AREA)
Abstract
Description
技术领域 technical field
本发明总体上涉及光收发器。更具体地,本发明涉及这样的光收发器,其可以通过来自主机计算系统的输入被配置成执行运行信息的定制记录。The present invention generally relates to optical transceivers. More particularly, the present invention relates to optical transceivers that can be configured, through input from a host computing system, to perform custom logging of operational information.
背景技术 Background technique
计算和组网技术已经改变了我们的世界。随着通过网络传播的信息量增加,高速传输变得更加重要。许多高速数据传输网络依靠光收发器和类似的设备来方便在光纤上以光信号的形式实施的数字信号的发送和接收。因而可以在适中如小型局域网(LAN)到巨大如因特网的骨干网的各种高速应用中见到光网络。Computing and networking technologies have changed our world. As the amount of information traveling over a network increases, high-speed transmission becomes even more important. Many high-speed data transmission networks rely on optical transceivers and similar devices to facilitate the transmission and reception of digital signals implemented as optical signals over optical fibers. Optical networks can thus be seen in a wide variety of high-speed applications from modest, like small local area networks (LANs) to gigantic, backbone networks like the Internet.
通常,在这样的网络中的数据发送是通过光发射器(也被称为电光转换器)比如激光器或发光二极管(LED)来实现的。当电流通过时,电光转换器发光,所发出的光的强度是电流量值的函数。数据接收通常是通过光接收器(也被称为光电转换器)实现的,光接收器的一个例子是光电二极管。光电转换器接收光并产生电流,产生的电流的量值是接收的光的强度的函数。Typically, data transmission in such networks is accomplished by means of optical transmitters (also known as electro-optical converters) such as lasers or light emitting diodes (LEDs). When an electric current passes through it, the electro-optical converter emits light, and the intensity of the emitted light is a function of the magnitude of the electric current. Data reception is usually accomplished with an optical receiver (also known as a photoelectric converter), an example of which is a photodiode. A photoelectric converter receives light and generates an electrical current, the magnitude of which is a function of the intensity of the received light.
光收发器还使用各种其他的元件来辅助控制光发射和接收部件以及处理各种数据和其它信号。例如,这样的光收发器通常包括被配置成响应于各种控制输入而控制光发射器的运行的驱动器(例如,当用于驱动激光信号时被称为“激光驱动器”)。光收发器通常还包括被配置成相对于光接收器所接收的数据信号的特定参数执行各种操作的放大器(例如,经常被称为“后置放大器”)。控制电路(以下称为“控制器”)控制激光驱动器和后置放大器的操作。Optical transceivers also use various other components to assist in controlling the light transmitting and receiving components and in processing various data and other signals. For example, such optical transceivers typically include a driver (eg, referred to as a "laser driver" when used to drive a laser signal) configured to control the operation of the optical transmitter in response to various control inputs. Optical transceivers also typically include amplifiers (eg, often referred to as "post-amplifiers") that are configured to perform various operations with respect to certain parameters of the data signal received by the optical receiver. A control circuit (hereinafter referred to as "controller") controls the operation of the laser driver and post amplifier.
光收发器的运行易于受到它的运行环境和它的其它运行参数的影响。一个明显的例子是激光偏置电流。如果发射器偏置电流向上或向下漂移,可以预料,发射器所产生的光强度将变化。发射的光功率和接收的光功率也是重要的运行参数。提供给光收发器的电源电压电平也影响其性能。The operation of an optical transceiver is susceptible to its operating environment and its other operating parameters. An obvious example is laser bias current. If the emitter bias current drifts up or down, it can be expected that the intensity of light produced by the emitter will vary. The transmitted optical power and received optical power are also important operating parameters. The power supply voltage level supplied to an optical transceiver also affects its performance.
另外,温度会改变光收发器自身的运行特性。具体地,温度每改变一摄氏度,激光器的波长输出可能漂移大约0.3纳米(nm)到大约0.6纳米(nm)。因为激光器在运行期间产生热,这会对激光器的运行有显著的影响。波长变化会导致串扰,在串扰的情况下一个发射和另一个发射混在一起。此外,由变化的激光器温度引起的变化的波长可能导致不同的光纤衰减。因此,激光器的温度和波长对光收发器的正确运行有巨大的影响。In addition, temperature can change the operating characteristics of the optical transceiver itself. Specifically, the wavelength output of a laser may drift by about 0.3 nanometers (nm) to about 0.6 nanometers (nm) per degree Celsius change in temperature. Because the laser generates heat during operation, this can have a significant effect on the operation of the laser. Wavelength variations can lead to crosstalk, in which one emission is mixed with another. In addition, varying wavelengths caused by varying laser temperatures may result in different fiber attenuation. Therefore, the temperature and wavelength of the laser have a huge impact on the correct operation of the optical transceiver.
光收发器自身的高温可能导致不仅激光器、而且还有光收发器内的其它电子部件的暂时性或者甚至永久性的故障。因此,光收发器的温度总体上对于光收发器的运行也是重要的。The high temperature of the optical transceiver itself may lead to temporary or even permanent failure of not only the laser, but also other electronic components within the optical transceiver. Therefore, the temperature of the optical transceiver as a whole is also important for the operation of the optical transceiver.
为了向光收发器和/或激光器提供适当的冷却或加热,特别是在性能高度依赖于温度的光收发器中,经常使用热电冷却器(TEC)。这样的TEC冷却器根据施加于该TEC冷却器的电流的方向和量值来进行加热或冷却。因此,TEC电流也是重要的运行参数。To provide proper cooling or heating to optical transceivers and/or lasers, especially in optical transceivers whose performance is highly temperature dependent, thermoelectric coolers (TECs) are often used. Such TEC coolers heat or cool depending on the direction and magnitude of the electrical current applied to the TEC cooler. Therefore, TEC current is also an important operating parameter.
因而这些不同的参数(例如激光器偏置电流、发射功率、接收功率、电源电压、激光器波长、激光器温度、收发器温度以及TEC电流等等)对于光收发器的运行是重要的。然而,因为没有持续地记录可能对于收发器为什么发生故障给出指示的重要事件的传统机制,当光收发器发生故障以后,经常难以诊断问题是什么。例如,如果光收发器的上限温度额定值是85摄氏度,则如果光收发器的温度达到110摄氏度,光收发器就可能发生故障或永久损坏。然而,事实发生后,很难发现光收发器经受了不适当的温度。Thus these various parameters (such as laser bias current, transmit power, receive power, supply voltage, laser wavelength, laser temperature, transceiver temperature, and TEC current, etc.) are important for the operation of optical transceivers. However, when an optical transceiver fails, it is often difficult to diagnose what the problem is because there is no conventional mechanism for continuously recording important events that might give an indication of why the transceiver failed. For example, if the upper limit temperature rating of an optical transceiver is 85 degrees Celsius, the optical transceiver may malfunction or be permanently damaged if the temperature of the optical transceiver reaches 110 degrees Celsius. However, after the fact, it can be difficult to find that the optical transceiver has been subjected to inappropriate temperatures.
因此,记录对于光收发器的运行是重要的事件的机制是有利的,从而使这些事件可以在后来用于了解光收发器运行时所处的情况。Therefore, it would be advantageous to have a mechanism for recording events that are important to the operation of the optical transceiver so that these events can be used later to understand the conditions under which the optical transceiver is operating.
发明内容 Contents of the invention
本领域的现有技术所带来的前述问题由本发明的原理所克服,本发明涉及用于光收发器的方法,光收发器被配置成基于来自主机计算系统(以下称为“主机”)的输入来定制记录关于光收发器的运行参数的信息,主机计算系统通信上耦合到光收发器。光收发器包括系统存储器和至少一个处理器。The aforementioned problems presented by the prior art in the field are overcome by the principles of the present invention, which relates to a method for an optical transceiver configured to The input is customized to record information about the operating parameters of the optical transceiver to which the host computing system is communicatively coupled. An optical transceiver includes system memory and at least one processor.
处理器执行系统存储器中的微代码。执行的微代码使得光收发器基于来自主机计算系统的输入来记录信息。The processor executes microcode in system memory. The microcode executed causes the optical transceiver to record information based on input from the host computing system.
来自主机的一个输入可以是记录类型标识。该标识使得光收发器确定要记录的特定类型的运行信息。运行信息可以包括运行数据,比如总运行时间、光收发器被启动的次数、启动之间的平均运行时间、遇到的错误情况的总数、遇到的一个或多个错误情况的标识、针对多个不同的错误类型对遇到的错误情况的数目进行的分类等等。运行信息也可以包括连同测量时间的运行测量值。测量的项可以包括激光器波长、激光器温度、电源电压、收发器温度、激光器偏置电流测量值、热电冷却器(TEC)电流测量值、发射器功率测量值、接收器功率测量值等等。One input from the host may be a record type identification. This identification enables the optical transceiver to determine the particular type of operational information to be recorded. The operational information may include operational data such as total operational time, number of times the optical transceiver was activated, average operational time between activations, total number of error conditions encountered, identification of one or more error conditions encountered, The different error types categorize the number of error conditions encountered, and so on. The operational information may also include operational measurements along with the time of measurement. Measured items may include laser wavelength, laser temperature, supply voltage, transceiver temperature, laser bias current measurements, thermoelectric cooler (TEC) current measurements, transmitter power measurements, receiver power measurements, and the like.
来自主机的另一个输入可以是记录位置标识。该标识使得光收发器将运行信息记录于特定的存储器位置。这些存储器位置可以是收发器上的永久存储器、主机计算系统的存储器、通过因特网或其它网络耦合到光收发器的远程评估中心或者任何其它可访问的存储位置。Another input from the host may be a record location identification. This identification causes the optical transceiver to record operational information in a specific memory location. These memory locations may be persistent storage on the transceiver, memory of a host computing system, a remote evaluation center coupled to the optical transceiver through the Internet or other network, or any other accessible storage location.
来自主机的输入也可以是动作标识。该标识使得光收发器在运行信息被记录时执行特定的任务。例如,当进行记录时,光收发器可以执行自诊断。Input from the host can also be action identification. This identification causes the optical transceiver to perform a specific task when the operational information is recorded. For example, the optical transceiver may perform self-diagnostics while recording.
本发明另外的特点和优势将在以下描述中阐明,并且其部分地从说明书中显而易见,或者可以通过本发明的实践而认识到。本发明的特点和优势可以借助于在所附权利要求中具体指出的装置和组合而被认识和获得。本发明的这些和其它特点将从下面的说明书和所附权利要求中变得更加完全明显,或者可通过如下所述的本发明的实践被认识。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The features and advantages of the invention may be realized and obtained by means of the instruments and combinations particularly pointed out in the appended claims. These and other features of the invention will become more fully apparent from the following specification and appended claims, or may be learned by practice of the invention as described below.
附图说明 Description of drawings
为了进一步阐明本发明的以上和其它的优势和特点,将参考附图中图示的本发明的特定实施例来给出本发明更详细的描述。应当理解,这些附图描述的只是本发明的典型实施例,因此不应被认为是对本发明范围的限制。将通过附图的使用来更加具体和详细地描述和解释本发明。其中:In order to further clarify the above and other advantages and features of the present invention, a more detailed description of the present invention will be given with reference to specific embodiments of the invention illustrated in the accompanying drawings. It is to be understood that the drawings depict only typical embodiments of the invention and are therefore not to be considered limiting of the scope of the invention. The present invention will be described and explained in more detail and in detail through the use of the accompanying drawings. in:
图1图示了可以实现本发明的特点的光收发器的例子;Figure 1 illustrates an example of an optical transceiver that can implement the features of the present invention;
图2图示了图1的控制模块的例子;以及Figure 2 illustrates an example of the control module of Figure 1; and
图3示出了根据本发明的原理的光收发器定制记录运行信息的方法的流程图。Fig. 3 shows a flow chart of a method for customizing and recording operation information of an optical transceiver according to the principle of the present invention.
具体实施方式 Detailed ways
本发明的原理涉及一种基于来自主机计算系统(以下简称为“主机”)的输入来定制记录信息的光收发器。光收发器接收来自主机的输入,该输入涉及要记录哪些运行信息;运行信息可以包括与系统运行或者测量参数或者任何其它可测量的系统特性有关的统计数据。来自主机的输入也可以指定与标识的运行信息对应的一个或多个存储位置。如果指定了一个或多个存储位置,则光收发器将信息记录到对应的存储位置,该存储位置可以是收发器上的永久存储器、主机的存储器或任何其它可访问的记录位置。另外,来自主机的输入可以指定当标识的信息被记录时要执行的一个或多个动作。如果指定了一个或多个动作,则当信息被记录时,光收发器执行指定的动作。首先将描述一个运行光收发器环境的例子。然后将相对于所述运行环境来描述根据本发明的操作。The principles of the present invention relate to an optical transceiver that customizes logging information based on input from a host computing system (hereinafter referred to simply as the "host"). The optical transceiver receives input from the host as to what operational information is to be logged; operational information may include statistics related to system operation or measured parameters or any other measurable system characteristic. Input from the host may also specify one or more storage locations corresponding to the identified operational information. If one or more storage locations are specified, the optical transceiver records the information to the corresponding storage location, which may be persistent storage on the transceiver, the host's memory, or any other accessible recording location. Additionally, input from the host may specify one or more actions to be performed when the identified information is recorded. If one or more actions are specified, the optical transceiver performs the specified actions when the information is recorded. First, an example of operating an optical transceiver environment will be described. Operation according to the invention will then be described with respect to the operating environment.
图1示出了可以采用本发明的原理的光收发器100。虽然将以某种详细程度描述光收发器100,但光收发器100只是为了说明而被描述,而不是为了限制本发明的范围。本发明的原理适用于1G、2G、4G、8G、10G和更高带宽的光纤链路。此外,本发明的原理可以在任何形状因子如XFP、SFP以及SFF的光(例如激光)发射器/接收器中实现,没有限制。已经说过,本发明的原理完全不限于光收发器环境。Figure 1 shows an optical transceiver 100 in which the principles of the present invention may be employed. Although the optical transceiver 100 will be described in some detail, the optical transceiver 100 is described for the purpose of illustration only, and is not intended to limit the scope of the invention. The principles of the present invention are applicable to 1G, 2G, 4G, 8G, 10G and higher bandwidth optical fiber links. Furthermore, the principles of the present invention can be implemented in optical (eg laser) transmitter/receivers of any form factor such as XFP, SFP and SFF without limitation. Having said that, the principles of the present invention are not at all limited to the optical transceiver environment.
光收发器100利用接收器101从光纤110A接收光信号。接收器101通过将光信号转换为电信号而起到光电转换器的作用。接收器101将得到的电信号提供给后置放大器102。后置放大器102将信号放大并将放大后的信号提供给外部主机111,如箭头102A所示。外部主机111可以是能够与光收发器100通信的任何计算系统。外部主机111可以包含主机存储器112,主机存储器112可以是易失性或非易失性存储器源。在一个实施例中,光收发器100可以是主机111中的印刷电路板或其它部件/芯片,虽然这不是必需的。光收发器100也可以从主机111接收电信号以便传送到光纤110B上。具体地,激光驱动器103接收电信号,如箭头103A所示,并且用信号来驱动发射器104(例如激光器或发光二极管(LED)),所述信号使得发射器104将代表由主机111提供的电信号中的信息的光信号发射到光纤110B上。因此,发射器104用作电光转换器。Optical transceiver 100 utilizes
接收器101、后置放大器102、激光驱动器103以及发射器104的行为可以根据多种因素而动态改变。例如,温度变化、功率波动以及反馈情况每个都可以影响这些部件的性能。因此,光收发器100包括控制模块105,控制模块105可以评估温度和电压情况以及其它运行环境,并且从后置放大器102(如箭头105A所示)和激光驱动器103(如箭头105B所示)接收信息。这允许控制模块105优化动态改变的性能,并且另外检测何时有信号丢失。The behavior of
具体地,控制模块105可以通过调节后置放大器102和/或激光驱动器103上的设置(也如箭头105A和105B所示)来抵消这些变化。这些设置调节是非常断断续续的,因为只有当温度或电压或其它低频率变化使得需要这样时才进行这些调节。接收功率是一个这样的低频率变化的例子。Specifically,
控制模块105可以访问永久存储器106,在一个实施例中,永久存储器106是电可擦除可编程只读存储器(EEPROM)。永久存储器106和控制模块105可以一起被封装在同一个封装内或者不同的封装内,没有限制。永久存储器106也可以是任何其它非易性失存储器源。The
控制模块105包括模拟部分108和数字部分109。它们一起允许控制模块虽然仍主要利用模拟信号与光收发器100的其它部分进行对接,但是数字地实现逻辑。图2更详细地示意性地图示了控制模块105的例子200。控制模块200包括表示图1中模拟部分108的例子的模拟部分200A,以及表示图1中数字部分109的例子的数字部分200B。The
例如,模拟部分200A可以包含数模转换器、模数转换器、高速比较器(例如用于事件检测)、基于电压的复位发生器、电压调节器、电压基准、时钟发生器以及其它模拟部件。例如,除了由水平的省略号211D表示的潜在的其它部件以外,模拟部分200A包括传感器211A、211B、211C。这些传感器中的每一个可以负责测量可从控制模块200被测量的运行参数,例如,电源电压和收发器温度。控制模块也可以接收来自光收发器内的其它部件的外部模拟或数字信号,这些外部模拟或数字信号指示其它测量参数,例如激光器偏置电流、发射功率、接收功率、激光器波长、激光器温度和热电冷却器(TEC)电流。图示了两条用于接收这样的外部模拟信号的外部线212A和212B,尽管可以有许多这样的线。For example, analog portion 200A may contain digital-to-analog converters, analog-to-digital converters, high-speed comparators (eg, for event detection), voltage-based reset generators, voltage regulators, voltage references, clock generators, and other analog components. For example, analog portion 200A includes
内部传感器可以产生表示测量值的模拟信号。另外,外部提供的信号也可以是模拟信号。在这种情况下,模拟信号被转换为数字信号,从而可用于控制模块200的数字部分200B以便进行进一步处理。当然,每个模拟参数值可以有它自己的模数转换器(ADC)。然而,为了保持芯片空间,可以利用单个ADC,比如图示的ADC 214,以循环的方式周期性地对每个信号进行采样。在这种情况下,每个模拟值可以被提供给复用器213,复用器213以循环的方式一次选择所述模拟信号中的一个,以便由ADC 214进行采样。可替选地,复用器213可以被编程为允许模拟信号以任何顺序被ADC 214采样。An internal sensor can generate an analog signal representing the measured value. In addition, the externally supplied signal may also be an analog signal. In this case, the analog signal is converted into a digital signal, which can be used in the digital part 200B of the
如前面所提到的,控制模块200的模拟部分200A也可以包括其它模拟部件215,例如,数模转换器、其它模数转换器、高速比较器(例如用于事件检测)、基于电压的复位发生器、电压调节器、电压基准、时钟发生器以及其它模拟部件。As previously mentioned, the analog portion 200A of the
控制模块200的数字部分200B可以包括定时器模块202,定时器模块202提供数字部分200B所使用的各种定时信号。这样的定时信号可以包括例如可编程处理器时钟信号。定时器模块202也可以作为看门狗定时器。The digital portion 200B of the
还包括两个通用处理器203A和203B。处理器识别遵循特定指令集的指令,并且可以执行标准的通用操作,比如移位、分支、加、减、乘、除、布尔操作、比较操作等等。在一个实施例中,通用处理器203A和203B都是16位处理器,并且可以被同样地构造。指令集的精确结构对于本发明的原理不重要,因为指令集可以根据特定的硬件环境被优化,并且精确的硬件环境对于本发明的原理不重要。Also included are two
主机通信接口204用于与主机111通信,可利用两线接口,比如图1中示出为光收发器100上的串行数据(SDA)线和串行时钟(SCL)线的I2C,来实施主机通信接口204。也可以实施其它的主机通信接口。可以利用该主机通信接口将数据从控制模块105提供到主机111,以允许温度水平、发射/接收功率水平等等的数字诊断和读取。外部设备接口205用于与例如光收发器100内的其它模块如后置放大器102、激光驱动器103或永久存储器106等进行通信。The
内部控制器系统存储器206(不应与外部永久存储器106相混淆)可以是随机访问存储器(RAM)或非易失性存储器。存储器控制器207使处理器203A和203B中的每个、以及主机通信接口204和外部设备接口205共享对控制器系统存储器206的访问。在一个实施例中,主机通信接口204包括串行接口控制器201A,而外部设备接口205包括串行接口控制器201B。这两个串行接口控制器201A和201B可以利用两线接口如I2C或另外的接口来通信,只要所述另外的接口可被通信模块双方识别。一个串行接口控制器(例如串行接口控制器201B)是主部件,而另一个串行接口控制器(例如串行接口控制器201A)是从部件。Internal controller system memory 206 (not to be confused with external persistent memory 106 ) may be random access memory (RAM) or non-volatile memory.
输入/输出复用器208将控制器模块200的各个输入/输出引脚复用到控制器模块200内的各个部件。这使得不同的部件能够根据控制器模块200的现有运行情况来动态地分配引脚。因此,控制器模块200内的输入\输出节点可以比控制器模块200上可用的引脚多,从而减少控制器模块200的占位面积。The input/
已经相对于图1和图2描述了具体环境,应该理解,该具体环境只是可以采用本发明原理的无数架构中的一种。如前面所述,本发明的原理不是意在被限制于任何特定环境。Having described the specific environment with respect to Figures 1 and 2, it should be understood that this specific environment is but one of countless architectures in which the principles of the invention may be employed. As previously stated, the principles of the present invention are not intended to be limited to any particular environment.
因此,本发明的原理涉及一种光收发器,所述光收发器基于来自主机计算系统的输入,将运行信息定制记录到可能的记录位置,并且可选地在记录时执行一个或多个动作。定制记录允许用户指定要记录哪些运行信息,将信息记录到什么存储位置,以及记录时是否运行动作。用户从主机发送输入,从而指示想要什么记录任务。光收发器通过执行该输入指定的记录任务来响应该输入。Accordingly, the principles of the present invention relate to an optical transceiver that, based on input from a host computing system, custom-logs operational information to possible logging locations, and optionally performs one or more actions while logging . Custom logging allows the user to specify which run information to log, to what storage location the information is logged, and whether to run actions when logging. The user sends input from the host, indicating what logging task is desired. The optical transceiver responds to this input by performing the recording task specified by the input.
参考图3,该图示出了光收发器定制记录运行信息的方法300的流程图。该方法可以由关于图1和图2所描述的光收发器环境或由其它环境来执行。首先,光收发器执行系统存储器中的微代码(动作301)。该微代码可以从主机装载到系统存储器中。可替选地,微代码也可以从主机装载到永久存储器中,然后装载到系统存储器中。Referring to FIG. 3 , it shows a flow chart of a
微代码可以包含来自主机的指示希望的记录任务的各种输入。例如,所述输入可以是记录类型标识符310,其标识要记录什么运行信息。例如,用户可能希望只记录光收发器温度信息,或者用户可能希望记录所有的运行信息。可替选地,所述输入可以是记录位置标识符311,其标识将记录信息存储到什么存储位置。用户可以希望记录到一个存储位置或多个存储位置。另外,所述输入也可以是动作标识符312,其标识光收发器在记录时可以执行的动作。这三种类型的输入可以分别地、以不同的组合或一起被包括在微代码中。例如,用户可能希望将全部运行信息记录到两个存储位置上,但是在记录时不执行任何动作。在这种情况下,微代码将包括记录类型标识符310和记录位置标识符311,而不包括动作标识符312。如将被理解的,所述输入的不同组合在控制各种记录任务方面产生了极大的灵活性。The microcode may contain various inputs from the host indicating desired recording tasks. For example, the input may be a
参考图1和图2,光收发器100执行从主机接收到的微代码。具体地,处理器203A和203B将微代码从主机装载到控制器系统存储器206中。其中控制器系统存储器可以是RAM,其也可以是处理器、寄存器、触发器或其它存储器件。例如,处理器203A和203B可以装载由外部主机111提供、通过I2C接口或其它所实施的主机接口被传送到控制模块105的微代码。例如,外部主机存储器112可以包含具有不同微代码功能的库。用户可以与外部主机交互并且基于希望的记录任务来选择要运行哪一个微代码功能。可替选地,处理器203可以装载事先已经从主机发送到永久存储器106的微代码。另外,外部主机111可以被连接到因特网或一些其它的广域网,从而允许处理器203从远程的源获得微代码。该连接可以通过任何标准因特网或广域网协议来实现。Referring to FIGS. 1 and 2, the optical transceiver 100 executes microcode received from a host. Specifically,
再次参考图3的方法,所执行的微代码使得光收发器基于从主机接收的输入来记录关于光收发器的运行情况的信息(动作302)。如上所述,所述输入标识光收发器将执行什么样的记录任务。Referring again to the method of FIG. 3, the executed microcode causes the optical transceiver to record information about the operation of the optical transceiver based on input received from the host (act 302). As mentioned above, the input identifies what recording task the optical transceiver is to perform.
再次参考图1和图2,处理器203执行微代码指令,使得微代码在系统存储器206中形成功能性的记录器或另外地形成功能性的记录器。所述功能性的记录器有权访问光收发器的例如来自ADC 214或来自外部线212A和212B的各种运行参数。Referring again to FIGS. 1 and 2 , processor 203 executes the microcode instructions such that the microcode forms or otherwise forms a functional recorder in
记录器基于来自主机的定制输入来确定要记录哪些光收发器参数,所述定制输入可对应于记录类型标识符310,如前面所述。外部主机111可以装备有键盘或其它用户接口,其允许用户指示要记录哪些运行参数。例如,来自主机的输入可以指示所有的运行参数都要被记录。可替选地,来自主机的输入可以指示只有特定的运行参数、例如温度的波动要被记录。The recorder determines which optical transceiver parameters to record based on custom input from the host, which may correspond to a
记录器也可以被指示基于处理结果比如当前运行时间来记录数据。记录器也可以接收提供有关何时记录数据的条件的指令。例如,如果永久存储器大于40%满,则记录条件可以指定所有数据需要被记录,或者如果永久存储器20%满,则记录条件可以指定特定的运行参数需要被记录。Loggers can also be instructed to log data based on processing results such as the current runtime. Loggers can also receive instructions that provide conditions as to when to log data. For example, logging conditions may specify that all data needs to be logged if persistent storage is greater than 40% full, or that specific operating parameters need to be logged if persistent storage is 20% full.
可以被记录的运行信息可以包括统计信息,例如总运行时间、启动之间的平均运行时间、遇到的错误情况的总数、遇到的一个或多个错误情况的标识、针对多个错误类型对遇到的错误情况的数目进行的分类、光收发器被启动的次数等等。运行信息也可以简单地记录测量的运行参数以及大概的测量时间。这样的运行参数可以包括例如激光器波长近似值、激光器温度测量值、电源电压测量值、收发器温度测量值、激光器偏置电流测量值、热电冷却器(TEC)电流测量值、发射功率测量值、接收功率测量值、加速度测量值、峰值加速度测量值等等。Run information that may be logged may include statistical information such as total run time, average run time between starts, total number of error conditions encountered, identification of one or more error conditions encountered, Classified by the number of error conditions encountered, the number of times the optical transceiver was activated, and so on. Operational information can also simply record the measured operating parameters and the approximate measurement time. Such operating parameters may include, for example, approximate laser wavelength, measured laser temperature, measured supply voltage, measured transceiver temperature, measured laser bias current, measured thermoelectric cooler (TEC) current, measured transmit power, received Power measurements, acceleration measurements, peak acceleration measurements, and more.
除了被配置成记录特定的运行信息以外,光收发器100还可以被配置成将一些或全部所记录的信息存储到一个或多个指定的记录位置,比如主机存储器112、永久存储器106或位于收发器100上或收发器100以外的任何其它可以访问的记录位置。如上所述,不同的存储位置由从主机接收到的定制输入来指定,所述定制输入可对应于记录位置标识符311。例如,来自主机111的微代码可以指示所记录数据的至少一些部分通过SDA和SCL线或其它所实施的主机通信接口被发送到主机存储器112以便存储,从而允许用户访问和评估所述信息。另外,如果主机111连接到因特网或其它广域网,则被记录的信息可以利用任何标准的因特网或网络协议从主机存储器112被上载到远程评估中心。在这种情况下,如果发生光收发器故障,则各种记录项可以被评估以确定导致故障的可能原因。例如,如果记录了一个事件,其指示出光收发器经历了超过重力加速度(通常被表示为“G’s”)20倍的峰值加速度,则可以推断光收发器曾经跌落过。In addition to being configured to record specific operational information, optical transceiver 100 may also be configured to store some or all of the recorded information to one or more designated recording locations, such as
在另一个实施例中,光收发器100可以被配置成将所记录数据的至少一些部分发送到光收发器永久存储器106。如果该永久存储器106是分立的模块,例如EEPROM模块,则永久存储器106可以从光收发器100中被拔出,以评估它的存储器内容。可替选地,如果光收发器具有允许永久存储器106被读取的外部I/O接口,则永久存储器106可以在不从光收发器中被移除的情况下被评估。In another embodiment, the optical transceiver 100 may be configured to send at least some portions of the recorded data to the optical transceiver
在另一个实施例中,光收发器100可以被配置成将所有的记录数据发送到主机存储器112和收发器永久存储器106。这将允许从两个存储器源中的任何一个取回存储的数据并对所述存储的数据进行评估,并且一旦存储器源中的一个失效,这将创建备份。也可将控制模块105配置成将全部记录数据发送到主机存储器112并且将部分记录数据发送到永久存储器106。例如,永久存储器106可以用来永久地存储关于光收发器100的诊断信息。一旦外部主机111与光收发器100相分离,这将允许分析光收发器故障的可能原因。如可以理解的,存在许多可以使用的记录位置组合,给出的例子绝不是排他的。In another embodiment, optical transceiver 100 may be configured to send all logged data to host
除了确定要记录的运行信息和在哪里记录这些信息以外,光收发器100还可以被配置成当确定的信息被记录时,基于来自主机的对应于动作标识符312的输入来执行一个或多个指定的动作。例如,来自主机111的微代码可以指示当特定的信息被记录时,控制模块105执行针对被记录的信息的类型的自测试诊断程序。例如,如果检测到反常的激光器温度,则可以记录激光器温度并且可以执行对应的激光器的自测试诊断。这样,可以确定任何对应的错误或不正常的原因。In addition to determining what operational information to record and where to record the information, the optical transceiver 100 may also be configured to perform one or more actions based on input from the host corresponding to the
控制模块105还可以被配置成在特定的记录操作完成时产生状态报告或指示,从而允许用户访问和评估信息,所述特定记录操作的完成可以由主机111轮询到。这将给主机111一个关于光收发器100运行的窗口。The
另外一个可以被执行的动作的例子是“微代码段页面调度”。“微代码段页面调度”被限定为在环境使得需要这样时在外部主机与收发器之间来回传送微代码段的动作。Another example of an action that can be performed is "microcode segment paging". "Microcode segment paging" is defined as the act of transferring microcode segments back and forth between an external host and the transceiver when circumstances make this necessary.
当特定的记录事件发生时,响应于该记录事件,主机111可以被指示对微代码段进行页面调度。例如,如果上面提到的自测试诊断程序太大,以至于不能驻留在控制器系统存储器206或永久存储器106中,则可以指示主机111在特定的信息被记录时,通过SDA和SCL线或其它主机通信接口将执行自测试诊断的微代码段发送到控制模块105。然后控制模块105可以执行从主机111接收的微代码。When a particular logging event occurs, host 111 may be instructed to page microcode segments in response to the logging event. For example, if the above-mentioned self-test diagnostics are too large to reside in
具体地,处理器203将微代码从主机111装载到控制器系统存储器206中。可替选地,如果主机111最初将微代码发送到永久存储器106,则处理器203可以将存储在永久储存器106中的微代码装载到控制器系统存储器206中。处理器203执行微代码,使得收发器100执行指定的诊断。Specifically, processor 203 loads microcode from
一旦微代码已经被执行,如果环境使得需要这样,则控制器系统存储器206可以将微代码发送回主机存储器112。例如,在自测试诊断程序已经被运行后将该程序保持在控制器系统存储器206或永久存储器106中将浪费宝贵的收发器100存储器,特别是在程序只有在特定的错误发生时才被运行的情况下。收发器100可以被配置成识别自测试诊断过程的结束。当识别到该过程结束时,控制器系统存储器206可以通过I2C接口或其它所实施的主机接口将微代码发送到主机存储器112。可替选地,主机111可以被配置成将微代码发送到主机存储器112。该过程也可以应用于其它微代码。Once the microcode has been executed, the
将参考图1和图2中所描述的环境来描述本发明的一个具体实施例。假设控制器系统存储器206正执行微代码,所述微代码被构造成在70℃和80℃之间的运行温度执行收发器运行功能。利用本发明,可以在主机计算机111上指定记录类型标识符,以便当运行温度下降到低于70℃时开始记录运行温度信息。同该特定的记录类型标识符一起,可以指定存储位置,比如永久存储器106中的特定存储器位置。也可以通过对应于记录事件的主机计算机111来指定要执行的动作,比如执行温度控制器的自测试。然后该信息可以由光收发器100输入。A specific embodiment of the present invention will be described with reference to the environment depicted in FIGS. 1 and 2 . Assume that the
如前面所提到的,控制模块模拟部分200A包括传感器211,传感器211之一可以是温度传感器。假设运行温度下降到70℃以下。温度传感器将检测到这种情况并且传感器211将通过复用器213将代表温度的模拟信号发送到ADC 124。ADC 214会将模拟信号转换为数字信号并将其发送到处理器203。As previously mentioned, the control module analog portion 200A includes sensors 211, one of which may be a temperature sensor. Assume the operating temperature drops below 70°C. The temperature sensor will detect this and the sensor 211 will send an analog signal representing the temperature to the ADC 124 through the
基于来自传感器的数字化输入,处理器203将确定运行温度已经下降到低于70℃并且使得控制器207继续通过传感器211接收运行温度信息并且记录运行温度,以从主机计算机111下载的位置为起始位置,将其存储在永久存储器中。如果已经指定了自测试动作,则处理器203还将执行代码以执行自测试程序。如果得到指示,则当自测试程序完成时,主机计算机111就可以通过I2C接口或其它所实施的主机接口从处理器203得到此信息。Based on the digitized input from the sensor, the processor 203 will determine that the operating temperature has dropped below 70° C. and cause the
在一些实施例中,控制模块105可以包括一个或多个缺省的配置,所述缺省配置指示控制模块执行先前描述的各种记录功能,而无需主机111的输入。在这样的实施例中,可以在制造收发器100时确定缺省的配置。微代码可以由控制模块105执行,其导致缺省配置所指定的记录操作。如果需要,用户也可以指示主机111改变缺省的配置。In some embodiments, the
本发明的原理为光收发器提供了超过现有收发器的许多好处。具体地,本发明允许记录过程的直接用户控制。例如,用户能够基于记录器执行的微代码来选择要测量哪些收发器参数,以及将要记录的信息存储在哪里。这为用户处理所记录的信息提供了灵活性。因此,用户也能够容易地评估所记录的数据。在一些实施例中,可利用因特网或其它广域网来远程控制记录过程以及远程评估记录信息。在另一实施例中,用户可以指示一些记录信息即存储到主机存储器中又存储到收发器永久存储器中。这产生了冗余的备份,一旦两个存储器中有一个有故障,所述冗余的备份保证存储的数据得到保护。The principles of the present invention provide optical transceivers with numerous advantages over existing transceivers. In particular, the invention allows direct user control of the recording process. For example, the user is able to select which transceiver parameters to measure and where to store the logged information based on the microcode executed by the logger. This provides flexibility to the user in handling the recorded information. Therefore, the user can also easily evaluate the recorded data. In some embodiments, the Internet or other wide area network may be utilized to remotely control the recording process and remotely evaluate the recording information. In another embodiment, the user may instruct some logging information to be stored both in the host memory and in the transceiver persistent memory. This creates a redundant backup which ensures that the stored data is protected in the event of failure of one of the two memories.
另外,本发明允许用户指定当信息被记录时执行一个或多个动作。例如,在一个实施例中,用户可以指示当特定的信息被记录时,控制模块执行针对被记录信息的类型的自测试诊断程序。这允许更容易地确定错误及其基本原因。在另外一个实施例中,用户可以指示执行收发器外的微代码页面调度。以此方式,只有更可能被使用的微代码被装载到收发器系统存储器中。这允许用少量的收发器系统存储器实现大量的微代码段。因此,本发明的原理表现了光收发器领域的显著进步。Additionally, the present invention allows a user to specify one or more actions to be performed when information is recorded. For example, in one embodiment, a user may instruct that when certain information is logged, the control module executes a self-test diagnostic routine specific to the type of information logged. This allows for easier determination of errors and their underlying causes. In another embodiment, the user may direct microcode paging outside the transceiver to be performed. In this way, only microcode that is more likely to be used is loaded into transceiver system memory. This allows a large number of microcode segments to be implemented with a small amount of transceiver system memory. Thus, the principles of the present invention represent a significant advance in the field of optical transceivers.
本发明可以在不偏离其精神或本质特征的情况下以其它的具体形式被实施。所描述的实施例在各个方面都应被认为仅是说明性的而不是限制性的。因此,本发明的范围由所附权利要求而不是前述描述所确定。所有落入权利要求的等同方案的意思和范围内的改变应包括在这些权利要求的范围内。The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects as illustrative only and not restrictive. Accordingly, the scope of the invention is to be determined by the appended claims rather than the foregoing description. All changes that come within the meaning and range of equivalency of the claims are intended to be embraced within the scope of these claims.
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201511023154.3A CN105490747B (en) | 2005-09-16 | 2006-09-08 | Optical transceiver and its method with custom logging mechanism |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US71759405P | 2005-09-16 | 2005-09-16 | |
| US60/717,594 | 2005-09-16 | ||
| US11/468,246 | 2006-08-29 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201511023154.3A Division CN105490747B (en) | 2005-09-16 | 2006-09-08 | Optical transceiver and its method with custom logging mechanism |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN101292450A true CN101292450A (en) | 2008-10-22 |
Family
ID=40035684
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNA2006800384999A Pending CN101292450A (en) | 2005-09-16 | 2006-09-08 | Optical transceiver with customized logging mechanism |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101292450A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103152101A (en) * | 2012-01-11 | 2013-06-12 | 索尔思光电(成都)有限公司 | Operational state information generation in an optical transceiver |
| US8705973B2 (en) | 2004-09-07 | 2014-04-22 | Finisar Corporation | Optical transceiver with off-transceiver logging mechanism |
| CN109100116A (en) * | 2018-05-24 | 2018-12-28 | 烽火通信科技股份有限公司 | A kind of optical module fault diagnosis system and method |
| CN112019277A (en) * | 2016-10-14 | 2020-12-01 | 瞻博网络公司 | Optical transceiver with external laser source |
| CN117527064A (en) * | 2023-11-07 | 2024-02-06 | 浙江精连电子科技有限公司 | Optical fiber transceiver fault detection method and system |
-
2006
- 2006-09-08 CN CNA2006800384999A patent/CN101292450A/en active Pending
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8705973B2 (en) | 2004-09-07 | 2014-04-22 | Finisar Corporation | Optical transceiver with off-transceiver logging mechanism |
| CN103152101A (en) * | 2012-01-11 | 2013-06-12 | 索尔思光电(成都)有限公司 | Operational state information generation in an optical transceiver |
| CN103152101B (en) * | 2012-01-11 | 2016-04-06 | 索尔思光电(成都)有限公司 | Operational status information generation method in optical transceiver |
| CN112019277A (en) * | 2016-10-14 | 2020-12-01 | 瞻博网络公司 | Optical transceiver with external laser source |
| CN112019277B (en) * | 2016-10-14 | 2024-04-05 | 瞻博网络公司 | Optical transceiver with external laser source |
| CN109100116A (en) * | 2018-05-24 | 2018-12-28 | 烽火通信科技股份有限公司 | A kind of optical module fault diagnosis system and method |
| CN117527064A (en) * | 2023-11-07 | 2024-02-06 | 浙江精连电子科技有限公司 | Optical fiber transceiver fault detection method and system |
| CN117527064B (en) * | 2023-11-07 | 2025-06-06 | 浙江精连电子科技有限公司 | Optical fiber transceiver fault detection method and system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7653314B2 (en) | Optical transceiver with custom logging mechanism | |
| US8583395B2 (en) | Self-testing optical transceiver | |
| US8582974B2 (en) | Inter-transceiver module communication for firmware upgrade | |
| US8582978B2 (en) | Logging mechanism for an intelligent transmitter module | |
| US7634197B2 (en) | Compensation for temperature and voltage effects when monitoring parameters in a transceiver module | |
| US7920788B2 (en) | Optical transceiver with clock for providing maintenance and lifetime information | |
| US7826739B2 (en) | Determination and adjustment of laser modulation current in an optical transmitter | |
| US7509050B2 (en) | Microcode-driven self-calibration of optical transceivers to environmental conditions | |
| US7533254B2 (en) | Volatile memory persistence during warm reboot in an optical transceiver | |
| US7493048B2 (en) | Transceiver with persistent logging mechanism | |
| US8229301B2 (en) | Configuration of optical transceivers to perform custom features | |
| CN101292450A (en) | Optical transceiver with customized logging mechanism | |
| US7881616B2 (en) | Transceiver based loop back initiation | |
| US7835642B2 (en) | Optical transceiver module end of life indication | |
| US8705973B2 (en) | Optical transceiver with off-transceiver logging mechanism | |
| US20060159460A1 (en) | Programmable loss of signal detect hardware and method | |
| US7744291B2 (en) | Early self-validation of persistent memory during boot in an optical transceiver | |
| US7606486B2 (en) | Protocol specific transceiver firmware | |
| US8639122B2 (en) | Filtering digital diagnostics information in an optical transceiver prior to reporting to host | |
| US20090067848A1 (en) | Limited life transceiver | |
| US7350986B2 (en) | Microcode-driven programmable receive power levels in an optical transceiver | |
| US7957649B2 (en) | Module command interface for an optical transceiver | |
| KR20070022807A (en) | Filtering digital diagnostic information on the optical transceiver before reporting to the host |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20081022 |