Handset unlocking system based on geomagnetic sensor

The utility model discloses a handset unlocking system based on a geomagnetic sensor, which comprises a handset body, a handset CPU, a microprocessor, a geomagnetic sensor, an unlocking control module and a pattern matching module. The handset CPU, the microprocessor, the geomagnetic sensor, the unlocking control module and the pattern matching module are arranged in the handset body. The geomagnetic sensor is connected with the microprocessor. The microprocessor is connected with the handset CPU. The handset CPU is connected with the pattern matching module. The pattern matching module is connected with a display screen through the unlocking control module. According to the utility model, the current information on the azimuth angle of the handset is obtained through the geomagnetic sensor arranged in the handset body, while the information on the azimuth angle required by the unlocking of the handset is stored in advance in the handset. When to be unlocked, the handset is rotated so as to be changed in azimuth angle. Then the changed angle is compared with the preset information. If the changed angle is consistent with the preset angle, the unlocking requirement is satisfied. Otherwise, the unlocking requirement cannot be satisfied and the handset cannot be unlocked. Compared with the prior art, only when the rotation angle of the above handset is rightly input, the display screen of the handset can be unlocked. Thus, the handset unlocking system has the advantages of strong interestingness, good privacy and the like.