WO2012009971A1 - Method and device for rate self-negotiation of optical interfaces - Google Patents

Method and device for rate self-negotiation of optical interfaces Download PDF

Info

Publication number
WO2012009971A1
WO2012009971A1 PCT/CN2011/070473 CN2011070473W WO2012009971A1 WO 2012009971 A1 WO2012009971 A1 WO 2012009971A1 CN 2011070473 W CN2011070473 W CN 2011070473W WO 2012009971 A1 WO2012009971 A1 WO 2012009971A1
Authority
WO
WIPO (PCT)
Prior art keywords
rate
handshake
negotiation
data
optical signal
Prior art date
Application number
PCT/CN2011/070473
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 WO2012009971A1 publication Critical patent/WO2012009971A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • H04W88/085Access point devices with remote components

Definitions

  • the present invention relates to the field of optical transmission, and in particular, to a method and apparatus for optical port rate auto-negotiation. Background technique
  • base stations for wireless communication mainly use a baseband unit (BBU) and a radio remote unit (RRU).
  • BBU baseband unit
  • RRU radio remote unit
  • Part of the interconnection is through fiber optics, and the communication protocol generally uses the Common Public Radio Interface (CPRI) protocol.
  • the CPRI protocol can support multiple data rates, including: 614.4 Mbit/s, 1228.8 Mbit/s, 2457.6 Mbit/s, 3072 Mbit/s, 4915.6 Mbit/s, 6144 Mbit/s, 98304 Mbit/s.
  • the current technology is that the rate is fixed at one end and the rate is configured passively at the opposite end.
  • the RRU may have multiple specifications (there is only one optical port rate for each RRU) or may support multiple optical port rates. Because one end must be rate fixed, it limits the flexibility of system rate configuration. Summary of the invention
  • the present invention provides a method and apparatus for auto-negotiation of optical port rate, in order to solve the problem that the rate of one end is fixed, and the rate of configuration of the system is poor. .
  • the data is received at the selected optical port rate while the transmitting end sends the handshake optical signal, and the rate at which the transmitting end sends the data is selected from the multiple rates according to the predetermined policy, and is sent.
  • the rate at which the data is sent is the same as the rate at which the receiver receives the data;
  • the received data is parsed. If the data is successfully parsed, the rate auto-negotiation is successful. Otherwise, the rate auto-negotiation is unsuccessful.
  • An embodiment of the present invention further provides an apparatus for controlling network usage, including:
  • a handshake optical signal receiving module configured to receive a handshake optical signal sent by the transmitting end
  • a selection module configured to select an optical port rate from a plurality of rates according to a predetermined policy
  • the data receiving module is configured to: according to the time of receiving the handshake optical signal, send data at the transmitting end after transmitting the handshake optical signal, and perform data reception at the selected rate, and the rate at which the transmitting end sends the data is from the multiple rate according to the predetermined policy. In the selection, the sending end sends the data at the same rate as the receiving end receives the data;
  • the state control module is configured to parse the received data. If the data is successfully parsed, the rate auto-negotiation is successful. Otherwise, the rate auto-negotiation is unsuccessful.
  • the optical port auto-negotiation can be actively performed by selecting multiple rates, so that the system rate configuration flexibility is better.
  • FIG. 1 is a schematic diagram of a negotiation pulse format according to an embodiment of the present invention.
  • FIG. 3 is a structural diagram of an apparatus according to an embodiment of the present invention. detailed description
  • the technical solution of the embodiment of the present invention will be described in detail with reference to the accompanying drawings, in order to solve the problem that the rate of one end is fixed when the rate is configured by the devices that communicate with each other.
  • the problem of poor flexibility in the configuration of the rate is that the receiver needs to receive the handshake optical signal sent by the sender. After the sender sends the handshake signal, the sender sends data at a certain time. After receiving the handshake signal, the receiver supports multiple rates from the optical port. Selecting, selecting a rate, according to the pre-policy, the sending data is sent at the same rate as the selected one, and the receiving party synchronizes with the transmitting data according to the time of receiving the handshake optical signal, and performs data reception at the selected rate.
  • the receiver After receiving the data, the receiver determines the rate auto-negotiation based on the parsing result of parsing the received data. If the parsing result is successful, the rate auto-negotiation is unsuccessful. In this way, the optical port auto-negotiation can be actively performed by selecting the rate.
  • the status of the optical signal of the optical port is first monitored, and the status is counted when the optical signal is monitored from being lost to returning to normal.
  • the status is recorded as the optical interface status (OIS)
  • the count value is recorded as the optical interface status count value (OISN)
  • OIS status is detected
  • OISN is incremented by 1
  • the OIS record is checked, and the rate auto-negotiation is initiated. process.
  • the OIS is cleared, and the power-off command is sent to the optical port, so that the opposite end can detect the lost state of the optical signal.
  • the feedback execution completes the response, and then sends the optical power to open the command to the optical port.
  • the optical port When the optical port performs a shutdown and turns on the optical power, it sends a handshake optical signal to the opposite end. After the optical power is turned on, the OISN value is monitored. The optical power of the opposite end is turned off and then the response is sent to wait for the handshake signal sent by the opposite end. signal.
  • the peer end may also actively send a handshake optical signal.
  • the local end monitors the OISN value and then performs an optical power off operation, and responds to the handshake signal of the opposite end to complete the handshake at both ends. After completing the handshake, wait for a long time. During this time, you will receive the second handshake signal from the opposite end, and then clear the OISN count value. After clearing, wait for a long time, and the optical power will stabilize.
  • the rate selection command is sent to the optical port to prepare for rate adaptation.
  • the first rate selection starts from 1228.8 Mbit/s.
  • the optical interface receives the rate selection command, the optical interface is configured as required by the command.
  • the configuration result is reported and the negotiation pulse from the peer is started.
  • a command for generating a negotiation pulse is sent, a negotiation pulse is generated according to the currently selected rate, and the generated negotiation pulse is sent to the optical port, and is sent to the optical port.
  • the peer end (the RRU needs to lock the clock from the BBU and sends it). If the optical port only supports 2457.6 Mbit/s, but the optical port is configured to send the negotiation pulse at 1228.8 Mbit/s, in fact, the optical path in this case There is no optical signal transmission that can be recognized by the peer.
  • the negotiation pulse includes: check field, service rate, service type, service version, device model, link status, protocol version, and the timer is turned on at the same time, and the sending time continues to be appropriate.
  • this time guarantees that the RRU side parallel/serial-to-serial converter (serdes) can lock the link clock from the BBU and can send enough negotiation pulses. If it is a cascaded RRU (the lower RRU end needs to lock the time negotiation pulse from the upper RRU.
  • the negotiation pulse of the opposite end is received and parsed, and when the time is up, the received and parsed will be received.
  • the local end sends the negotiation pulse and the local end receives the negotiation pulse. It may not be the same at the same time. However, according to the time of receiving the handshake optical signal, the opposite end sends the negotiation pulse and the local end receives the negotiation pulse to leave a window large enough in time. The size of the window ensures that there is enough time at both ends to send and receive negotiation pulses at the same rate. The windows at both ends do not require strict time alignment. Determine whether to initiate the rate selection configuration and negotiate the pulse transmission process according to the analysis result. If the rate negotiation succeeds, the data can be parsed correctly. Then, the optical port is reconfigured according to the negotiated rate. Otherwise, the next rate is 2457.6 Mbit/s.
  • the rate specification is selected from small to large.
  • the result of the analysis has not been successful in rate negotiation. Then, it is repeated until the maximum rate of the system or the CPRI protocol is reached, so that the negotiation is performed at each rate. Of course, the negotiation can be performed from the large to the small.
  • the OISN value is checked. If it is still zero, the auto-negotiation process is stopped, and the negotiation unsuccessful state is retained. If the OISN value is non-zero, the step of returning the optical status signal of the monitoring optical port, so three times, still fails to stop the auto-negotiation process, retaining the current state.
  • the BBU model is A
  • the RRUs of the models A1 and A2 can be accessed, and the highest speed supported by the A1.
  • the rate is 2457.6 Mbit/s
  • the maximum rate supported by A2 is 4915.2 Mbit/s.
  • the assumed RRU is A2
  • the minimum optical port rate of A2 is 2457.6 Mbit/s
  • the minimum BBU rate is 2457.6 Mbit/s.
  • the BBU is used as an example to describe the specific implementation process:
  • Step 10 The BBU is in the optical port monitoring state detection OIS state.
  • the BBU and the RRU power on and access the optical fiber, or replace the RRU and access the optical fiber, or replace the optical interface and access the optical fiber.
  • Step 20 Determine whether OISN is 0. If it is 0, go to step 10. Otherwise, go to step 30.
  • step 30 the OISN value is cleared.
  • step 40 the optical power is turned off and the operation is turned on, and the first handshake optical signal is sent to the RRU.
  • Step 50 Monitor whether the value of the OISN is 1 and open the timer. If yes, go to step 80. Otherwise, go to step 60.
  • step 60 it is determined whether the timeout is 1 second. If yes, step 70 is performed, otherwise step 80 is performed. In this embodiment, if the timeout is 1 second, it is considered that the first handshake handshake signal is not received by the RRU. Of course, depending on the actual needs, the timeout period can be different, such as a timeout of 0.5 seconds or 2 seconds.
  • Step 70 Set OISN to 0, and return to step 10 for optical port monitoring.
  • Step 80 After receiving the first optical signal handshake of the RRU, perform optical power shutdown and open operation, and start transmitting the second handshake optical signal.
  • the OISN by monitoring the value of the OISN, it is determined whether the first handshake optical signal sent by the RRU is received. If the value of the OISN is equal to 1, it indicates that the first handshake optical signal sent by the RRU is received.
  • Step 90 Monitor the value of the OISN, determine whether the OISN is equal to 2, and open the timer. If yes, go to step 120. Otherwise, go to step 100. Step 100, determining whether the timeout is 1 second, if yes, executing step 70, otherwise performing the step
  • OISN If the OISN is equal to 2, it indicates that the second handshake optical signal sent by the RRU is received, and the handshake is successful.
  • Step 110 Start the rate configuration, start configuration from 1228.8 Mbit/s, and send the negotiation burst according to the configured rate to open the timer.
  • the RRU After the RRU sends the second handshake optical signal, it will send a negotiation burst with a rate of 1228.8 Mbit/s to the BBU according to a prior strategy, such as the next 2 seconds.
  • the BBU also according to the time of receiving the handshake optical signal, after the next 2
  • the negotiation burst is received at a rate of 1228.8 Mbit/s in seconds, so that the time and rate at which the transmitting end RRU sends the negotiation burst is ensured, which is the same as the time and rate at which the receiving BBU receives the negotiation burst, in this embodiment, from the CPRI protocol.
  • step 120 it is determined whether the negotiation burst is correctly parsed. If yes, step 130 is performed; otherwise, step 170 is performed.
  • the optical interface of the RRU locks the link clock and sends the negotiation burst according to the configured rate.
  • the timer does not time out.
  • the timer timeout period is set to 1 second.
  • the negotiation burst is parsed.
  • the information includes not only the optical port rate of the RRU, but also other device information required for the RRU to establish a high-level connection, and can determine whether it is in an auto-negotiation state according to the link status.
  • Step 130 Record the device information obtained by the parsing, and perform matching processing according to the parsed device information.
  • the analysis result in this step is correct.
  • the device information is: 4915.6 Mbit/s, the service type is LTE, the service version is V1.0, the model number is A2, and the protocol version is V4.1.
  • the BBU matches the device information of the RRU carried by the negotiation pulse according to the device information of the RRU that can be connected in advance.
  • the above device information is device information required for establishing a high-level connection.
  • Step 140 Determine whether the matching is correct. If step 150 is performed, otherwise step 160 is performed. Step 150: Report the background RRU device information.
  • Step 160 Configure an optical port rate according to the service rate in the device information.
  • the device information is matched according to the device information obtained by the parsing.
  • the RRU and the BBU will communicate with the optical port at the configured optical port rate of 4915.6 Mbit/s.
  • Step 170 determining whether the timeout is 1 second, if yes, executing step 180, otherwise performing the step
  • Step 180 Determine whether the rate configuration is equal to 6144 Mbit/s. If yes, go to step 200. Otherwise, go to step 190.
  • Step 190 increasing the rate configuration and transmitting the negotiation burst.
  • step 200 it is determined that the rate negotiation fails and the negotiation failure count is performed.
  • Step 210 Determine whether the number of negotiation failures is greater than 3. If yes, execute step 220. Otherwise, go to step 70.
  • Step 220 set OISN to 1, and repeat step 10.
  • the accessed RRU is A2 and the RRU device information matches.
  • the rate of the final link communication is 4.9152 Gbit/s, and the physical link auto-negotiation process is completed.
  • the RRU device information accessed in the background can be reported.
  • the device information of the RRU can also be negotiated in the highest and lowest rate ranges. The result of the judgment is that it does not match.
  • the rate is set to the highest, the negotiation cannot be successful. If the negotiation fails successfully for three consecutive times, the status of the negotiation failure is recorded and the status of the optical port monitoring is returned. For example, if the optical port of one end is damaged, or the range of optical port rates at both ends does not overlap, the negotiation cannot be successful.
  • negotiation pulse in this embodiment is only a preferred embodiment of the present embodiment, so that the process of synchronizing with the CPRI frame is better, and the CPRI frame can be used instead of the negotiation pulse.
  • the embodiment of the invention further provides a device for auto-negotiation of optical port rate.
  • the device includes:
  • the handshake optical signal receiving module 310 is configured to receive the handshake optical signal sent by the sending end, and the selecting module 320 is configured to select the optical port rate from the multiple rates according to a predetermined policy.
  • the data receiving module 330 is configured to receive the handshake optical signal according to the received signal. Time, when the transmitting end sends the handshake optical signal and then sends the data, the data is received at the selected rate, and the rate at which the transmitting end sends the data is selected from the multiple rates according to the predetermined policy, and the rate at which the transmitting end sends the data and the receiving end Receive data at the same rate;
  • the state control module 340 is configured to parse the received data. If the data is successfully parsed, the rate auto-negotiation is successful. Otherwise, the rate auto-negotiation is unsuccessful.
  • the handshake optical signal receiving module 310 is further configured to receive the handshake optical signal sent by the transmitting end, and turn off the optical power and turn on the signal as a handshake optical signal.
  • the handshake optical signal receiving module 310 is further configured to receive the number of times that the optical power sent by the transmitting end is turned off and the signal is turned on twice;
  • the selecting module 320 is further configured to: according to the time of receiving the second handshake optical signal, send data according to the selected rate and send data while transmitting the handshake optical signal at the transmitting end.
  • the data receiving module 330 is further configured to: according to the time of receiving the handshake optical signal, send the handshake pulse signal after the transmitting end sends the negotiation burst, and at the same time, negotiate the burst reception, and the sender sends the negotiation burst.
  • the rate is the same as the configured rate, negotiating the pulse
  • the number includes the device information needed to establish a high-level connection.
  • state control module 340 is further configured to perform matching processing on device information required for establishing a high-level connection.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)
  • Communication Control (AREA)

Abstract

The present invention provides a method and device for rate self-negotiation of optical interfaces. In the prior art, there is a problem that the system rate configuration has low flexibility, because the rate of one end is unchangeable when the rate configuration is performed by the devices which communicate with each other using the optical interfaces. The method includes: the two ends implement a self-negotiation for synchronization with a handshake optical signal, configure the rate according to a rate selected from multiple rates, and receive data according to the configured rate simultaneously, wherein the rate of the data transmitted by the transmission end is the same as the configured rate; the received data is parsed, and whether the rate self-negotiation is successful is determined according to the parsing result; if the parsing result indicates that the received data is correct, the rate self-negotiation is successful. In the solution, the rate can be selected from multiple rates, so that the self-negotiation of optical interfaces can be implemented actively, which improves the flexibility of the system rate configuration.

Description

一种光口速率自协商的方法及装置 技术领域  Method and device for optical port rate auto-negotiation
本发明涉及光传输领域, 尤其涉及一种光口速率自协商的方法及装置。 背景技术  The present invention relates to the field of optical transmission, and in particular, to a method and apparatus for optical port rate auto-negotiation. Background technique
当前一些釆用光口进行通信的设备, 彼此之间可釆用多种数据速率进 行通信, 例如无线通讯的基站主要釆用基带单元(BBU )和射频拉远单元 ( RRU ) 的组成方式, 两部分之间通过光纤互联, 通讯协议普遍使用通用 公共无线接口(CPRI )协议。 CPRI协议可以支持多种数据速率,包括: 614.4 Mbit/s, 1228.8Mbit/s, 2457.6Mbit/s, 3072Mbit/s, 4915.6Mbit/s, 6144Mbit/s, 98304Mbit/s。  At present, some devices that use optical ports for communication can communicate with each other at various data rates. For example, base stations for wireless communication mainly use a baseband unit (BBU) and a radio remote unit (RRU). Part of the interconnection is through fiber optics, and the communication protocol generally uses the Common Public Radio Interface (CPRI) protocol. The CPRI protocol can support multiple data rates, including: 614.4 Mbit/s, 1228.8 Mbit/s, 2457.6 Mbit/s, 3072 Mbit/s, 4915.6 Mbit/s, 6144 Mbit/s, 98304 Mbit/s.
BBU和 RRU之间要进行通讯, 需要 BBU和 RRU之间光接口首先建 立物理层连接。 当 BBU和 RRU存在多种规格速率接口的情况下, 目前的 技术是一端速率固定, 对端被动的进行速率配置。  To communicate between the BBU and the RRU, you need to establish a physical layer connection between the optical interface between the BBU and the RRU. When there are multiple rate interfaces on the BBU and the RRU, the current technology is that the rate is fixed at one end and the rate is configured passively at the opposite end.
但对于 BBU可能存在多种速率规格的光接口, RRU可能存在多种规格 (每种规格 RRU只有一种光口速率)或者可能支持多种规格的光口速率的 情况。 因为一端必须是速率固定的, 因此限制了系统速率配置的灵活性。 发明内容  However, for an optical interface with multiple rate specifications on the BBU, the RRU may have multiple specifications (there is only one optical port rate for each RRU) or may support multiple optical port rates. Because one end must be rate fixed, it limits the flexibility of system rate configuration. Summary of the invention
为了解决现有技术中由于釆用光口相互通信的设备进行速率配置时, 一端速率固定, 因此系统速率配置灵活性较差的问题, 本发明提供了一种 光口速率自协商的方法及装置。  The present invention provides a method and apparatus for auto-negotiation of optical port rate, in order to solve the problem that the rate of one end is fixed, and the rate of configuration of the system is poor. .
本发明实施例提供的一种光口速率自协商的方法, 包括:  A method for automatically negotiating an optical interface rate according to an embodiment of the present invention includes:
接收发送端发送的握手光信号;  Receiving a handshake optical signal sent by the transmitting end;
按照预定策略从多个速率中选择光口速率; 根据接收握手光信号的时间, 在发送端发送握手光信号后发送数据的 同时, 按选择的光口速率进行数据接收, 发送端发送数据的速率按照所述 预定策略从多个速率中选择, 发送端发送数据的速率与接收端接收数据的 速率相同; Selecting an optical port rate from a plurality of rates according to a predetermined policy; According to the time of receiving the handshake optical signal, the data is received at the selected optical port rate while the transmitting end sends the handshake optical signal, and the rate at which the transmitting end sends the data is selected from the multiple rates according to the predetermined policy, and is sent. The rate at which the data is sent is the same as the rate at which the receiver receives the data;
对接收的数据进行解析, 若数据解析成功则确定速率自协商成功, 否 则确定速率自协商不成功。  The received data is parsed. If the data is successfully parsed, the rate auto-negotiation is successful. Otherwise, the rate auto-negotiation is unsuccessful.
本发明实施例还提供了一种控制网络使用的装置, 包括:  An embodiment of the present invention further provides an apparatus for controlling network usage, including:
握手光信号接收模块, 用于接收发送端发送的握手光信号;  a handshake optical signal receiving module, configured to receive a handshake optical signal sent by the transmitting end;
选择模块, 用于按照预定策略从多个速率中选择光口速率;  a selection module, configured to select an optical port rate from a plurality of rates according to a predetermined policy;
数据接收模块, 用于根据接收握手光信号的时间, 在发送端发送握手 光信号后发送数据的同时, 按选择的速率进行数据接收, 发送端发送数据 的速率按照所述预定策略从多个速率中选择, 发送端发送数据的速率与接 收端接收数据的速率相同;  The data receiving module is configured to: according to the time of receiving the handshake optical signal, send data at the transmitting end after transmitting the handshake optical signal, and perform data reception at the selected rate, and the rate at which the transmitting end sends the data is from the multiple rate according to the predetermined policy. In the selection, the sending end sends the data at the same rate as the receiving end receives the data;
状态控制模块, 用于对接收的数据进行解析, 若数据解析成功则确定 速率自协商成功, 否则确定速率自协商不成功。  The state control module is configured to parse the received data. If the data is successfully parsed, the rate auto-negotiation is successful. Otherwise, the rate auto-negotiation is unsuccessful.
由于本发明实施例提供的方案, 可以从多个速率中进行选择从而主动 进行光口自协商, 因此系统速率配置灵活性较好。 附图说明  Due to the solution provided by the embodiment of the present invention, the optical port auto-negotiation can be actively performed by selecting multiple rates, so that the system rate configuration flexibility is better. DRAWINGS
图 1为本发明实施例方案涉及协商脉冲格式示意图;  1 is a schematic diagram of a negotiation pulse format according to an embodiment of the present invention;
图 2为本发明实施例提供的方法流程图;  2 is a flowchart of a method according to an embodiment of the present invention;
图 3为本发明实施例提供的装置的结构图。 具体实施方式  FIG. 3 is a structural diagram of an apparatus according to an embodiment of the present invention. detailed description
现结合说明书附图对本发明实施例的技术方案进行详细说明, 为了解 决由于釆用光口相互通信的设备进行速率配置时, 一端速率固定, 因此系 统速率配置灵活性较差的问题, 接收方需要接收发送端发送的握手光信号, 发送端发送完握手光信号后一定时间发送数据, 接收方接收握手光信号之 后从光口支持的多个速率中进行选择, 选择出一个速率, 按照预先的策略 发送端发送数据的速率与选择的速率相同, 接收方根据接收握手光信号的 时间, 与发送端发送数据同步, 按选择的速率进行数据接收, 接收方接收 数据后, 根据对接收的数据进行解析得到的解析结果, 若解析结果为解析 成功, 则判断速率自协商成功, 否则判断速率自协商不成功。 这样就可以 通过选择速率主动进行光口自协商。 The technical solution of the embodiment of the present invention will be described in detail with reference to the accompanying drawings, in order to solve the problem that the rate of one end is fixed when the rate is configured by the devices that communicate with each other. The problem of poor flexibility in the configuration of the rate is that the receiver needs to receive the handshake optical signal sent by the sender. After the sender sends the handshake signal, the sender sends data at a certain time. After receiving the handshake signal, the receiver supports multiple rates from the optical port. Selecting, selecting a rate, according to the pre-policy, the sending data is sent at the same rate as the selected one, and the receiving party synchronizes with the transmitting data according to the time of receiving the handshake optical signal, and performs data reception at the selected rate. After receiving the data, the receiver determines the rate auto-negotiation based on the parsing result of parsing the received data. If the parsing result is successful, the rate auto-negotiation is unsuccessful. In this way, the optical port auto-negotiation can be actively performed by selecting the rate.
具体而言, 先要监控光口光信号状态, 当监控到光信号从丟失到恢复 正常时,对该状态进行计数。为说明方便,将该状态记做光接口状态(OIS ), 计数值记作光接口状态计数值 ( OISN ) , 检测到一次 OIS状态, OISN加 1 , 检查到有 OIS的记录, 发起速率自协商过程。 OIS清零, 发送关断光功 率命令给光口, 以便对端能检测到光信号丟失状态, 光口执行完成光功率 关断命令后反馈执行完成响应, 再发送光功率打开命令给光口, 光口执行 一次关断和打开光功率就是向对端发送一次握手光信号, 发送完该光功率 打开命令同时监控 OISN的值,等待对端的光功率关闭再打开响应即等待对 端发送的握手光信号。 对端有可能也是主动发送握手光信号, 本端监控到 OISN 的值增加后再执行一次光功率关闭打开操作, 响应对端的握手光信 号, 完成两端握手。 完成两次握手后等待适当长时间, 此间会收到对端的 二次握手光信号, 然后清除 OISN计数值, 清除后再等待适当长时间, 此间 光功率会达到稳定。 完成以上操作后, 发送速率选择命令给光口, 准备进 行速率自适应,本实施例中第一次速率选择从 1228.8Mbit/s开始。光口接收 到速率选择命令后,按照命令要求的 1228.8Mbit/s进行光接口配置,配置完 成后上报配置结果, 并开始接收来自对端的协商脉冲。 根据配置结果进行 判断, 如果速率配置成功, 则发送用于生成协商脉冲的命令, 根据当前选 择的速率生成协商脉冲, 并将生成的协商脉冲发送给光口, 由光口发送给 对端 (对 RRU 端需要锁定来自 BBU 的时钟后发送), 若光口只支持 2457.6Mbit/s, 但光口被配置为按 1228.8Mbit/s发送协商脉冲, 实际上在这 种情况下光路上没有可以被对端识别的光信号传输。 Specifically, the status of the optical signal of the optical port is first monitored, and the status is counted when the optical signal is monitored from being lost to returning to normal. For convenience of description, the status is recorded as the optical interface status (OIS), the count value is recorded as the optical interface status count value (OISN), an OIS status is detected, OISN is incremented by 1, the OIS record is checked, and the rate auto-negotiation is initiated. process. The OIS is cleared, and the power-off command is sent to the optical port, so that the opposite end can detect the lost state of the optical signal. After the optical port performs the optical power-off command, the feedback execution completes the response, and then sends the optical power to open the command to the optical port. When the optical port performs a shutdown and turns on the optical power, it sends a handshake optical signal to the opposite end. After the optical power is turned on, the OISN value is monitored. The optical power of the opposite end is turned off and then the response is sent to wait for the handshake signal sent by the opposite end. signal. The peer end may also actively send a handshake optical signal. The local end monitors the OISN value and then performs an optical power off operation, and responds to the handshake signal of the opposite end to complete the handshake at both ends. After completing the handshake, wait for a long time. During this time, you will receive the second handshake signal from the opposite end, and then clear the OISN count value. After clearing, wait for a long time, and the optical power will stabilize. After the above operations are performed, the rate selection command is sent to the optical port to prepare for rate adaptation. In this embodiment, the first rate selection starts from 1228.8 Mbit/s. After the optical interface receives the rate selection command, the optical interface is configured as required by the command. After the configuration is complete, the configuration result is reported and the negotiation pulse from the peer is started. According to the configuration result, if the rate configuration is successful, a command for generating a negotiation pulse is sent, a negotiation pulse is generated according to the currently selected rate, and the generated negotiation pulse is sent to the optical port, and is sent to the optical port. The peer end (the RRU needs to lock the clock from the BBU and sends it). If the optical port only supports 2457.6 Mbit/s, but the optical port is configured to send the negotiation pulse at 1228.8 Mbit/s, in fact, the optical path in this case There is no optical signal transmission that can be recognized by the peer.
按照图 1 所示协商脉冲格式连续发送, 协商脉冲包括: 校验字段、 业 务速率、 业务类型、 业务版本、 设备型号、 链路状态、 协议版本, 同时打 开计时器, 发送时间持续适当长, 对于 RRU端此时间保证 RRU端并串 /串 并转换器 (serdes )可以锁定来自 BBU的链路时钟, 并能发送足够多的协 商脉冲。 如果是级联的 RRU (对下级 RRU端需要锁定来自上级 RRU的时 协商脉冲。 在前面发送协商脉冲步骤的同时, 接收并解析对端的协商脉冲, 在计时时间到时, 将接收和解析得到的设备信息记录, 当然本端发送协商 脉冲和本端接收协商脉冲也可以不是同时, 但根据接收握手光信号的时间, 对端发送协商脉冲和本端接收协商脉冲在时间上要留足够大的窗口, 窗口 的大小能够保证两端有足够的时间在同等速率上发送和接收协商脉冲。 两 端的窗口不要求严格时间对齐。 根据解析结果决定是否发起再次速率选择 配置和协商脉冲发送过程。 如果解析结果为速率协商成功即能够正确的解 析出数据, 则根据协商的速率重新配置光口, 否则继续选择下一速率 2457.6Mbit/s进行协商, 本实施例中, 选择速率规格是从小到大选择, 若解 析结果一直不是速率协商成功,则如此反复直到达到系统或者 CPRI协议最 高速率, 这样保证在各个速率都进行协商, 当然从速率大到小依次进行协 商也可以。 如果速率选择和配置达到最大速率仍然协商未果, 则检查 OISN 的值, 如果仍然是零, 停止自协商过程, 保留协商未果状态。 如果 OISN值 非零, 返回监控光口光信号状态步骤, 如此三次, 仍然未果停止自协商过 程, 保留当前状态。  According to the negotiation pulse format shown in Figure 1, the negotiation pulse includes: check field, service rate, service type, service version, device model, link status, protocol version, and the timer is turned on at the same time, and the sending time continues to be appropriate. At the RRU end, this time guarantees that the RRU side parallel/serial-to-serial converter (serdes) can lock the link clock from the BBU and can send enough negotiation pulses. If it is a cascaded RRU (the lower RRU end needs to lock the time negotiation pulse from the upper RRU. At the same time as the negotiation pulse step is sent, the negotiation pulse of the opposite end is received and parsed, and when the time is up, the received and parsed will be received. Device information record, of course, the local end sends the negotiation pulse and the local end receives the negotiation pulse. It may not be the same at the same time. However, according to the time of receiving the handshake optical signal, the opposite end sends the negotiation pulse and the local end receives the negotiation pulse to leave a window large enough in time. The size of the window ensures that there is enough time at both ends to send and receive negotiation pulses at the same rate. The windows at both ends do not require strict time alignment. Determine whether to initiate the rate selection configuration and negotiate the pulse transmission process according to the analysis result. If the rate negotiation succeeds, the data can be parsed correctly. Then, the optical port is reconfigured according to the negotiated rate. Otherwise, the next rate is 2457.6 Mbit/s. In this embodiment, the rate specification is selected from small to large. The result of the analysis has not been successful in rate negotiation. Then, it is repeated until the maximum rate of the system or the CPRI protocol is reached, so that the negotiation is performed at each rate. Of course, the negotiation can be performed from the large to the small. If the rate selection and the configuration reach the maximum rate, the OISN value is checked. If it is still zero, the auto-negotiation process is stopped, and the negotiation unsuccessful state is retained. If the OISN value is non-zero, the step of returning the optical status signal of the monitoring optical port, so three times, still fails to stop the auto-negotiation process, retaining the current state.
下面结合附图 2所示, 对本发明实施例中的方案进行具体说明, 首先 假设 BBU型号是 A, 可以接入型号是 A1和 A2的 RRU, A1支持的最高速 率是 2457.6Mbit/s, A2 支持的最高速率是 4915.2Mbit/s„ 此处假设接入的 RRU是 A2, A2 的光口最低速率支持 2457.6Mbit/s, BBU 的最低速率是 2457.6Mbit/s„ 如图 2所示, 以 BBU为例介绍具体的实现流程: The scheme in the embodiment of the present invention is specifically described below with reference to FIG. 2. First, it is assumed that the BBU model is A, and the RRUs of the models A1 and A2 can be accessed, and the highest speed supported by the A1. The rate is 2457.6 Mbit/s, and the maximum rate supported by A2 is 4915.2 Mbit/s. The assumed RRU is A2, the minimum optical port rate of A2 is 2457.6 Mbit/s, and the minimum BBU rate is 2457.6 Mbit/s. As shown in Figure 2, the BBU is used as an example to describe the specific implementation process:
步骤 10, BBU端处于光口监控状态检测 OIS状态。  Step 10: The BBU is in the optical port monitoring state detection OIS state.
在光口监控过程, BBU和 RRU上电并接入光纤, 或者更换 RRU并接 入光纤, 或者更换光口并接入光纤, 光信号会从丟失到恢复状态, 出现上 述情况时都会进行计数, 会被检测到 OISN = 1。  During the optical port monitoring process, the BBU and the RRU power on and access the optical fiber, or replace the RRU and access the optical fiber, or replace the optical interface and access the optical fiber. The optical signal will be lost to the recovery state. OISN = 1 will be detected.
步骤 20, 判断 OISN是否为 0, 若为 0则执行步骤 10, 否则, 执行步 骤 30。  Step 20: Determine whether OISN is 0. If it is 0, go to step 10. Otherwise, go to step 30.
步骤 30, 将 OISN值清零。  In step 30, the OISN value is cleared.
步骤 40,进行光功率关断并打开操作,向 RRU发送第一次握手光信号。 步骤 50, 监控 OISN的值是否为 1并打开计时器, 若是, 执行步骤 80, 否则, 执行步骤 60。  In step 40, the optical power is turned off and the operation is turned on, and the first handshake optical signal is sent to the RRU. Step 50: Monitor whether the value of the OISN is 1 and open the timer. If yes, go to step 80. Otherwise, go to step 60.
通过监控 OISN的值是否为 1并打开计时器,是为了保证在预定的时间 内, 可以确定是否接收到 RRU的发送第一次握手光信号。  By monitoring whether the value of the OISN is 1 and turning on the timer, it is to ensure that the first handshake optical signal of the RRU is received within a predetermined time.
步骤 60,判断是否超时 1秒,若是, 则执行步骤 70, 否则执行步骤 80。 本实施例中若超时 1秒, 则认为没有收到 RRU的发送第一次握手光信 号。 当然根据实际需求的不同, 超时时间可以不同, 如超时 0.5秒或 2秒。  In step 60, it is determined whether the timeout is 1 second. If yes, step 70 is performed, otherwise step 80 is performed. In this embodiment, if the timeout is 1 second, it is considered that the first handshake handshake signal is not received by the RRU. Of course, depending on the actual needs, the timeout period can be different, such as a timeout of 0.5 seconds or 2 seconds.
步骤 70, 将 OISN置 0, 回到步骤 10光口监控状态。  Step 70: Set OISN to 0, and return to step 10 for optical port monitoring.
步骤 80,接收到 RRU的第一次光信号握手后, 进行光功率关断并打开 操作, 开始发送第二次握手光信号。  Step 80: After receiving the first optical signal handshake of the RRU, perform optical power shutdown and open operation, and start transmitting the second handshake optical signal.
与前述类似, 通过对 OISN的值进行监控, 判断是否收到 RRU发送的 第一次握手光信号, 如果 OISN的值等于 1 , 表明接收到 RRU发送的第一 次握手光信号。  Similar to the foregoing, by monitoring the value of the OISN, it is determined whether the first handshake optical signal sent by the RRU is received. If the value of the OISN is equal to 1, it indicates that the first handshake optical signal sent by the RRU is received.
步骤 90,监控 OISN的值, 判断 OISN是否等于 2,打开计时器, 若是, 则执行步骤 120, 否则执行步骤 100。 步骤 100, 判断是否超时 1秒, 若是, 则执行步骤 70, 否则执行步骤Step 90: Monitor the value of the OISN, determine whether the OISN is equal to 2, and open the timer. If yes, go to step 120. Otherwise, go to step 100. Step 100, determining whether the timeout is 1 second, if yes, executing step 70, otherwise performing the step
110。 110.
如果 OISN等于 2, 表明收到 RRU发送的第二次握手光信号, 握手成 功。  If the OISN is equal to 2, it indicates that the second handshake optical signal sent by the RRU is received, and the handshake is successful.
步骤 110, 开始速率配置, 从 1228.8Mbit/s开始进行配置, 并按照配置 的速率发送协商脉冲串, 打开定时器。  Step 110: Start the rate configuration, start configuration from 1228.8 Mbit/s, and send the negotiation burst according to the configured rate to open the timer.
RRU发送第二次握手光信号后, 会根据预先的策略, 如在之后的 2秒 内向 BBU发送速率为 1228.8Mbit/s的协商脉冲串, BBU也根据接收握手光 信号的时间,在之后的 2秒内以速率 1228.8Mbit/s接收协商脉冲串,这样可 以保证发送端 RRU发送协商脉冲串的时间和速率 , 与接收端 BBU接收协 商脉冲串的时间和速率相同 , 本实施例中是从 CPRI 协议支持的 1228.8Mbit/s , 2457.6Mbit/s , 3072Mbit/s , 4915.6Mbit/s , 6144Mbit/s多个速 率中, 由低向高依次进行选择。  After the RRU sends the second handshake optical signal, it will send a negotiation burst with a rate of 1228.8 Mbit/s to the BBU according to a prior strategy, such as the next 2 seconds. The BBU also according to the time of receiving the handshake optical signal, after the next 2 The negotiation burst is received at a rate of 1228.8 Mbit/s in seconds, so that the time and rate at which the transmitting end RRU sends the negotiation burst is ensured, which is the same as the time and rate at which the receiving BBU receives the negotiation burst, in this embodiment, from the CPRI protocol. Supported 1228.8Mbit/s, 2457.6Mbit/s, 3072Mbit/s, 4915.6Mbit/s, 6144Mbit/s multiple speeds, from low to high.
步骤 120,判断协商脉冲串是否正确的解析出来,若是则执行步骤 130, 否则, 执行步骤 170。  In step 120, it is determined whether the negotiation burst is correctly parsed. If yes, step 130 is performed; otherwise, step 170 is performed.
RRU的光接口会锁定链路时钟, 并按照配置的速率发送协商脉冲串, 此时要保证不会超时, 计时器超时时间设定 1秒, BBU收到后, 解析协商 脉冲串, 协商脉冲携带的信息不仅包括 RRU的光口速率, 还有 RRU建立 高层连接所需的其它设备信息, 而且可根据链路状态判断是否处于自协商 状态。  The optical interface of the RRU locks the link clock and sends the negotiation burst according to the configured rate. In this case, the timer does not time out. The timer timeout period is set to 1 second. After the BBU receives the packet, the negotiation burst is parsed. The information includes not only the optical port rate of the RRU, but also other device information required for the RRU to establish a high-level connection, and can determine whether it is in an auto-negotiation state according to the link status.
本实施例中可以通过图 2 中协商脉冲串包括的校验字段判断解析是否 正确。 由于两端的光口速率最低支持的都是 2457.6Mbit/s , 所以第一次速率 配置后协商脉冲串两端都不会正确的解析出来。 如此超时, 开始第二次速 率配置和协商脉冲串发送, 此时两端配置的速率是 2457.6Mbit/s。 在速率配 置为 2457.6Mbit/s时, RRU和 BBU两端都会收到对端发送的协商脉冲串并 正确解析。 步骤 130, 记录解析得到的设备信息, 按解析得到的设备信息进行匹配 处理。 In this embodiment, it can be determined whether the parsing is correct by the check field included in the negotiation burst in FIG. 2. Since the minimum optical port rate of both ends is 2457.6 Mbit/s, the negotiation burst will not be correctly parsed after the first rate configuration. When this timeout occurs, the second rate configuration and negotiation burst transmission are started, and the rate configured at both ends is 2457.6 Mbit/s. When the rate is set to 2457.6 Mbit/s, both ends of the RRU and the BBU receive the negotiation burst sent by the peer and parse it correctly. Step 130: Record the device information obtained by the parsing, and perform matching processing according to the parsed device information.
本步骤中的解析结果是解析正确, 解析得到的设备信息为: 业务速率 为 4915.6Mbit/s, 业务类型为 LTE, 业务版本为 V1.0, 型号为 A2, 协议版 本为 V4.1。 BBU根据事先保存的可联接的 RRU的设备信息对协商脉冲携 带的 RRU的设备信息进行匹配。 上述设备信息为对建立高层连接所需的设 备信息。  The analysis result in this step is correct. The device information is: 4915.6 Mbit/s, the service type is LTE, the service version is V1.0, the model number is A2, and the protocol version is V4.1. The BBU matches the device information of the RRU carried by the negotiation pulse according to the device information of the RRU that can be connected in advance. The above device information is device information required for establishing a high-level connection.
步骤 140, 判断匹配是否正确, 若是执行步骤 150, 否则执行步骤 160。 步骤 150, 上报后台 RRU设备信息。  Step 140: Determine whether the matching is correct. If step 150 is performed, otherwise step 160 is performed. Step 150: Report the background RRU device information.
步骤 160, 按照设备信息中的业务速率配置光口速率。  Step 160: Configure an optical port rate according to the service rate in the device information.
由于自协商结果是解析正确, 根据解析得到的设备信息进行设备信息 匹配, 最终 RRU和 BBU将按配置的光口速率即 4915.6Mbit/s进行业务通 信。  As the result of the auto-negotiation is correct, the device information is matched according to the device information obtained by the parsing. The RRU and the BBU will communicate with the optical port at the configured optical port rate of 4915.6 Mbit/s.
步骤 170, 判断是否超时 1秒, 若是, 则执行步骤 180, 否则执行步骤 Step 170, determining whether the timeout is 1 second, if yes, executing step 180, otherwise performing the step
130。 130.
步骤 180, 判断速率配置是否等于 6144Mbit/s, 若是则执行步骤 200, 否则执行步骤 190。  Step 180: Determine whether the rate configuration is equal to 6144 Mbit/s. If yes, go to step 200. Otherwise, go to step 190.
步骤 190, 提高速率配置并发送协商脉冲串。  Step 190, increasing the rate configuration and transmitting the negotiation burst.
步骤 200, 确定速率协商失败并进行协商失败计数。  In step 200, it is determined that the rate negotiation fails and the negotiation failure count is performed.
步骤 210, 判断协商失败次数是否大于 3 , 若是则执行步骤 220, 否则, 执行步骤 70。  Step 210: Determine whether the number of negotiation failures is greater than 3. If yes, execute step 220. Otherwise, go to step 70.
步骤 220, 将 OISN置 1 , 重新执行步骤 10。  Step 220, set OISN to 1, and repeat step 10.
假设接入的 RRU是 A2, RRU设备信息匹配。根据匹配的结果, 最终 配置链路通信时速率为 4.9152Gbit/s, 完成物理链路自协商过程。 假如不匹 配, 记录协商的结果, 可以上报后台接入的 RRU设备信息。 例如接入错误 的 RRU型号, 在最高和最低速率范围内也可协商到 RRU的设备信息, 此 时判断的结果是不匹配。 若速率配置到最高后, 也不能协商成功, 如此如 果连续 3 次不能协商成功, 则记录协商不果的状态, 回到光口监控状态。 例如一端光口损坏, 或者两端的光口速率的范围没有重叠, 这样就无法协 商成功。 Assume that the accessed RRU is A2 and the RRU device information matches. According to the result of the matching, the rate of the final link communication is 4.9152 Gbit/s, and the physical link auto-negotiation process is completed. If the result of the negotiation is not matched, the RRU device information accessed in the background can be reported. For example, if the RRU model is connected incorrectly, the device information of the RRU can also be negotiated in the highest and lowest rate ranges. The result of the judgment is that it does not match. If the rate is set to the highest, the negotiation cannot be successful. If the negotiation fails successfully for three consecutive times, the status of the negotiation failure is recorded and the status of the optical port monitoring is returned. For example, if the optical port of one end is damaged, or the range of optical port rates at both ends does not overlap, the negotiation cannot be successful.
当然, 本实施例中釆用协商脉冲只是本实施例的优选方案, 这样是为 了更好的独立与 CPRI帧同步的过程, 若釆用 CPRI帧代替协商脉冲同样也 可以实施。  Of course, the use of the negotiation pulse in this embodiment is only a preferred embodiment of the present embodiment, so that the process of synchronizing with the CPRI frame is better, and the CPRI frame can be used instead of the negotiation pulse.
本发明实施例还提供了一种光口速率自协商的装置, 如图 3 所示, 该 装置包括:  The embodiment of the invention further provides a device for auto-negotiation of optical port rate. As shown in FIG. 3, the device includes:
握手光信号接收模块 310, 用于接收发送端发送的握手光信号; 选择模块 320, 用于按照预定策略从多个速率中选择光口速率; 数据接收模块 330, 用于根据接收握手光信号的时间, 在发送端发送握 手光信号后发送数据的同时, 按选择的速率进行数据接收, 发送端发送数 据的速率按照所述预定策略从多个速率中选择, 发送端发送数据的速率与 接收端接收数据的速率相同;  The handshake optical signal receiving module 310 is configured to receive the handshake optical signal sent by the sending end, and the selecting module 320 is configured to select the optical port rate from the multiple rates according to a predetermined policy. The data receiving module 330 is configured to receive the handshake optical signal according to the received signal. Time, when the transmitting end sends the handshake optical signal and then sends the data, the data is received at the selected rate, and the rate at which the transmitting end sends the data is selected from the multiple rates according to the predetermined policy, and the rate at which the transmitting end sends the data and the receiving end Receive data at the same rate;
状态控制模块 340, 用于对接收的数据进行解析, 若数据解析成功则确 定速率自协商成功, 否则确定速率自协商不成功。  The state control module 340 is configured to parse the received data. If the data is successfully parsed, the rate auto-negotiation is successful. Otherwise, the rate auto-negotiation is unsuccessful.
进一步,握手光信号接收模块 310,还用于接收发送端发送的握手光信 号, 将光功率关闭并打开信号作为握手光信号。  Further, the handshake optical signal receiving module 310 is further configured to receive the handshake optical signal sent by the transmitting end, and turn off the optical power and turn on the signal as a handshake optical signal.
进一步,握手光信号接收模块 310,还用于接收发送端发送的光功率关 闭并打开信号的次数为两次;  Further, the handshake optical signal receiving module 310 is further configured to receive the number of times that the optical power sent by the transmitting end is turned off and the signal is turned on twice;
选择模块 320, 还用于根据接收第二次握手光信号的时间, 在发送端发 送握手光信号后发送数据的同时, 按选择的速率进行数据接收。  The selecting module 320 is further configured to: according to the time of receiving the second handshake optical signal, send data according to the selected rate and send data while transmitting the handshake optical signal at the transmitting end.
进一步, 数据接收模块 330, 还用于根据接收握手光信号的时间, 在发 送端发送握手光信号后发送协商脉冲串的同时, 按选择的速率进行协商脉 冲串接收, 发送端发送协商脉冲串的速率与配置的速率相同, 协商脉冲信 号包括建立高层连接所需的设备信息。 Further, the data receiving module 330 is further configured to: according to the time of receiving the handshake optical signal, send the handshake pulse signal after the transmitting end sends the negotiation burst, and at the same time, negotiate the burst reception, and the sender sends the negotiation burst. The rate is the same as the configured rate, negotiating the pulse The number includes the device information needed to establish a high-level connection.
进一步, 状态控制模块 340,还用于对建立高层连接所需的设备信息进 行匹配处理。 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。  Further, the state control module 340 is further configured to perform matching processing on device information required for establishing a high-level connection. The spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims

权利要求书 Claim
1、 一种光口速率自协商的方法, 其特征在于, 包括:  A method for auto-negotiation of an optical port rate, comprising:
接收发送端发送的握手光信号;  Receiving a handshake optical signal sent by the transmitting end;
按照预定策略从多个速率中选择光口速率;  Selecting an optical port rate from a plurality of rates according to a predetermined policy;
根据接收握手光信号的时间, 在发送端发送握手光信号后发送数据的 同时, 按选择的光口速率进行数据接收, 发送端发送数据的速率按照所述 预定策略从多个速率中选择, 发送端发送数据的速率与接收端接收数据的 速率相同;  According to the time of receiving the handshake optical signal, the data is received at the selected optical port rate while the transmitting end sends the handshake optical signal, and the rate at which the transmitting end sends the data is selected from the multiple rates according to the predetermined policy, and is sent. The rate at which the data is sent is the same as the rate at which the receiver receives the data;
对接收的数据进行解析, 若数据解析成功则确定速率自协商成功, 否 则确定速率自协商不成功。  The received data is parsed. If the data is successfully parsed, the rate auto-negotiation is successful. Otherwise, the rate auto-negotiation is unsuccessful.
2、 如权利要求 1所述的方法, 其特征在于, 所述接收发送端发送的握 手光信号具体为: 接收发送端发送的握手光信号, 将光功率关闭并打开信 号作为握手光信号。  2. The method according to claim 1, wherein the receiving hand optical signal sent by the transmitting end is: receiving a handshake optical signal sent by the transmitting end, turning off the optical power and turning on the signal as the handshake optical signal.
3、 如权利要求 2所述的方法, 其特征在于, 所述接收发送端发送的握 手光信号具体为:  The method of claim 2, wherein the receiving light signal sent by the receiving end is:
接收发送端发送的光功率关闭并打开信号的次数为两次;  The number of times the optical power transmitted by the receiving end is turned off and the signal is turned on twice;
根据接收握手光信号的时间, 在发送端发送握手光信号后发送数据的 同时, 按选择的速率进行数据接收具体为:  According to the time of receiving the handshake optical signal, while the transmitting end sends the handshake optical signal and then sends the data, the data reception at the selected rate is specifically as follows:
根据接收第二次握手光信号的时间, 在发送端发送握手光信号后发送 数据的同时, 按选择的速率进行数据接收。  According to the time of receiving the second handshake optical signal, the data is received at the selected rate while the data is transmitted after the handshake signal is sent by the transmitting end.
4、 如权利要求 1所述的方法, 其特征在于, 所述根据接收握手光信号 的时间, 在发送端发送握手光信号后发送数据的同时, 按选择的速率进行 数据接收, 发送端发送数据的速率与配置的速率相同具体为:  The method according to claim 1, wherein, according to the time of receiving the handshake optical signal, the data is received at the selected rate and the data is sent by the transmitting end while the transmitting end sends the handshake optical signal and then transmits the data. The rate is the same as the configured rate:
根据接收握手光信号的时间, 在发送端发送握手光信号后发送协商脉 冲串的同时, 按选择的速率进行协商脉冲串接收, 发送端发送协商脉冲串 的速率与配置的速率相同, 协商脉冲信号包括建立高层连接所需的设备信 息。 According to the time of receiving the handshake optical signal, after the handshake signal is sent by the transmitting end, the negotiation burst is sent, the negotiation burst is received at the selected rate, and the transmitting end sends the negotiation burst. The rate is the same as the configured rate, and the negotiation pulse signal includes the device information needed to establish a high-level connection.
5、 如权利要求 4所述的方法, 其特征在于, 所述速率自协商成功后, 该方法还包括: 对建立高层连接所需的设备信息进行匹配处理。  The method according to claim 4, wherein, after the rate auto-negotiation is successful, the method further comprises: performing matching processing on device information required for establishing a high-level connection.
6、 一种光口速率自协商的装置, 其特征在于, 包括:  6. A device for auto-negotiation of optical port rate, characterized in that:
握手光信号接收模块, 用于接收发送端发送的握手光信号;  a handshake optical signal receiving module, configured to receive a handshake optical signal sent by the transmitting end;
选择模块, 用于按照预定策略从多个速率中选择光口速率;  a selection module, configured to select an optical port rate from a plurality of rates according to a predetermined policy;
数据接收模块, 用于根据接收握手光信号的时间, 在发送端发送握手 光信号后发送数据的同时, 按选择的速率进行数据接收, 发送端发送数据 的速率按照所述预定策略从多个速率中选择, 发送端发送数据的速率与接 收端接收数据的速率相同;  The data receiving module is configured to: according to the time of receiving the handshake optical signal, send data at the transmitting end after transmitting the handshake optical signal, and perform data reception at the selected rate, and the rate at which the transmitting end sends the data is from the multiple rate according to the predetermined policy. In the selection, the sending end sends the data at the same rate as the receiving end receives the data;
状态控制模块, 用于对接收的数据进行解析, 若数据解析成功则确定 速率自协商成功, 否则确定速率自协商不成功。  The state control module is configured to parse the received data. If the data is successfully parsed, the rate auto-negotiation is successful. Otherwise, the rate auto-negotiation is unsuccessful.
7、如权利要求 6所述的装置,其特征在于, 所述握手光信号接收模块, 还用于接收发送端发送的握手光信号, 将光功率关闭并打开信号作为握手 光信号。  The device according to claim 6, wherein the handshake optical signal receiving module is further configured to receive a handshake optical signal sent by the transmitting end, and turn off the optical power and turn on the signal as a handshake optical signal.
8、如权利要求 7所述的装置,其特征在于, 所述握手光信号接收模块, 还用于接收发送端发送的光功率关闭并打开信号的次数为两次;  The device of claim 7, wherein the handshake optical signal receiving module is further configured to receive the number of times that the optical power sent by the transmitting end is turned off and the signal is turned on twice;
选择模块, 还用于根据接收第二次握手光信号的时间, 在发送端发送 握手光信号后发送数据的同时, 按选择的速率进行数据接收。  The selection module is further configured to perform data reception at a selected rate while transmitting data by transmitting a handshake optical signal according to a time when the second handshake optical signal is received.
9、 如权利要求 6所述的装置, 其特征在于, 数据接收模块, 还用于根 据接收握手光信号的时间, 在发送端发送握手光信号后发送协商脉冲串的 同时, 按选择的速率进行协商脉冲串接收, 发送端发送协商脉冲串的速率 与配置的速率相同, 协商脉冲信号包括建立高层连接所需的设备信息。  The device according to claim 6, wherein the data receiving module is further configured to: according to the time of receiving the handshake optical signal, send the handshake optical signal after the transmitting end sends the negotiation burst, and at the selected rate Negotiation burst reception, the rate at which the transmitting end sends the negotiation burst is the same as the configured rate, and the negotiation pulse signal includes the device information required for establishing a high-level connection.
10、 如权利要求 9所述的装置, 其特征在于, 状态控制模块, 还用于 对建立高层连接所需的设备信息进行匹配处理。  The device according to claim 9, wherein the state control module is further configured to perform matching processing on device information required for establishing a high-level connection.
PCT/CN2011/070473 2010-07-20 2011-01-21 Method and device for rate self-negotiation of optical interfaces WO2012009971A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010233574.5A CN102340352B (en) 2010-07-20 2010-07-20 A kind of method of light mouth speed auto-negotiation and device
CN201010233574.5 2010-07-20

Publications (1)

Publication Number Publication Date
WO2012009971A1 true WO2012009971A1 (en) 2012-01-26

Family

ID=45496480

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/070473 WO2012009971A1 (en) 2010-07-20 2011-01-21 Method and device for rate self-negotiation of optical interfaces

Country Status (2)

Country Link
CN (1) CN102340352B (en)
WO (1) WO2012009971A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507349A (en) * 2021-09-10 2021-10-15 苏州裕太微电子有限公司 Photoelectric matching method and system
CN116828085A (en) * 2023-08-24 2023-09-29 北京华环电子股份有限公司 Self-adaptive configuration method and device for optical port speed and protocol

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103582026B (en) * 2012-07-19 2017-11-28 中兴通讯股份有限公司 A kind of method and apparatus of CPRI adaptive configurations
CN103269250B (en) * 2013-05-17 2016-05-04 京信通信技术(广州)有限公司 Support repeater signal covering method and the system of multiple optical speed
CN106911388A (en) * 2015-12-22 2017-06-30 杭州华为企业通信技术有限公司 The method and apparatus of self-adaptative adjustment different rates device port
CN107645750A (en) * 2016-07-21 2018-01-30 北京信威通信技术股份有限公司 A kind of method and device of rate adaptive transmission configuration
CN111049865B (en) * 2018-10-12 2023-05-02 中兴通讯股份有限公司 Method, device and system for building chain
WO2021012113A1 (en) * 2019-07-19 2021-01-28 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatuses for communication between radio equipment and radio equipment controller
CN111541958A (en) * 2020-04-21 2020-08-14 深圳市三旺通信股份有限公司 Optical interface rate self-adaption method, equipment, device and readable storage medium
CN113346981B (en) * 2021-08-05 2021-12-10 苏州裕太微电子有限公司 Photoelectric conversion rate self-matching system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933484A (en) * 2006-02-22 2007-03-21 华为技术有限公司 CM rate assigning method and system
US7646751B2 (en) * 2003-09-30 2010-01-12 Telefonaktiebolaget Lm Ericsson (Publ) Interface, apparatus, and method for communication between a radio equipment control node and a remote equipment node in a radio base station

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594363B (en) * 2009-05-13 2013-01-09 重庆金美通信有限责任公司 Full-speed wired remote-transmission module
CN101616189A (en) * 2009-07-17 2009-12-30 北京星网锐捷网络技术有限公司 A kind of negotiation method of Ethernet port, device and the network equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7646751B2 (en) * 2003-09-30 2010-01-12 Telefonaktiebolaget Lm Ericsson (Publ) Interface, apparatus, and method for communication between a radio equipment control node and a remote equipment node in a radio base station
CN1933484A (en) * 2006-02-22 2007-03-21 华为技术有限公司 CM rate assigning method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LIU XIANGEHAO: "Digital Interface Design for CPRI Protocol Based Distributed Base Stations", 17 September 2009 (2009-09-17), pages 4,6 AND 22 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507349A (en) * 2021-09-10 2021-10-15 苏州裕太微电子有限公司 Photoelectric matching method and system
CN116828085A (en) * 2023-08-24 2023-09-29 北京华环电子股份有限公司 Self-adaptive configuration method and device for optical port speed and protocol
CN116828085B (en) * 2023-08-24 2023-11-24 北京华环电子股份有限公司 Self-adaptive configuration method and device for optical port speed and protocol

Also Published As

Publication number Publication date
CN102340352A (en) 2012-02-01
CN102340352B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
WO2012009971A1 (en) Method and device for rate self-negotiation of optical interfaces
JP4689689B2 (en) Communication device, communication system, communication method, communication program, communication circuit, mobile phone, display device, printing device, and recording device
CN106254147B (en) It is a kind of for the configuration method of Wi-Fi network, internet-of-things terminal and control terminal
US7836199B2 (en) System and method for multilane link rate negotiation
KR101466791B1 (en) Automatic recovery after loss of signal event in a network device
CN101350823B (en) Negotiation method and apparatus for connecting Ethernet port link
JP4094657B2 (en) Communication device, communication system, communication method, communication program, communication circuit
US10819623B2 (en) Method and device for transmitting data
CN103179597A (en) Method for processing wireless fidelity technology and user equipment
WO2014040466A1 (en) Method and device for controlling ap
WO2008116399A1 (en) Dynamically adjusting method and apparatus for link state and bundled link state
WO2012175024A1 (en) Method, system and device for realizing concurrency of wireless data transmission and short message transceiving
CN105049367A (en) Traffic distribution method of aggregated link and access device
CN107547265B (en) Port configuration method and device
CN108965063B (en) Abnormal processing method for frequency sweep test, gateway and server
EP2432167B1 (en) Method and apparatus for implementing point to point remote loopback of ethernet
CN103973502B (en) The program radio upgrade method of the equipment of intelligent domestic system
KR20130078384A (en) A method for linking ethernet communication for digital protective relay and the digital protective relay performing the same
US7849209B2 (en) System and method for link rate negotiation
US8315205B2 (en) Wireless star networks with dual adaptive central nodes
WO2010148756A1 (en) Method and system for controlling terminal to reaccess
CN103491561B (en) A kind of remote control information transmission method and system
JP7283367B2 (en) OPTICAL CIRCUIT TERMINAL DEVICE, CONTROL METHOD OF OPTICAL CIRCUIT TERMINAL DEVICE, AND PON SYSTEM
KR101475179B1 (en) The converter of wireless network switch based on ICMP and the method for conversion
WO2011079771A1 (en) Method, system and device for data transmission

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: 11809160

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: 11809160

Country of ref document: EP

Kind code of ref document: A1