Patent ID: 11914813
Assignee: HUIZHOU TCL MOBILE COMMUNICATION CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A terminal device, comprising a processor and a memory, the processor is electrically connected to the memory, the memory is configured to store instructions and data, and the processor is configured to implement steps in a ranging method, and the ranging method comprises following steps:
enabling a capacitive touch panel of the terminal device through a capacitive touch panel driving module in a kernel system of the terminal device, wherein the capacitive touch panel driving module is controlled by a capacitive touch panel driving program;
receiving a ranging request;
sending an enabling instruction to a proximity sensor driving module provided in a digital signal processor of the terminal device, wherein the proximity sensor driving module is controlled by a proximity sensor driving program;
receiving a distance event sent by the proximity sensor driving module; and
acquiring distance information of an object and the capacitive touch panel through the capacitive touch panel driving module.