CN106210311B - Screen brightness control method and device - Google Patents

Screen brightness control method and device Download PDF

Info

Publication number
CN106210311B
CN106210311B CN201610543018.5A CN201610543018A CN106210311B CN 106210311 B CN106210311 B CN 106210311B CN 201610543018 A CN201610543018 A CN 201610543018A CN 106210311 B CN106210311 B CN 106210311B
Authority
CN
China
Prior art keywords
mobile terminal
screen brightness
current scene
screen
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610543018.5A
Other languages
Chinese (zh)
Other versions
CN106210311A (en
Inventor
陈永兴
邱勇
查文胜
何颖
蒋国强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610543018.5A priority Critical patent/CN106210311B/en
Publication of CN106210311A publication Critical patent/CN106210311A/en
Application granted granted Critical
Publication of CN106210311B publication Critical patent/CN106210311B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/73Battery saving arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a method and a device for controlling screen brightness, wherein the method comprises the following steps: acquiring a current scene where a mobile terminal is located; judging whether a user sets screen brightness for a current scene in advance; and if the screen brightness preset for the current scene by the user is judged, acquiring a screen brightness value corresponding to the current scene, and adjusting the screen brightness of the mobile terminal according to the screen brightness value. The method for controlling the screen brightness meets the individual requirements of the user on the screen brightness in different scenes, so that the user can use the mobile terminal in a more customary brightness environment, the flexibility of the mobile terminal in adjusting the screen brightness is improved, and the user experience of the mobile terminal is improved.

Description

Screen brightness control method and device
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a method and a device for controlling screen brightness.
Background
With the development of mobile communication technology, mobile terminals such as smart phones and tablet computers are becoming essential entertainment equipment and communication tools in people's lives. At present, when a mobile terminal is used, after a user sets an automatic brightness adjustment function to start, the mobile terminal can adjust the screen brightness of the mobile terminal according to light intensity information, or the user manually adjusts the screen brightness of the mobile terminal according to a scene requirement.
However, in the process of implementing the present invention, the inventors found that the following technical problems exist in the related art: (1) the mode of automatically adjusting the screen brightness is that the screen brightness adjusted by the mobile terminal is the same for the same light intensity information, but the screen brightness requirements needed by different users corresponding to the same light intensity information are different, the mode of adjusting the screen brightness cannot meet the individual requirements of the users, and the mobile terminal is used under the screen brightness which cannot meet the self requirements, so that the discomfort of eyes is easily caused. (2) The mode of manually adjusting the screen brightness is that after the scene of the mobile terminal changes, a user needs to manually adjust the screen brightness, and the brightness is repeatedly adjusted, so that the manual adjustment is not convenient enough, and the user experience is influenced.
Disclosure of Invention
The object of the present invention is to solve at least to some extent one of the above mentioned technical problems.
Therefore, a first objective of the present invention is to provide a method for controlling screen brightness, which enables a user to use the application program in a relatively customary brightness environment, and avoids the trouble of manually adjusting the screen brightness when the user uses the application program, so that the user can use the application program in a relatively customary brightness environment, and the requirements of the user for different brightness values used by different application programs are met.
The second objective of the present invention is to provide a device for controlling screen brightness.
A third object of the present invention is to provide a mobile terminal.
A fourth object of the present invention is to provide a mobile terminal.
In order to achieve the above object, a method for controlling screen brightness according to an embodiment of the first aspect of the present invention includes: acquiring a current scene where a mobile terminal is located; judging whether a user sets the screen brightness for the current scene in advance; and if the screen brightness preset by the user for the current scene is judged, acquiring a screen brightness value corresponding to the current scene, and adjusting the screen brightness of the mobile terminal according to the screen brightness value.
According to the screen brightness control method provided by the embodiment of the invention, the current scene where the mobile terminal is located is obtained, the screen brightness value corresponding to the current scene is obtained when the situation that the user sets the screen brightness for the current scene in advance is judged, and the screen brightness of the mobile terminal is adjusted according to the screen brightness value, so that the individual requirements of the user on the screen brightness in different scenes are met, the user can use the mobile terminal in a more customary brightness environment, the flexibility of the mobile terminal in adjusting the screen brightness is improved, and the user experience of the mobile terminal is improved.
According to an embodiment of the present invention, the acquiring the screen brightness value corresponding to the current scene includes:
and acquiring a screen brightness value corresponding to the current scene according to a pre-stored corresponding relationship between the scene and the screen brightness value.
According to an embodiment of the present invention, further comprising:
and setting the screen color temperature and/or the screen contrast of the mobile terminal according to the current scene.
According to one embodiment of the invention, the method comprises the following steps:
acquiring current position information of the mobile terminal;
acquiring the current ambient light brightness of the mobile terminal;
and determining the current scene of the mobile terminal according to the current position information and the current environment light brightness.
According to one embodiment of the invention, the method comprises the following steps:
acquiring current position information of the mobile terminal through a GPS positioning module;
wherein, the obtaining of the current ambient light brightness of the mobile terminal includes:
and acquiring the current ambient light brightness of the mobile terminal through a light sensor.
In order to achieve the above object, a control device for screen brightness according to an embodiment of a second aspect of the present invention includes: the acquisition module is used for acquiring the current scene of the mobile terminal; the judging module is used for judging whether a user sets the screen brightness for the current scene in advance; and the processing module is used for acquiring a screen brightness value corresponding to the current scene when judging that the user sets the screen brightness for the current scene in advance, and adjusting the screen brightness of the mobile terminal according to the screen brightness value.
According to the screen brightness control device provided by the embodiment of the invention, the current scene where the mobile terminal is located is obtained through the obtaining module, the processing module obtains the screen brightness value corresponding to the current scene when the judging module judges that the user sets the screen brightness for the current scene in advance, and the screen brightness of the mobile terminal is adjusted according to the screen brightness value, so that the individual requirements of the user on the screen brightness in different scenes are met, the user can use the mobile terminal in a more customary brightness environment, the flexibility of adjusting the screen brightness of the mobile terminal is improved, and the user experience of the mobile terminal is improved.
According to an embodiment of the present invention, the processing module is specifically configured to:
and acquiring a screen brightness value corresponding to the current scene according to a pre-stored corresponding relationship between the scene and the screen brightness value.
According to an embodiment of the present invention, further comprising:
and the setting module is used for setting the screen color temperature and/or the screen contrast of the mobile terminal according to the current scene.
According to an embodiment of the present invention, the obtaining module includes:
a first obtaining unit, configured to obtain current location information of the mobile terminal;
the second acquisition unit is used for acquiring the current ambient light brightness of the mobile terminal;
and the determining unit is used for determining the current scene of the mobile terminal according to the current position information and the current environment light brightness.
According to an embodiment of the present invention, the first obtaining unit is specifically configured to:
acquiring current position information of the mobile terminal through a GPS positioning module;
the second obtaining unit is specifically configured to:
and acquiring the current ambient light brightness of the mobile terminal through a light sensor.
In order to achieve the above object, a mobile terminal according to an embodiment of the third aspect of the present invention includes a control device of the mobile terminal according to the embodiment of the second aspect of the present invention.
According to the mobile terminal provided by the embodiment of the invention, the current scene where the mobile terminal is located is obtained, the screen brightness value corresponding to the current scene is obtained when the situation that the user sets the screen brightness for the current scene in advance is judged, and the screen brightness of the mobile terminal is adjusted according to the screen brightness value, so that the individual requirements of the user on the screen brightness under different scenes are met, the user can use the mobile terminal in a more customary brightness environment, the flexibility of the mobile terminal in adjusting the screen brightness is improved, and the user experience degree of the mobile terminal is improved.
In order to achieve the above object, a mobile terminal according to a fourth embodiment of the present invention includes a housing, a processor, a memory, a circuit board, and a power circuit, wherein the circuit board is disposed inside a space enclosed by the housing, and the processor and the memory are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the steps of: acquiring a current scene where a mobile terminal is located; judging whether a user sets the screen brightness for the current scene in advance; and if the screen brightness preset by the user for the current scene is judged, acquiring a screen brightness value corresponding to the current scene, and adjusting the screen brightness of the mobile terminal according to the screen brightness value.
According to the mobile terminal provided by the embodiment of the invention, the current scene where the mobile terminal is located is obtained, the screen brightness value corresponding to the current scene is obtained when the situation that the user sets the screen brightness for the current scene in advance is judged, and the screen brightness of the mobile terminal is adjusted according to the screen brightness value, so that the individual requirements of the user on the screen brightness under different scenes are met, the user can use the mobile terminal in a more customary brightness environment, the flexibility of the mobile terminal in adjusting the screen brightness is improved, and the user experience degree of the mobile terminal is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which,
fig. 1 is a flowchart of a method of controlling screen brightness according to an embodiment of the present invention;
fig. 2 is a flowchart of a method of controlling screen brightness according to another embodiment of the present invention;
fig. 3 is a flowchart of a method of controlling screen brightness according to still another embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a device for controlling screen brightness according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a control device of screen brightness according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device for controlling screen brightness according to yet another embodiment of the present invention.
Reference numerals:
the device comprises an acquisition module 110, a judgment module 120, a processing module 130, a setting module 140, a first acquisition unit 111, a second acquisition unit 112 and a determination unit 113.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The following describes a screen brightness control method, apparatus and mobile terminal according to an embodiment of the present invention with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method of controlling screen brightness according to an embodiment of the present invention.
As shown in fig. 1, the method for controlling the screen brightness includes the following steps:
and S11, acquiring the current scene of the mobile terminal.
The mobile terminal may be, for example, a hardware device having various operating systems, such as a smart phone and a tablet computer.
Specifically, in the process of using the mobile terminal, generally, the user has different screen brightness requirements for different scenes, the user can set the screen brightness values in different scenes according to the requirements, and the mobile terminal stores the corresponding relationship between the scenes and the screen brightness values according to the setting of the user, so that the user can set the screen brightness individually according to the requirements of the user.
The scenes can include indoor scenes and outdoor scenes, wherein the indoor scenes can be subdivided into indoor high brightness and indoor low brightness, and the outdoor scenes can be subdivided into outdoor high brightness and outdoor low brightness.
It should be understood that the foregoing scenarios are for example purposes only, and the scenarios are not limited in this embodiment, for example, the scenarios may further include: park, highway, seaside, street, etc.
S12, it is determined whether the user previously set the screen brightness for the current scene.
And S13, if the user is judged to set the screen brightness for the current scene in advance, acquiring the screen brightness value corresponding to the current scene, and adjusting the screen brightness of the mobile terminal according to the screen brightness value.
In an embodiment of the present invention, when it is determined that the user sets the screen brightness for the current scene in advance, the screen brightness value corresponding to the current scene may be obtained according to the correspondence between the scene and the screen brightness value stored in advance, and the screen brightness of the mobile terminal may be adjusted according to the screen brightness value.
It should be noted that, if it is determined that the screen brightness of the current scene is not preset by the user, it is further determined whether the function of automatically adjusting the screen brightness is started, and if so, the screen brightness is automatically adjusted according to the current scene.
If not, judging whether the current screen brightness of the mobile terminal meets the current scene, and if not, prompting the user to adjust the screen brightness.
It should be understood that, after the user manually adjusts the screen brightness of the mobile terminal, the current scene and the screen brightness value may be stored in the corresponding relationship between the scene and the screen brightness value, so that the mobile terminal may automatically adjust the screen brightness when the mobile terminal is in the scene again, and the trouble of manually adjusting the screen brightness by the user is reduced.
According to the screen brightness control method provided by the embodiment of the invention, the current scene where the mobile terminal is located is obtained, the screen brightness value corresponding to the current scene is obtained when the situation that the user sets the screen brightness for the current scene in advance is judged, and the screen brightness of the mobile terminal is adjusted according to the screen brightness value, so that the individual requirements of the user on the screen brightness in different scenes are met, the user can use the mobile terminal in a more customary brightness environment, the flexibility of the mobile terminal in adjusting the screen brightness is improved, and the user experience of the mobile terminal is improved.
In an embodiment of the present invention, as shown in fig. 2, after adjusting the screen brightness of the mobile terminal according to the screen brightness value, the method may further include:
and S14, setting the screen color temperature and/or the screen contrast of the mobile terminal according to the current scene.
After the screen brightness of the mobile terminal is adjusted according to the screen brightness value, in order to better protect the eyes of a user, the color temperature value corresponding to the current scene can be adjusted and determined according to the corresponding relation between the color temperature and the scene stored in the mobile terminal in advance, and the screen color temperature of the mobile terminal is adjusted according to the color temperature value.
Meanwhile, the contrast corresponding to the current scene can be determined according to the corresponding relation between the scene prestored in the mobile terminal and the screen contrast, and the screen contrast of the mobile terminal is adjusted according to the determined contrast, so that better screen contrast is provided for the user, the influence of inappropriate screen contrast on eyes of the user is reduced, the occurrence of visual discomfort of the user is reduced, and the purpose of further protecting the eyes of the user is achieved.
Fig. 3 is a flowchart of a method of controlling screen brightness according to still another embodiment of the present invention.
As shown in fig. 3, the method for controlling the screen brightness includes the following steps:
and S31, acquiring the current position information of the mobile terminal.
The mobile terminal may be, for example, a hardware device having various operating systems, such as a smart phone and a tablet computer.
As an exemplary embodiment, the current location information of the mobile terminal may be acquired through a GPS (Global positioning system) positioning module in the mobile terminal.
It should be understood that the above-mentioned manner of obtaining the current location information of the mobile terminal through the GPS positioning module is only an example, and the current location information of the mobile terminal may also be obtained through other manners, and the embodiment does not limit the manner of obtaining the current location information of the mobile terminal.
And S32, acquiring the current ambient light brightness of the mobile terminal.
As an exemplary embodiment, the current ambient light level of the mobile terminal may be obtained through a light sensor in the mobile terminal.
It should be noted that the execution sequence of steps S31 and S32 is not sequential.
And S33, determining the current scene of the mobile terminal according to the current position information and the current ambient light brightness.
Specifically, after the current position information and the current environment light brightness of the mobile terminal are obtained, whether the mobile terminal is located indoors or outdoors can be determined through the current position information. Then, whether the indoor brightness is high or low or the outdoor brightness is high or low can be judged according to the current environmental light brightness.
It should be understood that, for an indoor scene, when a current brightness value of the current ambient light brightness is obtained, the current brightness value may be compared with a preset first brightness threshold, if the current brightness value exceeds the first brightness threshold, it is determined that the current scene is an indoor highlight, and if the current brightness value does not exceed the first brightness threshold, it is determined that the current scene is an indoor low-brightness.
Here, it should be understood that the first brightness threshold is a preset threshold for determining whether the room is high or low.
Similarly, for an outdoor scene, when the current brightness value of the current ambient light brightness is obtained, the current brightness value may be compared with a preset second brightness threshold, if the current brightness value exceeds the second brightness threshold, the current scene is determined to be outdoor highlight, and if the current brightness value does not exceed the second brightness threshold, the current scene is determined to be outdoor low-brightness.
Here, it should be understood that the second brightness threshold is a preset threshold for determining whether the outdoor is high or low.
S34, it is determined whether the user previously set the screen brightness for the current scene.
Before judging whether the user sets the screen brightness for the current scene in advance, the mobile terminal stores the corresponding relation between the scene and the screen brightness value in advance according to the setting of the user.
After the current scene of the mobile terminal is obtained, the mobile terminal can judge whether the user sets the screen brightness for the current scene in advance through the corresponding relation.
And S35, if the user is judged to set the screen brightness for the current scene in advance, acquiring the screen brightness value corresponding to the current scene, and adjusting the screen brightness of the mobile terminal according to the screen brightness value.
In an embodiment of the present invention, when it is determined that the user sets the screen brightness for the current scene in advance, the screen brightness value corresponding to the current scene may be obtained according to the correspondence between the scene and the screen brightness value stored in advance, and the screen brightness of the mobile terminal may be adjusted according to the screen brightness value.
It should be noted that, if it is determined that the screen brightness of the current scene is not preset by the user, it is further determined whether the function of automatically adjusting the screen brightness is started, and if so, the screen brightness is automatically adjusted according to the current scene.
If not, judging whether the current screen brightness of the mobile terminal meets the current scene, and if not, prompting the user to adjust the screen brightness.
It should be understood that, after the user manually adjusts the screen brightness of the mobile terminal, the current scene and the screen brightness value may be stored in the corresponding relationship between the scene and the screen brightness value, so that the mobile terminal may automatically adjust the screen brightness when the mobile terminal is in the scene again, and the trouble of manually adjusting the screen brightness by the user is reduced.
And S36, setting the screen color temperature and/or the screen contrast of the mobile terminal according to the current scene.
After the screen brightness of the mobile terminal is adjusted according to the screen brightness value, in order to better protect the eyes of a user, the color temperature value corresponding to the current scene can be adjusted and determined according to the corresponding relation between the color temperature and the scene stored in the mobile terminal in advance, and the screen color temperature of the mobile terminal is adjusted according to the color temperature value.
Meanwhile, the contrast corresponding to the current scene can be determined according to the corresponding relation between the scene prestored in the mobile terminal and the screen contrast, and the screen contrast of the mobile terminal is adjusted according to the determined contrast, so that better screen contrast is provided for the user, the influence of inappropriate screen contrast on eyes of the user is reduced, the occurrence of visual discomfort of the user is reduced, and the purpose of further protecting the eyes of the user is achieved.
According to the screen brightness control method provided by the embodiment of the invention, the current scene where the mobile terminal is located is obtained, the screen brightness value corresponding to the current scene is obtained when the situation that the user sets the screen brightness for the current scene in advance is judged, and the screen brightness of the mobile terminal is adjusted according to the screen brightness value, so that the individual requirements of the user on the screen brightness in different scenes are met, the user can use the mobile terminal in a more customary brightness environment, the flexibility of the mobile terminal in adjusting the screen brightness is improved, and the user experience of the mobile terminal is improved.
In order to implement the above embodiments, the present invention further provides a device for controlling screen brightness according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a device for controlling screen brightness according to an embodiment of the present invention.
As shown in fig. 4, the apparatus for controlling screen brightness according to the embodiment of the present invention may include an obtaining module 110, a determining module 120, and a processing module 130, where:
specifically, the obtaining module 110 is configured to obtain a current scene where the mobile terminal is located.
The scenes can include indoor scenes and outdoor scenes, wherein the indoor scenes can be subdivided into indoor high brightness and indoor low brightness, and the outdoor scenes can be subdivided into outdoor high brightness and outdoor low brightness.
It should be understood that the foregoing scenarios are for example purposes only, and the scenarios are not limited in this embodiment, for example, the scenarios may further include: park, highway, seaside, street, etc.
The judging module 120 is used to judge whether the user sets the screen brightness for the current scene in advance.
When determining that the user sets the screen brightness for the current scene in advance, the processing module 130 obtains a screen brightness value corresponding to the current scene, and adjusts the screen brightness of the mobile terminal according to the screen brightness value.
Specifically, the processing module 130 is specifically configured to: and acquiring a screen brightness value corresponding to the current scene according to the corresponding relation between the pre-stored scene and the screen brightness value.
It should be noted that the explanation of the foregoing embodiment of the method for controlling screen brightness is also applicable to the control device for screen brightness of this embodiment, and the implementation principle is similar, and is not repeated here.
According to the screen brightness control device provided by the embodiment of the invention, the current scene where the mobile terminal is located is obtained through the obtaining module, the processing module obtains the screen brightness value corresponding to the current scene when the judging module judges that the user sets the screen brightness for the current scene in advance, and the screen brightness of the mobile terminal is adjusted according to the screen brightness value, so that the individual requirements of the user on the screen brightness in different scenes are met, the user can use the mobile terminal in a more customary brightness environment, the flexibility of adjusting the screen brightness of the mobile terminal is improved, and the user experience of the mobile terminal is improved.
In an embodiment of the present invention, in order to better protect the eyes of the user, on the basis of the embodiment shown in fig. 4, as shown in fig. 5, the apparatus may further include a setting module 140, where the setting module 140 is configured to set the screen color temperature and/or the screen contrast of the mobile terminal according to the current scene.
In an embodiment of the present invention, on the basis of the embodiment shown in fig. 4, as shown in fig. 6, the obtaining module 110 may include a first obtaining unit 111, a second obtaining unit 112, and a determining unit 113, where:
the first obtaining unit 111 is used for obtaining the current position information of the mobile terminal.
The second obtaining unit 112 is configured to obtain a current ambient light brightness of the mobile terminal.
The determining unit 113 is configured to determine a current scene where the mobile terminal is located according to the current location information and the current ambient light brightness.
In an embodiment of the present invention, the first obtaining unit 111 is specifically configured to:
and acquiring the current position information of the mobile terminal through a GPS positioning module.
In an embodiment of the present invention, the second obtaining unit 112 is specifically configured to:
and acquiring the current ambient light brightness of the mobile terminal through the light sensor.
It should be understood that the configurations of the first obtaining unit 111, the second obtaining unit 112 and the determining unit 113 in the apparatus embodiment shown in fig. 6 may also be included in the apparatus embodiment shown in fig. 5, and the present invention is not limited thereto.
In order to implement the above embodiments, the present invention further provides a mobile terminal.
A mobile terminal comprises the screen brightness control device of the second aspect of the invention.
According to the mobile terminal provided by the embodiment of the invention, the current scene where the mobile terminal is located is obtained, the screen brightness value corresponding to the current scene is obtained when the situation that the user sets the screen brightness for the current scene in advance is judged, and the screen brightness of the mobile terminal is adjusted according to the screen brightness value, so that the individual requirements of the user on the screen brightness under different scenes are met, the user can use the mobile terminal in a more customary brightness environment, the flexibility of the mobile terminal in adjusting the screen brightness is improved, and the user experience degree of the mobile terminal is improved.
In order to implement the above embodiments, the present invention further provides a mobile terminal, which includes a housing, a processor, a memory, a circuit board, and a power circuit, wherein the circuit board is disposed inside a space enclosed by the housing, and the processor and the memory are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory is used for storing executable program codes; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the steps of:
and S11', acquiring the current scene of the mobile terminal.
Specifically, in the process of using the mobile terminal, generally, the user has different screen brightness requirements for different scenes, the user can set the screen brightness values in different scenes according to the requirements, and the corresponding relationship between the scenes and the screen brightness values is stored according to the setting of the user, so that the user can set the screen brightness individually according to the requirements of the user.
The scenes can include indoor scenes and outdoor scenes, wherein the indoor scenes can be subdivided into indoor high brightness and indoor low brightness, and the outdoor scenes can be subdivided into outdoor high brightness and outdoor low brightness.
It should be understood that the foregoing scenarios are for example purposes only, and the scenarios are not limited in this embodiment, for example, the scenarios may further include: park, highway, seaside, street, etc.
S12', it is determined whether the user previously set the screen brightness for the current scene.
And S13', if the user is judged to set the screen brightness for the current scene in advance, acquiring the screen brightness value corresponding to the current scene, and adjusting the screen brightness of the mobile terminal according to the screen brightness value.
In an embodiment of the present invention, when it is determined that the user sets the screen brightness for the current scene in advance, the screen brightness value corresponding to the current scene may be obtained according to the correspondence between the scene and the screen brightness value stored in advance, and the screen brightness of the mobile terminal may be adjusted according to the screen brightness value.
It should be noted that, if it is determined that the screen brightness of the current scene is not preset by the user, it is further determined whether the function of automatically adjusting the screen brightness is started, and if so, the screen brightness is automatically adjusted according to the current scene.
If not, judging whether the current screen brightness of the mobile terminal meets the current scene, and if not, prompting the user to adjust the screen brightness.
It should be understood that, after the user manually adjusts the screen brightness of the mobile terminal, the current scene and the screen brightness value may be stored in the corresponding relationship between the scene and the screen brightness value, so that when the mobile terminal is in the scene again, the screen brightness may be automatically adjusted, and the trouble of manually adjusting the screen brightness by the user is reduced.
According to the mobile terminal provided by the embodiment of the invention, the current scene where the mobile terminal is located is obtained, the screen brightness value corresponding to the current scene is obtained when the situation that the user sets the screen brightness for the current scene in advance is judged, and the screen brightness of the mobile terminal is adjusted according to the screen brightness value, so that the individual requirements of the user on the screen brightness under different scenes are met, the user can use the mobile terminal in a more customary brightness environment, the flexibility of the mobile terminal in adjusting the screen brightness is improved, and the user experience degree of the mobile terminal is improved.
In one embodiment of the present invention, after adjusting the screen brightness of the mobile terminal according to the screen brightness value, the processor is further configured to perform the following steps:
s14', setting a screen color temperature and/or a screen contrast of the mobile terminal according to the current scene.
After the screen brightness of the mobile terminal is adjusted according to the screen brightness value, in order to better protect the eyes of a user, the color temperature value corresponding to the current scene can be adjusted and determined according to the corresponding relation between the color temperature and the scene stored in the mobile terminal in advance, and the screen color temperature of the mobile terminal is adjusted according to the color temperature value.
Meanwhile, the contrast corresponding to the current scene can be determined according to the corresponding relation between the scene prestored in the mobile terminal and the screen contrast, and the screen contrast of the mobile terminal is adjusted according to the determined contrast, so that better screen contrast is provided for the user, the influence of inappropriate screen contrast on eyes of the user is reduced, the occurrence of visual discomfort of the user is reduced, and the purpose of further protecting the eyes of the user is achieved.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (8)

1. A method for controlling screen brightness is characterized by comprising the following steps:
acquiring a current scene where a mobile terminal is located;
judging whether a user sets the screen brightness for the current scene in advance;
if the fact that the user sets the screen brightness for the current scene in advance is judged, acquiring a screen brightness value corresponding to the current scene, and adjusting the screen brightness of the mobile terminal according to the screen brightness value;
if the screen brightness of the current scene is judged not to be preset by the user, further judging whether an automatic screen brightness adjusting function of the mobile terminal is started, and if so, automatically adjusting the screen brightness of the mobile terminal according to the current scene;
if the current scene is not started, judging whether the current screen brightness of the mobile terminal meets the current scene or not, if the current scene is not met, prompting the user to adjust the screen brightness of the mobile terminal, and after the user manually adjusts the screen brightness of the mobile terminal, storing the current scene and the screen brightness value into a corresponding relation between the scene and the screen brightness value so as to automatically adjust the screen brightness when the mobile terminal is in the current scene again;
the method further comprises the following steps:
setting the screen color temperature and/or the screen contrast of the mobile terminal according to the current scene;
the setting of the screen color temperature of the mobile terminal according to the current scene comprises the following steps:
adjusting and determining a color temperature value corresponding to the current scene according to a pre-stored corresponding relation between the scene and the color temperature, and adjusting the screen color temperature of the mobile terminal according to the color temperature value;
the setting of the screen contrast of the mobile terminal according to the current scene includes: and determining the contrast corresponding to the current scene according to the corresponding relation between the pre-stored scene and the screen contrast, and adjusting the screen contrast of the mobile terminal according to the determined contrast.
2. The method for controlling screen brightness according to claim 1, wherein the obtaining of the screen brightness value corresponding to the current scene comprises:
and acquiring a screen brightness value corresponding to the current scene according to a pre-stored corresponding relationship between the scene and the screen brightness value.
3. The method for controlling screen brightness according to claim 1, wherein the obtaining a current scene where the mobile terminal is located comprises:
acquiring current position information of the mobile terminal;
acquiring the current ambient light brightness of the mobile terminal;
and determining the current scene of the mobile terminal according to the current position information and the current environment light brightness.
4. The method for controlling screen brightness according to claim 3, wherein the obtaining the current location information of the mobile terminal comprises:
acquiring current position information of the mobile terminal through a GPS positioning module;
wherein, the obtaining of the current ambient light brightness of the mobile terminal includes:
and acquiring the current ambient light brightness of the mobile terminal through a light sensor.
5. A device for controlling screen brightness, comprising:
the acquisition module is used for acquiring the current scene of the mobile terminal;
the judging module is used for judging whether a user sets the screen brightness for the current scene in advance;
the processing module is used for acquiring a screen brightness value corresponding to the current scene when judging that the user sets the screen brightness for the current scene in advance, and adjusting the screen brightness of the mobile terminal according to the screen brightness value;
the processing module is further configured to: if the screen brightness of the current scene is judged not to be preset by the user, further judging whether an automatic screen brightness adjusting function of the mobile terminal is started, and if so, automatically adjusting the screen brightness of the mobile terminal according to the current scene;
if the current scene is not started, judging whether the current screen brightness of the mobile terminal meets the current scene or not, if the current scene is not met, prompting the user to adjust the screen brightness of the mobile terminal, and after the user manually adjusts the screen brightness of the mobile terminal, storing the current scene and the screen brightness value into a corresponding relation between the scene and the screen brightness value so as to automatically adjust the screen brightness when the mobile terminal is in the current scene again;
the device further comprises: the setting module is used for setting the screen color temperature and/or the screen contrast of the mobile terminal according to the current scene;
the setting of the screen color temperature of the mobile terminal according to the current scene comprises the following steps:
adjusting and determining a color temperature value corresponding to the current scene according to a pre-stored corresponding relation between the scene and the color temperature, and adjusting the screen color temperature of the mobile terminal according to the color temperature value;
the setting of the screen contrast of the mobile terminal according to the current scene includes: and determining the contrast corresponding to the current scene according to the corresponding relation between the pre-stored scene and the screen contrast, and adjusting the screen contrast of the mobile terminal according to the determined contrast.
6. The device for controlling screen brightness according to claim 5, wherein the processing module is specifically configured to:
and acquiring a screen brightness value corresponding to the current scene according to a pre-stored corresponding relationship between the scene and the screen brightness value.
7. The screen brightness control device according to claim 5, wherein the obtaining module comprises:
a first obtaining unit, configured to obtain current location information of the mobile terminal;
the second acquisition unit is used for acquiring the current ambient light brightness of the mobile terminal;
and the determining unit is used for determining the current scene of the mobile terminal according to the current position information and the current environment light brightness.
8. The device for controlling screen brightness according to claim 7, wherein the first obtaining unit is specifically configured to:
acquiring current position information of the mobile terminal through a GPS positioning module;
the second obtaining unit is specifically configured to:
and acquiring the current ambient light brightness of the mobile terminal through a light sensor.
CN201610543018.5A 2016-07-11 2016-07-11 Screen brightness control method and device Active CN106210311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610543018.5A CN106210311B (en) 2016-07-11 2016-07-11 Screen brightness control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610543018.5A CN106210311B (en) 2016-07-11 2016-07-11 Screen brightness control method and device

Publications (2)

Publication Number Publication Date
CN106210311A CN106210311A (en) 2016-12-07
CN106210311B true CN106210311B (en) 2020-01-10

Family

ID=57476299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610543018.5A Active CN106210311B (en) 2016-07-11 2016-07-11 Screen brightness control method and device

Country Status (1)

Country Link
CN (1) CN106210311B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107154247A (en) * 2017-06-19 2017-09-12 广东欧珀移动通信有限公司 Color temperature adjusting method, device and its equipment reconstructed based on rgb light spectrum energy
CN107342066B (en) 2017-06-19 2019-07-23 Oppo广东移动通信有限公司 Screen luminance adjustment method, device and its equipment
CN107507602A (en) * 2017-09-22 2017-12-22 深圳天珑无线科技有限公司 Screen intensity Automatic adjustment method, terminal and storage medium
CN107492364A (en) * 2017-09-26 2017-12-19 上海斐讯数据通信技术有限公司 A kind of method and system that screen color temp tone is adjusted by ambient noise
CN108230985A (en) * 2018-01-30 2018-06-29 河南职业技术学院 Display screen color temperature adjusting method and display screen colour temperature regulating device
CN109144630B (en) * 2018-07-16 2021-06-11 维沃移动通信有限公司 Color temperature adjusting method and terminal
CN109887474B (en) * 2019-02-27 2022-09-30 百度在线网络技术(北京)有限公司 Control method and device for equipment with screen and computer readable medium
CN111796928A (en) * 2019-04-09 2020-10-20 Oppo广东移动通信有限公司 Terminal resource optimization method and device, storage medium and terminal equipment
CN112086075B (en) * 2019-06-14 2023-03-24 北京小米移动软件有限公司 Screen display parameter adjusting method and device and storage medium
CN110489028B (en) * 2019-07-11 2021-12-24 联想(北京)有限公司 Control method, electronic device and computer storage medium
CN111128091B (en) * 2020-02-11 2021-09-28 北京小米移动软件有限公司 Screen brightness adjusting method, screen brightness adjusting device and computer storage medium
CN111128092B (en) * 2020-02-11 2021-07-23 北京小米移动软件有限公司 Screen brightness adjusting method, screen brightness adjusting device and computer storage medium
CN113395388B (en) * 2020-02-26 2022-10-18 华为技术有限公司 Screen brightness adjusting method and electronic equipment
CN111385400A (en) * 2020-03-12 2020-07-07 北京小米移动软件有限公司 Backlight brightness adjusting method and device
CN114915705A (en) * 2021-02-09 2022-08-16 英业达科技有限公司 Light supplement method and computer system thereof
CN114582263A (en) * 2022-02-21 2022-06-03 惠州Tcl移动通信有限公司 Display control method, device, terminal and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281436A (en) * 2013-04-27 2013-09-04 深圳市金立通信设备有限公司 Method for adjusting brightness of mobile terminal screen and mobile terminal
CN105282334A (en) * 2015-10-10 2016-01-27 上海斐讯数据通信技术有限公司 Mobile terminal and method for adjusting screen brightness of mobile terminal
CN105306715A (en) * 2015-10-28 2016-02-03 广东欧珀移动通信有限公司 Method and device for adjusting screen brightness of mobile terminal
CN105611043A (en) * 2015-10-30 2016-05-25 东莞酷派软件技术有限公司 Screen brightness adjusting method and device and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201243820A (en) * 2011-04-29 2012-11-01 Asustek Comp Inc Electronic apparatus and luminance adjusting method thereof
CN103165103A (en) * 2011-12-12 2013-06-19 深圳富泰宏精密工业有限公司 Brightness adjustment system of electronic device display screen and brightness adjustment method of electronic device display screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281436A (en) * 2013-04-27 2013-09-04 深圳市金立通信设备有限公司 Method for adjusting brightness of mobile terminal screen and mobile terminal
CN105282334A (en) * 2015-10-10 2016-01-27 上海斐讯数据通信技术有限公司 Mobile terminal and method for adjusting screen brightness of mobile terminal
CN105306715A (en) * 2015-10-28 2016-02-03 广东欧珀移动通信有限公司 Method and device for adjusting screen brightness of mobile terminal
CN105611043A (en) * 2015-10-30 2016-05-25 东莞酷派软件技术有限公司 Screen brightness adjusting method and device and terminal

Also Published As

Publication number Publication date
CN106210311A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN106210311B (en) Screen brightness control method and device
US10438562B2 (en) Method and system for adjusting screen brightness of terminal, and terminal comprising the system
CN104243832A (en) Method and device for shooting through mobile terminal and mobile terminal
CN109951627B (en) Image processing method, image processing device, storage medium and electronic equipment
CN105554413A (en) Screen light compensation photographing method and device, and mobile terminal
CN106210330B (en) A kind of image processing method and terminal
CN106060417B (en) A kind of flash lamp control method and terminal
CN107566751B (en) Image processing method, image processing apparatus, electronic device, and medium
CN104346057B (en) Background color adjusting method and device
CN103281436A (en) Method for adjusting brightness of mobile terminal screen and mobile terminal
CN107146581A (en) Adjust method, mobile terminal and the storage medium of backlight illumination grade
CN106157932B (en) The control method and device of screen intensity
WO2017218179A1 (en) Indoor/outdoor coverage detection based on sensor inputs
CN107623819B (en) A kind of method taken pictures and mobile terminal and related media production
CN104754134A (en) Screen brightness adjusting method and screen brightness adjusting system
CN105450870A (en) Method and device for adjusting brightness of mobile terminal
CN104793742A (en) Shooting previewing method and device
CN104902180A (en) Mobile terminal camera parameter adjusting method and mobile terminal
CN112181557A (en) Theme switching method and device, electronic equipment and storage medium
CN106230909A (en) A kind of equipment room brightness linkage control method, device and equipment
CN110363036B (en) Code scanning method and device based on wire controller and code scanning system
EP3218897B1 (en) Display brightness control
CN106155619B (en) Control method, control device and electronic device
CN112351197B (en) Shooting parameter adjusting method and device, storage medium and electronic equipment
EP3567835A1 (en) Intelligent photographing method and apparatus, and intelligent terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523859 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant