CPC G06F 1/266 (2013.01) | 15 Claims |
1. A first device, connected to a cable, the first device comprising:
a device control chip; and
a first interface comprising a first-type data signal terminal and a second-type data signal terminal, the first-type data signal terminal being connected to a power supply terminal of a communication control chip of the cable, and the second-type data signal terminal being connected to a data signal terminal of the communication control chip, wherein:
the device control chip is configured to control the first-type data signal terminal to be in a first output state; and
the first-type data signal terminal is configured to provide, when in the first output state, a first voltage to the power supply terminal, to supply power to the communication control chip,
wherein the device control chip is further configured to control the first-type data signal terminal to be in an input state; and the first-type data signal terminal is further configured to stop, when in the input state, supplying the first voltage to the power supply terminal, to power down the communication control chip,
wherein the first device is connected to a second device via the cable, and wherein the device control chip is further configured to control, while controlling the first-type data signal terminal to be in the input state, the first-type data signal terminal to implement a transmission of a data signal with the second device; and control the second-type data signal terminal to implement a transmission of a data signal with the second device, wherein:
the device control chip is further configured to transmit, via the first-type data signal terminal and/or the second-type data signal terminal, a first mode control instruction to the second device before controlling the first-type data signal terminal to be in the first output state, the first mode control instruction being used to instruct the second device to enter an information reading mode; and the device control chip is further configured to receive, via the first-type data signal terminal and/or the second-type data signal terminal, a first response message returned by the second device based on the first mode control instruction, enter an information reading mode based on the first response message, and control, when in the information reading mode, the first-type data signal terminal to be in the first output state; or
the device control chip is further configured to receive, via the first-type data signal terminal and/or the second-type data signal terminal, a second mode control instruction transmitted by the second device; and enter an information reading mode based on the second mode control instruction, and control, when in the information reading mode, the first-type data signal terminal to be in the first output state, the second mode control instruction being used to instruct the first device to enter the information reading mode.
|