Abstract:
A data transmission method, where the data transmission method includes acquiring, by a first terminal, an output signal of a sensor of the first terminal, where 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 communication link with the second terminal, and determining, by the first terminal according to the communication link established by the first terminal with the second terminal, to perform data transmission with the second terminal.
Abstract:
A method for correcting an orientation of a magnetometer includes obtaining current position information through a global positioning system. A geomagnetic inclination angle list is queried according to the current position information to acquire a geomagnetic inclination angle δ corresponding to a current position. A deviation Δψ of an orientation is calculated according to the geomagnetic inclination angle δ and the orientation is corrected based on the deviation Δψ of the orientation.
Abstract:
A data transmission method, where the data transmission method includes acquiring, by a first terminal, an output signal of a sensor of the first terminal, where 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 communication link with the second terminal, and determining, by the first terminal according to the communication link established by the first terminal with the second terminal, to perform data transmission with the second terminal.
Abstract:
A terminal protection method that is applied to a terminal is provided. In the method, an air pressure change value collected by an air pressure sensor is obtained; the air pressure change value is compared with a preset air pressure change threshold; and when the air pressure change value exceeds the preset air pressure change threshold, a break instruction is generated, where the break instruction is used to break a power supply circuit of a mainboard circuit of the terminal. According to the terminal protection method provided in the present invention, the power supply circuit of the mainboard circuit of the terminal can be timely broken when the terminal falls into water, thereby solving a problem of a short circuit that occurs on the mainboard circuit of the terminal after the terminal falls into water.
Abstract:
A terminal, where the terminal includes a conductive sheet configured to form a capacitor with a hand when the hand holds the terminal, and a processor, connected to the conductive sheet, where the processor is configured to detect a capacitance of the capacitor, and determine a holding gesture for the terminal according to the detected capacitance and a preset correspondence between a capacitance and a holding gesture, and the conductive sheet is disposed in the terminal, and when the hand holds the terminal, the conductive sheet forms a capacitor with the hand. When the terminal is held using different holding gestures, capacitances of capacitors formed between the conductive sheet in the terminal and the hand are different, and a correspondence between a capacitance and a holding gesture is preset using this difference.
Abstract:
A terminal protection method that is applied to a terminal is provided. In the method, an air pressure change value collected by an air pressure sensor is obtained; the air pressure change value is compared with a preset air pressure change threshold; and when the air pressure change value exceeds the preset air pressure change threshold, a break instruction is generated, where the break instruction is used to break a power supply circuit of a mainboard circuit of the terminal. According to the terminal protection method provided in the present invention, the power supply circuit of the mainboard circuit of the terminal can be timely broken when the terminal falls into water, thereby solving a problem of a short circuit that occurs on the mainboard circuit of the terminal after the terminal falls into water.
Abstract:
A water-proof structure has an internal barometer for a terminal device. The water-proof structure is an internal cavity of the terminal device. The water-proof structure is provided with an opening on a casing of the terminal device. Abarometer is arranged inside the water-proof structure. A water drop detection device is arranged between a water-proof mesh net and the barometer. The water drop detection device is electrically connected to a control valve, and when a water volume detected by the water drop detection device reaches a water volume threshold value, the control valve is closed.
Abstract:
A water-proof structure has an internal barometer for a terminal device. The water-proof structure is an internal cavity of the terminal device. The water-proof structure is provided with an opening on a casing of the terminal device. Abarometer is arranged inside the water-proof structure. A water drop detection device is arranged between a water-proof mesh net and the barometer. The water drop detection device is electrically connected to a control valve, and when a water volume detected by the water drop detection device reaches a water volume threshold value, the control valve is closed.
Abstract:
A method for correcting an orientation of a magnetometer includes obtaining current position information through a global positioning system. A geomagnetic inclination angle list is queried according to the current position information to acquire a geomagnetic inclination angle δ corresponding to a current position. A deviation Δψ of an orientation is calculated according to the geomagnetic inclination angle δ and correcting the orientation is corrected based on the deviation Δψ of the orientation.