CN110970003A - Screen brightness adjusting method and device, electronic equipment and storage medium - Google Patents

Screen brightness adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110970003A
CN110970003A CN201911345147.3A CN201911345147A CN110970003A CN 110970003 A CN110970003 A CN 110970003A CN 201911345147 A CN201911345147 A CN 201911345147A CN 110970003 A CN110970003 A CN 110970003A
Authority
CN
China
Prior art keywords
data
brightness
screen brightness
environment
electronic equipment
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.)
Pending
Application number
CN201911345147.3A
Other languages
Chinese (zh)
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 CN201911345147.3A priority Critical patent/CN110970003A/en
Publication of CN110970003A publication Critical patent/CN110970003A/en
Pending legal-status Critical Current

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, a screen brightness adjusting device, electronic equipment and a storage medium, wherein the method comprises the steps of obtaining environment brightness data and posture data of the environment where the electronic equipment is located, wherein the environment brightness data comprise environment light intensity values of a plurality of directions on the electronic equipment; determining a target brightness value according to the environment brightness data and the attitude data; and adjusting the screen brightness of the electronic equipment to a target brightness value. 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 device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a screen brightness adjusting method and device, electronic equipment and a storage medium.
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 device, electronic equipment and a storage medium, 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 technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for adjusting screen brightness, where the method may include:
acquiring environment brightness data and posture data of an environment where the electronic equipment is located, wherein the environment brightness data comprise environment light intensity values of a plurality of directions on the electronic equipment;
determining a target brightness value according to the environment brightness data and the attitude data;
and adjusting the screen brightness of the electronic equipment to a target brightness value.
In a second aspect, an embodiment of the present invention provides a screen brightness adjusting apparatus, which may include:
the electronic equipment comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring environment brightness data and posture data of an environment where the electronic equipment is located, and the environment brightness data comprises environment light intensity values of a plurality of directions on the electronic equipment;
the processing module is used for determining a target brightness value according to the environment brightness data and the attitude data;
and the adjusting module is used for adjusting the screen brightness of the electronic equipment to a target brightness value.
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 invention, the environment brightness data of the environment where the electronic equipment is located is obtained from a plurality of directions, and the screen brightness is accurately adjusted by combining the posture data of the user when the user uses the electronic equipment currently, so that the stimulation of the screen light of the electronic equipment to the eyes of the user is reduced while the requirements of the user on different screen brightness in a complex environment are met, 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 ambient brightness data and pose data according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a location arrangement of an ambient light detection sensor on an electronic device according to an embodiment of the present invention;
fig. 4 is a flowchart of a screen brightness adjustment method based on behavior habit data, ambient brightness data and posture data according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a screen brightness adjusting apparatus according to an embodiment of the present invention;
fig. 6 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 130, which are specifically as follows:
and step 110, acquiring the ambient brightness data and the attitude data of the environment where the electronic equipment is located.
Wherein the ambient brightness data comprises ambient light intensity values for a plurality of orientations on the electronic device; the attitude data includes a rotation angle, an acceleration, and the like of the electronic device.
In the embodiment of the invention, the ambient light intensity values of a plurality of directions can be detected by an ambient light detection sensor and/or a camera arranged on the 6 sides of the electronic equipment; the attitude data may be detected by a compass, a gyroscope, an acceleration sensor, and a velocity sensor of the electronic device.
And step 120, determining a target brightness value according to the environment brightness data and the posture data.
Here, the embodiment of the present invention provides two possible ways to describe this step in detail.
In the first mode, the target brightness value is determined by utilizing the first target adjustment model.
Firstly, inputting environment brightness data and posture data into a screen brightness adjustment model to be trained to obtain a prediction result;
determining a loss function of the screen brightness adjustment model according to the prediction result and the actual result; wherein the actual result is associated with the ambient brightness data and the pose data;
adjusting model parameters of a screen brightness adjustment model based on a loss function;
and taking the plurality of environment brightness data and the plurality of posture data as the input of the adjusted screen brightness adjustment model to be trained so as to carry out iterative training on the adjusted screen brightness adjustment model to be trained until a preset training condition is met, and determining the trained screen brightness adjustment model as a first adjustment model.
And then, inputting the environment brightness data and the posture data into a first target adjustment model to obtain a target brightness value.
Here, in one possible embodiment, the first target adjustment model may be trained by the server, and as training samples (e.g., ambient brightness data and pose data) increase, the first target adjustment model may be continuously trained, and the continuously trained first target adjustment model may be synchronized to the electronic device.
In addition, in addition to the method for determining the target brightness value in the first method, the screen brightness may be adjusted in combination with the behavior habit of the user, as described in the second method below.
And determining a target brightness value according to the behavior habit data, the environment brightness data and the posture data.
First, behavioral habit data of a user is acquired, and here, embodiments of the present invention provide at least 2 kinds of behavioral habit data, i.e., (1) association data between a location (e.g., indoor or outdoor) where the user holds an electronic device and screen brightness adjusted by the user, and/or (2) association data between an application (e.g., a camera application) used by the user and screen brightness adjusted by the user.
The following describes the details of acquiring the behavior habit data of the user.
(1) Acquiring position information of the electronic equipment; receiving a first preset operation for adjusting the screen brightness during the position information; responding to a first preset operation, and determining a first screen brightness value corresponding to the first preset operation; and associating the position information with the first screen brightness value to obtain the behavior habit data of the user.
For example, the following steps are carried out: acquiring the position information of a user outdoors (or indoors) through the positioning function of the electronic equipment; next, an operation of the user for adjusting the screen brightness in the scene is received, and at this time, the screen brightness adapted by the user when the user is outdoors is recorded.
(2) Acquiring an application program running on the electronic equipment; receiving a second preset operation of adjusting the screen brightness under the application program; responding to a second preset operation, and determining a second screen brightness value corresponding to the second preset operation; and associating the application program with the second screen brightness value to obtain the behavior habit data of the user.
For example, the following steps are carried out: by obtaining the operation of adjusting the screen brightness when the user uses a certain application program on the electronic device, at this time, the screen brightness adapted by the user when the interface of the certain application program is operated or displayed is recorded.
Next, a first adjusted model is determined.
The first adjustment model is determined according to the ambient brightness data and the posture data, and here, the manner of determining the first adjustment model may refer to the contents described in the above manner one, and details are not described here.
Further, a second adjustment model is determined.
Inputting behavior habit data into a preset model to obtain an evaluation result;
determining a loss function of a preset model according to an evaluation result and the acquired first screen brightness value and/or second screen brightness value;
adjusting model parameters of the preset model based on a loss function of the preset model;
and taking the plurality of behavior habit data as the input of the adjusted preset model to perform iterative training on the adjusted preset model until preset training conditions are met, and determining the trained screen brightness adjustment model as a second adjustment model.
Then, inputting the environment brightness data and the posture data into a first adjusting model to obtain a first brightness value;
inputting the behavior habit data into a second adjustment model to obtain a second brightness value; wherein the second adjustment model is obtained from a plurality of behavioral habit data of the user;
based on the first luminance value and the second luminance value, a target luminance value is determined.
Here, in a possible embodiment, the electronic device may receive the first target adjustment model trained by the server, and since the behavior habits of each user are different, the electronic device may train the second adjustment model according to the behavior habits of the user, so as to determine the target brightness value according to the first adjustment model and the second adjustment model, so that a better scheme for adjusting the screen brightness may be achieved in combination with the preference of the user while ensuring accurate perception of the ambient light intensity value.
Step 130, adjusting the screen brightness of the electronic device to a target brightness value.
Therefore, in the embodiment of the invention, the screen brightness is accurately adjusted by acquiring the environment brightness data of the environment where the electronic equipment is located and the posture data of the user when the electronic equipment is used currently from a plurality of directions; in addition, through the behavior habit data of each user, a personalized customized screen brightness adjusting scheme is provided for the user, and the stimulation of screen light of electronic equipment to the eyes of the user is reduced while the requirements of the user on different screen brightness in a complex environment are met, so that 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 behavior habit data, environment brightness data, and posture data, respectively, as an example, and the method for adjusting screen brightness provided by the embodiment of the present invention is exemplified.
Example 1: and determining a target brightness value according to the environment brightness data and the attitude data.
Fig. 2 is a flowchart of a screen brightness adjustment method based on ambient brightness data and pose data according to an embodiment of the present invention.
As shown in fig. 2, the method may include steps 210-230, which are specifically as follows:
and step 210, acquiring the ambient brightness data and the attitude data.
(1) Ambient brightness data is obtained.
Wherein the ambient brightness data comprises ambient light intensity values for a plurality of orientations on the electronic device.
As shown in fig. 3, the ambient light detection sensors are respectively disposed on 6 sides (i.e., 6 orientations) of the electronic device, wherein the ambient light detection sensors may be disposed in a manner that a light guide strip and/or a light guide column is combined with the sensors, as shown in fig. 3, which are the arrangement positions of the 6 ambient light detection sensors (i.e., a to F).
The round frame rectangle is a shell of the electronic equipment, and the unfilled corner rectangle is a main board of the electronic equipment. A is arranged at a position close to the upper part of the front surface of the mainboard, the position of A is a front view 31 of the mainboard, and light rays at the front part of the screen can be collected; B. the positions of C and D are a mainboard back view 32, C is arranged at the position close to the central line on the back surface of the mainboard, is arranged on the light guide column to the back shell and can collect light rays at the front back position back to the screen; b and D are respectively placed at the left and right positions of the mainboard, and are connected to the positions of the left view and the right view on the shell by using the light guide plate, namely B is arranged at the position where the left view of the electronic equipment can be displayed to collect left light, and D is arranged at the position where the right view of the electronic equipment can be displayed to collect right light; e is arranged at the position of the top view 33 and collects the upper light; f is arranged at the position of the bottom view 34 and collects the light rays below.
Thus, ambient brightness data [ L ] can be collected by collecting 6 azimuth set ambient light detection sensors A-Fa,Lb,Lc,Ld,Le,Lf]。
(2) Attitude data is acquired.
Here, the posture data corresponding thereto may be detected by at least one of a compass, a gyroscope, an acceleration sensor, and a velocity sensor of the electronic device.
Taking the example of acquiring the attitude data through the compass, the gyroscope and the acceleration sensor, the attitude data (Θ i, Θ j, Θ k) can be acquired.
Wherein, the pose data is related to the ambient brightness data, i.e., (Θ i, Θ j, Θ k) ═ f (L)a,Lb,Lc,Ld,Le,Lf)。
Here, there is no precedence in relation to obtaining ambient brightness data and pose data.
And step 220, determining a target brightness value according to the environment brightness data and the attitude data.
Here, based on Brightness ═ La,Lb,Lc,Ld,Le,Lf]*A*[Θi,Θj,Θk]TAnd adjusting the model parameters of the screen brightness adjustment model.
Specifically, [ L ] willa,Lb,Lc,Ld,Le,Lf]And (Θ i, Θ j, Θ k) are input into the screen Brightness adjustment model to be trained to obtain a prediction result Brightness 1;
according to Brightness1 and [ L ]a,Lb,Lc,Ld,Le,Lf]And (Θ i, Θ j, Θ k) actual results Brightness2, determining the loss function of the screen Brightness adjustment model;
adjusting a model parameter A of a screen brightness adjustment model based on a loss function;
the method comprises the steps of taking a plurality of pieces of acquired environment Brightness data and a plurality of pieces of attitude data of the electronic equipment as input of a screen Brightness adjustment model to be trained after adjustment in a plurality of different scenes, carrying out iterative training on the screen Brightness adjustment model to be trained after adjustment until a preset training condition is met (for example, an error value of Brightness1 and Brightness is less than or equal to a preset error value), and determining the screen Brightness adjustment model after training as a first adjustment model.
Here, the first adjustment model may be synchronized to the electronic device, and the currently detected ambient brightness data and the posture data may be input to the first adjustment model to obtain the target brightness value.
Step 230: and adjusting the screen brightness of the electronic equipment to a target brightness value.
In the embodiment of the invention, the environment brightness data and the posture data of the environment where the electronic equipment is located are obtained from a plurality of directions, the screen brightness is accurately adjusted, the requirements of a user on different screen brightness in a complex environment are met, and meanwhile, the stimulation of screen light of the electronic equipment to the eyes of the user is reduced, so that the user experience is improved.
Example 2: based on the embodiment 1, the screen brightness is adjusted in a personalized manner by combining the behavior habit data of the user.
Fig. 4 is a flowchart of a screen brightness adjustment method based on behavior habit data, ambient brightness data and gesture data according to an embodiment of the present invention.
As shown in fig. 4, the method may include steps 410-450, as follows:
at step 410, ambient brightness data and pose data are obtained.
The step 410 is similar to the step 210, and specific reference may be made to the content in the step 210, which is not described herein again.
Step 420, determining a first brightness value according to the environment brightness data and the posture data.
The step 420 is similar to the step 220 of determining the target brightness value (i.e. the first brightness value in embodiment 2) according to the ambient brightness data and the pose data, and the content in the step 220 may be referred to specifically.
And step 430, obtaining a second brightness value according to the behavior habit data.
First, behavior habit data is acquired.
Here, different users have different preferences for screen brightness, some users prefer light, and some users prefer dark. Therefore, the screen brightness can be adjusted according to different geographic positions and/or different application programs, so that the electronic equipment can record the behavior habits of the user, and associate the behavior habits with the adjusted screen brightness of the user corresponding to the habits to obtain the behavior habit data of the user.
For example, the following steps are carried out: some users prefer the color temperature and/or the light intensity to be a little lower indoors and prefer the color temperature and/or the light intensity to be a little higher outdoors, and the adjustment of the screen brightness not only adjusts the overall light intensity, but also adjusts the color temperature.
Or, the system time is recorded, for example, the brightness of the screen is adjusted to be dark a little at night, so that the sleep is facilitated, and the brightness of the screen is adjusted to be bright a little in the morning, so that the user can get rid of difficulty.
Or recording the screen-on duration, and achieving the purpose of relieving eye fatigue by adjusting the screen brightness and color temperature.
Or, for the relationship between parameters and results not thought at present, such as recording the screen brightness and color temperature corresponding to the application program.
Based on this, behavior habit data is acquired, taking the following two examples as examples.
Example 1, location information of an electronic device is acquired;
receiving a first preset operation of adjusting the screen brightness when the position information of the electronic equipment is determined;
responding to a first preset operation, and determining a first screen brightness value corresponding to the first preset operation;
and associating the position information with the first screen brightness value to obtain the behavior habit data of the user.
Example 2, an application running on an electronic device is obtained;
receiving a second preset operation of adjusting the screen brightness under the application program;
responding to a second preset operation, and determining a second screen brightness value corresponding to the second preset operation;
and associating the application program with the second screen brightness value to obtain the behavior habit data of the user.
Then, a second brightness value is obtained according to the behavior habit data.
The second adjustment model can be trained according to the plurality of behavior habit data, and the second brightness value is obtained based on the second adjustment model.
Further, inputting the behavior habit data into a preset model to obtain an evaluation result;
determining a loss function of a preset model according to an evaluation result and the acquired first screen brightness value and/or second screen brightness value;
adjusting model parameters of the preset model based on a loss function of the preset model;
and taking the plurality of behavior habit data as the input of the adjusted preset model to perform iterative training on the adjusted preset model until preset training conditions are met, and determining the trained screen brightness adjustment model as a second adjustment model.
And inputting the behavior habit data into a second adjustment model to obtain a second brightness value.
Step 440, determining a target brightness value based on the first brightness value and the second brightness value.
Here, in a possible embodiment, the electronic device may receive the first target adjustment model trained by the server, and since the behavior habits of each user are different, the electronic device may train the second adjustment model according to the behavior habits of the user, so as to determine the target brightness value according to the first adjustment model and the second adjustment model, so that the user's preference may be integrated while the accurate sensing of the ambient light intensity value is ensured, and a better scheme for adjusting the screen brightness may be achieved.
Step 450, adjusting the screen brightness of the electronic device to a target brightness value.
Therefore, based on the embodiment 2, the collected ambient brightness data of a plurality of ambient light detection sensors are respectively adopted, and the screen brightness is accurately adjusted by combining the posture data of the user when the user uses the electronic equipment currently; in addition, by combining the behavior habit data of each user, a personalized customized screen brightness adjustment scheme can be provided for the user, for example: when the backlight is performed, the screen brightness is adjusted to be proper; in the daytime, the brightness of the screen is adjusted to be cold light, so that the spirit is easy to concentrate; the screen brightness is adjusted to be warm light at night, and rest is not affected; the device is set to be a leisure scene at home, in a park and the like, the screen brightness is adjusted to be moderate in temperature, and the beauty effect is improved by photographing; in a scenic spot and outdoors, the screen brightness is adjusted to an extended scene, the screen is set to be blue and cool, the photographing process is also cool, and the beautiful and colorful effect of the environment is highlighted.
Therefore, 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, and the user experience is improved.
Fig. 5 is a schematic structural diagram of a screen brightness adjusting apparatus according to an embodiment of the present invention.
As shown in fig. 5, the screen brightness adjusting apparatus 50 may include:
the acquiring module 501 is configured to acquire environment brightness data and posture data of an environment where the electronic device is located, where the environment brightness data includes environment light intensity values of multiple directions on the electronic device;
a processing module 502, configured to determine a target brightness value according to the environment brightness data and the posture data;
the adjusting module 503 is configured to adjust the screen brightness of the electronic device to a target brightness value.
In a possible embodiment, the processing module 502 may be specifically configured to input the ambient brightness data and the pose data into the first target adjustment model to obtain a target brightness value.
Based on this embodiment, the screen brightness adjusting apparatus 50 of the embodiment of the present invention may further include a training module 504, configured to input the ambient brightness data and the posture data into the screen brightness adjustment model to be trained, so as to obtain a prediction result;
determining a loss function of the screen brightness adjustment model according to the prediction result and the actual result; wherein the actual result is associated with the ambient brightness data and the pose data;
adjusting model parameters of a screen brightness adjustment model based on a loss function;
and taking the plurality of environment brightness data and the plurality of posture data as the input of the adjusted screen brightness adjustment model to be trained so as to carry out iterative training on the adjusted screen brightness adjustment model to be trained until a preset training condition is met, and determining the trained screen brightness adjustment model as a first adjustment model.
In another possible embodiment, the obtaining module 501 may be further configured to obtain behavior habit data of a user; based on this, the processing module 502 may be specifically configured to determine the target brightness value according to the behavior habit data, the environment brightness data, and the posture data.
The processing module 502 may be specifically configured to input the environment brightness data and the posture data into the first adjustment model to obtain a first brightness value;
inputting the behavior habit data into a second adjustment model to obtain a second brightness value; wherein the second adjustment model is obtained from a plurality of behavioral habit data of the user;
based on the first luminance value and the second luminance value, a target luminance value is determined.
Here, the obtaining module 501 of the embodiment of the present invention may be specifically configured to obtain location information of an electronic device; receiving a first preset operation for adjusting the screen brightness during the position information; responding to a first preset operation, and determining a first screen brightness value corresponding to the first preset operation; and associating the position information with the first screen brightness value to obtain the behavior habit data of the user.
And/or acquiring an application program running on the electronic equipment; receiving a second preset operation of adjusting the screen brightness under the application program; responding to a second preset operation, and determining a second screen brightness value corresponding to the second preset operation; and associating the application program with the second screen brightness value to obtain the behavior habit data of the user.
Therefore, based on the embodiment 2, the collected ambient brightness data of a plurality of ambient light detection sensors are respectively adopted, and the screen brightness is accurately adjusted by combining the posture data of the user when the user uses the electronic equipment currently; in addition, the behavior habit data of each user is combined, and a personalized customized screen brightness adjusting scheme can be provided for the user, so that the requirements of the user on different screen brightness in a complex environment are met, and the stimulation of screen light of the electronic equipment to the eyes of the user is reduced, so that the user experience is improved.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 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.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and transmitting signals during a message transmission or a call. In general, radio frequency unit 601 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 frequency unit 601 may 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 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert an audio resource received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes an image resource of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 607. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into an audio resource. The processed audio resources may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 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 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 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 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, 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 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of 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 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 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 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. 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 608 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 600 or may be used to transmit resources between the electronic apparatus 600 and the external device.
The memory 609 may be used to store software programs as well as various resources. The memory 609 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 609 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 610 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 609 and calling resources stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 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 610.
The electronic device 600 may further include a power supply 611 (such as a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 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 600 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 (10)

1. A screen brightness adjusting method is applied to electronic equipment and is characterized by comprising the following steps:
acquiring environment brightness data and posture data of an environment where the electronic equipment is located, wherein the environment brightness data comprises environment light intensity values of a plurality of directions on the electronic equipment;
determining a target brightness value according to the environment brightness data and the attitude data;
and adjusting the screen brightness of the electronic equipment to the target brightness value.
2. The method of claim 1, wherein determining a target brightness value based on the ambient brightness data and the pose data comprises:
and inputting the environment brightness data and the posture data into a first target adjustment model to obtain a target brightness value.
3. The method of claim 2, wherein determining the first target adjustment model comprises:
inputting the environment brightness data and the posture data into a screen brightness adjustment model to be trained to obtain a prediction result;
determining a loss function of the screen brightness adjustment model according to the prediction result and the actual result; wherein the actual result is associated with the ambient brightness data and the pose data;
adjusting model parameters of the screen brightness adjustment model based on the loss function;
and taking the plurality of environment brightness data and the plurality of posture data as the input of the adjusted screen brightness adjustment model to be trained so as to carry out iterative training on the adjusted screen brightness adjustment model to be trained until a preset training condition is met, and determining the trained screen brightness adjustment model as the first adjustment model.
4. The method of claim 1, wherein prior to the step of determining a target brightness value, the method further comprises:
acquiring behavior habit data of a user;
determining a target brightness value according to the environment brightness data and the posture data includes:
and determining a target brightness value according to the behavior habit data, the environment brightness data and the posture data.
5. The method of claim 4, wherein determining a target brightness value based on the behavior habit data, the ambient brightness data, and the gesture data comprises:
inputting the environment brightness data and the attitude data into a first adjustment model to obtain a first brightness value;
inputting the behavior habit data into a second adjustment model to obtain a second brightness value; wherein the second adjustment model is obtained from a plurality of behavioral habit data of a user;
determining a target brightness value based on the first brightness value and the second brightness value.
6. The method of claim 4, wherein obtaining behavioral habit data of a user comprises:
acquiring the position information of the electronic equipment;
receiving a first preset operation of adjusting the screen brightness during the position information;
responding to the first preset operation, and determining a first screen brightness value corresponding to the first preset operation;
and associating the position information with the first screen brightness value to obtain behavior habit data of the user.
7. The method of claim 4 or 6, wherein obtaining behavioral habit data of a user comprises:
acquiring an application program running on the electronic equipment;
receiving a second preset operation of adjusting the screen brightness under the application program;
responding to the second preset operation, and determining a second screen brightness value corresponding to the second preset operation;
and associating the application program with the second screen brightness value to obtain the behavior habit data of the user.
8. A screen brightness adjustment apparatus, comprising:
the electronic equipment comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring environment brightness data and posture data of an environment where the electronic equipment is located, and the environment brightness data comprises environment light intensity values of a plurality of directions on the electronic equipment;
the processing module is used for determining a target brightness value according to the environment brightness data and the attitude data;
and the adjusting module is used for adjusting the screen brightness of the electronic equipment to the target brightness value.
9. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the screen brightness adjustment method of claims 1-7.
10. A computer-readable storage medium having stored thereon a computer program for causing a computer to execute the screen brightness adjustment method according to claims 1-7, if the computer program is executed in the computer.
CN201911345147.3A 2019-12-24 2019-12-24 Screen brightness adjusting method and device, electronic equipment and storage medium Pending CN110970003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911345147.3A CN110970003A (en) 2019-12-24 2019-12-24 Screen brightness adjusting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911345147.3A CN110970003A (en) 2019-12-24 2019-12-24 Screen brightness adjusting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110970003A true CN110970003A (en) 2020-04-07

Family

ID=70036154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911345147.3A Pending CN110970003A (en) 2019-12-24 2019-12-24 Screen brightness adjusting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110970003A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111752516A (en) * 2020-06-10 2020-10-09 Oppo(重庆)智能科技有限公司 Screen adjustment method and device for terminal equipment, terminal equipment and storage medium
CN112202962A (en) * 2020-08-28 2021-01-08 北京小米移动软件有限公司 Screen brightness adjusting method and device and storage medium
CN112509510A (en) * 2020-12-02 2021-03-16 维沃移动通信有限公司 Brightness adjusting method and device and electronic equipment
CN112783858A (en) * 2021-01-04 2021-05-11 北京小米移动软件有限公司 Brightness adjusting method and device, display equipment and medium
CN113241044A (en) * 2021-05-18 2021-08-10 北京小米移动软件有限公司 Screen brightness adjusting method, device, equipment and storage medium
CN113593495A (en) * 2021-07-23 2021-11-02 北京字节跳动网络技术有限公司 Calibration method and device and electronic equipment
CN113643674A (en) * 2021-08-13 2021-11-12 深圳创维-Rgb电子有限公司 Display device, screen brightness adjusting method and device thereof and readable storage medium
CN114220368A (en) * 2021-12-29 2022-03-22 深圳市华星光电半导体显示技术有限公司 Brightness adjusting system and brightness adjusting method of display panel
CN116524873A (en) * 2023-07-04 2023-08-01 深圳市彤兴电子有限公司 Display adjustment method and device of display screen and computer equipment
CN117409738A (en) * 2023-11-20 2024-01-16 海博瑞电子(江苏)有限公司 LED liquid crystal display assembly control method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527118A (en) * 2007-09-27 2009-09-09 统宝光电股份有限公司 Display device capable of sensing ambient light
CN202523382U (en) * 2012-04-26 2012-11-07 深圳市飞鑫光电有限公司 Screen brightness automatic adjusting device
CN202534330U (en) * 2012-03-26 2012-11-14 邢作辉 Automatic light adjusting apparatus for display
CN103903539A (en) * 2012-12-24 2014-07-02 联想(北京)有限公司 Screen brightness adjusting method and system
CN105976790A (en) * 2016-06-20 2016-09-28 广州视睿电子科技有限公司 Display screen brightness adjusting device and electronic equipment thereof
CN106506831A (en) * 2016-10-26 2017-03-15 广东欧珀移动通信有限公司 Control method and control device
CN108877741A (en) * 2018-07-27 2018-11-23 维沃移动通信有限公司 A kind of screen luminance adjustment method and terminal device
CN109257508A (en) * 2018-11-21 2019-01-22 惠州Tcl移动通信有限公司 A kind of method, storage medium and mobile terminal that automatic backlight is adjusted
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

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527118A (en) * 2007-09-27 2009-09-09 统宝光电股份有限公司 Display device capable of sensing ambient light
CN202534330U (en) * 2012-03-26 2012-11-14 邢作辉 Automatic light adjusting apparatus for display
CN202523382U (en) * 2012-04-26 2012-11-07 深圳市飞鑫光电有限公司 Screen brightness automatic adjusting device
CN103903539A (en) * 2012-12-24 2014-07-02 联想(北京)有限公司 Screen brightness adjusting method and system
CN105976790A (en) * 2016-06-20 2016-09-28 广州视睿电子科技有限公司 Display screen brightness adjusting device and electronic equipment thereof
CN106506831A (en) * 2016-10-26 2017-03-15 广东欧珀移动通信有限公司 Control method and control device
CN109427317A (en) * 2017-08-31 2019-03-05 中兴通讯股份有限公司 Screen brightness control method, device, terminal and computer readable storage medium
CN108877741A (en) * 2018-07-27 2018-11-23 维沃移动通信有限公司 A kind of screen luminance adjustment method and terminal device
CN109257508A (en) * 2018-11-21 2019-01-22 惠州Tcl移动通信有限公司 A kind of method, storage medium and mobile terminal that automatic backlight is adjusted
CN109785815A (en) * 2019-03-29 2019-05-21 维沃移动通信有限公司 A kind of screen luminance adjustment method and mobile terminal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111752516A (en) * 2020-06-10 2020-10-09 Oppo(重庆)智能科技有限公司 Screen adjustment method and device for terminal equipment, terminal equipment and storage medium
CN112202962A (en) * 2020-08-28 2021-01-08 北京小米移动软件有限公司 Screen brightness adjusting method and device and storage medium
CN112509510A (en) * 2020-12-02 2021-03-16 维沃移动通信有限公司 Brightness adjusting method and device and electronic equipment
CN112783858A (en) * 2021-01-04 2021-05-11 北京小米移动软件有限公司 Brightness adjusting method and device, display equipment and medium
CN113241044A (en) * 2021-05-18 2021-08-10 北京小米移动软件有限公司 Screen brightness adjusting method, device, equipment and storage medium
CN113593495A (en) * 2021-07-23 2021-11-02 北京字节跳动网络技术有限公司 Calibration method and device and electronic equipment
CN113593495B (en) * 2021-07-23 2022-11-15 北京字节跳动网络技术有限公司 Calibration method and device and electronic equipment
CN113643674A (en) * 2021-08-13 2021-11-12 深圳创维-Rgb电子有限公司 Display device, screen brightness adjusting method and device thereof and readable storage medium
CN114220368A (en) * 2021-12-29 2022-03-22 深圳市华星光电半导体显示技术有限公司 Brightness adjusting system and brightness adjusting method of display panel
CN116524873A (en) * 2023-07-04 2023-08-01 深圳市彤兴电子有限公司 Display adjustment method and device of display screen and computer equipment
CN116524873B (en) * 2023-07-04 2023-08-25 深圳市彤兴电子有限公司 Display adjustment method and device of display screen and computer equipment
CN117409738A (en) * 2023-11-20 2024-01-16 海博瑞电子(江苏)有限公司 LED liquid crystal display assembly control method and system

Similar Documents

Publication Publication Date Title
CN110970003A (en) Screen brightness adjusting method and device, electronic equipment and storage medium
CN107943551B (en) Screen display method and mobile terminal
WO2019174628A1 (en) Photographing method and mobile terminal
CN108174103B (en) Shooting prompting method and mobile terminal
CN110174993B (en) Display control method, terminal equipment and computer readable storage medium
CN108628515B (en) Multimedia content operation method and mobile terminal
CN108762877B (en) Control method of mobile terminal interface and mobile terminal
CN109819168B (en) Camera starting method and mobile terminal
CN111026316A (en) Image display method and electronic equipment
CN108196753B (en) Interface switching method and mobile terminal
CN109618218B (en) Video processing method and mobile terminal
CN110933494A (en) Picture sharing method and electronic equipment
CN111464746B (en) Photographing method and electronic equipment
US20230115445A1 (en) Time display method and apparatus, and electronic device
CN108174110B (en) Photographing method and flexible screen terminal
CN108132749B (en) Image editing method and mobile terminal
CN111752450A (en) Display method and device and electronic equipment
CN111510623B (en) Shooting method and electronic equipment
CN110650367A (en) Video processing method, electronic device, and medium
CN110197159B (en) Fingerprint acquisition method and terminal
CN108600544A (en) A kind of Single-hand control method and terminal
CN109521937B (en) Screen display control method and mobile terminal
CN109445589B (en) Multimedia file playing control method and terminal equipment
CN111142396A (en) Information display method and electronic equipment
CN110865752A (en) Photo viewing method and electronic 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200407

RJ01 Rejection of invention patent application after publication