CN110247775B - UART and Ethernet multiplexing device and demultiplexing device - Google Patents
UART and Ethernet multiplexing device and demultiplexing device Download PDFInfo
- Publication number
- CN110247775B CN110247775B CN201910427043.0A CN201910427043A CN110247775B CN 110247775 B CN110247775 B CN 110247775B CN 201910427043 A CN201910427043 A CN 201910427043A CN 110247775 B CN110247775 B CN 110247775B
- Authority
- CN
- China
- Prior art keywords
- ethernet
- uart
- signal
- multiplexing
- demultiplexing
- 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
Links
- 238000001514 detection method Methods 0.000 claims abstract description 43
- 230000000875 corresponding Effects 0.000 claims abstract description 18
- 238000002955 isolation Methods 0.000 claims description 18
- 230000001808 coupling Effects 0.000 claims description 11
- 238000010168 coupling process Methods 0.000 claims description 11
- 238000005859 coupling reaction Methods 0.000 claims description 11
- 238000006243 chemical reaction Methods 0.000 claims description 8
- 230000001939 inductive effect Effects 0.000 claims description 8
- 230000001131 transforming Effects 0.000 claims description 2
- 238000001310 location test Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 8
- 230000004048 modification Effects 0.000 description 7
- 238000006011 modification reaction Methods 0.000 description 7
- 238000000926 separation method Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000011056 performance test Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/10—Current supply arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing packet switching networks
- H04L43/08—Monitoring based on specific metrics
Abstract
The invention discloses a multiplexing device and a demultiplexing device of a UART and an Ethernet, wherein the multiplexing device comprises a control module, a multiplexing module, a detection module and an Ethernet interface; the detection module is used for detecting whether the Ethernet interface has access of a demultiplexing device; the detection module is further configured to generate a corresponding trigger signal and send the trigger signal to the control module when detecting that the ethernet interface has access to the demultiplexing device; the control module is used for generating a corresponding enabling signal and sending the enabling signal to the multiplexing module when receiving the trigger signal; the multiplexing module is used for multiplexing the UART signal to an Ethernet signal line when receiving the enabling signal so as to send the UART signal to the demultiplexing device through the Ethernet interface. The invention can improve the efficiency of the problem location test of the network equipment, is convenient to use and can not damage the network equipment.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a UART and Ethernet multiplexing device and a demultiplexing device.
Background
With the development of wireless router technology, the system is more and more complex, the interfaces are more and more abundant, and the probability of system problems is higher and higher. The wireless router generally provides an ethernet interface for users to use, and meanwhile, in order to facilitate debugging and positioning of the wireless router when problems occur subsequently, the wireless router generally reserves a UART interface for debugging of research and development personnel.
When a wireless router encounters a problem, it is often necessary to locate the problem using a UART tool. For the wireless router which is produced in batch or sold, if a problem is found in the using process, the best mode is to use a UART tool to quickly position the problem, because the UART interface line of the wireless router is connected out, but the interface device is not installed, at this time, the shell of the wireless router needs to be dismantled, the UART interface needs to be welded to perform problem positioning test on the wireless router, after the test is completed, the UART interface needs to be dismantled, and the operations of performance test, reassembly and the like of a factory production line are carried out again, so that the test efficiency is low, the use is inconvenient, and the wireless router is easy to be damaged.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a UART and ethernet multiplexing apparatus and demultiplexing apparatus, which can improve the efficiency of problem location test of network equipment, are convenient to use, and do not damage the network equipment.
In order to solve the above technical problem, an embodiment of the present invention provides a UART and ethernet multiplexing apparatus, where the multiplexing apparatus includes a control module, a multiplexing module, a detection module, and an ethernet interface;
the detection module is used for detecting whether the Ethernet interface has UART access to the Ethernet demultiplexing device; the detection module is further configured to generate a corresponding trigger signal and send the trigger signal to the control module when detecting that the ethernet interface has access to the demultiplexing device;
the control module is used for generating a corresponding enabling signal and sending the enabling signal to the multiplexing module when receiving the trigger signal;
the multiplexing module is used for multiplexing the UART signal to an Ethernet signal line when receiving the enabling signal so as to send the UART signal to the demultiplexing device through the Ethernet interface.
Further, the multiplexing module comprises a network port transformer, a coupling unit and a switch unit;
the network port transformer is used for carrying out voltage transformation on the Ethernet signals;
the coupling unit is used for coupling the Ethernet signals after voltage conversion and sending the coupled Ethernet signals to a first differential signal line pair of the Ethernet interface;
the switch unit is used for multiplexing the UART signal to the first differential signal line pair when receiving the enabling signal.
Further, the switching unit includes a first switching circuit and a second switching circuit;
the first switch circuit is used for multiplexing a UART TX signal in the UART signal to one signal line of the first differential signal line pair when receiving the enabling signal;
the second switch circuit is configured to multiplex a UART RX signal of the UART signal onto the other signal line of the first differential signal line pair upon receiving the enable signal.
Further, the detection module is specifically configured to detect whether the ethernet interface has a demultiplexing device connected thereto through a level change on a second differential signal line pair of the ethernet interface.
Further, the detection module comprises a voltage detection unit and an inductance resistance series pull-down unit;
the voltage detection unit is used for detecting level change on a second differential signal line pair of the Ethernet interface so as to detect whether the Ethernet interface has access of a demultiplexing device through the level change;
the inductive resistor series pull-down unit is used for changing the level of the second differential signal line pair when the Ethernet interface is accessed by a demultiplexing device.
Further, the detection module further comprises a capacitive isolation unit; the capacitance isolation unit is connected between the network port transformer and the Ethernet interface; the capacitance isolation unit is used for isolating signals.
In order to solve the above technical problem, an embodiment of the present invention further provides a UART and ethernet demultiplexing apparatus, where the demultiplexing apparatus includes a first ethernet interface, a demultiplexing module, a second ethernet interface, and a UART interface;
the first Ethernet interface is used for connecting and communicating with an Ethernet interface of the Ethernet multiplexing device through a network cable and a UART;
the demultiplexing module is used for separating the multiplexed signals when receiving the multiplexed signals sent by the multiplexing device, sending the separated Ethernet signals to the second Ethernet interface, and sending the separated UART signals to the UART interface.
Further, the demultiplexing module comprises a decoupling unit and a signal transformer;
the decoupling unit is used for decoupling the Ethernet signals in the multiplexing signals;
the signal transformer is used for carrying out voltage conversion on the decoupled Ethernet signal and sending the voltage-converted Ethernet signal to the second Ethernet interface.
Furthermore, the demultiplexing module further comprises an inductive resistor series pull-up unit;
the inductive resistor is connected in series with the pull-up unit and used for enabling the level of the second differential signal line pair of the Ethernet interface of the multiplexing device to change when the demultiplexing device is connected into the multiplexing device.
Further, the demultiplexing module further comprises a capacitive isolation unit; the capacitive isolation unit is connected between the first Ethernet interface and the signal transformer; the capacitance isolation unit is used for isolating signals.
Compared with the prior art, the UART and ethernet multiplexing device and the demultiplexing device provided by the embodiments of the present invention multiplex UART signals onto ethernet signal lines through the multiplexing device to transmit the UART signals to the demultiplexing device through the ethernet interface, and perform signal separation on the multiplexing and possibility transmitted by the multiplexing device through the demultiplexing device to output the separated ethernet signals and UART signals respectively, so that the efficiency of problem location test of network equipment can be improved, the use is convenient, and the network equipment is not damaged.
Drawings
FIG. 1 is a schematic structural diagram of a preferred embodiment of a UART/Ethernet multiplexing apparatus according to the present invention;
FIG. 2 is a schematic structural diagram of another preferred embodiment of a UART/Ethernet multiplexing apparatus according to the present invention;
FIG. 3 is a schematic structural diagram of a preferred embodiment of a UART and Ethernet demultiplexing device according to the present invention;
fig. 4 is a schematic structural diagram of another preferred embodiment of the UART and ethernet demultiplexing device according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without any inventive step, are within the scope of the present invention.
An embodiment of the present invention provides a UART and ethernet multiplexing apparatus, and as shown in fig. 1, is a schematic structural diagram of a preferred embodiment of the UART and ethernet multiplexing apparatus provided in the present invention, the multiplexing apparatus includes a control module 100, a multiplexing module 200, a detection module 300, and an ethernet interface 400;
the detection module 300 is configured to detect whether the ethernet interface 400 has a UART and an ethernet demultiplexing apparatus accessing thereto; the detection module 300 is further configured to generate a corresponding trigger signal and send the trigger signal to the control module 100 when detecting that the ethernet interface 400 has the access of the demultiplexing device;
the control module 100 is configured to generate a corresponding enable signal and send the enable signal to the multiplexing module 200 when receiving the trigger signal;
the multiplexing module 200 is configured to multiplex the UART signal onto an ethernet signal line when receiving the enable signal, so as to send the UART signal to the demultiplexing apparatus through the ethernet interface 400.
Specifically, the control module is connected with the Ethernet interface through the multiplexing module, and the control module is also connected with the Ethernet interface through the detection module; the detection module detects whether the Ethernet interface has a demultiplexing device (namely UART and the Ethernet demultiplexing device) to be accessed, and when the detection module does not detect that the Ethernet interface has the demultiplexing device to be inserted, the multiplexing module does not work; when the detection module detects that the Ethernet interface is inserted with the demultiplexing device, generating a corresponding trigger signal and sending the trigger signal to the control module; after receiving the trigger signal sent by the detection module, the control module generates a corresponding enable signal and sends the enable signal to the multiplexing module so as to enable the multiplexing module; the multiplexing module starts to work after receiving the enabling signal sent by the control module, and multiplexes the UART signal to the Ethernet signal line so as to send the UART signal to the demultiplexing device accessed to the multiplexing device through the Ethernet interface for corresponding processing, at the moment, at least the UART signal is transmitted on the Ethernet signal line, and if the Ethernet signal exists, the UART signal and the Ethernet signal are transmitted at the same time, so that multiplexing of the UART and the Ethernet is realized.
It should be noted that, the UART signal operates in a low frequency band (lower than 1MHz), and the ethernet signal operates in a high frequency band (1MHz to 125MHz), so that the simultaneous transmission of the two signals can be realized on the same link by using a frequency multiplexing method.
The multiplexing device can be applied to various network devices, particularly network devices supporting a UART interface and an Ethernet interface, such as a wireless router, when the multiplexing device is applied to the wireless router, the multiplexing device can be arranged in the wireless router, a control module of the multiplexing device is a CPU of the wireless router, an Ethernet interface of the multiplexing device is an Ethernet interface of the wireless router, and only the multiplexing module and a detection module need to be additionally arranged in the wireless router.
When the wireless router works normally, the Ethernet interface is externally connected with a PC or other APs through a network cable, the detection module does not detect that the Ethernet interface is inserted with a demultiplexing device, the multiplexing module in the wireless router does not work, and only Ethernet signals are transmitted on the network cable; when the Ethernet interface is inserted with the demultiplexing device, the detection module detects the level change on the specific signal line, judges that the demultiplexing device is accessed, and informs the CPU of the wireless router to enable the multiplexing module to work, and at the moment, the network line simultaneously transmits UART signals and Ethernet signals.
The multiplexing device design of wireless router internal integration UART signal and ethernet signal, two kinds of signals of accessible ethernet line simultaneous transmission, the inside multiplexing module of wireless router is when normally working, only export the ethernet signal, after there is demultiplexing device to insert when the outside, multiplexing module just multiplexes the UART signal on the ethernet line, and two kinds of signals are separated out through the demultiplexing device of UART signal and ethernet signal in wireless router outside, when normally using ethernet, can also use the UART mouth to debug the product simultaneously, work such as configuration.
Referring to fig. 2, which is a schematic structural diagram of another preferred embodiment of the UART and ethernet multiplexing apparatus provided in the present invention, the multiplexing module 200 includes a network port transformer 201, a coupling unit 202, and a switch unit 203;
the network port transformer 201 is used for performing voltage conversion on the ethernet signal;
the coupling unit 202 is configured to couple the voltage-converted ethernet signal and send the coupled ethernet signal to the first differential signal line pair of the ethernet interface 400;
the switch unit 203 is configured to multiplex the UART signal onto the first differential signal line pair when receiving the enable signal.
Specifically, in combination with the above embodiment, the control module is connected to the coupling unit through the network port transformer, and the coupling unit is connected to the ethernet interface through the switch unit; when the detection module does not detect that the Ethernet interface is inserted with the demultiplexing device, the switch unit of the multiplexing module does not work; when the detection module detects that the Ethernet interface is inserted with the demultiplexing device, generating a corresponding trigger signal and sending the trigger signal to the control module; the control module generates a corresponding enabling signal after receiving the trigger signal sent by the detection module, and sends the enabling signal to the switch unit so as to enable the switch unit; the switch unit starts to work after receiving the enabling signal sent by the control module, and multiplexes the UART signal to a first differential signal line pair (any pair of differential signal lines) in the Ethernet differential signal line so as to send the UART signal to a demultiplexing device accessed to the multiplexing device through an Ethernet interface for corresponding processing; if the ethernet signal exists, the ethernet signal is subjected to voltage conversion through the network port transformer, the voltage-converted ethernet signal is coupled through the coupling unit, and the coupled ethernet signal is sent to the first differential signal line pair, at this time, the UART signal and the ethernet signal are respectively coupled to the first differential signal line pair, so that the UART signal and the ethernet signal are simultaneously sent to the demultiplexing device of the access multiplexing device through the ethernet interface for corresponding processing.
As a modification of the above scheme, as shown in fig. 2, the switching unit 203 includes a first switching circuit 2031 and a second switching circuit 2032;
the first switch circuit 2031 is configured to multiplex a UART TX signal of the UART signals onto one signal line of the first differential signal line pair when receiving the enable signal;
the second switch circuit 2032 is configured to multiplex a UART RX signal of the UART signals onto the other signal line of the first differential signal line pair upon receiving the enable signal.
Specifically, with reference to the foregoing embodiment, a first input terminal of the first switch circuit is configured to receive an enable signal, a second input terminal of the first switch circuit is configured to receive a UART TX signal, and an output terminal of the first switch circuit is connected to one signal line of the first differential signal line pair; a first input end of the second switch circuit is used for receiving an enable signal, a second input end of the second switch circuit is used for receiving a UART RX signal, and an output end of the second switch circuit is connected to the other signal wire of the first differential signal wire pair; the switch unit starts to work after receiving an enable signal sent by the control module, and multiplexes the UART signal to a pair of differential signal lines in the Ethernet differential signal line, wherein the first switch circuit multiplexes a UART TX signal in the UART signal to one signal line of the first differential signal line pair, and the second switch circuit multiplexes a UART RX signal in the UART signal to the other signal line of the first differential signal line pair.
As shown in fig. 2, as an improvement of the foregoing scheme, the detecting module 300 is specifically configured to detect whether a demultiplexing device is connected to the ethernet interface 400 through a level change on a second differential signal line pair of the ethernet interface 400.
Specifically, with reference to the foregoing embodiment, when the ethernet interface has the demultiplexing device connected thereto, the level of the second differential signal line pair (any pair of differential signal lines except the first differential signal line pair) of the ethernet interface may change, and when the detection module detects that the level of the second differential signal line pair changes, it is determined that the demultiplexing device has connected to the ethernet interface.
As a modification of the above scheme, as shown in fig. 2, the detection module 300 includes a voltage detection unit 301 and an inductor-resistor series pull-down unit 302;
the voltage detection unit 301 is configured to detect a level change on a second differential signal line pair of the ethernet interface 400, so as to detect whether a demultiplexing device is connected to the ethernet interface 400 through the level change;
the inductor resistor series pull-down unit 302 is configured to change a level of the second differential signal line pair when the ethernet interface 400 is accessed by a demultiplexing device.
Specifically, with reference to the foregoing embodiment, an input end of the voltage detection unit is connected to one signal line of the second differential signal line pair, an input end of the inductor-resistor series pull-down unit is also connected to the signal line, and an output end of the voltage detection unit is connected to the control module; when the Ethernet interface is accessed by a demultiplexing device, the voltage detection unit detects a low level, when the Ethernet interface is accessed by the demultiplexing device, the level on the signal line changes due to the effect of the inductive resistor connected in series with the pull-down unit, and the voltage detection unit detects the level change on the signal line, and generates a corresponding trigger signal and sends the trigger signal to the control module when the demultiplexing device is considered to be accessed to the Ethernet interface.
As a modification of the above scheme, as shown in fig. 2, the detection module 300 further includes a capacitive isolation unit 303; the capacitive isolation unit 303 is connected between the network port transformer 301 and the ethernet interface 400; the capacitive isolation unit 303 is used for isolating signals.
Referring to fig. 3, it is a schematic structural diagram of a preferred embodiment of a UART and ethernet demultiplexing apparatus according to the present invention, where the demultiplexing apparatus includes a first ethernet interface 500, a demultiplexing module 600, a second ethernet interface 700, and a UART interface 800;
the first ethernet interface 500 is used for connecting and communicating with the ethernet interface 400 of the ethernet multiplexing device through the UART via the network cable;
the demultiplexing module 600 is configured to, when receiving the multiplexing signal sent by the multiplexing apparatus, perform signal separation on the multiplexing signal, send the separated ethernet signal to the second ethernet interface 700, and send the separated UART signal to the UART interface 800.
Specifically, the first ethernet interface is connected to the second ethernet interface through the demultiplexing module, and the first ethernet interface is further connected to the UART interface through the demultiplexing module; with reference to the foregoing embodiment, a first ethernet interface of the demultiplexing device is connected to and communicates with an ethernet interface of a multiplexing device (i.e., a UART and an ethernet demultiplexing device) through a network cable, after the demultiplexing device is connected to the ethernet interface of the multiplexing device, the multiplexing device multiplexes UART signals onto a first differential signal line pair of the ethernet signal line, and sends the multiplexed UART signals to the demultiplexing device through the ethernet interface of the multiplexing device, and when a demultiplexing module receives multiplexed signals (including at least UART signals) sent by the multiplexing device through the first ethernet interface, the demultiplexing module performs signal separation on the received multiplexed signals, and when the received multiplexed signals only include UART signals, sends the separated UART signals to the UART interface; when the received multiplexing signal simultaneously comprises the Ethernet signal and the UART signal, the separated Ethernet signal is sent to the second Ethernet interface, and the separated UART signal is sent to the UART interface, so that the two signals are separated by the demultiplexing device.
Referring to fig. 4, which is a schematic structural diagram of another preferred embodiment of the UART and ethernet demultiplexing apparatus according to the present invention, the demultiplexing module 600 includes a decoupling unit 601 and a signal transformer 602;
the decoupling unit 601 is configured to decouple an ethernet signal in the multiplexed signal;
the signal transformer 602 is configured to perform voltage conversion on the decoupled ethernet signal, and send the voltage-converted ethernet signal to the second ethernet interface 700.
Specifically, with reference to the foregoing embodiment, the first ethernet interface is connected to the signal transformer through the decoupling unit, and the decoupling unit is connected to the second ethernet interface through the signal transformer; after the first ethernet interface receives the multiplexed signal sent by the multiplexing device, the multiplexed signal is sent to the demultiplexing module by using the first differential signal line pair (any pair of differential signal lines) in the ethernet differential signal lines, wherein the UART signal in the multiplexed signal can be directly separated from the first differential signal line pair and transmitted to the UART interface, the ethernet signal in the multiplexed signal is subjected to decoupling processing by the capacitive decoupling unit, and then subjected to voltage conversion processing by the signal transformer, the ethernet signal is recovered and transmitted to the second ethernet interface.
As a modification of the above scheme, as shown in fig. 4, the demultiplexing module 600 further includes an inductive-resistive series pull-up unit 603;
the inductor resistor series pull-up unit 603 is configured to change a level on a second differential signal line pair of the ethernet interface 400 of the multiplexing apparatus when the demultiplexing apparatus is connected to the multiplexing apparatus.
Specifically, with reference to the foregoing embodiment, the inductance-resistance series pull-down unit is connected to one signal line of the second differential signal line pair (any pair of differential signal lines except the first differential signal line pair) of the first ethernet interface, when the demultiplexing device is not connected to the ethernet interface of the multiplexing device, the voltage detection unit of the multiplexing device detects a low level, and when the demultiplexing device is connected to the ethernet interface of the multiplexing device, the inductance-resistance series pull-up unit corresponding to the signal line pulls up the level of the signal line, so that the voltage detection unit of the multiplexing device detects a level change on the signal line corresponding to the second differential signal line pair of the multiplexing device, and thus determines that the demultiplexing device has been connected to the ethernet interface of the multiplexing device.
As a modification of the above scheme, as shown in fig. 4, the demultiplexing module 600 further includes a capacitive isolation unit 604; the capacitive isolation unit 604 is connected between the first ethernet interface 500 and the signal transformer 602; the capacitive isolation unit 604 is used for isolating signals.
To sum up, the UART and ethernet multiplexing and demultiplexing device provided by the embodiment of the present invention has the following beneficial effects:
(1) the method has the advantages that large-scale debugging and testing of the network equipment can be facilitated, steps such as shell disassembly and retesting are omitted, problem location testing of the network equipment after problems occur is accelerated, and therefore efficiency of the problem location testing of the network equipment is improved;
(2) the use is convenient, and the network equipment cannot be damaged;
(3) the UART signal is output through the Ethernet interface, which is convenient for the subsequent debugging and collection of network equipment;
(4) the UART signal can be demodulated through the demultiplexing device, and the random change of the configuration of the network equipment by a user can be effectively prevented.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.
Claims (10)
1. A UART and Ethernet multiplexing device is characterized in that the multiplexing device comprises a control module, a multiplexing module, a detection module and an Ethernet interface;
the detection module is used for detecting whether the Ethernet interface has UART access to the Ethernet demultiplexing device; the detection module is further configured to generate a corresponding trigger signal and send the trigger signal to the control module when detecting that the ethernet interface has access to the demultiplexing device;
the control module is used for generating a corresponding enabling signal and sending the enabling signal to the multiplexing module when receiving the trigger signal;
the multiplexing module is used for multiplexing the UART signal to an Ethernet signal line when receiving the enabling signal so as to send the UART signal to the demultiplexing device through the Ethernet interface.
2. The UART and ethernet multiplexing device according to claim 1, wherein the multiplexing module comprises a network port transformer, a coupling unit and a switching unit;
the network port transformer is used for carrying out voltage transformation on the Ethernet signals;
the coupling unit is used for coupling the Ethernet signals after voltage conversion and sending the coupled Ethernet signals to a first differential signal line pair of the Ethernet interface;
the switch unit is used for multiplexing the UART signal to the first differential signal line pair when receiving the enabling signal.
3. The UART and ethernet multiplexing apparatus according to claim 2, wherein the switching unit includes a first switching circuit and a second switching circuit;
the first switch circuit is used for multiplexing a UART TX signal in the UART signal to one signal line of the first differential signal line pair when receiving the enabling signal;
the second switch circuit is configured to multiplex a UART RX signal of the UART signal onto the other signal line of the first differential signal line pair upon receiving the enable signal.
4. The UART and ethernet multiplexing device according to claim 1, wherein the detecting module is specifically configured to detect whether the ethernet interface has the demultiplexing device connected thereto through a level change on a second differential signal line pair of the ethernet interface.
5. The UART and ethernet multiplexing device according to claim 2, wherein the detection module comprises a voltage detection unit and an inductive resistor series pull-down unit;
the voltage detection unit is used for detecting level change on a second differential signal line pair of the Ethernet interface so as to detect whether the Ethernet interface has access of a demultiplexing device through the level change;
the inductive resistor series pull-down unit is used for changing the level of the second differential signal line pair when the Ethernet interface is accessed by a demultiplexing device.
6. The UART and Ethernet multiplexing apparatus of claim 5, wherein the detection module further comprises a capacitive isolation unit; the capacitance isolation unit is connected between the network port transformer and the Ethernet interface; the capacitance isolation unit is used for isolating signals.
7. A UART and Ethernet demultiplexing device is characterized in that the demultiplexing device comprises a first Ethernet interface, a demultiplexing module, a second Ethernet interface and a UART interface;
the first Ethernet interface is used for connecting and communicating with an Ethernet interface of the Ethernet multiplexing device through a network cable and a UART;
the demultiplexing module is used for separating the multiplexed signals when receiving the multiplexed signals sent by the multiplexing device, sending the separated Ethernet signals to the second Ethernet interface, and sending the separated UART signals to the UART interface.
8. The UART and ethernet demultiplexing apparatus according to claim 7, wherein said demultiplexing module comprises a decoupling unit and a signal transformer;
the decoupling unit is used for decoupling the Ethernet signals in the multiplexing signals;
the signal transformer is used for carrying out voltage conversion on the decoupled Ethernet signal and sending the voltage-converted Ethernet signal to the second Ethernet interface.
9. The UART and ethernet demultiplexing device according to claim 7, wherein said demultiplexing module further comprises an inductive resistor series pull-up unit;
the inductive resistor is connected in series with the pull-up unit and used for enabling the level of the second differential signal line pair of the Ethernet interface of the multiplexing device to change when the demultiplexing device is connected into the multiplexing device.
10. The UART and ethernet demultiplexing device according to claim 8, wherein said demultiplexing module further comprises a capacitive isolation unit; the capacitive isolation unit is connected between the first Ethernet interface and the signal transformer; the capacitance isolation unit is used for isolating signals.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910427043.0A CN110247775B (en) | 2019-05-21 | 2019-05-21 | UART and Ethernet multiplexing device and demultiplexing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910427043.0A CN110247775B (en) | 2019-05-21 | 2019-05-21 | UART and Ethernet multiplexing device and demultiplexing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110247775A CN110247775A (en) | 2019-09-17 |
CN110247775B true CN110247775B (en) | 2021-08-06 |
Family
ID=67884762
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910427043.0A Active CN110247775B (en) | 2019-05-21 | 2019-05-21 | UART and Ethernet multiplexing device and demultiplexing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110247775B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203014806U (en) * | 2012-12-31 | 2013-06-19 | 上海斐讯数据通信技术有限公司 | Eoc terminal |
CN104360978A (en) * | 2014-09-23 | 2015-02-18 | 天津三星电子有限公司 | SCART/UART interface multiplexing circuit and electronic equipment adopting same |
CN105898493A (en) * | 2016-03-31 | 2016-08-24 | 乐视控股(北京)有限公司 | Asynchronous receiver transmitter and USB interface multiplexing circuit and circuit board |
CN107870584A (en) * | 2016-09-23 | 2018-04-03 | 迈普通信技术股份有限公司 | A kind of business board input power working state detecting method and machine frame type equipment |
CN109743257A (en) * | 2018-12-21 | 2019-05-10 | 安徽皖通邮电股份有限公司 | A kind of method of backplane interface SMI and UART multiplexing |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100583076C (en) * | 2007-09-21 | 2010-01-20 | 中兴通讯股份有限公司 | Hot plug detection method of mobile memory card |
CN108667824A (en) * | 2018-04-24 | 2018-10-16 | 天津芯海创科技有限公司 | PCS protocol multiplexings chip and method |
-
2019
- 2019-05-21 CN CN201910427043.0A patent/CN110247775B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203014806U (en) * | 2012-12-31 | 2013-06-19 | 上海斐讯数据通信技术有限公司 | Eoc terminal |
CN104360978A (en) * | 2014-09-23 | 2015-02-18 | 天津三星电子有限公司 | SCART/UART interface multiplexing circuit and electronic equipment adopting same |
CN105898493A (en) * | 2016-03-31 | 2016-08-24 | 乐视控股(北京)有限公司 | Asynchronous receiver transmitter and USB interface multiplexing circuit and circuit board |
CN107870584A (en) * | 2016-09-23 | 2018-04-03 | 迈普通信技术股份有限公司 | A kind of business board input power working state detecting method and machine frame type equipment |
CN109743257A (en) * | 2018-12-21 | 2019-05-10 | 安徽皖通邮电股份有限公司 | A kind of method of backplane interface SMI and UART multiplexing |
Also Published As
Publication number | Publication date |
---|---|
CN110247775A (en) | 2019-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4340767B2 (en) | Redundant communication in protective relays | |
CN101782613B (en) | System, device and method for realizing Ethernet power supply function testing | |
CN105491017B (en) | The more equipment multi-protocol analysis method and system of RS485 buses | |
CN101312302B (en) | Parallel signal transmission method of uninterrupted power source | |
CN102648459A (en) | Communication converter for connecting an automation device to a computer and method for controlling the communication converter | |
CN109217900A (en) | A kind of damage instrument and its implementation for site element protection bidirectional redundancy looped network communication test | |
CN100375459C (en) | Method for realizing racing controlling type bus communication adopting 485 interface | |
CN110247775B (en) | UART and Ethernet multiplexing device and demultiplexing device | |
CN101547526B (en) | Fault handling method, wireless device and communication system | |
CN110095687B (en) | Intelligent linkage method and system for fault recording device and traveling wave distance measuring device | |
CN109194391B (en) | Error code detection system and detection method thereof | |
CN208939953U (en) | A kind of bidirectional redundancy looped network communication test damage instrument | |
CN203722640U (en) | Electric loopback light module | |
CN109714235A (en) | A kind of nonpolarity RS485 communication interface and the method for realizing nonpolarity RS485 communication | |
CN109309600A (en) | A kind of detection device and its method for substation network communication failure | |
CN101686083A (en) | Data optical receiver | |
CN201910801U (en) | Circuit for realizing hot-swapping function of optical fiber passage port | |
CN108494889B (en) | Communication circuit based on I2C bus and debugging method | |
CN209911785U (en) | Acquisition gateway | |
CN103678227A (en) | Sharing USB interface circuit and method for USB function and network function | |
CN214412819U (en) | Real-time impedance matching non-polar two-bus fire-fighting telephone system | |
CN210579260U (en) | CPE device | |
CN211702035U (en) | Control system for digital optical fiber repeater | |
CN209913815U (en) | Wireless thing allies oneself with collection system based on lora communication | |
CN113055050B (en) | Wired communication circuit and wired communication 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 |