Movatterモバイル変換


[0]ホーム

URL:


CN111261128B - Screen brightness adjustment method and electronic device - Google Patents

Screen brightness adjustment method and electronic device
Download PDF

Info

Publication number
CN111261128B
CN111261128BCN202010184996.1ACN202010184996ACN111261128BCN 111261128 BCN111261128 BCN 111261128BCN 202010184996 ACN202010184996 ACN 202010184996ACN 111261128 BCN111261128 BCN 111261128B
Authority
CN
China
Prior art keywords
brightness
current
electronic device
screen
information
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 LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN202010184996.1ApriorityCriticalpatent/CN111261128B/en
Publication of CN111261128ApublicationCriticalpatent/CN111261128A/en
Application grantedgrantedCritical
Publication of CN111261128BpublicationCriticalpatent/CN111261128B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例公开了一种屏幕亮度调整方法及电子设备,该方法可以包括获取屏幕的当前使用信息,当前使用信息包括当前亮度影响因子;在当前亮度影响因子与电子设备中预先存储的手动调节记录匹配的情况下,根据匹配到的目标手动调节记录中的目标亮度值,调整屏幕亮度;其中,当前亮度影响因子包括以下内容中的至少一项:电子设备与用户之间的距离值、电子设备所处环境的环境信息、电子设备前台运行的应用程序信息;手动调节记录包括与当前使用信息相关联的记录。以解决现有技术无法满足复杂环境下用户对不同屏幕亮度的需求的问题。

Figure 202010184996

The embodiment of the present invention discloses a screen brightness adjustment method and an electronic device. The method may include acquiring current usage information of the screen, where the current usage information includes a current brightness influence factor; the current brightness influence factor and the manual adjustment pre-stored in the electronic device In the case of matching records, manually adjust the target brightness value in the record according to the matched target, and adjust the screen brightness; wherein, the current brightness influence factor includes at least one of the following: the distance value between the electronic device and the user, the electronic device Environmental information of the environment where the device is located, and application program information running in the foreground of the electronic device; manual adjustment records include records associated with current usage information. In order to solve the problem that the existing technology cannot meet the user's demand for different screen brightness in a complex environment.

Figure 202010184996

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 includesteps 110 to 120, where, first, instep 110, current usage information of a screen is obtained, where the current usage information includes a current brightness influence factor; next, instep 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 tostep 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 tostep 120, in one possible embodiment, the manual adjustment record includes a historical brightness impact factor based on the current usage information referred to instep 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, afterstep 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.
Instep 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, theelectronic device 30 may specifically include:
an obtainingmodule 301, configured to obtain current usage information of the screen, where the current usage information includes a current brightness influence factor.
And theprocessing 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 obtainingmodule 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, theprocessing 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, theelectronic device 30 in the embodiment of the present invention further includes a detectingmodule 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, theprocessing 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, theelectronic device 30 in the embodiment of the present invention further includes astorage 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.
Theelectronic 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, andpower 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, theprocessor 410 is configured to obtain current usage information of the screen, where the current usage information includes a current brightness influence factor.
Theprocessor 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, theradio 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, theradio 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 thenetwork module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
Theaudio output unit 403 may convert an audio resource received by theradio frequency unit 401 or thenetwork module 402 or stored in thememory 409 into an audio signal and output as sound. Also, theaudio 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.). Theaudio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
Theinput unit 404 is used to receive audio or video signals. Theinput Unit 404 may include a Graphics Processing Unit (GPU) 4041 and amicrophone 4042, and theGraphics 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 thedisplay unit 407. The image frames processed by thegraphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via theradio frequency unit 401 or thenetwork module 402. Themicrophone 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 theradio frequency unit 401 in case of the phone call mode.
Theelectronic device 400 also includes at least onesensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of thedisplay panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off thedisplay panel 4061 and/or the backlight when theelectronic 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); thesensors 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.
Thedisplay unit 406 is used to display information input by the user or information provided to the user. TheDisplay unit 406 may include aDisplay panel 4061, and theDisplay panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Theuser 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, theuser input unit 407 includes atouch panel 4071 andother 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 neartouch panel 4071 using a finger, a stylus, or any suitable object or attachment). Thetouch 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 theprocessor 410, receives a command from theprocessor 410, and executes the command. In addition, thetouch 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 thetouch panel 4071, theuser input unit 407 may includeother input devices 4072. Specifically, theother 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, thetouch panel 4071 can be overlaid on thedisplay panel 4061, and when thetouch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to theprocessor 410 to determine the type of the touch event, and then theprocessor 410 provides a corresponding visual output on thedisplay panel 4061 according to the type of the touch event. Although in fig. 4, thetouch panel 4071 and thedisplay panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, thetouch panel 4071 and thedisplay panel 4061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
Theinterface unit 408 is an interface for connecting an external device to theelectronic 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. Theinterface 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 theelectronic apparatus 400 or may be used to transmit resources between theelectronic apparatus 400 and the external device.
Thememory 409 may be used to store software programs as well as various resources. Thememory 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, thememory 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.
Theprocessor 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 thememory 409 and calling resources stored in thememory 409, thereby performing overall monitoring of the electronic device.Processor 410 may include one or more processing units; preferably, theprocessor 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 theprocessor 410.
Theelectronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, thepower supply 411 may be logically connected to theprocessor 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, theelectronic 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)

Translated fromChinese
1.一种屏幕亮度调整方法,应用于电子设备,其特征在于,包括:1. A screen brightness adjustment method, applied to electronic equipment, is characterized in that, comprising:获取屏幕的当前使用信息,所述当前使用信息包括当前亮度影响因子;Obtain current usage information of the screen, where the current usage information includes the current brightness impact factor;在所述当前亮度影响因子与所述电子设备中预先存储的手动调节记录匹配的情况下,根据匹配到的目标手动调节记录中的目标亮度值,调整屏幕亮度;Under the condition that the current brightness influence factor matches the manual adjustment record pre-stored in the electronic device, adjust the screen brightness according to the target brightness value in the matched target manual adjustment record;其中,所述当前亮度影响因子包括以下内容中的至少一项:所述电子设备与用户之间的距离值、所述电子设备所处环境的环境信息、所述电子设备前台运行的应用程序信息;所述手动调节记录包括与所述当前使用信息相关联的记录;Wherein, the current brightness influencing factor includes at least one of the following contents: a distance value between the electronic device and the user, environmental information of the environment where the electronic device is located, and application program information running in the foreground of the electronic device ; the manual adjustment records include records associated with the current usage information;所述当前使用信息还包括当前亮度值,所述手动调节记录包括历史亮度影响因子;The current usage information further includes a current brightness value, and the manual adjustment record includes a historical brightness influence factor;所述在所述当前亮度影响因子与所述电子设备中预先存储的手动调节记录匹配的情况下,根据匹配到的目标手动调节记录对应的目标亮度值,调整屏幕亮度,包括:When the current brightness influencing factor matches the manual adjustment record pre-stored in the electronic device, adjusting the screen brightness according to the target brightness value corresponding to the matched target manual adjustment record, including:在所述当前亮度影响因子与所述历史亮度影响因子匹配的情况下,确定与匹配到的目标历史亮度影响因子对应的目标亮度值,且将所述当前亮度值调整为所述目标亮度值;In the case that the current luminance influence factor matches the historical luminance influence factor, determining a target luminance value corresponding to the matched target historical luminance influence factor, and adjusting the current luminance value to the target luminance value;在所述调整屏幕亮度之前,所述方法还包括:Before adjusting the screen brightness, the method further includes:将所述历史亮度影响因子与所述当前亮度影响因子进行比较,检测影响屏幕亮度的亮度影响因子是否仅包括所述距离值;comparing the historical brightness influence factor with the current brightness influence factor, and detecting whether the brightness influence factor affecting screen brightness only includes the distance value;所述调整屏幕亮度,包括:The adjusting screen brightness includes:在确定影响屏幕亮度的亮度影响仅包括所述距离值的情况下,在第一预设时间内将所述当前亮度值调整为目标亮度值;Adjusting the current brightness value to a target brightness value within a first preset time when it is determined that the brightness effect affecting the brightness of the screen only includes the distance value;在确定影响屏幕亮度的亮度影响包括所述距离值和第一信息的情况下,在第二预设时间内将所述当前亮度值调整为目标亮度值;Adjusting the current brightness value to a target brightness value within a second preset time when it is determined that the brightness effect affecting the screen brightness includes the distance value and the first information;其中,所述第一预设时间大于所述第二预设时间,所述第一信息包括所述环境信息和/或所述电子设备前台运行的应用程序信息。Wherein, the first preset time is greater than the second preset time, and the first information includes the environment information and/or the application program information running in the foreground of the electronic device.2.根据权利要求1所述的方法,其特征在于,在所述调整屏幕亮度之后,所述方法还包括:2. The method according to claim 1, wherein after adjusting the screen brightness, the method further comprises:将所述当前亮度影响因子与所述目标亮度值和/或所述当前亮度值相关联,生成新的手动调节记录;associating the current brightness influence factor with the target brightness value and/or the current brightness value, and generating a new manual adjustment record;将所述新的手动调节记录存储到所述电子设备中。The new manual adjustment record is stored in the electronic device.3.根据权利要求1所述的方法,其特征在于,所述获取屏幕的当前使用信息,包括:3. The method according to claim 1, wherein the acquiring the current usage information of the screen comprises:在检测到所述电子设备的姿态信息和\或运动信息发生变化的情况下,利用飞行时差TOF获取所述电子设备与用户之间的目标距离。In the case of detecting that the attitude information and/or motion information of the electronic device changes, the time-of-flight difference TOF is used to obtain the target distance between the electronic device and the user.4.一种电子设备,其特征在于,包括:4. An electronic device, characterized in that, comprising:获取模块,用于获取屏幕的当前使用信息,所述当前使用信息包括当前亮度影响因子;an acquisition module, configured to acquire current usage information of the screen, where the current usage information includes the current brightness influence factor;处理模块,用于在所述当前亮度影响因子与所述电子设备中预先存储的手动调节记录匹配的情况下,根据匹配到的目标手动调节记录中的目标亮度值,调整屏幕亮度;a processing module, configured to adjust the screen brightness according to the target brightness value in the manual adjustment record according to the matched target when the current brightness influence factor matches the manual adjustment record pre-stored in the electronic device;其中,所述当前亮度影响因子包括以下内容中的至少一项:所述电子设备与用户之间的距离值、所述电子设备所处环境的环境信息、所述电子设备前台运行的应用程序信息;所述手动调节记录包括与所述当前使用信息相关联的记录;Wherein, the current brightness influencing factor includes at least one of the following contents: a distance value between the electronic device and the user, environmental information of the environment where the electronic device is located, and application program information running in the foreground of the electronic device ; the manual adjustment records include records associated with the current usage information;所述当前使用信息还包括当前亮度值,所述手动调节记录包括历史亮度影响因子;The current usage information further includes a current brightness value, and the manual adjustment record includes a historical brightness influence factor;所述处理模块具体用于,在所述当前亮度影响因子与所述历史亮度影响因子匹配的情况下,确定与匹配到的目标历史亮度影响因子对应的目标亮度值,且将所述当前亮度值调整为所述目标亮度值;The processing module is specifically configured to determine a target brightness value corresponding to the matched target historical brightness impact factor when the current brightness impact factor matches the historical brightness impact factor, and use the current brightness value Adjust to the target brightness value;所述电子设备还包括检测模块,用于将所述历史亮度影响因子与所述当前亮度影响因子进行比较,检测影响屏幕亮度的亮度影响因子是否仅包括所述距离值;The electronic device further includes a detection module configured to compare the historical brightness influence factor with the current brightness influence factor, and detect whether the brightness influence factor affecting the screen brightness only includes the distance value;所述处理模块具体用于,在确定影响屏幕亮度的亮度影响因子仅包括所述距离值的情况下,在第一预设时间内将所述当前亮度值调整为目标亮度值;The processing module is specifically configured to adjust the current brightness value to a target brightness value within a first preset time when it is determined that the brightness influencing factor affecting the brightness of the screen only includes the distance value;在确定影响屏幕亮度的亮度影响因子包括所述距离值和第一信息的情况下,在第二预设时间内将所述当前亮度值调整为目标亮度值;Adjusting the current brightness value to the target brightness value within a second preset time when it is determined that the brightness influencing factor affecting the brightness of the screen includes the distance value and the first information;其中,所述第一预设时间大于所述第二预设时间,所述第一信息包括所述环境信息和/或所述电子设备前台运行的应用程序信息。Wherein, the first preset time is greater than the second preset time, and the first information includes the environment information and/or the application program information running in the foreground of the electronic device.5.根据权利要求4所述的电子设备,其特征在于,所述电子设备还包括存储模块,用于将所述当前亮度影响因子与所述目标亮度值和/或所述当前亮度值相关联,生成新的手动调节记录;将所述新的手动调节记录存储到所述电子设备中。5. The electronic device according to claim 4, wherein the electronic device further comprises a storage module for associating the current brightness influencing factor with the target brightness value and/or the current brightness value , generate a new manual adjustment record; store the new manual adjustment record in the electronic device.6.根据权利要求4所述的电子设备,其特征在于,所述获取模块具体用于,在检测到所述电子设备的姿态信息和\或运动信息发生变化的情况下,利用飞行时差TOF获取所述电子设备与用户之间的目标距离。6. electronic equipment according to claim 4, is characterized in that, described acquisition module is specifically used for, under the situation that the attitude information and/or motion information that detects described electronic equipment changes, utilize time-of-flight TOF acquisition The target distance between the electronic device and the user.
CN202010184996.1A2020-03-172020-03-17 Screen brightness adjustment method and electronic deviceActiveCN111261128B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010184996.1ACN111261128B (en)2020-03-172020-03-17 Screen brightness adjustment method and electronic device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010184996.1ACN111261128B (en)2020-03-172020-03-17 Screen brightness adjustment method and electronic device

Publications (2)

Publication NumberPublication Date
CN111261128A CN111261128A (en)2020-06-09
CN111261128Btrue CN111261128B (en)2021-07-06

Family

ID=70955067

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010184996.1AActiveCN111261128B (en)2020-03-172020-03-17 Screen brightness adjustment method and electronic device

Country Status (1)

CountryLink
CN (1)CN111261128B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112835545B (en)*2021-02-092022-06-14珠海格力电器股份有限公司Screen control method, device, equipment and storage medium
CN114582264B (en)*2022-02-252025-03-11Tcl通讯科技(成都)有限公司 Display brightness control method, device, electronic device and storage medium

Citations (8)

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

Patent Citations (8)

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

Also Published As

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

Similar Documents

PublicationPublication DateTitle
EP4047940A1 (en)Screencast control method and electronic device
CN108182019B (en)Suspension control display processing method and mobile terminal
CN110209313B (en) Icon moving method and terminal device
CN111026484A (en)Application sharing method, first electronic device and computer-readable storage medium
CN110109604B (en) Application interface display method and mobile terminal
CN109343788B (en) A kind of operation control method of mobile terminal and mobile terminal
CN111147919A (en) A playback adjustment method, electronic device and computer-readable storage medium
CN108762877B (en) A kind of control method of mobile terminal interface and mobile terminal
CN110825295B (en) Application control method and electronic device
CN109710150B (en)Key control method and terminal
CN111143002A (en)Application sharing method, electronic equipment and computer readable storage medium
WO2021068885A1 (en)Control method and electronic device
CN111125800B (en)Icon display method and electronic equipment
CN108196753B (en)Interface switching method and mobile terminal
WO2019169991A1 (en)Display method and mobile terminal
CN111142679A (en) A display processing method and electronic device
CN111061446A (en) A display method and electronic device
CN108984145B (en)Brightness adjusting method and electronic equipment
CN107967418B (en)Face recognition method and mobile terminal
CN107729100B (en) A kind of interface display control method and mobile terminal
CN111261128B (en) Screen brightness adjustment method and electronic device
CN108021315B (en) A control method and mobile terminal
CN111061407B (en)Video program operation control method, electronic device, and storage medium
CN111352566B (en)Parameter adjusting method and electronic equipment
CN110519544B (en) A video call method and electronic device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp