A kind of system, device and method of realizing the POE functional testTechnical field
The present invention relates to the ethernet device field tests, relate in particular to and realize system, device and method that the ethernet device with POE function is tested.
Background technology
The traditional ethernet equipment interface only provides the data-signal transmitting function, and related network device also needs power supplied locally except the needs data connect, and to comprehensive wiring, has brought some inconvenience.
Develop rapidly along with the communication technology, there is POE (POE, Power Over Ethernet) the POE equipment of function can be when realizing high-quality communication, for the terminal devices such as Ephone and WLAN AP provide the Remote feeding of following 802.3af and 802.3at standard, eliminated and needed extra socket and the trouble of wiring, both realized also having reduced wiring complexity and the cost of communication facilities to the power supply of Ethernet equipment.
The definition of POE relevant criterion, feeder ear equipment (PSE, Power Sourcing Equipment) allow the network equipment to use the Power-over-Ethernet identical with data path, also need receiving end equipment (PD, Power Device) is managed: detect effective PD simultaneously; Confirm required power grade and the power bracket thereof of PD; And confirm that during powering PD is online etc.
Different POE proving installations, appearred in test for the POE function that facilitates PSE on market, but remain in some shortcomings, and one of them is that batch testing problem to power-supply unit production is not still solved well.Because the use of existing its interface of POE device for testing functions is divided into 2 parts: a part of port is for separating of data-signal and power supply signal, and a part of port is for exporting the data-signal of separation in addition.Such design causes the utilization factor of its port of proving installation low, for the port of test seldom, therefore can't be competent at the batch testing that PSE produces.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of system, device and method of realizing the POE functional test, can carry out batch testing to the ethernet device of producing.
In order to solve the problems of the technologies described above, the invention provides a kind of system that realizes POE (POE) functional test, comprising: tested ethernet device (PSE) and POE device for testing functions, wherein:
Tested PSE, for being connected to the corresponding port of POE device for testing functions by its all ports to be measured by ethernet line;
The POE device for testing functions, being separated by isolating device with electric power signal for the data-signal that will send from the tested PSE of a port input, separated data-signal is connected to another port by another isolating device loopback, as the data-signal received, returns to tested PSE.
Further, described isolating device is transformer;
The differential lines that the POE device for testing functions will be drawn the data-signal of separation by the secondary coil of a transformer is connected to the secondary coil of another transformer to loopback, and is connected to another port by the primary coil of this another transformer.
Further,
The POE device for testing functions is drawn electric power signal by any fixed taps of the primary coil of all transformers, is transferred to the function that receiving end equipment (PD) circuit is realized electric power signal detection, power classification and load draw power.
Further,
Tested PSE initiates to detect to the POE device for testing functions as access device, and, after definite this access device is standard compliant PD and power rank thereof, sends data-signal and electric power signal; For the interface to be measured that sends data-signal and electric power signal and for the interface to be measured that receives data-signal in same VLAN (VLAN) or for different VLAN;
Be connected to the first's port in the POE device for testing functions all of the port of interface to be measured of tested PSE by ethernet line, the data-signal sent as the tested PSE of connection and the right entrance of differential lines of electric power signal, second portion port in this POE device for testing functions all of the port, return to the right outlet of differential lines of the separated data-signal of tested PSE as connection; Perhaps, the data-signal that the second portion port sends as the tested PSE of connection and the right entrance of differential lines of electric power signal, first's port returns to the right outlet of differential lines of the separated data-signal of tested PSE as connection.
In order to solve the problems of the technologies described above, the invention provides a kind of device of realizing POE (POE) functional test, comprise port and isolating device, wherein:
Port, for connecting the port to be measured of tested PSE by ethernet line;
Isolating device, for being connected with port; The data-signal that wherein an isolating device will send from the tested PSE of a port input is with electric power signal is separated, by another isolating device, separated data-signal loopback is connected to another port, as the data-signal received, returns to tested PSE.
Further, isolating device is transformer;
The differential lines of drawing the data-signal of described separation by the secondary coil of a transformer is connected to the secondary coil of another transformer to loopback, and is connected to another port by the primary coil of this another transformer.
Further,
Any fixed taps of the primary coil by all transformers is drawn electric power signal, is transferred to the function that receiving end equipment (PD) circuit is realized electric power signal detection, power classification and load draw power.
Further,
Connect the first's port in all of the port of interface to be measured of tested PSE by ethernet line, the data-signal sent as the tested PSE of connection and the right entrance of differential lines of electric power signal, second portion port in all of the port, return to the right outlet of differential lines of the separated data-signal of tested PSE as connection; Perhaps, the data-signal that the second portion port sends as the tested PSE of connection and the right entrance of differential lines of electric power signal, first's port returns to the right outlet of differential lines of the separated data-signal of tested PSE as connection.
In order to solve the problems of the technologies described above, the invention provides a kind of method that realizes POE (POE) functional test, relate to tested ethernet device (PSE) and POE device for testing functions, the method comprises:
Tested PSE is receiving end equipment (PI) transmission of data signals and the power supply signal to standard by ethernet line;
The POE device for testing functions that is modeled as the PD of standard is isolated data-signal and power supply signal from the Ethernet signal transmission of a port input by isolating device, and the data-signal of separation is connected to another port by another isolating device loopback, return to tested PSE as the data-signal received.
Further, described isolating device is transformer;
The POE device for testing functions will be drawn the secondary coil of the data-signal loopback of separation to another transformer by the secondary coil of a transformer, and be connected to another port by the primary coil of this another transformer, as the data-signal received, return.
Further, also comprise:
The POE device for testing functions is drawn electric power signal by any fixed taps of the primary coil of all transformers, is transferred to the function that the PD circuit is realized electric power signal detection, power classification and load draw power.
Further,
Tested PSE is for sending the interface to be measured of data-signal and electric power signal and for receiving the interface to be measured of data-signal, in same VLAN (VLAN) or for different VLAN;
First's port in all of the port of POE device for testing functions, the data-signal sent as the tested PSE of input and the entrance of electric power signal, second portion port in all of the port, return to the outlet of the separated data-signal of tested PSE as output; Perhaps, the data-signal that the second portion port sends as the tested PSE of input and the entrance of electric power signal, first's port returns to the right outlet of differential lines of the separated data-signal of tested PSE as output.
Further, before tested PSE transmission of data signals and power supply signal, also comprise:
PSE initiates to detect as access device to the POE device for testing functions, and definite access device is standard compliant PD and power rank thereof.
Further,
The sign that PSE feeds back by the POE device for testing functions belongs to the answer signal of the PD of standard and determines that access device is standard compliant PD;
PSE carries out power classification and determines its power rank according to the answer signal of the sign PD power demand grade of POE device for testing functions feedback.
Adopt the method, system and device of realizing the POE functional test of the present invention, because each port that has guaranteed proving installation can mask data signal and electric power signal, again can be as the output port of data-signal, the input channel that each port by proving installation can data signal under test thus, output channel that also can data signal under test, can also test the electric power signal path simultaneously, therefore take full advantage of the port of proving installation, make the quantity of test port be multiplied, thereby solved the batch testing problem that power-supply unit is produced.
The accompanying drawing explanation
Fig. 1 is the connection diagram that realizes the system embodiment of POE functional test of the present invention;
Fig. 2 is the internal port connection diagram that realizes the device embodiment of POE functional test of the present invention;
The connection diagram that Fig. 3 is isolation module one embodiment in Fig. 2 shown device embodiment;
The connection diagram that Fig. 4 is another embodiment of isolation module in Fig. 2 shown device embodiment;
Fig. 5 is the process flow diagram of realizing the embodiment of the method for POE functional test of the present invention.
Embodiment
Below in conjunction with accompanying drawing and preferred embodiment, technical scheme of the present invention is at length set forth.The embodiment below exemplified is only for description and interpretation the present invention, and do not form the restriction to technical solution of the present invention.
As shown in Figure 1, be the system embodiment that realizes the POE functional test of the present invention, this system comprises tested ethernet device (PSE) and POE device for testing functions, wherein:
Tested PSE, be connected to the corresponding port of POE device for testing functions for the port that it is all by ethernet line, as shown in Figure 1;
At this, the POE device for testing functions is modeled as the proving installation of PD.
The POE device for testing functions, being separated by isolating device with electric power signal for the data-signal that will send from the tested PSE of a port input, separated data-signal is connected to another port by another isolating device loopback, as the data-signal received, returns to tested PSE.
Fig. 2 expresses the concrete connection diagram of the internal port of the POE device for testing functions embodiment shown in Fig. 1.In POE device for testing functions inside, isolate data-signal and electric power signal from the signal of connector RJ45-1 port input by isolation module 1 (wherein containing one or more isolating devices), concrete connection as shown in Figure 3, wherein the electric power signal line is for example from the center tap (or non-central tap) of the primary coil of transformer module 1 transformer is drawn, be transferred to PD circuit 1 and realize that electric power signal detects, the function of power classification and load draw power, and data signal line (such as the transmission differential lines that 1. 2. goes up of port is to TX+ and TX-) is for example drawn from the secondary coil of transformer module 1 lower end transformer, secondary coil by the loopback connection to this transformer module 1 upper end transformer, then the primary coil by this upper end transformer is connected to connector RJ45-1 port (such as the reception differential lines that 3. 6. goes up of port is to RX+ and RX-), realize the connection of data path between two ports of tested PSE with this.
Equally, isolate data-signal and electric power signal from the signal of connector RJ45-2 input byisolation module 2, can be with reference to figure 3, wherein electric power signal is for example from the center tap (or non-central tap) of the primary coil oftransformer module 2 is drawn, be transferred toPD circuit 2 and realize that electric power signal detects, the function of power classification and load draw power, and data-signal (such as the differential lines that 4. 5. goes up of port to) is for example drawn from the secondary coil oftransformer module 2 lower end transformers, secondary coil by the loopback connection to thesetransformer module 2 upper end transformers, then the primary coil by this upper end transformer is connected to by connector RJ45-2 port (such as the differential lines that 7. 8. goes up of port to), realize the connection of data path between two ports of tested PSE.
Transformer module 1 shown in Fig. 3 andtransformer module 2 can correspondingly replace with the isolation module 1 in Fig. 4 and isolation module 2.Wherein, isolation module 1 in Fig. 4 andisolation module 2 include 2 inductance components, 4 capacitor elements and 2 photoelectric isolating devices, inductance component is for drawing electric power signal by any tap (center tap or non-central tap), capacitor element and photoelectric isolating device combination are for drawing corresponding data-signal, and its concrete connection as shown in Figure 4.
Like this, each port of POE device for testing functions is equivalent to the PD equipment of a standard, the density of POE device for testing functions port just can improve greatly, can realize thus the port batch detection to equipment under test, the result detected can be corresponding by each port pilot lamp mean, as shown in Figure 1.
Aspect data traffic, can, referring to Fig. 1, can see as previously mentioned between port one andport 2 being to have realized the external loop-around connection at data path from tested PSE; In like manner, also realized the external loop-around connection between port 3 andport 4 on data path.Like this, port one andport 2 can be divided in different VLAN (VLAN, Virtual Local Area Network),port 2 and port 3 are divided in same VLAN, port 3 andport 4 are divided in different VLAN, the like; In tested PSE side, the data stream of sending from port one, after POE device for testing functions of the present invention, is got back inport 2 like this; And due to thisport 2 and port 3 in same VLAN, thereby the data traffic that enters thisport 2 forwards to port 3; In like manner, in tested PSE side, the data traffic that port 3 flows out after POE device for testing functions of the present invention, is got back toport 4 again, so can realize the loopback test of data traffic.
As shown in Figure 3, be the flow process that realizes the embodiment of the method for POE functional test of the present invention, comprise the steps:
101:PSE initiates the detection to access device;
102: after definite access device is standard compliant receiving end equipment PD, determine the power rank of PD, and by ethernet line to PD transmission of data signals and power supply signal;
The sign that PSE feeds back by the POE device for testing functions belongs to the answer signal of standard P D and determines that the equipment of access is the power receiving equipment (PD) that meets the IEEE802.3af standard.
PSE carries out power classification and determines its power rank according to the answer signal of the sign PD power demand grade of POE device for testing functions feedback.
The 103:POE device for testing functions is inputted the Ethernet signal transmission from a port, and isolates data-signal and power supply signal by isolating device;
104: the electric power signal of separation is transferred to the function that corresponding PD circuit is realized detection, power classification and draw power;
The POE device for testing functions is exported isolated power supply signal the power supply signal of determining polar orientation by polar protective circuit, be transferred to respectively corresponding PD circuit.Provide aged load by this PD circuit, make the PSE power-supply unit with required load, as shown in Figure 2.The PD circuit for example adopts resistor network to absorb the electric power of appointment, and with pilot lamp indication supply access normally whether.
105: the data-signal of separation is connected to another port by another isolating device loopback, as the data-signal received, returns to tested PSE.
On the POE device for testing functions, the direct loopback of isolated data-signal is connected in to the another one port of this device, can realize like this using each port of this device as a PD, the POE function of tested PSE (such as switch) being tested, simultaneously, can also realize that data-transformation facility is tested data path and port.Like this, can greatly improve the port density of POE testing apparatus, thereby realize the batch testing to the POE function of the tested PSE of Ethernet.
The above-mentioned method to the POE functional test of the present invention is simple and reliable, and port density is large, has solved well the POE function batch testing problem that PSE produces.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, as of the present invention these are revised and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, all should be in the protection domain of the appended claim of the present invention.