Patent ID: 8780514

Claim:
A data cable electronically connected between a first electronic device and a second electronic device, comprising: a first interface configured to connect with a corresponding interface of the first electronic device, the first interface comprising a first metal shell and a ground end; a second interface configured to connect with a corresponding interface of the second electronic device, the second interface comprising a second metal shell, a ground end and an identification end; a detection circuit configured to detect a voltage difference between the first metal shell and the ground end of the first interface; the detection circuit comprising a first end connected to the first metal shell of the first interface, a second end connected to the ground end of the first interface, and an output end connected to the identification end of the second interface, when a voltage difference is generated between the first metal shell and the ground end, the detection circuit outputs a signal via the output end; the data between the first electronic device and the second electronic device selectively enabled or disabled according to the signal.