FC bus transmission light intensity acquisition system and implementation method
By using the optical intensity testing unit and PCIe host interface in the FC bus communication system, real-time acquisition and processing of the FC bus light intensity is realized, solving the problem that real-time light intensity testing cannot be carried out accurately in the prior art, and improving the testing effectiveness and communication reliability.
Patent Information
- Application Number
- CN202411749272.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-02
- Publication Date
- 2025-04-25
AI Technical Summary
The prior art cannot accurately perform real-time light intensity testing during FC bus communication, reducing test effectiveness and increasing production and usage costs.
Through the I2C interface of the FC bus interface circuit, the FC bus light intensity is collected by the light intensity test unit, and the acquisition process is performed by the light intensity processing unit, and the data is uploaded to the application layer through the PCIe host interface.
Real-time acquisition of light intensity transmitted on the FC bus is realized, reducing labor and production costs, and improving the flexibility of FC bus testing.
Smart Images

Figure CN119892222A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of FC bus communication, and in particular relates to a FC bus transmission light intensity acquisition system and an implementation method. Background Art
[0002] At present, the light intensity test of FC bus is usually carried out using a dedicated light intensity test device, which requires a dedicated test instrument and also requires the terminal FC bus communication. The existing light intensity test method cannot accurately perform real-time bus light intensity test during communication, which will reduce the test effectiveness and increase the production cost. Summary of the invention
[0003] In order to solve the problems of the prior art, the present invention provides a FC bus transmission light intensity acquisition system and implementation method. The I2C interface of the FC bus interface circuit is used to collect the FC bus light intensity through a light intensity test unit. At the same time, after the light intensity test unit performs acquisition processing, the corresponding data can be uploaded to the application layer through the PCIe host interface. The present invention realizes the FC bus transmission light intensity acquisition, which can effectively reduce manpower and production costs, and at the same time improve the flexibility of FC bus testing.
[0004] The technical solution of the present invention is: the present invention is a FC bus transmission light intensity acquisition system, which is special in that: the FC bus transmission light intensity acquisition system includes a PCIe host interface, a FC bus interface circuit and a light intensity test unit, the light intensity test unit collects the FC bus light intensity through the I2C bus of the FC bus interface circuit, and at the same time, after the FC bus light intensity is collected and processed by the light intensity test unit, the corresponding data is uploaded to the application layer through the PCIe host interface.
[0005] Furthermore, the light intensity testing unit includes an I2C interface, a light intensity processing unit and a PCIe host interface transmission unit. The I2C interface obtains the sending and receiving optical power parameters of the FC bus through the I2C interface of the FC bus interface circuit, and transmits them to the light intensity processing unit. The light intensity processing unit converts the register value collected by the I2C interface into light intensity dBm through a conversion calculation formula. The light intensity processing unit then outputs the specific light intensity value converted by the light intensity processing unit to the PCIe host interface through the PCIe host interface transmission unit, and transmits it to the upper-level application through the PCIe host interface.
[0006] Furthermore, the conversion calculation formula of the light intensity processing unit is: light intensity = 10*log101(received / sent register value / 10000.0).
[0007] Furthermore, the light intensity processing unit is also connected to configuration circuits such as power supply, clock and storage.
[0008] Furthermore, the FC bus interface circuit is a PLRXPL-VE-SG4-62-X type optoelectronic transceiver.
[0009] A method for implementing the above-mentioned FC bus transmission light intensity acquisition system is special in that the method comprises the following steps:
[0010] 1) The FC bus interface circuit outputs the register value corresponding to the light intensity parameter index through the I2C interface and inputs it from the light intensity test unit;
[0011] 2) After the register value output in step 1) is input from the light intensity test unit, the light intensity processing unit converts the value into an actual light intensity value through a code, and the light intensity test unit outputs an actual measured value of the light intensity, which is input from the PCIe host interface;
[0012] 3) The actual measured value of the light intensity in step 2) is outputted from the PCIe host interface, and is internally transferred to the upper layer application, thereby completing the FC bus transmission light intensity collection.
[0013] Furthermore, in step 2), the light intensity processing unit converts the numerical value into an actual light intensity value through code, and the specific calculation formula is: light intensity = 10*log101(received / sent register value / 10000.0).
[0014] The present invention provides a FC bus transmission light intensity acquisition system and implementation method, which optimizes and improves the real-time effectiveness of optical power testing. By using a light intensity test unit, the transmission and reception light intensities that need to be collected can be directly collected / measured in real time during the FC communication process, and the real-time and effective detection of the optical power during the FC bus communication process is realized, which not only improves the communication reliability of the FC bus, but also can further accurately locate and isolate faults (especially occasional faults, which can be detected in real time and effective fault analysis can be performed) when communication fails, without interrupting the FC bus communication and without using a dedicated light intensity test instrument. The present invention greatly improves the test effectiveness, reduces the production and use costs, and can be used in the field of FC bus communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 is a system block diagram of the present invention;
[0016] Figure 2 This is a description of the I2C interface register of the present invention;
[0017] Figure 3 It is the specific running software code of the light intensity processing unit of the present invention. DETAILED DESCRIPTION
[0018] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0019] See also Figure 1 The structure of a specific embodiment of the present invention includes an FC bus interface circuit, a light intensity test unit and a PCIe host interface.
[0020] The light intensity test unit collects the light intensity of the FC bus through the I2C bus of the FC bus interface circuit. After the light intensity test unit collects and processes the data, the corresponding data can be uploaded to the application layer through the PCIe host interface.
[0021] The FC bus interface circuit mainly includes the photoelectric transceiver PLRXPL-VE-SG4-62-X photoelectric transceiver.
[0022] The light intensity test unit includes an I2C interface, which obtains the sending and receiving optical power parameters of the FC bus through the I2C interface integrated in the photoelectric transceiver PLRXPL-VE-SG4-62-X type photoelectric transceiver in the FC bus interface circuit, and transmits them to the light intensity test unit through the I2C interface.
[0023] The light intensity test unit also includes a light intensity processing unit, which processes the register values collected by I2C, such as Figure 2 As shown, it is converted into light intensity dBm through the conversion calculation formula. The specific calculation formula is: light intensity = 10*log101(received / sent register value / 10000.0). The specific software running code is as follows Figure 3 shown.
[0024] The light intensity test unit also includes a PCIe host interface transmission unit. The light intensity test unit outputs the specific light intensity value converted by the light intensity processing unit to the PCIe host interface through the PCIe host interface transmission unit, and transmits it to the upper layer application through the PCIe host interface.
[0025] The light intensity processing unit can also be connected to conventional configuration circuits such as power supply, clock, storage, etc.
[0026] The specific implementation method of the present invention is as follows:
[0027] 1) The FC bus interface circuit is mainly a PLRXPL-VE-SG4-62-X type photoelectric transceiver. The photoelectric transceiver transmits the register value corresponding to the light intensity parameter index (such as Figure 2 As shown) output, light intensity test unit input;
[0028] 2) After the register value in step 1) is output and input into the light intensity test unit, the light intensity test unit converts the value into the actual light intensity value through code (the specific calculation formula is: light intensity = 10*log101(received / sent register value / 10000.0)). The specific software running code is as follows: Figure 3 As shown, the light intensity test unit outputs the actual measured value of the light intensity value, and the PCIe host interface inputs;
[0029] 3) The actual measured value of the light intensity value in step 2) is output and input into the PCIe host interface. Through internal transport, the actual measured value of the light intensity value is output to the upper layer application, thus completing the light intensity collection of the FC bus transmission.
[0030] The FC bus interface circuit and the light intensity test unit in the present invention can be used as the core part for realizing the acquisition of the transmission light intensity of the FC bus, and can also be used as the core part for the PLRXPL-VE-SG4-62-X type photoelectric transceiver to support the acquisition and test of the transmission light intensity corresponding to the bus communication.
[0031] The above are only specific embodiments disclosed in the present invention, but the protection scope of the present invention is not limited thereto. The protection scope of the present invention shall be based on the protection scope of the claims.
[0032] The content of the present invention and the technical content not specifically described in the above embodiments are the same as the prior art.
[0033] The present invention is not limited to the above embodiments, and all the contents of the present invention can be implemented and have the above good effects.
Claims
1. An FC bus transmission light intensity acquisition system, characterized in that: The FC bus transmission light intensity acquisition system includes a PCIe host interface, an FC bus interface circuit and a light intensity test unit. The light intensity test unit acquires the FC bus light intensity through the I2C bus of the FC bus interface circuit. After the FC bus light intensity is acquired and processed by the light intensity test unit, the corresponding data is uploaded to the application layer through the PCIe host interface.
2. The FC bus transmission light intensity acquisition system according to claim 1, characterized in that: The light intensity testing unit includes an I2C interface, a light intensity processing unit and a PCIe host interface transmission unit. The I2C interface obtains the sending and receiving optical power parameters of the FC bus through the I2C interface of the FC bus interface circuit, and transmits them to the light intensity processing unit. The light intensity processing unit converts the register value collected by the I2C interface into light intensity dBm through a conversion calculation formula. The light intensity processing unit then outputs the specific light intensity value converted by the light intensity processing unit to the PCIe host interface through the PCIe host interface transmission unit, and transmits it to the upper-level application through the PCIe host interface.
3. The FC bus transmission light intensity acquisition system according to claim 2, characterized in that: The conversion calculation formula is: light intensity = 10*log101, received / sent register value / 10000.
0.
4. The FC bus transmission light intensity acquisition system according to claim 3, characterized in that: The light intensity processing unit is also connected to a configuration circuit of a power supply, a clock and a storage.
5. The FC bus transmission light intensity acquisition system according to any one of claims 1 to 4, characterized in that: The FC bus interface circuit is a PLRXPL-VE-SG4-62-X type optoelectronic transceiver.
6. A method for implementing the FC bus transmission light intensity acquisition system according to claim 1, characterized in that: The method comprises the following steps: 1) The FC bus interface circuit outputs the register value corresponding to the light intensity parameter index through the I2C interface and inputs it from the light intensity test unit; 2) After the register value output in step 1) is input from the light intensity test unit, the light intensity processing unit converts the value into an actual light intensity value through a code, and the light intensity test unit outputs an actual measured value of the light intensity, which is input from the PCIe host interface; 3) The actual measured value of the light intensity in step 2) is outputted from the PCIe host interface, and is internally transferred to the upper layer application, thereby completing the FC bus transmission light intensity collection.
7. The method for implementing the FC bus transmission light intensity acquisition system according to claim 6, characterized in that: In the step 2), the light intensity processing unit converts the numerical value into an actual light intensity value through code, and the specific calculation formula is: light intensity = 10*log101, received / sent register value / 10000.0.