WO2023035358A1 - 一种光电匹配方法及系统 - Google Patents

一种光电匹配方法及系统 Download PDF

Info

Publication number
WO2023035358A1
WO2023035358A1 PCT/CN2021/123657 CN2021123657W WO2023035358A1 WO 2023035358 A1 WO2023035358 A1 WO 2023035358A1 CN 2021123657 W CN2021123657 W CN 2021123657W WO 2023035358 A1 WO2023035358 A1 WO 2023035358A1
Authority
WO
WIPO (PCT)
Prior art keywords
optoelectronic device
speed
port
electrical port
photoelectric
Prior art date
Application number
PCT/CN2021/123657
Other languages
English (en)
French (fr)
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 WO2023035358A1 publication Critical patent/WO2023035358A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • H04L49/3054Auto-negotiation, e.g. access control between switch gigabit interface connector [GBIC] and link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/27Arrangements for networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/323Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the physical layer [OSI layer 1]

Definitions

  • the invention relates to the field of communication technology, in particular to a photoelectric matching method and system.
  • Optical fiber transceiver is an Ethernet transmission media conversion unit that interchanges short-distance twisted-pair electrical signals and long-distance optical signals. It is generally used in Ethernet cables that cannot be covered, and optical fibers must be used to extend distances greater than 100 meters. In the actual network environment of the transmission distance, it is usually located in the access layer application of the broadband metropolitan area network. With the rapid development of communication technology, the improvement of network speed is faster and faster, the application range of optical fiber transmission and reception is wider and wider, and the line rate requirements of Ethernet are also higher and higher, that is, the wider the bandwidth, the previous 10M, 100M The network can no longer be used as the connection between the metropolitan area network and the backbone network. It must be supported by a network with higher bandwidth, and the rate of the Ethernet fiber optic transceiver is required to support 10M, 100M, 1000M, and 2.5G.
  • the electrical port of the optoelectronic device can automatically negotiate to obtain the highest rate supported by the peer electrical port, that is, HCD (Highest Common Denominator).
  • HCD Highest Common Denominator
  • the port speed of the PHY of the device cannot be adaptively adjusted between the electrical port and the electrical port, so that a communication connection (Link) cannot be quickly established between the first peer device and the second peer device.
  • the present invention provides a photoelectric matching method and system.
  • a photoelectric matching method comprising: a first photoelectric device and a second photoelectric device, the first photoelectric device and the second photoelectric device are connected through an optical fiber, the electrical port of the first photoelectric device and the second photoelectric device The first electrical port of the pair of ends is connected, and the electrical port of the second photoelectric device is connected to the second electrical port of the second pair of ends;
  • the methods include:
  • Step S1 the electrical port of the first photoelectric device conducts automatic negotiation with the first electrical port to obtain the highest supported speed of the first electrical port, and the first electrical port establishes a link with the opposite end through the first electrical port and the electrical port of the second photoelectric device automatically negotiates with the second electrical port to obtain the highest supported speed of the second electrical port, and the second electrical port establishes a link with the opposite end at the second The current speed of the electrical port; step S2, the optical port of the first optoelectronic device encapsulates the current speed of the first optoelectronic device and the negotiated maximum supported speed of the first electrical port in the transmission parameters of the transmission protocol , and send it to the optical port of the second optoelectronic device; and the optical port of the second optoelectronic device encapsulates the current speed of the second optoelectronic device and the negotiated maximum supported speed of the second electrical port in In the transmission parameters of the transmission protocol, and sent to the optical port of the first optoelectronic device;
  • Step S3 the first optoelectronic device and the second optoelectronic device respectively obtain a target speed according to the highest supported speed of the first electrical port and the highest supported speed of the second electrical port, and the target speed is the The greatest common divisor of the highest supported speed of the first electrical port and the highest supported speed of the second electrical port;
  • Step S4 the first photoelectric device and the second photoelectric device respectively determine whether their current speed is equal to the target speed:
  • step S5 If not, then enter step S5;
  • Step S5 the first optoelectronic device and the second optoelectronic device respectively configure the speeds of their electrical ports and optical ports to the target speed, and then the first optoelectronic device and the first electrical port re-negotiate automatically , the second photoelectric device re-performs auto-negotiation with the second electrical port to establish a connection.
  • NP Next Page domain
  • NP Next Page domain
  • NP Next Page domain is forced to be 1 in the local Base Page, makes all can negotiate Next Page with the opposite end under any circumstances locally, obtains the highest support rate of the opposite end;
  • step S1 it also includes:
  • Step S11 sending the self-negotiated Base Page configured with the NP domain to the corresponding peer;
  • Step S12 judging whether the physical layer of the local electrical port has gigabit transmission capability:
  • the peer whose maximum supported speed changes sends a re-auto-negotiation request to the correspondingly connected optoelectronic device , and execute steps S1-S5.
  • the transmission protocol is the SGMII protocol
  • the optical ports of the first optoelectronic device and the second optoelectronic device realize self-negotiation through the SGMII protocol.
  • the first optoelectronic device and the second optoelectronic device respectively include a physical layer and a SGMII layer, and the physical layer connects the SGMII layer and the corresponding opposite end;
  • step S2 it specifically includes:
  • the physical layer outputs a trigger signal after receiving the negotiated maximum supported speed of the corresponding opposite end;
  • the SGMII layer receives the trigger signal, and encapsulates the current speed and the highest supported speed of the corresponding peer in the transmission parameters of the SGMII protocol;
  • step S3 it specifically includes:
  • One of the optoelectronic devices in the first optoelectronic device and the second optoelectronic device receives the transmission protocol sent by the optical port of the other optoelectronic device in the first optoelectronic device and the second optoelectronic device, and obtains The maximum supported speed of the opposite end corresponding to the other optoelectronic device;
  • the first optoelectronic device and the second optoelectronic device respectively process the maximum supported speed of the opposite end corresponding to each other and the highest supported speed of the opposite end corresponding to the other optoelectronic device as the greatest common divisor to obtain the target speed .
  • the present invention also provides a photoelectric matching system, including the above-mentioned photoelectric matching method, and the system includes:
  • a first optoelectronic device the electrical port of the first optoelectronic device is connected to the first electrical port of the first opposite end;
  • a second optoelectronic device the electrical port of the second optoelectronic device is connected to the second electrical port of the second opposite end, and the first optoelectronic device is connected to the second optoelectronic device through an optical fiber;
  • the first optoelectronic device and the second optoelectronic device respectively include:
  • a first negotiation unit used for automatic negotiation between the power supply port and the corresponding opposite end, so as to obtain the highest supported speed of the opposite end corresponding to each optoelectronic device;
  • a second negotiating unit connected to the first negotiating unit, for encapsulating the current speed and the negotiated maximum supported speed of the opposite end in the transmission parameters of the transmission protocol, and sending them to another optoelectronic device through the transmission protocol optical port;
  • a processing unit configured to obtain a target speed according to the highest supported speed of the opposite end corresponding to each of the optoelectronic devices and the highest supported speed of the opposite end corresponding to another optoelectronic device in the transmission protocol;
  • a judging unit connected to the processing unit, for judging whether the current speed is equal to the target speed, and obtaining a judging result
  • a configuration unit respectively connected to the judging unit and the first negotiating unit, configured to configure the speed of the electrical port and the optical port to said target speed;
  • the first negotiating unit is further configured to re-negotiate automatically with the corresponding peer after the configuration speed reaches the target speed.
  • the first negotiating unit further includes:
  • a judging module used to judge whether the physical layer of the local electrical port has gigabit transmission capability when sending the self-negotiated Base Page to the corresponding peer port;
  • the NP domain of the self-negotiated Base Page is configured as 1, and then the configured self-negotiated Base Page and empty Next Page are sent;
  • a first negotiation module connected to the negotiation message configuration module, for sending the configured next page of self-negotiation to the corresponding peer port.
  • the transmission protocol is the SGMII protocol
  • the optical ports of the first optoelectronic device and the second optoelectronic device realize self-negotiation through the SGMII protocol.
  • the first optoelectronic device and the second optoelectronic device respectively include:
  • a physical layer connected to the electrical port of the corresponding opposite end, for outputting a trigger signal after receiving the negotiated maximum supported speed of the corresponding opposite end;
  • An SGMII layer connected to the physical layer, for receiving the trigger signal, and encapsulating the current speed and the corresponding maximum supported speed of the opposite end in the transmission parameters of the SGMII protocol, and communicating with the SGMII protocol through the SGMII protocol
  • the optical port of the first optoelectronic device and the other optoelectronic device of the second optoelectronic device performs self-negotiation.
  • the speed can also be negotiated between the optical ports, and the highest supported speed of the opposite end of each connection is obtained through the automatic negotiation function of the electrical port, and then the negotiated speed is obtained by configuring the optical port of the protocol.
  • the maximum supported speed of the opposite end of the corresponding connection is sent to another optoelectronic device, and the two optoelectronic devices obtain the highest supported speed of the opposite end and the maximum supported speed of the opposite end of the corresponding connection of the other optoelectronic device transmitted through the protocol according to their respective negotiations.
  • Fig. 1 is among the present invention, a kind of flow schematic diagram of photoelectric matching method
  • Fig. 2 is a schematic flow chart of a specific embodiment of step S4 in the present invention.
  • Fig. 3 is among the present invention, the structural block diagram of a kind of photoelectric matching system specific embodiment
  • Fig. 4 is a structural block diagram of a specific embodiment of the first optoelectronic device or the second optoelectronic device in the present invention
  • Fig. 5 is a structural block diagram of a specific embodiment of the first negotiating unit in the present invention.
  • the present invention provides a photoelectric matching method, which belongs to the technical field of communication. Referring to FIGS. 1-5, it includes: a first photoelectric device 2 and a second photoelectric device 3, and the Optical fiber connection, the electrical port of the first optoelectronic device 2 is connected to the first electrical port 11 of the first pair 1, and the electrical port of the second optoelectronic device 3 is connected to the second electrical port 41 of the second pair 4;
  • the methods include:
  • Step S1 the electrical port of the first photoelectric device 2 conducts automatic negotiation with the first electrical port 11 to obtain the highest supported speed of the first electrical port 11, and the first electrical port establishes a link with the opposite end at the current speed of the first electrical port and the electrical port of the second photoelectric device 3 automatically negotiates with the second electrical port 41 to obtain the highest supported speed of the second electrical port 41, and the second electrical port and the opposite end establish a link at the current speed of the second electrical port;
  • Step S2 the optical port of the first optoelectronic device 2 encapsulates the current speed of the first optoelectronic device 2 and the negotiated maximum supported speed of the first electrical port 11 into the transmission parameters of the transmission protocol, and sends it to the second optoelectronic device 3 and the optical port of the second optoelectronic device 3 encapsulates the current speed of the second optoelectronic device 3 and the negotiated maximum supported speed of the second electrical port 41 in the transmission parameters of the transmission protocol, and sends it to the first optoelectronic device Optical port of device 2;
  • Step S3 the first optoelectronic device 2 and the second optoelectronic device 3 respectively obtain a target speed according to the highest supported speed of the first electrical port 11 and the highest supported speed of the second electrical port 41, and the target speed is the highest supported speed of the first electrical port 11 the greatest common divisor of the supported speed and the highest supported speed of the second electrical port 41;
  • Step S4 the first photoelectric device 2 and the second photoelectric device 3 respectively judge whether their current speed is equal to the target speed:
  • step S5 If not, then enter step S5;
  • Step S5 the first optoelectronic device 2 and the second optoelectronic device 3 respectively configure the speeds of their electrical ports and optical ports to the target speed, then the first optoelectronic device 2 and the first electrical port 11 re-negotiate automatically, and the second optoelectronic device 3 Auto-negotiation is performed again with the second electrical port 41 to establish a connection.
  • the present invention obtains the maximum supported speed of each connected opposite end through the automatic negotiation function of the electrical port, and then sends the negotiated maximum supported speed of the correspondingly connected opposite end to another optoelectronic device through the optical port of the configuration protocol.
  • the optoelectronic devices obtain the target speed based on the maximum supported speed of the opposite end obtained through negotiation and the maximum common divisor of the highest supported speed of the opposite end of the corresponding connection of another optoelectronic device transmitted through the protocol, and establish a relationship between the optoelectronic device and the opposite end based on the target speed. between, and between optoelectronic devices and optoelectronic devices;
  • the optical ports can also exchange speed information through the transmission protocol, and realize the speed negotiation between the optical ports.
  • the negotiation function can be automatically triggered, so that the connection between the photoelectric device and the opposite end and between the photoelectric device and the photoelectric device can be successfully established.
  • step S1 the NP (Next Page) field in the local Base Page is forced to be 1, so that the local can negotiate the Next Page with the opposite end under any circumstances (if the opposite end supports Next Page negotiation), thereby obtaining The highest supported speed of the peer.
  • the NP (Next Page) field in the local Base Page is forced to be 1, so that the local can negotiate the Next Page with the opposite end under any circumstances (if the opposite end supports Next Page negotiation), thereby obtaining The highest supported speed of the peer.
  • Step S11 sending the self-negotiated Base Page configured with the NP domain to the corresponding peer;
  • Step S12 judging whether the physical layer of the local electrical port has gigabit transmission capability:
  • the local speed may be reduced to adapt to a lower target speed.
  • the NP bit of the Base Page needs to be forced;
  • the NP bit of the Base Page will be 0 in the next local negotiation, so if the Next Page is not negotiated, the highest supported speed of the peer end will not be obtained. Therefore, in order to force the peer end to exchange the Gigabit transmission capability, if it does not have the Gigabit transmission capability, it is necessary to configure the message page field corresponding to the NP field in the self-negotiated Base Page to 1, and then send the configured self Negotiated Base Page.
  • the peer whose maximum supported speed changes sends a new auto-negotiation to the correspondingly connected optoelectronic device request, and execute steps S1-S5.
  • the automatic connection between it and the electrical port of the corresponding connected optoelectronic device is triggered.
  • negotiation exchange the maximum supported speed of the opposite end to the corresponding connected optoelectronic device
  • the optoelectronic device exchanges negotiation information with another optoelectronic device through the configured transmission protocol, at the same time exchange the changed maximum supported speed of the opposite end to another optoelectronic device equipment, and then the two optoelectronic devices can re-establish the connection of Link1, Link2, and Link3 according to the greatest common divisor of the highest supported speeds of the first peer 1 and the second peer 4, where Link1 represents the first peer 1 and the first optoelectronic
  • Link2 represents the connection between the first optoelectronic device 2 and the second optoelectronic device 3
  • Link3 represents the connection between the second optoelectronic device
  • the present invention is not limited to the number of optoelectronic devices, and multiple optoelectronic devices may be provided.
  • the transmission protocol is the SGMII protocol
  • the optical ports of the first optoelectronic device 2 and the second optoelectronic device 3 realize self-negotiation through the SGMII protocol.
  • the present invention works in the SGMII protocol by configuring the optical port, and realizes the speed of the physical layer through the SGMII protocol between the optical ports of the two optoelectronic devices self-negotiation.
  • SGMII agreement comprises 16 bits, is used for exchanging the speed information (speed) of link, current physical layer PHY, and negotiation information such as duplex (full duplex, half duplex), in the present embodiment, further to SGMII agreement Expansion: Configure 2 of the bits, and encapsulate the highest supported speed of the opposite end negotiated by the electrical port of the optoelectronic device.
  • the first optoelectronic device 2 and the second optoelectronic device 3 respectively include a physical layer and a SGMII layer, and the physical layer connects the SGMII layer and the corresponding electrical port at the opposite end;
  • step S2 specifically include:
  • the physical layer After the physical layer receives the negotiated maximum supported speed of the corresponding peer, it outputs a trigger signal
  • the SGMII layer receives the trigger signal, and encapsulates the current speed and the corresponding maximum supported speed of the peer in the transmission parameters of the SGMII protocol;
  • Auto-negotiation is performed with the optical port of another optoelectronic device in the first optoelectronic device 2 and the second optoelectronic device 3 through the SGMII protocol.
  • the electrical port of the first peer 1 or the second peer 4 changes, automatic negotiation is triggered, and the physical layer of the optoelectronic device obtains the peer from the negotiation information after receiving the negotiation information.
  • the highest supported speed of the end and trigger the SGMII layer, so that the optical port performs an SGMII negotiation with the optical port of another optoelectronic device.
  • step S3 specifically includes:
  • One of the optoelectronic devices in the first optoelectronic device 2 and the second optoelectronic device 3 receives the transmission protocol sent by the optical port of the other optoelectronic device in the first optoelectronic device 2 and the second optoelectronic device 3, and obtains the corresponding The maximum supported speed of the peer;
  • the first optoelectronic device 2 and the second optoelectronic device 3 respectively process the maximum supported speed of their respective peers and the highest supported speed of the peer corresponding to the other optoelectronic device as the greatest common divisor to obtain the target speed.
  • the first optoelectronic device 2 receives the SGMII negotiation information of the optical port of the second optoelectronic device 3, and obtains the link partner of the electrical port of the second optoelectronic device 3 from 2 bits in the SGMII negotiation information
  • the maximum supported speed of the second electrical port 41, the Link partner of the electrical port of the second optoelectronic device 3 is the second pair 4;
  • the second optoelectronic device 3 receives the SGMII negotiation information of the optical port of the first optoelectronic device 2, and obtains the first electrical port 11 of the Link partner of the electrical port of the first optoelectronic device 2 from 2 bits in the SGMII negotiation information.
  • the maximum supported speed, the Link partner of the electrical port of the first optoelectronic device 2 is the first peer 1.
  • the present invention also provides a photoelectric matching system, including the above-mentioned photoelectric matching method, as shown in Figure 3-4, the system includes:
  • a first optoelectronic device 2 the electrical port of the first optoelectronic device 2 is connected to the first electrical port 11 of the first pair 1;
  • a second optoelectronic device 3 the electrical port of the second optoelectronic device 3 is connected to the second electrical port 41 of the second opposite end 4, and the first optoelectronic device 2 and the second optoelectronic device 3 are connected by an optical fiber;
  • the first optoelectronic device 2 and the second optoelectronic device 3 respectively include:
  • a first negotiation unit 51 used for auto-negotiation between the power supply port and the corresponding opposite end, so as to obtain the highest supported speed of the opposite end corresponding to each optoelectronic device;
  • a second negotiating unit 52 connected to the first negotiating unit 51, for encapsulating the current speed and the negotiated maximum supported speed of the opposite end in the transmission parameters of the transmission protocol, and sending it to the optical port of another optoelectronic device through the transmission protocol;
  • a processing unit 53 connected to the first negotiating unit 51 and the second negotiating unit 52, is used to obtain a target according to the highest supported speed of the opposite end corresponding to each optoelectronic device and the highest supported speed of the opposite end corresponding to another optoelectronic device in the transmission protocol speed;
  • a judging unit 54 connected to the processing unit 53, for judging whether the current speed is equal to the target speed, and obtaining a judging result;
  • a configuration unit 55 is connected to the judgment unit 54 and the first negotiation unit 51 respectively, and is used to configure the speed of the electric port and the optical port to the target speed when the judgment result indicates that the current speed of the local electric port is not equal to the target speed;
  • the first negotiating unit 51 is further configured to perform automatic negotiation with the corresponding peer end again after the configured speed reaches the target speed.
  • the first negotiating unit 51 also includes:
  • a judging module 511 used to judge whether the physical layer of the local electrical port has gigabit transmission capability when sending the self-negotiated Base Page to the corresponding peer port;
  • a negotiation message configuration module 512 used to configure the self-negotiated Next Pag according to the auto-negotiation protocol when the physical layer of the local electric port has gigabit transmission capability; and when the physical layer of the local electric port does not have gigabit transmission capability
  • the Next Page is configured as empty when the megabyte transmission capacity is used;
  • a first negotiation module 513 a connection negotiation message configuration module 512, configured to send the configured self-negotiation Next Page to the corresponding peer port.
  • the transmission protocol is the SGMII protocol
  • the optical ports of the first optoelectronic device 2 and the second optoelectronic device 3 realize self-negotiation through the SGMII protocol.
  • the first optoelectronic device 2 and the second optoelectronic device 3 respectively include:
  • a physical layer connected to the electrical port of the corresponding opposite end, for outputting a trigger signal after receiving the negotiated maximum supported speed of the corresponding opposite end;
  • a SGMII layer connected to the physical layer, used to receive the trigger signal, and encapsulate the current speed and the corresponding maximum supported speed of the opposite end in the transmission parameters of the SGMII protocol, and communicate with the first optoelectronic device 2 and the second optoelectronic device through the SGMII protocol
  • the optical port of another photoelectric device in 3 performs auto-negotiation.
  • the present invention configures the protocol of the optical port of the optoelectronic device so that the speed can also be negotiated between the optical ports.
  • the optical port of the optical port sends the negotiated maximum supported speed of the opposite end of the corresponding connection to another optoelectronic device, and the two optoelectronic devices respectively obtain the highest supported speed of the peer end and the corresponding connection speed of the other optoelectronic device transmitted through the protocol according to their respective negotiations.
  • the greatest common divisor of the highest supported speed of the opposite end get the target speed, and establish the connection between the optical device and the opposite end based on the target speed, as well as the connection between the optical device and the optical device; through the auto-negotiation function, when the speed of any port
  • the negotiation function can be automatically triggered, so that the connection between the photoelectric device and the opposite end and between the photoelectric device and the photoelectric device can be successfully established.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Optical Communication System (AREA)
  • Communication Control (AREA)
  • Crystals, And After-Treatments Of Crystals (AREA)

Abstract

本发明公开了一种光电匹配方法及系统,属于通信技术领域,包括:步骤S1,第一光电设备的电口与第一电口进行自动协商,得到第一电口的最高支持速度;以及第二光电设备的电口与第二电口进行自动协商,得到第二电口的最高支持速度;步骤S2,其中一光电设备的光口将当前速度以及协商得到对端的最高支持速度封装在传输协议中,并发送给另一光电设备的光口;步骤S3,根据第一电口的最高支持速度和第二电口的最高支持速度得到目标速度;步骤S4,分别判断各自的当前速度是否等于目标速度:若是,则保持当前速度;若否,则配置电口和光口,并重新进行自动协商。本发明的有益效果在于:任一端口速度发生变化时,自动触发协商功能以建立连接。

Description

一种光电匹配方法及系统 技术领域
本发明涉及通信技术领域,尤其涉及一种光电匹配方法及系统。
背景技术
光纤收发器是一种将短距离的双绞线电信号和长距离的光信号进行互换的以太网传输媒体转换单元,一般应用于以太网电缆无法覆盖、距离大于100米必须使用光纤来延长传输距离的实际网络环境中,且通常定位于宽带城域网的接入层应用。随着通信技术的快速发展,网络速度的提升越来越快,光纤收发的应用范围越来越广,对以太网的线速率要求也越来越高,即带宽越宽,以前的10M、100M网络已经不能作为城域网和骨干网之间的连接,必须要有更高带宽的网络来支持,并且要求以太网光纤收发器的速率能够支持10M、100M、1000M、2.5G。
光电设备的电口可以自动协商,得到和对端电口共同支持的最高速率,即HCD(Highest Common Denominator),但由于光传输标准里面无法协商物理层PHY,两个光口之间以及光口和电口之间无法自适应的调整设备PHY的端口速度,从而导致第一对端设备和第二对端设备之间无法快速建立通信连接(Link)。
现有技术中,可以通过在TX方向和RX方向各设置一个存储器(Memory)来吸收TX方向和RX方向的传输差异,但是由于存储器通常比较大,导致成本增加,同样测试成本、测试风险也会增加,设备较为复杂;还可以通过微控制处理器(MCU)设备获取第一对端设备和第二对端设备的最高支持速度,然后人工手动配置双方的物理层(PHY)芯片,该方法建立通信连接的效率低下,因此针对以上问题,迫切需要设计出一种光电匹配方法及系统,以满足实际使用的需要。
发明内容
为了解决以上技术问题,本发明提供了一种光电匹配方法及系统。
本发明所解决的技术问题可以采用以下技术方案实现:
一种光电匹配方法,包括:一第一光电设备和一第二光电设备,所述第一光电设备和所述第二光电设备之间通过光纤连接,所述第一光电设备的电口和第一对端的第一电口连接,所述第二光电设备的电口和第二对端的第二电口连接;
所述方法包括:
步骤S1,所述第一光电设备的电口与所述第一电口进行自动协商,得到所述第一电口的最高支持速度,且第一电口和对端建立链接在第一电口的当前速度;以及所述第二光电设备的电口与所述第二电口进行自动协商,得到所述第二电口的最高支持速度,且第二电口和对端建立链接在第二电口的当前速度;步骤S2,所述第一光电设备的光口将所述第一光电设备的当前速度和协商得到的所述第一电口的最高支持速度封装在传输协议的传输参数中,并发送给所述第二光电设备的光口;以及所述第二光电设备的光口将所述第二光电设备的当前速度和协商得到的所述第二电口的最高支持速度封装在所述传输协议的传输参数中,并发送给所述第一光电设备的光口;
步骤S3,所述第一光电设备和所述第二光电设备分别根据所述第一电口的最高支持速度和所述第二电口的最高支持速度得到一目标速度,所述目标速度为所述第一电口的最高支持速度和所述第二电口的最高支持速度的最大公约数;
步骤S4,所述第一光电设备和所述第二光电设备分别判断各自的当前速度是否等于所述目标速度:
若是,则保持当前速度;
若否,则进入步骤S5;
步骤S5,所述第一光电设备和所述第二光电设备分别配置各自的电口和光口的速度至所述目标速度,随后所述第一光电设备与所述第一电口重新进行自动协商,所述第二光电设备与所述第二电口重新进行自动协商,建立连接。
优选地,还包括:将本地Base Page中NP(Next Page)域强制为1,使 得本地任何情况下均能够和对端协商Next Page,得到对端的最高支持速率;
所述步骤S1中,还包括:
步骤S11,向对应的所述对端发送自协商的配置过NP域后的Base Page;
步骤S12,判断本地电口的物理层是否具有千兆传输能力:
若是,则按照自动协商协议发送自协商的Next Page;
若否,则发送空的Next Page。
优选地,在所述第一对端和所述第二对端中的任一对端的最高支持速度发生变化时,最高支持速度发生变化的对端向对应连接的光电设备发送一重新自动协商请求,并执行步骤S1-S5。
优选地,所述传输协议为SGMII协议,所述第一光电设备和所述第二光电设备的光口之间通过SGMII协议实现自协商。
优选地,所述第一光电设备和所述第二光电设备分别包括一物理层和一SGMII层,所述物理层连接所述SGMII层和对应的对端;
所述步骤S2中,具体包括:
所述物理层接收到协商的对应的对端的最高支持速度后,输出一触发信号;
所述SGMII层接收所述触发信号,并将当前速度和对应的对端的最高支持速度封装在所述SGMII协议的传输参数中;
通过所述SGMII协议与所述第一光电设备和所述第二光电设备中的另一个光电设备的光口进行自协商。
优选地,所述步骤S3中,具体包括:
所述第一光电设备和所述第二光电设备中的其中一个光电设备接收所述第一光电设备和所述第二光电设备中的另一个光电设备的光口发送的所述传输协议,得到所述另一个光电设备对应的对端的最高支持速度;
所述第一光电设备和所述第二光电设备分别将各自对应的所述对端的最高支持速度和所述另一个光电设备对应的对端的最高支持速度做最大公约数处理,得到所述目标速度。
本发明还提供一种光电匹配系统,包括如上述的光电匹配方法,所述系统包括:
一第一光电设备,所述第一光电设备的电口和第一对端的第一电口连接;
一第二光电设备,所述第二光电设备的电口和第二对端的第二电口连接,所述第一光电设备和所述第二光电设备之间通过光纤连接;
所述第一光电设备和所述第二光电设备分别包括:
一第一协商单元,用于供电口与对应的对端进行自动协商,以获取得到每一光电设备对应的对端的最高支持速度;
一第二协商单元,连接所述第一协商单元,用于将当前速度以及协商得到所述对端的最高支持速度封装在传输协议的传输参数中,并通过所述传输协议发送给另一个光电设备的光口;
一处理单元,用于根据所述光电设备各自对应的对端的最高支持速度以及所述传输协议中的另一个光电设备对应的所述对端的最高支持速度得到一目标速度;
一判断单元,连接所述处理单元,用于判断当前速度是否等于所述目标速度,得到一判断结果;
一配置单元,分别连接所述判断单元和所述第一协商单元,用于当所述判断结果表示所述本地电口的当前速度不等于所述目标速度时,配置电口和光口的速度至所述目标速度;
所述第一协商单元还用于在配置速度至所述目标速度后与对应的对端重新进行自动协商。
优选地,所述第一协商单元还包括:
一判断模块,用于向对应的对端端口发送自协商的Base Page时,判断本地电口的物理层是否具有千兆传输能力;
一协商消息配置模块,连接判断模块,用于当所述本地电口的物理层具有千兆传输能力时,按照自动协商协议配置自协商的Base Page的NP域以及随后的Next Page;以及当所述本地电口的物理层不具有千兆传输能力时,将所述自协商的Base Page的NP域配置为1,随后发送配置后的所述自协商的Base Page和空的Next Page;
一第一协商模块,连接所述协商消息配置模块,用于将配置后的自协商的下一页发送给对应的所述对端端口。
优选地,所述传输协议为SGMII协议,所述第一光电设备和所述第二光电设备的光口之间通过SGMII协议实现自协商。
优选地,所述第一光电设备和所述第二光电设备分别包括:
一物理层,连接对应的对端的电口,用于在接收到协商的对应的对端的最高支持速度后,输出一触发信号;
一SGMII层,连接所述物理层,用于接收所述触发信号,并将当前速度和对应的对端的最高支持速度封装在所述SGMII协议的传输参数中,并通过所述SGMII协议与所述第一光电设备和所述第二光电设备中的另一个光电设备的光口进行自协商。
本发明的有益效果在于:
本发明通过配置光电设备的光口的协议,使得光口之间也可以协商速度,通过电口的自动协商功能得到各自连接的对端的最高支持速度,再通过配置协议的光口将协商得到的对应连接的对端的最高支持速度发送给另外一个光电设备,两个光电设备分别根据各自协商得到对端的最高支持速度以及通过协议传输过来的另外一个光电设备的对应连接的对端的最高支持速度的最大公约数,得到目标速度,基于目标速度建立光电设备和对端之间的连接,以及光电设备和光电设备之间的连接;通过自动协商功能,当任意一个端口的速度发生变化时,都可以自动触发协商功能,使得光电设备和对端之间以及光电设备和光电设备之间可以成功建立连接。
附图说明
图1为本发明中,一种光电匹配方法的流程示意图;
图2为本发明中,步骤S4具体实施例的流程示意图;
图3为本发明中,一种光电匹配系统具体实施例的结构框图;
图4为本发明中,第一光电设备或第二光电设备具体实施例的结构框图;
图5为本发明中,第一协商单元具体实施例的结构框图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作 出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。
下面结合附图和具体实施例对本发明作进一步说明,但不作为本发明的限定。
本发明提供一种光电匹配方法,属于通信技术领域,参见图1-5,包括:一第一光电设备2和一第二光电设备3,第一光电设备2和第二光电设备3之间通过光纤连接,第一光电设备2的电口和第一对端1的第一电口11连接,第二光电设备3的电口和第二对端4的第二电口41连接;
如图1所示,方法包括:
步骤S1,第一光电设备2的电口与第一电口11进行自动协商,得到第一电口11的最高支持速度,且第一电口和对端建立链接在第一电口的当前速度;以及第二光电设备3的电口与第二电口41进行自动协商,得到第二电口41的最高支持速度,且第二电口和对端建立链接在第二电口的当前速度;
步骤S2,第一光电设备2的光口将第一光电设备2的当前速度和协商得到的第一电口11的最高支持速度封装在传输协议的传输参数中,并发送给第二光电设备3的光口;以及第二光电设备3的光口将第二光电设备3的当前速度和协商得到的第二电口41的最高支持速度封装在传输协议的传输参数中,并发送给第一光电设备2的光口;
步骤S3,第一光电设备2和第二光电设备3分别根据第一电口11的最高支持速度和第二电口41的最高支持速度得到一目标速度,目标速度为第一电口11的最高支持速度和第二电口41的最高支持速度的最大公约数;
步骤S4,第一光电设备2和第二光电设备3分别判断各自的当前速度是否等于目标速度:
若是,则保持当前速度;
若否,则进入步骤S5;
步骤S5,第一光电设备2和第二光电设备3分别配置各自的电口和光口的速度至目标速度,随后第一光电设备2与第一电口11重新进行自动协商,第二光电设备3与第二电口41重新进行自动协商,建立连接。
具体的,本发明通过电口的自动协商功能得到各自连接的对端的最高支 持速度,再通过配置协议的光口将协商得到的对应连接的对端的最高支持速度发送给另外一个光电设备,两个光电设备分别根据各自协商得到对端的最高支持速度以及通过协议传输过来的另外一个光电设备的对应连接的对端的最高支持速度的最大公约数,得到目标速度,基于目标速度建立光电设备和对端之间的连接,以及光电设备和光电设备之间的连接;
采用上述技术方案,基于电口的自动协商功能以及配置光电设备的光口的传输协议,使得光口之间也可通过传输协议交换速度信息,在光口之间实现速度的协商。当任意一个端口的速度发生变化时,都可以自动触发协商功能,使得光电设备和对端之间以及光电设备和光电设备之间可以成功建立连接。
作为优选的实施方式,步骤S1中,本地Base Page中NP(Next Page)域强制为1,使得本地任何情况下均能够和对端协商Next Page(如果对端支持Next Page协商的话),从而得到对端的最高支持速度。
步骤S11,向对应的对端发送自协商的配置过NP域后的Base Page;
步骤S12,判断本地电口的物理层是否具有千兆传输能力:
若是,则按照自动协商协议发送自协商的Next Page;
若否,则发送空的Next Page。
进一步的,在速率匹配过程中,本地可能会降速来适配较低的目标速度。之后,当第一对端或者第二对端中的任一对端的最高速度变化从而重新开始S1~S5时,在步骤S1中,需要强制Base Page的NP位,否则,会因为本地关闭了较高的速率,根据802.3的标准本地下次协商时的Base Page的NP位会为0,从而不协商Next Page,就得不到对端的最高支持速度了。因此,为了迫使对端能够将千兆传输能力交换过来,当自身不具备千兆传输能力,需要将自协商的Base Page中NP域对应描述的消息页字段配置为1,随后发送配置后的自协商的Base Page。
作为优选的实施方式,在第一对端1和第二对端4中的任一对端的最高支持速度发生变化时,最高支持速度发生变化的对端向对应连接的光电设备发送一重新自动协商请求,并执行步骤S1-S5。
具体的,在本实施例中,当第一对端1或第二对端4上电或切换最高支持速度,导致速度发生变化时,触发其与对应连接的光电设备的电口之间的 自动协商,将对端的最高支持速度交换给对应连接的光电设备,该光电设备在与另一个光电设备通过配置的传输协议交换协商信息时,同时将发生变化的对端的最高支持速度交换给另一个光电设备,进而两个光电设备可以根据第一对端1和第二对端4的最高支持速度的最大公约数重新建立Link1、Link2、Link3的连接,其中Link1表示第一对端1和第一光电设备2之间的连接,Link2表示第一光电设备2和第二光电设备3之间的连接,Link3表示第二光电设备3和第二对端4之间的连接。
进一步的,本发明不限于光电设备的数量,可设置多个光电设备。
作为优选的实施方式,传输协议为SGMII协议,第一光电设备2和第二光电设备3的光口之间通过SGMII协议实现自协商。
考虑到现有技术中光传输标准虽然有协商,无法协商物理层PHY的速度信息,本发明通过配置光口工作在SGMII协议,两个光电设备的光口之间通过SGMII协议实现物理层的速度的自协商。
SGMII协议包括16个bit,用于交换link、当前物理层PHY的速度信息(speed),以及双工(全双工、半双工)等协商信息,在本实施例中,对SGMII协议进一步的扩展:对其中2个bit进行配置,并将本光电设备的电口协商的对端的最高支持速度封装进去。
作为优选的实施方式,第一光电设备2和第二光电设备3分别包括一物理层和一SGMII层,物理层连接SGMII层和对应的对端的电口;
步骤S2中,具体包括:
物理层接收到协商的对应的对端的最高支持速度后,输出一触发信号;
SGMII层接收触发信号,并将当前速度和对应的对端的最高支持速度封装在SGMII协议的传输参数中;
通过SGMII协议与第一光电设备2和第二光电设备3中的另一个光电设备的光口进行自协商。
具体的,在本实施例中,当第一对端1或第二对端4的电口发生变化时,触发自动协商,光电设备的物理层在接收到协商信息后,从协商信息中获取对端的最高支持速度,并触发SGMII层,使得光口与另一个光电设备的光口进行一次SGMII协商。
作为优选的实施方式,步骤S3中,具体包括:
第一光电设备2和第二光电设备3中的其中一个光电设备接收第一光电设备2和第二光电设备3中的另一个光电设备的光口发送的传输协议,得到另一个光电设备对应的对端的最高支持速度;
第一光电设备2和第二光电设备3分别将各自对应的对端的最高支持速度和另一个光电设备对应的对端的最高支持速度做最大公约数处理,得到目标速度。
具体的,在本实施例中,第一光电设备2接收第二光电设备3的光口的SGMII协商信息,从SGMII协商信息中的2个bit获取第二光电设备3的电口的Link partner的第二电口41的最大最高支持速度,第二光电设备3的电口的Link partner即为第二对端4;
同样的,第二光电设备3接收第一光电设备2的光口的SGMII协商信息,从SGMII协商信息中的2个bit获取第一光电设备2的电口的Link partner的第一电口11的最大最高支持速度,第一光电设备2的电口的Link partner即为第一对端1。
本发明还提供一种光电匹配系统,包括如上述的光电匹配方法,如图3-4所示,系统包括:
一第一光电设备2,第一光电设备2的电口和第一对端1的第一电口11连接;
一第二光电设备3,第二光电设备3的电口和第二对端4的第二电口41连接,第一光电设备2和第二光电设备3之间通过光纤连接;
第一光电设备2和第二光电设备3分别包括:
一第一协商单元51,用于供电口与对应的对端进行自动协商,以获取得到每一光电设备对应的对端的最高支持速度;
一第二协商单元52,连接第一协商单元51,用于将当前速度以及协商得到对端的最高支持速度封装在传输协议的传输参数中,并通过传输协议发送给另一个光电设备的光口;
一处理单元53,连接第一协商单元51和第二协商单元52,用于根据光电设备各自对应的对端的最高支持速度以及传输协议中的另一个光电设备对应的对端的最高支持速度得到一目标速度;
一判断单元54,连接处理单元53,用于判断当前速度是否等于目标速度, 得到一判断结果;
一配置单元55,分别连接判断单元54和第一协商单元51,用于当判断结果表示本地电口的当前速度不等于目标速度时,配置电口和光口的速度至目标速度;
第一协商单元51还用于在配置速度至目标速度后与对应的对端重新进行自动协商。
作为优选的实施方式,如图5所示,第一协商单元51还包括:
一判断模块511,用于向对应的对端端口发送自协商的Base Page时,判断本地电口的物理层是否具有千兆传输能力;
一协商消息配置模块512,连接判断模块511,用于当本地电口的物理层具有千兆传输能力时,按照自动协商协议配置自协商的Next Pag;以及当本地电口的物理层不具有千兆传输能力时配置为空的Next Page;
一第一协商模块513,连接协商消息配置模块512,用于将配置后的自协商的Next Page发送给对应的对端端口。
作为优选的实施方式,传输协议为SGMII协议,第一光电设备2和第二光电设备3的光口之间通过SGMII协议实现自协商。
作为优选的实施方式,第一光电设备2和第二光电设备3分别包括:
一物理层,连接对应的对端的电口,用于在接收到协商的对应的对端的最高支持速度后,输出一触发信号;
一SGMII层,连接物理层,用于接收触发信号,并将当前速度和对应的对端的最高支持速度封装在SGMII协议的传输参数中,并通过SGMII协议与第一光电设备2和第二光电设备3中的另一个光电设备的光口进行自协商。
本发明的有益效果在于:本发明通过配置光电设备的光口的协议,使得光口之间也可以协商速度,通过电口的自动协商功能得到各自连接的对端的最高支持速度,再通过配置协议的光口将协商得到的对应连接的对端的最高支持速度发送给另外一个光电设备,两个光电设备分别根据各自协商得到对端的最高支持速度以及通过协议传输过来的另外一个光电设备的对应连接的对端的最高支持速度的最大公约数,得到目标速度,基于目标速度建立光电设备和对端之间的连接,以及光电设备和光电设备之间的连接;通过自动协 商功能,当任意一个端口的速度发生变化时,都可以自动触发协商功能,使得光电设备和对端之间以及光电设备和光电设备之间可以成功建立连接。
以上所述仅为本发明较佳的实施例,并非因此限制本发明的实施方式及保护范围,对于本领域技术人员而言,应当能够意识到凡运用本发明说明书及图示内容所作出的等同替换和显而易见的变化所得到的方案,均应当包含在本发明的保护范围内。

Claims (10)

  1. 一种光电匹配方法,其特征在于,包括:一第一光电设备和一第二光电设备,所述第一光电设备和所述第二光电设备之间通过光纤连接,所述第一光电设备的电口和第一对端的第一电口连接,所述第二光电设备的电口和第二对端的第二电口连接;
    所述方法包括:
    步骤S1,所述第一光电设备的电口与所述第一电口进行自动协商,得到所述第一电口的最高支持速度,且第一电口和对端建立链接在第一电口的当前速度;以及所述第二光电设备的电口与所述第二电口进行自动协商,得到所述第二电口的最高支持速度,且第二电口和对端建立链接在第二电口的当前速度;
    步骤S2,所述第一光电设备的光口将所述第一光电设备的当前速度和协商得到的所述第一电口的最高支持速度封装在传输协议的传输参数中,并发送给所述第二光电设备的光口;以及所述第二光电设备的光口将所述第二光电设备的当前速度和协商得到的所述第二电口的最高支持速度封装在所述传输协议的传输参数中,并发送给所述第一光电设备的光口;
    步骤S3,所述第一光电设备和所述第二光电设备分别根据所述第一电口的最高支持速度和所述第二电口的最高支持速度得到一目标速度,所述目标速度为所述第一电口的最高支持速度和所述第二电口的最高支持速度的最大公约数;
    步骤S4,所述第一光电设备和所述第二光电设备分别判断各自的当前速度是否等于所述目标速度:
    若是,则保持当前速度;
    若否,则进入步骤S5;
    步骤S5,所述第一光电设备和所述第二光电设备分别配置各自的电口和光口的速度至所述目标速度,随后所述第一光电设备与所述第一电口重新进行自动协商,所述第二光电设备与所述第二电口重新进行自动协商,建立连接。
  2. 根据权利要求1所述的一种光电匹配方法,其特征在于,还包括:将 本地Base Page中NP(Next Page)域强制为1,使得本地任何情况下均能够和对端协商Next Page,得到对端的最高支持速率;
    所述步骤S1中,还包括:
    步骤S11,向对应的所述对端发送自协商的配置过NP域后的Base Page;
    步骤S12,判断本地电口的物理层是否具有千兆传输能力:
    若是,则按照自动协商协议发送自协商的Next Page;
    若否,则发送空的Next Page。
  3. 根据权利要求1所述的一种光电匹配方法,其特征在于,在所述第一对端和所述第二对端中的任一对端的最高支持速度发生变化时,最高支持速度发生变化的对端向对应连接的光电设备发送一重新自动协商请求,并执行步骤S1-S5。
  4. 根据权利要求1所述的一种光电匹配方法,其特征在于,所述传输协议为SGMII协议,所述第一光电设备和所述第二光电设备的光口之间通过SGMII协议实现自协商。
  5. 根据权利要求4所述的一种光电匹配方法,其特征在于,所述第一光电设备和所述第二光电设备分别包括一物理层和一SGMII层,所述物理层连接所述SGMII层和对应的对端;
    所述步骤S2中,具体包括:
    所述物理层接收到协商的对应的对端的最高支持速度后,输出一触发信号;
    所述SGMII层接收所述触发信号,并将当前速度和对应的对端的最高支持速度封装在所述SGMII协议的传输参数中;
    通过所述SGMII协议与所述第一光电设备和所述第二光电设备中的另一个光电设备的光口进行自协商。
  6. 根据权利要求1所述的一种光电匹配方法,其特征在于,所述步骤S3中,具体包括:
    所述第一光电设备和所述第二光电设备中的其中一个光电设备接收所述第一光电设备和所述第二光电设备中的另一个光电设备的光口发送的所述传输协议,得到所述另一个光电设备对应的对端的最高支持速度;
    所述第一光电设备和所述第二光电设备分别将各自对应的所述对端的最 高支持速度和所述另一个光电设备对应的对端的最高支持速度做最大公约数处理,得到所述目标速度。
  7. 一种光电匹配系统,其特征在于,包括如权利要求1-6任意一项所述的光电匹配方法,所述系统包括:
    一第一光电设备,所述第一光电设备的电口和第一对端的第一电口连接;
    一第二光电设备,所述第二光电设备的电口和第二对端的第二电口连接,所述第一光电设备和所述第二光电设备之间通过光纤连接;
    所述第一光电设备和所述第二光电设备分别包括:
    一第一协商单元,用于供电口与对应的对端进行自动协商,以获取得到每一光电设备对应的对端的最高支持速度;
    一第二协商单元,连接所述第一协商单元,用于将当前速度以及协商得到所述对端的最高支持速度封装在传输协议的传输参数中,并通过所述传输协议发送给另一个光电设备的光口;
    一处理单元,用于根据所述光电设备各自对应的对端的最高支持速度以及所述传输协议中的另一个光电设备对应的所述对端的最高支持速度得到一目标速度;
    一判断单元,连接所述处理单元,用于判断当前速度是否等于所述目标速度,得到一判断结果;
    一配置单元,分别连接所述判断单元和所述第一协商单元,用于当所述判断结果表示本地电口的当前速度不等于所述目标速度时,配置电口和光口的速度至所述目标速度;
    所述第一协商单元还用于在配置速度至所述目标速度后与对应的对端重新进行自动协商。
  8. [根据细则26改正20.04.2022]
    根据权利要求7所述的一种光电匹配系统,其特征在于,所述第一协商单元还包括:
    一判断模块,用于向对应的对端端口发送自协商的Base Page时,判断本地电口的物理层是否具有千兆传输能力;
    一协商消息配置模块,连接判断模块,用于当所述本地电口的物理层具有千兆传输能力时,按照自动协商协议配置自协商的Next Page;以及当所述本地电口的物理层不具有千兆传输能力时配置为空的Next Page;
    一第一协商模块,连接所述协商消息配置模块,用于将配置后的自协商的Next Page发送给对应的所述对端端口。
  9. [根据细则26改正20.04.2022] 
    根据权利要求7所述的一种光电匹配系统,其特征在于,所述传输协议为SGMII协议,所述第一光电设备和所述第二光电设备的光口之间通过SGMII协议实现自协商。
  10. 根据权利要求9所述的一种光电匹配系统,其特征在于,所述第一光电设备和所述第二光电设备分别包括:
    一物理层,连接对应的对端的电口,用于在接收到协商的对应的对端的最高支持速度后,输出一触发信号;
    一SGMII层,连接所述物理层,用于接收所述触发信号,并将当前速度和对应的对端的最高支持速度封装在所述SGMII协议的传输参数中,并通过所述SGMII协议与所述第一光电设备和所述第二光电设备中的另一个光电设备的光口进行自协商。
PCT/CN2021/123657 2021-09-10 2021-10-13 一种光电匹配方法及系统 WO2023035358A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111058720.XA CN113507349B (zh) 2021-09-10 2021-09-10 一种光电匹配方法及系统
CN202111058720.X 2021-09-10

Publications (1)

Publication Number Publication Date
WO2023035358A1 true WO2023035358A1 (zh) 2023-03-16

Family

ID=78016618

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/123657 WO2023035358A1 (zh) 2021-09-10 2021-10-13 一种光电匹配方法及系统

Country Status (7)

Country Link
US (1) US11876882B2 (zh)
EP (1) EP4149083A1 (zh)
JP (1) JP7220930B1 (zh)
KR (1) KR102571425B1 (zh)
CN (1) CN113507349B (zh)
TW (1) TWI777862B (zh)
WO (1) WO2023035358A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507349B (zh) 2021-09-10 2021-12-10 苏州裕太微电子有限公司 一种光电匹配方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070127920A1 (en) * 2005-12-02 2007-06-07 Ali Ghiasi Method and system for speed negotiation for twisted pair links in fibre channel systems
US20080310432A1 (en) * 2007-06-13 2008-12-18 Juniper Networks, Inc. Autonegotiation over an interface for which no autonegotiation standard exists
CN101800916A (zh) * 2010-03-01 2010-08-11 华为技术有限公司 一种光端口的配置方法及装置
CN109428783A (zh) * 2017-08-30 2019-03-05 迈普通信技术股份有限公司 网络设备测试方法及装置
CN113346981A (zh) * 2021-08-05 2021-09-03 苏州裕太微电子有限公司 一种光电转换速率自匹配系统及方法

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1238489B1 (en) * 1999-12-13 2008-03-05 Broadcom Corporation Voice gateway with downstream voice synchronization
JP3712369B2 (ja) * 2001-09-13 2005-11-02 アライドテレシスホールディングス株式会社 メディアコンバータおよびそのリンク切断方法
JP2004357164A (ja) * 2003-05-30 2004-12-16 Mitsubishi Electric Corp 伝送装置及び伝送システム
KR100645510B1 (ko) * 2004-01-07 2006-11-13 삼성전자주식회사 이더넷 시스템에서의 정보 획득장치 및 방법
US7149397B2 (en) * 2004-03-04 2006-12-12 Cisco Technology, Inc. 10/100/1000Base-T small-form-factor-pluggable module
JP4537177B2 (ja) * 2004-11-04 2010-09-01 富士通株式会社 伝送システム
JP4624141B2 (ja) * 2005-03-10 2011-02-02 Necエンジニアリング株式会社 ギガビット・イーサネット(登録商標)信号多重伝送装置
US7844181B2 (en) * 2006-03-06 2010-11-30 Cisco Technology, Inc. Simple fibre channel speed negotiation across transport
CN101610116B (zh) * 2009-07-17 2012-09-05 深圳市巨联光电技术有限公司 光口自适应以太网光纤收发器及其自适应方法
CN101882959B (zh) * 2010-07-12 2013-03-20 京信通信系统(中国)有限公司 光口传输速率自动检测及应用的方法
CN102340352B (zh) * 2010-07-20 2016-03-02 中兴通讯股份有限公司 一种光口速率自协商的方法及装置
JP5585876B2 (ja) * 2010-09-21 2014-09-10 日立金属株式会社 メディアコンバータ、スイッチングハブ、及びオートネゴシエーションシステム
JP2012165334A (ja) * 2011-02-09 2012-08-30 Nec Corp 多重化伝送装置、多重化伝送方法、およびコンピュータプログラム
WO2014004714A1 (en) * 2012-06-26 2014-01-03 Huawei Technologies Co., Ltd. Access equipment that runs ethernet passive optical network (pon) or ethernet pon over coax network
CN103095367B (zh) * 2013-01-25 2016-06-22 中兴通讯股份有限公司 光口速率自适应的方法和光网络设备
US9900268B2 (en) * 2014-02-13 2018-02-20 Avago Technologies General Ip (Singapore) Pte. Ltd. System, method and apparatus for multi-lane auto-negotiation over reduced lane media
US10291754B2 (en) * 2015-06-23 2019-05-14 Avago Technologies International Sales Pte. Limited Apparatus, system, and method for auto-negotiation
CN106487519B (zh) * 2015-09-02 2020-07-07 中兴通讯股份有限公司 一种通信设备连接方法和系统、光口速率转换设备
US10164912B2 (en) * 2016-07-25 2018-12-25 Intel Corporation Ethernet auto-negotiation with parallel detect for 10G DAC or other non-auto-negotiated modes
KR20200106440A (ko) * 2019-03-04 2020-09-14 현대자동차주식회사 자동 협상 기능을 이용한 데이터 송수신 방법 및 장치
US20200280428A1 (en) * 2019-10-18 2020-09-03 Intel Corporation Configuration scheme for link establishment
CN113300770A (zh) * 2021-05-19 2021-08-24 深圳凡维泰科技服务有限公司 用于4g/5g tdd/fdd基站的光电口复用装置
CN113347106A (zh) * 2021-08-06 2021-09-03 苏州裕太微电子有限公司 一种光电收发接口速度适配系统及方法
CN113507349B (zh) 2021-09-10 2021-12-10 苏州裕太微电子有限公司 一种光电匹配方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070127920A1 (en) * 2005-12-02 2007-06-07 Ali Ghiasi Method and system for speed negotiation for twisted pair links in fibre channel systems
US20080310432A1 (en) * 2007-06-13 2008-12-18 Juniper Networks, Inc. Autonegotiation over an interface for which no autonegotiation standard exists
CN101800916A (zh) * 2010-03-01 2010-08-11 华为技术有限公司 一种光端口的配置方法及装置
CN109428783A (zh) * 2017-08-30 2019-03-05 迈普通信技术股份有限公司 网络设备测试方法及装置
CN113346981A (zh) * 2021-08-05 2021-09-03 苏州裕太微电子有限公司 一种光电转换速率自匹配系统及方法

Also Published As

Publication number Publication date
TW202312699A (zh) 2023-03-16
JP2023040983A (ja) 2023-03-23
US11876882B2 (en) 2024-01-16
EP4149083A1 (en) 2023-03-15
US20230081127A1 (en) 2023-03-16
JP7220930B1 (ja) 2023-02-13
CN113507349B (zh) 2021-12-10
CN113507349A (zh) 2021-10-15
KR20230038070A (ko) 2023-03-17
TWI777862B (zh) 2022-09-11
KR102571425B1 (ko) 2023-08-25

Similar Documents

Publication Publication Date Title
US10680848B2 (en) Managing a number of ethernet links
US9699033B2 (en) Transparent auto-negotiation of Ethernet
EP0766434B1 (en) A method and system for performing auto-negotiation for a group of interface devices
WO2005019970B1 (en) Communication system and method for an optical local area network
CN210867769U (zh) 一种多功能总线桥接器
WO2023035358A1 (zh) 一种光电匹配方法及系统
EP2717532B1 (en) High-speed link self-negotiation method and single board
CN101459532A (zh) 一种多网口设备自动组网的方法及设备
CN101958888A (zh) 端口协商能力的配置方法、通信端口和通信设备
US7570657B1 (en) Autonegotiation between 1000Base-X and 1000Base-T
CN111787431B (zh) 一种双模组网通讯技术集抄系统及其实现方法
CN111585791B (zh) 一种数据同步配置方法、系统及存储介质
US20150341284A1 (en) Link establishing method on multi-core fiber, link establishing device, and link partner device
CN107634862B (zh) 基于Lora技术的无线modbus系统
CN109951212A (zh) 一种基于prime标准的远程音频线数据通信方案
WO2018035681A1 (zh) 建立端口连接的方法及端口芯片
Cisco Configuring LLC2 and SDLC Parameters
KR100259768B1 (ko) 분산 노드 환경에서 점대점 프로토콜 및 다중링크 프로토콜을이용한 서비스 처리 방법
JP2002094595A (ja) マルチリンク方法
CN208707664U (zh) 一种实时以太网共享环组网模块
CN111092961B (zh) 一种基于ppp协议的ip地址协商的实现方法
CN214444000U (zh) 一种具备Modbus TCP通讯功能的焊接控制器
CN211791849U (zh) 一种用于光电以太网链路、e1链路的混合传输设备
CN108632060A (zh) 一种路由器级联的方法及装置
CN108449204B (zh) 一种rof设备管理系统及方法

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE