Invention Grant
- Patent Title: Method, device and storage medium for controlling screen state
-
Application No.: US15791380Application Date: 2017-10-23
-
Publication No.: US10205817B2Publication Date: 2019-02-12
- Inventor: Chiafu Yen , Nannan Wang , Dawei Xiong
- Applicant: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicant Address: CN Haidian District, Beijing
- Assignee: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
- Current Assignee: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
- Current Assignee Address: CN Haidian District, Beijing
- Agency: Jun He Law Offices P.C.
- Agent James J. Zhu
- Priority: CN201610936722 20161024
- Main IPC: H04M1/725
- IPC: H04M1/725 ; H04W52/02

Abstract:
The present disclosure relates to a method, device and storage medium for controlling a screen state. The method includes: transmitting an ultrasonic transmission-signal for N times within a preset time period when detecting that an ultrasonic sensing function of the terminal is enabled, N being an integer greater than 1; receiving an ultrasonic receipt signal; generating N determination results of whether the terminal is covered, wherein each of the N determination results is based on one of the N times transmission of the ultrasonic transmission-signal and receipt of the corresponding ultrasonic receipt signal; and determining that the terminal is covered and switching the screen state of the terminal from a turn-on state to a turn-off state, when at least one of the N determination results indicates that the terminal is covered. In the technical solution, whether the terminal is covered is determined by obtaining a value of the determination result for successive multiple times within a certain time period. Thus, it may improve the accuracy of the determination, and overcome the defects in the related art where incorrect determination causes misjudgment operation such as a screen flickering. As a result, user experience can be improved.
Public/Granted literature
- US20180115639A1 METHOD, DEVICE AND STORAGE MEDIUM FOR CONTROLLING SCREEN STATE Public/Granted day:2018-04-26
Information query