Patent ID: 8397008

Claim:
A docking station, comprising: a multiplexer, the multiplexer comprising a first input end, a second input end, and an encode system; the encode system is connected to the second input end and configured to generate an encoding according to a connection status of the second input end; wherein the encode system is configured to generate a first encoding, when a first peripheral device is connected to the second input end, to switch the multiplexer to a first state, in which the second input end is on and the first input end is off; and the encode system is configured to generate a second encoding, when the first peripheral device is not connected to the second input end, to switch the multiplexer to a second state, in which the second input end is off and the first input end is on; the encode system comprises a first encode end which is connected to the second input end, a voltage level on the first encode end is configured to be set to be higher when the first peripheral device is connected to the second input end than the voltage level on the first encode end when the first peripheral device is not connected to the second input end.