Patent ID: 8127126

Claim:
An integrated power supply and network connection control device for a cord set, comprising: a power device disposed with at least one main outlet and no less than one auxiliary outlets, the main outlet being kept power-on permanently, the power device having a USB terminal and a network connector exposed out of a surface of the power device, the network connector comprising an input terminal and an output terminal; a control device disposed in the power device, the control device mainly comprising: a network connection on/off controller disposed between the input terminal of the network connector and the output terminal of the network connector to control the network connection to be on or off; a network driver for controlling the network connection on/off controller to switch the network connection on/off; a power on/off controller disposed between the main outlet and the auxiliary outlet of the power device to control the auxiliary outlet to be power-on/-off; a power supply driver for controlling the power on/off controller to switch the power on/off; a detection circuit, the detection circuit detecting if there's an input signal at the USB terminal and sending a detection result to a processing unit; the processing unit receiving a setup signal and an activation signal from a computer host via the USB terminal, and storing the setup signal; when the computer host boots, the processing unit counting the time starting from the boot time of the computer host to detect if a set standby/sleep/shutdown time has been reached, if so, then the power supply driver forcing the power on/off controller to turn off the power of all auxiliary outlets of the power device; and the processing unit receiving the activation signal to determine whether a cursor is activated before the set standby/sleep/shutdown time has been reached, if not, then the processing unit activating the network driver to force the network connection on/off controller to switch the network connection on/off.