Multi-channel serial data real-time interaction system and method suitable for WDM and OTN equipment

The two-way communication between clock and custom serial data frames is solved through the management control unit and the frame processing logic module of the interface board, and the problems of low communication rate and large resource occupation in the prior art are solved, and efficient communication of multiple SFP modules is achieved. , reducing resource demand.

CN116260519BActive Publication Date: 2024-12-03CHONGQING AOPUTAI COMM TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202310045970.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-30
Publication Date
2024-12-03
Estimated Expiration
2043-01-30

AI Technical Summary

Technical Problem

In the prior art, the communication rate between the management control unit and the SFP module is low and cannot communicate with multiple SFP modules at the same time, resulting in excessive use of pin resources and backplane terminals and low communication efficiency.

Method used

The frame processing logic module of the management control unit and the interface board communicates through the clock signal line and the custom serial data frame signal line to realize two-way communication. Each SFP module is connected to the frame processing logic module through the integrated circuit bus and codes. and read and write operations to reduce pin resource requirements and improve communication efficiency.

Benefits of technology

The management control unit communicates simultaneously with multiple SFP modules, reduces the demand for pin resources and backplane terminals, improves communication efficiency, and reaches 50Mbit/s.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116260519B_ABST
    Figure CN116260519B_ABST
Patent Text Reader

Abstract

The present invention discloses a multi-channel serial data real-time interactive system and method suitable for WDM and OTN equipment. The interactive system includes a management control unit and an interface board. The interface board includes a frame processing logic module and n SFP modules. Each SFP module is connected to the frame processing logic module through a group of integrated circuit buses, so that the frame processing logic module can encode and decode the custom serial data frame received from the management control unit, write the write data into the corresponding register of the corresponding SFP module according to the write instruction, or send the value of the corresponding register of the corresponding SFP module to the management control unit according to the read instruction. The present invention can reduce the demand for management control unit pin resources and backplane terminals, and can realize the communication between the management control unit and multiple SFP modules at the same time, and can effectively improve the communication efficiency. The present invention is suitable for communication equipment such as routers, switches, EPON, GPON, OTN, WDM, DWDM, etc.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data interaction, and in particular to a multi-channel serial data real-time interaction system and method suitable for WDM and OTN equipment. Background Art

[0002] In plug-in communication equipment, there are a large number of service transmission ports on a single plug-in interface board, and each service transmission port uses an SFP module (Small Form-factor Pluggsable, i.e., a small hot-pluggable optical transceiver integrated module). Therefore, a large number of SFP modules are used on the plug-in interface board. The SFP module uses the IIC (Inter-Integrated Circuit) bus communication. The management control unit MCU needs to initialize and configure each SFP module on the interface board, and monitor the alarm, interruption and other status of each SFP module in real time. During the operation of the plug-in communication equipment, when the SFP module has alarm, interruption and other information, the management control unit MCU needs to make corresponding processing in a timely and rapid manner according to the specific information to prevent the service transmission from being affected. Therefore, improving the data exchange rate between the management control unit MCU and the SFP module on the interface board of communication equipment such as OTN (Optical Transport Network) and WDM (Wavelength Division Multiplexing) has become a research focus of various equipment manufacturers.

[0003] Since the IIC device address of each SFP module is the same, the IIC interfaces of all SFP modules cannot be connected to one IIC bus. Figure 1 The figure shows a wiring method used in the prior art, where the IIC interface of each SFP module (SFP1-SPFn) on the interface board is directly connected to the management control unit MCU, and the management control unit MCU communicates directly with each SFP module on the interface board. This wiring method will occupy a large number of pin resources and backplane terminals of the management control unit MCU, and the reading and writing speed is limited by the rate limit of the IIC bus, and the communication rate is low, with a maximum of only 400Kbit / s.

[0004] As attached Figure 2The figure shows another wiring method used in the prior art, in which a dedicated IIC switch chip is added between the management control unit MCU and the SFP module (SFP1-SPFn) of the interface board. The management control unit MCU is connected to the IIC master port and address input port of the IIC switch chip on the interface board using a set of IIC buses and several address signals. The IIC signals of each SFP module on the interface board are connected to each IIC slave port of the IIC switch chip. The IIC signal of the SFP module of a certain port is selected by controlling the IIC switch chip to connect with the IIC signal of the management control unit MCU, thereby realizing IIC communication. This technology reduces the demand for the pin resources and backplane terminals of the management control unit MCU, but it adopts point-to-point communication when used. The management control unit MCU can only communicate with one SFP module at the same time. At the same time, the read and write speed is also limited by the rate limit of the IIC bus, and the communication rate is low, with a maximum of only 400Kbit / s. Summary of the invention

[0005] In view of the above-mentioned deficiencies in the prior art, the technical problem to be solved by the present invention is: how to provide a multi-channel serial data real-time interaction system and interaction method suitable for WDM and OTN equipment, which can not only reduce the demand for management control unit pin resources and backplane terminals, but also enable the management control unit to communicate with multiple small hot-pluggable optical transceiver modules at the same time, and can effectively improve the communication efficiency.

[0006] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0007] A multi-channel serial data real-time interactive system suitable for WDM and OTN equipment includes a management control unit and an interface board, wherein the interface board includes a frame processing logic module and n small hot-pluggable optical transceiver modules, the management control unit and the frame processing logic module are communicatively connected via a clock signal line and a custom serial data frame signal line, so that the management control unit sends a clock signal to the frame processing logic module, and the management control unit and the frame processing logic module perform bidirectional communication of custom serial data frames, and each of the small hot-pluggable optical transceiver modules is communicatively connected to the frame processing logic module via a group of integrated circuit buses, so that the frame processing logic module can encode and decode the custom serial data frame received from the management control unit, and then write the write data into the corresponding register of the corresponding small hot-pluggable optical transceiver module according to a write instruction, or send the value of the corresponding register of the corresponding small hot-pluggable optical transceiver module to the management control unit according to a read instruction.

[0008] Preferably, the custom serial data frame includes a 2-byte frame header, a 1-byte read / write frame number Hn, n read / write frames and a 2-byte cyclic redundancy check code.

[0009] Preferably, the frame header includes S1 and S2, wherein S1 is 11000110 and S2 is 10101110.

[0010] Preferably, the read / write frame number Hn is used to represent the specific number n of the read / write frames, and n is in hexadecimal, with a value range of 00~7F.

[0011] Preferably, the read-write frame includes three bytes Hi-1, Hi-2 and Hi-3, where 1≤i≤n, and the first byte Hi-1 includes the port number and the read-write flag M, the read-write flag M is 0 during the write operation, and the read-write flag M is 1 during the read operation, the second byte Hi-2 is the register address, and the third byte Hi-3 is the register data.

[0012] Preferably, the first byte Hi-1 uses 7 binary bits (Bit7-Bit1) to represent the port number, uses 1 binary bit (Bit0) to represent the read-write flag M, the second byte Hi-2 uses 8 binary bits to represent the register address, and the third byte Hi-3 uses 8 binary bits to represent the register data.

[0013] A multi-channel serial data real-time interaction method applicable to WDM and OTN equipment adopts the multi-channel serial data real-time interaction system applicable to WDM and OTN equipment, and includes the following steps:

[0014] Step 1) The management control unit sends a custom serial data frame to the frame processing logic module;

[0015] Step 2) the frame processing logic module encodes and decodes the custom serial data frame, and executes step 3 for the read operation in the encoding and decoding result, and executes step 4 for the write operation in the encoding and decoding result);

[0016] Step 3) the frame processing logic module sends the value of the corresponding register of the small hot-pluggable optical transceiver module to the management control unit;

[0017] Step 4) The frame processing logic module writes the received data into a corresponding register corresponding to the small hot-pluggable optical transceiver module.

[0018] Preferably, in step 2), the frame processing logic module encodes and decodes the custom serial data frame, and parses each read-write frame in turn, obtains the port number and the value of the read-write flag M of each read-write frame according to the first byte Hi-1 of each read-write frame, and selects the small hot-pluggable optical transceiver module that needs to be read and written according to the port number of each read-write frame:

[0019] When the value of the read-write flag bit M is 1, step 3 is performed on the small hot-pluggable optical transceiver module corresponding to the read-write frame); when the value of the read-write flag bit M is 0, step 4 is performed on the small hot-pluggable optical transceiver module corresponding to the read-write frame.

[0020] Preferably, in step 3), the frame processing logic module puts the register data of the second byte Hi-2 address of the small hot-pluggable optical transceiver module corresponding to the read / write frame into the third byte Hi-3 and sends it to the management control unit.

[0021] Preferably, in step 4), the frame processing logic module writes the received data in the third byte Hi-3 into the second byte Hi-2 address corresponding to the small hot-pluggable optical transceiver module.

[0022] Compared with the prior art, the present invention has the following advantages:

[0023] 1. In the present invention, the management control unit and the frame processing logic module of the interface board are connected through a clock signal line (CLK) and a custom serial data frame (Serial-Frame) signal line. Among them, the clock signal is sent by the management control unit to the frame processing logic module, and the custom serial data frame is a bidirectional signal, which is connected to the management control unit and the frame processing logic module of the interface board respectively. The IIC signal of the small hot-pluggable optical transceiver module on the interface board is connected to the frame processing logic module through the integrated circuit bus. During operation, the frame processing logic module of the interface board implements the encoding and decoding function of the custom serial data frame, and completes the read and write operations of each small hot-pluggable optical transceiver module according to the encoded and decoded read and write information. Therefore, the present invention only requires two pin resources and backplane terminals of the management control unit when in use, which greatly reduces the demand for the pin resources and backplane terminals of the management control unit. At the same time, the transmission efficiency of the serial data frame can reach up to 50Mbit / s, thereby effectively improving the communication efficiency.

[0024] 2. The entire custom serial data frame of the present invention is composed of a 2-byte frame header, a 1-byte read / write frame number Hn, n read / write frames, and a 2-byte cyclic redundancy check code (CRC check). Among them, the read / write frame number Hn indicates the specific number n of the following read / write frames, and the value space of n is 00~7F, indicating 1-128; the read / write frame is composed of 3 bytes, the first byte contains the port number and the read / write flag M, the read / write flag M is 0 for a write operation, and the read / write flag M is 1 for a read operation, the second and third bytes are the register address and register data, respectively, both of which are represented by 8 binary bits; the CRC check is used to confirm whether there is an error during the transmission process. During the read / write process, the frame processing logic module of the interface board obtains the port number and the read / write operation through the first byte of the read / write frame. If it is a write operation, the frame processing logic module writes the received data into the corresponding register of the corresponding read / write frame; if it is a read operation, the value of the corresponding register of the corresponding read / write frame is sent to the management control unit. Each read and write serial data frame can contain up to 128 read and write frames, so 128 read and write operations can be completed at the same time, which can be any register of any port number. Therefore, the present invention can read and write registers of multiple port numbers in parallel at the same time, greatly improving the communication rate between the management control unit and each small hot-pluggable optical transceiver module. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 A block diagram of one of the connection modes between an SFP module and a management control unit MCU in the prior art;

[0026] Figure 2 A block diagram of another connection method between an SFP module and a management control unit MCU in the prior art;

[0027] Figure 3 This is a connection block diagram of a multi-channel serial data real-time interactive system applicable to WDM and OTN equipment of the present invention;

[0028] Figure 4 This is a composition view of a custom serial data frame in a multi-channel serial data real-time interactive system applicable to WDM and OTN equipment of the present invention. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Unless otherwise defined, the technical terms or scientific terms used herein should be the common meaning understood by people with general skills in the field to which the present invention belongs.

[0030] The words "first", "second" and similar words used in the patent application specification and claims of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, unless the context clearly indicates otherwise, the singular forms of "a", "an" or "the" and other similar words do not indicate a quantitative limitation, but indicate the existence of at least one. Words such as "include" or "comprise" mean that the elements or objects appearing before "include" or "comprise" cover the features, wholes, steps, operations, elements and / or components listed after "include" or "comprise", and do not exclude the existence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0031] As attached Figure 1 As shown, a multi-channel serial data real-time interactive system suitable for WDM and OTN equipment includes a management control unit MCU and an interface board. The interface board includes a frame processing logic module and n small hot-pluggable optical transceiver modules (SFP1, SFP2, SFP3...SFPn-1, SFPn). The management control unit MCU and the frame processing logic module are connected through a clock signal line (CLK) and a custom serial data frame signal line (Serial-Frame) so that the management control unit MCU sends a clock signal to the frame processing logic module, and the management control unit MCU and the frame processing logic module are connected. To carry out bidirectional communication of custom serial data frames, each small hot-pluggable optical transceiver module is connected to the frame processing logic module through a group of integrated circuit buses (IIC-SCL and IIC-SDA, where IIC-SCL is a clock line and IIC-SDA is a bidirectional data line), so that the frame processing logic module can encode and decode the custom serial data frame received from the management and control unit, and write the write data into the corresponding register of the corresponding small hot-pluggable optical transceiver module according to the write instruction, or send the value of the corresponding register of the corresponding small hot-pluggable optical transceiver module to the management and control unit according to the read instruction.

[0032] As attached Figure 4 The figure shows the structure of a custom serial data frame. In this embodiment, the custom serial data frame includes a 2-byte frame header, a 1-byte read / write frame number Hn, n read / write frames and a 2-byte cyclic redundancy check code.

[0033] In this embodiment, the frame header includes S1 and S2, where S1 is 11000110 and S2 is 10101110.

[0034] In this embodiment, the read / write frame number Hn is used to represent the specific number n of read / write frames, and n is in hexadecimal, with a value range of 00-7F, representing 1-128.

[0035] In this embodiment, the read-write frame includes three bytes Hi-1, Hi-2 and Hi-3, where 1≤i≤n, and the first byte Hi-1 includes the port number and the read-write flag M. The read-write flag M is 0 during a write operation and 1 during a read operation. The second byte Hi-2 is the register address, and the third byte Hi-3 is the register data.

[0036] In this embodiment, the first byte Hi-1 uses 7 binary bits (P0-P6) to represent the port number, uses 1 binary bit (M0) to represent the read-write flag M, the second byte Hi-2 uses 8 binary bits (A0-A7) to represent the register address, and the third byte Hi-3 uses 8 binary bits (D0-D7) to represent the register data.

[0037] A multi-channel serial data real-time interaction method applicable to WDM and OTN devices, using the multi-channel serial data real-time interaction system applicable to WDM and OTN devices, comprises the following steps:

[0038] Step 1) The management control unit MCU sends a custom serial data frame to the frame processing logic module;

[0039] Step 2) The frame processing logic module encodes and decodes the custom serial data frame, and executes step 3 for the read operation in the encoding and decoding result, and executes step 4 for the write operation in the encoding and decoding result);

[0040] Step 3) The frame processing logic module sends the value of the corresponding register of the small hot-pluggable optical transceiver module to the management control unit MCU;

[0041] Step 4) The frame processing logic module writes the received data into the corresponding register of the corresponding small hot-pluggable optical transceiver module.

[0042] In this embodiment, in step 2), the frame processing logic module encodes and decodes the custom serial data frame, and parses each read / write frame in turn, obtains the port number and the value of the read / write flag bit M of each read / write frame according to the first byte Hi-1 of each read / write frame, and selects the small hot-pluggable optical transceiver module that needs to be read / written according to the port number of each read / write frame:

[0043] When the value of the read / write flag bit M is 1, step 3 is performed on the small hot-pluggable optical transceiver module corresponding to the read / write frame); when the value of the read / write flag bit M is 0, step 4 is performed on the small hot-pluggable optical transceiver module corresponding to the read / write frame.

[0044] In this embodiment, in step 3), the frame processing logic module puts the register data of the second byte Hi-2 address of the small hot-pluggable optical transceiver module corresponding to the read / write frame into the third byte Hi-3 and sends it to the management control unit MCU.

[0045] In this embodiment, in step 4), the frame processing logic module writes the received data in the third byte Hi-3 into the second byte Hi-2 address of the corresponding small hot-pluggable optical transceiver module.

[0046] Compared with the prior art, the management control unit MCU and the frame processing logic module of the interface board in the present invention are connected through a clock signal line (CLK) and a custom serial data frame (Serial-Frame) signal line. Among them, the clock signal is sent by the management control unit MCU to the frame processing logic module, and the custom serial data frame is a bidirectional signal, which is connected to the management control unit MCU and the frame processing logic module of the interface board respectively. The IIC signal of the small hot-pluggable optical transceiver module on the interface board is connected to the frame processing logic module through the integrated circuit bus. During operation, the frame processing logic module of the interface board realizes the encoding and decoding function of the custom serial data frame, and completes the read and write operations of each small hot-pluggable optical transceiver module according to the encoded and decoded read and write information. Therefore, the present invention only requires two pin resources and backplane terminals of the management control unit MCU when in use, which greatly reduces the demand for the pin resources and backplane terminals of the management control unit MCU. At the same time, the transmission efficiency of the serial data frame can reach up to 50Mbit / s, so it also effectively improves the communication efficiency. The entire custom serial data frame of the present invention is composed of a 2-byte frame header, a 1-byte read / write frame number Hn, n read / write frames, and a 2-byte cyclic redundancy check code (CRC check). The read / write frame number Hn indicates the specific number n of the following read / write frames, and the value space of n is 00~7F, indicating 1-128; the read / write frame is composed of 3 bytes, the first byte contains the port number and the read / write flag bit M, the read / write flag bit M is 0 for a write operation, and the read / write flag bit M is 1 for a read operation, the second and third bytes are the register address and register data, respectively, and both are represented by 8 binary bits; the CRC check is used to confirm whether an error occurs during the transmission process. During the read / write process, the frame processing logic module of the interface board obtains the port number and the read / write operation through the first byte of the read / write frame. If it is a write operation, the frame processing logic module writes the received data into the corresponding register of the corresponding read / write frame; if it is a read operation, the value of the corresponding register of the corresponding read / write frame is sent to the management control unit MCU. Each read and write serial data frame can contain up to 128 read and write frames, so 128 read and write operations can be completed at the same time, which can be any register of any port number. Therefore, the present invention can read and write registers of multiple port numbers in parallel at the same time, greatly improving the communication rate between the management control unit MCU and each small hot-swappable optical transceiver module.

[0047] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit the technical solution. Those skilled in the art should understand that those modifications or equivalent substitutions of the technical solution of the present invention that do not depart from the purpose and scope of the technical solution should be included in the scope of the claims of the present invention.

Claims

1. A multi-channel serial data real-time interactive system applicable to WDM and OTN equipment, characterized in that: It comprises a management control unit and an interface board, wherein the interface board comprises a frame processing logic module and n small hot-pluggable optical transceiver modules, wherein the management control unit and the frame processing logic module are communicatively connected via a clock signal line and a custom serial data frame signal line, so that the management control unit sends a clock signal to the frame processing logic module, and the management control unit and the frame processing logic module perform bidirectional communication of custom serial data frames, and each of the small hot-pluggable optical transceiver modules is communicatively connected with the frame processing logic module via a group of integrated circuit buses, so that the frame processing logic module can encode and decode the custom serial data frame received from the management control unit, and then write the write data into the corresponding register of the corresponding small hot-pluggable optical transceiver module according to a write instruction, or send the value of the corresponding register of the corresponding small hot-pluggable optical transceiver module to the management control unit according to a read instruction; The custom serial data frame includes a 2-byte frame header, a 1-byte read / write frame number Hn, n read / write frames and a 2-byte cyclic redundancy check code; The read / write frame number Hn is used to represent the specific number n of the read / write frames, and n is in hexadecimal, and its value range is 00~7F; Each read and write serial data frame can contain up to 128 read and write frames, and can complete 128 read and write operations at the same time. It can be any register of any port number, and can read and write registers of multiple port numbers in parallel, thereby improving the communication rate between the management control unit and each small hot-pluggable optical transceiver module.

2. The multi-channel serial data real-time interactive system applicable to WDM and OTN equipment according to claim 1, characterized in that: The frame header includes S1 and S2, where S1 is 11000110 and S2 is 10101110.

3. The multi-channel serial data real-time interactive system applicable to WDM and OTN equipment according to claim 1, characterized in that: The read-write frame includes three bytes Hi-1, Hi-2 and Hi-3, where 1≤i≤n, and the first byte Hi-1 includes the port number and the read-write flag M. The read-write flag M is 0 during a write operation and 1 during a read operation. The second byte Hi-2 is the register address, and the third byte Hi-3 is the register data.

4. The multi-channel serial data real-time interactive system applicable to WDM and OTN equipment according to claim 3, characterized in that: The first byte Hi-1 uses 7 binary bits to represent the port number, uses 1 binary bit to represent the read / write flag M, the second byte Hi-2 uses 8 binary bits to represent the register address, and the third byte Hi-3 uses 8 binary bits to represent the register data.

5. A multi-channel serial data real-time interaction method applicable to WDM and OTN equipment, characterized in that: The multi-channel serial data real-time interactive system applicable to WDM and OTN equipment as claimed in claim 4 comprises the following steps: Step 1) The management control unit sends a custom serial data frame to the frame processing logic module; Step 2) the frame processing logic module encodes and decodes the custom serial data frame, and executes step 3 for the read operation in the encoding and decoding result, and executes step 4 for the write operation in the encoding and decoding result); Step 3) the frame processing logic module sends the value of the corresponding register of the small hot-pluggable optical transceiver module to the management control unit; Step 4) The frame processing logic module writes the received data into a corresponding register corresponding to the small hot-pluggable optical transceiver module.

6. The multi-channel serial data real-time interaction method applicable to WDM and OTN equipment according to claim 5 is characterized in that: In step 2), the frame processing logic module encodes and decodes the custom serial data frame, and parses each read-write frame in turn, obtains the port number and the value of the read-write flag M of each read-write frame according to the first byte Hi-1 of each read-write frame, and selects the small hot-pluggable optical transceiver module that needs to be read and written according to the port number of each read-write frame: When the value of the read / write flag bit M is 1, step 3 is performed on the small hot-pluggable optical transceiver module corresponding to the read / write frame); when the value of the read / write flag bit M is 0, step 4 is performed on the small hot-pluggable optical transceiver module corresponding to the read / write frame.

7. The multi-channel serial data real-time interaction method applicable to WDM and OTN equipment according to claim 6 is characterized in that: In step 3), the frame processing logic module puts the register data of the second byte Hi-2 address of the small hot-pluggable optical transceiver module corresponding to the read / write frame into the third byte Hi-3 and sends it to the management control unit.

8. The multi-channel serial data real-time interaction method applicable to WDM and OTN equipment according to claim 6 is characterized in that: In step 4), the frame processing logic module writes the received data in the third byte Hi-3 into the second byte Hi-2 address corresponding to the small hot-pluggable optical transceiver module.

Citation Information

Patent Citations

  • Serial communication method and apparatus

    CN101399654A

  • Read-write structure of single-plate optical module and read-write method

    CN103763220A

  • Method for integrally migrating and storing batch test data by optical module

    CN106406752A

  • Ethernet switch

    CN204316532U

  • Fibre selective control switch system

    US20060253744A1