CN114389968A - Loopback test device of Ethernet port - Google Patents

Loopback test device of Ethernet port Download PDF

Info

Publication number
CN114389968A
CN114389968A CN202111585315.3A CN202111585315A CN114389968A CN 114389968 A CN114389968 A CN 114389968A CN 202111585315 A CN202111585315 A CN 202111585315A CN 114389968 A CN114389968 A CN 114389968A
Authority
CN
China
Prior art keywords
module
signal
capacitor
sfp
circuit
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.)
Pending
Application number
CN202111585315.3A
Other languages
Chinese (zh)
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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202111585315.3A priority Critical patent/CN114389968A/en
Publication of CN114389968A publication Critical patent/CN114389968A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • 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/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Environmental & Geological Engineering (AREA)
  • Dc Digital Transmission (AREA)

Abstract

The embodiment of the application provides a loopback test device of an Ethernet port, and the device comprises: the system comprises an SFP module, a power supply module connected with the SFP module and used for supplying power to the SFP module, and a loopback module respectively connected with a differential signal output end of the SFP module and a differential signal input end of the SFP module; under the condition that the SFP module receives a first optical signal transmitted by an Ethernet port to be tested, the SFP module converts the first optical signal into an electrical signal and outputs the electrical signal to the loopback module through a differential signal output end of the SFP; and under the condition that the differential signal input end of the SFP module receives the electric signal flowing through the loopback module, the SFP module converts the electric signal into a second optical signal and outputs the second optical signal to the Ethernet port to be tested. The embodiment of the application can realize the loopback test aiming at a single Ethernet port, and particularly realizes the loopback test aiming at a single-fiber bidirectional Ethernet port and a gigabit Ethernet port through hardware.

Description

Loopback test device of Ethernet port
Technical Field
The present application relates to the field of communication device testing, and in particular, to a loopback testing device for an ethernet port.
Background
Loopback testing is a test in which a signal from a communication device is returned (looped back) to its place, which is a way to decide whether the device is functioning properly or to determine a failed node in the network. The ethernet port is a common communication port in communication equipment, and is especially important in loopback testing.
At present, for a dual-fiber ethernet port and an 10/100-mega ethernet port, because the transceiving channels are two different transmission channels, the loopback test can be performed only by shorting the two different transmission channels through hardware. As shown in fig. 1, 10/100-mega ethernet ports of communication equipment are connected with 10/100-mega ethernet ports through RJ45 self-loop heads, and the transceiving channels in 10/100-mega ethernet ports are short-circuited.
However, with the development of communication networks, the circuit bandwidth gradually increases, the speed and the form of the device port are more and more abundant, a single-fiber bidirectional ethernet port and a 1000-mega ethernet port gradually appear, and a transceiving channel in the ports occupies the same transmission channel, so that a loopback test cannot be realized through hardware for the ports.
Disclosure of Invention
The embodiment of the application provides a loopback test device of an Ethernet port, which is used for at least solving the technical problem that loopback tests cannot be realized through hardware because the Ethernet port of the same transmission channel is occupied by a transceiving channel in the prior art.
The application provides a loopback testing arrangement of ethernet port, the device includes: an SFP (Small Form-factor plug) module, a power supply module connected with the SFP module and used for supplying power to the SFP module, and a loopback module respectively connected with a differential signal output end of the SFP module and a differential signal input end of the SFP module;
under the condition that the SFP module receives a first optical signal transmitted by an Ethernet port to be tested, the SFP module converts the first optical signal into an electrical signal and outputs the electrical signal to the loopback module through a differential signal output end of the SFP;
and under the condition that the differential signal input end of the SFP module receives the electric signal flowing through the loopback module, the SFP module converts the electric signal into a second optical signal and outputs the second optical signal to the Ethernet port to be tested.
Optionally, the differential signal output terminal includes: signal output and signal opposition output, the difference signal input includes: a signal input terminal and a signal inverting input terminal;
the loopback module comprises: the first circuit is used for conducting the signal output end and the signal input end, and the second circuit is used for conducting the signal inverting output end and the signal inverting input end.
Optionally, the first circuit includes a first wire having a first end connected to the signal output end and a second end connected to the signal input end; the second circuit comprises a second wire, wherein the first end of the second wire is connected with the signal inverting output end, and the second end of the second wire is connected with the signal inverting input end.
Optionally, the first circuit includes a first resistor for overvoltage protection, a first terminal of which is connected to the signal output terminal, and a second terminal of which is connected to the signal input terminal; the second circuit comprises a second resistor, the first end of the second resistor is connected with the signal inverting output end, and the second end of the second resistor is connected with the signal inverting input end and used for overvoltage protection.
Optionally, the first circuit includes a first capacitor having a first terminal connected to the signal output terminal and a second terminal connected to the signal input terminal for overcurrent protection; the second circuit comprises a second capacitor, a first end of the second capacitor is connected with the signal inverting output end, and a second end of the second capacitor is connected with the signal inverting input end and used for overcurrent protection.
Optionally, the apparatus further includes an SFP slot for plugging the SFP module, and the SFP module is disposed in the SFP slot.
Optionally, the power supply module comprises: the power supply module comprises a power plug used for connecting a first peripheral power supply, an overcurrent protection circuit connected with the power plug, an overvoltage protection circuit connected with the overcurrent protection circuit, an anti-reverse connection protection circuit connected with the overvoltage protection circuit and a voltage stabilizing circuit connected with the anti-reverse connection protection circuit, wherein the voltage stabilizing circuit is connected with the SFP module.
Optionally, the power supply module includes a third circuit and a fourth circuit connected to a second external power supply;
the third circuit is used for filtering the electric energy output by the second external power supply and outputting the filtered electric energy to a transmitting part power supply end of the SFP module and a receiving part power supply end of the SFP module;
the fourth circuit is used for pulling up the voltage of the electric energy output by the second external power supply to a target voltage, and outputting the electric energy at the target voltage to an error reporting end of a transmitting part of the SFP module, a signal loss warning end of the SFP module and three module defining ends.
Optionally, the third circuit comprises: the circuit comprises a power distribution switch, a third capacitor, a fourth capacitor, a fifth capacitor, a sixth capacitor, a seventh capacitor, an eighth capacitor, a first magnetic bead and a second magnetic bead;
the input end of the power distribution switch, the enabling end of the power distribution switch and the first end of the third capacitor are all connected with the second external power supply; a grounding end of the distribution switch, a second end of the third capacitor, a first end of the fourth capacitor, a first end of the fifth capacitor, a first end of the sixth capacitor, a first end of the seventh capacitor and a first end of the eighth capacitor are all connected with a grounding wire; the first end of the first magnetic bead, the first end of the second magnetic bead, the second end of the fourth capacitor and the second end of the fifth capacitor are all connected with the output end of the power distribution switch; the second end of the sixth capacitor, the second end of the seventh capacitor and the second end of the first magnetic bead are connected with power supply ends of a receiving part of the SFP module; and the second end of the second magnetic bead and the second end of the eighth capacitor are both connected with the power supply end of the emission part of the SFP module.
Optionally, the SFP module is a gigabit SFP optical module or a gigabit SFP electrical module.
In this embodiment, the loopback test device of the ethernet port may convert the first optical signal transmitted by the ethernet port into an electrical signal through the SFP module. The method comprises the steps of simulating two different transmission channels by using a differential signal output end and a differential signal input end of an SFP module, then realizing loopback of an electric signal on the two transmission channels through a loopback module, converting the looped electric signal into a second optical signal, outputting the second optical signal to an Ethernet port, and finally realizing loopback test of the Ethernet port. The embodiment of the application can realize the loopback test aiming at a single Ethernet port, particularly aiming at the Ethernet port of which the transceiving channels including a single-fiber bidirectional Ethernet port and a gigabit Ethernet port occupy the same transmission channel, and realizes the loopback test through hardware.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a loopback test performed on an 10/100 mega ethernet port of a communication device;
fig. 2 is a schematic structural diagram of a loopback test device of an ethernet port according to an embodiment of the present application;
fig. 3 is one of schematic arrangements of a first circuit and a second circuit provided in an embodiment of the present application;
fig. 4 is a second schematic layout diagram of the first circuit and the second circuit provided in the embodiment of the present application;
fig. 5 is a third schematic layout diagram of the first circuit and the second circuit provided in the embodiment of the present application;
fig. 6 is a schematic circuit diagram of a power supply module according to an embodiment of the present disclosure;
FIG. 7 is a schematic circuit diagram of a voltage regulator circuit according to an embodiment of the present application;
fig. 8 is a second schematic circuit diagram of a power supply module according to an embodiment of the present disclosure;
fig. 9 is a schematic step diagram of a loopback test method provided in an embodiment of the present application;
fig. 10 is a block diagram of a loopback test device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present application, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Referring to fig. 2, an embodiment of the present application provides a loopback test device for an ethernet port, where the loopback test device for the ethernet port includes:
the SFP module 201, the power supply module 202 connected to the SFP module 201 and used for supplying power to the SFP module 201, and the loopback module 203 respectively connected to the differential signal output terminal of the SFP module 201 and the differential signal input terminal of the SFP module 201.
Under the condition that the SFP module 201 receives a first optical signal transmitted by an ethernet port to be tested, the SFP module 201 converts the first optical signal into an electrical signal, and outputs the electrical signal to the loopback module 203 through a differential signal output end of the SFP;
under the condition that the differential signal input end of the SFP module 201 receives the electrical signal flowing through the loopback module 203, the SFP module 201 converts the electrical signal into a second optical signal and outputs the second optical signal to the ethernet port to be tested.
It should be noted that the SFP module 201 is an interface device having an optical-to-electrical conversion function, and can convert a received optical signal into an electrical signal, and recover or convert the electrical signal into an optical signal. The ethernet port of the communication device may be connected to the SFP module 201 through a network cable or an optical fiber jumper. The power supply module 202 is used for supplying power to the SFP module 201, so that the SFP module 201 works normally. That is, the power supply module 202 may provide the power required for the SFP module 201 to operate normally. It is understood that the power supply module 202 may be a device that can store power itself, thereby providing the SFP module 201 with power stored itself, but is not limited thereto. The power supply module 202 may also be connected to a peripheral power device, and provide the power of the peripheral power device connected to the power supply module to the SFP module 201.
A portion of the SFP module 201 for converting an optical signal into an electrical signal may be regarded as a receiving portion of the SFP; the differential signal output terminal of the SFP module 201 is a signal output terminal of the receiving portion of the SFP module 201. A portion of the SFP module 201 for converting an electrical signal into an optical signal may be regarded as a transmitting portion of the SFP module 201; the differential signal input terminal of the SFP module 201 is the signal input terminal of the transmitting part of the SFP module 201. The loopback module 203 can implement loopback of the electrical signal, so that when the loopback test device of the ethernet port provided by the present application is used for loopback test, the SFP module 201 in working state can convert the first optical signal into the electrical signal through the receiving part under the condition of receiving the first optical signal transmitted by the signal interface, and then output the electrical signal to the loopback module 203 through the signal output end of the receiving part; after passing through the loop-back module 203, the electrical signal is returned to the SFP module 201 through the signal input terminal of the transmitting part; and finally, the transmitting part converts the electric signal into an optical signal, namely a second optical signal, and outputs the second optical signal to the signal interface.
In this embodiment, the loopback test device of the ethernet port may convert the first optical signal transmitted by the ethernet port into an electrical signal through the SFP module 201. The differential signal output end and the differential signal input end of the SFP module 201 are used for simulating two different transmission channels, then the loopback of the electric signal on the two transmission channels is realized through the loopback module 203, the looped electric signal is converted into a second optical signal and output to the ethernet port, and finally the loopback test of the ethernet port is realized. The embodiment of the application can realize the loopback test aiming at a single Ethernet port, and particularly realizes the loopback test through hardware equipment aiming at the Ethernet port of which the transceiving channels including a single-fiber bidirectional Ethernet port and a gigabit Ethernet port occupy the same transmission channel.
Optionally, the differential signal output terminal comprises: signal output part and signal inverting output part, differential signal input part includes: a signal input terminal and a signal inverting input terminal.
The loopback module comprises: a first circuit for conducting the signal output terminal and the signal input terminal, and a second circuit for conducting the signal inverting output terminal and the signal inverting input terminal.
It should be noted that differential transmission is a technique of transmitting signals on two lines, both of which transmit signals, and the amplitudes of the two signals are the same and the phases are opposite. The differential signal is a signal transmitted in the differential transmission process. The differential signal output end of the SFP module comprises a 12 th pin with the name of RD-and a 13 th pin with the name of RD +, the 13 th pin is a signal output end, and the 12 th pin is a signal inverting output end. The differential signal input end of the SFP module comprises an 18 th pin named as TD + and a 19 th pin named as TD-, wherein the 18 th pin is a signal input end, and the 19 th pin is a signal inverting input end.
It is understood that after the first circuit turns on the signal output terminal and the signal input terminal, and the second circuit turns on the signal inverting output terminal and the signal inverting input terminal, the electrical signal is transmitted by using a differential transmission technique.
In the embodiment of the application, the loopback module switches on the signal output end and the signal input end of the SFP module through the first circuit and switches on the signal inverting output end and the signal inverting input end through the second circuit, so that the loopback of the electrical signal can be realized in a differential transmission mode.
Optionally, the first circuit includes a first wire having a first end connected to the signal output end and a second end connected to the signal input end; the second circuit comprises a second wire of which the first end is connected with the signal inverting output end and the second end is connected with the signal inverting input end.
It should be noted that the first conducting wire and the second conducting wire are both conducting wires, so that the electrical signal output by the signal output end can be transmitted to the signal input end, and the electrical signal output by the signal inverting output end can be transmitted to the signal inverting input end. Preferably, the first conductive line and the second conductive line meet the requirement of two lines of the differential routing, which are equal in length, equal in width, close in proximity, and on the same layer. Specifically, two sections of wires with equal length can be cut from the same wire to serve as a first wire and a second wire, and the first wire and the second wire are arranged on the same layer and close to each other when the first wire and the second wire are arranged. As shown in fig. 3, which is one of the schematic layout diagrams of the first circuit and the second circuit, both ends of a first conductive line 301 are connected to a 13 th pin named RD + and an 18 th pin named TD +, respectively, and both ends of a second conductive line 302 are connected to a 12 th pin named RD-and a 19 th pin named TD-.
In the embodiment of the application, the signal output end is directly connected with the signal input end through a wire, and the signal inverting output end is connected with the signal inverting input end, so that the first circuit and the second circuit can be greatly simplified.
Optionally, the first circuit includes a first resistor for overvoltage protection, the first terminal of which is connected to the signal output terminal, and the second terminal of which is connected to the signal input terminal; the second circuit comprises a second resistor, the first end of which is connected with the signal inverting output end and the second end of which is connected with the signal inverting input end and is used for overvoltage protection.
It should be noted that, in the case of conducting the signal output terminal and the signal input terminal and conducting the signal inverting output terminal and the signal inverting input terminal, the SFP module may have an excessive voltage, and the excessive voltage of the SFP module may easily cause many problems, and may even damage the SFP module seriously. Therefore, when the signal output end and the signal input end are conducted and the signal inverting output end and the signal inverting input end are conducted, the overvoltage protection of the SFP module can be realized through the first circuit and the second circuit. Specifically, two resistors are respectively connected in series in the first circuit and the second circuit, so that the two resistors have an overvoltage protection function, and perform overvoltage protection on the SFP module. As shown in fig. 4, the second schematic layout diagram of the first circuit and the second circuit is shown, wherein two ends of the first resistor R1 are respectively connected to the 13 th pin named RD + and the 18 th pin named TD +, and two ends of the second resistor R2 are respectively connected to the 12 th pin named RD-and the 19 th pin named TD-. Preferably, the first resistor R1 and the second resistor R2 have equal resistance values.
In the embodiment of the application, the signal output end is connected with the signal input end through the resistor, and the signal inverting output end is connected with the signal inverting input end, so that the first circuit and the second circuit are simplified, and meanwhile, the overvoltage protection of the SFP module can be further realized.
Optionally, the first circuit includes a first capacitor having a first terminal connected to the signal output terminal and a second terminal connected to the signal input terminal for overcurrent protection; the second circuit comprises a second capacitor, the first end of the second capacitor is connected with the signal inverting output end, and the second end of the second capacitor is connected with the signal inverting input end and used for overcurrent protection.
It should be noted that, in the case of conducting the signal output terminal and the signal input terminal and conducting the signal inverting output terminal and the signal inverting input terminal, the SFP module may have an excessive current, and the excessive current of the SFP module may easily cause many problems, and may even damage the SFP module seriously. Therefore, when the signal output end and the signal input end are conducted and the signal inverting output end and the signal inverting input end are conducted, multi-current protection of the SFP module can be achieved through the first circuit and the second circuit. Specifically, two capacitors are respectively connected in series in the first circuit and the second circuit, so that the two capacitors have an overcurrent protection function, and perform overcurrent protection on the SFP module. As shown in fig. 5, the third schematic layout diagram of the first circuit and the second circuit is shown, wherein two ends of the first capacitor C1 are respectively connected to the 13 th pin named RD + and the 18 th pin named TD +, and two ends of the second capacitor RC2 are respectively connected to the 12 th pin named RD-and the 19 th pin named TD-. Preferably, the capacitance values of the first capacitor C1 and the second capacitor C2 are equal.
In the embodiment of the application, the signal output end is connected with the signal input end through the capacitor, and the signal inverting output end is connected with the signal inverting input end, so that the overcurrent protection of the SFP module can be further realized while the first circuit and the second circuit are simplified.
Optionally, the apparatus further includes an SFP slot for plugging an SFP module, and the SFP module is disposed in the SFP slot.
It should be noted that the SFP slots are shaped to accommodate SFP modules, so that SFP modules can be plugged into and unplugged from the SFP slots. If the SFP module in the loopback test device of the Ethernet port is damaged, the SFP module can be directly pulled out and then the normal SFP module is plugged again, thereby realizing the independent replacement of the SFP module. Preferably, each pin of the SFP slot corresponding to the SFP module is provided with a connection end, and the power supply module and the loopback module are connected with the SFP module through the connection end of the SFP slot.
In the embodiment of the application, the SFP module can be plugged on the SFP slot, so that the SFP module can be replaced independently.
Optionally, the power supply module comprises: the power supply module comprises a power plug used for connecting a first external power supply, an overcurrent protection circuit connected with the power plug, an overvoltage protection circuit connected with the overcurrent protection circuit, an anti-reverse connection protection circuit connected with the overvoltage protection circuit and a voltage stabilizing circuit connected with the anti-reverse connection protection circuit, wherein the voltage stabilizing circuit is connected with the SFP module.
It should be noted that the power plug may be connected to the first peripheral power source, i.e. connected to the power provided by the first peripheral power source. Preferably, the power plug includes three male connectors, and the three male connectors are respectively connected to the zero line, the live line and the ground line of the first external power source. The overcurrent protection circuit is used for cutting off the power supply of the first peripheral power supply to the power supply module when the current in the power supply module is overlarge, so that the overlarge current in the power supply module is avoided. Similarly, the overvoltage protection circuit is used for avoiding the overlarge voltage in the power supply module; the reverse connection prevention protection circuit is used for preventing the power supply module from being damaged by reverse connection of the power plug; the voltage stabilizing circuit is used for stabilizing the received electric energy to a target voltage value with a small voltage value floating range, so that the voltage stabilizing circuit outputs a stable voltage signal and provides the stable voltage signal to the SFP module to enable the SFP module to work normally.
The power plug, the overcurrent protection circuit, the overvoltage protection circuit, the reverse connection prevention circuit, and the voltage stabilizing circuit in the power supply module will be described below with a specific circuit structure. As shown in fig. 6 and 7, the circuit structure of the power supply module is schematically illustrated. The power supply module in fig. 6 includes: a power plug U1, a voltage regulator circuit U2, a fuse F1, a MOS Transistor (Metal-Oxide-Semiconductor Field Effect Transistor) Q1, a discharge tube D1, a first light emitting diode D2, a third resistor R3, a fourth resistor R4, a ninth capacitor C9, a tenth capacitor C10, an eleventh capacitor C11, a twelfth capacitor C12, a thirteenth capacitor C13, and a fourteenth capacitor C14;
wherein, a first pin (direct current pin) of the power plug U1 is connected with a first end of the fuse F1; two grounding pins of a power plug U1, a first end of a ninth capacitor, a first end of a tenth capacitor C10, a first end of an eleventh capacitor C11, a first end of a twelfth capacitor C12, a first end of a thirteenth capacitor C13, a first end of a fourteenth capacitor C14, a first end of a discharge tube D1, a first end of a first light emitting diode D2 and a first end of a third resistor R3 are all connected with a grounding wire; a fifth pin, a sixth pin, a seventh pin, an eighth pin of the MOS transistor Q1, a second end of a ninth capacitor, a second end of a tenth capacitor C10, a second end of an eleventh capacitor C11, and a second end of the discharge tube D1 are all connected to a second end of the fuse F1; a second pin and a fourth pin of the MOS transistor Q1 are both connected with a second end of the third resistor R3; the first pin and the third pin of the MOS transistor Q1, the EN (enable) pin and the VIN (voltage input) pin of the voltage stabilizing circuit U2 are both connected with the second end of the twelfth capacitor C12; a VOUT (voltage output) pin of the voltage stabilizing circuit U2, a second end of the thirteenth capacitor C13 and a second end of the fourteenth capacitor C14 are connected with a first end of a fourth resistor R4; a second terminal of the fourth resistor R4 is connected to a second terminal of the first light emitting diode D2.
It is understood that the fuse F1, as an overcurrent protection circuit, may be used for overcurrent protection; discharge tube D1 acts as an overvoltage protection circuit, which can be used for overvoltage protection; the MOS tube Q1 is used as an anti-reverse connection protection circuit and can be used for anti-reverse connection protection; the voltage stabilizing circuit U2 is used for stabilizing voltage; the first light emitting diode D2 acts as a power indicator light. And the rest capacitors and resistors in the power supply module are used for matching with the circuits to realize the protection function of the circuits.
Referring to fig. 7 for a specific circuit structure of the regulator circuit U2 in fig. 6, the regulator circuit includes: the voltage stabilizing chip is U3, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a voltage reducing inductor I1, a fifteenth capacitor C15, a sixteenth capacitor C16, a seventeenth capacitor C17, an eighteenth capacitor C18, a nineteenth capacitor C19 and a twentieth capacitor C20.
The sixth pin, the seventh pin, the eighth pin, the fifteenth pin and the sixteenth pin of the voltage stabilizing chip U3, the first end of the fifteenth capacitor C15, the first end of the sixteenth capacitor C16, the first end of the seventeenth capacitor C17, the first end of the eighteenth capacitor C18, the first end of the nineteenth capacitor C19 and the first end of the twentieth capacitor C20 are all connected with the ground line; a first end of the fifth resistor R5 is connected with a second end of the fifteenth capacitor C15, and the first end and the second end are jointly used as a VOUT pin of the voltage stabilizing circuit; the second end of the fifth resistor R5, the first end of the sixth resistor R6, the first end of the seventh resistor R7 and the first end of the buck inductor I1 are all connected with the fourteenth pin of the voltage stabilizing chip U3; a second end of the sixth resistor R6 is connected to a fourth pin of the voltage regulator chip U3, and collectively serves as a PGOOD pin of the voltage regulator circuit; a first pin, a second pin and a third pin of the voltage stabilizing chip U3 are all connected with a second end of the voltage reducing inductor I1; a second end of the seventh resistor R7, a second end of the eighth resistor R8 and a second end of the ninth resistor R9 are all connected with a fifth pin of the voltage stabilizing chip U3; a thirteenth pin of the voltage stabilizing chip U3 is used as an EN pin of the voltage stabilizing circuit; a second end of the seventeenth capacitor C17 and a second end of the eighteenth capacitor C18 are both connected with a ninth pin of the voltage stabilizing chip U3; the tenth pin, the eleventh pin and the twelfth pin of the voltage stabilizing chip U3, and the second end of the nineteenth capacitor C19 are all connected with the second end of the twentieth capacitor C20, and are collectively used as the VIN pin of the voltage stabilizing circuit. It can be understood that the fifth resistor R5 to the ninth resistor R9, as voltage stabilization feedback resistors, can be used to control a stable output power supply; and the sixteenth capacitor C16 and the twentieth capacitor C20 are used as power supply stabilizing capacitors. TPS62130 can be used as a voltage stabilizing chip U3, so that high power conversion efficiency is ensured while voltage stability is ensured, heat generation is low, and the long-term stable work can be realized.
In the embodiment of the application, the power supply module can provide electric energy for the SFP module, and can also realize circuit protection for the power supply module and stabilize the electric energy of the SFP module.
Optionally, the power supply module includes a third circuit and a fourth circuit connected to a second external power supply;
the third circuit is used for filtering electric energy output by the second external power supply and outputting the filtered electric energy to a power supply end of a transmitting part of the SFP module and a power supply end of a receiving part of the SFP module;
the fourth circuit is used for pulling up the voltage of the electric energy output by the second external power supply to a target voltage, and outputting the electric energy at the target voltage to an error reporting end of a transmitting part of the SFP module, a signal loss warning end of the SFP module and a definition end of the three modules.
It should be noted that the second external power source is an external power source, and preferably, the third circuit can be connected to the electric energy output by VCC in fig. 6. The power supply end of the transmitting part of the SFP module is the sixteenth pin named VccT, and the power supply end of the receiving part of the SFP module is the fifteenth pin named VccR.
The fourth circuit clamps the voltage at the target voltage after pulling the voltage up to the target voltage. The fault reporting end of the transmitting part of the SFP module is a second pin named as TXFault, the signal LOSs warning end of the SFP module is an eighth pin named as LOS, and the definition ends of the three modules are a sixth pin, a fifth pin and a fourth pin named as MOD-DEF (0), MOD-DEF (1) and MOD-DEF (2). Specifically, as shown in fig. 8, the function of the fourth circuit is realized by a set of pull-up resistors. Namely, the fourth circuit includes: and a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13 and a fourteenth resistor R14 which are respectively connected with the second pin, the fourth pin, the fifth pin, the sixth pin and the eighth pin of the SFP module, and a second light-emitting diode D3 is further connected in series with the thirteenth resistor R13. Wherein, the second light emitting diode D3 can be used as an operation indicator light of the SFP module. Preferably, the resistances of the resistors in fig. 8 are the same, and may be 4700 ohms, but is not limited thereto.
In the embodiment of the application, through the processing of processing the third circuit and the fourth circuit, the same voltage can be used for ensuring the normal work of the SFP module, the filtering of power supply electric energy is realized, and the influence caused by ripples is reduced.
With continued reference to fig. 8, optionally, the third circuit comprises: a distribution switch U4, a third capacitor C3, a fourth capacitor C4, a fifth capacitor C5, a sixth capacitor C6, a seventh capacitor C7, an eighth capacitor C8, a first magnetic bead B1 and a second magnetic bead B2;
the input end of the distribution switch U4, the enable end of the distribution switch U4 and the first end of the third capacitor C3 are connected with a second external power supply; the ground terminal of the distribution switch U4, the second terminal of the third capacitor C3, the first terminal of the fourth capacitor C4, the first terminal of the fifth capacitor C5, the first terminal of the sixth capacitor C6, the first terminal of the seventh capacitor C7 and the first terminal of the eighth capacitor C8 are all connected with the ground wire; the first end of the first magnetic bead B1, the first end of the second magnetic bead B2, the second end of the fourth capacitor C4 and the second end of the fifth capacitor C5 are all connected with the output end of the distribution switch U4; the second end of the sixth capacitor C6, the second end of the seventh capacitor C7 and the second end of the first magnetic bead B1 are all connected with the power supply end of the receiving part of the SFP module; and the second end of the second magnetic bead B2 and the second end of the eighth capacitor C8 are both connected with the power supply end of the emission part of the SFP module.
It should be noted that the first bead B1 and the second bead B2 as the power supply beads may be used to reduce the ripple. The third capacitor C3, the fourth capacitor C4, the fifth capacitor C5, the sixth capacitor C6, the seventh capacitor C7 and the eighth capacitor C8 are all power supply stabilizing capacitors. The first pin of the power distribution switch U4 is an output terminal, the second pin is a ground terminal, the fourth pin is an enable terminal, and the fifth pin is an input terminal. Preferably, the VCC terminal in fig. 8 can be directly connected to the VCC terminal in fig. 6, so as to further improve the performance of the power supply module.
In the embodiment of the application, the ripple in the circuit is reduced through two magnetic beads, so that the filtering function is realized, and the voltage is further stabilized based on each capacitor.
Optionally, the SFP module is a gigabit SFP optical module or a gigabit SFP electrical module.
It should be noted that the SFP module may also be any one of a ten-megabit SFP optical module, a hundred-megabit SFP optical module, a ten-megabit SFP electrical module, and a hundred-megabit SFP electrical module. That is to say, by setting different types of SFP modules, a single-fiber bidirectional ethernet port and a gigabit ethernet port can be connected, and loopback tests of different ethernet ports are realized.
In the embodiment of the application, the gigabit SFP optical module and the gigabit SFP electrical module are adopted to perform loopback test on the gigabit ethernet port and the single-fiber bidirectional ethernet port.
Optionally, the loopback testing device of the ethernet port further includes a housing, and a PCB (Printed Circuit Board) disposed in the housing; the SFP module, the power supply module and the loopback module are all arranged on the PCB.
It should be noted that the SFP modules may extend outside the housing to facilitate replacement.
In the embodiment of the application, the PCB is used for realizing the connection of all modules, so that the whole volume of the loopback testing device of the Ethernet port is small, and the loopback testing device is convenient to carry.
As shown in fig. 9, an embodiment of the present application provides a loopback test method, which is applied to the loopback test device of the ethernet port provided in the foregoing embodiments of the present invention, and the method includes:
step 901: and when the SFP module receives the first optical signal transmitted by the Ethernet port, the first optical signal is converted into an electrical signal.
In this step, the receiving part in the SFP module may be used to realize the conversion of the optical signal into the electrical signal.
Step 902: and outputting the electric signal to the loopback module through a differential signal output end of the SFP module.
Step 903: the electrical signal flowing through the loopback module is received through a differential signal input of the SFP module.
Step 904: and converting the electrical signal into a second optical signal and transmitting the second optical signal to the Ethernet port.
In this step, the conversion of the electrical signal to the optical signal may be achieved by using the transmitting portion in the SFP module.
In this embodiment, the first optical signal transmitted by the ethernet port may be converted into an electrical signal. The method comprises the steps of simulating two different transmission channels by using a differential signal output end and a differential signal input end of an SFP module, then realizing loopback of an electric signal on the two transmission channels through a loopback module, converting the looped electric signal into a second optical signal, outputting the second optical signal to an Ethernet port, and finally realizing loopback test of the Ethernet port. The embodiment of the application can realize the loopback test aiming at a single Ethernet port, particularly aiming at the Ethernet port of which the transceiving channels including a single-fiber bidirectional Ethernet port and a gigabit Ethernet port occupy the same transmission channel, and realizes the loopback test through hardware.
Referring to fig. 10, an embodiment of the present application further provides a loopback testing device, including:
a first conversion module 1001, configured to convert the first optical signal into an electrical signal when the SFP module receives the first optical signal transmitted by the ethernet port.
The output module 1002 is configured to output the electrical signal to the loopback module through the differential signal output terminal of the SFP module.
A receiving module 1003, configured to receive the electrical signal flowing through the loopback module through the differential signal input terminal of the SFP module.
The second conversion module 1004 is configured to convert the electrical signal into a second optical signal and transmit the second optical signal to the ethernet port.
The loopback test device provided in the embodiment of the present application can implement each process implemented by the loopback test method in the method embodiment of fig. 9, and is not described here again to avoid repetition.
In the embodiment of the present application, the first optical signal transmitted by the ethernet port may be converted into an electrical signal. The method comprises the steps of simulating two different transmission channels by using a differential signal output end and a differential signal input end of an SFP module, then realizing loopback of an electric signal on the two transmission channels through a loopback module, converting the looped electric signal into a second optical signal, outputting the second optical signal to an Ethernet port, and finally realizing loopback test of the Ethernet port. The embodiment of the application can realize the loopback test aiming at a single Ethernet port, particularly aiming at the Ethernet port of which the transceiving channels including a single-fiber bidirectional Ethernet port and a gigabit Ethernet port occupy the same transmission channel, and realizes the loopback test through hardware.
On the other hand, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a computer program that is stored on the memory and is executable on the processor, and when the processor executes the program, the loopback test method provided in each of the above application embodiments is implemented.
In still another aspect, embodiments of the present application further provide a readable storage medium, where instructions in the readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the loopback test method provided in each of the above application embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. An apparatus for loopback testing of an ethernet port, the apparatus comprising: the small pluggable SFP module, the power supply module which is connected with the SFP module and is used for supplying power to the SFP module, and the loopback module which is respectively connected with the differential signal output end of the SFP module and the differential signal input end of the SFP module;
under the condition that the SFP module receives a first optical signal transmitted by an Ethernet port to be tested, the SFP module converts the first optical signal into an electrical signal and outputs the electrical signal to the loopback module through a differential signal output end of the SFP;
and under the condition that the differential signal input end of the SFP module receives the electric signal flowing through the loopback module, the SFP module converts the electric signal into a second optical signal and outputs the second optical signal to the Ethernet port to be tested.
2. The apparatus of claim 1, wherein the differential signal output comprises: signal output and signal opposition output, the difference signal input includes: a signal input terminal and a signal inverting input terminal;
the loopback module comprises: the first circuit is used for conducting the signal output end and the signal input end, and the second circuit is used for conducting the signal inverting output end and the signal inverting input end.
3. The apparatus of claim 2, wherein the first circuit comprises a first wire having a first end connected to the signal output and a second end connected to the signal input; the second circuit comprises a second wire, wherein the first end of the second wire is connected with the signal inverting output end, and the second end of the second wire is connected with the signal inverting input end.
4. The apparatus of claim 2, wherein the first circuit comprises a first resistor for overvoltage protection connected at a first end to the signal output and at a second end to the signal input; the second circuit comprises a second resistor, the first end of the second resistor is connected with the signal inverting output end, and the second end of the second resistor is connected with the signal inverting input end and used for overvoltage protection.
5. The apparatus of claim 2, wherein the first circuit comprises a first capacitor having a first terminal connected to the signal output terminal and a second terminal connected to the signal input terminal for over-current protection; the second circuit comprises a second capacitor, a first end of the second capacitor is connected with the signal inverting output end, and a second end of the second capacitor is connected with the signal inverting input end and used for overcurrent protection.
6. The apparatus of claim 1, further comprising an SFP slot for plugging the SFP module, the SFP module being disposed within the SFP slot.
7. The apparatus of claim 1, wherein the power module comprises: the power supply module comprises a power plug used for connecting a first peripheral power supply, an overcurrent protection circuit connected with the power plug, an overvoltage protection circuit connected with the overcurrent protection circuit, an anti-reverse connection protection circuit connected with the overvoltage protection circuit and a voltage stabilizing circuit connected with the anti-reverse connection protection circuit, wherein the voltage stabilizing circuit is connected with the SFP module.
8. The apparatus of claim 1, wherein the power module comprises a third circuit and a fourth circuit coupled to a second external power source;
the third circuit is used for filtering the electric energy output by the second external power supply and outputting the filtered electric energy to a transmitting part power supply end of the SFP module and a receiving part power supply end of the SFP module;
the fourth circuit is used for pulling up the voltage of the electric energy output by the second external power supply to a target voltage, and outputting the electric energy at the target voltage to an error reporting end of a transmitting part of the SFP module, a signal loss warning end of the SFP module and three module defining ends.
9. The apparatus of claim 8, wherein the third circuit comprises: the circuit comprises a power distribution switch, a third capacitor, a fourth capacitor, a fifth capacitor, a sixth capacitor, a seventh capacitor, an eighth capacitor, a first magnetic bead and a second magnetic bead;
the input end of the power distribution switch, the enabling end of the power distribution switch and the first end of the third capacitor are all connected with the second external power supply; a grounding end of the distribution switch, a second end of the third capacitor, a first end of the fourth capacitor, a first end of the fifth capacitor, a first end of the sixth capacitor, a first end of the seventh capacitor and a first end of the eighth capacitor are all connected with a grounding wire; the first end of the first magnetic bead, the first end of the second magnetic bead, the second end of the fourth capacitor and the second end of the fifth capacitor are all connected with the output end of the power distribution switch; the second end of the sixth capacitor, the second end of the seventh capacitor and the second end of the first magnetic bead are connected with power supply ends of a receiving part of the SFP module; and the second end of the second magnetic bead and the second end of the eighth capacitor are both connected with the power supply end of the emission part of the SFP module.
10. The apparatus of claim 1, wherein the SFP module is a gigabit SFP optical module or a gigabit SFP electrical module.
CN202111585315.3A 2021-12-22 2021-12-22 Loopback test device of Ethernet port Pending CN114389968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111585315.3A CN114389968A (en) 2021-12-22 2021-12-22 Loopback test device of Ethernet port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111585315.3A CN114389968A (en) 2021-12-22 2021-12-22 Loopback test device of Ethernet port

Publications (1)

Publication Number Publication Date
CN114389968A true CN114389968A (en) 2022-04-22

Family

ID=81197617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111585315.3A Pending CN114389968A (en) 2021-12-22 2021-12-22 Loopback test device of Ethernet port

Country Status (1)

Country Link
CN (1) CN114389968A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159490A (en) * 2007-10-25 2008-04-09 中兴通讯股份有限公司 SFP self-loop light device
US20090028574A1 (en) * 2007-07-23 2009-01-29 Gerald L. Dybsetter Self-testing optical transceiver
US20090214221A1 (en) * 2008-02-21 2009-08-27 Wen Li Intelligent optical systems and methods for optical-layer management
US20110134988A1 (en) * 2009-12-04 2011-06-09 Cisco Technology, Inc. Programmable sfp or sfp+ module
KR20140061003A (en) * 2012-11-13 2014-05-21 주식회사 케이티 Apparatus and method to loop optical signal and, connector

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090028574A1 (en) * 2007-07-23 2009-01-29 Gerald L. Dybsetter Self-testing optical transceiver
CN101159490A (en) * 2007-10-25 2008-04-09 中兴通讯股份有限公司 SFP self-loop light device
US20090214221A1 (en) * 2008-02-21 2009-08-27 Wen Li Intelligent optical systems and methods for optical-layer management
US20110134988A1 (en) * 2009-12-04 2011-06-09 Cisco Technology, Inc. Programmable sfp or sfp+ module
KR20140061003A (en) * 2012-11-13 2014-05-21 주식회사 케이티 Apparatus and method to loop optical signal and, connector

Similar Documents

Publication Publication Date Title
EP2235854B1 (en) Adapter, arrangement and method
US20120071011A1 (en) Adapter for high-speed ethernet
EA010328B1 (en) Arrangement of daisy chained inductive couplers for data communication
US20100005320A1 (en) Protected Midspan Power Sourcing Equipment for Power Over Ethernet Applications
US20130189874A1 (en) Methods for Patch Cord Guidance
CN105959063B (en) Electrical port module
CN114362112B (en) Network device, method of operating the same, and system for providing power
CN104993863A (en) Optical module for network communication equipment test
CN114389968A (en) Loopback test device of Ethernet port
CN112005530A (en) But hot plug's no cable contact switch casing
RU2656095C2 (en) Emc test bench comprising item of equipment under test which is intended to be loaded on board aircraft
CN101762776B (en) Method and device for testing voltage withstanding degree of port
CN213937964U (en) PCB (printed circuit board) compatible with network port and router
CN111131087B (en) Transmission system and signal transmission method for Ethernet physical layer signal
CN207397258U (en) A kind of test nine kinds of needles turns SFP interface circuits
CN208890359U (en) Surge protection device
CN205017322U (en) A interface converting device and 2M line capability test system for 2M line capability test
CN105515611A (en) APF (active power filter) communication system
CN210629498U (en) SFP optical module test board
CN203691416U (en) Lightning protection optical fiber transceiver
CN212568885U (en) Multi-test configuration switching device of bus
CN219780159U (en) Plug-in POE power supply circuit and POE power supply ware
CN212114046U (en) Audio jumper device and duplex socket
CN220289919U (en) SFP slot and electric port self-adaptive circuit
CN219321653U (en) Terminal block

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