CN107945733A - Brightness of display screen method of adjustment, device, storage medium and electronic equipment - Google Patents

Brightness of display screen method of adjustment, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN107945733A
CN107945733A CN201711176972.6A CN201711176972A CN107945733A CN 107945733 A CN107945733 A CN 107945733A CN 201711176972 A CN201711176972 A CN 201711176972A CN 107945733 A CN107945733 A CN 107945733A
Authority
CN
China
Prior art keywords
brightness
predeterminable area
display screen
adjustment amount
adjustment
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.)
Granted
Application number
CN201711176972.6A
Other languages
Chinese (zh)
Other versions
CN107945733B (en
Inventor
张海平
周意保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711176972.6A priority Critical patent/CN107945733B/en
Publication of CN107945733A publication Critical patent/CN107945733A/en
Application granted granted Critical
Publication of CN107945733B publication Critical patent/CN107945733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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]
    • G09G3/3208Control 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] organic, e.g. using organic light-emitting diodes [OLED]
    • 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
    • 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 present application provides a kind of brightness of display screen method of adjustment, device, storage medium and electronic equipment, and the brightness of display screen method of adjustment includes:Maximum brightness and minimum brightness of the display screen predeterminable area in preset time period are obtained, the predeterminable area is the region on the display screen with the proximity sensor face;The luminance delta of the predeterminable area is calculated according to the maximum brightness and minimum brightness;Brightness adjustment amount is calculated according to the luminance delta;It is adjusted according to brightness of the brightness adjustment amount to the predeterminable area.In the brightness of display screen method of adjustment, electronic equipment can be adjusted the brightness of display screen predeterminable area, to reduce the brightness change amplitude of the predeterminable area, so as to suppress the flicker of the predeterminable area, improve the stability for showing on-screen-display message.

Description

Brightness of display screen method of adjustment, device, storage medium and electronic equipment
Technical field
This application involves technical field of electronic equipment, more particularly to a kind of brightness of display screen method of adjustment, device, storage are situated between Matter and electronic equipment.
Background technology
With the fast development of electronic technology, the electronic equipment such as smart mobile phone, tablet computer is increasingly popularized. Wherein, the electronic equipment such as smart mobile phone, tablet computer all has display screen.
In general, the non-display area of display screen or display area are provided with proximity sensor.Proximity sensor is used to examine Survey between electronic equipment and exterior object close to or away from state so that the display screen of control electronics puts out screen or bright screen.
When proximity sensor is arranged on the display area of display screen, display screen can be made in the proximity sensor course of work Into influence so that display screen and the display area of proximity sensor face produce flashing state, influence the display performance of display screen.
The content of the invention
The embodiment of the present application provides a kind of brightness of display screen method of adjustment, device, storage medium and electronic equipment, Ke Yiti Height shows the stability of on-screen-display message.
The embodiment of the present application provides a kind of brightness of display screen method of adjustment, applied to electronic equipment, the electronic equipment bag Include display screen and proximity sensor, the display screen includes display area, the proximity sensor on the display screen just Projection is located at the display area, and the brightness of display screen method of adjustment includes:
Maximum brightness and minimum brightness of the display screen predeterminable area in preset time period are obtained, the predeterminable area is institute State the region with the proximity sensor face on display screen;
The luminance delta of the predeterminable area is calculated according to the maximum brightness and minimum brightness;
Brightness adjustment amount is calculated according to the luminance delta;
It is adjusted according to brightness of the brightness adjustment amount to the predeterminable area.
The embodiment of the present application also provides a kind of brightness of display screen adjusting apparatus, applied to electronic equipment, the electronic equipment Including display screen and proximity sensor, the display screen includes display area, and the proximity sensor is on the display screen Orthographic projection is located at the display area, and the brightness of display screen adjusting apparatus includes:
First acquisition module, for obtaining maximum brightness of the display screen predeterminable area in preset time period and minimum bright Degree, the predeterminable area are the region on the display screen with the proximity sensor face;
First computing module, for calculating the brightness change of the predeterminable area according to the maximum brightness and minimum brightness Amount;
Second computing module, for calculating brightness adjustment amount according to the luminance delta;
Module is adjusted, for being adjusted according to brightness of the brightness adjustment amount to the predeterminable area.
The embodiment of the present application also provides a kind of storage medium, computer program is stored with the storage medium, when described When computer program is run on computers so that the computer performs above-mentioned brightness of display screen method of adjustment.
The embodiment of the present application also provides a kind of electronic equipment, including processor and memory, is stored with the memory Computer program, the processor are above-mentioned aobvious for performing by calling the computer program stored in the memory Display screen luminance regulating method.
Brightness of display screen method of adjustment provided by the embodiments of the present application, including:Display screen predeterminable area is obtained when default Between maximum brightness in section and minimum brightness, the predeterminable area be the area on the display screen with the proximity sensor face Domain;The luminance delta of the predeterminable area is calculated according to the maximum brightness and minimum brightness;According to the luminance delta Calculate brightness adjustment amount;It is adjusted according to brightness of the brightness adjustment amount to the predeterminable area.The brightness of display screen In method of adjustment, electronic equipment can be adjusted the brightness of display screen predeterminable area, to reduce the bright of the predeterminable area Amplitude of variation is spent, so as to suppress the flicker of the predeterminable area, improves the stability for showing on-screen-display message.
Brief description of the drawings
In order to illustrate more clearly of the technical solution in the embodiment of the present application, make required in being described below to embodiment Attached drawing is briefly described.It should be evident that drawings in the following description are only some embodiments of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the first structure diagram of electronic equipment provided by the embodiments of the present application.
Fig. 2 is second of structure diagram of electronic equipment provided by the embodiments of the present application.
Fig. 3 is the first flow diagram of brightness of display screen method of adjustment provided by the embodiments of the present application.
Fig. 4 is second of flow diagram of brightness of display screen method of adjustment provided by the embodiments of the present application.
Fig. 5 is the third flow diagram of brightness of display screen method of adjustment provided by the embodiments of the present application.
Fig. 6 is the 4th kind of flow diagram of brightness of display screen method of adjustment provided by the embodiments of the present application.
Fig. 7 is the 5th kind of flow diagram of brightness of display screen method of adjustment provided by the embodiments of the present application.
Fig. 8 is the 6th kind of flow diagram of brightness of display screen method of adjustment provided by the embodiments of the present application.
Fig. 9 is the 7th kind of flow diagram of brightness of display screen method of adjustment provided by the embodiments of the present application.
Figure 10 is the first application scenarios schematic diagram of brightness of display screen method of adjustment provided by the embodiments of the present application.
Figure 11 is second of application scenarios schematic diagram of brightness of display screen method of adjustment provided by the embodiments of the present application.
Figure 12 is the third application scenarios schematic diagram of brightness of display screen method of adjustment provided by the embodiments of the present application.
Figure 13 is the 4th kind of application scenarios schematic diagram of brightness of display screen method of adjustment provided by the embodiments of the present application.
Figure 14 is the first structure diagram of brightness of display screen adjusting apparatus provided by the embodiments of the present application.
Figure 15 is second of structure diagram of brightness of display screen adjusting apparatus provided by the embodiments of the present application.
Figure 16 is the third structure diagram of brightness of display screen adjusting apparatus provided by the embodiments of the present application.
Figure 17 is the third structure diagram of electronic equipment provided by the embodiments of the present application.
Figure 18 is the 4th kind of structure diagram of electronic equipment provided by the embodiments of the present application.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete Site preparation describes.Obviously, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, the every other implementation that those skilled in the art are obtained under the premise of not making the creative labor Example, belongs to the protection domain of the application.
Term " first ", " second ", " the 3rd " in the description and claims of this application and above-mentioned attached drawing etc. (if present) is for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that this The object of sample description can exchange in the appropriate case.In addition, term " comprising " and " having " and their any deformation, meaning Figure is to cover non-exclusive include.For example, contain the process of series of steps, method or contain a series of modules or list The device of member, electronic equipment, system are not necessarily limited to those steps or module or the unit clearly listed, and can also include not having The step of clearly listing or module or unit, can also include for these processes, method, apparatus, electronic equipment or system Intrinsic other steps or module or unit.
With reference to figure 1, Fig. 1 is the structure diagram of electronic equipment provided by the embodiments of the present application.Wherein, electronic equipment 100 Including cover board 10, display screen 20, circuit board 30, housing 40 and the proximity sensor 50 inside the housing 40.
Cover board 10 is installed on display screen 20, to cover display screen 20.Cover board 10 can be transparent glass cover plate.At some In embodiment, cover board 10 can be with glass cover-plates made of material such as sapphires.
Display screen 20 is installed on housing 40, to form the display surface of electronic equipment 100.In certain embodiments, show Screen 20 includes display area 21 and non-display area 22.Wherein, display area 21 is used to show the information such as image, text.It is non-aobvious Show that region 22 does not show information.Non-display area 22 can be used for setting some functional units, such as camera, fingerprint recognition mould The functional units such as group.In certain embodiments, the non-display area 22 can include spaced multiple regions.For example, Non-display area 22 can be included positioned at two regions of 21 upper and lower part of display area.
In certain embodiments, display screen 20 can be displayed in full screen.That is, display screen 20 only includes display area 21, and Do not include non-display area, as shown in Figure 2.
In certain embodiments, display screen 20 can be liquid crystal display (Liquid Crystal Display, LCD) or Person's organic light-emitting diode (OLED) display screen (Organic Light-Emitting Diode, OLED).
Circuit board 30 is installed on inside housing 40.Circuit board 30 can be the mainboard of electronic equipment 100.Can on circuit board 30 To be integrated with the functional units such as camera and processor.Meanwhile display screen 20 can be electrically connected to circuit board 30.
In certain embodiments, it is provided with display control circuit on circuit board 30.The display control circuit is to display screen 20 output electric signals, information is shown with control display screen 20.
Housing 40 is used for the exterior contour for forming electronic equipment 100.The material of housing 40 can be plastics or metal.Housing 40 can be integrally formed.
Proximity sensor 50 is installed on inside housing 40.Meanwhile the proximity sensor 50 is electrically connected to the circuit board 30.For example, proximity sensor 50 can be integrated on circuit board 30.The proximity sensor 50 can be infrared sensor, surpass The sensor of the types such as sonic sensor.The proximity sensor 50 be used to detecting electronic equipment 100 and exterior object (for example, User face) the distance between state.The distance state includes proximity state and away from state.Performed in electronic equipment 100 During some functions, such as during execution call function, when being in proximity state between electronic equipment 100 and user face, electronics Equipment 100 can put out screen with control display screen 20, to prevent the maloperation of user;Locate when between electronic equipment 100 and user face When away from state, electronic equipment 100 can be with 20 bright screen of control display screen, to perform normal display function.
In the embodiment of the present application, proximity sensor 50 can be located at the lower section of display area 21 of display screen 20.That is, connect Nearly orthographic projection of the sensor 50 on display screen 20 is located at the display area 21 of the display screen 20.It should be understood that connect at this time The detectable signal that nearly sensor 50 is launched is transmitted to the external world after penetrating the display area 21 of the display screen 20.The detectable signal Reflected signal is produced after exterior object reflects, the reflected signal enters after penetrating the display area 21 of the display screen 20 In proximity sensor 50.So as to which proximity sensor 50 can detect the intensity level of the reflected signal received.
Since proximity sensor 50 detects the distance between electronic equipment 100 and exterior object (for example, being used for face) shape During state, the detectable signal that proximity sensor 50 is launched penetrates the display area 21 of the display screen 20, and the detectable signal Through exterior object reflect caused by reflected signal can also penetrate the display area 21 of the display screen 20, therefore proximity sensor 50 during the work time can impact the display performance of display screen 20 so that the display area 21 of the display screen 20 exists The situation of flicker.
It should be readily apparent to one skilled in the art that the brightness that the essence of display screen flicker is display screen quickly becomes in a short time Change, so as to cause bright, dark fast-changing visual experience to user.
The embodiment of the present application provides a kind of brightness of display screen method of adjustment, and the brightness of display screen method of adjustment can be applied In electronic equipment.The electronic equipment can be the equipment such as smart mobile phone, tablet computer.The electronic equipment is any of the above-described Electronic equipment 100 described in embodiment.As shown in figure 3, the brightness of display screen method of adjustment, may comprise steps of:
S110, obtains maximum brightness and minimum brightness of the display screen predeterminable area in preset time period, the preset areas Domain is the region on the display screen with the proximity sensor face.
Wherein, proximity sensor exists only in the flicker caused by display screen the predeterminable area of display screen.It is described default Region is the region on display screen with proximity sensor face.For the region outside the predeterminable area on display screen, approach Sensor will not impact, and flashing state just also is not present.
Electronic equipment can obtain maximum brightness and minimum brightness of the predeterminable area in preset time period.Wherein, Preset time period can be a pre-set less time interval.For example, preset time period is 0.5s (second).Display screen Predeterminable area when flickering, the brightness of the predeterminable area quickly changes in a short time.So as to the preset areas The maximum and minimum value of brightness, namely maximum brightness and minimum brightness occurs in domain in a short time.
In certain embodiments, electronic equipment may determine that whether the difference between the maximum brightness and minimum brightness is big In predetermined luminance value.Wherein, predetermined luminance value can be a pre-set brightness number.For example, predetermined luminance value is 10. When the difference between the maximum brightness and minimum brightness is more than the predetermined luminance value, represent that the predeterminable area dodges Bright situation, at this time electronic equipment can continue subsequent treatment.When the difference between the maximum brightness and minimum brightness is small When the predetermined luminance value, represent that the predeterminable area does not occur flashing state, electronic equipment can not be at this time Row subsequent treatment.
In certain embodiments, when being in opening due to proximity sensor, display screen can just be impacted, and connect Nearly sensor will not impact display screen when being closed.Therefore, electronic equipment, which can detect proximity sensor, is It is no to be in opening.When proximity sensor is in opening, electronic equipment just obtains display screen predeterminable area default Maximum brightness and minimum brightness in period.
S120, the luminance delta of the predeterminable area is calculated according to the maximum brightness and minimum brightness.
Wherein, after electronic equipment gets maximum brightness and the minimum brightness of the predeterminable area, according to described most highlighted Degree and minimum brightness calculate the luminance delta of the predeterminable area.The luminance delta is a brightness number.It is described bright Degree variable quantity can be used for the flicker level for weighing the predeterminable area.Luminance delta is bigger, represents the predeterminable area Flashing state is more serious.Luminance delta is smaller, represents that the flashing state of the predeterminable area is slighter.
Specifically, electronic equipment can calculate the difference of the maximum brightness and minimum brightness, the difference is determined as The luminance delta of the predeterminable area.For example, the maximum brightness that gets of electronic equipment is 80, minimum brightness 60, then institute The luminance delta for stating predeterminable area is 20.
S130, brightness adjustment amount is calculated according to the luminance delta.
After the luminance delta of the predeterminable area is calculated in electronic equipment, it can be calculated according to the luminance delta Brightness adjustment amount.The brightness adjustment amount is also a brightness number.The brightness adjustment amount can be used for the predeterminable area Brightness be adjusted, even eliminate the brightness change of the predeterminable area to reduce, suppress the predeterminable area so as to reach Flicker effect.
In certain embodiments, the half of the luminance delta can be determined as brightness adjustment by electronic equipment Amount.For example, luminance delta is 20, then the brightness adjustment amount being calculated is 10.
S140, is adjusted according to brightness of the brightness adjustment amount to the predeterminable area.
Wherein, after brightness adjustment amount is calculated in electronic equipment, you can according to the brightness adjustment amount to the preset areas The brightness in domain is adjusted.When the brightness of the predeterminable area is higher, reduce the brightness of the predeterminable area;When described default When the brightness in region is relatively low, increase the brightness of the predeterminable area.It is thus possible to reduce the brightness change width of the predeterminable area Degree so that the brightness of the predeterminable area is more balanced, to reach the effect for the flicker for suppressing the predeterminable area.
In certain embodiments, as shown in figure 4, step S140, according to the brightness adjustment amount to the predeterminable area It is further comprising the steps of before brightness is adjusted:
S151, obtains the time interval between the maximum brightness and minimum brightness;
S152, the brightness change sequential of the predeterminable area is calculated according to the time interval;
Step S140, it is adjusted, is comprised the following steps according to brightness of the brightness adjustment amount to the predeterminable area:
S141, is adjusted according to the brightness of predeterminable area described in ordered pair when the brightness adjustment amount and the brightness change It is whole.
Wherein, after electronic equipment gets maximum brightness and the minimum brightness of the predeterminable area, can further obtain Time interval between the maximum brightness and minimum brightness.At the time of the time interval occurs for the maximum brightness and institute Time difference between stating at the time of minimum brightness occurs.For example, the time interval that electronic equipment is got can be 10ms (millis Second).
Then, electronic equipment calculates the brightness change sequential of the predeterminable area according to the time interval.Wherein, it is described When predeterminable area flickers, it is believed that the brightness of the predeterminable area is quick between the maximum brightness and minimum brightness Ground toggles.It is thus possible to the brightness change sequential for thinking the predeterminable area is the square wave sequential of mechanical periodicity, such as Figure 10 It is shown.Wherein, the cycle of the square wave sequential is twice of the time interval.The square wave sequential includes within each cycle High level and low level.The high level, low level are corresponding with the maximum brightness and minimum brightness respectively.
Then, electronic equipment can according to ordered pair when the brightness adjustment amount and the brightness change predeterminable area Brightness be adjusted.
In certain embodiments, as shown in figure 5, step S141, according to the brightness adjustment amount and the brightness change When the brightness of predeterminable area described in ordered pair be adjusted, comprise the following steps:
S1411, calculates the first brightness, first brightness is institute according to the maximum brightness and the brightness adjustment amount State the difference of maximum brightness and the brightness adjustment amount;
S1412, is described the by the brightness adjustment of the predeterminable area between the high period of the brightness change sequential One brightness.
Electronic equipment can calculate the first brightness according to the maximum brightness and the brightness adjustment amount.Described first is bright Spend the difference for the maximum brightness and the brightness adjustment amount.For example, maximum brightness is 80, brightness adjustment amount is 10, then counts The first obtained brightness is 70.
Wherein, the brightness change sequential includes high level, and the high level is corresponding with the maximum brightness.Electronic equipment Can be first brightness by the brightness adjustment of the predeterminable area, such as between the high period of the brightness change sequential Shown in Figure 11.So as to which when the brightness of the predeterminable area is higher, the brightness of the predeterminable area can be reduced.
In certain embodiments, as shown in fig. 6, step S141, according to the brightness adjustment amount and the brightness change When the brightness of predeterminable area described in ordered pair be adjusted, comprise the following steps:
S1413, calculates the second brightness, second brightness is institute according to the minimum brightness and the brightness adjustment amount State minimum brightness and the brightness adjustment amount and;
S1414, is described the by the brightness adjustment of the predeterminable area between the low period of the brightness change sequential Two brightness.
Electronic equipment can calculate the second brightness according to the minimum brightness and the brightness adjustment amount.Described second is bright Spend it is for the minimum brightness and the brightness adjustment amount and.For example, minimum brightness is 60, brightness adjustment amount is 10, then calculates The second obtained brightness is 70.
Wherein, the brightness change sequential includes low level, and the low level is corresponding with the minimum brightness.Electronic equipment Can be second brightness by the brightness adjustment of the predeterminable area, such as between the low period of the brightness change sequential Shown in Figure 11.So as to which when the brightness of the predeterminable area is relatively low, the brightness of the predeterminable area can be increased.
In certain embodiments, as shown in fig. 7, step S140, according to the brightness adjustment amount to the predeterminable area It is further comprising the steps of before brightness is adjusted:
S161, obtains the time interval between the maximum brightness and minimum brightness;
S162, the brightness of the predeterminable area is built according to the maximum brightness, minimum brightness and the time interval Variation characteristic curve;
Step S140, it is adjusted, is comprised the following steps according to brightness of the brightness adjustment amount to the predeterminable area:
S142, according to the brightness of the brightness adjustment amount and the brightness change indicatrix to the predeterminable area into Row adjustment.
Wherein, after electronic equipment gets maximum brightness and the minimum brightness of the predeterminable area, can further obtain Time interval between the maximum brightness and minimum brightness.At the time of the time interval occurs for the maximum brightness and institute Time difference between stating at the time of minimum brightness occurs.For example, the time interval that electronic equipment is got can be 10ms (millis Second).
Then, electronic equipment builds the preset areas according to the maximum brightness, minimum brightness and the time interval The brightness change indicatrix in domain.Wherein, when the predeterminable area flickers, it is believed that the brightness of the predeterminable area exists Rapidly even variation between the maximum brightness and minimum brightness.It is thus possible to think the brightness change of the predeterminable area Indicatrix is the broken line changed over time, as shown in figure 12.Wherein, the brightness change indicatrix is in mechanical periodicity.Institute The cycle for stating brightness change indicatrix is twice of the time interval.The brightness change indicatrix is within each cycle Including last transition and first transition.In the last transition, the brightness of the predeterminable area is from the maximum brightness to described Minimum brightness is gradually reduced.In the first transition, the brightness of the predeterminable area is from the minimum brightness to described most highlighted Degree gradually increase.
Then, electronic equipment according to the brightness adjustment amount and the brightness change indicatrix to the predeterminable area Brightness be adjusted.
In certain embodiments, as shown in figure 8, step S142, according to the brightness adjustment amount and the brightness change Brightness of the indicatrix to the predeterminable area is adjusted, and is comprised the following steps:
S1421, builds the first direct proportion function, described first just according to the brightness adjustment amount and the time interval The slope of proportion function is more than zero;
S1422, is superimposed to the last transition, to obtain the first brightness curve by first direct proportion function;
S1423, in the last transition of the brightness change indicatrix, the brightness adjustment by the predeterminable area is described The corresponding brightness of first brightness curve.
Electronic equipment can build the first direct proportion function according to the brightness adjustment amount and the time interval.It is described The slope of first direct proportion function is more than zero.Also, the maximum of first direct proportion function is the brightness adjustment amount.Institute The minimum value for stating the first direct proportion function is the opposite number of the brightness adjustment amount.For example, the brightness adjustment amount is 10, then institute The maximum for stating the first direct proportion function is 10, and minimum value is -10.For example, first direct proportion function can be y=x, its Middle x is the time, and y is the brightness adjustment numerical value changed over time.
Wherein, the brightness change indicatrix includes last transition, and the brightness of the predeterminable area is in the decline area Between be gradually reduced.First direct proportion function can be superimposed to the last transition by electronic equipment, to obtain the first brightness Curve, as shown in figure 13.Wherein, first brightness curve can be horizontal linear.Then, it is bent in the brightness change feature In the last transition of line, the brightness adjustment of the predeterminable area is the corresponding brightness of first brightness curve by electronic equipment.
In certain embodiments, as shown in figure 9, step S142, according to the brightness adjustment amount and the brightness change Brightness of the indicatrix to the predeterminable area is adjusted, and is comprised the following steps:
S1424, builds the second direct proportion function, described second just according to the brightness adjustment amount and the time interval The slope of proportion function is less than zero;
S1425, is superimposed to the first transition, to obtain the second brightness curve by second direct proportion function;
S1426, in the first transition of the brightness change indicatrix, the brightness adjustment by the predeterminable area is described The corresponding brightness of second brightness curve.
Electronic equipment can build the second direct proportion function according to the brightness adjustment amount and the time interval.It is described The slope of second direct proportion function is more than zero.Also, the maximum of second direct proportion function is the brightness adjustment amount.Institute The minimum value for stating the second direct proportion function is the opposite number of the brightness adjustment amount.For example, the brightness adjustment amount is 10, then institute The maximum for stating the second direct proportion function is 10, and minimum value is -10.For example, second direct proportion function can be y=-x, Wherein x is the time, and y is the brightness adjustment numerical value changed over time.
Wherein, the brightness change indicatrix includes first transition.The brightness of the predeterminable area is in the rising area Between gradually increase.Second direct proportion function can be superimposed to the first transition by electronic equipment, to obtain the second brightness Curve, as shown in figure 13.Wherein, second brightness curve can be horizontal linear.Then, it is bent in the brightness change feature In the last transition of line, the brightness adjustment of the predeterminable area is the corresponding brightness of second curve by electronic equipment.
When it is implemented, the application is not producing conflict from the limitation of the execution sequence of described each step In the case of, some steps can also use other orders to carry out or be carried out at the same time.
From the foregoing, it will be observed that brightness of display screen method of adjustment provided by the embodiments of the present application, including:Obtain display screen predeterminable area Maximum brightness and minimum brightness in preset time period, the predeterminable area on the display screen with the proximity sensor The region of face;The luminance delta of the predeterminable area is calculated according to the maximum brightness and minimum brightness;According to described bright Spend variable quantity and calculate brightness adjustment amount;It is adjusted according to brightness of the brightness adjustment amount to the predeterminable area.It is described aobvious In display screen luminance regulating method, electronic equipment can be adjusted the brightness of display screen predeterminable area, described default to reduce The brightness change amplitude in region, so as to suppress the flicker of the predeterminable area, improves the stability for showing on-screen-display message.
The embodiment of the present application also provides a kind of brightness of display screen adjusting apparatus, and the brightness of display screen adjusting apparatus can collect Into in the electronic device, the electronic equipment can be the equipment such as smart mobile phone, tablet computer.The electronic equipment is above-mentioned Electronic equipment 100 described in one embodiment.
As shown in figure 14, brightness of display screen adjusting apparatus 200 can include:First acquisition module 201, the first computing module 202nd, the second computing module 203 and adjustment module 204.
First acquisition module 201, for obtaining maximum brightness of the display screen predeterminable area in preset time period and minimum Brightness, the predeterminable area are the region on the display screen with the proximity sensor face.
Wherein, proximity sensor exists only in the flicker caused by display screen the predeterminable area of display screen.It is described default Region is the region on display screen with proximity sensor face.For the region outside the predeterminable area on display screen, approach Sensor will not impact, and flashing state just also is not present.
First acquisition module 201 can obtain maximum brightness of the predeterminable area in preset time period and minimum bright Degree.Wherein, preset time period can be a pre-set less time interval.For example, preset time period is 0.5s (second).When the predeterminable area of display screen flickers, the brightness of the predeterminable area quickly changes in a short time.From And the maximum and minimum value of brightness, namely maximum brightness and minimum brightness occurs in the predeterminable area in a short time.
In certain embodiments, the first acquisition module 201 may determine that the difference between the maximum brightness and minimum brightness Whether value is more than predetermined luminance value.Wherein, predetermined luminance value can be a pre-set brightness number.It is for example, default bright Angle value is 10.When the difference between the maximum brightness and minimum brightness is more than the predetermined luminance value, represent described default There is flashing state in region, can continue subsequent treatment at this time.Difference between the maximum brightness and minimum brightness During less than or equal to the predetermined luminance value, represent that the predeterminable area does not occur flashing state, at this time can be without follow-up Processing.
In certain embodiments, when being in opening due to proximity sensor, display screen can just be impacted, and connect Nearly sensor will not impact display screen when being closed.Therefore, the first acquisition module 201 can be detected close to biography Whether sensor is in opening.When proximity sensor is in opening, it is pre- that the first acquisition module 201 just obtains display screen If maximum brightness and minimum brightness of the region in preset time period.
First computing module 202, for calculating the brightness of the predeterminable area according to the maximum brightness and minimum brightness Variable quantity.
Wherein, after the first acquisition module 201 gets maximum brightness and the minimum brightness of the predeterminable area, first calculates Module 202 calculates the luminance delta of the predeterminable area according to the maximum brightness and minimum brightness.The luminance delta For a brightness number.The luminance delta can be used for the flicker level for weighing the predeterminable area.Luminance delta is got over Greatly, represent that the flashing state of the predeterminable area is more serious.Luminance delta is smaller, represents the flashing state of the predeterminable area It is slighter.
Specifically, the first computing module 202 can calculate the difference of the maximum brightness and minimum brightness, by the difference It is determined as the luminance delta of the predeterminable area.For example, the maximum brightness that electronic equipment is got is 80, minimum brightness is 60, then the luminance delta of the predeterminable area is 20.
Second computing module 203, for calculating brightness adjustment amount according to the luminance delta.
After the luminance delta of the predeterminable area is calculated in first computing module 202, the second computing module 203 can be with Brightness adjustment amount is calculated according to the luminance delta.The brightness adjustment amount is also a brightness number.The brightness adjustment Amount can be used for the brightness to the predeterminable area to be adjusted, to reduce the brightness change for even eliminating the predeterminable area, from And reach the effect for the flicker for suppressing the predeterminable area.
In certain embodiments, the half of the luminance delta can be determined as bright by the second computing module 203 Spend adjustment amount.For example, luminance delta is 20, then the brightness adjustment amount being calculated is 10.
Module 204 is adjusted, for being adjusted according to brightness of the brightness adjustment amount to the predeterminable area.
Wherein, after brightness adjustment amount is calculated in the second computing module 203, adjustment module 204 can be according to the brightness Brightness of the adjustment amount to the predeterminable area is adjusted.When the brightness of the predeterminable area is higher, reduce the preset areas The brightness in domain;When the brightness of the predeterminable area is relatively low, increase the brightness of the predeterminable area.It is thus possible to reduce described The brightness change amplitude of predeterminable area so that the brightness of the predeterminable area is more balanced, suppresses the predeterminable area to reach Flicker effect.
In certain embodiments, as shown in figure 15, brightness of display screen adjusting apparatus 200 further includes:Second acquisition module 205th, the 3rd computing module 206.
Second acquisition module 205, for obtaining the time interval between the maximum brightness and minimum brightness;
3rd computing module 206, for calculating the brightness change sequential of the predeterminable area according to the time interval;
The adjustment module 204 is used for:
It is adjusted according to the brightness of predeterminable area described in ordered pair when the brightness adjustment amount and the brightness change.
Wherein, after the first acquisition module 201 gets maximum brightness and the minimum brightness of the predeterminable area, second obtains Module 205 can further obtain the time interval between the maximum brightness and minimum brightness.The time interval is described Time difference between at the time of maximum brightness occurs and at the time of the minimum brightness occurs.For example, what electronic equipment was got Time interval can be 10ms (millisecond).
Then, the 3rd computing module 206 calculates the brightness change sequential of the predeterminable area according to the time interval.Its In, when the predeterminable area flickers, it is believed that the brightness of the predeterminable area is in the maximum brightness and minimum brightness Between rapidly toggle.It is thus possible to when the brightness change sequential for thinking the predeterminable area is the square wave of mechanical periodicity Sequence.Wherein, the cycle of the square wave sequential is twice of the time interval.The square wave sequential includes height within each cycle Level and low level.The high level, low level are corresponding with the maximum brightness and minimum brightness respectively.
Then, adjustment module 204 can be preset according to ordered pair when the brightness adjustment amount and the brightness change The brightness in region is adjusted.
In certain embodiments, the adjustment module 204 is used to perform following steps:
First brightness is calculated according to the maximum brightness and the brightness adjustment amount, first brightness is the highest Brightness and the difference of the brightness adjustment amount;
It is between the high period of the brightness change sequential, the brightness adjustment of the predeterminable area is bright for described first Degree.
The first brightness can be calculated according to the maximum brightness and the brightness adjustment amount by adjusting module 204.Described One brightness is the maximum brightness and the difference of the brightness adjustment amount.For example, maximum brightness is 80, brightness adjustment amount is 10, The first brightness being then calculated is 70.
Wherein, the brightness change sequential includes high level, and the high level is corresponding with the maximum brightness.Adjust module The brightness adjustment of the predeterminable area can be first brightness between the high period of the brightness change sequential by 204. So as to which when the brightness of the predeterminable area is higher, the brightness of the predeterminable area can be reduced.
In certain embodiments, the adjustment module 204 is used to perform following steps:
Second brightness is calculated according to the minimum brightness and the brightness adjustment amount, second brightness is described minimum Brightness and the brightness adjustment amount and;
It is between the low period of the brightness change sequential, the brightness adjustment of the predeterminable area is bright for described second Degree.
The second brightness can be calculated according to the minimum brightness and the brightness adjustment amount by adjusting module 204.Described Two brightness for the minimum brightness and the brightness adjustment amount and.For example, minimum brightness is 60, brightness adjustment amount is 10, then The second brightness being calculated is 70.
Wherein, the brightness change sequential includes low level, and the low level is corresponding with the minimum brightness.Adjust module The brightness adjustment of the predeterminable area can be second brightness between the low period of the brightness change sequential by 204. So as to which when the brightness of the predeterminable area is relatively low, the brightness of the predeterminable area can be increased.
In certain embodiments, as shown in figure 16, brightness of display screen adjusting apparatus 200 further includes:3rd acquisition module 207th, curve structure module 208.
3rd acquisition module 207, for obtaining the time interval between the maximum brightness and minimum brightness;
Curve builds module 208, for according to the maximum brightness, minimum brightness and the time interval structure The brightness change indicatrix of predeterminable area;
The adjustment module 204 is used for:
Adjusted according to the brightness of the brightness adjustment amount and the brightness change indicatrix to the predeterminable area It is whole.
Wherein, after the first acquisition module 201 gets maximum brightness and the minimum brightness of the predeterminable area, the 3rd obtains Module 207 can further obtain the time interval between the maximum brightness and minimum brightness.The time interval is described Time difference between at the time of maximum brightness occurs and at the time of the minimum brightness occurs.For example, what electronic equipment was got Time interval can be 10ms (millisecond).
Then, curve structure module 208 is according to the maximum brightness, minimum brightness and the time interval structure The brightness change indicatrix of predeterminable area.Wherein, when the predeterminable area flickers, it is believed that the predeterminable area Brightness rapidly even variation between the maximum brightness and minimum brightness.It is thus possible to think the bright of the predeterminable area It is the broken line changed over time to spend variation characteristic curve.Wherein, the brightness change indicatrix is in mechanical periodicity.The brightness The cycle of variation characteristic curve is twice of the time interval.Under the brightness change indicatrix includes within each cycle Section and first transition drop.In the last transition, the brightness of the predeterminable area is from the maximum brightness to described minimum bright Degree is gradually reduced.In the first transition, the brightness of the predeterminable area is gradual from the minimum brightness to the maximum brightness Increase.
Then, module 204 is adjusted according to the brightness adjustment amount and the brightness change indicatrix to described default The brightness in region is adjusted.
In certain embodiments, the adjustment module 204 is used to perform following steps:
First direct proportion function, the first direct proportion letter are built according to the brightness adjustment amount and the time interval Several slopes is more than zero;
First direct proportion function is superimposed to the last transition, to obtain the first brightness curve;
It is in the last transition of the brightness change indicatrix, the brightness adjustment of the predeterminable area is bright for described first The corresponding brightness of line of writing music.
The first direct proportion function can be built according to the brightness adjustment amount and the time interval by adjusting module 204. The slope of first direct proportion function is more than zero.Also, the maximum of first direct proportion function is the brightness adjustment Amount.The minimum value of first direct proportion function is the opposite number of the brightness adjustment amount.For example, the brightness adjustment amount is 10, then the maximum of first direct proportion function is 10, and minimum value is -10.For example, first direct proportion function can be Y=x, wherein x are the time, and y is the brightness adjustment numerical value changed over time.
Wherein, the brightness change indicatrix includes last transition, and the brightness of the predeterminable area is in the decline area Between be gradually reduced.First direct proportion function can be superimposed to the last transition by adjustment module 204, bright to obtain first Write music line.Wherein, first brightness curve can be horizontal linear.Then, in the decline of the brightness change indicatrix In section, the brightness adjustment of the predeterminable area is the corresponding brightness of first brightness curve by adjustment module 204.
In certain embodiments, the adjustment module 204 is used to perform following steps:
Second direct proportion function, the second direct proportion letter are built according to the brightness adjustment amount and the time interval Several slopes is less than zero;
Second direct proportion function is superimposed to the first transition, to obtain the second brightness curve;
It is in the first transition of the brightness change indicatrix, the brightness adjustment of the predeterminable area is bright for described second The corresponding brightness of line of writing music.
The second direct proportion function can be built according to the brightness adjustment amount and the time interval by adjusting module 204. The slope of second direct proportion function is more than zero.Also, the maximum of second direct proportion function is the brightness adjustment Amount.The minimum value of second direct proportion function is the opposite number of the brightness adjustment amount.For example, the brightness adjustment amount is 10, then the maximum of second direct proportion function is 10, and minimum value is -10.For example, second direct proportion function can be Y=-x, wherein x are the time, and y is the brightness adjustment numerical value changed over time.
Wherein, the brightness change indicatrix includes first transition.The brightness of the predeterminable area is in the rising area Between gradually increase.Second direct proportion function can be superimposed to the first transition by adjustment module 204, bright to obtain second Write music line.Wherein, second brightness curve can be horizontal linear.Then, in the decline of the brightness change indicatrix In section, the brightness adjustment of the predeterminable area is the corresponding brightness of second curve by adjustment module 204.
It when it is implemented, above modules can be realized as independent entity, can also be combined, be made Realized for same or several entities.
From the foregoing, it will be observed that brightness of display screen adjusting apparatus 200 provided by the embodiments of the present application, passes through the first acquisition module 201 Maximum brightness and minimum brightness of the display screen predeterminable area in preset time period are obtained, the predeterminable area is the display screen The upper region with the proximity sensor face;First computing module 202 calculates institute according to the maximum brightness and minimum brightness State the luminance delta of predeterminable area;Second computing module 203 calculates brightness adjustment amount according to the luminance delta;Adjust mould Block 204 is adjusted according to brightness of the brightness adjustment amount to the predeterminable area.The brightness of display screen adjusting apparatus can It is adjusted with the brightness to display screen predeterminable area, to reduce the brightness change amplitude of the predeterminable area, so as to press down The flicker of the predeterminable area is made, improves the stability for showing on-screen-display message.
The embodiment of the present application also provides a kind of electronic equipment.The electronic equipment includes display screen and proximity sensor, institute Stating display screen includes display area, and orthographic projection of the proximity sensor on the display screen is located at the display area.Institute It can be the equipment such as smart mobile phone, tablet computer to state electronic equipment.As shown in figure 17, electronic equipment 300 includes 301 He of processor Memory 302.Wherein, processor 301 is electrically connected with memory 302.
Processor 301 is the control centre of electronic equipment 300, utilizes various interfaces and the whole electronic equipment of connection Various pieces, by running or calling the computer program being stored in memory 302, and call and are stored in memory 302 Interior data, perform the various functions and processing data of electronic equipment, so as to carry out integral monitoring to electronic equipment.
In the present embodiment, processor 301 in electronic equipment 300 can according to the steps, by one or one with On the corresponding instruction of process of computer program be loaded into memory 302, and be stored in storage by processor 301 to run Computer program in device 302, so as to fulfill various functions:
Maximum brightness and minimum brightness of the display screen predeterminable area in preset time period are obtained, the predeterminable area is institute State the region with the proximity sensor face on display screen;
The luminance delta of the predeterminable area is calculated according to the maximum brightness and minimum brightness;
Brightness adjustment amount is calculated according to the luminance delta;
It is adjusted according to brightness of the brightness adjustment amount to the predeterminable area.
In certain embodiments, before being adjusted according to brightness of the brightness adjustment amount to the predeterminable area, place Reason device 301 also performs following steps:
Obtain the time interval between the maximum brightness and minimum brightness;
The brightness change sequential of the predeterminable area is calculated according to the time interval;
When being adjusted according to brightness of the brightness adjustment amount to the predeterminable area, processor 301 performs following step Suddenly:
It is adjusted according to the brightness of predeterminable area described in ordered pair when the brightness adjustment amount and the brightness change.
In certain embodiments, the brightness change sequential includes high level, the high level and the maximum brightness pair Should, when being adjusted according to the brightness of predeterminable area described in ordered pair when the brightness adjustment amount and the brightness change, processing Device 301 performs following steps:
First brightness is calculated according to the maximum brightness and the brightness adjustment amount, first brightness is the highest Brightness and the difference of the brightness adjustment amount;
It is between the high period of the brightness change sequential, the brightness adjustment of the predeterminable area is bright for described first Degree.
In certain embodiments, the brightness change sequential includes low level, the low level and the minimum brightness pair Should, when being adjusted according to the brightness of predeterminable area described in ordered pair when the brightness adjustment amount and the brightness change, processing Device 301 performs following steps:
Second brightness is calculated according to the minimum brightness and the brightness adjustment amount, second brightness is described minimum Brightness and the brightness adjustment amount and;
It is between the low period of the brightness change sequential, the brightness adjustment of the predeterminable area is bright for described second Degree.
In certain embodiments, before being adjusted according to brightness of the brightness adjustment amount to the predeterminable area, place Reason device 301 also performs following steps:
Obtain the time interval between the maximum brightness and minimum brightness;
The brightness change that the predeterminable area is built according to the maximum brightness, minimum brightness and the time interval is special Levy curve;
When being adjusted according to brightness of the brightness adjustment amount to the predeterminable area, processor 301 performs following step Suddenly:
Adjusted according to the brightness of the brightness adjustment amount and the brightness change indicatrix to the predeterminable area It is whole.
In certain embodiments, the brightness change indicatrix includes last transition, and the brightness of the predeterminable area exists The last transition is gradually reduced, according to the brightness adjustment amount and the brightness change indicatrix to the predeterminable area Brightness when being adjusted, processor 301 performs following steps:
First direct proportion function, the first direct proportion letter are built according to the brightness adjustment amount and the time interval Several slopes is more than zero;
First direct proportion function is superimposed to the last transition, to obtain the first brightness curve;
It is in the last transition of the brightness change indicatrix, the brightness adjustment of the predeterminable area is bright for described first The corresponding brightness of line of writing music.
In certain embodiments, the brightness change indicatrix includes first transition, and the brightness of the predeterminable area exists The first transition gradually increases, according to the brightness adjustment amount and the brightness change indicatrix to the predeterminable area Brightness when being adjusted, processor 301 performs following steps:
Second direct proportion function, the second direct proportion letter are built according to the brightness adjustment amount and the time interval Several slopes is less than zero;
Second direct proportion function is superimposed to the first transition, to obtain the second brightness curve;
It is in the first transition of the brightness change indicatrix, the brightness adjustment of the predeterminable area is bright for described second The corresponding brightness of line of writing music.
Memory 302 can be used for storage computer program and data.Include in the computer program that memory 302 stores The instruction that can be performed within a processor.Computer program can form various functions module.Processor 301 is stored in by calling The computer program of memory 302, so as to perform various functions application and data processing.
In certain embodiments, as shown in figure 18, electronic equipment 300 further includes:Radio circuit 303, display screen 304, control Circuit 305, input unit 306, voicefrequency circuit 307, sensor 308 and power supply 309 processed.Wherein, processor 301 is respectively with penetrating Frequency circuit 303, display screen 304, control circuit 305, input unit 306, voicefrequency circuit 307, sensor 308 and power supply 309 It is electrically connected.
Radio circuit 303 is used for transceiving radio frequency signal, with by wireless communication and the network equipment or other electronic equipments into Row communication.
Display screen 304 is each available for the information and electronic equipment for showing by information input by user or being supplied to user Kind graphical user interface, these graphical user interface can be made of image, text, icon, video and its any combination.
Control circuit 305 is electrically connected with display screen 304, and information is shown for control display screen 304.
Input unit 306 can be used for numeral, character information or the user's characteristic information (such as fingerprint) for receiving input, and Produce the keyboard related with user setting and function control, mouse, operation lever, optics or the input of trace ball signal.Wherein, Input unit 306 can include fingerprint recognition module.
Voicefrequency circuit 307 can provide the audio interface between user and electronic equipment by loudspeaker, microphone.
Sensor 308 is used to gather external environmental information.Sensor 308 can include ambient light sensor, acceleration One or more in the sensors such as sensor, gyroscope.
The all parts that power supply 309 is used for electron equipment 300 are powered.In certain embodiments, power supply 309 can pass through Power-supply management system and processor 301 are logically contiguous, so as to realize management charging, electric discharge, Yi Jigong by power-supply management system The functions such as consumption management.
Although not shown in Figure 18, electronic equipment 300 can also include camera, bluetooth module etc., and details are not described herein.
From the foregoing, it will be observed that the embodiment of the present application provides a kind of electronic equipment, the electronic equipment performs following steps:Obtain Maximum brightness and minimum brightness of the display screen predeterminable area in preset time period, the predeterminable area on the display screen with The region of the proximity sensor face;The brightness change of the predeterminable area is calculated according to the maximum brightness and minimum brightness Amount;Brightness adjustment amount is calculated according to the luminance delta;According to brightness of the brightness adjustment amount to the predeterminable area into Row adjustment.The electronic equipment can be adjusted the brightness of display screen predeterminable area, to reduce the bright of the predeterminable area Amplitude of variation is spent, so as to suppress the flicker of the predeterminable area, improves the stability for showing on-screen-display message.
The embodiment of the present application also provides a kind of storage medium, computer program is stored with the storage medium, when described When computer program is run on computers, the computer performs the brightness of display screen adjustment side described in any of the above-described embodiment Method.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or Part steps are relevant hardware can be instructed to complete by computer program, and the computer program can be stored in meter In calculation machine readable storage medium storing program for executing, the storage medium can include but is not limited to:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Brightness of display screen method of adjustment, device, storage medium and the electronic equipment provided above the embodiment of the present application It is described in detail, specific case used herein is set forth the principle and embodiment of the application, and the above is real The explanation for applying example is only intended to help and understands the present processes and its core concept;Meanwhile for those skilled in the art, According to the thought of the application, there will be changes in specific embodiments and applications, in conclusion in this specification Hold the limitation that should not be construed as to the application.

Claims (12)

1. a kind of brightness of display screen method of adjustment, applied to electronic equipment, it is characterised in that the electronic equipment includes display screen And proximity sensor, the display screen include display area, orthographic projection of the proximity sensor on the display screen is located at The display area, the brightness of display screen method of adjustment include:
Maximum brightness and minimum brightness of the display screen predeterminable area in preset time period are obtained, the predeterminable area is described aobvious In display screen with the region of the proximity sensor face;
The luminance delta of the predeterminable area is calculated according to the maximum brightness and minimum brightness;
Brightness adjustment amount is calculated according to the luminance delta;
It is adjusted according to brightness of the brightness adjustment amount to the predeterminable area.
2. brightness of display screen method of adjustment according to claim 1, it is characterised in that described according to the brightness adjustment amount Before the step of brightness to the predeterminable area is adjusted, further include:
Obtain the time interval between the maximum brightness and minimum brightness;
The brightness change sequential of the predeterminable area is calculated according to the time interval;
Described the step of being adjusted according to brightness of the brightness adjustment amount to the predeterminable area, includes:
It is adjusted according to the brightness of predeterminable area described in ordered pair when the brightness adjustment amount and the brightness change.
3. brightness of display screen method of adjustment according to claim 2, it is characterised in that the brightness change sequential includes height Level, the high level is corresponding with the maximum brightness, described according to the brightness adjustment amount and the brightness change sequential The step of brightness to the predeterminable area is adjusted includes:
First brightness is calculated according to the maximum brightness and the brightness adjustment amount, first brightness is the maximum brightness With the difference of the brightness adjustment amount;
It is first brightness by the brightness adjustment of the predeterminable area between the high period of the brightness change sequential.
4. brightness of display screen method of adjustment according to claim 2, it is characterised in that the brightness change sequential includes low Level, the low level is corresponding with the minimum brightness, described according to the brightness adjustment amount and the brightness change sequential The step of brightness to the predeterminable area is adjusted includes:
Second brightness is calculated according to the minimum brightness and the brightness adjustment amount, second brightness is the minimum brightness With the brightness adjustment amount and;
It is second brightness by the brightness adjustment of the predeterminable area between the low period of the brightness change sequential.
5. brightness of display screen method of adjustment according to claim 1, it is characterised in that described according to the brightness adjustment amount Before the step of brightness to the predeterminable area is adjusted, further include:
Obtain the time interval between the maximum brightness and minimum brightness;
The brightness change feature that the predeterminable area is built according to the maximum brightness, minimum brightness and the time interval is bent Line;
Described the step of being adjusted according to brightness of the brightness adjustment amount to the predeterminable area, includes:
It is adjusted according to the brightness of the brightness adjustment amount and the brightness change indicatrix to the predeterminable area.
6. brightness of display screen method of adjustment according to claim 5, it is characterised in that the brightness change indicatrix bag Include last transition, the brightness of the predeterminable area is gradually reduced in the last transition, it is described according to the brightness adjustment amount with And brightness of the brightness change indicatrix to predeterminable area the step of being adjusted, includes:
First direct proportion function is built according to the brightness adjustment amount and the time interval, first direct proportion function Slope is more than zero;
First direct proportion function is superimposed to the last transition, to obtain the first brightness curve;
It is in the last transition of the brightness change indicatrix, the brightness adjustment of the predeterminable area is bent for first brightness The corresponding brightness of line.
7. brightness of display screen method of adjustment according to claim 5, it is characterised in that the brightness change indicatrix bag Include first transition, the brightness of the predeterminable area gradually increases in the first transition, it is described according to the brightness adjustment amount with And brightness of the brightness change indicatrix to predeterminable area the step of being adjusted, includes:
Second direct proportion function is built according to the brightness adjustment amount and the time interval, second direct proportion function Slope is less than zero;
Second direct proportion function is superimposed to the first transition, to obtain the second brightness curve;
It is in the first transition of the brightness change indicatrix, the brightness adjustment of the predeterminable area is bent for second brightness The corresponding brightness of line.
8. a kind of brightness of display screen adjusting apparatus, applied to electronic equipment, it is characterised in that the electronic equipment includes display screen And proximity sensor, the display screen include display area, orthographic projection of the proximity sensor on the display screen is located at The display area, the brightness of display screen adjusting apparatus include:
First acquisition module, for obtaining maximum brightness and minimum brightness of the display screen predeterminable area in preset time period, institute Predeterminable area is stated as the region on the display screen with the proximity sensor face;
First computing module, for calculating the luminance delta of the predeterminable area according to the maximum brightness and minimum brightness;
Second computing module, for calculating brightness adjustment amount according to the luminance delta;
Module is adjusted, for being adjusted according to brightness of the brightness adjustment amount to the predeterminable area.
9. brightness of display screen adjusting apparatus according to claim 8, it is characterised in that further include:
Second acquisition module, for obtaining the time interval between the maximum brightness and minimum brightness;
3rd computing module, for calculating the brightness change sequential of the predeterminable area according to the time interval;
The adjustment module is used for:
It is adjusted according to the brightness of predeterminable area described in ordered pair when the brightness adjustment amount and the brightness change.
10. brightness of display screen adjusting apparatus according to claim 8, it is characterised in that further include:
3rd acquisition module, for obtaining the time interval between the maximum brightness and minimum brightness;
Curve builds module, for building the preset areas according to the maximum brightness, minimum brightness and the time interval The brightness change indicatrix in domain;
The adjustment module is used for:
It is adjusted according to the brightness of the brightness adjustment amount and the brightness change indicatrix to the predeterminable area.
11. a kind of storage medium, it is characterised in that computer program is stored with the storage medium, when the computer journey When sequence is run on computers so that the computer perform claim requires 1 to 7 any one of them brightness of display screen adjustment side Method.
12. a kind of electronic equipment, it is characterised in that the electronic equipment includes processor and memory, is deposited in the memory Computer program is contained, the processor is by calling the computer program stored in the memory, for right of execution Profit requires 1 to 7 any one of them brightness of display screen method of adjustment.
CN201711176972.6A 2017-11-22 2017-11-22 Brightness of display screen method of adjustment, device, storage medium and electronic equipment Active CN107945733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711176972.6A CN107945733B (en) 2017-11-22 2017-11-22 Brightness of display screen method of adjustment, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711176972.6A CN107945733B (en) 2017-11-22 2017-11-22 Brightness of display screen method of adjustment, device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN107945733A true CN107945733A (en) 2018-04-20
CN107945733B CN107945733B (en) 2019-10-25

Family

ID=61929894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711176972.6A Active CN107945733B (en) 2017-11-22 2017-11-22 Brightness of display screen method of adjustment, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN107945733B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108848260A (en) * 2018-06-06 2018-11-20 Oppo广东移动通信有限公司 Control method, control device, electronic device, computer storage medium and equipment
CN108897001A (en) * 2018-07-06 2018-11-27 北京小米移动软件有限公司 Distance measurement method and terminal
CN109545132A (en) * 2018-11-26 2019-03-29 昆山国显光电有限公司 Shield body display methods, display screen and electronic equipment
CN110111735A (en) * 2019-05-31 2019-08-09 京东方科技集团股份有限公司 Driving method, driving chip and the display device of OLED display panel
CN110970001A (en) * 2019-12-03 2020-04-07 Oppo广东移动通信有限公司 Screen brightness adjusting method and device, electronic equipment and computer storage medium
CN113707072A (en) * 2021-09-03 2021-11-26 合肥维信诺科技有限公司 Flicker debugging method and device for display panel

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103748793A (en) * 2011-08-31 2014-04-23 苹果公司 Proximity sensor
CN104813475A (en) * 2012-11-27 2015-07-29 苹果公司 Electronic devices with display-integrated light sensors
CN105469775A (en) * 2016-01-29 2016-04-06 广东欧珀移动通信有限公司 Method for adjusting brightness of display screen and terminal equipment
CN106357918A (en) * 2016-09-30 2017-01-25 维沃移动通信有限公司 Method for adjusting screen brightness and mobile terminal
CN106921767A (en) * 2017-03-07 2017-07-04 捷开通讯(深圳)有限公司 A kind of mobile terminal of screen accounting high
CN107247922A (en) * 2017-05-12 2017-10-13 广东欧珀移动通信有限公司 Display device and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103748793A (en) * 2011-08-31 2014-04-23 苹果公司 Proximity sensor
CN104813475A (en) * 2012-11-27 2015-07-29 苹果公司 Electronic devices with display-integrated light sensors
CN105469775A (en) * 2016-01-29 2016-04-06 广东欧珀移动通信有限公司 Method for adjusting brightness of display screen and terminal equipment
CN106357918A (en) * 2016-09-30 2017-01-25 维沃移动通信有限公司 Method for adjusting screen brightness and mobile terminal
CN106921767A (en) * 2017-03-07 2017-07-04 捷开通讯(深圳)有限公司 A kind of mobile terminal of screen accounting high
CN107247922A (en) * 2017-05-12 2017-10-13 广东欧珀移动通信有限公司 Display device and mobile terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108848260A (en) * 2018-06-06 2018-11-20 Oppo广东移动通信有限公司 Control method, control device, electronic device, computer storage medium and equipment
CN108897001A (en) * 2018-07-06 2018-11-27 北京小米移动软件有限公司 Distance measurement method and terminal
CN109545132A (en) * 2018-11-26 2019-03-29 昆山国显光电有限公司 Shield body display methods, display screen and electronic equipment
CN110111735A (en) * 2019-05-31 2019-08-09 京东方科技集团股份有限公司 Driving method, driving chip and the display device of OLED display panel
CN110111735B (en) * 2019-05-31 2020-08-18 京东方科技集团股份有限公司 Driving method and driving chip of OLED display panel and display device
CN110970001A (en) * 2019-12-03 2020-04-07 Oppo广东移动通信有限公司 Screen brightness adjusting method and device, electronic equipment and computer storage medium
CN113707072A (en) * 2021-09-03 2021-11-26 合肥维信诺科技有限公司 Flicker debugging method and device for display panel
CN113707072B (en) * 2021-09-03 2023-01-31 合肥维信诺科技有限公司 Flicker debugging method and device for display panel
WO2023029515A1 (en) * 2021-09-03 2023-03-09 合肥维信诺科技有限公司 Flicker debugging method and device for display panel

Also Published As

Publication number Publication date
CN107945733B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN107945733A (en) Brightness of display screen method of adjustment, device, storage medium and electronic equipment
CN107957294B (en) Ambient light intensity detection method and device, storage medium and electronic equipment
US11175824B2 (en) Method for detecting ambient light intensity, storage medium and electronic device
CN107945769B (en) Ambient light intensity detection method and device, storage medium and electronic equipment
CN107450817B (en) Proximity detection method, proximity detection device, storage medium, and electronic apparatus
WO2018214885A1 (en) Radio frequency interference processing method and electronic device
CN111857484B (en) Screen brightness adjusting method and device, electronic equipment and readable storage medium
CN111754954A (en) Screen brightness adjusting method and device, storage medium and electronic equipment
CN108810403A (en) Focus adjustment method, apparatus, storage medium and electronic equipment
EP3567572B1 (en) Screen flickering processing method, device, storage medium, and electronic device
CN108737652A (en) Luminance control method for display screen, device, storage medium and electronic equipment
CN107941330A (en) Ambient light intensity detection method, device, storage medium and electronic equipment
CN107147453A (en) Processing method, device, storage medium and the terminal of Radio frequency interference
CN114203119B (en) Display control method, display control device, electronic equipment and storage medium
CN109272917B (en) Screen brightness adjusting method and device, storage medium and electronic equipment
US20100097320A1 (en) Electronic device for entering password
CN109086103B (en) Application display method and device, storage medium and electronic equipment
CN109144814B (en) Information reminding method and device, storage medium and electronic equipment
CN107343100B (en) Information prompting method and device, storage medium and electronic equipment
CN111710315B (en) Image display method, image display device, storage medium and electronic equipment
CN112416172A (en) Electronic equipment control method and device and electronic equipment
CN112333441A (en) Camera detection method and device and electronic equipment
CN108958607B (en) Split screen display starting method and device, storage medium and electronic equipment
CN108924360B (en) Display method, storage medium, and electronic device
CN115798418A (en) Image display method, device, terminal and storage medium

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
CB02 Change of applicant information

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

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

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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant