Method, mobile terminal and non-transitory computer-readable storage medium for adjusting scanning frequency of touch screen
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorsQiang Zhang, Mingqiang Guo, Tong Han, Rendong Shi, Hao Wang
Life of this patent
Estimating the term…
Abstract
A method for adjusting a scanning frequency of a touch screen is disclosed. An ambient brightness is acquired when receiving an instruction to light up the touch screen. Whether the ambient brightness is beyond a predefined ambient brightness range is determined. The scanning frequency of the touch screen is reduced, when the ambient brightness is beyond the predefined ambient brightness range. A mobile terminal and a non-transitory computer-readable storage medium are also disclosed.
Claims17
A method for adjusting a scanning frequency of a touch screen, comprising:
- acquiring an ambient brightness when receiving an instruction to light up the touch screen;
- determining whether the ambient brightness is beyond a predefined ambient brightness range;
- and
- reducing the scanning frequency of the touch screen, when the ambient brightness is beyond the predefined ambient brightness range,
- wherein acquiring the ambient brightness comprises:
- acquiring a first brightness value by a first brightness sensor arranged on a first side of a mobile terminal where the touch screen is arranged;
- acquiring a second brightness value by a second brightness sensor arranged on a second side of the mobile terminal different from the first side;
- and
- determining the ambient brightness based on the acquired first and second brightness values,
- wherein the method further comprises:
- determining whether a glare occurs based on a brightness value acquired by the first brightness sensor, and reducing the scanning frequency of the touch screen when the glare occurs.
A mobile terminal for adjusting a scanning frequency of a touch screen, comprising:
- a processor;
- a touch screen;
- at least two brightness sensors, including a first brightness sensor located on a first side of the mobile terminal where the touch screen is arranged, and a second brightness sensor located on a second side of the mobile terminal;
- and
- a memory including instructions operable to be executed by the processor to cause the processor to:
- acquire an ambient brightness when receiving an instruction to light up the touch screen;
- determine whether the ambient brightness is beyond a predefined ambient brightness range;
- and
- reduce the scanning frequency of the touch screen, when the ambient brightness is beyond the predefined ambient brightness range,
- wherein
- the first brightness sensor is configured to acquire a first brightness value;
- the second brightness sensor is configured to acquire a second brightness value;
- and
- wherein the instructions when executed further cause the processor to:
- determine the ambient brightness based on the acquired first and second brightness values, and
- determine whether a glare occurs based on a brightness value acquired by the first brightness sensor, and reduce the scanning frequency of the touch screen when the glare occurs.
The mobile terminal of 10, wherein the instructions when executed further cause the processor to:
- acquire an operation frequency of a user input in a predefined period before lighting up the touch screen, the predefined period comprising a time point when the instruction to light up the touch screen is received;
- determine whether the operation frequency is less than a predefined operation frequency threshold;
- and
- reduce the scanning frequency of the touch screen, when the operation frequency is less than the predefined operation frequency threshold.
A non-transitory computer-readable storage medium for storing computer executable instructions, the computer executable instructions being used to control a processor to execute a method for adjusting a scanning frequency of a touch screen, the method comprising:
- acquiring an ambient brightness when receiving an instruction to light up the touch screen;
- determining whether the ambient brightness is beyond a predefined ambient brightness range;
- and
- reducing the scanning frequency of the touch screen, when the ambient brightness is beyond the predefined ambient brightness range,
- wherein acquiring the ambient brightness comprises:
- acquiring a first brightness value by a first brightness sensor arranged on a first side of a mobile terminal where the touch screen is arranged;
- acquiring a second brightness value by a second brightness sensor arranged on a second side of the mobile terminal different from the first side;
- and
- determining the ambient brightness based on the acquired first and second brightness values,
- wherein the method further comprises:
- determining whether a glare occurs based on a brightness value acquired by the first brightness sensor, and reducing the scanning frequency of the touch screen when the glare occurs.
Dependencies are inferred from the claim text.