Patent ID: 9706592
Date: 2017-07-11
CPC Classifications: H04W

Claim:
1. A data transmission method, comprising: acquiring, by a first terminal, an output signal of a sensor of the first terminal, wherein the output signal of the sensor of the first terminal is a signal generated when a first magnet of a second terminal triggers the sensor of the first terminal; determining, by the first terminal, the output signal of the sensor of the first terminal as a low-level output signal; establishing, by the first terminal, a first communication link with the second terminal when the output signal of the sensor of the first terminal is the low-level output signal; and determining, by the first terminal according to the first communication link established by the first terminal with the second terminal, to perform data transmission with the second terminal, wherein the first terminal further comprises a second magnet disposed on a jacket of the first terminal, wherein the jacket is configured to hold and cover the first terminal, wherein the jacket can be removed from the first terminal, wherein before establishing, by the first terminal, the first communication link with the second terminal, the method further comprises: triggering, by the second magnet of the first terminal, the sensor of the first terminal to generate the low-level output signal when the second magnet approaches the sensor of the first terminal and when the first magnet of the second terminal does not trigger the sensor of the first terminal to generate a low-level output signal; and controlling, by the first terminal, a screen of the first terminal to enter a screen locking state.