Method and device for accessing optical module
A processing method and optical module technology, which is applied in the field of communication, can solve problems affecting system safety and reliability, and achieve the effect of improving reliability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] image 3 is a schematic diagram of the position of the protection module in the system according to Embodiment 1, such as image 3 As shown, before the implementation module of the traditional I2C sequence, a protection module (its function is similar to the judgment module in the above-mentioned optical module access processing device) is added, and the protection measures of the previous step are carried out before the I2C sequence of the optical module starts. Can effectively improve the reliability of access. The protection module can be implemented by software, or by a programmable logic device such as CPLD, or a combination of the two.
[0046] In this method, every time an optical module such as an SFP is accessed, the protection module needs to be enabled first, so as to obtain an effective access opportunity, and greatly improve the access reliability of the optical module such as the SFP. The details are as follows:
[0047] In this embodiment, multiple SFP...
Embodiment 2
[0049] This embodiment describes in detail the protection process for the insertion and removal of optical modules, Figure 5 It is a flow chart of the protection process of optical module plugging and unplugging according to embodiment 2, and the process includes the following steps:
[0050] Step 501, detecting a signal caused by the insertion and removal of the optical module;
[0051] Step 502, determine whether to pull out the optical module or insert the optical module, if the operation is to insert the optical module, then perform step 503, if the operation is to pull out the optical module, go to step 505;
[0052] Step 503, delay and wait for a period of time;
[0053] Step 504, set the in-position indication register of the corresponding optical module in the CPLD to ONLINE, and turn to step 501;
[0054] Step 505: Set the presence indication register of the corresponding optical module in the CPLD to OFFLINE, and continue to execute.
Embodiment 3
[0056] This embodiment describes in detail the protection process for the RSSI_TRI signal, Figure 6 It is a flow chart of the protection process of the RSSI_TRI signal according to embodiment 3, including the following steps:
[0057] Step 601. Receive an indication to trigger the RSSI_TRI signal;
[0058] Step 602. Set the RSSI signal indication register in the CPLD to RSSI_BUSY;
[0059] Step 603. Pull RSSI_TRI high;
[0060] Step 604. Delay for a certain time;
[0061] Step 605. Pull the RSSI_TRI signal low;
[0062] Step 606. Delay for a certain time;
[0063] Step 607. Set the RSSI signal indication register in the CPLD to RSSI_OK.
[0064] From the above description, it can be seen that in the solution provided by the above embodiment, through the above protection module, what the CPU needs to do is relatively simple. For the bit indication register and the RSSI signal indication register, the optical module can only be accessed when the value of the bit indicatio...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 