Mobile terminal and method for adjusting visual effect of screen thereof
A mobile terminal and screen technology, applied in the field of communication, can solve problems such as troublesome operation, time-consuming, and inability to adjust visual effects, and achieve the effect of saving time and facilitating operation
Inactive Publication Date: 2010-08-25
ZTE CORP
7 Cites 49 Cited by
AI-Extracted Technical Summary
Problems solved by technology
However, in some applications, the light intensity of the external environment cannot correctly reflect the use status of the mobile phone, and this method can only adjust the brightness of the screen, and cannot adjust the entire visual ...
Method used
From the above description, it can be seen that the present invention achieves the following technical effects: use the sensor to detect the actual distance between the mobile phone screen and the object in front, and dynamically set the mobile terminal according to the calculated distance, so as to achieve user convenience. while saving power consumption.
In this embodiment, sensors are set to measure the actual distance between the screen of the mobile terminal and the object in front, and the visual effect attributes (including backlight brightness, font and window component size, etc.) ), so as to be able to better judge the usage scenario of the current mobile terminal, and solve the problem that the related technology still needs to manually operate the mobile terminal, so the operation is cumbersome and time-consuming. Using this embodiment can truly reflect the use status of the mobile terminal by measuring the actual distance between the mobile terminal and the ...
Abstract
The invention discloses a mobile terminal and a method for adjusting the visual effect of a screen thereof. The mobile terminal comprises a sensor, a judging module and an adjusting module, wherein the sensor is used for acquiring the actual distance between the screen of the mobile terminal and an object ahead; the judging module is used for judging whether the actual distance acquired by the sensor is within the preset distance range in which a user operates the mobile terminal; and the adjusting module is used for adjusting the visual effect attributes of the screen according to the judgment of the judging module. The mobile terminal can dynamically adjust the visual effect attributes, bring convenience to operation of the user, and save time.
Application Domain
Power managementStatic indicating devices +4
Technology Topic
Simulation
Image
Examples
- Experimental program(1)
Example Embodiment
Hereinafter, the present invention will be described in detail with reference to the drawings and in conjunction with the embodiments. It should be noted that the embodiments in this application and the features in the embodiments can be combined with each other if there is no conflict.
Fig. 1 is a schematic diagram of a mobile terminal according to an embodiment of the present invention. As shown in Figure 1, the mobile terminal includes:
The sensor 10 is used to obtain the actual distance between the screen of the mobile terminal and the front object;
The judging module 20 is used to judge whether the actual distance obtained by the sensor 10 is within a preset distance interval for the user to operate the mobile terminal;
The adjustment module 30 is configured to adjust the visual effect attributes of the screen according to the judgment of the judgment module 20.
Among them, the sensor 10 is a distance sensor. The current distance sensor measures the distance between the sensor and the front obstacle based on the infrared or ultrasonic reflected by the front obstacle. The test accuracy reaches the centimeter level. It has been widely used in many fields such as robots and automobiles. . There are already low-power distance sensors with a volume of less than 5mm, which can be integrated into mobile terminals.
This embodiment measures the actual distance between the screen of the mobile terminal and the front object by setting a sensor, and adjusts the visual effect attributes of the screen (including backlight brightness, font and window component size, etc.) according to whether the actual distance is within the distance range of the user using the mobile terminal. ), so as to better judge the current use scene of the mobile terminal, and solve the problem that related technologies still need to manually operate the mobile terminal, so the operation is troublesome and time-consuming. Using this embodiment can truly reflect the use state of the mobile terminal by measuring the actual distance between the mobile terminal and the front object, and dynamically adjust the visual effect attributes, which facilitates user operations and saves time.
The above-mentioned mobile terminal may be a mobile phone, a PDA, etc.
Wherein, the sensor 10 may be located on the same plane and facing the same as the main screen panel of the mobile terminal. In this way, the actual distance measured by the sensor can always be the distance between the screen of the mobile terminal and the front object.
Preferably, in the above-mentioned mobile terminal, it further includes: a setting module 40 for accepting the maximum value f of the distance interval set by the user max And minimum f min , And the customary visual effect attribute and customary distance f of the user operating the mobile terminal com , Where the value of the customary distance lies within the distance interval, and the customary visual effect attributes include the customary screen backlight brightness level B com. In this way, users can set the maximum distance (that is, the maximum value of the above-mentioned distance interval) and the minimum distance (that is, the minimum value of the above-mentioned distance interval) for daily operation of the mobile terminal according to their own habits to set the above-mentioned distance interval, and can also set one of their own The customary distance and customary screen visual effect attributes during daily operation of the mobile terminal. These user-set parameters are saved in the mobile terminal so that the mobile terminal can subsequently adjust the visual effect according to these parameters. Among them, when the visual effect attribute is the backlight brightness, the effect of reducing the power consumption of the mobile terminal can be achieved.
Preferably, the adjustment module 30 includes:
The calculation module 301 is used to calculate the first upgrade step distance f of the backlight brightness of the screen Bup And the first step down step distance f Bdown for:
First upgrade step distance
The first degraded step distance among which, f max Is the maximum value of the distance interval, f min Is the minimum value of the distance interval, f com Is the customary distance, B sum Is the adjustable level of backlight brightness of the screen, B com Is the level of the backlight brightness of the conventional screen, and is the round-down operator;
The adjustment module 302 is used to adjust the backlight brightness level of the screen to P when the judgment module 20 judges that the actual distance is within the distance interval B :
Where P B The level to which the brightness of the backlight of the screen needs to be adjusted, P Bcur Is the current level of the backlight brightness of the screen, f cur Is the actual distance.
This preferred embodiment provides that when the actual distance measured by the sensor is within the distance range operated by the user (generally 20 cm-100 cm, the range is relatively wide, and the most common range is 30 cm-50 cm). It can be considered that the user is looking at the screen of the mobile terminal, and the screen backlight brightness suitable for the actual distance can be calculated and adjusted according to the actual distance measured above and the parameters set by the user to facilitate the user to see the screen more clearly . In addition, the power consumption of the mobile terminal can be further reduced by adjusting the backlight brightness of the screen according to the actual distance.
Preferably, the customary visual effect attributes of the screen also include customary fonts and window component sizes;
The calculation module 301 is also used to calculate the second upgrade step distance f of the font of the screen and the size of the window component Sup And the second step down step distance f Sdown for:
Second upgrade step distance
The second stepping distance of degrading among them, S sum The number of adjustable levels for screen font and window component size, S com It is the level of customary font and window component size;
The adjustment module 302 is also used to adjust the font of the screen and the level of the window component size to P when the judgment module judges that the actual distance is within the distance interval. S :
Where P S Is the level to be adjusted to the screen font and window component size, P Scur Is the current level of screen font and window component size, f cur Is the actual distance.
This preferred embodiment provides that when the actual distance measured by the sensor is within the distance range operated by the user (generally 20 cm-100 cm, the range is relatively wide, and the most common range is 30 cm-50 cm). It can be considered that the user is looking at the screen of the mobile terminal, and the font and window component size of the screen suitable for the actual distance can be calculated according to the actual distance measured above and the parameters set by the user above and adjusted to facilitate the user to be more clear See the screen clearly.
In the above-mentioned preferred embodiment, when it is determined that the current actual distance is within the preset distance range of daily operations, the visual effect can be dynamically adjusted according to the customary distance preset by the user and the customary visual effect attribute parameters. For example, if the current actual distance is greater than the customary distance, the screen backlight brightness level should be increased, and the font and window component size should also be larger; the current actual distance is smaller than the customary distance, then the screen backlight brightness level should be reduced, font and window component size Also need to shrink. This solution of dynamically adjusting the screen visual effects according to the actual distance between the mobile terminal and the front object can bring a good user experience and avoid visual fatigue.
Among them, the sensor 10 periodically obtains the actual distance. Wherein, the method for the sensor 10 to periodically obtain the actual distance may include: when the mobile terminal is in a non-sleep state, the sensor 10 according to the period value set by the user received by the setting module 40 (that is, the setting module 40 is also used to accept the user The sensor 10 is set to obtain the period value of the actual distance between the screen of the mobile terminal and the front object) to periodically obtain the actual distance; or, when the mobile terminal is in a non-sleep state, the sensor uses a preset default period value. Obtain the actual distance periodically.
The mobile terminal uses the sensor 10 to obtain the aforementioned actual distance to adjust the visual effect attributes of the screen generally when the mobile terminal is in a non-sleep state, and at this time, it is considered that the user is operating the mobile terminal. The sensor 10 obtains the above-mentioned actual distance in a periodic manner. The period can be selected and set by the user or a default value. For example, the specific value of the period can generally be 1s, 0.1s, 2s, etc. The smaller the value of the period is set, the more sensitive the mobile terminal adjusts the visual effect attributes of the screen according to the actual distance obtained by the sensor, but at the same time the greater the power consumption. In actual implementation, suitable values can be selected according to actual needs to achieve balance.
Preferably, the adjustment module 30 further includes: a closing module 303, configured to turn off the backlight brightness of the screen when the judgment module 20 judges that the actual distance is outside the distance interval.
Generally, if the user does not operate in the standby state, the mobile terminal is in the dormant state. In order to reduce power consumption and increase the standby time, the screen and the backlight are turned off. When a user uses a mobile terminal, the mobile terminal is activated by pressing a button or tapping the touch screen to turn on the screen backlight. At this time, the user is watching the screen. At this time, the distance between the user and the mobile terminal is generally 20 cm-100 cm (the interval is relatively wide, the most common is 30 cm-50 cm). It is not suitable to watch the screen too far or too close. . Here, the above-mentioned distance range is referred to as the distance interval for daily operation. The distance outside the range of the daily operation distance interval can be considered that the user is not watching the screen. If the sensor 10 detects that the current actual distance is not within the distance interval, it is considered that the user is not looking at the screen of the mobile terminal. Specifically, if it is less than the minimum value of this distance range, it can be determined that the user is in a talking state or put the mobile terminal in his pocket; if the current actual distance is greater than the maximum value of this distance range, it can be determined that the user is in a hands-free talking state or The mobile terminal is placed on the table. In the above cases, both the screen and the backlight can be turned off, that is, the backlight brightness can be adjusted to 0, thereby minimizing the power consumption of the mobile terminal.
As shown in Fig. 2, in actual implementation, the functions of the judgment module 20 and the adjustment module 30 in Fig. 1 can be realized by the main control module 201, and the function of the setting module 40 in Fig. 1 can be preset by the mobile terminal software. Set the visual effect strategy module 202 to implement.
Among them, the preset visual effect strategy module 202 provides an interactive interface for the user to preset the distance interval for personal daily habit operations (that is, the f max And f min ), customary distance f com , And related visual properties (for example, the backlight brightness level B of the usual screen com And the level S of customary font and window component size com ), these parameters can be collectively referred to as visual effect strategy setting parameters, and the set parameters are saved in the permanent storage unit of the mobile terminal. Here, the user's setting method can have various forms. To facilitate the user's setting, as shown in Figure 3, the following methods can be used:
In step S302, the preset visual effect strategy module 202 starts to run to complete the initialization of its own graphical interface and data structure. The visual effect policy setting parameters previously set by the user are read from the permanent storage unit of the mobile terminal and displayed to the user through the screen 203. When the user wants to reset, go to step S304;
Step S304, the user sets the minimum value of the distance interval for daily operations: prompts the user to place the mobile terminal on the minimum distance that his eyes can see the screen. When the user confirms the distance by pressing keys or other operation methods, the sensor 10 obtains the time , Denoted as f min;
Step S306, the user sets the maximum distance interval for daily operations: prompts the user to place the mobile terminal to the maximum distance that his eyes can see the screen. When the user confirms the distance by pressing keys or other operation methods, the sensor 10 obtains the time , Denoted as f max;
Step S308, the user sets the customary value of the daily operation distance interval (that is, the aforementioned customary distance): prompts the user to place the mobile terminal at the operating distance that they are most accustomed to using daily. When the user confirms the distance by pressing the key or other methods, pass The sensor 10 gets the distance at this time, denoted as f com. And, the user is prompted to select the distance f com Download the visual effect attribute parameters you are used to. For example: the brightness level of the usual screen backlight, denoted as B com; And the customary font and window component size, denoted as S com;
In step S310, after the user confirms that the setting is completed, the main control module 201 receives the above-mentioned set parameters, and notifies that the display attribute setting parameters have been modified and updated to the permanent storage unit. The visual effect strategy module 202 exits the operation.
In addition, optionally, the preset visual effect strategy module 202 can also provide an interactive interface for the user to preset the sensor 10 to obtain the period value T of the actual distance between the screen of the mobile terminal and the front object (for example, provide several periods through the interactive interface). Value for the user to choose) and save it in the permanent storage unit of the mobile terminal. In this way, the sensor 10 can periodically obtain the actual distance to the front object according to the set period value T.
The main control module 201, as the main module in the mobile terminal software, regularly controls the sensor 10 to perform distance detection when the mobile terminal is in a non-sleep state, and according to the distance data measured by the sensor 10 from the object in front of the screen (that is, the actual Distance) and the visual effect strategy setting parameters of the preset visual effect strategy module 202 and the current use state of the mobile terminal dynamically adjust the visual effect attributes of the mobile terminal (such as backlight brightness, font and window component size and background color, etc.). For example, when the user takes out the mobile terminal and opens the dialing interface to start a call, the main control module 201 adjusts the backlight brightness, font and window component size of the screen according to the distance between the current user’s face and the screen (that is, the distance from the sensor 10) A certain matching value is convenient for the user to use; when the call is connected, the user puts the mobile terminal to the ear to answer the phone, and the main control module 201 can judge that there is no need to display according to the actual distance returned by the sensor 10 (this time It can be judged that the actual distance is beyond the range of the distance interval). To save power, the backlight of the screen and other hardware that are not related to the call state can be completely turned off.
Among them, the main control module 201 can calculate the upgrade step distance and downgrade step distance of the screen backlight brightness according to the parameters set by the user through the preset visual effect strategy module 202, as well as the upgrade step distance and downgrade step distance of the font and window component size. Advance the distance, and save the calculated data to the permanent storage unit of the mobile terminal.
Among them, the sensor 10 and the screen 203 belong to the category of hardware and underlying drivers, and the main control module 201 and the preset visual effect strategy module 202 belong to the category of software subsystems of the mobile terminal.
Fig. 4 is a flowchart of a method for adjusting screen visual effects of a mobile terminal according to an embodiment of the present invention, including the following steps:
Step S402: Obtain the actual distance between the screen of the mobile terminal and the front object;
Step S404, judging whether the acquired actual distance is within a preset distance interval for the user to operate the mobile terminal;
Step S406: Adjust the visual effect attributes of the screen according to the judgment result.
This embodiment measures the actual distance between the screen of the mobile terminal and the front object, and adjusts the visual effect attributes of the screen (including backlight brightness, font and window component size, etc.) according to whether the actual distance is within the distance range of the user using the mobile terminal. Therefore, the current use scenario of the mobile terminal can be better judged, and the related technology still needs to manually operate the mobile terminal, so the operation is troublesome and time-consuming. Using this embodiment can truly reflect the use state of the mobile terminal by measuring the actual distance between the mobile terminal and the front object, and dynamically adjust the visual effect attributes, which facilitates user operations and saves time.
Preferably, in the above method, the method further includes: accepting the maximum value and minimum value of the distance interval set by the user, as well as the customary visual effect attribute and the customary distance of the user operating the mobile terminal, wherein the value of the customary distance lies in the distance range, and the customary distance The visual effect attribute includes the level of the backlight brightness of the conventional screen. In this way, the user can set the above-mentioned parameters according to their own habits, and the user can set the parameters as shown in FIG. 3.
Preferably, step S406 includes:
Calculate the first upgrade step distance f of the backlight brightness of the screen Bup And the first step down step distance f Bdown for:
First upgrade step distance
The first degraded step distance among which, f max Is the maximum value of the distance interval, f min Is the minimum value of the distance interval, f com Is the customary distance, B sum Is the adjustable level of backlight brightness of the screen, B com Is the level of the backlight brightness of the conventional screen, and is the round-down operator;
When the judgment result in step S404 is that the actual distance is within the distance interval, adjust the backlight brightness level of the screen to:
Where P B The level to be adjusted to the brightness of the backlight of the screen, P Bcur Is the current level of the backlight brightness of the screen, f cur Is the actual distance.
This preferred embodiment provides a specific implementation solution for dynamically adjusting the backlight brightness of the screen when the actual distance measured by the mobile terminal is within the distance interval set by the user.
Preferably, the customary visual effect attributes set by the user further include customary fonts and window component sizes; step S406 also includes:
Calculate the second upgrade step distance f for screen font and window component size Sup And the second step down step distance f Sdown for:
Second upgrade step distance
The second stepping distance of degrading among them, S sum The number of adjustable levels for screen font and window component size, S com It is the level of customary font and window component size;
When the judgment result in step S404 is that the actual distance is within the distance interval, adjust the screen font and the level of the window component size to:
Where P S Is the level to be adjusted to the screen font and window component size, P Scur Is the current level of screen font and window component size, f cur Is the actual distance.
This preferred embodiment provides a specific implementation solution for dynamically adjusting the font and window component size of the screen when the actual distance measured by the mobile terminal is within the distance interval set by the user.
Wherein, the actual distance in step S402 is acquired periodically according to a predetermined period. Wherein, the periodic acquisition method may include: when the mobile terminal is in a non-sleep state, according to the received period value set by the user (that is, in the above method, it also includes accepting user settings to acquire the screen and front of the mobile terminal. The period value of the actual distance of the object) is used to periodically obtain the actual distance; or, when the mobile terminal is in a non-sleep state, the actual distance is obtained periodically according to a preset default period value.
The mobile terminal uses the above-mentioned actual distance to adjust the visual effect attribute of the screen generally when the mobile terminal is in a non-sleep state, and at this time, it is considered that the user is operating the mobile terminal. The way to obtain the actual distance is periodic, and the period can be selected and set by the user or adopt a default value. For example, the specific value of the period can generally be 1s, 0.1s, 2s, etc. The smaller the value of the period is set, the more sensitive the mobile terminal adjusts the visual effect attributes of the screen according to the actual distance obtained, but at the same time the greater the power consumption. In actual implementation, suitable values can be selected according to actual needs to achieve balance.
Preferably, step S406 further includes: turning off the backlight brightness of the screen when the judgment result of step S404 is that the actual distance is outside the distance interval. At this time, it can be considered that the user is not looking at the screen of the mobile terminal, so that the screen and the backlight can be turned off to achieve the effect of saving the power consumption of the mobile terminal to the greatest extent.
Fig. 5 is a flowchart of a method for adjusting screen visual effects of a mobile terminal according to the first embodiment of the present invention, including the following steps:
Step S502: When the user operates the mobile phone, the mobile phone switches from a low-power sleep state to a standby state, and turns on the screen backlight;
Step S504: After entering the standby state, the ranging operation is performed regularly (that is, according to a certain period), and the actual distance measured is denoted as f cur. In order to reduce power consumption, the regular ranging interval (that is, the aforementioned period) is generally set to 1 second or higher; when the measurement distance exceeds the detection range, it is determined that there is no object in front and the corresponding measurement state is returned;
Specifically, the mobile terminal accepts user settings to obtain the actual distance f between the screen and the front object cur With the adopted period value T, when the mobile terminal is in a non-sleep state, the actual distance is obtained periodically according to the period value T;
Or, when the mobile terminal is in a non-sleep state, it periodically obtains the actual distance according to a preset default period value.
Step S506, judge and compare f cur With f max The size, if f cur Greater than f max , Go to step 508, otherwise, go to step 510;
Step S508, from f cur Greater than f max Or less than f min , That is, the current distance exceeds the distance range for daily use, and it is considered that the user is no longer looking at the screen at this time (for example, putting the mobile terminal on the table to answer the call hands-free, f cur Greater than f max , Or put it to your ear to talk or put it in your pocket, f cur Less than f min ), in order to save power, turn off the screen backlight, and then return to step S504 to continue to detect the distance change regularly;
Step S510, compare f cur With f min Size, if f cur Less than f min , Then go back to step S508, otherwise, go to step S512;
Step S512, now f cur Located in the daily operation distance range, it is calculated that a certain visual effect attribute of the screen should be set to level P i :
Where P cur Is the current level of the visual effect attribute of the screen, f iup Upgrade step distance for visual effects attributes, f idown Step distance for degrading visual effect attributes.
Step S514, compare P i With P cur If the two are not equal, go to step S518, if they are equal, go to step S516;
Step S516, reset the screen visual effect attribute to P i (Such as screen backlight brightness level, font size level), so as to be suitable for use at the current distance, and then go to step S516;
In step S518, it is detected whether the user has stopped the operation and the sleep delay period has expired, if so, go to step S520, otherwise, return to step S504 to start a new round of distance detection.
Step S520: Turn off the screen backlight and other software and hardware modules that need to stop running, and enter a low-power sleep state.
From the above description, it can be seen that the present invention achieves the following technical effects: the sensor is used to detect the actual distance between the mobile phone screen and the front object, and the mobile terminal is dynamically set according to the calculated distance to facilitate user use. At the same time, the purpose of saving power consumption.
Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. Above, alternatively, they can be implemented with program codes executable by the computing device, so that they can be stored in the storage device for execution by the computing device, and in some cases, can be executed in a different order than here. Perform the steps shown or described, or fabricate them into individual integrated circuit modules separately, or fabricate multiple modules or steps of them into a single integrated circuit module for implementation. In this way, the present invention is not limited to any specific combination of hardware and software.
The above are only preferred embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention can have various modifications and changes. Any modification, equivalent replacement, improvement, etc., made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
PUM


Description & Claims & Application Information
We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
Similar technology patents
Porous polymer electrolyte supporting membrane material, preparation method thereof and application thereof
Owner:SOUTH CHINA NORMAL UNIVERSITY
Graphene film and preparation method therefor
Owner:CHANGZHOU FUXI TECH CO LTD
PCr-NHEJ (non-homologous end joining) carrier as well as construction method of pCr-NHEJ carrier and application of pCr-NHEJ carrier in site-specific knockout of bacterial genes
Owner:GUANGDONG MEDICAL UNIV
Network threat evaluation method based on multi-granularity anomaly detection
Owner:THE PLA INFORMATION ENG UNIV
Classification and recommendation of technical efficacy words
- shorten the time
- easy to operate
Method, device and system for establishing neighbor relation
Owner:DATANG MOBILE COMM EQUIP CO LTD
Method and apparatus for loading web pages
Owner:BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
Method for quickly searching for public land mobile networks
Owner:LEADCORE TECH
Aqueous chromium-free zinc and aluminum coating and preparation method thereof
Owner:SHENZHEN NONFEMET TECH
Airline planning method and device for surveying and mapping unmanned aerial vehicle
Owner:深圳市九天创新科技有限责任公司
Lancet device
Owner:ABBOTT DIABETES CARE INC
A method and device for automatic image acquisition
Owner:VIMICRO CORP
Rapid and non-invasive optical detection of internal bleeding
Owner:HO WINSTON ZONH +2