CN111261128B - Screen brightness adjusting method and electronic equipment - Google Patents

Screen brightness adjusting method and electronic equipment Download PDF

Info

Publication number
CN111261128B
CN111261128B CN202010184996.1A CN202010184996A CN111261128B CN 111261128 B CN111261128 B CN 111261128B CN 202010184996 A CN202010184996 A CN 202010184996A CN 111261128 B CN111261128 B CN 111261128B
Authority
CN
China
Prior art keywords
brightness
current
information
electronic equipment
value
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
CN202010184996.1A
Other languages
Chinese (zh)
Other versions
CN111261128A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010184996.1A priority Critical patent/CN111261128B/en
Publication of CN111261128A publication Critical patent/CN111261128A/en
Application granted granted Critical
Publication of CN111261128B publication Critical patent/CN111261128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Abstract

The embodiment of the invention discloses a screen brightness adjusting method and electronic equipment, wherein the method comprises the steps of obtaining current use information of a screen, wherein the current use information comprises a current brightness influence factor; under the condition that the current brightness influence factor is matched with a manual regulation record stored in the electronic equipment in advance, the screen brightness is adjusted according to the target brightness value in the matched target manual regulation record; wherein the current brightness impact factor comprises at least one of: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located and the information of the application program run by the foreground of the electronic equipment; the manual adjustment record includes a record associated with the current usage information. The problem that the prior art cannot meet the requirements of users on different screen brightness in a complex environment is solved.

Description

Screen brightness adjusting method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a screen brightness adjusting method and electronic equipment.
Background
With the development and progress of communication technology, more and more electronic devices have become indispensable communication tools in people's lives. In order to relieve the stimulation of the screen light of the electronic equipment to the eyes of the user, the electronic equipment is added with a function of adjusting the screen brightness.
Currently, the electronic device only sets the screen brightness to a preset brightness value corresponding to the ambient light intensity. However, in practical applications, the environment in which the electronic device is located is often complicated, and the requirements of users for screen brightness in different environments are different. Therefore, the above method for adjusting the screen brightness can cause the accuracy of the screen brightness set by the electronic device to be lower, so that the requirements of users on different screen brightness in complex environments cannot be met.
Disclosure of Invention
The embodiment of the invention provides a screen brightness adjusting method and electronic equipment, and aims to solve the problem that the prior art cannot meet the requirements of users on different screen brightness in a complex environment.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a screen brightness adjustment method applied to an electronic device, where the method may include:
acquiring current use information of a screen, wherein the current use information comprises a current brightness influence factor;
under the condition that the current brightness influence factor is matched with a manual regulation record stored in the electronic equipment in advance, the screen brightness is adjusted according to the target brightness value in the matched target manual regulation record;
wherein the current brightness impact factor comprises at least one of: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located and the information of the application program run by the foreground of the electronic equipment; the manual adjustment record includes a record associated with the current usage information.
In a second aspect, an embodiment of the present invention provides an electronic device, which may include:
the acquisition module is used for acquiring the current use information of the screen, wherein the current use information comprises a current brightness influence factor;
the processing module is used for adjusting the screen brightness according to the target brightness value in the matched target manual regulation record under the condition that the current brightness influence factor is matched with the manual regulation record prestored in the electronic equipment;
wherein the current brightness impact factor comprises at least one of: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located and the information of the application program run by the foreground of the electronic equipment; the manual adjustment record includes a record associated with the current usage information.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the screen brightness adjustment method according to the first aspect.
In a fourth aspect, there is provided a computer-readable storage medium having a computer program stored thereon, which, if the computer program is executed in a computer, causes the computer to execute the screen brightness adjustment method according to the first aspect.
In the embodiment of the present invention, under the condition that the obtained current brightness influence factor of the screen matches with a manual adjustment record pre-stored in the electronic device, the screen brightness is adjusted according to a target brightness value in the matched target manual adjustment record, where the current brightness influence factor includes at least one of the following contents: the distance value between the electronic equipment and a user, the environment information of the environment where the electronic equipment is located and the information of an application program run by the foreground of the electronic equipment; the manual adjustment record includes a record associated with the current usage information. Therefore, the screen brightness can be accurately adjusted, the requirements of a user on different screen brightness in a complex environment are met, the stimulation of screen light of the electronic equipment to eyes of the user is reduced, the times of manual brightness adjustment of the user can be reduced, and the user experience is improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a flowchart of a method for adjusting screen brightness according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for adjusting screen brightness based on a distance value and environmental information according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problems in the related art, embodiments of the present invention provide a method and an apparatus for adjusting screen brightness, an electronic device, and a storage medium, so as to solve the problem that the prior art cannot meet the requirements of users for different screen brightness in a complex environment.
Fig. 1 is a flowchart of a method for adjusting screen brightness according to an embodiment of the present invention.
As shown in fig. 1, the method for adjusting screen brightness may specifically include steps 110 to 120, where, first, in step 110, current usage information of a screen is obtained, where the current usage information includes a current brightness influence factor; next, in step 120, when the current brightness influence factor matches with the manual adjustment record pre-stored in the electronic device, the screen brightness is adjusted according to the target brightness value in the matched target manual adjustment record.
Wherein the current brightness impact factor comprises at least one of: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located and the information of the application program run by the foreground of the electronic equipment; the manual adjustment record includes a record associated with the current usage information.
Therefore, the screen brightness can be accurately adjusted, the stimulation of screen light of the electronic equipment to eyes of a user is reduced while the requirements of the user on different screen brightness in a complex environment are met, the times of manual brightness adjustment of the user can be reduced, and the user experience is improved.
The following is a detailed description of the above steps, and the specific contents are as follows:
first, referring to step 110, in a possible embodiment, the embodiments of the present invention respectively provide a manner how to obtain a current luminance influencing factor, which may specifically include:
(1) the current brightness impact factor comprises a distance value between the electronic device and the user, whereby the step of obtaining the distance value may comprise: under the condition that the change of the attitude information and/or the motion information of the electronic equipment is detected, the Time of flight (TOF) is utilized to obtain the distance value between the electronic equipment and the user.
Here, it should be noted that, in the embodiment of the present invention, when the user starts the function of automatically adjusting the screen brightness, based on the default ambient light intensity-screen brightness curve, the electronic device may preferentially adjust to an appropriate screen brightness according to the current ambient light intensity, and simultaneously start a motion sensor (such as an acceleration sensor, a gyroscope, or the like) in the electronic device, so as to detect the posture information and/or the motion information of the electronic device of the user, so as to determine when to start the TOF for distance detection, so as to detect the distance value between the electronic device and the face of the user. Therefore, the TOF detection distance value is started at a proper time by judging the attitude information and/or the motion information acquired by combining the motion sensor, so that the power consumption influence caused by the start of the TOF is reduced as much as possible.
(2) And under the condition that the current brightness influence factor comprises the environmental information of the environment where the electronic equipment is located, acquiring the intensity of the environmental light through a photosensitive sensor in the electronic equipment, or acquiring the intensity of the environmental light through an image shot by a camera in the electronic equipment. It should be noted that the environmental information may include the intensity of the ambient light.
(3) In the case that the current brightness influence factor includes information of an application program running in the foreground of the electronic device, information of screen brightness preferred by the user when the application program a runs in the foreground is recorded, for example, an identifier of the application program a may be associated with the screen brightness value.
Referring next to step 120, in one possible embodiment, the manual adjustment record includes a historical brightness impact factor based on the current usage information referred to in step 110, which may also include a current brightness value.
Thus, step 120 may specifically include: and under the condition that the current brightness influence factor is matched with the historical brightness influence factor, determining a target brightness value corresponding to the matched target historical brightness influence factor, and adjusting the current brightness value to be the target brightness value. Additionally, in another possible embodiment, the historical brightness impact factor includes at least one of: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located, and the information of the application program run by the foreground of the electronic equipment.
In this way, when the current brightness influence factor of the screen is acquired, the corresponding influence factor can be matched in the historical brightness influence factors so as to determine the target brightness value and adjust the screen brightness.
It should be noted that, in the embodiment of the present invention, a manner of recording manual adjustment records is provided, which is specifically as follows:
firstly, the electronic equipment can acquire behavior data of adjusting screen brightness by a user within a preset time period; and obtaining the user habit screen brightness value related to the user habit according to the behavior data.
For example, when the user in a certain environment feels that the screen brightness is not suitable and needs to be adjusted manually, the electronic device may record at least one of the following: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located, the information of the application program running in the foreground of the electronic equipment and the brightness value of the user habit screen finally dragged by the user are recorded, and therefore at least one manual regulation record is generated according to the recorded behavior data and stored locally.
The at least one manual adjustment record may include a manual adjustment record of a distance value, environment information, foreground-running application information, and a user-habit screen brightness value finally dragged by the user, or may include a manual adjustment record of a distance value, environment information, foreground-running application information, and a default screen brightness value before user adjustment. In this way, the user may be provided with a variety of options for selecting a more appropriate screen brightness. Therefore, the screen brightness of the electronic equipment is intelligently adjusted through the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located and the application program information operated by the foreground of the electronic equipment, and the defect that the screen brightness is adjusted by using a single parameter in the prior art can be effectively overcome. In addition, the method can cover different brightness requirements when the user views the screen at different distances or views different application programs, so that the problems that the eyes are uncomfortable and the screen brightness needs to be dragged manually due to the fact that the screen brightness is adjusted through a single parameter are solved.
In addition, in another possible embodiment, before adjusting the brightness of the screen, it may also be detected whether the brightness influence factor of the screen brightness only includes a distance value, and the specific steps are as follows:
and comparing the historical brightness influence factor with the current brightness influence factor, and detecting whether the brightness influence factor influencing the screen brightness only comprises the distance value. Next, under the condition that the brightness influence influencing the screen brightness only comprises a distance value, adjusting the current brightness value to be a target brightness value within a first preset time; under the condition that the brightness influence influencing the screen brightness is determined to comprise the distance value and the first information, the current brightness value is adjusted to be the target brightness value within second preset time; the first preset time is longer than the second preset time, and the first information comprises environment information and/or application information operated by the foreground of the electronic equipment.
In practical applications, in order to ensure that the manual adjustment record is in a state of being updated at any time, after step 120, the embodiment of the present invention may further include associating the current brightness influence factor with the target brightness value and/or the current brightness value to generate a new manual adjustment record; the new manual adjustment record is stored in the electronic device.
In summary, in the embodiments of the present invention, the screen brightness is intelligently adjusted from the current brightness value to the target brightness value according to the distance value between the electronic device and the user, the environment information of the environment where the electronic device is located, and the application information running in the foreground of the electronic device. Therefore, the screen brightness can be accurately adjusted, the requirements of a user on different screen brightness in a complex environment are met, the stimulation of screen light of the electronic equipment to eyes of the user is reduced, the times of manual brightness adjustment of the user can be reduced, and the user experience is improved.
In order to facilitate understanding of the method provided by the embodiment of the present invention, based on the above contents, the following takes determining the target brightness value of the screen according to the distance value, the environment information, and the information of the application program running in the foreground as an example, and the method for adjusting the screen brightness provided by the embodiment of the present invention is exemplified.
Fig. 2 is a flowchart of a method for adjusting screen brightness based on a distance value and environmental information according to an embodiment of the present invention.
As shown in fig. 2, the method may include steps 210-240, as follows:
step 210, obtaining the current brightness influence factor in the current usage information.
Here, the current luminance influence factor includes a distance value between the electronic device and the user and environmental information of an environment in which the electronic device is located.
In the embodiment of the present invention, the distance value between the electronic device and the user may be obtained by using the time difference of flight TOF.
In one possible embodiment, the method comprises the steps of receiving input of a user for starting an automatic screen brightness adjusting function of the electronic equipment; in response to the input, motion sensor detection is initiated to determine whether the pose information and/or the motion information has changed. And under the condition that the change of the attitude information and/or the motion information of the electronic equipment is detected, acquiring a distance value between the electronic equipment and a user by using the time difference of flight TOF.
Wherein, whether the attitude information and the motion information change can be determined by the following method, which specifically includes:
firstly, an acceleration sensor is started to circularly detect the attitude information of the electronic equipment. When the screen of the electronic equipment is detected to face downwards, leftwards or rightwards, the user is considered to be possible to use the electronic equipment in a prone position, so that the electronic equipment is close to the face of the user, and at the moment, the feeling of the user on the screen brightness is influenced to a greater extent. Then, the gyroscope and other sensors are turned on, and the motion information of the electronic device is detected in combination with the acceleration sensor. After the electronic equipment is detected to translate and rotate to a certain degree, the distance between the electronic equipment and the user is considered to possibly change, therefore, the distance value between the electronic equipment and the user can be obtained by utilizing the time difference of flight TOF, and the distance value is used as a current brightness influence factor to participate in adjusting the screen brightness.
Of course, if it is not detected that the screen of the electronic device faces downward, leftward or rightward, the distance between the electronic device and the user is not changed, step 220 may be directly performed without using the TOF to obtain the distance value between the electronic device and the user, so that the detection frequency of the TOF may be reduced, and power consumption may be controlled.
In addition, the environment information can be acquired under the condition that the target factors influencing the screen brightness are detected.
Here, the target factor includes at least one of the following information:
(a) a factor of a change in the intensity of ambient light at a location where the electronic device is located.
For example, the ambient light intensity may be changed by a certain program, exceeding the automatically adjusted variable light or dim light intensity threshold.
(b) And changing the application program operated in the foreground of the electronic equipment.
For example, when an application running in the foreground of the electronic device is detected to change from a to B, the required ambient light intensity may also be different due to the difference between the applications running in the foreground.
(c) The factor by which the distance value changes.
Based on the above, the distance between the face of the user and the electronic device changes and is greater than a preset threshold.
Therefore, based on the above 3 possibilities, if at least one of the possibilities is changed, it is considered that the current brightness influence factor influencing the screen brightness perception of the user is changed, and the screen brightness needs to be readjusted to adapt to the user requirement.
Step 220, determining a target brightness value corresponding to the matched target historical brightness influence factor.
In a possible embodiment, if no manual adjustment record is locally stored, that is, the target brightness value is a preset brightness value, that is, a null value, the target brightness value is determined according to a mapping relationship between the preset ambient light intensity and the screen brightness, the distance value, and the environmental information.
On the contrary, in another possible embodiment, if the manual adjustment record is locally stored, the currently acquired distance value and the environment information are matched with the manual adjustment record pre-stored in the electronic device. The specific matching method can be as follows:
firstly, detecting the current brightness influence factor to be matched with the manual regulation record, and determining whether new data exists in the current brightness influence factor.
For example: in case the first distance value 10 and the first ambient light intensity 20 in the ambient information are included in the current brightness impact factor and the second distance value 10 and the second ambient light intensity 22 in the recording are manually adjusted, it is determined that there is new data in the current brightness impact factor.
Next, in case the first difference 2 between the first ambient light intensity 20 and the second ambient light intensity 22 satisfies a first preset condition, it is determined that the current brightness factor matches a pre-stored manual adjustment record.
For example: in case of new data input, the degree of matching of the first distance value with the second distance value and the first ambient light intensity with the second ambient light intensity is checked. And when the first difference is detected to be within m, determining that the current brightness factor is matched with a pre-stored manual adjustment record. Wherein m is a number greater than 0.
Otherwise, if the first difference is not within m, determining that the current brightness factor is not matched with the pre-stored manual adjustment record.
In addition, on the premise that the current brightness influence factor is detected and matched with the manual regulation record and no new data exists in the current brightness influence factor, the target brightness value in the record is manually regulated according to the matched target.
It should be noted that the first preset condition, such as m, mentioned above can be dynamically adjusted for the following reasons:
when the user uses the same application program, when the two distance values with the first difference value larger than m are dragged to the similar brightness value, the brightness difference felt by the user at the two distances is considered to be not large, and the m value can be increased properly. On the contrary, at a distance where the first difference is smaller than m, if the difference between the two dragged luminances is large, the value of m is appropriately reduced.
In step 230, it is detected whether the brightness influence factor influencing the screen brightness only includes a distance value.
And 240, manually adjusting the brightness value of the target in the record according to the matched target, and adjusting the brightness of the screen.
In the case where it is determined that the luminance influence affecting the screen luminance includes only the distance value, the current luminance value is adjusted to the target luminance value within the first preset time. On the contrary, in the case that it is determined that the luminance influence affecting the screen luminance includes the distance value and the first information, the current luminance value is adjusted to the target luminance value within a second preset time.
The first preset time is longer than the second preset time, and the first information comprises environment information.
Here, if the brightness adjustment is only affected by the distance value, the screen brightness is set at a relatively slow fade rate so as not to be obtrusive as the user easily perceives the sudden change in brightness.
Therefore, when the environment information where the user is located changes or switches to another application program, the screen brightness may need to be readjusted. And matching the current environment information and the distance value with the manual adjustment record, and adjusting the screen brightness according to the target brightness value in the matched target manual adjustment record under the condition that the current brightness influence factor is matched with the manual adjustment record prestored in the electronic equipment. Otherwise, if the matching fails, the automatic brightness adjustment is carried out only according to the current environment information and the distance value.
The method realizes the function of intelligently adjusting the screen brightness by combining the distance value between the face of the user and the electronic equipment and the environmental information, can reduce the times of dragging the brightness by the user, improves the use experience, reduces the TOF detection frequency as far as possible on the basis, and controls the power consumption.
Based on the above screen brightness adjustment method, an embodiment of the present invention further provides an electronic device, which is described in detail below with reference to fig. 3.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
As shown in fig. 3, the electronic device 30 may specifically include:
an obtaining module 301, configured to obtain current usage information of the screen, where the current usage information includes a current brightness influence factor.
And the processing module 302 is configured to, when the current luminance impact factor matches a manual adjustment record pre-stored in the electronic device, adjust the screen luminance according to a target luminance value in the matched target manual adjustment record.
Wherein the current brightness impact factor comprises at least one of: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located and the information of the application program run by the foreground of the electronic equipment; the manual adjustment record includes a record associated with the current usage information.
Specifically, the obtaining module 301 in the embodiment of the present invention is specifically configured to, when detecting that the posture information and/or the motion information of the electronic device changes, obtain a target distance between the electronic device and the user by using the time difference of flight TOF.
In a possible embodiment, the current usage information further comprises a current brightness value and the manual adjustment record comprises a historical brightness impact factor. Based on this, the processing module 302 is specifically configured to, in a case that the current luminance influencing factor matches the historical luminance influencing factor, determine a target luminance value corresponding to the matched target historical luminance influencing factor, and adjust the current luminance value to the target luminance value.
In addition, the electronic device 30 in the embodiment of the present invention further includes a detecting module 303, configured to compare the historical luminance influencing factor with the current luminance influencing factor, and detect whether the luminance influencing factor influencing the screen luminance only includes the distance value.
Based on this, the processing module 302 in this embodiment of the present invention is specifically configured to, in a case that it is determined that the brightness influence factor influencing the screen brightness only includes the distance value, adjust the current brightness value to the target brightness value within the first preset time. And in the case that it is determined that the brightness influence factor influencing the screen brightness includes the distance value and the first information, adjusting the current brightness value to the target brightness value within a second preset time.
The first preset time is longer than the second preset time, and the first information comprises environment information and/or application information operated by the foreground of the electronic equipment.
In addition, the electronic device 30 in the embodiment of the present invention further includes a storage module 304, configured to associate the current brightness influence factor with the target brightness value and/or the current brightness value, and generate a new manual adjustment record; the new manual adjustment record is stored in the electronic device.
In summary, in the embodiment of the present invention, when the obtained current luminance impact factor of the screen matches a manual adjustment record stored in the electronic device in advance, the screen luminance is adjusted according to a target luminance value in the matched target manual adjustment record, where the current luminance impact factor includes at least one of the following contents: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located and the information of the application program run by the foreground of the electronic equipment; the manual adjustment record includes a record associated with the current usage information. Therefore, the screen brightness can be accurately adjusted, the stimulation of screen light of the electronic equipment to eyes of a user is reduced while the requirements of the user on different screen brightness in a complex environment are met, the times of manual brightness adjustment of the user can be reduced, and the user experience is improved.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
The electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 410 is configured to obtain current usage information of the screen, where the current usage information includes a current brightness influence factor.
The processor 410 is further configured to, in a case where the current brightness influence factor matches a manual adjustment record stored in the electronic device in advance, adjust the screen brightness according to a target brightness value in the matched target manual adjustment record.
Wherein the current brightness impact factor comprises at least one of: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located and the information of the application program run by the foreground of the electronic equipment; the manual adjustment record includes a record associated with the current usage information.
Therefore, the screen brightness can be accurately adjusted, the stimulation of screen light of the electronic equipment to eyes of a user is reduced while the requirements of the user on different screen brightness in a complex environment are met, the times of manual brightness adjustment of the user can be reduced, and the user experience is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and transmitting signals during a message transmission or a call. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 403 may convert an audio resource received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes an image resource of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 407. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound and be capable of processing such sound into an audio asset. The processed audio resources may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The electronic device 400 also includes at least one sensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the electronic apparatus 400 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 408 is an interface for connecting an external device to the electronic apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless resource port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., resource information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 400 or may be used to transmit resources between the electronic apparatus 400 and the external device.
The memory 409 may be used to store software programs as well as various resources. The memory 409 may mainly include a storage program area and a storage resource area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage resource area may store resources (such as audio resources, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions and processing resources of the electronic device by running or executing software programs and/or modules stored in the memory 409 and calling resources stored in the memory 409, thereby performing overall monitoring of the electronic device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The electronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 400 includes some functional modules that are not shown, and are not described in detail herein.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed in a computer, the computer is caused to execute the step of adjusting the screen brightness according to the embodiments of the present invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (6)

1. A screen brightness adjusting method is applied to electronic equipment and is characterized by comprising the following steps:
acquiring current use information of a screen, wherein the current use information comprises a current brightness influence factor;
under the condition that the current brightness influence factor is matched with a manual regulation record prestored in the electronic equipment, the screen brightness is adjusted according to a target brightness value in the matched target manual regulation record;
wherein the current brightness impact factor comprises at least one of: the distance value between the electronic equipment and a user, the environment information of the environment where the electronic equipment is located and the information of an application program run by the foreground of the electronic equipment; the manual adjustment record comprises a record associated with the current usage information;
the current use information further comprises a current brightness value, and the manual adjustment record comprises a historical brightness influence factor;
when the current brightness influence factor is matched with a manual adjustment record pre-stored in the electronic device, adjusting the screen brightness according to a target brightness value corresponding to the matched target manual adjustment record, including:
under the condition that the current brightness influence factor is matched with the historical brightness influence factor, determining a target brightness value corresponding to the matched target historical brightness influence factor, and adjusting the current brightness value to the target brightness value;
before the adjusting the screen brightness, the method further comprises:
comparing the historical brightness influence factor with the current brightness influence factor, and detecting whether the brightness influence factor influencing the screen brightness only comprises the distance value;
the adjusting the screen brightness comprises:
adjusting the current brightness value to a target brightness value within a first preset time under the condition that the brightness influence influencing the screen brightness is determined to only comprise the distance value;
under the condition that the brightness influence influencing the screen brightness is determined to comprise the distance value and the first information, the current brightness value is adjusted to be the target brightness value within a second preset time;
the first preset time is longer than the second preset time, and the first information comprises the environment information and/or application information operated by the foreground of the electronic equipment.
2. The method of claim 1, wherein after the adjusting the screen brightness, the method further comprises:
associating the current brightness impact factor with the target brightness value and/or the current brightness value to generate a new manual adjustment record;
storing the new manual adjustment record in the electronic device.
3. The method of claim 1, wherein obtaining current usage information of the screen comprises:
and under the condition that the change of the attitude information and/or the motion information of the electronic equipment is detected, acquiring the target distance between the electronic equipment and a user by using the time difference of flight (TOF).
4. An electronic device, comprising:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring current use information of a screen, and the current use information comprises a current brightness influence factor;
the processing module is used for adjusting the screen brightness according to the target brightness value in the matched target manual regulation record under the condition that the current brightness influence factor is matched with the manual regulation record prestored in the electronic equipment;
wherein the current brightness impact factor comprises at least one of: the distance value between the electronic equipment and a user, the environment information of the environment where the electronic equipment is located and the information of an application program run by the foreground of the electronic equipment; the manual adjustment record comprises a record associated with the current usage information;
the current use information further comprises a current brightness value, and the manual adjustment record comprises a historical brightness influence factor;
the processing module is specifically configured to, in a case that the current luminance impact factor matches the historical luminance impact factor, determine a target luminance value corresponding to the matched target historical luminance impact factor, and adjust the current luminance value to the target luminance value;
the electronic equipment further comprises a detection module, which is used for comparing the historical brightness influence factor with the current brightness influence factor and detecting whether the brightness influence factor influencing the screen brightness only comprises the distance value;
the processing module is specifically configured to, in a case that it is determined that a brightness influence factor that influences the screen brightness only includes the distance value, adjust the current brightness value to a target brightness value within a first preset time;
under the condition that the brightness influence factor influencing the screen brightness is determined to comprise the distance value and the first information, the current brightness value is adjusted to be the target brightness value within second preset time;
the first preset time is longer than the second preset time, and the first information comprises the environment information and/or application information operated by the foreground of the electronic equipment.
5. The electronic device of claim 4, further comprising a storage module configured to associate the current brightness impact factor with the target brightness value and/or the current brightness value, and generate a new manual adjustment record; storing the new manual adjustment record in the electronic device.
6. The electronic device according to claim 4, wherein the obtaining module is specifically configured to obtain the target distance between the electronic device and the user by using the time difference of flight TOF when detecting that the posture information and/or the motion information of the electronic device changes.
CN202010184996.1A 2020-03-17 2020-03-17 Screen brightness adjusting method and electronic equipment Active CN111261128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010184996.1A CN111261128B (en) 2020-03-17 2020-03-17 Screen brightness adjusting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010184996.1A CN111261128B (en) 2020-03-17 2020-03-17 Screen brightness adjusting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111261128A CN111261128A (en) 2020-06-09
CN111261128B true CN111261128B (en) 2021-07-06

Family

ID=70955067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010184996.1A Active CN111261128B (en) 2020-03-17 2020-03-17 Screen brightness adjusting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111261128B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835545B (en) * 2021-02-09 2022-06-14 珠海格力电器股份有限公司 Screen control method, device, equipment and storage medium
CN114582264A (en) * 2022-02-25 2022-06-03 Tcl通讯科技(成都)有限公司 Display brightness control method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105405427A (en) * 2015-12-04 2016-03-16 小米科技有限责任公司 Facility brightness adjustment method and device
CN106055072A (en) * 2016-05-31 2016-10-26 北京金山安全软件有限公司 Screen brightness adjusting method and device and terminal equipment
CN107507602A (en) * 2017-09-22 2017-12-22 深圳天珑无线科技有限公司 Screen intensity Automatic adjustment method, terminal and storage medium
CN107831891A (en) * 2017-10-31 2018-03-23 维沃移动通信有限公司 A kind of brightness adjusting method and mobile terminal
CN109427317A (en) * 2017-08-31 2019-03-05 中兴通讯股份有限公司 Screen brightness control method, device, terminal and computer readable storage medium
CN109785815A (en) * 2019-03-29 2019-05-21 维沃移动通信有限公司 A kind of screen luminance adjustment method and mobile terminal
CN109951596A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Adjusting method, device, storage medium and the mobile terminal of screen intensity
CN109951594A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Intelligent adjusting method, device, storage medium and the mobile terminal of screen intensity

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105405427A (en) * 2015-12-04 2016-03-16 小米科技有限责任公司 Facility brightness adjustment method and device
CN106055072A (en) * 2016-05-31 2016-10-26 北京金山安全软件有限公司 Screen brightness adjusting method and device and terminal equipment
CN109427317A (en) * 2017-08-31 2019-03-05 中兴通讯股份有限公司 Screen brightness control method, device, terminal and computer readable storage medium
CN107507602A (en) * 2017-09-22 2017-12-22 深圳天珑无线科技有限公司 Screen intensity Automatic adjustment method, terminal and storage medium
CN107831891A (en) * 2017-10-31 2018-03-23 维沃移动通信有限公司 A kind of brightness adjusting method and mobile terminal
CN109951596A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Adjusting method, device, storage medium and the mobile terminal of screen intensity
CN109951594A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Intelligent adjusting method, device, storage medium and the mobile terminal of screen intensity
CN109785815A (en) * 2019-03-29 2019-05-21 维沃移动通信有限公司 A kind of screen luminance adjustment method and mobile terminal

Also Published As

Publication number Publication date
CN111261128A (en) 2020-06-09

Similar Documents

Publication Publication Date Title
CN108182019B (en) Suspension control display processing method and mobile terminal
CN108628515B (en) Multimedia content operation method and mobile terminal
CN109814786B (en) Image storage method and terminal equipment
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN108762877B (en) Control method of mobile terminal interface and mobile terminal
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN109558046B (en) Information display method and terminal equipment
CN108196753B (en) Interface switching method and mobile terminal
CN110825295B (en) Application program control method and electronic equipment
CN111147919A (en) Play adjustment method, electronic equipment and computer readable storage medium
CN110933494A (en) Picture sharing method and electronic equipment
CN111443815A (en) Vibration reminding method and electronic equipment
CN110764675A (en) Control method and electronic equipment
CN111143002A (en) Application sharing method, electronic equipment and computer readable storage medium
CN108984145B (en) Brightness adjusting method and electronic equipment
CN111142679A (en) Display processing method and electronic equipment
CN108174110B (en) Photographing method and flexible screen terminal
CN111510623B (en) Shooting method and electronic equipment
CN111261128B (en) Screen brightness adjusting method and electronic equipment
CN111061446A (en) Display method and electronic equipment
CN108540642B (en) Mobile terminal and operation method thereof
CN107729100B (en) Interface display control method and mobile terminal
CN111061407B (en) Video program operation control method, electronic device, and storage medium
CN109739430B (en) Display method and mobile terminal
CN109597546B (en) Icon processing method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant