CN112737794A - Optical port and electric port self-adaptive connecting device - Google Patents
Optical port and electric port self-adaptive connecting device Download PDFInfo
- Publication number
- CN112737794A CN112737794A CN202011525808.3A CN202011525808A CN112737794A CN 112737794 A CN112737794 A CN 112737794A CN 202011525808 A CN202011525808 A CN 202011525808A CN 112737794 A CN112737794 A CN 112737794A
- Authority
- CN
- China
- Prior art keywords
- interface
- port
- resistor
- optical
- type
- 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.)
- Granted
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 84
- 238000001514 detection method Methods 0.000 claims abstract description 30
- 238000000034 method Methods 0.000 claims abstract description 4
- 230000003044 adaptive effect Effects 0.000 claims description 16
- 238000002955 isolation Methods 0.000 claims description 9
- 239000013307 optical fiber Substances 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
Abstract
The invention provides a light port and electric port self-adaptive connecting device, wherein a type detection circuit and a matching circuit of the light port and electric port self-adaptive connecting device are connected with an interface and a controller; the type detection circuit and the matching circuit are respectively connected with the electric port interface and the optical port interface; the controller stores matching modes corresponding to the electric interface and the optical interface respectively, and processes data transmitted by the electric interface and the optical interface through the matching modes; the type detection circuit detects the type of the interface which works currently and sends the type to the controller, and the controller is connected with the interface through the matching circuit and adjusts the matching mode according to the type. According to the invention, the type of the currently working interface is obtained through the type detection circuit, the control chip adjusts the matching mode according to the type, data processing can be carried out according to the type of the interface, a plurality of mainboards or data processing circuits are not required to be arranged, the cost is reduced, the occupied space can be effectively controlled, and the space utilization rate is improved.
Description
Technical Field
The invention relates to the field of Ethernet communication, in particular to a self-adaptive connecting device for an optical port and an electric port.
Background
A typical network card (especially a 2U-high network card) is a single, double, or four optical ports or a single, double, or four electrical ports, and basically a network card is provided with a single type of interface, or an optical port or an electrical port. However, in practical applications, the optical port and the electrical port exist at the same time, so two types of main boards or data processing circuits are required to be designed in the design to meet the practical application environment, and when a plurality of optical ports or electrical ports are required to be connected, pads are required to be respectively arranged on the main boards according to the type and the number of the electrical ports or the optical ports, which causes problems of increased cost and crowded space of the main boards.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides an optical port and electric port self-adaptive connecting device, which is provided with an optical port interface and an electric port interface, the optical port interface and the electric port interface are connected through a matching circuit and a type detection circuit, the data of the optical port interface or the electric port interface are transmitted to a controller by using the matching circuit, the type of the currently working interface is obtained through the type detection circuit, a control chip adjusts a matching mode according to the type, data processing can be carried out according to the type of the interface, a plurality of mainboards or data processing circuits are not required to be arranged, the cost is reduced, the occupied space can be effectively controlled, and the space utilization rate is improved.
In order to solve the above problems, the present invention adopts a technical solution as follows: an optical port and electrical port adaptive connection device, comprising: the device comprises an interface, a matching circuit, a type detection circuit and a controller, wherein the type detection circuit and the matching circuit are connected with the interface and the controller; the interface comprises an electrical interface and an optical interface, and the type detection circuit and the matching circuit are respectively connected with the electrical interface and the optical interface; the controller stores matching modes corresponding to the electric interface and the optical interface respectively, and processes data transmitted by the electric interface and the optical interface through the matching modes; the type detection circuit detects the type of the interface which works at present and sends the type to the controller, the controller is connected with the interface through the matching circuit and adjusts the matching mode according to the type, and the type comprises any one of an electrical interface and an optical interface.
Furthermore, the type detection circuit comprises a first triode, a first signal interface, a second signal interface, a first resistor and a reference voltage source, wherein the base electrode of the first triode is connected with one end of the first signal interface, one end of the second signal interface and one end of the first resistor, the other end of the first resistor is grounded, the collector electrode of the first triode is connected with the reference voltage source and the controller, and the emitter electrode of the first triode is grounded.
Furthermore, the type detection circuit further comprises a second resistor and a third resistor, wherein one end of the second resistor is connected with the reference voltage source, the other end of the second resistor is connected with the collector electrode of the first triode, one end of the third resistor is connected with the base electrode of the first triode, and the other end of the third resistor is connected with the first signal interface and the second signal interface.
Furthermore, the optical interface includes an optical interface chip, two signal output ports of the optical interface chip are connected with the first signal interface and the second signal interface in a one-to-one correspondence manner, and the optical interface chip outputs high level to the first signal interface and the second signal interface when the optical interface is connected with the optical fiber, so as to control the conduction of the first triode.
Further, the controller comprises a control chip, a signal receiving port of the control chip is connected with a collector of the first triode, the control chip enables the matching mode to correspond to the optical port interface when the first triode is switched on, and the matching mode is adjusted to be the matching mode corresponding to the electrical port interface when the first triode is switched off.
Furthermore, the port voltage of the control chip for acquiring the data transmitted by the electrical interface is 0.95-1.05V, and the port voltage for acquiring the data transmitted by the optical interface is 0.4-1.2V.
Furthermore, the matching circuit includes a network isolation transformer, one end of the network isolation transformer is connected to the data receiving port and the data sending port of the optical interface chip, and the other end of the network isolation transformer is connected to the corresponding data port on the control chip.
Furthermore, the matching circuit further comprises connecting resistors, the number of the connecting resistors is the same as that of the receiving data ports and that of the sending data ports, one end of each connecting resistor is connected with one of the receiving data ports and the sending data ports, and the other end of each connecting resistor is connected with a corresponding port of the data ports.
Furthermore, the electric port interface comprises an electric port interface chip and a storage chip, wherein the electric port interface chip is connected with the storage chip, and information is stored through the storage chip.
Further, the electrical interface chip is connected with the controller through an MII mode, and a clock of the optical interface chip is 25M.
Compared with the prior art, the invention has the beneficial effects that: set up the light mouth interface, the electric mouth interface, and through matching circuit, type detection circuitry connects the light mouth interface, the electric mouth connects, utilize matching circuit to give the controller with the data transmission of light mouth interface or electric mouth interface, and acquire the type of the interface of current work through type detection circuitry, control chip is according to this type adjustment match mode, can carry out data processing according to the type of interface, need not to set up a plurality of mainboards or data processing circuit, the cost is reduced, and can carry out effective control to the space that occupies, and space utilization is improved.
Drawings
FIG. 1 is a block diagram of an embodiment of an adaptive optical and electrical port connection apparatus according to the present invention;
FIG. 2 is a circuit diagram of an optical interface of an optical interface and electrical interface adaptive connection apparatus according to an embodiment of the present invention;
FIG. 3 is a circuit diagram of an electrical port interface of the optical port and electrical port adaptive connection apparatus according to an embodiment of the present invention;
FIG. 4 is a circuit diagram of an embodiment of a type detection circuit in the optical port and electrical port adaptive connection device according to the present invention;
FIG. 5 is a partial circuit diagram of an embodiment of a matching circuit in the optical interface and electrical interface adaptive connection apparatus according to the present invention;
fig. 6 is a circuit diagram of an embodiment of a controller in the optical port and electrical port adaptive connection device according to the present invention.
In the figure: q1, the first triode; r20, a first resistor; r21, a second resistor; r19, third resistor; r13, fourth resistor; r22, fifth resistor; r1, sixth resistor; r23, seventh resistor; r24, eighth resistor; r12, ninth resistor; r11, tenth resistor; r10, eleventh resistor; r9, twelfth resistor; r8, thirteenth resistor.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
Referring to fig. 1-6, fig. 1 is a structural diagram of an embodiment of an adaptive optical interface and electrical interface connection device according to the present invention; FIG. 2 is a circuit diagram of an optical interface of an optical interface and electrical interface adaptive connection apparatus according to an embodiment of the present invention; FIG. 3 is a circuit diagram of an electrical port interface of the optical port and electrical port adaptive connection apparatus according to an embodiment of the present invention; FIG. 4 is a circuit diagram of an embodiment of a type detection circuit in the optical port and electrical port adaptive connection device according to the present invention; FIG. 5 is a partial circuit diagram of an embodiment of a matching circuit in the optical interface and electrical interface adaptive connection apparatus according to the present invention; fig. 6 is a circuit diagram of an embodiment of a controller in the optical port and electrical port adaptive connection device according to the present invention. The optical port and electrical port adaptive connection device of the present invention will be described in detail with reference to fig. 1-6.
In this embodiment, the optical port and electrical port adaptive connection device includes: the device comprises an interface, a matching circuit, a type detection circuit and a controller, wherein the type detection circuit and the matching circuit are connected with the interface and the controller; the interface comprises an electric interface and an optical interface, and the type detection circuit and the matching circuit are respectively connected with the electric interface and the optical interface; the controller stores matching modes corresponding to the electric interface and the optical interface respectively, and processes data transmitted by the electric interface and the optical interface through the matching modes; the type detection circuit detects the type of the interface which works at present and sends the type to the controller, the controller is connected with the interface through the matching circuit, and the matching mode is adjusted according to the type, wherein the type comprises any one of an electrical interface and an optical interface.
In this embodiment, the number of the optical interface and the electrical interface is one.
In this embodiment, the type detection circuit includes a first transistor Q1, a first signal interface, a second signal interface, a first resistor R20, and a reference voltage source, a base of the first transistor Q1 is connected to the first signal interface, the second signal interface, and one end of the first resistor R20, the other end of the first resistor R20 is grounded, a collector of the first transistor Q1 is connected to the reference voltage source and the controller, and an emitter of the first transistor Q1 is grounded. Wherein, the NPN triode of the first triode Q1.
In this embodiment, the type detection circuit further includes a second resistor R21 and a third resistor R19, one end of the second resistor R21 is connected to the reference voltage source, the other end is connected to the collector of the first transistor Q1, one end of the third resistor R19 is connected to the base of the first transistor Q1, and the other end is connected to the first signal interface and the second signal interface.
In a specific embodiment, the resistances of the first resistor R20, the second resistor R21, and the third resistor R19 are the same and are all 4.7K Ω, the first signal interface includes the fourth resistor R13, the second signal interface includes the fifth resistor R22, and the fourth resistor R13 and the fifth resistor R22 are zero-ohm resistors.
In this embodiment, the optical interface includes an optical interface chip, two signal output ports of the optical interface chip are connected to the first signal interface and the second signal interface in a one-to-one correspondence manner, and when the optical interface is connected to the optical fiber, the optical interface chip outputs a high level to the first signal interface and the second signal interface to control the conduction of the first triode Q1.
In a specific embodiment, the OPT _ DET port of the optical interface chip is connected to the first signal interface, and the OPT _ LOS port is connected to the second signal interface.
In this embodiment, the optical interface further includes a sixth resistor R1, a seventh resistor R23, an eighth resistor R24, a ninth resistor R12, a tenth resistor R11, an eleventh resistor R10, a twelfth resistor R9, and a thirteenth resistor R8, where two ends of the sixth resistor R1 are connected to two data transmission ports of the optical interface chip, one end of the seventh resistor R23 and one end of the eighth resistor R24 are connected to two data transmission shorts in a one-to-one correspondence, and the other end of the seventh resistor R23 and the other end of the eighth resistor R24 are grounded. Two ends of the ninth resistor R12 are connected to two data receiving ports of the optical interface chip, one end of the tenth resistor R11 is grounded, the other end of the tenth resistor R11 is connected to one data transmitting port, the other data port is connected to one end of the eleventh resistor R10, and the other end of the eleventh resistor R10 is grounded. One end of the twelfth resistor R9 is connected to the ungrounded end of the tenth resistor R11, the other end is connected to the reference voltage source, one end of the thirteenth resistor R8 is connected to the reference voltage source, and the other end is connected to the ungrounded end of the eleventh resistor R10.
In a specific embodiment, the resistances of the sixth resistor R1 and the ninth resistor R12 are Ω, the resistances of the seventh resistor R23 and the eighth resistor R24 are Ω, and the resistances of the tenth resistor R11, the eleventh resistor R10, the twelfth resistor R9 and the thirteenth resistor R8 are Ω, and 4.7K Ω. The reference voltage source is 3.3V.
In this embodiment, the controller includes a control chip, a signal receiving port of the control chip is connected to a collector of the first transistor Q1, and the control chip enables the matching mode to correspond to the optical interface when the first transistor Q1 is turned on, and enables the matching mode to correspond to the matching mode corresponding to the electrical interface when the first transistor Q1 is turned off.
In this embodiment, the port voltage of the control chip for acquiring the data transmitted by the electrical interface is 0.95-1.05V, and the port voltage of the control chip for acquiring the data transmitted by the optical interface is 0.4-1.2V.
In this embodiment, the matching circuit includes a network isolation transformer, one end of the network isolation transformer is connected to the data receiving port and the data sending port of the optical interface chip, and the other end of the network isolation transformer is connected to the corresponding data port on the control chip.
In this embodiment, the matching circuit further includes connection resistors, the number of the connection resistors is the same as the number of the data receiving ports and the number of the data transmitting ports, one end of each connection resistor is connected to one of the data receiving ports and the data transmitting ports, and the other end of each connection resistor is connected to a corresponding port of the data receiving ports and the corresponding port of the data transmitting ports.
In this embodiment, the electrical interface includes an electrical interface chip and a memory chip, and the electrical interface chip is connected to the memory chip and stores information through the memory chip. The circuit for transmitting information between the electrical interface chip and the control chip and the data interface used therein are prior art, and are not described in detail herein.
In this embodiment, the electrical interface chip is connected to the control chip of the controller through the MII mode, and the clock of the optical interface chip is 25M.
Has the advantages that: the optical port and electric port self-adaptive connecting device is provided with the optical port interface and the electric port interface, the optical port interface and the electric port interface are connected through the matching circuit and the type detection circuit, data of the optical port interface or the electric port interface are transmitted to the controller through the matching circuit, the type of the currently working interface is acquired through the type detection circuit, the control chip adjusts the matching mode according to the type, data processing can be carried out according to the type of the interface, a plurality of mainboards or data processing circuits are not required to be arranged, the cost is reduced, occupied space can be effectively controlled, and the space utilization rate is improved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. An optical port and electrical port adaptive connection device, comprising: the device comprises an interface, a matching circuit, a type detection circuit and a controller, wherein the type detection circuit and the matching circuit are connected with the interface and the controller;
the interface comprises an electrical interface and an optical interface, and the type detection circuit and the matching circuit are respectively connected with the electrical interface and the optical interface;
the controller stores matching modes corresponding to the electric interface and the optical interface respectively, and processes data transmitted by the electric interface and the optical interface through the matching modes;
the type detection circuit detects the type of the interface which works at present and sends the type to the controller, the controller is connected with the interface through the matching circuit and adjusts the matching mode according to the type, and the type comprises any one of an electrical interface and an optical interface.
2. The apparatus according to claim 1, wherein the type detection circuit comprises a first transistor, a first signal interface, a second signal interface, a first resistor, and a reference voltage source, a base of the first transistor is connected to one end of the first signal interface, the second signal interface, and the first resistor, another end of the first resistor is grounded, a collector of the first transistor is connected to the reference voltage source and the controller, and an emitter of the first transistor is grounded.
3. The apparatus according to claim 2, wherein the type detection circuit further comprises a second resistor and a third resistor, one end of the second resistor is connected to the reference voltage source, the other end of the second resistor is connected to the collector of the first transistor, one end of the third resistor is connected to the base of the first transistor, and the other end of the third resistor is connected to the first signal interface and the second signal interface.
4. The apparatus according to claim 2, wherein the optical interface comprises an optical interface chip, two signal output ports of the optical interface chip are connected to the first signal interface and the second signal interface in a one-to-one correspondence, and the optical interface chip outputs high levels to the first signal interface and the second signal interface when the optical interface is connected to the optical fiber, so as to control the conduction of the first transistor.
5. The apparatus according to claim 4, wherein the controller comprises a control chip, a signal receiving port of the control chip is connected to a collector of the first transistor, and the control chip enables the matching mode to correspond to the optical interface when the first transistor is turned on and adjusts the matching mode to a matching mode corresponding to the electrical interface when the first transistor is turned off.
6. The apparatus according to claim 5, wherein the control chip obtains a port voltage of 0.95-1.05V for the data transmitted by the electrical interface, and obtains a port voltage of 0.4-1.2V for the data transmitted by the optical interface.
7. The apparatus of claim 5, wherein the matching circuit comprises a network isolation transformer, one end of the network isolation transformer is connected to the data receiving port and the data transmitting port of the optical interface chip, and the other end of the network isolation transformer is connected to the corresponding data port of the control chip.
8. The apparatus according to claim 7, wherein the matching circuit further comprises connecting resistors, the number of the connecting resistors is the same as the number of the receiving data ports and the transmitting data ports, and one end of each connecting resistor is connected to one of the receiving data ports and the transmitting data ports, and the other end of each connecting resistor is connected to a corresponding port of the data ports.
9. The apparatus of claim 2, wherein the electrical interface comprises an electrical interface chip and a memory chip, and the electrical interface chip is connected to the memory chip for storing information.
10. The apparatus of claim 8, wherein the electrical interface chip is connected to the controller via an MII mode, and the clock of the optical interface chip is 25M.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011525808.3A CN112737794B (en) | 2020-12-22 | 2020-12-22 | Optical port and electric port self-adaptive connecting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011525808.3A CN112737794B (en) | 2020-12-22 | 2020-12-22 | Optical port and electric port self-adaptive connecting device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112737794A true CN112737794A (en) | 2021-04-30 |
CN112737794B CN112737794B (en) | 2024-02-09 |
Family
ID=75605433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011525808.3A Active CN112737794B (en) | 2020-12-22 | 2020-12-22 | Optical port and electric port self-adaptive connecting device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112737794B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621328A (en) * | 2008-06-30 | 2010-01-06 | 成都市华为赛门铁克科技有限公司 | Method for realizing photoelectric mutual exclusion, Ethernet photoelectric mutual exclusion interface and network equipment |
CN102045608A (en) * | 2010-12-29 | 2011-05-04 | 福建星网锐捷网络有限公司 | Network device for optical communication and method thereof for automatically configuring exchange interface |
US20180097745A1 (en) * | 2016-09-30 | 2018-04-05 | Facebook, Inc. | Network switches configured to employ optical or electrical interfaces |
CN109217940A (en) * | 2018-10-08 | 2019-01-15 | 深圳市三旺通信技术有限公司 | A kind of Combo mouthfuls of switching circuit |
CN111556383A (en) * | 2020-04-21 | 2020-08-18 | 深圳市三旺通信股份有限公司 | Optical module adaptive speed interface method, switch and computer storage medium |
-
2020
- 2020-12-22 CN CN202011525808.3A patent/CN112737794B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621328A (en) * | 2008-06-30 | 2010-01-06 | 成都市华为赛门铁克科技有限公司 | Method for realizing photoelectric mutual exclusion, Ethernet photoelectric mutual exclusion interface and network equipment |
CN102045608A (en) * | 2010-12-29 | 2011-05-04 | 福建星网锐捷网络有限公司 | Network device for optical communication and method thereof for automatically configuring exchange interface |
US20180097745A1 (en) * | 2016-09-30 | 2018-04-05 | Facebook, Inc. | Network switches configured to employ optical or electrical interfaces |
CN109217940A (en) * | 2018-10-08 | 2019-01-15 | 深圳市三旺通信技术有限公司 | A kind of Combo mouthfuls of switching circuit |
CN111556383A (en) * | 2020-04-21 | 2020-08-18 | 深圳市三旺通信股份有限公司 | Optical module adaptive speed interface method, switch and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112737794B (en) | 2024-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109150551B (en) | Non-standard POE power supply circuit, power supply equipment and power supply method for network port | |
US5523703A (en) | Method and apparatus for controlling termination of current driven circuits | |
US20060175905A1 (en) | Integrated Connector Unit | |
CN106330468B (en) | A kind of Power over Ethernet device and Power over Ethernet method | |
US20050185665A1 (en) | Management method for a bidirectional and simultaneous exchange of digital signals and a corresponding interface for a bidirectional and simultaneous communication | |
US20060123168A1 (en) | System and method for dynamically allocating addresses to devices coupled to an integrated circuit bus | |
US7908406B2 (en) | Interface architecture for facilitating communication regardless of protocol | |
CN108647180B (en) | Operation system and corresponding electronic equipment | |
EP3065347B1 (en) | Static data bus address allocation | |
JP6122509B2 (en) | Method for detecting receiving end, detection circuit, optical module and system | |
CN106713094B (en) | 1394 data acquisition module | |
KR100766031B1 (en) | Two-Wire Interface Having Dynamically Adjustable Data Fields Depending On Operation Code | |
CN214507065U (en) | Isolated communication circuit and system | |
CN106326174B (en) | A kind of two line telecommunication circuits | |
CN104052462A (en) | Isolated communication circuit | |
CN112737794A (en) | Optical port and electric port self-adaptive connecting device | |
CN219145076U (en) | Quick charging circuit | |
CN218243901U (en) | Current regulating circuit, regulating device and lamp | |
WO2020124849A1 (en) | Communication equipment interface switching device and method | |
CN114661646A (en) | Serial port switching control circuit | |
CN203537553U (en) | An Interface circuit realizing serial port and infrared multiplex functions | |
CN111030219A (en) | But real-time communication's fill data line soon | |
CN110913298A (en) | Earphone device, communication method, system and computer readable storage medium | |
KR20030056464A (en) | Board for using ordinary interface | |
CN112765065B (en) | Master-slave system and data transmission method thereof |
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 |