[go: up one dir, main page]

CN107945754A - Adjusting method, electronic equipment and the computer-readable recording medium of screen intensity - Google Patents

Adjusting method, electronic equipment and the computer-readable recording medium of screen intensity Download PDF

Info

Publication number
CN107945754A
CN107945754A CN201711161539.5A CN201711161539A CN107945754A CN 107945754 A CN107945754 A CN 107945754A CN 201711161539 A CN201711161539 A CN 201711161539A CN 107945754 A CN107945754 A CN 107945754A
Authority
CN
China
Prior art keywords
screen
brightness
photosensitive intensity
intensity
photosensitive
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
CN201711161539.5A
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.)
Shanghai Yude Technology Co Ltd
Original Assignee
Shanghai Yude Technology 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 Shanghai Yude Technology Co Ltd filed Critical Shanghai Yude Technology Co Ltd
Priority to CN201711161539.5A priority Critical patent/CN107945754A/en
Publication of CN107945754A publication Critical patent/CN107945754A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present embodiments relate to electronic technology field, discloses a kind of adjusting method of screen intensity, electronic equipment and computer-readable recording medium.In the present invention, a kind of adjusting method of screen intensity, including:The photosensitive intensity under current environment is detected, as the first photosensitive intensity;Current screen intensity is obtained according to the first photosensitive intensity;The the second photosensitive intensity produced in itself according to screen intensity acquisition screen;According to the first photosensitive intensity and the second photosensitive intensity, the photosensitive intensity of reality of current environment is obtained;According to actual photosensitive intensity, brightness regulation is carried out to screen so that adjust screen intensity according only to the intrinsic brilliance of current environment, eliminate the influence of screen intrinsic brightness, so that the adjusting to screen intensity is more accurate.

Description

Screen brightness adjusting method, electronic device and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of electronics, in particular to a screen brightness adjusting method, electronic equipment and a computer readable storage medium.
Background
The screen brightness refers to the physical quantity of the luminous intensity of the surface of the luminous object, namely brightness, which is physically represented by L and has the unit of candela per square meter or lumen. The brightness is an important index for measuring the luminous intensity of the screen, and for the display panel, the high brightness also means higher anti-interference capability to the working environment of the display panel. When people look at the screen, the brightness is higher and better, so that the picture is more gorgeous and the detail performance is more excellent. Therefore, many people feel that the higher the screen brightness, the better. But in fact, the brightness is 500 lumens, and the contrast ratio is more than 600: 1, so that the product can completely meet the requirement of viewing. Excessive pursuit of brightness not only increases the power consumption of the screen, but also causes eye fatigue more easily, and is not beneficial to the protection of eyes.
The inventor finds that at least the following problems exist in the prior art: in obtaining the actual brightness of the current environment, the brightness corresponding to the screen is generally adjusted according to the value obtained by the light sensor. However, when the brightness of the screen is adjusted by the value of the light sensor, the light of the screen itself is also received by the light sensor, so that the value obtained by the light sensor is not the actual brightness of the current environment, and further, the brightness of the screen adjusted by the value of the light sensor is also inaccurate.
Disclosure of Invention
An object of an embodiment of the present invention is to provide a method for adjusting screen brightness, an electronic device, and a computer-readable storage medium, so that the screen brightness is adjusted only according to actual brightness of a current environment, and influence of the brightness of a screen is eliminated, thereby adjusting the screen brightness more accurately.
In order to solve the above technical problem, an embodiment of the present invention provides a method for adjusting screen brightness, including: detecting the photosensitive intensity under the current environment as a first photosensitive intensity; acquiring the current screen brightness according to the first photosensitive intensity; acquiring second photosensitive intensity generated by the screen according to the screen brightness; obtaining the actual photosensitive intensity of the current environment according to the first photosensitive intensity and the second photosensitive intensity; and adjusting the brightness of the screen according to the actual photosensitive intensity.
An embodiment of the present invention also provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the screen brightness adjusting method.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize the screen brightness adjusting method.
Compared with the prior art, the embodiment of the invention detects the light intensity in the current environment as the first light intensity; then, acquiring the current screen brightness according to the first photosensitive intensity; acquiring second photosensitive intensity generated by the screen according to the screen brightness; obtaining the actual photosensitive intensity of the current environment according to the first photosensitive intensity and the second photosensitive intensity; and adjusting the brightness of the screen according to the actual photosensitive intensity. Because the detected first photosensitive intensity in the current environment contains the photosensitive intensity generated by the screen, the second photosensitive intensity generated by the screen under the condition of obtaining the current screen brightness is subtracted from the first photosensitive intensity, namely the influence of the brightness generated by the screen on the first photosensitive intensity is eliminated, so that the screen brightness is adjusted only according to the actual brightness of the current environment, and the adjustment on the screen brightness is more accurate.
In addition, the second photosensitive intensity generated by the screen is obtained according to the screen brightness, and the method specifically comprises the following steps: acquiring second photosensitive intensity corresponding to the screen brightness according to a first pre-stored corresponding relation; the first corresponding relation is the corresponding relation between the screen brightness and the photosensitive intensity under the condition of no light. By means of the corresponding relation between the screen brightness and the photosensitive intensity under the dark condition, after the current screen brightness is obtained according to the first photosensitive intensity, the second photosensitive intensity generated by the corresponding screen can be directly obtained according to the screen brightness, and a specific method for obtaining the second photosensitive intensity generated by the screen is provided.
In addition, before acquiring the second photosensitive intensity generated by the screen according to the screen brightness, the method further comprises the following steps: judging whether the face information of the user is detected; if the face information of the user is not detected, acquiring second photosensitive intensity corresponding to the screen brightness through a first corresponding relation stored in advance; if the face information of the user is detected, acquiring second photosensitive intensity generated by the screen according to the screen brightness, specifically: acquiring a second photosensitive intensity corresponding to the screen brightness according to a second corresponding relation stored in advance; the second corresponding relation is the corresponding relation between the screen brightness and the photosensitive intensity under the condition of no light; the light intensity in the second corresponding relationship is a value received by the light sensor after the face of the user affects the brightness of the screen. When the face information of the user is detected, the second photosensitive intensity which influences the screen by the light rays emitted by the screen through the face reflection of the user is eliminated in the first photosensitive intensity, so that the brightness of the screen is adjusted more accurately.
In addition, before acquiring the second photosensitive intensity generated by the screen according to the screen brightness, the method further comprises the following steps: analyzing the color information of the current screen; acquiring second photosensitive intensity generated by the screen according to the screen brightness, specifically: acquiring second photosensitive intensity corresponding to the screen brightness according to a pre-stored fourth corresponding relation; the fourth corresponding relation is the corresponding relation between the screen brightness and the photosensitive intensity under the condition of no light; the photosensitive intensity in the fourth corresponding relationship is a value received by the light sensor after the color information of the screen affects the brightness of the screen. Through analyzing the color information of the current screen, the second photosensitive intensity which influences the screen by the color is eliminated in the first photosensitive intensity, so that the adjustment of the screen brightness is more accurate.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a detailed flowchart of a method for adjusting screen brightness according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for adjusting screen brightness according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for adjusting screen brightness according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for adjusting screen brightness according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
The first embodiment of the invention relates to a screen brightness adjusting method. The core of the embodiment lies in that the light intensity under the current environment is detected as the first light intensity; then, acquiring the current screen brightness according to the first photosensitive intensity; acquiring second photosensitive intensity generated by the screen according to the screen brightness; obtaining the actual photosensitive intensity of the current environment according to the first photosensitive intensity and the second photosensitive intensity; and adjusting the brightness of the screen according to the actual photosensitive intensity. Because the detected first photosensitive intensity in the current environment contains the photosensitive intensity generated by the screen, the second photosensitive intensity generated by the screen under the condition of obtaining the current screen brightness is subtracted from the first photosensitive intensity, namely the influence of the brightness generated by the screen on the first photosensitive intensity is eliminated, so that the screen brightness is adjusted only according to the actual brightness of the current environment, and the adjustment on the screen brightness is more accurate. The implementation details of the method for adjusting screen brightness according to the present embodiment are specifically described below, and the following description is only provided for facilitating understanding of the implementation details, and is not necessary for implementing the present solution.
In the present embodiment, the screen may be a liquid crystal display, or a Light Emitting Diode (LED) display, and the screen brightness adjusting method may adjust the brightness of a mobile phone screen, the brightness of a computer screen, and the like, and the adjustment of the brightness of the mobile phone screen is described as an example below. The specific flow chart is shown in fig. 1, and includes:
step 101, detecting the light intensity under the current environment as a first light intensity.
Specifically, a first light sensing intensity of the screen in the current environment can be obtained through the light sensor. The light sensor is also called a brightness sensor, is generally positioned above a mobile phone screen, can acquire the light brightness of the mobile phone in the current environment, and can automatically adjust the screen brightness of the mobile phone according to the light brightness of the mobile phone in the current environment, so that a better visual effect is brought to a user.
And 102, acquiring the current screen brightness according to the first photosensitive intensity.
Specifically, after the first photosensitive intensity is obtained, the current screen brightness is obtained according to the numerical value of the first photosensitive intensity and corresponding to a form built in the system. In the table, the corresponding relationship between the first photosensitive intensity and the screen brightness is recorded, and as shown in table one, the unit of the first photosensitive intensity is candela (Cd for short), and the unit of the screen brightness is nits (nits). When the value of the first photosensitive intensity is in a certain interval, the screen brightness is the value corresponding to the interval. For example, when the first photosensitive intensity is 800Cd, the lookup table is located in the interval [400, 1000), and the corresponding screen brightness is 70 nits.
First photosensitive intensity (Cd) Screen brightness (nits)
[0,200) 25
[200,400) 55
[400,1000) 70
[1000,3000) 90
[3000, infinity) 250
Watch 1
It should be noted that the correspondence between the first photosensitive intensity and the screen brightness in the first table is not limited to this. Because the first sensitization intensity of different types of cell-phones all differs with the corresponding relation of screen luminance, the position that leads to light sensor is also different easily in addition to different cell-phone designs, and light sensor's position is different, can directly influence the first sensitization intensity that light sensor received. Therefore, different types of mobile phones require different corresponding relationships, and if the mobile phones are universal, the accuracy of screen brightness adjustment is affected to a certain extent.
And 103, acquiring a second photosensitive intensity generated by the screen according to the screen brightness.
Specifically, the second photosensitive intensity corresponding to the screen brightness can be obtained through the first corresponding relation stored in advance. Here, the second photosensitive intensity is the second photosensitive intensity at the current screen brightness obtained in the absence of light. Because the periphery of the mobile phone is dark and lightless under the lightless condition, the value of the light sensor is only the photosensitive intensity obtained by the brightness of the screen, namely the second photosensitive intensity generated by the screen. The first correspondence relationship here is a correspondence relationship formed by adjusting each luminance of the screen in the absence of light to obtain a light-sensitive intensity corresponding to the luminance.
And 104, obtaining the actual photosensitive intensity of the current environment according to the first photosensitive intensity and the second photosensitive intensity.
That is, the second photosensitive intensity that affects the accuracy of the first photosensitive intensity is excluded, that is, the second photosensitive intensity is subtracted from the first photosensitive intensity, so as to obtain the actual photosensitive intensity of the current environment.
And 105, adjusting the brightness of the screen according to the actual photosensitive intensity.
And adjusting the brightness of the screen according to the obtained actual photosensitive intensity, wherein the actual photosensitive intensity is the actual photosensitive intensity without the influence of the brightness generated by the screen on the first photosensitive intensity.
Compared with the prior art, the method for adjusting the screen brightness provided by the embodiment detects the photosensitive intensity in the current environment as the first photosensitive intensity; then, acquiring the current screen brightness according to the first photosensitive intensity; acquiring second photosensitive intensity generated by the screen according to the screen brightness; obtaining the actual photosensitive intensity of the current environment according to the first photosensitive intensity and the second photosensitive intensity; and adjusting the brightness of the screen according to the actual photosensitive intensity. Because the detected first photosensitive intensity in the current environment contains the photosensitive intensity generated by the screen, the second photosensitive intensity generated by the screen under the condition of obtaining the current screen brightness is subtracted from the first photosensitive intensity, namely the influence of the brightness generated by the screen on the first photosensitive intensity is eliminated, so that the screen brightness is adjusted only according to the actual brightness of the current environment, and the adjustment on the screen brightness is more accurate.
The second embodiment of the invention relates to a screen brightness adjusting method. The embodiment is a further improvement on the basis of the first embodiment, and the specific improvement is as follows: in the embodiment, before the second photosensitive intensity generated by the screen is acquired according to the screen brightness, whether the face information of the user is detected or not is judged; if the face information of the user is not detected, acquiring second photosensitive intensity corresponding to the screen brightness through a first corresponding relation stored in advance; and if the face information of the user is detected, acquiring a second photosensitive intensity corresponding to the screen brightness through a second corresponding relation stored in advance. Because the light intensity in the second corresponding relation is the value received by the light sensor after the face of the user influences the brightness of the screen, the second light intensity influencing the screen is eliminated by reflecting the light emitted by the screen to the screen through the face of the user in the first light intensity, so that the regulation of the screen brightness is more accurate. The specific flow chart is shown in fig. 2, and includes:
step 201, detecting the light sensing intensity in the current environment as a first light sensing intensity.
And step 202, acquiring the current screen brightness according to the first photosensitive intensity.
Since in the present embodiment, steps 201 to 202 are substantially the same as steps 101 to 102 in the first embodiment, the photosensitive intensity in the current environment is intended to be detected as the first photosensitive intensity; and obtaining the current screen brightness according to the first photosensitive intensity, which is not described herein again.
Step 203, determining whether the face information of the user is detected. If the face information of the user is not detected, step 204 is entered; otherwise, step 205 is entered.
Specifically, the face information of the user may be detected by a distance sensor. Since the distance between the face of the user and the mobile phone is about 25 cm to 40 cm when the user uses the mobile phone in general. Therefore, it is preferable that the face information of the user is determined to be detected if the distance between the detected face of the user and the mobile phone is between 25 cm and 40 cm.
And 204, acquiring a second photosensitive intensity corresponding to the screen brightness through a first corresponding relation stored in advance.
Specifically, the second photosensitive intensity here is the second photosensitive intensity at the current screen brightness obtained in the absence of light. Because the periphery of the mobile phone is dark and lightless under the lightless condition, the value of the light sensor is only the photosensitive intensity obtained by the brightness of the screen, namely the second photosensitive intensity generated by the screen. The first correspondence relationship here is a correspondence relationship formed by adjusting each luminance of the screen in the absence of light to obtain a light-sensitive intensity corresponding to the luminance.
Step 205, obtaining a second photosensitive intensity corresponding to the screen brightness through a second pre-stored correspondence.
Specifically, the second photosensitive intensity is a second photosensitive intensity in which light emitted from the screen passes through the face of the user and is reflected to the screen in the absence of light, thereby affecting the light sensor. The second correspondence is a correspondence between the screen brightness and the light-sensitive intensity in the absence of light, and the light-sensitive intensity in the second correspondence is a value received by the light sensor after the face of the user has an influence on the brightness of the screen.
And step 206, obtaining the actual photosensitive intensity of the current environment according to the first photosensitive intensity and the second photosensitive intensity.
And step 207, adjusting the brightness of the screen according to the actual photosensitive intensity.
Since in this embodiment, steps 206 to 207 are substantially the same as steps 104 to 105 in the first embodiment, and are intended to obtain the actual photosensitive intensity of the current environment according to the first photosensitive intensity and the second photosensitive intensity; and adjusting the brightness of the screen according to the actual photosensitive intensity, which is not described herein again.
Compared with the prior art, the method for adjusting the screen brightness provided by the embodiment judges whether the face information of the user is detected or not before the second photosensitive intensity generated by the screen is acquired according to the screen brightness; if the face information of the user is not detected, acquiring second photosensitive intensity corresponding to the screen brightness through a first corresponding relation stored in advance; and if the face information of the user is detected, acquiring a second photosensitive intensity corresponding to the screen brightness through a second corresponding relation stored in advance. Because the light intensity in the second corresponding relation is the value received by the light sensor after the face of the user influences the brightness of the screen, the second light intensity influencing the screen is eliminated by reflecting the light emitted by the screen to the screen through the face of the user in the first light intensity, so that the regulation of the screen brightness is more accurate.
The third embodiment of the present invention relates to a method for adjusting screen brightness, which is further improved based on the first embodiment, and the specific improvements are as follows: in the embodiment, before the second photosensitive intensity generated by the screen is acquired according to the screen brightness, whether the face information of the user is detected or not is judged; if the face information of the user is not detected, acquiring second photosensitive intensity corresponding to the screen brightness through a first corresponding relation stored in advance; and if the face information of the user is detected, acquiring a second photosensitive intensity corresponding to the screen brightness through a pre-stored third corresponding relation. Because the light sensing intensity in the third corresponding relation is a numerical value received by the light sensor after the position of the user relative to the screen and the skin color of the user influence the brightness of the screen, the second light sensing intensity which influences the brightness of the screen by the position of the user relative to the screen and the skin color of the user is eliminated from the first light sensing intensity, and the brightness of the screen is adjusted more accurately. The specific flow chart is shown in fig. 3.
Step 301, detecting the light sensing intensity in the current environment as a first light sensing intensity.
And 303, acquiring the current screen brightness according to the first photosensitive intensity.
Since steps 301 to 302 in the present embodiment are substantially the same as steps 101 to 102 in the first embodiment, the photosensitive intensity in the current environment is intended to be detected as the first photosensitive intensity; and obtaining the current screen brightness according to the first photosensitive intensity, which is not described herein again.
Step 303, judging whether the face information of the user is detected; if it is determined that the face information of the user is not detected, go to step 304; otherwise, step 305 is entered.
Specifically, the face information of the user may be detected by a distance sensor. Since the distance between the face of the user and the mobile phone is about 25 cm to 40 cm when the user uses the mobile phone in general. Therefore, it is preferable that the face information of the user is determined to be detected if the distance between the detected face of the user and the mobile phone is between 25 cm and 40 cm.
Step 304, obtaining a second photosensitive intensity corresponding to the screen brightness through a pre-stored first corresponding relationship, wherein the first corresponding relationship is a corresponding relationship between the screen brightness and the photosensitive intensity under a no-light condition.
Step 305, acquiring the position of the user relative to the screen and the skin color of the user.
Specifically, the position information of the user relative to the screen can be acquired through the distance sensor and the direction sensor, and the skin color of the user can be acquired through the color sensor. Because the positions of the users relative to the screen are different, the second light-sensitive intensities received by the light sensor and reflected to the screen through the face of the user are different, and therefore the positions of the users relative to the screen are considered, and the adjustment of the screen brightness is more accurate. Similarly, the second photosensitive intensities received by the light sensor and reflected to the screen by the skin colors of different users are different, so that the position of the user relative to the screen is considered, and the adjustment of the screen brightness is more accurate.
And step 306, acquiring a second photosensitive intensity corresponding to the screen brightness through a pre-stored third corresponding relation.
Specifically, the third correspondence is a correspondence between screen brightness and light-sensitive intensity in a no-light condition, where the light-sensitive intensity in the third correspondence is a numerical value received by the light sensor after the user's position relative to the screen and the user's skin color affect the screen brightness.
And 307, obtaining the actual photosensitive intensity of the current environment according to the first photosensitive intensity and the second photosensitive intensity.
And 308, adjusting the brightness of the screen according to the actual photosensitive intensity.
Since in this embodiment, steps 307 to 308 are substantially the same as steps 104 to 105 in the first embodiment, the actual photosensitive intensity of the current environment is obtained according to the first photosensitive intensity and the second photosensitive intensity; and adjusting the brightness of the screen according to the actual photosensitive intensity, which is not described herein again.
Compared with the prior art, the method for adjusting the screen brightness provided by the embodiment judges whether the face information of the user is detected or not before the second photosensitive intensity generated by the screen is acquired according to the screen brightness; if the face information of the user is not detected, acquiring second photosensitive intensity corresponding to the screen brightness through a first corresponding relation stored in advance; and if the face information of the user is detected, acquiring a second photosensitive intensity corresponding to the screen brightness through a pre-stored third corresponding relation. Because the light sensing intensity in the third corresponding relation is a numerical value received by the light sensor after the position of the user relative to the screen and the skin color of the user influence the brightness of the screen, the second light sensing intensity which influences the brightness of the screen by the position of the user relative to the screen and the skin color of the user is eliminated from the first light sensing intensity, and the brightness of the screen is adjusted more accurately.
The fourth embodiment of the present invention relates to a method for adjusting screen brightness, which is further improved based on the first embodiment, and the specific improvements are as follows: before acquiring second photosensitive intensity generated by the screen according to the screen brightness, analyzing the color information of the current screen; and acquiring second photosensitive intensity generated by the screen according to the screen brightness, and specifically acquiring the second photosensitive intensity corresponding to the screen brightness through a fourth corresponding relation stored in advance. The photosensitive intensity in the fourth corresponding relation is a value received by the light sensor after the color information of the screen affects the brightness of the screen. The second photosensitive intensity which influences the screen by the color is eliminated from the first photosensitive intensity, so that the brightness of the screen is adjusted more accurately. The specific flow chart is shown in fig. 4.
Step 401, detecting the light sensing intensity in the current environment as a first light sensing intensity.
And 402, acquiring the current screen brightness according to the first photosensitive intensity.
Since steps 401 to 402 in the present embodiment are substantially the same as steps 101 to 102 in the first embodiment, the photosensitive intensity in the current environment is detected as the first photosensitive intensity; and obtaining the current screen brightness according to the first photosensitive intensity, which is not described herein again.
In step 403, the color information of the current screen is analyzed.
Specifically, the three primary colors in the current screen may be recognized by the color sensor and the ratio of the three primary colors in the current screen may be analyzed. Wherein, the three primary colors are respectively red, green and blue, and the brightness of the red is the highest. Because the influence of the brightness of different colors on the light sensor is different, the influence of the three colors on the light sensor under the proportion is obtained by counting the proportion of the three colors, so that the second photosensitive intensity is obtained, and the adjustment of the screen brightness is more accurate.
And step 404, acquiring a second photosensitive intensity corresponding to the screen brightness according to a pre-stored fourth corresponding relation.
Specifically, the fourth correspondence is a correspondence between screen brightness and light-sensitive intensity in the absence of light. The photosensitive intensity in the fourth corresponding relationship is a numerical value received by the light sensor after the color information of the screen affects the brightness of the screen.
And 405, obtaining the actual photosensitive intensity of the current environment according to the first photosensitive intensity and the second photosensitive intensity.
And 406, adjusting the brightness of the screen according to the actual photosensitive intensity.
It should be noted that before acquiring the second photosensitive intensity generated by the screen itself according to the screen brightness, the method includes: pre-storing the corresponding relation between the four types of screen brightness and the second photosensitive intensity; the second photosensitive intensity in the first class is the second photosensitive intensity corresponding to the screen brightness under the condition of no light; the second photosensitive intensity in the second category is a numerical value received by the light sensor after the face of the user affects the brightness of the screen; the second photosensitive intensity in the third category is a numerical value received by the light sensor after the position of the user relative to the screen and the skin color of the user affect the brightness of the screen; the second photosensitive intensity in the fourth type is a numerical value received by the light sensor after the color information of the screen affects the brightness of the screen; and according to the corresponding relation selected by the user, acquiring the second photosensitive intensity generated by the screen according to the screen brightness.
Since in this embodiment, steps 405 to 406 are substantially the same as steps 104 to 105 in the first embodiment, and are intended to obtain the actual photosensitive intensity of the current environment according to the first photosensitive intensity and the second photosensitive intensity; and adjusting the brightness of the screen according to the actual photosensitive intensity, which is not described herein again.
Compared with the prior art, the method for adjusting the screen brightness provided by the embodiment analyzes the color information of the current screen before the second photosensitive intensity generated by the screen is acquired according to the screen brightness; acquiring second photosensitive intensity generated by the screen according to the screen brightness, and specifically acquiring the second photosensitive intensity corresponding to the screen brightness through a pre-stored fourth corresponding relation; the photosensitive intensity in the fourth corresponding relationship is a numerical value received by the light sensor after the color information of the screen affects the brightness of the screen. Through analyzing the color information of the current screen, the second photosensitive intensity which influences the screen by the color is eliminated in the first photosensitive intensity, so that the adjustment of the screen brightness is more accurate.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fifth embodiment of the present invention relates to an electronic device, as shown in fig. 5, including at least one processor 501; and a memory 502 communicatively coupled to the at least one processor 501; the memory 502 stores instructions executable by the at least one processor 501, and the instructions are executed by the at least one processor 501, so that the at least one processor 501 can execute the screen brightness adjusting method.
The memory 502 and the processor 501 are coupled by a bus, which may include any number of interconnected buses and bridges that couple one or more of the various circuits of the processor 501 and the memory 502 together. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 501 is transmitted over a wireless medium through an antenna, which further receives the data and transmits the data to the processor 501.
The processor 501 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 502 may be used to store data used by processor 501 in performing operations.
A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (9)

1. A method for adjusting screen brightness is characterized by comprising the following steps:
detecting the photosensitive intensity under the current environment as a first photosensitive intensity;
acquiring the current screen brightness according to the first photosensitive intensity;
acquiring second photosensitive intensity generated by the screen according to the screen brightness;
obtaining the actual photosensitive intensity of the current environment according to the first photosensitive intensity and the second photosensitive intensity;
and adjusting the brightness of the screen according to the actual photosensitive intensity.
2. The method for adjusting screen brightness according to claim 1, wherein the obtaining of the second photosensitive intensity generated by the screen according to the screen brightness specifically comprises:
acquiring second photosensitive intensity corresponding to the screen brightness according to a first pre-stored corresponding relation;
the first corresponding relation is the corresponding relation between the screen brightness and the photosensitive intensity under the condition of no light.
3. The method for adjusting the brightness of the screen according to claim 2, before obtaining the second photosensitive intensity generated by the screen according to the brightness of the screen, further comprising:
judging whether the face information of the user is detected;
if the face information of the user is not detected, executing the pre-stored first corresponding relation to obtain a second photosensitive intensity corresponding to the screen brightness;
if the face information of the user is detected, acquiring a second photosensitive intensity generated by the screen according to the screen brightness, specifically: acquiring a second photosensitive intensity corresponding to the screen brightness according to a second corresponding relation stored in advance;
the second corresponding relation is the corresponding relation between the screen brightness and the photosensitive intensity under the condition of no light; the photosensitive intensity in the second corresponding relation is a numerical value received by the light sensor after the face of the user affects the brightness of the screen.
4. The method for adjusting the brightness of the screen according to claim 2, before obtaining the second photosensitive intensity generated by the screen according to the brightness of the screen, further comprising:
judging whether the face information of the user is detected;
if the face information of the user is not detected, executing the pre-stored first corresponding relation to obtain a second photosensitive intensity corresponding to the screen brightness;
if the face information of the user is detected, acquiring the position of the user relative to the screen and the skin color of the user;
the acquiring of the second photosensitive intensity generated by the screen according to the screen brightness specifically comprises: acquiring second photosensitive intensity corresponding to the screen brightness according to a pre-stored third corresponding relation;
the third corresponding relation is the corresponding relation between the screen brightness and the photosensitive intensity under the condition of no light; the photosensitive intensity in the third corresponding relation is a numerical value received by the light sensor after the position of the user relative to the screen and the skin color of the user affect the brightness of the screen.
5. The method for adjusting the brightness of the screen according to claim 1, wherein before the obtaining the second photosensitive intensity generated by the screen according to the brightness of the screen, the method further comprises:
analyzing the color information of the current screen;
the acquiring of the second photosensitive intensity generated by the screen according to the screen brightness specifically comprises: acquiring second photosensitive intensity corresponding to the screen brightness according to a pre-stored fourth corresponding relation;
the fourth corresponding relation is the corresponding relation between the screen brightness and the photosensitive intensity under the condition of no light; the photosensitive intensity in the fourth corresponding relation is a numerical value received by the light sensor after the color information of the screen affects the brightness of the screen.
6. The method for adjusting screen brightness according to claim 5, wherein the analyzing the color information of the current screen specifically comprises: and analyzing the proportion of the three primary colors in the current screen.
7. The method for adjusting the brightness of the screen according to claim 1, wherein before the obtaining the second photosensitive intensity generated by the screen according to the brightness of the screen, the method comprises:
pre-storing the corresponding relation between the four types of screen brightness and the second photosensitive intensity; the second photosensitive intensity in the first class is the second photosensitive intensity corresponding to the screen brightness under the condition of no light; the second photosensitive intensity in the second category is a numerical value received by the light sensor after the face of the user affects the brightness of the screen; the second photosensitive intensity in the third category is a numerical value received by the light sensor after the position of the user relative to the screen and the skin color of the user affect the brightness of the screen; the second photosensitive intensity in the fourth type is a numerical value received by the light sensor after the color information of the screen affects the brightness of the screen;
and executing the second photosensitive intensity generated by the screen according to the screen brightness according to the corresponding relation selected by the user.
8. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of adjusting screen brightness of any one of claims 1 to 7.
9. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method of adjusting screen brightness according to any one of claims 1 to 8.
CN201711161539.5A 2017-11-20 2017-11-20 Adjusting method, electronic equipment and the computer-readable recording medium of screen intensity Pending CN107945754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711161539.5A CN107945754A (en) 2017-11-20 2017-11-20 Adjusting method, electronic equipment and the computer-readable recording medium of screen intensity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711161539.5A CN107945754A (en) 2017-11-20 2017-11-20 Adjusting method, electronic equipment and the computer-readable recording medium of screen intensity

Publications (1)

Publication Number Publication Date
CN107945754A true CN107945754A (en) 2018-04-20

Family

ID=61929383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711161539.5A Pending CN107945754A (en) 2017-11-20 2017-11-20 Adjusting method, electronic equipment and the computer-readable recording medium of screen intensity

Country Status (1)

Country Link
CN (1) CN107945754A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108848268A (en) * 2018-06-27 2018-11-20 努比亚技术有限公司 Intelligent adjusting method, mobile terminal and the readable storage medium storing program for executing of screen intensity
CN109584823A (en) * 2018-12-20 2019-04-05 深圳市视安通电子有限公司 A kind of liquid crystal display colour cast supplement alignment technique
CN110197159A (en) * 2019-05-31 2019-09-03 维沃移动通信有限公司 Fingerprint collecting method and terminal
CN111367121A (en) * 2020-03-19 2020-07-03 福建华佳彩有限公司 LCD screen for improving daylighting amount and method thereof
CN111754954A (en) * 2020-07-10 2020-10-09 Oppo(重庆)智能科技有限公司 Screen brightness adjusting method and device, storage medium and electronic equipment
CN111798796A (en) * 2020-07-23 2020-10-20 欧菲微电子技术有限公司 Display screen brightness adjusting method and display device
CN112201211A (en) * 2019-07-08 2021-01-08 北京小米移动软件有限公司 Ambient light collection method, device, terminal and storage medium
CN112781832A (en) * 2021-01-26 2021-05-11 北京小米移动软件有限公司 Method, apparatus, device and medium for determining ambient light for terminal device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100127628A1 (en) * 2008-11-21 2010-05-27 Epson Imaging Devices Corporation Display device
CN201541312U (en) * 2009-09-30 2010-08-04 葛锦明 LCD television capable of automatically adjusting screen backlight brightness
JP2010243300A (en) * 2009-04-03 2010-10-28 Sharp Corp Photodetector and electronic apparatus including the same
CN106462339A (en) * 2015-09-28 2017-02-22 华为技术有限公司 Terminal and method for detecting ambient brightness
CN106504723A (en) * 2016-10-09 2017-03-15 北京金山安全软件有限公司 Screen color adjusting method and device and electronic equipment
CN107210027A (en) * 2015-02-26 2017-09-26 英特尔公司 It is determined that there is screen light to the reflection of display screen to carry out screen light brightness regulation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100127628A1 (en) * 2008-11-21 2010-05-27 Epson Imaging Devices Corporation Display device
JP2010243300A (en) * 2009-04-03 2010-10-28 Sharp Corp Photodetector and electronic apparatus including the same
CN201541312U (en) * 2009-09-30 2010-08-04 葛锦明 LCD television capable of automatically adjusting screen backlight brightness
CN107210027A (en) * 2015-02-26 2017-09-26 英特尔公司 It is determined that there is screen light to the reflection of display screen to carry out screen light brightness regulation
CN106462339A (en) * 2015-09-28 2017-02-22 华为技术有限公司 Terminal and method for detecting ambient brightness
CN106504723A (en) * 2016-10-09 2017-03-15 北京金山安全软件有限公司 Screen color adjusting method and device and electronic equipment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108848268A (en) * 2018-06-27 2018-11-20 努比亚技术有限公司 Intelligent adjusting method, mobile terminal and the readable storage medium storing program for executing of screen intensity
CN109584823A (en) * 2018-12-20 2019-04-05 深圳市视安通电子有限公司 A kind of liquid crystal display colour cast supplement alignment technique
CN110197159A (en) * 2019-05-31 2019-09-03 维沃移动通信有限公司 Fingerprint collecting method and terminal
CN112201211A (en) * 2019-07-08 2021-01-08 北京小米移动软件有限公司 Ambient light collection method, device, terminal and storage medium
CN111367121A (en) * 2020-03-19 2020-07-03 福建华佳彩有限公司 LCD screen for improving daylighting amount and method thereof
CN111367121B (en) * 2020-03-19 2024-04-16 福建华佳彩有限公司 Method for adjusting lighting quantity
CN111754954A (en) * 2020-07-10 2020-10-09 Oppo(重庆)智能科技有限公司 Screen brightness adjusting method and device, storage medium and electronic equipment
CN111754954B (en) * 2020-07-10 2021-08-24 Oppo(重庆)智能科技有限公司 Screen brightness adjusting method and device, storage medium and electronic equipment
CN111798796A (en) * 2020-07-23 2020-10-20 欧菲微电子技术有限公司 Display screen brightness adjusting method and display device
CN112781832A (en) * 2021-01-26 2021-05-11 北京小米移动软件有限公司 Method, apparatus, device and medium for determining ambient light for terminal device

Similar Documents

Publication Publication Date Title
CN107945754A (en) Adjusting method, electronic equipment and the computer-readable recording medium of screen intensity
EP3775810B1 (en) Calibrated brightness estimation using ambient color sensors
US10176785B2 (en) System and method of adjusting a device display based on eyewear properties
CN108881691A (en) Control method, microprocessor, computer-readable storage medium, and computer device
CN108257579B (en) Screen calibration method and device and terminal
US9013580B2 (en) Method and system for adjusting display parameters
CN108775958A (en) Brightness measurement, calibration method, device based on light sensor and electronic equipment
US20190043429A1 (en) Grayscale voltage adjusting apparatus and method, display driving apparatus and display apparatus
CN112599088B (en) Screen light leakage and ambient light detection method, chip, terminal and storage medium
CN107836115A (en) Use infrared and/or UV signal AWB
CN107941330A (en) Ambient light intensity detection method, device, storage medium and electronic equipment
EP3769059A1 (en) Use of multiple calibrated ambient color sensor measurements to generate a single colorimetric value
CN107734796A (en) Method, device and equipment for adjusting brightness of lamp strip of mirror display product and storage medium
KR20050088116A (en) Transformation structures for approximating color matching functions
US20250191513A1 (en) Display control method and apparatus for display panel, and device and storage medium
CN107358255A (en) GAMMA based on convolutional neural networks ties up a classification learning method and device
US10969865B2 (en) Method for transmission of eye tracking information, head mounted display and computer device
JP2015158626A (en) Calibration apparatus, calibration method, and program
US20230410706A1 (en) Method for image rendering, terminal device and non-transitory computer-readable storage medium
US20190050963A1 (en) Transmission method of display data, apparatus and mobile device
CN114783354A (en) Color cast compensation method, architecture and medium
US20170289517A1 (en) Method and display system for adjusting output image of display
CN113923423A (en) Method for adjusting view color of AR glasses, electronic device and storage medium
US20240046836A1 (en) Image processing methods and apparatuses, electronic devices and storage media
US11481879B2 (en) Method for reducing visual fatigue and system therefor

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180420