CN113242480B - Photoelectric multiplexing device and method - Google Patents

Photoelectric multiplexing device and method Download PDF

Info

Publication number
CN113242480B
CN113242480B CN202110707615.8A CN202110707615A CN113242480B CN 113242480 B CN113242480 B CN 113242480B CN 202110707615 A CN202110707615 A CN 202110707615A CN 113242480 B CN113242480 B CN 113242480B
Authority
CN
China
Prior art keywords
port
optical
ethernet
interface
electrical
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202110707615.8A
Other languages
Chinese (zh)
Other versions
CN113242480A (en
Inventor
彭洪波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202110707615.8A priority Critical patent/CN113242480B/en
Publication of CN113242480A publication Critical patent/CN113242480A/en
Application granted granted Critical
Publication of CN113242480B publication Critical patent/CN113242480B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0071Provisions for the electrical-optical layer interface
    • 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
    • H04B10/2575Radio-over-fibre, e.g. radio frequency signal modulated onto an optical carrier
    • H04B10/25752Optical arrangements for wireless networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0254Optical medium access
    • H04J14/0267Optical signaling or routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • H04Q2011/0007Construction
    • H04Q2011/0016Construction using wavelength multiplexing or demultiplexing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Optical Communication System (AREA)

Abstract

The present invention relates to the field of optical communications, and in particular, to an apparatus and method for optical-electrical multiplexing. The method mainly comprises the following steps: the system comprises a high-speed switch, a PHY chip module, an Ethernet transformer, an Ethernet electrical interface, an Ethernet optical interface and a switching chip; the first port of the high-speed switch is connected with the exchange chip; a second port of the high-speed switch is connected with a first port of the PHY chip module, the second port of the PHY chip module is connected with a first port of the Ethernet transformer, a third port of the PHY chip module is connected with the switching chip, the Ethernet electrical interface is connected with a second port of the Ethernet transformer, and an external interface of the Ethernet electrical interface is used as an external electrical signal interface; the third port of the high-speed switch is connected with the first port of the Ethernet optical interface, the second port of the Ethernet optical interface is connected with the switching chip, and the external interface of the Ethernet optical interface is used as an external optical signal interface. The scheme has low cost and simple and convenient working mode switching, and can flexibly set the port number according to the requirement.

Description

Photoelectric multiplexing device and method
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of optical communications, and in particular, to an apparatus and method for optical-electrical multiplexing.
[ background of the invention ]
The network infrastructure construction has prompted a rapid growth in the switch market, with gigabit switches having widespread application in operators, businesses, and homes. In the development process of gigabit ethernet switches, there is often a requirement for single-Port or multi-Port optical-electrical multiplexing interfaces, and at this time, a dedicated optical-electrical multiplexing Port Physical Layer device (Combo PHY) is often used.
Existing gigabit ethernet Combo PHY ports typically use a combination of RJ45 electrical interfaces and SFP optical interfaces. Because the physical structures and control modes of the two interfaces are different, when the Combo port in the existing scheme works normally, only one of the electrical interface and the optical interface can be used at the same time, and the electrical interface and the optical interface cannot work simultaneously. On the other hand, the existing solutions of gigabit Combo port all use a dedicated optical-electrical multiplexing Combo PHY chip, which is high in cost and limited in availability. In addition, the gigabit Combo PHYs in the market are few in types, mostly the Combo PHYs of 4-port QSGMII interfaces, and the uplink ports of many switching chips do not support the interfaces, which makes the devices unusable, and in a scene only requiring 2 Combo ports, the 4-port Combo PHYs are redundant and are not flexible to use. In a third aspect, the optical interface of the dedicated gigabit Combo PHY scheme can only support gigabit optical communication, cannot support gigabit optical communication, and has poor scalability.
In view of this, how to overcome the defects existing in the prior art, and solve the problems that the existing gigabit Combo PHY cannot be used simultaneously by the optical and electrical interfaces, the chip cost is high, the use is not flexible, the expandability is poor, and the like, which are to be solved in the technical field.
[ summary of the invention ]
The present invention addresses the above deficiencies in the art or needs for improvement and solves problems with existing gigabit Combo PHYs.
The embodiment of the invention adopts the following technical scheme:
in a first aspect, the present invention provides a device for photoelectric multiplexing, specifically: the system comprises a high-speed switch 1, a PHY chip module 2, an Ethernet transformer 3, an Ethernet electrical interface 4, an Ethernet optical interface 5 and a switching chip 6; the first port of the high-speed switch 1 is connected with the switching chip 6; a second port of the high-speed switch 1 is connected with a first port of the PHY chip module 2, a second port of the PHY chip module 2 is connected with a first port of the Ethernet transformer 3, a third port of the PHY chip module is connected with the switching chip 6, the Ethernet electrical interface 4 is connected with a second port of the Ethernet transformer 3, and an external interface of the Ethernet electrical interface 4 is used as an external electrical signal interface; the third port of the high-speed switch 1 is connected with the first port of the ethernet optical interface 5, the second port of the ethernet optical interface 5 is connected with the switch chip 6, and the external interface of the ethernet optical interface 5 is used as an external optical signal interface.
Preferably, when there is more than one high-speed switch 1, the method further includes: the number of the PHY chip module 2, the Ethernet electrical interface 4 and the Ethernet optical interface 5 is respectively the same as that of the high-speed switch 1; the first port of each high-speed switch 1 is connected with one external port of the switching chip 6; the second port of each high-speed switch 1 is connected with the first port of one PHY chip module 2, the second port of each PHY chip module 2 is connected with the first port of an Ethernet transformer 3, and each Ethernet electrical interface 4 is connected with the second port of the Ethernet transformer 3 to carry out input and output of one path of electrical signals; the third port of each high-speed switch 1 is connected to an ethernet optical interface 5, and performs input and output of one optical signal.
Preferably, the switching chip 6 includes a MAC switch switching module 61 and a MCU control module 62, specifically: the MAC switch switching module 61 is connected with the MCU control module 62; the MAC switch switching module 61 is connected to the third port of the PHY chip module 2 through an SMI bus; the control port of the MCU control module 62 is connected to the first port of the high-speed switch 1, and the MCU control module 62 is connected to the second port of the ethernet optical interface 5 via an I2C bus.
Preferably, the PHY chip module 2 further includes an electrical port PHY register 21, and a control port of the MAC switch switching module 61 in the switching chip 6 is connected to the electrical port PHY register 21.
In another aspect, the present invention provides a method of optoelectronic multiplexing. Specifically, the device for photoelectric multiplexing provided by the first aspect is connected with a switching chip 6, and the working state of the high-speed switch 1 is set to be in an electric port mode; the Ethernet electrical interface 4 of the photoelectric multiplexing device is connected with an external electrical interface, the high-speed switch 1 receives a differential signal generated by the switching chip 6, the differential signal is converted into an electrical signal by the PHY chip module 2 and then is sent out by the Ethernet electrical interface 4, and the Ethernet electrical interface 4 receives the external electrical signal and then is converted into a differential signal by the PHY chip module 2 and then is sent to the switching chip 6 by the high-speed switch 1; the Ethernet optical interface 5 of the photoelectric multiplexing device is connected with an external optical interface, the MCU control module 62 sets the working state of the high-speed switch 1 to be in an optical port mode, the high-speed switch 1 receives a differential signal generated by the switching chip 6 and sends the differential signal out by the Ethernet optical interface 5, and an optical external optical signal received by the Ethernet optical interface 5 is sent to the switching chip 6 by the high-speed switch 1.
Preferably, the setting of the operating state of the high-speed switch 1 to the electric port mode specifically includes: the SEL signal of the high-speed switch 1 is set to be low level by the control signal of the MCU control module 62, and the operating mode of the PHY chip module 2 is set to be an electrical mode, so that the first port channel of the high-speed switch 1 is connected to the second port, and the signal port of the MAC switch switching module 61 is connected to the PHY chip module 2.
Preferably, the MCU control module 62 sets the operating state of the high-speed switch 1 to the optical port mode, which specifically includes: the ethernet optical interface 5 sends out LOS interrupt to the MCU control module 62, after the MCU control module 62 receives the LOS interrupt, the operating mode of the MAC switch switching module 61 is set to the optical mode, and the SEL signal of the high-speed switch 1 is set to the high level, the first port of the high-speed switch 1 is connected to the third port, and the MAC switch switching module 61 is connected to the ethernet optical interface 5.
Preferably, after the MCU control module 62 receives the LOS interrupt, it further includes: the MCU control module 62 detects the LOS signal of the ethernet optical interface 5; if an LOS signal is detected, the working state of the high-speed switch 1 is set to be in an optical port mode; if no LOS signal is detected, the working state of the high-speed switch 1 is set to be in the electric port mode.
Preferably, the electrical mode of the MAC switch switching module 61 is specifically: 10/100/1000BASE-T mode; the MAC switch switching module 61 optical mode specifically includes: SGMII mode or 10G-R mode.
Preferably, after the apparatus for optical-electrical multiplexing provided in the first aspect is connected to the switching chip 6, the apparatus further includes: the high-speed switch 1, the PHY chip module 2, and the ethernet optical interface 5 are initialized, so that the control port of the MAC switch switching module 61 can normally access the PHY chip module 2, and the second control port of the MCU control module 62 can normally access the high-speed switch 1 and the ethernet optical interface 5.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: the low-cost photoelectric multiplexing device is used, and the optical port mode and the electric port mode are conveniently switched through a high-speed switch. The scheme has low cost and simple and convenient working mode switching, and can flexibly set the number of the ports according to the requirement. Meanwhile, the device can be connected with a gigabit or ten-gigabit SERializer/DESerializer (SERD ES) through a switching chip, and can provide gigabit and ten-gigabit optical signals according to the needs.
On the other hand, the photoelectric multiplexing method provided by the embodiment of the invention determines the working state of the SERDES switch by interrupting and triggering the detection of the LOS signal of the optical module, and enables or shuts off the PHY, so that the hardware link reliably works in an electric port mode or an optical port mode at the same time, the switching mode is simple and convenient, and online real-time switching can be realized.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a schematic diagram of a prior art optoelectronic multiplexing device;
fig. 2 is a schematic structural diagram of an optoelectronic multiplexing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of another optical-electrical multiplexing apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another optical-electrical multiplexing apparatus according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for optical-electrical multiplexing according to an embodiment of the present invention;
fig. 6 is a flowchart of another method for optical-electrical multiplexing according to an embodiment of the present invention;
FIG. 7 is a flow chart of another method for optical-electrical multiplexing according to an embodiment of the present invention;
wherein the reference numbers are as follows:
1: the high-speed switch is switched on and off,
2: PHY chip module, 21: the power port PHY register is provided with,
3: an Ethernet transformer is used for transforming the data into the data,
4: an electrical interface to the ethernet network is provided,
5: an optical interface of the Ethernet network is provided,
6: switch chip, 61: MAC switch switching module, 62: and the MCU control module.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The present invention is a system structure of a specific function system, so the functional logic relationship of each structural module is mainly explained in the specific embodiment, and the specific software and hardware implementation is not limited.
In addition, the technical features involved in the respective embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other. The invention will be described in detail below with reference to the figures and examples.
Example 1:
the Combo port refers to two ethernet ports on the panel of the network switch device, usually one is an optical port and one is an electrical port, and there is only one forwarding port inside the device, the Combo PHY is the port physical layer device of the Combo. The electrical port in the Combo port and the corresponding optical port are logically in optical-electrical multiplexing, a user can select one of the ports to use according to the actual networking situation, but the two ports cannot work simultaneously, and when one of the ports is activated, the other port is automatically in a disabled state. As shown in fig. 1, in the current solution, a dedicated gigabit Combo PHY chip is usually used to solve the multiplexing problem of the optical interface and the electrical interface of the Combo PHY. However, the dedicated chip has the problems of high cost, limited availability, poor port expansibility, capability of supporting only a gigabit mode and the like. The optoelectronic multiplexing device provided by this embodiment uses a common single-port PHY and a high-speed switch to replace a dedicated Combo PHY chip, and uses a general-purpose device to form a low-cost optoelectronic multiplexing device, so as to implement a low-cost optoelectronic multiplexing function.
As shown in fig. 2, the optical-electrical multiplexing apparatus provided in this embodiment includes a high-speed switch 1, a PHY chip module 2, an ethernet transformer 3, an ethernet electrical interface 4, an ethernet optical interface 5, and a switch chip 6.
The first port of the high-speed switch 1 is connected to the signal port of the switch chip 6.
The high speed switch 1 provides three ports, a first port a, a second port B, and a third port C. Each port may be coupled to two pairs of differential SERDES signals, one pair for each receive and signal. The port A corresponds to the system side and exchanges data and control signals with an exchange chip 6 providing exchange and control functions, the port B corresponds to the electric port side, the port C corresponds to the optical port side, and the port A is switched to be connected with the port B or the port C through the control of the high-speed switch 1, so that the switching of the optical port and the electric port is completed. In specific implementation, a high-speed SERDES switch can be selected as a multiplexing demultiplexer as required in the high-speed switch 1, so as to ensure the response speed of port switching and avoid affecting signal transmission due to untimely switching, such as a CBTL02043A device of NXP.
The switching chip 6 is mainly used to provide SERDES signals and control signals, and provide management control channels for the optical-electrical multiplexing apparatus, for example, can be used to store and execute relevant instructions of the method for optical-electrical multiplexing provided in embodiment 2. The switching chip 6 can generate a plurality of groups of SERDES signals with gigabit/tera rate, each group of SERDES signals consists of a receiving pair and a transmitting pair of differential signals, and the differential signals are transmitted to the first port A of the high-speed switch 1 through the control interface of the switching chip 6. In a specific implementation scenario, the operation mode of the switch chip 6 may be configured in any one of the 1000Base-X mode, the SGMII mode or the 10G-R mode according to the communication requirement, or other existing communication modes supported by the switch chip 6 are used.
Specifically, as shown in fig. 3, the SWITCH chip 6 is composed of two parts, namely a MAC SWITCH (SWITCH) SWITCH module 61 and a MCU control module 62. The MAC switch switching module 61 and the MCU control module 62 are connected to each other and integrated on the switching chip 6. The control port of the MCU control module 62 is connected with the first port of the high-speed switch 1, and the enable switching of the second port and the third port of the high-speed switch 1 is controlled through the output signal of the MCU control module 62, so that the switching of optical port and electric port functions is completed.
The second port B of the high-speed switch 1 is connected to an electrical port portion of the optical-electrical multiplexing module, and the electrical port portion mainly includes a PHY chip module 2, a gigabit ethernet transformer 3, and an ethernet electrical interface 4.
The PHY chip module 2 may use a general single-port gigabit PHY chip module to generate and receive gigabit ethernet packets, thereby transmitting and receiving ethernet data frames. The first port of the PHY chip module 2 is connected to the second port B of the high-speed switch 1 to obtain the data received by the first port a of the high-speed switch 1, and send the data to the switch chip 6 through the data received by the first port a of the high-speed switch 1. The PHY chip module 2 is managed by the switch chip 6, specifically, as shown in fig. 4, the third port of the PHY chip module 2 is connected to the MAC switch module 61 through an SMI bus, and the switch chip 6 sends a control instruction to the PHY chip module 2 through the SMI bus to manage and control the PHY chip module 2. Specifically, the PHY chip module 2 includes an electrical port PHY register 21, a control port of the MAC switch switching module 61 in the switching chip 6 is connected to the electrical port PHY register 21, and a working mode of the PHY chip module 2 is set by configuring a value of the electrical port PHY register 21.
The first port of the ethernet transformer 3 is connected to the second port of the PHY chip module 2, and the ethernet electrical interface 4 is connected to the second port of the ethernet transformer 3. The ethernet transformer 3 isolates the differential signal from the PHY chip module 2, prevents the signal at the ethernet electrical interface 4 side from interfering and damaging the PHY chip module 2, and completes the impedance transformation between the PHY chip module 2 and the ethernet transformer 3.
The external interface of the ethernet electrical interface 4 serves as an external electrical signal interface of the optoelectronic multiplexing device. Specifically, the ethernet electrical interface 4 may use a universal gigabit ethernet RJ45 electrical interface, and perform data transmission of a gigabit ethernet network packet through an electrical interface network line such as a CAT6 six-class line.
The third port C of the high-speed switch 1 is connected to the optical port portion of the optical-electrical multiplexing module, the optical port portion includes an ethernet optical interface 5, the third port C of the high-speed switch 1 is connected to the first port of the ethernet optical interface 5 to obtain data received by the first port a of the high-speed switch 1, and the data received by the first port a of the high-speed switch 1 is sent to the switching chip 6.
The ethernet optical interface 5 may use a general gigabit/gigabit ethernet SFP/SFP + optical interface, and transmit and receive data signals of an optical network through an optical module in the SFP/SFP + optical interface, and an external interface of the ethernet optical interface 5 is used as an external optical signal interface, and is connected to an optical fiber for data transmission. Because the SFP/SFP + optical module has a photoelectric isolation effect, the optical port of the photoelectric multiplexing module does not need to use the ethernet transformer 3 for isolation and impedance conversion, and can directly perform data interaction with the switching chip 6 through the port of the high-speed switch 1.
The second port of the ethernet optical interface 5 is connected to the switch chip 6, the MCU control module 62 in the switch chip 6 is connected to the second port of the ethernet optical interface 5 via an I2C bus, and the MCU control module 62 manages and controls the optical module in the ethernet optical interface 5 via an I2C bus.
Through the combination and connection of the above devices, the high-speed switch 1 realizes the connection switching of the first port a with the electrical port and the optical port through the enabling control of the second port B and the third port C under the control of the switching chip 6, and the rapid switching of the electrical port and the optical port during the photoelectric multiplexing is completed through the low-cost devices and the simple control mode.
Further, in the optical-electrical multiplexing apparatus provided in this embodiment, the number of the ethernet electrical interfaces 4 and the number of the ethernet optical interfaces 5 may be set as required. Each set of electrical/optical port combinations is controlled using a high speed switch 1. The number of the PHY chip modules 2, the ethernet electrical interfaces 4, and the ethernet optical interfaces 5 is the same as the number of the high-speed switches 1, and the first port of each high-speed switch 1 is connected to an external port of the switch chip 6. The second port of each high-speed switch 1 is connected with the first port of one PHY chip module 2, the second port of each PHY chip module 2 is connected with the first port of the ethernet transformer 3, and each ethernet electrical interface 4 is connected with the second port of the ethernet transformer 3, so as to perform input and output of one path of electrical signals. The third port of each high-speed switch 1 is connected to an ethernet optical interface 5, and performs input and output of one optical signal. In specific implementation, in order to simplify the device structure and reduce the cost and volume, the plurality of electrical ports may share one ethernet transformer 3, the second ports of all PHY chip modules 2 are connected to the first port of the same ethernet transformer 3, and all ethernet electrical interfaces 4 are connected to the second port of the same ethernet transformer 3.
The optical-electrical multiplexing device provided by this embodiment, under the condition that there is a gigabit COMBO interface requirement, reduces the cost, increases the flexibility of use, and expands a gigabit optical port to support the use of a gigabit optical fiber by the combination of general low-cost devices.
Example 2:
on the basis of the device for photoelectric multiplexing provided in the above embodiment 1, the present invention also provides a method for photoelectric multiplexing using the device in embodiment 1.
In the optical-electrical multiplexing apparatus provided in embodiment 1, the MAC switch switching module 61 and the MCU control module 62 in the switching chip 6 are used to store and operate instructions related to the method provided in this embodiment. The switch chip 6, as a non-volatile computer-readable storage medium for a method of electro-optical multiplexing, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the method of electro-optical multiplexing provided in the present embodiment. The switching chip 6 executes various functional applications and data processing for controlling each device in the optical-electrical multiplexing apparatus by running a nonvolatile software program, instructions and modules stored in the memory, that is, implements the method for optical-electrical multiplexing provided by the present embodiment, and corresponding data communication functions. The program instructions/modules related to the method for optical-electrical multiplexing provided in the present embodiment are stored in the memory of the switch chip 6, and when executed by the processor in one or more switch chips 6, the method for optical-electrical multiplexing provided in the present embodiment is executed, for example, the steps shown in fig. 5, fig. 6 and fig. 7 described below are executed.
As shown in fig. 5, the method for photoelectric multiplexing provided by the embodiment of the present invention includes the following specific steps:
step 101: the optoelectric multiplexing device provided in embodiment 1 is connected to the switching chip 6, and the operating state of the high-speed switch 1 is set to the electrical port mode.
In order to use the optoelectric multiplexing device provided in embodiment 1, it is first necessary to connect the switch chip 6 on the switch side with other components on the port side. The MAC switch switching module 61 is connected to the third port of the PHY chip module 2 through the SMI bus, so that the MAC switch switching module can set the value in the PHY register 21 of the PHY chip module 2 to control the operating state of the PHY chip module 2. The control port of the MCU control module 62 is connected to the first port of the high speed switch 1, and the operating state of the high speed switch 1 is switched through the control port. The MCU control module 62 is connected to the second port of the ethernet optical interface 5 via an I2C bus, and controls the operating state of the ethernet optical interface 5 via an I2C bus. After the connection is completed, it is also necessary to initialize each component in the device, so that the MCU control module 62 can normally access the MAC switching module 61, the I2C bus channel can normally work, and the SMI channel of the MAC switching module 61 can access the PHY chip module 2.
As shown in fig. 6, when performing initialization, the operation mode of the high-speed switch 1 can be set to the electric port mode by the following steps.
Step 201: the SEL signal of the high speed switch 1 is set to a low level by a control signal of the MCU control module 62.
The SEL signal of the high-speed switch is made low by the control signal of the MCU control block 62. After the SEL signal of the high-speed switch 1 is set to low level, the channel of the first port a of the high-speed switch 1 is maintained or switched to be connected with the second port B, so that the gigabit SERDES of the MAC switch switching module 61 in the switching chip 6 works in the gigabit electrical port mode, is directly connected with the gigabit electrical port PHY chip module 2, and performs data communication with the outside through the ethernet electrical interface 4.
Step 202: the operation mode of the PHY chip module 2 is set to the electrical mode.
The value of the PHY register 21 in the electrical port PHY chip module 2 is configured through the SMI channel of the MAC switch switching module 61, enabling the electrical port PHY chip module, so that the electrical port PHY chip module 2 operates in the gigabit electrical port mode. When the channel of the first port a of the high-speed switch 1 is maintained or switched to the channel connected to the second port B, the PHY chip module 2 can operate normally, is connected to the RJ45 as the ethernet interface 4, and operates in the 1000BASE-T mode. In specific use, the electrical mode of the MAC switch switching module 61 may be set to 10/100/1000BASE-T mode according to the actual communication requirement and device matching.
After the setup in step 201-step 202, the high-speed switch 1 is operated in the electrical port mode by default after the start-up and initialization of the optical-electrical multiplexing device are completed.
Step 102: the Ethernet electric interface 4 of the photoelectric multiplexing device is connected with an external electric interface, the high-speed switch 1 receives a differential signal generated by the exchange chip 6, the differential signal is converted into an electric signal through the PHY chip module 2 and then is sent out by the Ethernet electric interface, and the Ethernet electric interface 4 receives the external electric signal and then is converted into the differential signal through the PHY chip module 2 and then is sent to the exchange chip 6 by the high-speed switch 1.
When the high-speed switch 1 operates in the electrical port mode, the optoelectric multiplexing device is connected to an external electrical port such as an electrical port network such as CAT6 six-type line, and performs communication by an electrical signal. When data is sent, each group of gigabit/gigabit-rate SERDES signals generated in the switch chip 6 are sent to the first port A of the high-speed switch 1, then sent to the PHY chip module 2 through the second port B of the high-speed switch 1, converted into gigabit Ethernet data packets through the PHY chip module 2, and sent out as Ethernet electrical signal data frames through the Ethernet electrical interface 4. When receiving data, the external electrical signal data frame received by the ethernet electrical interface 4 is converted into a differential signal by the PHY chip module 2 and sent to the second port B of the high-speed switch 1, and then sent to the switch chip 6 by the first port a of the high-speed switch.
Step 103: the Ethernet optical interface 5 of the photoelectric multiplexing device is connected with an external optical interface, the MCU control module 62 sets the working state of the high-speed switch 1 to be in an optical port mode, the high-speed switch 1 receives a differential signal generated by the switching chip 6 and sends the differential signal out by the Ethernet optical interface 5, and an optical external optical signal received by the Ethernet optical interface 5 is sent to the switching chip 6 by the high-speed switch 1.
When the high-speed switch 1 operates in the optical port mode, the optical/electrical multiplexing device is connected to an external optical interface such as an optical module, and performs communication by an optical signal. When data is sent, the SERDES signals with each group of gigabit/terabyte rate generated in the switch chip 6 are sent to the first port a of the high-speed switch 1, then sent to the ethernet optical interface 5 through the third port C of the high-speed switch 1, and sent out as ethernet optical signal data frames through the ethernet optical interface 5. When receiving data, the external optical signal data frame received by the ethernet optical interface 5 is sent to the third port C of the high-speed switch 1, and then sent to the switch chip 6 from the first port a of the high-speed switch.
Through steps 101 to 103, the optical-electrical multiplexing apparatus provided in embodiment 1 can complete the data transceiving communication function of the optical port and the electrical port, and realize multiplexing of the optical port and the electrical port.
Further, the optical/electrical multiplexing apparatus provided in embodiment 1 can control the switching between the optical port and the electrical port by LOS interrupt.
As shown in fig. 7, the electrical port mode can be switched to the optical port mode by the following steps.
Step 301: the ethernet optical interface 5 issues a LOS interrupt to the MCU control module 62.
When the ethernet optical interface 5 detects that the external optical interface is inserted, it sends an LOS interrupt signal to the MCU control module 62. When the MCU control module 62 detects the LOS interrupt signal sent by the ethernet optical interface 5, the process goes to step 302. If no LOS interrupt signal is monitored, the working state of the photoelectric multiplexing device is unchanged, and the photoelectric multiplexing device continues to work in the electric port mode, namely, the Ethernet electric interface 4 is used for data communication.
Step 302: after receiving the LOS interrupt, the MCU control module 62 sets the operation mode of the MAC switch switching module 61 to the optical mode.
After detecting the LOS interrupt signal, it indicates that the ethernet optical interface 5 has the external optical interface inserted and needs to operate in the optical interface mode, and the operating mode of the MAC switch switching module 61 needs to be set to the optical mode, where the optical mode specifically is: SGMII mode or 10G-R mode.
Step 303: the SEL signal of the high-speed switch 1 is set to a high level.
If an LOS signal is detected, the operating state of the high-speed switch 1 needs to be set to the optical port mode. When receiving the LOS interrupt signal, the ports of the high-speed switch 1 are switched, the channel of the first port a is switched from the second port B to the third port C, the first port of the high-speed switch 1 is connected and conducted with the third port, and the MAC switch switching module 61 is connected with the ethernet optical interface 5. Specifically, the MCU control module enables the SEL signal of the high-speed switch to be changed into a high level, so that the channel of the A port is switched to be communicated with the channel of the C port, and the test MCU control module enables the exchange module to enable the MAC layer to work in a kilomega/teramega optical mode and be directly connected with the optical module.
The switching from the electrical port mode to the optical port mode can be accomplished through steps 301 to 303. Similarly, the optical port mode can be switched to the electrical port mode in the same manner as the setting at the time of initialization in step 101.
Further, in order to ensure stable communication, the method for optical-electrical multiplexing provided in this embodiment may further automatically switch to the electrical port mode when the communication of the external optical interface is interrupted, so as to perform communication in the electrical port mode. Specifically, when optical signal communication is performed, an optical signal of the external optical interface is also detected. If the optical signal can be detected, which indicates that the communication connection of the ethernet optical interface 5 is normal, the optical-electrical multiplexing device is maintained in the optical port mode. If the optical signal is not detected, it indicates that the external optical interface connected to the ethernet optical interface 5 may be disconnected, or normal communication may not be possible due to a failure, and therefore, the optical port mode needs to be switched to the electrical port mode.
In some scenarios of this embodiment, when the electrical port mode is switched to the optical port mode, if the PHY chip module 2 is not turned off, the switch chip 6 may still access the PHY chip module 2 through the SMI bus, at this time, if an external electrical interface such as RJ45 network cable is connected to the ethernet electrical interface 4, the switch chip 6 may regard the electrical port as LINK, and actually, since the switch chip 6 is already connected to the ethernet optical interface 5 through the third port C of the high-speed switch 1, the connection with the PHY chip module 2 through the second port B of the high-speed switch 1 is already disconnected, the switch chip 6 is already physically connected to the PHY chip module 2, and at this time, the LINK of the electrical port is incorrect. In order to ensure that the communication is correct when the electrical port mode is switched to the optical port mode, the PHY chip module 2 of the electrical port needs to be turned off, so as to prevent the port "false" LINK caused by the connection of the PHY chip module 2 and external electrical interfaces such as RJ 45.
By the method for optical-electrical multiplexing provided in this embodiment, the apparatus for optical-electrical multiplexing provided in embodiment 1 can be controlled to perform gigabit/gigabit communication for optical-electrical-port multiplexing, and the optical port and the electrical port can be switched in a simple manner, so that the method is simple to use and control, and fast to switch.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. An optical-electrical multiplexing device, comprising at least two high-speed switches (1), at least two PHY chip modules (2), an ethernet transformer (3), at least two ethernet electrical interfaces (4), at least two ethernet optical interfaces (5), and a switch chip (6), specifically:
the first port of the high-speed switch (1) is connected with the switching chip (6);
the number of the PHY chip module (2), the Ethernet electrical interface (4) and the Ethernet optical interface (5) is respectively the same as that of the high-speed switches (1), and each high-speed switch (1) controls one optical port or electric port;
a second port of the high-speed switch (1) is connected with a first port of the PHY chip module (2), a second port of the PHY chip module (2) is connected with a first port of the Ethernet transformer (3), a third port of the PHY chip module is connected with the switching chip (6), the Ethernet electrical interface (4) is connected with a second port of the Ethernet transformer (3), and an external interface of the Ethernet electrical interface (4) is used as an external electrical signal interface;
the third port of the high-speed switch (1) is connected with the first port of the Ethernet optical interface (5), the second port of the Ethernet optical interface (5) is connected with the switching chip (6), and the external interface of the Ethernet optical interface (5) is used as an external optical signal interface.
2. The apparatus for optical-electrical multiplexing according to claim 1, further comprising:
the first port of each high-speed switch (1) is connected with one external port of the switching chip (6);
a second port of each high-speed switch (1) is connected with a first port of one PHY chip module (2), a second port of each PHY chip module (2) is connected with a first port of an Ethernet transformer (3), and each Ethernet electrical interface (4) is connected with a second interface of the Ethernet transformer (3) to carry out input and output of one path of electrical signals;
and a third port of each high-speed switch (1) is connected with an Ethernet optical interface (5) to carry out input and output of one path of optical signals.
3. The optoelectronic multiplexing device according to claim 1, wherein the switch chip (6) includes a MAC switch module (61) and a MCU control module (62), and specifically includes:
the MAC switch switching module (61) is connected with the MCU control module (62);
the MAC switch exchange module (61) is connected with the third port of the PHY chip module (2) through an SMI bus;
the control port of the MCU control module (62) is connected with the first port of the high-speed switch (1), and the MCU control module (62) is connected with the second port of the Ethernet optical interface (5) through an I2C bus.
4. The optoelectronic multiplexing device according to claim 3, specifically comprising:
the PHY chip module (2) further comprises an electric port PHY register (21), and a control port of an MAC switch module (61) in the switch chip (6) is connected with the electric port PHY register (21).
5. A photoelectric multiplexing method is characterized by specifically comprising the following steps:
connecting the optoelectrical multiplexing device of any one of claims 1 to 4 to a switching chip (6) for setting the operating state of the high-speed switch (1) in electrical port mode;
the Ethernet electrical interface (4) of the photoelectric multiplexing device is connected with an external electrical interface, the high-speed switch (1) receives a differential signal generated by the switching chip (6), the differential signal is converted into an electrical signal by the PHY chip module (2) and then is sent out by the Ethernet electrical interface (4), and the Ethernet electrical interface (4) receives the external electrical signal, is converted into the differential signal by the PHY chip module (2) and then is sent to the switching chip (6) by the high-speed switch (1);
the Ethernet optical interface (5) of the photoelectric multiplexing device is connected with an external optical interface, the MCU control module (62) sets the working state of the high-speed switch (1) to be in an optical port mode, the high-speed switch (1) receives a differential signal generated by the switching chip (6) and sends the differential signal out by the Ethernet optical interface (5), and the optical external optical signal received by the Ethernet optical interface (5) is sent to the switching chip (6) by the high-speed switch (1).
6. The optoelectronic multiplexing method according to claim 5, wherein the setting of the operating state of the high-speed switch (1) to the electrical port mode specifically comprises:
the SEL signal of the high-speed switch (1) is set to be low level through the control signal of the MCU control module (62), the working mode of the PHY chip module (2) is set to be an electric mode, a first port channel and a second port of the high-speed switch (1) are conducted, and a signal port of the MAC switch switching module (61) is connected with the PHY chip module (2).
7. The optical-electrical multiplexing method according to claim 5, wherein the MCU control module (62) sets the operating state of the high-speed switch (1) to the optical port mode, and specifically comprises:
the Ethernet optical interface (5) sends out LOS interruption to the MCU control module (62), after the MCU control module (62) receives the LOS interruption, the working mode of the MAC switch switching module (61) is set to be an optical mode, an SEL signal of the high-speed switch (1) is set to be a high level, the first port and the third port of the high-speed switch (1) are connected and conducted, and the MAC switch switching module (61) is connected with the Ethernet optical interface (5).
8. The method for optoelectronics multiplexing of claim 7 wherein the MCU control module (62) after receiving the LOS interrupt further comprises:
the MCU control module (62) detects the LOS signal of the Ethernet optical interface (5);
if an LOS signal is detected, the working state of the high-speed switch (1) is set to be in an optical port mode;
if the LOS signal is not detected, the working state of the high-speed switch (1) is set to be in an electric port mode.
9. The optical-electrical multiplexing method according to claim 7, comprising:
the electrical mode of the MAC switch switching module (61) is specifically as follows: 10/100/1000BASE-T mode;
the MAC switch switching module (61) optical mode specifically comprises: SGMII mode or 10G-R mode.
10. The method for optical-electrical multiplexing according to claim 5, wherein after connecting the apparatus for optical-electrical multiplexing provided in any one of claims 1-4 to the switching chip (6), further comprising:
initializing the high-speed switch (1), the PHY chip module (2) and the Ethernet optical interface (5), enabling a control port of the MAC switch switching module (61) to normally access the PHY chip module (2), and enabling a second control port of the MCU control module (62) to normally access the high-speed switch (1) and the Ethernet optical interface (5).
CN202110707615.8A 2021-06-24 2021-06-24 Photoelectric multiplexing device and method Active CN113242480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110707615.8A CN113242480B (en) 2021-06-24 2021-06-24 Photoelectric multiplexing device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110707615.8A CN113242480B (en) 2021-06-24 2021-06-24 Photoelectric multiplexing device and method

Publications (2)

Publication Number Publication Date
CN113242480A CN113242480A (en) 2021-08-10
CN113242480B true CN113242480B (en) 2022-06-21

Family

ID=77140816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110707615.8A Active CN113242480B (en) 2021-06-24 2021-06-24 Photoelectric multiplexing device and method

Country Status (1)

Country Link
CN (1) CN113242480B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114039939A (en) * 2021-10-25 2022-02-11 北京四方继保工程技术有限公司 Device, FPGA and method for self-adaptive optical-electrical interface
CN114679221B (en) * 2022-02-28 2024-03-08 广州广哈通信股份有限公司 Communication device and equipment capable of configuring optical interface working mode

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1534932A (en) * 2003-03-27 2004-10-06 华为技术有限公司 Method of supporting multi kilomega ethernet terminal photoelectric multiplex
CN1725762A (en) * 2004-07-23 2006-01-25 杭州华为三康技术有限公司 Implementation method of Ethernet photoelectric interface duplex
CN101621328A (en) * 2008-06-30 2010-01-06 成都市华为赛门铁克科技有限公司 Method for realizing photoelectric mutual exclusion, Ethernet photoelectric mutual exclusion interface and network equipment
CN107276674A (en) * 2017-08-08 2017-10-20 深圳市三旺通信技术有限公司 A kind of photoelectric port multiplex circuit of ethernet device
CN109217940A (en) * 2018-10-08 2019-01-15 深圳市三旺通信技术有限公司 A kind of Combo mouthfuls of switching circuit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090323705A1 (en) * 2008-06-30 2009-12-31 Huawei Technologies Co., Ltd. Method for implementing photoelectric mutex, ethernet photoelectric mutex interface device and network equipment
CN201345715Y (en) * 2009-02-09 2009-11-11 华为技术有限公司 Device for multiplexing of photoelectric interfaces
CN205754712U (en) * 2016-05-13 2016-11-30 北京立华莱康平台科技有限公司 Composite network communication part
CN106506406A (en) * 2017-01-11 2017-03-15 深圳市立全鼎盛科技有限公司 The 24 port optical switch that a kind of 100,000,000 light and gigabit light are supported simultaneously

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1534932A (en) * 2003-03-27 2004-10-06 华为技术有限公司 Method of supporting multi kilomega ethernet terminal photoelectric multiplex
CN1725762A (en) * 2004-07-23 2006-01-25 杭州华为三康技术有限公司 Implementation method of Ethernet photoelectric interface duplex
CN101621328A (en) * 2008-06-30 2010-01-06 成都市华为赛门铁克科技有限公司 Method for realizing photoelectric mutual exclusion, Ethernet photoelectric mutual exclusion interface and network equipment
CN107276674A (en) * 2017-08-08 2017-10-20 深圳市三旺通信技术有限公司 A kind of photoelectric port multiplex circuit of ethernet device
CN109217940A (en) * 2018-10-08 2019-01-15 深圳市三旺通信技术有限公司 A kind of Combo mouthfuls of switching circuit

Also Published As

Publication number Publication date
CN113242480A (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN108206761B (en) Method for setting link speed of dual port switch
US9967025B2 (en) Diagnostic port for inter-switch and node link testing in electrical, optical and remote loopback modes
CN113242480B (en) Photoelectric multiplexing device and method
US8824280B2 (en) Method and arrangement for enabling link status propagation
US8059961B2 (en) Customer premises optical network unit and optical transmission system
US10778561B2 (en) Diagnostic port for inter-switch and node link testing in electrical, optical and remote loopback modes
CN105743566B (en) A kind of double-PON port ONU optical link pretection switch devices and guard method
CN110445533B (en) Dual-redundancy optical fiber Ethernet transmission system
CN108462601B (en) Multi-protection-group switching method and device applied to optical transmission network and network element equipment
US8412041B2 (en) Subscriber premises side optical network unit and optical transmission system
US7274874B2 (en) Idle-pattern output control circuit used in a Gigabit Ethernet-passive optical network
CN103763161A (en) Tri-network integration access module and control method thereof
US20050271064A1 (en) Dual speed interface between media access control unit and physical unit
CN108063736A (en) A kind of industrial ethernet switch that long-distance cable is supported to communicate and control method
US6529961B1 (en) Network transceiver having media independent interface operable in a general purpose serial interface mode
WO2021093505A1 (en) Optical line terminal line card and method compatible with pon function
CN117255072A (en) Reinforced type switch and data interaction method thereof
US20140314417A1 (en) Reconfiguration of an optical connection infrastructure
CN204761436U (en) Electric power collection system of two MAC protections of two PON
CN219124214U (en) CAN communication architecture based on time division multiplexing
US10666319B2 (en) Method for synchronized communication in access network applied G.hn technology thereto, access network multiplexer, access network terminal and access network system using the same
JP2008160197A (en) Subscriber premise optical line terminating apparatus and optical transmission system
EP4149083A1 (en) Method and system for optoelectronic matching
EP2775678B1 (en) Diagnostic port for inter-switch and node link testing in electrical, optical and remote loopback modes
WO2017020292A1 (en) Optical access device and optical access system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant