CN109243402A - A kind of method and device adjusting brightness of display screen - Google Patents

A kind of method and device adjusting brightness of display screen Download PDF

Info

Publication number
CN109243402A
CN109243402A CN201811131509.4A CN201811131509A CN109243402A CN 109243402 A CN109243402 A CN 109243402A CN 201811131509 A CN201811131509 A CN 201811131509A CN 109243402 A CN109243402 A CN 109243402A
Authority
CN
China
Prior art keywords
display screen
sensor
brightness
sensed parameter
induction region
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
CN201811131509.4A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201811131509.4A priority Critical patent/CN109243402A/en
Publication of CN109243402A publication Critical patent/CN109243402A/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
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention provides a kind of method and device for adjusting brightness of display screen, the first sensed parameter is obtained by first sensor, and based on the first sensed parameter according to the brightness of pre-defined rule adjustment display screen, if the induction region of first sensor, which has, blocks object, control display screen maintains have the brightness before blocking object constant, it still is able in this way with display screen when blocking object in the induction region of first sensor using the brightness having before blocking object, so that there is the induction region of first sensor control display screen when blocking object still to be able to normal use.And relative to having before blocking object, there is no variations if the induction region of first sensor is with the light luminance of object and display screen local environment is blocked, maintain that there is the constant brightness that can make display screen of brightness before blocking object to be consistent with intrinsic brilliance adjustment by control display screen, to improve the accuracy of brightness adjustment.

Description

A kind of method and device adjusting brightness of display screen
Technical field
The invention belongs to brightness control technology fields, more specifically more particularly to it is a kind of adjust brightness of display screen side Method and device.
Background technique
At present electronic equipment can according to the brightness of the display screen of the light luminance adjust automatically electronic equipment of local environment, Environment light is such as acquired by the first sensor (such as ambient light sensor) in electronic equipment, if the light of the environment light of acquisition is bright Degree reduces the brightness for then reducing display screen, and the brightness of display screen is increased if the light luminance of the environment light of acquisition increases.And work as It is 0 that ambient light sensor, which obtains the light luminance of local environment, when being blocked, then display screen can be closed, so that in ambient light sensing Display screen is not available when device is blocked.
Summary of the invention
In view of this, the purpose of the present invention is to provide it is a kind of adjust brightness of display screen method and device, be used for so that There is the induction region of first sensor control display screen when blocking object still to be able to normal use.Technical solution is as follows:
The present invention provides a kind of method for adjusting brightness of display screen, which comprises
The first sensed parameter is obtained by first sensor;
The brightness of the display screen is adjusted according to pre-defined rule based on first sensed parameter;
If the induction region of the first sensor, which has, blocks object, controls the display screen and maintain that there is shelter Brightness before body is constant.
Preferably, the method also includes:
The current application scenarios of electronic equipment where obtaining the display screen;
If the induction region of the first sensor, which has, blocks object, controls the display screen and maintain that there is screening Brightness before block material body is constant to include:
If the induction region that the application scenarios are default scene and the first sensor, which has, blocks object, control The display screen maintains have the brightness before blocking object constant.
Preferably, the method also includes:
It determines whether the induction region of the first sensor has by second sensor and blocks object;
Wherein, show the induction of the first sensor if obtaining the second sensed parameter by the second sensor Region, which has, blocks object;Show the first sensor if not obtaining the second sensed parameter by the second sensor The unobstructed object of induction region.
Preferably, the method also includes:
The second sensor is enabled if the application scenarios are default scene.
Preferably, the method also includes:
If the induction region of the first sensor controls institute from having the object that blocks to be changed to unobstructed object Display screen is stated to be maintained when the first moment that the induction region is changed to unobstructed object keeping and blocking object with described in Brightness;
At the second moment after first moment, the first sensed parameter based on second moment acquisition is according to institute State the brightness that pre-defined rule adjusts the display screen.
The present invention also provides a kind of methods for adjusting brightness of display screen, which comprises
The current application scenarios of electronic equipment where obtaining the display screen;
If the application scenarios are default scene, the first sensed parameter obtained based on first sensor is forbidden to adjust institute State the brightness of display screen;
If the luminance parameter obtained by the first operation of user, adjusts the display screen based on the luminance parameter Brightness.
The present invention also provides a kind of device for adjusting brightness of display screen, described device includes:
Obtaining unit, for obtaining the first sensed parameter by first sensor;
Adjustment unit, for adjusting the brightness of the display screen according to pre-defined rule based on first sensed parameter;
Control unit controls the display screen if the induction region for the first sensor, which has, blocks object Maintain have the brightness before blocking object constant.
The present invention also provides a kind of electronic equipment, the electronic equipment includes: first sensor, display screen and processor;
The first sensor, for obtaining the first sensed parameter;
The processor, for the brightness of the display screen to be adjusted according to pre-defined rule based on first sensed parameter, If the induction region of the first sensor, which has, blocks object, controls the display screen and maintain to have before blocking object Brightness is constant.
The present invention also provides a kind of device for adjusting brightness of display screen, described device includes:
Obtaining unit, the application scenarios current for the electronic equipment where obtaining the display screen;
Determination unit forbids obtain based on first sensor first if being default scene for the application scenarios Sensed parameter adjusts the brightness of the display screen;
Processing unit, if being based on the luminance parameter tune for the luminance parameter that the first operation by user obtains The brightness of the whole display screen.
The present invention also provides a kind of electronic equipment, the electronic equipment includes: first sensor, display screen and processor;
The first sensor, for obtaining the first sensed parameter;
The processor, if the application scenarios are default scene, is forbidden being based on for obtaining current application scenarios The first sensed parameter that first sensor obtains adjusts the brightness of the display screen, if obtained by the first operation of user Luminance parameter adjusts the brightness of the display screen based on the luminance parameter.
From above-mentioned technical proposal it is found that obtaining the first sensed parameter by first sensor, and it is based on the first sensed parameter According to the brightness of pre-defined rule adjustment display screen, but if the induction region of first sensor, which has, blocks object, control is aobvious Display screen maintains have the brightness before blocking object constant, aobvious when the induction region of first sensor has and blocks object in this way Display screen still is able to using having the brightness blocked before object, so that the induction region of first sensor, which has, blocks object time control Display screen processed still is able to normal use.And if the induction region of first sensor, which has, blocks ring locating for object and display screen The light luminance in border maintains to have and blocks object relative to having before blocking object there is no variation by control display screen The constant brightness that can make display screen of brightness before is consistent with intrinsic brilliance adjustment, to improve the accurate of brightness adjustment Degree.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of method for adjusting brightness of display screen provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the method for another adjustment brightness of display screen provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the method for another adjustment brightness of display screen provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of second sensor setting provided in an embodiment of the present invention;
Fig. 5 is the flow chart of the method for another adjustment brightness of display screen provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of device for adjusting brightness of display screen provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the device of another adjustment brightness of display screen provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to Fig. 1, it illustrates a kind of flow chart for the method for adjusting brightness of display screen provided in an embodiment of the present invention, For make first sensor induction region have block object when control display screen still be able to normal use, may include with Lower step:
101: the first sensed parameter is obtained by first sensor.It is to be understood that first sensor is adjustment display The acquisition equipment of first sensed parameter needed for the brightness of screen passes through if first sensor can be an ambient light sensor Ambient light sensor acquires environment light, such as using the light luminance of collected environment light as the first sensed parameter.
In order to accurately adjust the brightness of display screen, first sensor and display screen are needed in same in the present embodiment In one environment, the first sensed parameter that such first sensor obtains can accurately show the environment light of display screen local environment Light luminance.Such as first sensor and display location be in the same electronic equipment, so that first sensor and display screen At any time in same environment.
102: based on the first sensed parameter according to the brightness of pre-defined rule adjustment display screen.That is it is arranged for display screen One pre-defined rule, the pre-defined rule indicate how the brightness that display screen is adjusted based on the first sensed parameter, are thus obtaining the The brightness of display screen can be adjusted after one sensed parameter according to the pre-defined rule.
Such as a kind of mode of pre-defined rule may is that and show the environment light of display screen local environment in the first sensed parameter Light luminance the brightness of display screen is reduced when reducing, and show the environment light of display screen local environment in the first sensed parameter The brightness that display screen is increased when light luminance increases, can be based on the first sensed parameter table in this way after obtaining the first sensed parameter Light indicated by the first sensed parameter that the light luminance of the environment light of bright display screen local environment is obtained with the last time is bright Degree is compared, and reduces display screen if reducing relative to light luminance indicated by the first sensed parameter of last time acquisition Brightness increases the brightness of display screen if increasing for light luminance indicated by the first sensed parameter of last time acquisition.
The another way of pre-defined rule may is that light luminance and the display of the environment light of regulation display screen local environment Corresponding relationship between the brightness of screen can be found and the first induction hereby based on the corresponding relationship of pre-defined rule defined The brightness of the matched display screen of light luminance of the environment light of display screen local environment indicated by parameter, and then by display screen The brightness adjustment extremely matched brightness of institute.
It is above-mentioned be only pre-defined rule in two ways for, it is aobvious to being adjusted based on the first sensed parameter according to pre-defined rule The brightness of display screen is illustrated, but pre-defined rule is not limited to above two mode in the present embodiment, in practical application In pre-defined rule can be arranged according to the brightness adjustment demand of display screen, this present embodiment is no longer illustrated.
103: if the induction region of first sensor, which has, blocks object, control display screen maintain to have block object it Preceding brightness is constant.Why control display screen maintain have block object before brightness it is constant be because are as follows: if first pass The induction region of sensor, which has, blocks object, and first sensor can will block blocking for object and be considered as the environment of its local environment Light changes, and the actual environment light of the first sensed parameter and its local environment that cause first sensor to obtain is not inconsistent, if with It then will lead to control mistake with the first sensed parameter control display screen obtained when blocking object, so if first sensor Induction region have block object, then control display screen maintain have block object before brightness it is constant.
In the present embodiment, control display screen maintains the mode for having the brightness before blocking object constant that can have as follows But it is not limited to such as under type:
First way: forbid the brightness of the first sensed parameter adjustment display screen obtained based on first sensor, thus The function of the adjust automatically display screen of electronic equipment where disabling display screen;
The second way: disabling first sensor;
The third mode: the first sensed data that first sensor obtains is abandoned.
First way and the second way are needed to have in the induction region of first sensor and be hidden in above-mentioned three kinds of modes The function and disabling first sensor that adjust automatically display screen is disabled when block material body, in the induction region of first sensor from having The function of adjust automatically display screen is reactivated when blocking object to unobstructed object and reactivates first sensor, so that needing Will the induction region based on first sensor whether have and block object to disable and reactivate repeatedly, to reduce operability Energy;And the third mode directly abandons the first sensed data when the induction region of first sensor has and blocks object, does not deposit The case where disabling and reactivating function and first sensor repeatedly, but come relative to first way and the second way It says for the especially second way, needs still to obtain the first sensed parameter when having and blocking object.Certain the present embodiment is also Electronic equipment is automatic where can realizing the disabling display screen of first way by the second way and the third mode Adjust the function of display screen.
In the present embodiment, it is above-mentioned block object be can block first sensor induction region make the first induction join The wrong object of number, any object (not being the object of all-transparent) such as transparency less than 100%.Such as block object can be with It is some physical feeling of user, as when holding electronic equipment, the finger of user is placed into the induction zone of first sensor to user On domain, although in another example the shade that an object is located at the side of the first sensor object can project induction region, then Equally it is one depending on the shade and blocks object.
If any object is overlapped with the induction region of first sensor, it is determined that the induction region of first sensor has Block object, that is to say, that the induction region of first sensor, which has, to be blocked object and be not meant to that block object occupies completely Induction region blocks object when the induction region that the partial region for occupying induction region is equally considered as first sensor has.
From above-mentioned technical proposal it is found that obtaining the first sensed parameter by first sensor, and it is based on the first sensed parameter According to the brightness of pre-defined rule adjustment display screen, but if the induction region of first sensor, which has, blocks object, control is aobvious Display screen maintains have the brightness before blocking object constant, aobvious when the induction region of first sensor has and blocks object in this way Display screen still is able to using having the brightness blocked before object, so that the induction region of first sensor, which has, blocks object time control Display screen processed still is able to normal use.And if the induction region of first sensor, which has, blocks ring locating for object and display screen The light luminance in border maintains to have and blocks object relative to having before blocking object there is no variation by control display screen The constant brightness that can make display screen of brightness before is consistent with intrinsic brilliance adjustment, to improve the accurate of brightness adjustment Degree.
Referring to Fig. 2, it illustrates the processes of the method for another adjustment brightness of display screen provided in an embodiment of the present invention Figure, may comprise steps of:
201: the first sensed parameter is obtained by first sensor.
202: based on the first sensed parameter according to the brightness of pre-defined rule adjustment display screen.
In the present embodiment, step 201 and step 202: it is identical as step 102 as above-mentioned steps 101, to this present embodiment No longer illustrate.
203: obtaining the current application scenarios of electronic equipment where display screen.The wherein current application scenarios of electronic equipment For showing the currently running mode applying and/or showing electronic equipment and be presently in of electronic equipment, if electronic equipment is worked as Preceding application scenarios show that electronic equipment enables default application program and/or shows that display screen exports display content with predetermined manner (such as full frame output shows content) illustrates that the current application scenarios of electronic equipment are default scene.That is electronic equipment is worked as Preceding application scenarios are that the determination of default scene has three ways, such as but is not limited to following:
First way: obtaining the program information for the application program that electronic equipment currently enables, if enabled based on current The program information of application program determine and enable default application program, it is determined that the current application scenarios of electronic equipment are default field Scape.The program information for the application program that wherein electronic equipment currently enables can be obtained by the task manager of electronic equipment, tool Body the present embodiment is no longer described in detail, and default application program can be depending on practical application, to this present embodiment without limit It is fixed, such as preset application program and can be games or the program with video playback capability.
The second way: increase by one in the electronic device for monitoring the interface of display screen, in display screen with default side The corresponding value of the interface uses value when other forms output display content different from display screen when formula output display content, Therefore it can then determine whether display screen is exported with predetermined manner by the corresponding value of the interface and show content, if the interface Corresponding value shows that display screen exports display content with predetermined manner, determines that the current application scenarios of electronic equipment are default field Scape such as shows that display screen exports display content with full form, determines that the current application scenarios of electronic equipment are default scene.Such as Video or full form object for appreciation game are being played with full form, it is determined that the current application scenarios of electronic equipment are default scene.
The third mode: the program information for the application program that electronic equipment currently enables is obtained, and by for monitoring The value of the interface of display screen determines display screen using which kind of form output display content, if based on the application journey currently enabled The program information of sequence determines that the display content for enabling default application program and the default application program is exported with predetermined manner, determines The current application scenarios of electronic equipment are default scene.
Certain above-mentioned three kinds of modes are only the feasible patterns to default scene, can also use other can in practical applications Line mode is judged, and default scene is also not limited to corresponding default application program and/or the display screen of enabling with default side Formula output display content, in practical applications can difference according to demand default scene is set, it is not another to this present embodiment One illustrates.
204: if the induction region that application scenarios are default scene and first sensor, which has, blocks object, control display Screen maintains have the brightness before blocking object constant, i.e. control display screen maintains the constant need of brightness for having before blocking object To meet two o'clock requirement simultaneously: first is that application scenarios are default scene;Second is that the induction region of first sensor has shelter Body is determining that meeting control display screen when this two o'clock requires maintains have the brightness before blocking object constant, bright for controlling It spends constant mode and please refers to related description in above method embodiment, this present embodiment is no longer illustrated.
It is illustrated by taking predetermined manner such as full form output display content as an example by default scene for display screen below, if The display screen of electronic equipment is monitored just in full frame output game content, if the induction region of first sensor has screening at this time Block material body then controls display screen and maintains have the brightness before blocking object constant, if user is in operation game process in this way If user's finger has blocked induction region (i.e. user's finger is to block object), display screen maintenance can still be kept to block at this time Brightness before object is constant, to maintain the normal use of display screen in game process.It can certainly determine the first biography The induction region of sensor have block object in the case where, monitoring at this time display screen whether with predetermined manner export display content, If monitoring that display screen exports display content with predetermined manner, controls display screen and maintain that there is the brightness blocked before object It is constant.
From above-mentioned technical proposal it is found that being hidden if the induction region that application scenarios are default scene and first sensor has Block material body, control display screen maintain have the brightness before blocking object constant, allow display screen under a preset scenario not It is influenced by object is blocked, and can also be adjusted under other application scenarios based on the first sensed parameter of first sensor simultaneously The brightness of whole display screen, to meet the demand under different application scene to the brightness control of display screen.
Referring to Fig. 3, it illustrates the processes of the method for another adjustment brightness of display screen provided in an embodiment of the present invention Figure, comprising the following steps:
301: the first sensed parameter is obtained by first sensor.
302: based on the first sensed parameter according to the brightness of pre-defined rule adjustment display screen
303: if the induction region of first sensor, which has, blocks object, control display screen maintain to have block object it Preceding brightness is constant.
In the present embodiment, step 301 is to step 303: it is identical to step 103 as above-mentioned steps 101, to this present embodiment No longer illustrate.
304: if the induction region of first sensor blocks object and is changed to unobstructed object from having, controlling display screen It keeps at the first moment that induction region is changed to unobstructed object with brightness maintained when blocking object.
Why from block object be changed to the first moment of unobstructed object still keep having block object when Maintained brightness be because are as follows: the brightness change process of display screen is in this change procedure: from maintain have block object Brightness before obtains when then arriving unobstructed object again to the first sensed parameter corresponding brightness obtained when having and blocking object The corresponding brightness of the first sensed parameter obtained, the first sensed parameter that first sensor is obtained when having and blocking object, relatively There is very big gap for the first sensed parameter obtained when being changed to unobstructed object, so that the brightness of display screen has Have a mutation, shaken from display screen from the point of view of user's visual angle, thus from have block object be changed to it is unobstructed First moment of object still keeps with brightness maintained when blocking object to prevent display screen from above situation occur.
305: the second moment after the first moment is established rules based on the first sensed parameter that the second moment obtained according to pre- The brightness of display screen is then adjusted, thus still can be based on the first sensed parameter according to pre-defined rule tune when being changed to unobstructed object The brightness of whole display screen.That is it is blocking and needs to maintain brightness not at the time of object is changed to unobstructed object from having Become, and at the time of being changed to unobstructed object after subsequent time and other moment later then need based on the first sense Answer parameter according to the brightness of pre-defined rule adjustment display screen, for how then can be with according to the brightness of pre-defined rule adjustment display screen Refering to above description, this present embodiment is no longer illustrated.
Herein it should be noted is that: if the subsequent time after when being changed to unobstructed object, The first sensed parameter that one sensor obtains gap for the first sensed parameter having before blocking object is larger, if directly The brightness for connecing the first sensed parameter adjustment display screen obtained based on subsequent time first sensor is also likely to be present the feelings of shake Condition, the first sensed parameter that can be obtained thus based on subsequent time first sensor is come the multiple brightness for adjusting display screen, such as The first sensed parameter obtained based on subsequent time first sensor obtains at least two parts of sensed parameters, is based on every part of sensed parameter The brightness of display screen is adjusted until the brightness of the display screen of last time adjustment is consistent with the brightness that the first sensed parameter adjusts.
It, can be by subsequent time first sensor by taking the first sensed parameter is the light luminance of display screen place environment as an example The light luminance of acquisition is divided at least two light luminances (being considered as at least two parts of sensed parameters), and at least two light There is a light luminance identical as the light luminance that subsequent time obtains in brightness, the light luminance obtained such as subsequent time is a, A is then divided into a1 and a2, a2 is identical as a, then can first adjust the brightness of display screen based on a1, then adjust again based on a2 The brightness of whole display screen allows the brightness of display screen by the corresponding brightness final adjustment of a1 to the corresponding brightness of a2, drop The substantially mutation of the brightness of low display screen, reduces the generation of jitter conditions.
From above-mentioned technical proposal it is found that if the induction region of first sensor from have block object be changed to it is unobstructed Object still controls display screen and is maintained when the first moment that induction region is changed to unobstructed object keeping and having and block object Brightness reduce the probability that display screen is shaken to prevent the mutation of the brightness of display screen.
For above-mentioned each embodiment of the method, the induction region of first sensor whether have block object can be by Two sensors determine.Wherein show the induction region of first sensor if obtaining the second sensed parameter by second sensor With blocking object;Show if not obtaining the second sensed parameter by second sensor the induction region of first sensor without Block object.
In the present embodiment, the induction region of second sensor need to cover the induction region or second of first sensor Sensor is located within the induction region of first sensor, in this way when the induction region of first sensor has and blocks object the Two sensors can acquire the second sensed parameter.Wherein second sensor can be any can sense and block object Sensor, if second sensor can be distance-sensor (English name Psensor), if distance-sensor acquire away from From value (being considered as the second sensed parameter), then show that the induction region of first sensor has and block object, otherwise shows the The unobstructed object of the induction region of one sensor.
Furthermore the second sensed parameter can also be obtained to second sensor in the present embodiment further to distinguish, if logical Cross second sensor acquisition the second sensed parameter meet preset condition then show first sensor induction region have block Object;Show the induction of first sensor if the second sensed parameter obtained by second sensor is unsatisfactory for preset condition The unobstructed object in region.Still by taking above-mentioned distance-sensor as an example, if the distance value that distance-sensor obtains is less than preset threshold Then show that the induction region of first sensor has and blocks object;If the distance value that distance-sensor obtains is greater than or equal to pre- If threshold value then shows the unobstructed object of the induction region of first sensor.It can root for the setting of preset condition and preset threshold Depending on practical application, this present embodiment is no longer illustrated.
Herein it should be noted is that: for the setting position of second sensor, second sensor can be set It sets and holds the position of electronic equipment in user, this is because: user is when holding electronic equipment easily to first in electronic equipment Sensor causes to block, this blocks the induction region that can be considered as first sensor with object is blocked, so by second The position that user's gripping electronic equipment is arranged in sensor can allow second sensor in time by the second sensed parameter It monitors that this is blocked, and then promotes electronic equipment that the brightness control of display screen is had the brightness before blocking object.
By taking Fig. 4 as an example, second sensor and first sensor are located at the position that user holds electronic equipment simultaneously, in user User's finger can move back and forth during holding electronic equipment, as user holds electronic equipment and to electricity in a manner of shown in Fig. 4 User's finger needs constantly mobile when the game content shown in sub- equipment is operated, this movement is there is a possibility that user's finger The induction region of first sensor is caused to block, and this case can be arranged on user and hold at the position of electronic equipment Second sensor incudes in time, so that electronic equipment can in time control the brightness of display screen, to prevent from showing The brightness of display screen is dimmed.Or the environment light of environment where electronic equipment mutates, and such as has a power failure suddenly or enters and compares Under dark environment, user's finger can be then moved to the induction zone of first sensor in the case where holding electronic equipment at this time Domain allows second sensor to obtain the second sensed parameter, and the display screen of electronic equipment can just be made to maintain have screening at this time Brightness before block material body, to prevent the caused display screen when the environment light of environment where electronic equipment mutates excessively dark It happens.
Herein also it needs to be explained that: if be not defined to the application scenarios of electronic equipment, second pass The enabling and disabling of sensor are referred to first sensor or second sensor and are constantly in enabling after electronic equipment enabling State;If the application scenarios to electronic equipment are defined, second can be enabled when application scenarios are default scene and passed Sensor, i.e. second sensor are in disabling in general, and if the application scenarios for obtaining electronic equipment are default field Scape then enables second sensor, can also reduce the resource consumption of electronic equipment when that can monitor in time and block object in this way.
Referring to Fig. 5, it illustrates the methods of another adjustment brightness of display screen provided in an embodiment of the present invention, default It is solved by disabling the function of adjust automatically display screen under scene because display screen caused by blocking can not normal use Problem, the method that brightness of display screen is wherein adjusted described in Fig. 5 may comprise steps of:
501: obtaining the current application scenarios of electronic equipment where display screen.
502: if application scenarios are default scene, the first sensed parameter based on first sensor being forbidden to adjust display screen Brightness, due to having forbidden the first sensed parameter based on first sensor to adjust the brightness of display screen, so if first passes There is the induction region of sensor the brightness for blocking object display screen not will receive the variation of the first sensed parameter and change, so that aobvious Display screen still can normal use.
In the present embodiment, forbid the mode of the brightness of the first sensed parameter adjustment display screen based on first sensor can To have but be not limited to: disabling first sensor abandons the first sensed data that first sensor obtains, and for applied field The acquisition of scape and how to determine that the explanation that application scenarios are default scene can be refering to above method embodiment, to this this implementation Example no longer illustrates.
503: if the luminance parameter obtained by the first operation of user, based on the bright of luminance parameter adjustment display screen Degree, the luminance parameter that the brightness of display screen is obtained when being manually operated by user are adjusted.That is it is answering The function of adjust automatically brightness of display screen is disabled when although being default scene with scene, but still can manually be adjusted It is whole.
From above-mentioned technical proposal it is found that due to having forbidden the first sensed parameter based on first sensor to adjust display screen Brightness, so if there is the induction region of first sensor the brightness for blocking object display screen not will receive the first sensed parameter Variation and change so that display screen still can normal use, and the brightness of display screen will not generate mistake because object is blocked Adjustment.
For the various method embodiments described above, for simple description, therefore, it is stated as a series of action combinations, but Be those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because according to the present invention, certain A little steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know that, it is retouched in specification The embodiment stated belongs to preferred embodiment, and related actions and modules are not necessarily necessary for the present invention.
Corresponding with above method embodiment, the embodiment of the present invention also provides a kind of device for adjusting brightness of display screen, Structure is as shown in fig. 6, may include: obtaining unit 11, adjustment unit 12 and control unit 13.
Obtaining unit 11, for obtaining the first sensed parameter by first sensor.It is to be understood that first sensor It is the acquisition equipment of the first sensed parameter needed for adjusting the brightness of display screen, is passed as first sensor can be an environment light Sensor acquires environment light by ambient light sensor, such as using the light luminance of collected environment light as the first sensed parameter.
Adjustment unit 12, for the brightness based on the first sensed parameter according to pre-defined rule adjustment display screen.That is For display screen, one pre-defined rule is set, which indicates how the brightness that display screen is adjusted based on the first sensed parameter, Thus the brightness of display screen can be adjusted after obtaining the first sensed parameter according to the pre-defined rule, is specifically illustrated It is bright to please refer to embodiment of the method, this present embodiment is no longer illustrated.
Control unit 13, if the induction region for first sensor, which has, blocks object, control display screen maintains tool There is the brightness before blocking object constant.Why control display screen maintain have block object before brightness it is constant be because Are as follows: if the induction region of first sensor, which has, blocks object, and first sensor can will block blocking for object and be considered as it The light luminance of local environment changes, the reality of the first sensed parameter and its local environment that cause first sensor to obtain Light luminance is not inconsistent, and will lead to control mistake if the first sensed parameter control display screen obtained when blocking object to have, So if the induction region of first sensor, which has, blocks object, then controls display screen and maintain with bright before blocking object It spends constant.
In the present embodiment, control unit 13 controls display screen and maintains the mode for having the brightness before blocking object constant Can have following but be not limited to such as under type:
First way: forbid the brightness of the first sensed parameter adjustment display screen obtained based on first sensor, thus The function of the adjust automatically display screen of electronic equipment where disabling display screen;
The second way: disabling first sensor;
The third mode: the first sensed data that first sensor obtains is abandoned.
In the present embodiment, it is above-mentioned block object be can block first sensor induction region make the first induction join The wrong object of number, any object (not being the object of all-transparent) such as transparency less than 100%.Such as block object can be with It is some physical feeling of user, as when holding electronic equipment, the finger of user is placed into the induction zone of first sensor to user On domain, although in another example the shade that an object is located at the side of the first sensor object can project induction region, then Equally it is one depending on the shade and blocks object.If any object is overlapped with the induction region of first sensor, it is determined that the The induction region of one sensor, which has, blocks object, that is to say, that the induction region of first sensor, which has, blocks object unexpectedly Taste block object and occupy induction region completely, when the partial region for occupying induction region is equally considered as the induction of first sensor Region, which has, blocks object.
From above-mentioned technical proposal it is found that obtaining the first sensed parameter by first sensor, and it is based on the first sensed parameter According to the brightness of pre-defined rule adjustment display screen, but if the induction region of first sensor, which has, blocks object, control is aobvious Display screen maintains have the brightness before blocking object constant, aobvious when the induction region of first sensor has and blocks object in this way Display screen still is able to using having the brightness blocked before object, so that the induction region of first sensor, which has, blocks object time control Display screen processed still is able to normal use.And if the induction region of first sensor, which has, blocks ring locating for object and display screen The light luminance in border maintains to have and blocks object relative to having before blocking object there is no variation by control display screen The constant brightness that can make display screen of brightness before is consistent with intrinsic brilliance adjustment, to improve the accurate of brightness adjustment Degree.
On the basis of above-mentioned Fig. 6 it is provided in this embodiment adjustment brightness of display screen device can also include: obtaining unit 11, the current application scenarios of electronic equipment where being also used to obtain display screen, if corresponding control unit 13 is for answering Have with the induction region that scene is default scene and first sensor and block object, control display screen, which maintains to have, blocks object Brightness before is constant, i.e., control display screen maintains to have the constant needs of the brightness before blocking object while meeting two o'clock to want It asks: first is that application scenarios are default scene;Second is that the induction region of first sensor have block object, determine meet this two Control display screen maintains have the brightness before blocking object constant when point requires, the mode constant for control brightness, application Scene obtains, judge whether application scenarios are to preset scene to please refer to related description in above method embodiment, to this Embodiment no longer illustrates.
From above-mentioned technical proposal it is found that being hidden if the induction region that application scenarios are default scene and first sensor has Block material body, control display screen maintain have the brightness before blocking object constant, allow display screen under a preset scenario not It is influenced by object is blocked, and can also be adjusted under other application scenarios based on the first sensed parameter of first sensor simultaneously The brightness of whole display screen, to meet the demand under different application scene to the brightness control of display screen.
Furthermore control unit 13 block object and are changed to no screening from having if being also used to the induction region of first sensor Block material body, control display screen are maintained when the first moment that induction region is changed to unobstructed object keeping and having and block object Brightness, and for the second moment after the first moment, the first sensed parameter obtained based on the second moment is according to pre- Determine the brightness of rule adjustment display screen.
Why the so control of control unit 13 be because are as follows: from have block object and be changed to unobstructed object during The brightness change process of display screen is: from maintaining with the brightness before blocking object to first obtained when blocking object The corresponding brightness of sensed parameter, the corresponding brightness of the first sensed parameter obtained when then arriving unobstructed object again, the first sensing The first sensed parameter that device is obtained when having and blocking object, relative to the first induction ginseng obtained when being changed to unobstructed object There is very big gap for number, so that the brightness of display screen has a mutation, from display screen from the point of view of user's visual angle It shakes, so from still keeping having when of blocking object institute with blocking object and be changed to the first moment of unobstructed object The brightness of maintenance is to prevent display screen from above situation occur.And the first sense obtained at the second moment later based on the second moment Parameter is answered to make it possible to the function of normal use adjust automatically display screen according to the brightness of pre-defined rule adjustment display screen.
For the induction region of above-mentioned first sensor whether block object be determined by second sensor, wherein if Then show that the induction region of first sensor has by the second sensed parameter of second sensor acquisition and blocks object;If passed through Second sensor does not obtain the second sensed parameter and then shows the unobstructed object of the induction region of first sensor, and illustrating please join Above method embodiment is read, this present embodiment is no longer described in detail.
The embodiment of the present invention also provides a kind of electronic equipment, which includes: first sensor, display screen and processing Device.Wherein first sensor, for obtaining the first sensed parameter;Processor, for being established rules based on the first sensed parameter according to pre- The brightness of display screen is then adjusted, if the induction region of first sensor, which has, blocks object, control display screen is maintained to have and be hidden Brightness before block material body is constant, so that there is the induction region of first sensor control display screen when blocking object to remain to Enough normal uses.
Referring to Fig. 7, it illustrates the structure of the device of another adjustment brightness of display screen provided in an embodiment of the present invention, It may include: obtaining unit 21, determination unit 22 and processing unit 23.
Obtaining unit 21, the application scenarios current for the electronic equipment where obtaining display screen.
Determination unit 22 forbids the first sense obtained based on first sensor if being default scene for application scenarios The brightness for answering parameter adjustment display screen, due to having forbidden the first sensed parameter based on first sensor to adjust the bright of display screen Degree, so if there is the induction region of first sensor the brightness for blocking object display screen not will receive the first sensed parameter Change and change, so that display screen still can normal use.
In the present embodiment, forbid the mode of the brightness of the first sensed parameter adjustment display screen based on first sensor can To have but be not limited to: disabling first sensor abandons the first sensed data that first sensor obtains, and for applied field The acquisition of scape and how to determine that the explanation that application scenarios are default scene can be refering to above method embodiment, to this this implementation Example no longer illustrates.
Processing unit 23, if adjusted for the luminance parameter that the first operation by user obtains based on luminance parameter The brightness of display screen, the luminance parameter that the brightness of display screen is obtained when being manually operated by user are adjusted.? Although that is disable the function of adjust automatically brightness of display screen when application scenarios are default scene, but still can be by manual Mode is adjusted.
The embodiment of the present invention also provides a kind of electronic equipment, which includes: first sensor, display screen and processing Device.Wherein first sensor, for obtaining the first sensed parameter;Processor, for obtaining current application scenarios, if using Scene is default scene, forbids the brightness of the first sensed parameter adjustment display screen obtained based on first sensor, if passed through The luminance parameter that the first operation of user obtains, the brightness based on luminance parameter adjustment display screen.
From above-mentioned technical proposal it is found that due to having forbidden the first sensed parameter based on first sensor to adjust display screen Brightness, so if there is the induction region of first sensor the brightness for blocking object display screen not will receive the first sensed parameter Variation and change so that display screen still can normal use, and the brightness of display screen will not generate mistake because object is blocked Adjustment.
One embodiment provided by the present invention is in game mode (for example, starting game application or game application Be currently running) under disabling ambient light sensor adjustment brightness of display screen;One embodiment provided by the present invention is in game mould Determine that ambient light sensor institute is right based on Psensor under formula (for example, start game application or game application is currently running) Whether (for example, hand or finger etc.) is blocked on the region answered, if there is blocking, ignoring or abandoning or forbid current Display screen is adjusted based on environment light collected.Display screen is adjusted based on environment light collected if not blocking.
In addition, the embodiment of the present invention also provides a kind of storage medium, it is stored with computer program code on the storage medium, The method that the computer program code realizes above-mentioned adjustment brightness of display screen when executing.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
The foregoing description of the disclosed embodiments can be realized those skilled in the art or using the present invention.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest Range.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of method for adjusting brightness of display screen, which comprises
The first sensed parameter is obtained by first sensor;
The brightness of the display screen is adjusted according to pre-defined rule based on first sensed parameter;
If the induction region of the first sensor, which has, blocks object, control the display screen maintain to have block object it Preceding brightness is constant.
2. the method according to claim 1, wherein the method also includes:
The current application scenarios of electronic equipment where obtaining the display screen;
If the induction region of the first sensor, which has, blocks object, controls the display screen and maintain that there is shelter Brightness before body is constant to include:
If the induction region that the application scenarios are default scene and the first sensor, which has, blocks object, described in control Display screen maintains have the brightness before blocking object constant.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
It determines whether the induction region of the first sensor has by second sensor and blocks object;
Wherein, show the induction region of the first sensor if obtaining the second sensed parameter by the second sensor With blocking object;Show the sense of the first sensor if not obtaining the second sensed parameter by the second sensor Answer the unobstructed object in region.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
The second sensor is enabled if the application scenarios are default scene.
5. the method according to claim 1, wherein the method also includes:
If the induction region of the first sensor controls described aobvious from having the object that blocks to be changed to unobstructed object Display screen is maintained bright when the first moment that the induction region is changed to unobstructed object keeping blocking object with described in Degree;
At the second moment after first moment, the first sensed parameter based on second moment acquisition is according to described pre- Determine the brightness of display screen described in rule adjustment.
6. a kind of method for adjusting brightness of display screen, which comprises
The current application scenarios of electronic equipment where obtaining the display screen;
If the application scenarios are default scene, forbid the first sensed parameter adjustment obtained based on first sensor described aobvious The brightness of display screen;
If the luminance parameter obtained by the first operation of user, adjusts the bright of the display screen based on the luminance parameter Degree.
7. a kind of device for adjusting brightness of display screen, described device include:
Obtaining unit, for obtaining the first sensed parameter by first sensor;
Adjustment unit, for adjusting the brightness of the display screen according to pre-defined rule based on first sensed parameter;
Control unit controls the display screen and maintains if the induction region for the first sensor, which has, blocks object It is constant with the brightness before blocking object.
8. a kind of electronic equipment, the electronic equipment includes: first sensor, display screen and processor;
The first sensor, for obtaining the first sensed parameter;
The processor, for the brightness of the display screen to be adjusted according to pre-defined rule based on first sensed parameter, if The induction region of the first sensor, which has, blocks object, controls the display screen and maintains have the brightness blocked before object It is constant.
9. a kind of device for adjusting brightness of display screen, described device include:
Obtaining unit, the application scenarios current for the electronic equipment where obtaining the display screen;
Determination unit forbids the first induction obtained based on first sensor if being default scene for the application scenarios Parameter adjusts the brightness of the display screen;
Processing unit, if adjusting institute based on the luminance parameter for the luminance parameter that the first operation by user obtains State the brightness of display screen.
10. a kind of electronic equipment, the electronic equipment includes: first sensor, display screen and processor;
The first sensor, for obtaining the first sensed parameter;
The processor, if the application scenarios are default scene, is forbidden based on first for obtaining current application scenarios The first sensed parameter that sensor obtains adjusts the brightness of the display screen, if the brightness obtained by the first operation of user Parameter adjusts the brightness of the display screen based on the luminance parameter.
CN201811131509.4A 2018-09-27 2018-09-27 A kind of method and device adjusting brightness of display screen Pending CN109243402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811131509.4A CN109243402A (en) 2018-09-27 2018-09-27 A kind of method and device adjusting brightness of display screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811131509.4A CN109243402A (en) 2018-09-27 2018-09-27 A kind of method and device adjusting brightness of display screen

Publications (1)

Publication Number Publication Date
CN109243402A true CN109243402A (en) 2019-01-18

Family

ID=65056864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811131509.4A Pending CN109243402A (en) 2018-09-27 2018-09-27 A kind of method and device adjusting brightness of display screen

Country Status (1)

Country Link
CN (1) CN109243402A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111508419A (en) * 2020-05-29 2020-08-07 联想(北京)有限公司 Electronic equipment, control method and device
CN112967647A (en) * 2021-02-18 2021-06-15 珠海格力电器股份有限公司 Screen brightness control method and device and wire controller

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946459A (en) * 2012-11-01 2013-02-27 广东欧珀移动通信有限公司 Rapid regulation method for screen backlight brightness and mobile terminal
CN103137099A (en) * 2011-11-28 2013-06-05 联想(北京)有限公司 Screen luminance adjustment method and electronic device based on ambient light detecting sensor
CN103310719A (en) * 2012-03-13 2013-09-18 原相科技股份有限公司 Automatic detection method and portable electronic device using same
CN103400568A (en) * 2013-08-21 2013-11-20 珠海市魅族科技有限公司 Screen brightness control method and terminal
CN104350537A (en) * 2012-06-08 2015-02-11 苹果公司 Electronic device with display brightness control
CN106328073A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 Backlight brightness adjusting method and device
CN106548764A (en) * 2016-11-24 2017-03-29 北京小米移动软件有限公司 Screen brightness control method and device
CN106652922A (en) * 2017-01-04 2017-05-10 珠海市魅族科技有限公司 Method and system for controlling screen luminance
US20170264734A1 (en) * 2016-03-10 2017-09-14 Chiun Mai Communication Systems, Inc. Microphone switching method and electronic device using same
CN107566635A (en) * 2017-08-30 2018-01-09 努比亚技术有限公司 Screen intensity method to set up, mobile terminal and computer-readable recording medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103137099A (en) * 2011-11-28 2013-06-05 联想(北京)有限公司 Screen luminance adjustment method and electronic device based on ambient light detecting sensor
CN103310719A (en) * 2012-03-13 2013-09-18 原相科技股份有限公司 Automatic detection method and portable electronic device using same
CN104350537A (en) * 2012-06-08 2015-02-11 苹果公司 Electronic device with display brightness control
CN102946459A (en) * 2012-11-01 2013-02-27 广东欧珀移动通信有限公司 Rapid regulation method for screen backlight brightness and mobile terminal
CN103400568A (en) * 2013-08-21 2013-11-20 珠海市魅族科技有限公司 Screen brightness control method and terminal
CN106328073A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 Backlight brightness adjusting method and device
US20170264734A1 (en) * 2016-03-10 2017-09-14 Chiun Mai Communication Systems, Inc. Microphone switching method and electronic device using same
CN106548764A (en) * 2016-11-24 2017-03-29 北京小米移动软件有限公司 Screen brightness control method and device
CN106652922A (en) * 2017-01-04 2017-05-10 珠海市魅族科技有限公司 Method and system for controlling screen luminance
CN107566635A (en) * 2017-08-30 2018-01-09 努比亚技术有限公司 Screen intensity method to set up, mobile terminal and computer-readable recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111508419A (en) * 2020-05-29 2020-08-07 联想(北京)有限公司 Electronic equipment, control method and device
CN112967647A (en) * 2021-02-18 2021-06-15 珠海格力电器股份有限公司 Screen brightness control method and device and wire controller

Similar Documents

Publication Publication Date Title
CN106445151B (en) Terminal screen brightness control method and terminal
CN107993604A (en) Display screen adjusting method and device
EP1871081B1 (en) Automatic screen and keypad brightness adjustment on a mobile handheld electronic device
CN104464686B (en) A kind of method for controlling display brightness and electronic equipment
CN1926605B (en) Dynamic display control of a portable electronic device display
CN104078028A (en) Screen brightness adjusting method and electronic equipment
CN105204734A (en) Brightness control method and system
CN106303039A (en) Screen control method and device and mobile terminal
CN109427317A (en) Screen brightness control method, device, terminal and computer readable storage medium
CN109243383B (en) Backlight brightness adjusting method of display screen and display screen device
US9743009B2 (en) Image processing method and image processing device
CN109243402A (en) A kind of method and device adjusting brightness of display screen
CN107742510A (en) A kind of eyeshield intensity adjustment method, apparatus, electric terminal and storage medium
WO2016201766A1 (en) Backlight brightness adjusting method and device
CN104240676B (en) Method for adjusting electronic device and electronic device
CN107567153B (en) System and method for adjusting indoor light
CN104376835B (en) Method for adjusting brightness and electronic device
EP3218897B1 (en) Display brightness control
CN105575364A (en) Intelligent watch and brightness adaptive adjusting system and method
CN111179877B (en) Screen display effect adjusting method, mobile device and storage device
CN106851007A (en) A kind of method and system for adjusting screen backlight
CN108008804A (en) The screen control method and device of smart machine
JP2005006260A (en) Method and program for controlling mobile terminal and backlight
CN110556080B (en) Method, device, terminal and storage medium for adjusting backlight
CN109326250A (en) Electronic equipment, display screen adjusting method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118