Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for reading optical module information by utilizing software

A technology for reading information and reading modules, applied in the field of communication, can solve problems such as reducing CPU utilization, and achieve the effect of avoiding high CPU usage and reducing usage.

Inactive Publication Date: 2015-06-10
ZTE CORP
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to ensure the real-time performance of reading information, software simulation of I2C clock is generally implemented by CPU. During the process of CPU simulation of I2C clock, CPU is often unable to perform other operations, which greatly reduces the utilization rate of CPU.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for reading optical module information by utilizing software
  • Method and device for reading optical module information by utilizing software
  • Method and device for reading optical module information by utilizing software

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0038] In the first embodiment of the present invention, a method for software to read optical module information includes the following processing procedures:

[0039] The information is read one by one for all online optical modules on the communication device, and the reading operation meets the following conditions: whenever a reading operation is performed for an optical module, the first set time is delayed. The length of the first setting time can be set according to needs, usually in millisecond level, for example: 1ms and so on.

[0040] Specifically, the type of the information includes: dynamic information of the optical module and static information of the optical module.

[0041] In this embodiment, when information is read one by one for all online optical modules on the communication device cyclically or periodically, the type of read information includes at least dynamic information of the optical modules.

no. 2 example

[0042] In the second embodiment of the present invention, a method for software to read optical module information includes the following process:

[0043] Circularly read information one by one for all online optical modules on the communication device, and the reading operation meets the following two conditions:

[0044] 1) Whenever a read operation is performed on an optical module, the first set time is delayed.

[0045] 2) Whenever the read operation is performed for the set number of optical modules, the second set time is delayed on the basis of the first set time. That is to say, for a set number of optical modules to be processed each time, the delay time for the last optical module to execute the read operation is longer than the corresponding delay time for other optical modules. The set number may be smaller than the number of all online optical modules, or greater than the number of all online optical modules. The length of the first setting time and the second...

no. 3 example

[0048] In the third embodiment of the present invention, a method for software to read optical module information includes the following process:

[0049] Periodically read information one by one for all online optical modules on the communication device, and the reading operation meets the following two conditions:

[0050] 1) Whenever a read operation is performed on an optical module, the first set time is delayed.

[0051] 2) In the current cycle, whenever the read operation is performed for the set number of optical modules, the second set time will be delayed on the basis of the first set time delay; when all online optical modules on the communication device When all the modules have finished reading operations, the first set time is delayed and the second set time is delayed, and then the next cycle is started, and information is read one by one for all online optical modules on the communication device again.

[0052] Specifically, the type of the information include...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Disclosed are a method and an apparatus for reading optical module information using software, wherein the method comprises: reading information for all online optical modules on a communication device one by one, and whenever execution of a read operation is completed for an optical module, delaying first preset time; and based on online state change situation of all the optical modules on the communication device, reading or clearing information of optical modules. The apparatus comprises an online state reading module and a start and end state reading module.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and device for software to read optical module information. Background technique [0002] In optical communication products, optical modules play an important role. Reading optical module information can predict the life of the transceiver module, shield system failures and verify component compatibility during field installation. [0003] The reading of the optical module information is done through the I2C (Inter-Integrated Circuit) bus protocol, which stipulates that the normal I2C clock frequency is 100kHz, and the fast I2C clock frequency is 400kHz. However, the processing speed of the CPU in modern communication systems is often much higher than the I2C clock. In order to ensure the real-time performance of reading information, software simulation of I2C clock is generally implemented by CPU. During the process of CPU simulation of I2C clock, CPU is often ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/46
CPCH04B10/07
Inventor 单冰
Owner ZTE CORP