Patent ID: 7468567

Claim:
A power switching apparatus, comprising: a first input port used to connect to a first power terminal, the first power terminal being an Ethernet power terminal; a second input port used to connect to a second power terminal, the second power terminal being a direct current power terminal; an output port used to output a voltage; and a switching circuit connected to the first input port, the second input port and the output port, the switching circuit including: a first power loop connected to the first input port and the output port, the first power loop being used to receive power supplied through the Ethernet power terminal, the first power loop including: a) an input resistance connected to the first input port, the input resistance receiving the power supplied through the Ethernet power terminal via the first input port; b) a transformer having a primary side and a secondary side, the primary side receives the power supplied through the Ethernet power terminal and the secondary side outputs a voltage; c) an Ethernet power controller connected to the input resistance and the primary side of the transformer, the Ethernet power controller tuning the output voltage which the secondary side of the transformer outputs; and d) a voltage regulator connected to the secondary side of the transformer, the voltage regulator stabilizing the output voltage; a second power loop connected to the second input port and the output port, the second power loop being used to receive power supplied through the direct current power terminal; and a detecting circuit connected to the second input port, the first power loop and the second power loop, wherein the detecting circuit cuts off the output voltage supplied through the Ethernet power terminal and outputs the voltage supplied through the direct current power terminal coupled to the second input port, responsive to detecting the voltage supplied through the second input port.