WO2016082569A1 - Apparatus and method for implementing communication assisted by optical port link - Google Patents

Apparatus and method for implementing communication assisted by optical port link Download PDF

Info

Publication number
WO2016082569A1
WO2016082569A1 PCT/CN2015/084709 CN2015084709W WO2016082569A1 WO 2016082569 A1 WO2016082569 A1 WO 2016082569A1 CN 2015084709 W CN2015084709 W CN 2015084709W WO 2016082569 A1 WO2016082569 A1 WO 2016082569A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
module
optical module
predetermined
optical
Prior art date
Application number
PCT/CN2015/084709
Other languages
French (fr)
Chinese (zh)
Inventor
叶学谦
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016082569A1 publication Critical patent/WO2016082569A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • This document relates to the field of communications, and in particular, to a method or apparatus for implementing optical port link assisted communication.
  • the traditional base station model is split into two parts: a central base station and a remote radio unit.
  • the central base station includes a baseband and control module, which is responsible for baseband data processing of the signal, and control and management of the base station.
  • the remote radio unit includes an intermediate frequency module, a radio frequency transceiver, and the like, and is responsible for the intermediate frequency and radio frequency processing of the signal.
  • the central base station is located in the equipment room, and the remote radio unit is placed next to the antenna.
  • the lossless fiber connection between the two is eliminated, which eliminates the transmission loss of the signal energy from the baseband part to the radio frequency part, and increases the uplink and downlink coverage of the base station, especially It is suitable for wireless coverage of a wide area with low user density.
  • one central base station can be connected to multiple remote radio units, and the coverage of the large area is completed by the same central base station to implement baseband processing, thereby realizing the sharing of base station baseband resources.
  • the CPRI (Common Public Radio Interface) physical layer supports both cable and fiber transmission standards. Among them, the optical transmission standard using the Small Form-factor Pluggable Module/QSFP module has a small signal loss and a transmission distance of several kilometers, which is widely used.
  • a method for implementing optical port link auxiliary communication includes:
  • the transmitting end of the optical module packages the data to be sent according to a predetermined communication protocol
  • the transmitting end of the optical module performs parallel-to-serial conversion on the packed data to obtain a serial signal
  • the transmitting end of the optical module outputs the level sequence corresponding to the serial signal according to a predetermined baud rate Column output to the output enable pin of the optical module.
  • the sending end of the optical module to package data according to a predetermined communication protocol includes:
  • the transmitting end of the optical module encodes the to-be-sent data according to a predetermined rule
  • the transmitting end of the optical module packages the encoded data according to a predetermined communication protocol.
  • a method for implementing optical port link auxiliary communication includes:
  • the receiving end of the optical module converts the detected synchronization loss signal into a parallel signal according to a predetermined baud rate
  • the receiving end of the optical module parses data from the parallel signal according to a predetermined communication protocol.
  • the method further includes:
  • the receiving end of the optical module decodes the parsed data according to a predetermined rule to obtain original data.
  • a method for implementing optical port link auxiliary communication includes:
  • the transmitting end of the optical module packages the data to be sent according to a predetermined communication protocol
  • the transmitting end of the optical module performs parallel-to-serial conversion on the packed data to obtain a serial signal
  • the transmitting end of the optical module outputs a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate;
  • the receiving end of the optical module converts the detected synchronization loss signal into a parallel signal according to a predetermined baud rate
  • the receiving end of the optical module parses data from the parallel signal according to a predetermined communication protocol.
  • the sending end of the optical module to package data according to a predetermined communication protocol includes:
  • the transmitting end of the optical module encodes the to-be-sent data according to a predetermined rule
  • the transmitting end of the optical module packages the encoded data according to a predetermined communication protocol
  • the method further includes:
  • the receiving end of the optical module decodes the parsed data according to a predetermined rule to obtain original data.
  • a device for implementing the optical port link auxiliary communication which is disposed at the transmitting end of the optical module, and includes:
  • a data packaging module configured to: package data to be sent according to a predetermined communication protocol
  • the parallel-serial conversion module is set to: perform parallel-to-serial conversion on the packed data to obtain a serial signal;
  • the data output module is configured to: output a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate.
  • the data packaging module includes:
  • a coding unit configured to: encode the to-be-sent data according to a predetermined rule
  • the packing unit is configured to: package the encoded data according to a predetermined communication protocol.
  • a device for implementing the optical port link auxiliary communication which is disposed at the receiving end of the optical module, and includes:
  • the conversion module is configured to: convert the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
  • the parsing module is configured to parse the data from the parallel signal according to a predetermined communication protocol.
  • the device further includes:
  • the decoding module is configured to: decode the parsed data according to a predetermined rule to obtain original data.
  • a device for implementing optical port link auxiliary communication comprising:
  • a data packing module disposed at the transmitting end of the optical module, a serial conversion module and a data output module; a conversion module and an analysis module disposed at the receiving end of the optical module;
  • the data packaging module is configured to: package data to be sent according to a predetermined communication protocol
  • the parallel-to-serial conversion module is configured to: perform parallel-to-serial conversion on the packed data to obtain a serial signal;
  • the data output module is configured to: output a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate;
  • the conversion module is configured to: convert the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
  • the parsing module is configured to parse data from the parallel signal according to a predetermined communication protocol.
  • the data packaging module includes:
  • a coding unit configured to: encode the to-be-sent data according to a predetermined rule
  • Packing unit set to: package the encoded data according to a predetermined communication protocol
  • the device also includes:
  • the decoding module disposed at the receiving end of the optical module is configured to: decode the parsed data according to a predetermined rule to obtain original data.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the auxiliary communication can be realized in a software defect scenario in which the physical connection of the optical fiber is normal and the port rate is not matched, and the shortcomings of the related art are limited by the peer-to-peer communication limitation, which is an effective supplement of the existing optical fiber communication.
  • the existing transmission channel is borrowed, and the information is accurately reported without increasing the cost. Especially when the reported information is fault information, the troubleshooting efficiency can be greatly improved.
  • FIG. 1 is a flow chart of a method (transmitting end) for implementing optical port link auxiliary communication according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method (receiving end) for implementing optical port link auxiliary communication according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method (a transmitting end and a receiving end) for implementing optical port link auxiliary communication according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of optical fiber connection between a BBU and an RRU according to an embodiment of the present invention
  • FIG. 5 is a timing diagram showing relationship between TDIS and LOS according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a device (provided at a transmitting end) for implementing optical port link auxiliary communication according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart of a device (provided at a receiving end) for implementing optical port link auxiliary communication according to an embodiment of the present invention
  • FIG. 8 is a schematic flowchart of an apparatus for implementing optical port link auxiliary communication according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a data storage area filling format according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a data transmission format according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of an embodiment of an alarm report implemented according to the present invention.
  • FIG. 12 is a schematic diagram of an embodiment of optical port auto-negotiation opening based on the present invention.
  • Figure 13 is a schematic illustration of an embodiment of a software version download implemented in accordance with the present invention.
  • a method for implementing optical port link auxiliary communication includes:
  • Step 11 The sending end of the optical module packages the data to be sent according to a predetermined communication protocol
  • Step 12 The transmitting end of the optical module performs parallel-to-serial conversion on the packed data to obtain a serial signal.
  • Step 13 The transmitting end of the optical module outputs a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate.
  • the output enable pin of the optical module is at a low level, the output of the optical module is turned off, and the output of the optical signal is stopped;
  • the bit value is 1
  • the level of the output enable pin output to the optical module is high, and the output of the optical module is turned on to output an optical signal.
  • the sending end of the optical module to package the data to be sent according to the predetermined communication protocol may include:
  • the transmitting end of the optical module encodes the to-be-sent data according to a predetermined rule
  • the transmitting end of the optical module packages the encoded data according to a predetermined communication protocol.
  • a method for implementing optical port link auxiliary communication includes:
  • Step 21 The receiving end of the optical module converts the detected synchronization loss signal into a parallel signal according to a predetermined baud rate
  • Step 22 The receiving end of the optical module parses data from the parallel signal according to a predetermined communication protocol.
  • the method may further include:
  • Step 23 The receiving end of the optical module decodes the parsed data according to a predetermined rule to obtain original data.
  • a method for implementing optical port link auxiliary communication includes:
  • Step 31 The transmitting end of the optical module packages the data to be sent according to a predetermined communication protocol.
  • Step 32 The transmitting end of the optical module performs parallel-to-serial conversion on the packed data to obtain a serial signal.
  • Step 33 The transmitting end of the optical module outputs a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate;
  • Step 34 The receiving end of the optical module converts the detected synchronization loss signal according to a predetermined baud rate. Switch to parallel signal;
  • Step 35 The receiving end of the optical module parses data from the parallel signal according to a predetermined communication protocol.
  • the embodiment of the present invention is applicable to the scenario in which the communication between the BBU and the RRU is implemented by using the optical fiber + optical module.
  • the connection between the BBU of the base station processing unit and the RRU of the remote device unit is as shown in FIG. 4, and the two are SFPs (small pluggable)
  • the encapsulation module) interacts, the RFP's SFP obtains the output enable pin TDIS signal from the processor; the BBU's processor obtains the LOS (synchronization loss) signal from the SFP.
  • the output of the optical module is turned on and off by outputting a high and low level to the TDIS according to a specific rule at the transmitting end of the RRU (BBU) optical module, in the BBU (RRU).
  • the receiving end of the optical module detects the LOS signal, and parses out the information output by the transmitting end according to the specific rule, so that the auxiliary communication function between the BBU and the RRU base station can be realized in the case of abnormal optical link software.
  • the timing diagram of the relationship between TDIS and LOS changes is shown in Figure 5.
  • the data to be transmitted may include failure information, alarm information, negotiation information (such as negotiation of rate, protocol, etc.), downloading data, and the like.
  • the check digit and the check mode may also be specified in the predetermined communication protocol.
  • the transmitting end and the receiving end may also set data storage areas.
  • the device for implementing the optical port link auxiliary communication in the embodiment of the present invention is disposed at the transmitting end of the optical module, and includes:
  • the data packaging module 61 is configured to: package data to be sent according to a predetermined communication protocol
  • the parallel-serial conversion module 62 is configured to: perform parallel-to-serial conversion on the packed data to obtain a serial signal;
  • the data output module 63 is configured to output a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate.
  • the data packaging module may include:
  • a coding unit configured to: encode the to-be-sent data according to a predetermined rule
  • the packing unit is configured to: package the encoded data according to a predetermined communication protocol.
  • the device for implementing the optical port link auxiliary communication in the embodiment of the present invention is disposed at the receiving end of the optical module, and includes:
  • the conversion module 71 is configured to: convert the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
  • the parsing module 72 is configured to parse the data from the parallel signal according to a predetermined communication protocol.
  • the device may further include:
  • the decoding module is configured to: decode the parsed data according to a predetermined rule to obtain original data.
  • the apparatus for implementing optical port link auxiliary communication includes:
  • a data packing module 81 disposed at the transmitting end of the optical module, a parallel conversion module 82 and a data output module 83; a conversion module 84 and a parsing module 85 disposed at the receiving end of the optical module;
  • the data packaging module 81 is configured to: package data to be sent according to a predetermined communication protocol
  • the parallel-to-serial conversion module 82 is configured to: perform parallel-to-serial conversion on the packed data to obtain a serial signal;
  • the data output module 83 is configured to: output a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate;
  • the conversion module 84 is configured to: convert the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
  • the parsing module 85 is configured to parse data from the parallel signal according to a predetermined communication protocol.
  • the data packaging module 81 may include:
  • a coding unit configured to: encode the to-be-sent data according to a predetermined rule
  • Packing unit set to: package the encoded data according to a predetermined communication protocol
  • the device may further include:
  • the decoding module disposed at the receiving end of the optical module is configured to: decode the parsed data according to a predetermined rule to obtain original data.
  • An example of a device for implementing optical port link auxiliary communication includes the following components: a data transmitting device disposed at a transmitting end of an optical module, and a data receiving device disposed at a receiving end of the optical module.
  • the data transmitting device may include a controller, an optical module, and a fiber optic component, and mainly performs parallel-to-serial conversion on the data to be sent when data is detected in the data transmission area, and adopts a specific communication protocol according to a specific rate.
  • the output enable pin (TDIS) pin of the optical module is controlled (when the value is 0, the signal level output to the TDIS pin is low, the output of the optical module is turned off, and the output of the optical signal is stopped; When 1, the signal level output to the TDIS pin is high, the output of the optical module is turned on, and the optical signal is output).
  • the data receiving device may include optical modules, optical fibers, and controllers.
  • the controller detects the LOS signal output by the optical module in real time, and performs the inverse operation on the received LOS value signal in the detecting module (when the LOS signal is detected as 0, the optical signal is normal, and after the inverse is 1, the control Tdis is The output signal of the terminal is high level and consistent.
  • the received data is parsed according to a specific protocol.
  • the data receiving device may further include a data storage module, a data parsing module, a data decoding module, and the like.
  • the communication rate Due to the influence of the switching control rate of the optical module, the communication rate is very low. Therefore, in order to improve the utilization efficiency of the controller, the transmitted/received data needs to be stored in the receiving data storage module/transmission data storage module for storage processing.
  • the data packing module encodes the data to be sent according to a specific communication protocol according to the protocol rule, and then provides the data to the data sending module for transmission.
  • the data parsing module decodes the received data according to the format of the protocol.
  • the data parsing module includes two parts: the encoding of the transmitted information and the decoding of the received data. Since the transmission data rate is low, and the content of the communication is often very large, it takes a long time to directly transmit the data through the embodiment of the present invention, which affects the communication efficiency of the base station.
  • the embodiments of the present invention are mainly used for Auxiliary communication, so the information to be sent is replaced by the complete information, which reduces the amount of data transmission and improves the transmission efficiency.
  • the receiving part restores the received information on the receiving side according to the code correspondence table. Thereby implementing the auxiliary communication function.
  • the receiving end LOS can reflect the state of the originating TDIS (1 to 1, 0 to 0) in real time, and the rise and fall time is negligible relative to the application.
  • the optical port information can be reported by turning on and off the output state of the TDIS of the transmitting end, and the function is independent of the rate of the optical module.
  • This solution can be implemented by related devices such as FPGA or CPU.
  • a dedicated data receiving storage space may be, but not limited to, implemented in RAM
  • the space size is 64*9 bits.
  • the high bit is the data check result bit
  • the lower 8 bits is the data storage space.
  • the logic or processor automatically performs parity check on the received bytes and fills the contents of the data frame into the RAM.
  • C indicates the accuracy of the data frame even check received this time
  • 0 means the check is passed
  • 1 means the check fails the data error.
  • Figure 9 shows the bit first, low bit later).
  • a dedicated data transmission storage RAM space is opened, and the space size is 64*8 bits.
  • the FPGA or the processor periodically checks whether the data in the RAM space is empty. When the data to be transmitted is detected, the parity result is automatically calculated and added to the end of the data for transmission.
  • the data transmission format is shown in Figure 10.
  • the CPU processor is treated as follows:
  • Step 101 The CPU processor of the board starts the optical port auxiliary communication mode when detecting that the optical port link receiving link is interrupted for more than a certain period of time or receiving a command of the auxiliary communication mode when the pre-stage transmission is required;
  • Step 102 The processor constructs the content to be sent according to the service mode by using a fixed data format.
  • Step 103 After completing the data construction, the processor fills the data to be sent into the data transmission dedicated storage interval, and after the data is completed, writes the data filling end identifier, and notifies the data sending module to start the data transmission;
  • Step 104 The data sending module periodically detects whether it is necessary to activate the optical port auxiliary communication mode and enter the auxiliary communication mode.
  • Step 105 When entering the auxiliary communication mode, the processor periodically checks whether there is data to be sent in the data transmission storage space, and if so, constructs the data packet content according to a specific protocol, and converts the serial data into a predetermined baud rate. It is output to the TDIS control pin of the optical module to perform output transmission control of the optical module.
  • Step 106 At the receiving end, the processor detects the LOS signal output by the optical module in real time and performs serial-to-parallel conversion according to a specific baud rate.
  • Step 107 The processor performs data according to a specific protocol rule after receiving the parallel data. Validity determination, fill in the qualified data to the data storage module;
  • Step 108 The processor reads the data from the memory by using an interrupt or a timing query, and converts the received data according to a specific protocol rule and provides the data to the upper layer software for use.
  • FIG. 11 is a flow chart of an alarm reporting method based on the auxiliary communication provided by the embodiment of the present invention, including: the base station system fault detection module detects the working state of the system in real time, and detects that the base station system is working abnormally, and the original optical port link is interrupted. In the case of the auxiliary communication module, the alarm is reported. The steps are as follows:
  • Step 601 The base station fault detection module detects that the base station system is defective, and the original optical port link cannot communicate normally, and needs to report the alarm through the auxiliary communication, and the system sets the auxiliary communication control status bit to enter the auxiliary communication function;
  • Step 602 The data packing module converts the information that needs the alarm into a data code to be sent according to a specific encoding rule, and fills the data sending storage area, and sets a data sending enable identifier.
  • Step 603 The data transmitting device detects that there is data to be sent, and the sending enable signal is valid, then starts the data sending function, reads the content of the data sending storage area, performs parallel-to-serial conversion, and controls according to a specific baud rate.
  • the TDIS pin of the optical module transmits data;
  • Step 604 The data receiving device detects the signal of the LOS pin in real time according to a specific baud rate, and performs serial-to-parallel conversion to determine whether the received data is the format content of the auxiliary communication. If the auxiliary communication format is used, the data is stored in the data. Receiving storage space and setting data valid bits;
  • Step 605 The data receiving device periodically queries whether the content of the data receiving storage space is empty and valid. If valid, the data is framing and then provided to the data parsing module;
  • Step 606 The data parsing module converts the received data content into common data content according to the agreed data encoding format, and provides the data indicating module to the alarm indicating module.
  • Step 607 The alarm indication module displays the alarm content in the background according to the received alarm information, and prompts the maintenance personnel to perform troubleshooting.
  • FIG. 12 is a flow chart of the optical port communication auto-negotiation based on the auxiliary communication provided by the embodiment of the present invention, including: port information diagnosis, optical port support rate, optical port rate negotiation, optical port rate configuration, and the like, and the steps are as follows:
  • Step 701 After the device A is powered on, the processor checks the rate information supported by the optical port slot optical module of the device.
  • Step 702 The information reporting module of the device A comprehensively detects the optical module rate information, the logical or software-supported optical port rate information, summarizes the rate supported by the device, and provides the data to the data packaging module.
  • Step 703 The data packing module of the device A converts the device support rate into an information code and provides the data output module to the data output module.
  • Step 704 The data transmitting apparatus of the device A performs data transmission by controlling the TDIS signal.
  • Step 705 The data receiving apparatus of the peer device B detects the LOS signal in real time, and converts the received valid data into a data storage space.
  • Step 706 The parsing module of the device B converts the received data into ordinary data information, and submits the data to the processor.
  • Step 707 After receiving the optical port support rate of the peer end, the processor of the device B automatically negotiates the maximum support rate of the optical port connection according to the optical port rate that the local end can support;
  • Step 708 The processor of the device B fills in the information reporting rate of the device to the information reporting module of the device, and the device B configures the optical port rate of the device according to the negotiation result.
  • Step 709 The data packing module of the device B encodes the information that needs to be sent and fills the data sending device.
  • Step 710 The data transmitting apparatus of the device B performs data transmission by controlling the TDIS pin.
  • Step 711 The data receiving apparatus of the device A submits the data to the parsing module after receiving the data;
  • Step 712 The parsing module of the device A converts the information into ordinary data content, and submits the information to the processor of the device for information processing.
  • Step 713 The processor of the device A configures the optical port rate according to the received optical port configuration rate information.
  • FIG. 13 is a flow chart of downloading a software version based on an auxiliary communication according to an embodiment of the present invention, including: information negotiation, software version downloading, and the like, the device detects a defect of the board software, and cannot download the version through a normal optical port.
  • the steps are as follows:
  • Step 801 Device A starts an auxiliary communication channel and requests a version download process.
  • Step 802 In order to improve transmission efficiency, the channel negotiates a communication baud rate
  • Step 803 setting a baud rate and entering a version download mode
  • Step 704 Since the codec function of the data is not required to be started when the version download mode is started, the data packet module adopts a direct transparent transmission mode, and sends the version data to the data transmitting device, and starts sending;
  • Step 805 The data sending apparatus performs data transmission according to an agreed baud rate and a communication protocol.
  • Step 806 At the receiving end, the data receiving device performs data reception according to the negotiated baud rate and the data protocol, and stores the data in the data receiving storage area;
  • Step 807 The parsing module directly transmits the received data to the processor.
  • Step 808 The processor saves the received data into the defined data storage space.
  • a handshake is required periodically. If the system receives the data abnormality in the feedback, the data content transmitted by the last handshake to the handshake is retransmitted, that is, the efficiency is improved, and the reliability of the data transmission is improved. Through the above steps, the software version self-downloading function is implemented.
  • all or part of the steps of the above embodiments may also be implemented using an integrated circuit.
  • the steps may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps may be fabricated into a single integrated circuit module.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the auxiliary communication can be realized in a software defect scenario in which the physical connection of the optical fiber is normal and the port rate is not matched, and the shortcomings of the related art are limited by the peer-to-peer communication limitation, which is an effective supplement of the existing optical fiber communication.
  • the existing transmission channel is borrowed, and the information is accurately reported without increasing the cost. Especially when the reported information is fault information, the troubleshooting efficiency can be greatly improved.

Abstract

A method and apparatus for implementing communication assisted by an optical port link. The method comprises: a transmit end of an optical module packetizes, according to a predetermined communication protocol, data to be sent; the transmit end of the optical module performs parallel-to-serial conversion on the packetized data, to obtain a serial signal; and the transmit end of the optical module outputs, according to a predetermined baud rate, a level sequence corresponding to the serial signal to an output enable pin of the optical module.

Description

一种实现光口链路辅助通讯的装置和方法Device and method for realizing optical port link auxiliary communication 技术领域Technical field
本文涉及通信领域,尤其涉及一种实现光口链路辅助通讯的方法或装置。This document relates to the field of communications, and in particular, to a method or apparatus for implementing optical port link assisted communication.
背景技术Background technique
在分布式基站中,传统基站模型被拆分为中心基站与远端射频单元两部分。中心基站包含基带与控制模块,负责信号的基带数据处理,以及对基站的控制与管理。远端射频单元包含中频模块、射频收发信机等,负责信号的中频与射频处理。中心基站位于机房内,远端射频单元紧靠天线放置,二者之间通过无损耗的光纤连接,消除了从基带部分到射频部分信号能量的传输损耗,增加了基站的上下行覆盖范围,尤其适用于对用户密度较低的广阔地区进行无线覆盖。并且,在分布式基站中,一个中心基站可以连接多个远端射频单元,将大片区域的覆盖通过同一个中心基站完成基带处理,实现了基站基带资源的共享。CPRI(Common Public Radio Interface,通用公共无线电接口)物理层支持电缆与光纤两种传输标准。其中,使用标准化光收发器SFP模块(Small Form-factor Pluggable Module)/QSFP模块的光纤传输标准信号损耗小,传输距离可达几千米,因而得到普遍采用。In a distributed base station, the traditional base station model is split into two parts: a central base station and a remote radio unit. The central base station includes a baseband and control module, which is responsible for baseband data processing of the signal, and control and management of the base station. The remote radio unit includes an intermediate frequency module, a radio frequency transceiver, and the like, and is responsible for the intermediate frequency and radio frequency processing of the signal. The central base station is located in the equipment room, and the remote radio unit is placed next to the antenna. The lossless fiber connection between the two is eliminated, which eliminates the transmission loss of the signal energy from the baseband part to the radio frequency part, and increases the uplink and downlink coverage of the base station, especially It is suitable for wireless coverage of a wide area with low user density. Moreover, in the distributed base station, one central base station can be connected to multiple remote radio units, and the coverage of the large area is completed by the same central base station to implement baseband processing, thereby realizing the sharing of base station baseband resources. The CPRI (Common Public Radio Interface) physical layer supports both cable and fiber transmission standards. Among them, the optical transmission standard using the Small Form-factor Pluggable Module/QSFP module has a small signal loss and a transmission distance of several kilometers, which is widely used.
在实际运行环境情况下,由于光纤污染、光模块速率不匹配等问题导致CPRI物理层链路无法正常建立,利用已有的协议远端设备状态无法上报。In the actual operating environment, the link of the physical layer of the CPRI cannot be established due to the problem of fiber-optic pollution and the rate of the optical module being mismatched.
发明内容Summary of the invention
本文克服基站处理单元BBU与远端设备单元RRU在光纤链路无法正常连接的情况下无法上报故障真实原因的缺陷。This document overcomes the defect that the base station processing unit BBU and the remote device unit RRU cannot report the true cause of the fault when the fiber link cannot be properly connected.
一种实现光口链路辅助通讯的方法,包括:A method for implementing optical port link auxiliary communication includes:
光模块的发送端根据预定的通信协议对待发送数据打包;The transmitting end of the optical module packages the data to be sent according to a predetermined communication protocol;
光模块的发送端对打包数据进行并串转换,得到串行信号;The transmitting end of the optical module performs parallel-to-serial conversion on the packed data to obtain a serial signal;
所述光模块的发送端按照预定的波特率输出所述串行信号对应的电平序 列到光模块的输出使能管脚。The transmitting end of the optical module outputs the level sequence corresponding to the serial signal according to a predetermined baud rate Column output to the output enable pin of the optical module.
可选地,所述光模块的发送端根据预定的通信协议对待发送数据打包包括:Optionally, the sending end of the optical module to package data according to a predetermined communication protocol includes:
所述光模块的发送端按照预定规则对所述待发送数据进行编码;The transmitting end of the optical module encodes the to-be-sent data according to a predetermined rule;
所述光模块的发送端将编码后的数据按照预定的通信协议进行打包。The transmitting end of the optical module packages the encoded data according to a predetermined communication protocol.
一种实现光口链路辅助通讯的方法,包括:A method for implementing optical port link auxiliary communication includes:
光模块的接收端按照预定的波特率将检测到的同步丢失信号转换为并行信号;The receiving end of the optical module converts the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
所述光模块的接收端根据预定的通信协议从所述并行信号中解析出数据。The receiving end of the optical module parses data from the parallel signal according to a predetermined communication protocol.
可选地,所述光模块的接收端根据预定的通信协议从所述并行信号中解析出数据后还包括:Optionally, after the receiving end of the optical module parses the data from the parallel signal according to a predetermined communication protocol, the method further includes:
所述光模块的接收端按照预定规则对解析出的数据进行解码,得到原始数据。The receiving end of the optical module decodes the parsed data according to a predetermined rule to obtain original data.
一种实现光口链路辅助通讯的方法,包括:A method for implementing optical port link auxiliary communication includes:
光模块的发送端根据预定的通信协议对待发送数据打包;The transmitting end of the optical module packages the data to be sent according to a predetermined communication protocol;
光模块的发送端对打包数据进行并串转换,得到串行信号;The transmitting end of the optical module performs parallel-to-serial conversion on the packed data to obtain a serial signal;
所述光模块的发送端按照预定的波特率输出所述串行信号对应的电平序列到光模块的输出使能管脚;The transmitting end of the optical module outputs a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate;
光模块的接收端按照预定的波特率将检测到的同步丢失信号转换为并行信号;The receiving end of the optical module converts the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
所述光模块的接收端根据预定的通信协议从所述并行信号中解析出数据。The receiving end of the optical module parses data from the parallel signal according to a predetermined communication protocol.
可选地,所述光模块的发送端根据预定的通信协议对待发送数据打包包括: Optionally, the sending end of the optical module to package data according to a predetermined communication protocol includes:
所述光模块的发送端按照预定规则对所述待发送数据进行编码;The transmitting end of the optical module encodes the to-be-sent data according to a predetermined rule;
所述光模块的发送端将编码后的数据按照预定的通信协议进行打包;The transmitting end of the optical module packages the encoded data according to a predetermined communication protocol;
所述光模块的接收端根据预定的通信协议从所述并行信号中解析出数据后还包括:After the receiving end of the optical module parses the data from the parallel signal according to a predetermined communication protocol, the method further includes:
所述光模块的接收端按照预定规则对解析出的数据进行解码,得到原始数据。The receiving end of the optical module decodes the parsed data according to a predetermined rule to obtain original data.
一种实现光口链路辅助通讯的装置,设置于光模块的发送端,包括:A device for implementing the optical port link auxiliary communication, which is disposed at the transmitting end of the optical module, and includes:
数据打包模块,设置为:根据预定的通信协议对待发送数据打包;a data packaging module, configured to: package data to be sent according to a predetermined communication protocol;
并串转换模块,设置为:对打包数据进行并串转换,得到串行信号;The parallel-serial conversion module is set to: perform parallel-to-serial conversion on the packed data to obtain a serial signal;
数据输出模块,设置为:按照预定的波特率输出所述串行信号对应的电平序列到光模块的输出使能管脚。The data output module is configured to: output a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate.
可选地,所述数据打包模块包括:Optionally, the data packaging module includes:
编码单元,设置为:按照预定规则对所述待发送数据进行编码;a coding unit, configured to: encode the to-be-sent data according to a predetermined rule;
打包单元,设置为:将编码后的数据按照预定的通信协议进行打包。The packing unit is configured to: package the encoded data according to a predetermined communication protocol.
一种实现光口链路辅助通讯的装置,设置于光模块的接收端,包括:A device for implementing the optical port link auxiliary communication, which is disposed at the receiving end of the optical module, and includes:
转换模块,设置为:按照预定的波特率将检测到的同步丢失信号转换为并行信号;The conversion module is configured to: convert the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
解析模块,设置为:根据预定的通信协议从所述并行信号中解析出数据。The parsing module is configured to parse the data from the parallel signal according to a predetermined communication protocol.
可选地,所述的装置还包括:Optionally, the device further includes:
解码模块,设置为:按照预定规则对解析出的数据进行解码,得到原始数据。The decoding module is configured to: decode the parsed data according to a predetermined rule to obtain original data.
一种实现光口链路辅助通讯的装置,包括: A device for implementing optical port link auxiliary communication, comprising:
设置于光模块的发送端的数据打包模块,并串转换模块及数据输出模块;设置于光模块的接收端的转换模块及解析模块;a data packing module disposed at the transmitting end of the optical module, a serial conversion module and a data output module; a conversion module and an analysis module disposed at the receiving end of the optical module;
所述数据打包模块设置为:根据预定的通信协议对待发送数据打包;The data packaging module is configured to: package data to be sent according to a predetermined communication protocol;
所述并串转换模块设置为:对打包数据进行并串转换,得到串行信号;The parallel-to-serial conversion module is configured to: perform parallel-to-serial conversion on the packed data to obtain a serial signal;
所述数据输出模块设置为:按照预定的波特率输出所述串行信号对应的电平序列到光模块的输出使能管脚;The data output module is configured to: output a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate;
所述转换模块设置为:按照预定的波特率将检测到的同步丢失信号转换为并行信号;The conversion module is configured to: convert the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
所述解析模块设置为:根据预定的通信协议从所述并行信号中解析出数据。The parsing module is configured to parse data from the parallel signal according to a predetermined communication protocol.
可选地,所述数据打包模块包括:Optionally, the data packaging module includes:
编码单元,设置为:按照预定规则对所述待发送数据进行编码;a coding unit, configured to: encode the to-be-sent data according to a predetermined rule;
打包单元,设置为:将编码后的数据按照预定的通信协议进行打包Packing unit, set to: package the encoded data according to a predetermined communication protocol
所述装置还包括:The device also includes:
设置于光模块的接收端的解码模块,设置为:按照预定规则对解析出的数据进行解码,得到原始数据。The decoding module disposed at the receiving end of the optical module is configured to: decode the parsed data according to a predetermined rule to obtain original data.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
本发明实施例在光纤物理联接正常而端口速率不匹配等软件缺陷场景下能够实现辅助通讯,克服了相关技术中的受制于对等通讯限制的缺点,是已有光纤通讯的有效补充。本发明实施例通过借用已有的传输通道,在不增加成本的前提下实现信息的准确上报,特别是当上报信息为故障信息时,可极大提高故障排查效率。In the embodiment of the invention, the auxiliary communication can be realized in a software defect scenario in which the physical connection of the optical fiber is normal and the port rate is not matched, and the shortcomings of the related art are limited by the peer-to-peer communication limitation, which is an effective supplement of the existing optical fiber communication. In the embodiment of the present invention, the existing transmission channel is borrowed, and the information is accurately reported without increasing the cost. Especially when the reported information is fault information, the troubleshooting efficiency can be greatly improved.
附图概述BRIEF abstract
图1是本发明实施例的实现光口链路辅助通讯的方法(发送端)的流程 示意图;1 is a flow chart of a method (transmitting end) for implementing optical port link auxiliary communication according to an embodiment of the present invention; schematic diagram;
图2是本发明实施例的实现光口链路辅助通讯的方法(接收端)的流程示意图;2 is a schematic flowchart of a method (receiving end) for implementing optical port link auxiliary communication according to an embodiment of the present invention;
图3是本发明实施例的实现光口链路辅助通讯的方法(发送端和接收端)的流程示意图;3 is a schematic flowchart of a method (a transmitting end and a receiving end) for implementing optical port link auxiliary communication according to an embodiment of the present invention;
图4是本发明实施例的BBU与RRU的光纤连接示意图;4 is a schematic diagram of optical fiber connection between a BBU and an RRU according to an embodiment of the present invention;
图5是本发明实施例的TDIS和LOS变化关系时序图;FIG. 5 is a timing diagram showing relationship between TDIS and LOS according to an embodiment of the present invention; FIG.
图6是本发明实施例的实现光口链路辅助通讯的装置(设置于发送端)的流程示意图;6 is a schematic flowchart of a device (provided at a transmitting end) for implementing optical port link auxiliary communication according to an embodiment of the present invention;
图7是本发明实施例的实现光口链路辅助通讯的装置(设置于接收端)的流程示意图;FIG. 7 is a schematic flowchart of a device (provided at a receiving end) for implementing optical port link auxiliary communication according to an embodiment of the present invention;
图8是本发明实施例的实现光口链路辅助通讯的装置的流程示意图;FIG. 8 is a schematic flowchart of an apparatus for implementing optical port link auxiliary communication according to an embodiment of the present invention; FIG.
图9是本发明实施例的数据存储区填充格式示意图;9 is a schematic diagram of a data storage area filling format according to an embodiment of the present invention;
图10是本发明实施例的数据发送格式示意图;FIG. 10 is a schematic diagram of a data transmission format according to an embodiment of the present invention; FIG.
图11基于本发明实现的告警上报的实施例的示意图;11 is a schematic diagram of an embodiment of an alarm report implemented according to the present invention;
图12基于本发明实现的光口自协商开通的实施例的示意图;12 is a schematic diagram of an embodiment of optical port auto-negotiation opening based on the present invention;
图13基于本发明实现的软件版本下载的实施例的示意图。Figure 13 is a schematic illustration of an embodiment of a software version download implemented in accordance with the present invention.
本发明的实施方式Embodiments of the invention
下面将结合附图对本发明的实施方式进行更详细的说明。Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings.
需要说明的是,如果不冲突,本发明实施例以及实施例中的各个特征可以相互结合。另外,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。It should be noted that the embodiments of the present invention and the various features in the embodiments may be combined with each other if they do not conflict. Additionally, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
如图1所示,本发明实施例的实现光口链路辅助通讯的方法,包括:As shown in FIG. 1 , a method for implementing optical port link auxiliary communication according to an embodiment of the present invention includes:
步骤11,光模块的发送端根据预定的通信协议对待发送数据打包;Step 11: The sending end of the optical module packages the data to be sent according to a predetermined communication protocol;
步骤12,光模块的发送端对打包数据进行并串转换,得到串行信号; Step 12: The transmitting end of the optical module performs parallel-to-serial conversion on the packed data to obtain a serial signal.
步骤13所述光模块的发送端按照预定的波特率输出所述串行信号对应的电平序列到光模块的输出使能管脚。Step 13: The transmitting end of the optical module outputs a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate.
比如串行信号的某一位数值为0时,则输出到光模块的输出使能管脚的电平为低,光模块的输出将关断,停止光信号的输出;串行信号的某一位数值为1时,则输出到光模块的输出使能管脚的电平为高,光模块的输出将打开,输出光信号。For example, if a certain bit value of the serial signal is 0, the output enable pin of the optical module is at a low level, the output of the optical module is turned off, and the output of the optical signal is stopped; When the bit value is 1, the level of the output enable pin output to the optical module is high, and the output of the optical module is turned on to output an optical signal.
可选地,所述光模块的发送端根据预定的通信协议对待发送数据打包可以包括:Optionally, the sending end of the optical module to package the data to be sent according to the predetermined communication protocol may include:
所述光模块的发送端按照预定规则对所述待发送数据进行编码;The transmitting end of the optical module encodes the to-be-sent data according to a predetermined rule;
所述光模块的发送端将编码后的数据按照预定的通信协议进行打包。The transmitting end of the optical module packages the encoded data according to a predetermined communication protocol.
如图2所示,本发明实施例的实现光口链路辅助通讯的方法,包括:As shown in FIG. 2, a method for implementing optical port link auxiliary communication according to an embodiment of the present invention includes:
步骤21,光模块的接收端按照预定的波特率将检测到的同步丢失信号转换为并行信号;Step 21: The receiving end of the optical module converts the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
步骤22,所述光模块的接收端根据预定的通信协议从所述并行信号中解析出数据。Step 22: The receiving end of the optical module parses data from the parallel signal according to a predetermined communication protocol.
可选地,所述光模块的接收端根据预定的通信协议从所述并行信号中解析出数据后还可以包括:Optionally, after the receiving end of the optical module parses the data from the parallel signal according to a predetermined communication protocol, the method may further include:
步骤23,所述光模块的接收端按照预定规则对解析出的数据进行解码,得到原始数据。Step 23: The receiving end of the optical module decodes the parsed data according to a predetermined rule to obtain original data.
一种实现光口链路辅助通讯的方法,如图3所示,包括:A method for implementing optical port link auxiliary communication, as shown in FIG. 3, includes:
步骤31,光模块的发送端根据预定的通信协议对待发送数据打包;Step 31: The transmitting end of the optical module packages the data to be sent according to a predetermined communication protocol.
步骤32,光模块的发送端对打包数据进行并串转换,得到串行信号;Step 32: The transmitting end of the optical module performs parallel-to-serial conversion on the packed data to obtain a serial signal.
步骤33,所述光模块的发送端按照预定的波特率输出所述串行信号对应的电平序列到光模块的输出使能管脚;Step 33: The transmitting end of the optical module outputs a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate;
步骤34,光模块的接收端按照预定的波特率将检测到的同步丢失信号转 换为并行信号;Step 34: The receiving end of the optical module converts the detected synchronization loss signal according to a predetermined baud rate. Switch to parallel signal;
步骤35,所述光模块的接收端根据预定的通信协议从所述并行信号中解析出数据。Step 35: The receiving end of the optical module parses data from the parallel signal according to a predetermined communication protocol.
本发明实施例适用于在BBU与RRU间的通讯采用光纤+光模块实现的场景下,基站处理单元BBU与远端设备单元RRU的连接如图4所示,两者通过SFP(小型可插拔封装模块)交互,RRU的SFP从处理器获得输出使能管脚TDIS信号;BBU的处理器从SFP获得LOS(同步丢失)信号。The embodiment of the present invention is applicable to the scenario in which the communication between the BBU and the RRU is implemented by using the optical fiber + optical module. The connection between the BBU of the base station processing unit and the RRU of the remote device unit is as shown in FIG. 4, and the two are SFPs (small pluggable) The encapsulation module) interacts, the RFP's SFP obtains the output enable pin TDIS signal from the processor; the BBU's processor obtains the LOS (synchronization loss) signal from the SFP.
本发明实施例利用在已有的光接口链路上,通过在RRU(BBU)光模块的发送端按照特定的规律给TDIS输出高低电平来开、关光模块的输出,在BBU(RRU)的光模块接收端检测LOS信号,按照所述特定的规律解析出发送端输出的信息,从而能够在光链路软件异常的情况下实现BBU与RRU基站间的辅助通讯功能。TDIS和LOS变化关系时序图如图5所示。In the embodiment of the present invention, on the existing optical interface link, the output of the optical module is turned on and off by outputting a high and low level to the TDIS according to a specific rule at the transmitting end of the RRU (BBU) optical module, in the BBU (RRU). The receiving end of the optical module detects the LOS signal, and parses out the information output by the transmitting end according to the specific rule, so that the auxiliary communication function between the BBU and the RRU base station can be realized in the case of abnormal optical link software. The timing diagram of the relationship between TDIS and LOS changes is shown in Figure 5.
所述待发送数据可以包括故障信息、告警信息、协商信息(比如对速率、协议等的协商)、下载数据等。The data to be transmitted may include failure information, alarm information, negotiation information (such as negotiation of rate, protocol, etc.), downloading data, and the like.
所述预定的通信协议中还可以规定检验位及校验方式。The check digit and the check mode may also be specified in the predetermined communication protocol.
为了提高效率,所述发送端和接收端还可以各设置数据存储区。In order to improve efficiency, the transmitting end and the receiving end may also set data storage areas.
如图6所示,本发明实施例的实现光口链路辅助通讯的装置,设置于光模块的发送端,包括:As shown in FIG. 6, the device for implementing the optical port link auxiliary communication in the embodiment of the present invention is disposed at the transmitting end of the optical module, and includes:
数据打包模块61,设置为:根据预定的通信协议对待发送数据打包;The data packaging module 61 is configured to: package data to be sent according to a predetermined communication protocol;
并串转换模块62,设置为:对打包数据进行并串转换,得到串行信号;The parallel-serial conversion module 62 is configured to: perform parallel-to-serial conversion on the packed data to obtain a serial signal;
数据输出模块63,设置为:按照预定的波特率输出所述串行信号对应的电平序列到光模块的输出使能管脚。The data output module 63 is configured to output a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate.
其中,所述数据打包模块可以包括:The data packaging module may include:
编码单元,设置为:按照预定规则对所述待发送数据进行编码;a coding unit, configured to: encode the to-be-sent data according to a predetermined rule;
打包单元,设置为:将编码后的数据按照预定的通信协议进行打包。 The packing unit is configured to: package the encoded data according to a predetermined communication protocol.
如图7所示,本发明实施例的实现光口链路辅助通讯的装置,设置于光模块的接收端,包括:As shown in FIG. 7, the device for implementing the optical port link auxiliary communication in the embodiment of the present invention is disposed at the receiving end of the optical module, and includes:
转换模块71,设置为:按照预定的波特率将检测到的同步丢失信号转换为并行信号;The conversion module 71 is configured to: convert the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
解析模块72,设置为:根据预定的通信协议从所述并行信号中解析出数据。The parsing module 72 is configured to parse the data from the parallel signal according to a predetermined communication protocol.
其中,所述的装置还可以包括:Wherein, the device may further include:
解码模块,设置为:按照预定规则对解析出的数据进行解码,得到原始数据。The decoding module is configured to: decode the parsed data according to a predetermined rule to obtain original data.
如图8所示,本发明实施例的实现光口链路辅助通讯的装置,包括:As shown in FIG. 8, the apparatus for implementing optical port link auxiliary communication according to an embodiment of the present invention includes:
设置于光模块的发送端的数据打包模块81,并串转换模块82及数据输出模块83;设置于光模块的接收端的转换模块84及解析模块85;a data packing module 81 disposed at the transmitting end of the optical module, a parallel conversion module 82 and a data output module 83; a conversion module 84 and a parsing module 85 disposed at the receiving end of the optical module;
所述数据打包模块81设置为:根据预定的通信协议对待发送数据打包;The data packaging module 81 is configured to: package data to be sent according to a predetermined communication protocol;
所述并串转换模块82设置为:对打包数据进行并串转换,得到串行信号;The parallel-to-serial conversion module 82 is configured to: perform parallel-to-serial conversion on the packed data to obtain a serial signal;
所述数据输出模块83设置为:按照预定的波特率输出所述串行信号对应的电平序列到光模块的输出使能管脚;The data output module 83 is configured to: output a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate;
所述转换模块84设置为:按照预定的波特率将检测到的同步丢失信号转换为并行信号;The conversion module 84 is configured to: convert the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
所述解析模块85设置为:根据预定的通信协议从所述并行信号中解析出数据。The parsing module 85 is configured to parse data from the parallel signal according to a predetermined communication protocol.
其中,所述数据打包模块81可以包括:The data packaging module 81 may include:
编码单元,设置为:按照预定规则对所述待发送数据进行编码;a coding unit, configured to: encode the to-be-sent data according to a predetermined rule;
打包单元,设置为:将编码后的数据按照预定的通信协议进行打包Packing unit, set to: package the encoded data according to a predetermined communication protocol
所述装置还可以包括: The device may further include:
设置于光模块的接收端的解码模块,设置为:按照预定规则对解析出的数据进行解码,得到原始数据。The decoding module disposed at the receiving end of the optical module is configured to: decode the parsed data according to a predetermined rule to obtain original data.
一种实现光口链路辅助通讯的装置的例子,包括如下几个部分:设置于光模块的发送端的数据发送装置、设置于光模块的接收端的数据接收装置。An example of a device for implementing optical port link auxiliary communication includes the following components: a data transmitting device disposed at a transmitting end of an optical module, and a data receiving device disposed at a receiving end of the optical module.
数据发送装置可以包括控制器、光模块、光纤几部分,主要是在检测到数据发送区空间内有数据需要发送时,对待发送数据进行并串转换,采用特定的通讯协议,按照特定的速率,对光模块的输出使能管脚(TDIS)管脚进行控制(其中数值为0时,输出到TDIS管脚的信号电平为低,则关断光模块的输出,停止光信号的输出;数值为1时,输出到TDIS管脚的信号电平为高,则打开光模块的输出,输出光信号)。The data transmitting device may include a controller, an optical module, and a fiber optic component, and mainly performs parallel-to-serial conversion on the data to be sent when data is detected in the data transmission area, and adopts a specific communication protocol according to a specific rate. The output enable pin (TDIS) pin of the optical module is controlled (when the value is 0, the signal level output to the TDIS pin is low, the output of the optical module is turned off, and the output of the optical signal is stopped; When 1, the signal level output to the TDIS pin is high, the output of the optical module is turned on, and the optical signal is output).
数据接收装置可以包括光模块、光纤和控制器几部分。控制器实时检测光模块输出的LOS信号,在检测模块对接收到的LOS数值信号进行取反操作(当检测到LOS信号为0时,表示光信号正常,取反后则为1,与控制Tdis端的输出信号为高电平保持一致)。根据特定的协议对接收到的数据进行解析。The data receiving device may include optical modules, optical fibers, and controllers. The controller detects the LOS signal output by the optical module in real time, and performs the inverse operation on the received LOS value signal in the detecting module (when the LOS signal is detected as 0, the optical signal is normal, and after the inverse is 1, the control Tdis is The output signal of the terminal is high level and consistent. The received data is parsed according to a specific protocol.
另外还可以包括发送数据存储模块、数据打包模块、数据编码模块等;所述数据接收装置中还可以包括接收数据存储模块、数据解析模块和数据解码模块等。In addition, the data receiving device may further include a data storage module, a data parsing module, a data decoding module, and the like.
由于受光模块开关控制速率的影响,通讯的速率非常低,因此为了提高控制器的利用效率,需要把发送/接收的数据存储在接收数据存储模块/发送数据存储模块中进行存储处理。Due to the influence of the switching control rate of the optical module, the communication rate is very low. Therefore, in order to improve the utilization efficiency of the controller, the transmitted/received data needs to be stored in the receiving data storage module/transmission data storage module for storage processing.
数据打包模块根据特定的通讯协议,对需要发送的数据根据协议规则进行编码后提供给数据发送模块进行发送。对于接收部分的解码则由数据解析模块按照协议的格式,对接收到的数据进行解码处理。The data packing module encodes the data to be sent according to a specific communication protocol according to the protocol rule, and then provides the data to the data sending module for transmission. For the decoding of the receiving part, the data parsing module decodes the received data according to the format of the protocol.
数据解析模块包括发送信息的编码和接收数据的解码两部分。由于发送数据速率低,而往往通讯的内容非常多,采用直接把数据通过本发明实施例传送则耗时非常长,影响到基站的通讯效率。另外,本发明实施例主要用于 辅助的通讯,因此采用把需要发送的信息采用编码的方式替代完整的信息,减少数据传送量,提高传送效率。接收部分则按照编码对应表,把接收到的信息在接收侧进行恢复。从而实现辅助通讯功能。The data parsing module includes two parts: the encoding of the transmitted information and the decoding of the received data. Since the transmission data rate is low, and the content of the communication is often very large, it takes a long time to directly transmit the data through the embodiment of the present invention, which affects the communication efficiency of the base station. In addition, the embodiments of the present invention are mainly used for Auxiliary communication, so the information to be sent is replaced by the complete information, which reduces the amount of data transmission and improves the transmission efficiency. The receiving part restores the received information on the receiving side according to the code correspondence table. Thereby implementing the auxiliary communication function.
下面结合附图对技术方案的实施作进一步的详细描述:The implementation of the technical solution will be further described in detail below with reference to the accompanying drawings:
从光模块管脚描述以及光模块信号电气特性参数描述(如下表一和表二),采用在发送端置位TDIS信号,在接收端检测LOS信号方案可行。From the description of the optical module pins and the description of the electrical characteristics of the optical module signals (see Table 1 and Table 2 below), it is feasible to set the TDIS signal at the transmitting end and detect the LOS signal at the receiving end.
表一光模块管脚Table 1 optical module pins
Figure PCTCN2015084709-appb-000001
Figure PCTCN2015084709-appb-000001
表二光模块信号电气特性参数Table 2 Optical module signal electrical characteristics
Figure PCTCN2015084709-appb-000002
Figure PCTCN2015084709-appb-000002
接收端LOS可以实时反映发端TDIS的状态(1对1,0对0),且上升下降时间相对应用可忽略不计。通过上述实验数据分析,通过开、关发送端的TDIS的输出状态可以实现光口信息的上报,而且该功能与光模块的速率等无关。 The receiving end LOS can reflect the state of the originating TDIS (1 to 1, 0 to 0) in real time, and the rise and fall time is negligible relative to the application. Through the analysis of the above experimental data, the optical port information can be reported by turning on and off the output state of the TDIS of the transmitting end, and the function is independent of the rate of the optical module.
本方案可采用FPGA或者CPU等相关的器件实现。在接收方向,需要开辟专用的数据接收存储空间(可以但不限于用RAM实现),空间大小为64*9bit。其中高bit位为数据校验结果位,低8bit为数据存储空间。在数据接收时,逻辑或者处理器自动对接收的字节进行偶校验,并把数据帧内容填写到RAM中。其中C表示本次接收到的数据帧偶校验的准确性,0表示校验通过,1表示校验不通过数据错误。如图9所示(高bit在前,低bit在后)。This solution can be implemented by related devices such as FPGA or CPU. In the receiving direction, it is necessary to open a dedicated data receiving storage space (may be, but not limited to, implemented in RAM), and the space size is 64*9 bits. The high bit is the data check result bit, and the lower 8 bits is the data storage space. At the time of data reception, the logic or processor automatically performs parity check on the received bytes and fills the contents of the data frame into the RAM. Where C indicates the accuracy of the data frame even check received this time, 0 means the check is passed, and 1 means the check fails the data error. As shown in Figure 9 (high bit first, low bit later).
在发送方向,开辟专用的数据发送存储RAM空间,空间大小为64*8bit。FPGA或者处理器定期检测RAM空间的数据是否为空,在检测到有待发送的数据时,自动计算奇偶校验结果并添加到数据的末尾进行发送。数据发送格式如图10所示。In the sending direction, a dedicated data transmission storage RAM space is opened, and the space size is 64*8 bits. The FPGA or the processor periodically checks whether the data in the RAM space is empty. When the data to be transmitted is detected, the parity result is automatically calculated and added to the end of the data for transmission. The data transmission format is shown in Figure 10.
一个例子中,以CPU处理器作为处理步骤如下:In one example, the CPU processor is treated as follows:
步骤101:单板的CPU处理器在检测到光口链路接收链路中断超过一定时间或者接收到前级发送需要采用辅助通讯方式的命令时,启动光口辅助通讯模式;Step 101: The CPU processor of the board starts the optical port auxiliary communication mode when detecting that the optical port link receiving link is interrupted for more than a certain period of time or receiving a command of the auxiliary communication mode when the pre-stage transmission is required;
步骤102:处理器根据业务模式,采用固定的数据格式构造需要发送的内容;Step 102: The processor constructs the content to be sent according to the service mode by using a fixed data format.
步骤103:在完成数据的构造后,处理器把需要发送的数据填充到数据发送专用存储区间,在数据填写完成后,写入数据填写结束标识符,通知数据发送模块启动数据的发送;Step 103: After completing the data construction, the processor fills the data to be sent into the data transmission dedicated storage interval, and after the data is completed, writes the data filling end identifier, and notifies the data sending module to start the data transmission;
步骤104:数据发送模块定期检测是否需要启动光口辅助通讯模式,并进入辅助通讯模式。Step 104: The data sending module periodically detects whether it is necessary to activate the optical port auxiliary communication mode and enter the auxiliary communication mode.
步骤105:在进入辅助通讯模式时,处理器定期检查数据发送存储空间内是否有需要发送的数据,如果有则按照特定的协议构造数据包内容,并转换为串行数据按照约定的波特率输出到光模块的TDIS控制管脚上,进行光模块的输出发送控制。Step 105: When entering the auxiliary communication mode, the processor periodically checks whether there is data to be sent in the data transmission storage space, and if so, constructs the data packet content according to a specific protocol, and converts the serial data into a predetermined baud rate. It is output to the TDIS control pin of the optical module to perform output transmission control of the optical module.
步骤106:在接收端,处理器实时检测光模块输出的LOS信号并按照特定的波特率进行串并转换。Step 106: At the receiving end, the processor detects the LOS signal output by the optical module in real time and performs serial-to-parallel conversion according to a specific baud rate.
步骤107:处理器在接收到并行数据后根据特定的协议规则进行数据的 有效性判定,把合格的数据填写到数据存储模块;Step 107: The processor performs data according to a specific protocol rule after receiving the parallel data. Validity determination, fill in the qualified data to the data storage module;
步骤108:处理器采用中断或者定时查询的方式,从存储器中读取出数据,并把接收到的数据按照特定的协议规则转换后提供给高层软件使用。Step 108: The processor reads the data from the memory by using an interrupt or a timing query, and converts the received data according to a specific protocol rule and provides the data to the upper layer software for use.
通过上述方法,实现了光口的辅助通讯功能。Through the above method, the auxiliary communication function of the optical port is realized.
图11是本发明实施实例提供的基于辅助通讯实现的告警上报方法流程,包括:基站系统故障检测模块实时检测系统的工作状态,在检测到基站系统工作异常,且原有的光口链路中断的情况下,启动辅助通讯模块,实现告警的上报,步骤如下:11 is a flow chart of an alarm reporting method based on the auxiliary communication provided by the embodiment of the present invention, including: the base station system fault detection module detects the working state of the system in real time, and detects that the base station system is working abnormally, and the original optical port link is interrupted. In the case of the auxiliary communication module, the alarm is reported. The steps are as follows:
步骤601:基站故障检测模块检测到基站系统存在缺陷,且原有的光口链路无法正常通讯,需要通过辅助通讯上报告警,系统设置辅助通讯控制状态位,进入辅助通讯功能;Step 601: The base station fault detection module detects that the base station system is defective, and the original optical port link cannot communicate normally, and needs to report the alarm through the auxiliary communication, and the system sets the auxiliary communication control status bit to enter the auxiliary communication function;
步骤602:数据打包模块把需要告警的信息按照特定的编码规则,转换为待发送的数据码,并填充到数据发送存储区,并设置数据发送使能标识;Step 602: The data packing module converts the information that needs the alarm into a data code to be sent according to a specific encoding rule, and fills the data sending storage area, and sets a data sending enable identifier.
步骤603:数据发送装置在检测到有需要发送的数据,且发送使能信号有效,则启动数据发送功能,读取数据发送存储区的内容并进行并串转换后,按照特定的波特率控制光模块的TDIS管脚,进行数据的发送;Step 603: The data transmitting device detects that there is data to be sent, and the sending enable signal is valid, then starts the data sending function, reads the content of the data sending storage area, performs parallel-to-serial conversion, and controls according to a specific baud rate. The TDIS pin of the optical module transmits data;
步骤604:数据接收装置按照特定的波特率实时检测LOS管脚的信号,并进行串并转换,判断接收的数据是否为辅助通讯的格式内容,如果为辅助通讯格式,则把数据存储到数据接收存储空间,并设置数据有效位;Step 604: The data receiving device detects the signal of the LOS pin in real time according to a specific baud rate, and performs serial-to-parallel conversion to determine whether the received data is the format content of the auxiliary communication. If the auxiliary communication format is used, the data is stored in the data. Receiving storage space and setting data valid bits;
步骤605:数据接收装置定期查询数据接收存储空间的内容是否为空且有效,如有效,则对数据进行组帧后提供给数据解析模块;Step 605: The data receiving device periodically queries whether the content of the data receiving storage space is empty and valid. If valid, the data is framing and then provided to the data parsing module;
步骤606:数据解析模块把接收到的数据内容按照约定的数据编码格式转换为普通的数据内容,并提供给告警指示模块;Step 606: The data parsing module converts the received data content into common data content according to the agreed data encoding format, and provides the data indicating module to the alarm indicating module.
步骤607:告警指示模块根据接收到的告警信息,在后台显示告警内容,提醒维护人员进行故障的排查; Step 607: The alarm indication module displays the alarm content in the background according to the received alarm information, and prompts the maintenance personnel to perform troubleshooting.
图12是本发明实施实例提供的基于辅助通讯实现光口通讯自协商的流程,包括:端口信息诊断,光口支持的速率,光口速率协商,光口速率配置等功能模块,步骤如下:FIG. 12 is a flow chart of the optical port communication auto-negotiation based on the auxiliary communication provided by the embodiment of the present invention, including: port information diagnosis, optical port support rate, optical port rate negotiation, optical port rate configuration, and the like, and the steps are as follows:
步骤701:设备A在上电启动后,处理器检查本设备光口槽位光模块支持的速率信息;Step 701: After the device A is powered on, the processor checks the rate information supported by the optical port slot optical module of the device.
步骤702:设备A的信息上报模块综合检测到的光模块速率信息、逻辑或软件支持的光口速率信息,汇总本设备支持的速率,并提供给数据打包模块;Step 702: The information reporting module of the device A comprehensively detects the optical module rate information, the logical or software-supported optical port rate information, summarizes the rate supported by the device, and provides the data to the data packaging module.
步骤703:设备A的数据打包模块把设备支持速率转换为信息编码后提供给数据输出模块;Step 703: The data packing module of the device A converts the device support rate into an information code and provides the data output module to the data output module.
步骤704:设备A的数据发送装置通过控制TDIS信号进行数据的发送;Step 704: The data transmitting apparatus of the device A performs data transmission by controlling the TDIS signal.
步骤705:对端设备B的数据接收装置实时检测LOS信号,并把接收的有效数据转换后存储到数据存储空间;Step 705: The data receiving apparatus of the peer device B detects the LOS signal in real time, and converts the received valid data into a data storage space.
步骤706:设备B的解析模块通过对接收到的数据进行转换为普通的数据信息,并提交给处理器;Step 706: The parsing module of the device B converts the received data into ordinary data information, and submits the data to the processor.
步骤707:设备B的处理器在接收到对端的光口支持速率后,结合本端所能够支持的光口速率,自动协商出本光口连接的最大支持速率;Step 707: After receiving the optical port support rate of the peer end, the processor of the device B automatically negotiates the maximum support rate of the optical port connection according to the optical port rate that the local end can support;
步骤708:设备B的处理器把协商后的光口速率信息填写到本设备的信息上报模块,同时设备B对本设备的光口速率按照协商的结果进行配置;Step 708: The processor of the device B fills in the information reporting rate of the device to the information reporting module of the device, and the device B configures the optical port rate of the device according to the negotiation result.
步骤709:设备B的数据打包模块对需要发送的信息进行编码并填充到数据发送装置;Step 709: The data packing module of the device B encodes the information that needs to be sent and fills the data sending device.
步骤710:设备B的数据发送装置通过控制TDIS管脚进行数据的发送;Step 710: The data transmitting apparatus of the device B performs data transmission by controlling the TDIS pin.
步骤711:设备A的数据接收装置在接收到数据后提交给解析模块;Step 711: The data receiving apparatus of the device A submits the data to the parsing module after receiving the data;
步骤712:设备A的解析模块把信息转换为普通的数据内容后提交给本设备的处理器,进行信息处理;Step 712: The parsing module of the device A converts the information into ordinary data content, and submits the information to the processor of the device for information processing.
步骤713:设备A的处理器根据接收到的光口配置速率信息对光口速率进行配置; Step 713: The processor of the device A configures the optical port rate according to the received optical port configuration rate information.
通过上述步骤,实现光口速率的自协商功能。Through the above steps, the auto-negotiation function of the optical port rate is implemented.
图13是本发明实施实例提供的基于辅助通讯实现软件版本下载的流程,包括:信息协商,软件版本下载等功能模块,设备在检测到本板软件缺陷,且无法通过正常的光口进行版本下载时,启动辅助通讯通道进行版本下载,步骤如下:FIG. 13 is a flow chart of downloading a software version based on an auxiliary communication according to an embodiment of the present invention, including: information negotiation, software version downloading, and the like, the device detects a defect of the board software, and cannot download the version through a normal optical port. When the auxiliary communication channel is started for version download, the steps are as follows:
步骤801:设备A启动辅助通讯通道,请求版本下载流程;Step 801: Device A starts an auxiliary communication channel and requests a version download process.
步骤802:为提高传输效率,通道协商通讯波特率;Step 802: In order to improve transmission efficiency, the channel negotiates a communication baud rate;
步骤803:设置波特率,并进入版本下载模式;Step 803: setting a baud rate and entering a version download mode;
步骤704:由于在启动版本下载模式时,不需要启动数据的编解码功能,因此在数据打包模块采用直接透传模式,把版本数据发送到数据发送装置,并启动发送;Step 704: Since the codec function of the data is not required to be started when the version download mode is started, the data packet module adopts a direct transparent transmission mode, and sends the version data to the data transmitting device, and starts sending;
步骤805:数据发送装置按照约定的波特率和通讯协议进行数据的发送;Step 805: The data sending apparatus performs data transmission according to an agreed baud rate and a communication protocol.
步骤806:在接收端,数据接收装置根据协商的波特率和数据协议进行数据的接收,并存如到数据接收存储区;Step 806: At the receiving end, the data receiving device performs data reception according to the negotiated baud rate and the data protocol, and stores the data in the data receiving storage area;
步骤807:解析模块直接透传接收到的数据给处理器;Step 807: The parsing module directly transmits the received data to the processor.
步骤808:处理器把接收到的数据存入制定的数据存储空间;Step 808: The processor saves the received data into the defined data storage space.
为确保通讯的可靠性,需要定期进行握手,如果系统在反馈接收数据异常时,通过重传上一次握手到本次握手间传送的数据内容,即提高效率,有提高的数据传输的可靠性。通过上述步骤,实现软件版本自下载的功能。In order to ensure the reliability of the communication, a handshake is required periodically. If the system receives the data abnormality in the feedback, the data content transmitted by the last handshake to the handshake is retransmitted, that is, the efficiency is improved, and the reliability of the data transmission is improved. Through the above steps, the software version self-downloading function is implemented.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这 些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented using an integrated circuit. The steps may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps may be fabricated into a single integrated circuit module.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本发明实施例在光纤物理联接正常而端口速率不匹配等软件缺陷场景下能够实现辅助通讯,克服了相关技术中的受制于对等通讯限制的缺点,是已有光纤通讯的有效补充。本发明实施例通过借用已有的传输通道,在不增加成本的前提下实现信息的准确上报,特别是当上报信息为故障信息时,可极大提高故障排查效率。 In the embodiment of the invention, the auxiliary communication can be realized in a software defect scenario in which the physical connection of the optical fiber is normal and the port rate is not matched, and the shortcomings of the related art are limited by the peer-to-peer communication limitation, which is an effective supplement of the existing optical fiber communication. In the embodiment of the present invention, the existing transmission channel is borrowed, and the information is accurately reported without increasing the cost. Especially when the reported information is fault information, the troubleshooting efficiency can be greatly improved.

Claims (13)

  1. 一种实现光口链路辅助通讯的方法,包括:A method for implementing optical port link auxiliary communication includes:
    光模块的发送端根据预定的通信协议对待发送数据打包;The transmitting end of the optical module packages the data to be sent according to a predetermined communication protocol;
    光模块的发送端对打包数据进行并串转换,得到串行信号;The transmitting end of the optical module performs parallel-to-serial conversion on the packed data to obtain a serial signal;
    所述光模块的发送端按照预定的波特率输出所述串行信号对应的电平序列到光模块的输出使能管脚。The transmitting end of the optical module outputs a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate.
  2. 如权利要求1所述的方法,其中,所述光模块的发送端根据预定的通信协议对待发送数据打包包括:The method of claim 1, wherein the transmitting end of the optical module packages the data to be sent according to a predetermined communication protocol, including:
    所述光模块的发送端按照预定规则对所述待发送数据进行编码;The transmitting end of the optical module encodes the to-be-sent data according to a predetermined rule;
    所述光模块的发送端将编码后的数据按照预定的通信协议进行打包。The transmitting end of the optical module packages the encoded data according to a predetermined communication protocol.
  3. 一种实现光口链路辅助通讯的方法,包括:A method for implementing optical port link auxiliary communication includes:
    光模块的接收端按照预定的波特率将检测到的同步丢失信号转换为并行信号;The receiving end of the optical module converts the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
    所述光模块的接收端根据预定的通信协议从所述并行信号中解析出数据。The receiving end of the optical module parses data from the parallel signal according to a predetermined communication protocol.
  4. 如权利要求3所述的方法,其中,所述光模块的接收端根据预定的通信协议从所述并行信号中解析出数据后还包括:The method of claim 3, wherein the receiving end of the optical module further comprises: after parsing the data from the parallel signal according to a predetermined communication protocol:
    所述光模块的接收端按照预定规则对解析出的数据进行解码,得到原始数据。The receiving end of the optical module decodes the parsed data according to a predetermined rule to obtain original data.
  5. 一种实现光口链路辅助通讯的方法,包括:A method for implementing optical port link auxiliary communication includes:
    光模块的发送端根据预定的通信协议对待发送数据打包;The transmitting end of the optical module packages the data to be sent according to a predetermined communication protocol;
    光模块的发送端对打包数据进行并串转换,得到串行信号;The transmitting end of the optical module performs parallel-to-serial conversion on the packed data to obtain a serial signal;
    所述光模块的发送端按照预定的波特率输出所述串行信号对应的电平序列到光模块的输出使能管脚;The transmitting end of the optical module outputs a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate;
    光模块的接收端按照预定的波特率将检测到的同步丢失信号转换为并行信号; The receiving end of the optical module converts the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
    所述光模块的接收端根据预定的通信协议从所述并行信号中解析出数据。The receiving end of the optical module parses data from the parallel signal according to a predetermined communication protocol.
  6. 如权利要求5所述的方法,其中,所述光模块的发送端根据预定的通信协议对待发送数据打包包括:The method of claim 5, wherein the transmitting end of the optical module packages the data to be sent according to a predetermined communication protocol, including:
    所述光模块的发送端按照预定规则对所述待发送数据进行编码;The transmitting end of the optical module encodes the to-be-sent data according to a predetermined rule;
    所述光模块的发送端将编码后的数据按照预定的通信协议进行打包;The transmitting end of the optical module packages the encoded data according to a predetermined communication protocol;
    所述光模块的接收端根据预定的通信协议从所述并行信号中解析出数据后还包括:After the receiving end of the optical module parses the data from the parallel signal according to a predetermined communication protocol, the method further includes:
    所述光模块的接收端按照预定规则对解析出的数据进行解码,得到原始数据。The receiving end of the optical module decodes the parsed data according to a predetermined rule to obtain original data.
  7. 一种实现光口链路辅助通讯的装置,设置于光模块的发送端,包括:A device for implementing the optical port link auxiliary communication, which is disposed at the transmitting end of the optical module, and includes:
    数据打包模块,设置为:根据预定的通信协议对待发送数据打包;a data packaging module, configured to: package data to be sent according to a predetermined communication protocol;
    并串转换模块,设置为:对打包数据进行并串转换,得到串行信号;The parallel-serial conversion module is set to: perform parallel-to-serial conversion on the packed data to obtain a serial signal;
    数据输出模块,设置为:按照预定的波特率输出所述串行信号对应的电平序列到光模块的输出使能管脚。The data output module is configured to: output a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate.
  8. 如权利要求7所述的装置,其中,所述数据打包模块包括:The apparatus of claim 7, wherein the data packaging module comprises:
    编码单元,设置为:按照预定规则对所述待发送数据进行编码;a coding unit, configured to: encode the to-be-sent data according to a predetermined rule;
    打包单元,设置为:将编码后的数据按照预定的通信协议进行打包。The packing unit is configured to: package the encoded data according to a predetermined communication protocol.
  9. 一种实现光口链路辅助通讯的装置,设置于光模块的接收端,包括:A device for implementing the optical port link auxiliary communication, which is disposed at the receiving end of the optical module, and includes:
    转换模块,设置为:按照预定的波特率将检测到的同步丢失信号转换为并行信号;The conversion module is configured to: convert the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
    解析模块,设置为:根据预定的通信协议从所述并行信号中解析出数据。The parsing module is configured to parse the data from the parallel signal according to a predetermined communication protocol.
  10. 如权利要求9所述的装置,还包括:The apparatus of claim 9 further comprising:
    解码模块,设置为:按照预定规则对解析出的数据进行解码,得到原始数据。 The decoding module is configured to: decode the parsed data according to a predetermined rule to obtain original data.
  11. 一种实现光口链路辅助通讯的装置,包括:A device for implementing optical port link auxiliary communication, comprising:
    设置于光模块的发送端的数据打包模块,并串转换模块及数据输出模块;设置于光模块的接收端的转换模块及解析模块;a data packing module disposed at the transmitting end of the optical module, a serial conversion module and a data output module; a conversion module and an analysis module disposed at the receiving end of the optical module;
    所述数据打包模块设置为:根据预定的通信协议对待发送数据打包;The data packaging module is configured to: package data to be sent according to a predetermined communication protocol;
    所述并串转换模块设置为:对打包数据进行并串转换,得到串行信号;The parallel-to-serial conversion module is configured to: perform parallel-to-serial conversion on the packed data to obtain a serial signal;
    所述数据输出模块设置为:按照预定的波特率输出所述串行信号对应的电平序列到光模块的输出使能管脚;The data output module is configured to: output a level sequence corresponding to the serial signal to an output enable pin of the optical module according to a predetermined baud rate;
    所述转换模块设置为:按照预定的波特率将检测到的同步丢失信号转换为并行信号;The conversion module is configured to: convert the detected synchronization loss signal into a parallel signal according to a predetermined baud rate;
    所述解析模块设置为:根据预定的通信协议从所述并行信号中解析出数据。The parsing module is configured to parse data from the parallel signal according to a predetermined communication protocol.
  12. 如权利要求11所述的装置,其中,所述数据打包模块包括:The apparatus of claim 11 wherein said data packaging module comprises:
    编码单元,设置为:按照预定规则对所述待发送数据进行编码;a coding unit, configured to: encode the to-be-sent data according to a predetermined rule;
    打包单元,设置为:将编码后的数据按照预定的通信协议进行打包Packing unit, set to: package the encoded data according to a predetermined communication protocol
    所述装置还包括:The device also includes:
    设置于光模块的接收端的解码模块,设置为:按照预定规则对解析出的数据进行解码,得到原始数据。The decoding module disposed at the receiving end of the optical module is configured to: decode the parsed data according to a predetermined rule to obtain original data.
  13. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-6任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-6.
PCT/CN2015/084709 2014-11-27 2015-07-21 Apparatus and method for implementing communication assisted by optical port link WO2016082569A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410707661.8 2014-11-27
CN201410707661.8A CN104780150A (en) 2014-11-27 2014-11-27 Device and method for realizing optical port link auxiliary communication

Publications (1)

Publication Number Publication Date
WO2016082569A1 true WO2016082569A1 (en) 2016-06-02

Family

ID=53621395

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/084709 WO2016082569A1 (en) 2014-11-27 2015-07-21 Apparatus and method for implementing communication assisted by optical port link

Country Status (2)

Country Link
CN (1) CN104780150A (en)
WO (1) WO2016082569A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780150A (en) * 2014-11-27 2015-07-15 中兴通讯股份有限公司 Device and method for realizing optical port link auxiliary communication
CN106487519B (en) * 2015-09-02 2020-07-07 中兴通讯股份有限公司 Communication equipment connection method and system and optical interface rate conversion equipment
CN107528669B (en) * 2016-06-22 2021-11-12 中兴通讯股份有限公司 Data transmission method and microwave transmission device
CN107995641B (en) * 2018-01-31 2019-02-01 成都物梦工场信息技术有限公司 Management method, device and the computer readable storage medium of terminal and real-time base station communication failure
CN108599843B (en) * 2018-05-07 2021-02-12 上海市共进通信技术有限公司 Function detection control method for supporting output of 1PPS and TOD signals in SFP ONT optical module and host
CN111510220B (en) * 2020-04-08 2021-10-08 武汉光迅科技股份有限公司 Receive and dispatch optical module with USBType-C electricity mouth

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902281A (en) * 2010-07-07 2010-12-01 奥维通信股份有限公司 Digital optical fiber repeater system with self-healing annular networking function and data communication method thereof
CN102983903A (en) * 2012-11-14 2013-03-20 中兴通讯股份有限公司 Device rapidly handling single fiber failure and method handling the single fiber failure
US20130089336A1 (en) * 2011-10-06 2013-04-11 Stefan Dahlfort Apparatus for communicating a plurality of antenna signals at different optical wavelengths
CN104780150A (en) * 2014-11-27 2015-07-15 中兴通讯股份有限公司 Device and method for realizing optical port link auxiliary communication

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667864B (en) * 2009-09-28 2012-05-23 中兴通讯股份有限公司 Method of descending physical link fault diagnosis, system and device
CN102158305B (en) * 2010-12-14 2012-07-04 北京航空航天大学 Mass data transmission supported high-speed photoelectric conversion data transmission method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902281A (en) * 2010-07-07 2010-12-01 奥维通信股份有限公司 Digital optical fiber repeater system with self-healing annular networking function and data communication method thereof
US20130089336A1 (en) * 2011-10-06 2013-04-11 Stefan Dahlfort Apparatus for communicating a plurality of antenna signals at different optical wavelengths
CN102983903A (en) * 2012-11-14 2013-03-20 中兴通讯股份有限公司 Device rapidly handling single fiber failure and method handling the single fiber failure
CN104780150A (en) * 2014-11-27 2015-07-15 中兴通讯股份有限公司 Device and method for realizing optical port link auxiliary communication

Also Published As

Publication number Publication date
CN104780150A (en) 2015-07-15

Similar Documents

Publication Publication Date Title
WO2016082569A1 (en) Apparatus and method for implementing communication assisted by optical port link
CA2921075C (en) System, method and apparatus for transmitting electrical quantity data based on beidou satellite communication
EP2928108B1 (en) System, method and apparatus for multi-lane auto-negotiation over reduced lane media
US11818596B2 (en) Link fault handling in fronthaul communication networks
CN101753586A (en) Method for transmitting data, process method for receiving data and device
CN110177058B (en) Ethernet switch board state monitoring transceiver based on FPGA
WO2011050631A1 (en) Alarm report method, system and device for cascaded device
CN112187922A (en) Intelligent Internet of things shutdown machine based on MQTT communication protocol
CN104022857A (en) Server engine frame design method based on multiple working modes
CN105183687A (en) Time-sharing serial communication method and system
CN103795518A (en) Method, device, and system for synchronizing port modes between devices
WO2013127321A1 (en) Base band switching device and switching method thereof
CN102411681B (en) A kind of Unidirectional data transmission device and communication means
CN104426605B (en) Remote equipment failure localization method, system and relevant device based on optical fiber transmission
CN102497290A (en) Data detecting equipment and method for MVB (multifunctional vehicle bus) network
CN203872255U (en) Network camera
US9762353B2 (en) Data packet for bidirectional transmission of data packets during data transmission between a first and a second communication appliance, and method for transmitting such a data packet
US20150181585A1 (en) Data transmission method and device
CN110417762B (en) Module integration system with message packaging technology
CN107645563A (en) The Internet of Things means of communication and system of a kind of medical testing devices
CN112532421A (en) FPGA-based channel state online sensing and multiplexing unit, device and method
CN104468216A (en) Network sending and receiving terminal and system
CN105407084B (en) A kind of network transmission device, method and system
CN105610595B (en) Fault data acquisition system, remote equipment control system and corresponding method thereof
CN103281159A (en) Method for transmitting MAC (Media Access Control) and IP (Internet Protocol) information among verification modules based on message queue

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15864272

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15864272

Country of ref document: EP

Kind code of ref document: A1