CN108962187A - Screen luminance adjustment method and mobile terminal - Google Patents

Screen luminance adjustment method and mobile terminal Download PDF

Info

Publication number
CN108962187A
CN108962187A CN201810690056.2A CN201810690056A CN108962187A CN 108962187 A CN108962187 A CN 108962187A CN 201810690056 A CN201810690056 A CN 201810690056A CN 108962187 A CN108962187 A CN 108962187A
Authority
CN
China
Prior art keywords
sample
user
parameter
pupil diameters
screen
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
CN201810690056.2A
Other languages
Chinese (zh)
Other versions
CN108962187B (en
Inventor
王碧颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810690056.2A priority Critical patent/CN108962187B/en
Publication of CN108962187A publication Critical patent/CN108962187A/en
Application granted granted Critical
Publication of CN108962187B publication Critical patent/CN108962187B/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
    • 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)
  • Eye Examination Apparatus (AREA)
  • Telephone Function (AREA)

Abstract

The present invention provides a kind of screen luminance adjustment method and mobile terminals, it is related to technical field of mobile terminals, the described method includes: obtaining the pupil diameters of active user, the difference between the pupil diameters of the user and default pupil diameters is judged, if be greater than default error threshold;If more than then the screen intensity of the mobile terminal is adjusted.Judged by mobile terminal according to the pupil diameters for obtaining active user, determine whether user is in asthenopia state, when user is in asthenopia state, actively screen intensity is adjusted, to alleviate user's asthenopia, in the case where not interrupting user's reading, it can effectively slow down the asthenopia of user, the viscosity that user uses mobile terminal to be read is improved, the flexibility for adjusting screen intensity is improved.

Description

Screen luminance adjustment method and mobile terminal
Technical field
The present embodiments relate to technical field of mobile terminals more particularly to a kind of screen luminance adjustment method and movements eventually End.
Background technique
With the continuous development of mobile terminal, user can not only be conversed by mobile terminal and other users, also It can be read by mobile terminal, such as reading electronic book.
In the related technology, mobile terminal can then start timing, by preset duration when detecting that user starts to read Afterwards, mobile terminal can prompt user's reading time too long, pay attention to asthenopia, then user can suspend reading and rest, The prompting can be ignored to continue to read.
But mobile terminal, after reminding user, if user ignores the prompting, it will cause user's asthenopia, eyesights The problem of decline, but read if user suspends, the continuity read it will cause user is lower, influences user and reads Viscosity.
Summary of the invention
The embodiment of the present invention provides a kind of screen luminance adjustment method and mobile terminal, to solve user in reading process In, mobile terminal is read after call user's attention asthenopia if user suspends, and the continuity for causing user to read is lower, Influence the problem for the viscosity that user is read.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to mobile terminal, the side the embodiment of the invention provides a kind of screen luminance adjustment method Method includes:
Obtain the pupil diameters of active user;
Judge the difference between the pupil diameters of the user and default pupil diameters, if be greater than default error threshold;
If more than then the screen intensity of the mobile terminal is adjusted.
Second aspect, the embodiment of the invention provides a kind of mobile terminal, the mobile terminal includes:
First obtains module, for obtaining the pupil diameters of active user;
First judgment module, for judging the difference between the pupil diameters of the user and default pupil diameters, if Greater than default error threshold;
Adjustment module, for if more than then the screen intensity of the mobile terminal is adjusted.
The third aspect the embodiment of the invention provides a kind of mobile terminal, including processor, memory and is stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor Now the step of screen luminance adjustment method as described in any one of above-mentioned first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, is realized when the computer program is executed by processor such as any one of above-mentioned first aspect institute The step of screen luminance adjustment method stated.
In embodiments of the present invention, by obtaining the pupil diameters of active user, and judge the pupil diameters of user and pre- If the difference between pupil diameters, if be greater than default error threshold.If between the pupil diameters of user and default pupil diameters Difference be greater than default error threshold, then the screen intensity of mobile terminal is adjusted.Worked as by mobile terminal according to acquisition The pupil diameters of preceding user judge, determine whether user is in asthenopia state, main when user is in asthenopia state It is dynamic that screen intensity is adjusted, to alleviate user's asthenopia, in the case where not interrupting user's reading, it can effectively slow down use The asthenopia at family improves the viscosity that user uses mobile terminal to be read, improves the flexibility for adjusting screen intensity.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of screen luminance adjustment method provided in an embodiment of the present invention;
Fig. 2 is a kind of step flow chart of screen luminance adjustment method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural block diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 4 is a kind of hardware structural diagram of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, a kind of step flow chart of screen luminance adjustment method of the embodiment of the present invention is shown, it specifically can be with Include the following steps:
Step 101, the pupil diameters of active user are obtained.
User pass through mobile terminal reading electronic book during, if reading time it is too long will lead to user eye it is tired The pupil size of labor, user changes.Correspondingly, mobile terminal is available and pupil size according to user, determines and use Whether family is in asthenopia state, then can be according to the pupil size of user, to screen when user is in asthenopia state Brightness is adjusted.
Therefore, before the brightness of screen is adjusted in mobile terminal, need to obtain the pupil diameters of active user, with Just in the next steps, it can determine whether user is in asthenopia state, and then right according to the pupil diameters of the user of acquisition The screen intensity of mobile terminal is adjusted.
Specifically, mobile terminal can acquire the eyes image of user, and to eye by pre-set front camera Portion's image is identified, the eyeball image of user is obtained, and is analyzed finally by bright pupil hole and dark pupil technology, extraction obtains Pupil in eyeball image finally obtains the diameter of pupil, then can be using the diameter of the pupil as active user Pupil diameters.
Correspondingly, mobile terminal obtain user pupil diameters while, can also be bright according to the screen of mobile terminal The environment spent and be currently located obtains current screen parameter and current environment parameter, by the pupil diameters of active user, current screen Curtain parameter and current environment parameter are as current reading parameters.
Step 102, judge the difference between the pupil diameters of user and default pupil diameters, if be greater than default error threshold Value.
Mobile terminal can preset the pupil diameters of user with what is obtained after the pupil diameters for obtaining user Pupil diameters compare, and judge whether the difference between the pupil diameters of user and default pupil diameters is greater than default error threshold Value, to determine whether user is in asthenopia state according to judging result, so that in the next steps, mobile terminal can root It is adjusted according to screen intensity of the judging result to mobile terminal.
Wherein, the default pupil diameters be according in current reading parameters current screen parameter and current environment parameter it is true Fixed.
Specifically, mobile terminal can first obtain default pupil diameters, then the pupil diameters of user and default pupil are joined Number compares, and the difference between the pupil diameters of user and default pupil diameters, and the difference that will be calculated is calculated It is compared with pre-set default error threshold, judges whether the difference is greater than default error threshold.
If the difference between the pupil diameters of user and default pupil diameters, it is greater than default error threshold, then illustrates to use The pupil diameters at family change greatly, and that is to say that the pupil diameter of user varies widely, then it is tired can to determine that user is in eye Labor state.
But if difference between the pupil diameters of user and default pupil diameters, no more than default error threshold, then Illustrate that the pupil diameters of user change in error range, the pupil diameter size variation of user is little, can determine user simultaneously It is not in asthenopia state.
It should be noted that if user in the process of reading, the brightness of current environment and/or the screen of mobile terminal are bright When degree changes, the pupil diameter size of user can also change.Therefore, mobile terminal first can read ginseng according to current Current screen parameter and current environment parameter in number, judge mobile terminal screen intensity and current environment brightness whether It changes, and chooses different default pupil diameters according to the judgment result.
For example, when the brightness of the screen intensity of mobile terminal and current environment does not change, then mobile terminal Default pupil diameters can be chosen from multiple pupil diameters of the user obtained;But the if screen of mobile terminal Any one parameter in brightness and the brightness of current environment changes, then user can be started to pupil ginseng when reading Number is as default pupil diameters, alternatively, the pupil diameters of user are as default pupil ginseng when the last time is adjusted screen intensity Number.
Step 103, if more than then the screen intensity of mobile terminal is adjusted.
After multilevel iudge, if the difference between the pupil diameters of user and default pupil diameters is greater than default miss Poor threshold value then illustrates that the pupil diameter of user changes, and user is in asthenopia state, then can be actively to mobile terminal Screen intensity is adjusted, and slows down the asthenopia of user.
Specifically, when the difference between the pupil diameters and default pupil diameters for determining user is greater than default error threshold When, mobile terminal can join the current screen in current reading parameters according to the current environment parameter in current reading parameters Number is adjusted, and that is to say, the screen intensity of mobile terminal is adjusted in the ambient brightness according to locating for mobile terminal.
Wherein, mobile terminal can be adjusted screen intensity with corresponding relationship according to the pre-stored data, can also basis The history parameters of mobile terminal records, are adjusted screen intensity, and it is not limited in the embodiment of the present invention.
In conclusion screen luminance adjustment method provided in an embodiment of the present invention, the pupil by obtaining active user is joined Number, and judge the difference between the pupil diameters of user and default pupil diameters, if it is greater than default error threshold.If user's Difference between pupil diameters and default pupil diameters is greater than default error threshold, then adjusts to the screen intensity of mobile terminal Section.Judged by mobile terminal according to the pupil diameters for obtaining active user, determine whether user is in asthenopia state, When user is in asthenopia state, actively screen intensity is adjusted, to alleviate user's asthenopia, is read not interrupting user It in the case where reading, can effectively slow down the asthenopia of user, improve the viscosity that user uses mobile terminal to be read, improve Adjust the flexibility of screen intensity.
Referring to Fig. 2, a kind of step flow chart of screen luminance adjustment method of the embodiment of the present invention is shown, it specifically can be with Include the following steps:
Step 201, judge whether mobile terminal enters reading model.
In order to alleviate the asthenopia occurred in user's reading process, mobile terminal needs to be in asthenopia state in user When, screen intensity is adjusted, actively to alleviate the asthenopia of user.Therefore, mobile terminal is mobile whole before adjusting screen intensity End needs to judge whether to enter reading model, so that it is determined that whether user is being read by mobile terminal.
Specifically, mobile terminal can first determine application program corresponding to current interface, judge that can user by this Application program is read, and when determining that user can be read by the application program, then can be judged again mobile whole Whether the interface for holding current presentation is interface that user is read.
If the interface of mobile terminal current presentation is the interface that user is read, it can determine user currently just It is reading, mobile terminal comes into reading model.But if the interface of mobile terminal current presentation is not that user reads When interface, then it can determine mobile terminal and not enter reading model.
It should be noted that when mobile terminal and when not entering reading model, mobile terminal can with real-time judge whether into Enter reading model.For example, the operation that mobile terminal can be triggered according to user, determines the application program that mobile terminal is opened, with And the interface that application program is shown can then be determined when the interface for determining that mobile terminal is shown is the interface that user reads Mobile terminal enters reading model.
Step 202, if mobile terminal enters reading model, reference read parameter is obtained.
After determining that mobile terminal enters reading model, the available reference read parameter of mobile terminal, so as to subsequent In step, mobile terminal can be judged according to the reference read parameter, determine whether user is in asthenopia state.
Wherein, which may include being somebody's turn to do with reference to screen parameter, reference environment parameter and with reference to pupil diameters It can be the oculopupillary diameter of people with reference to pupil diameters, can be parameter corresponding to screen intensity with reference to screen parameter, The reference environment parameter can be parameter corresponding to ambient brightness, the embodiment of the present invention to reference read parameter without limitation.
Optionally, if mobile terminal enters reading model, available initial reading parameters, and by the initial reading parameters As reference read parameter.Specifically, after determining that mobile terminal enters reading model, mobile terminal can be read according to entering Corresponding screen intensity, ambient brightness and the pupil diameter of user size at the time of mode, determine initial screen parameter, Initial environment parameter and initial pupil parameter, to obtain by initial screen parameter, initial environment parameter and initial pupil parameter The initial reading parameters of composition, finally using initial reading parameters as reference read parameter.
For example, mobile terminal can be by the parameter corresponding to screen intensity at the time of mobile terminal enters reading model It is determined as initial screen parameter, and parameter corresponding to ambient brightness is determined as initial environment parameter, then pass through mobile terminal Front camera obtain the eyes image of user at this time, to obtain the pupil diameter size of user, then by the pupil diameter Parameter value corresponding to size is as initial pupil parameter.
Step 203, after the second preset duration, current screen parameter and current environment parameter are obtained.
Wherein, which can be set with the empirical value of human eye fatigue, can also be according to constantly acquiring Data are updated, the embodiment of the present invention to the second preset duration without limitation.
Mobile terminal after obtaining reference read parameter, can be obtained after the second preset duration current screen parameter and Current environment parameter, so that the pupil diameters of the active user obtained with subsequent step form one group of current reading parameters.
But in the process of reading due to user, the pupil size of human eye can with external environment, screen intensity and The emotional change of user and change.Therefore, in order to guarantee active user pupil diameters accuracy, mobile terminal can obtain first Current screen parameter and current environment parameter are taken, whether the reading environment where determining user changes, thus according to judgement As a result different operations is executed.
Moreover, the accuracy in order to guarantee current screen parameter and current environment parameter, mobile terminal can first acquire sample This screen parameter and sample environment parameter, and where judging user according to the sample screen parameter of acquisition and sample environment parameter Whether reading environment changes in a short time.
Optionally, the available sample screen parameter of mobile terminal and sample environment parameter, and judgement sample screen parameter Whether difference is greater than screen parameter error threshold, and/or, whether judgement sample environmental parameter difference is greater than environmental parametric deviation threshold Value.
Wherein, which obtained according to sample screen parameter, which is root It is obtained according to sample environment parameter.For example, mobile terminal can according to this obtain sample screen parameter with obtained and remembered At least one sample screen parameter of record is calculated, and the difference between two sample screen parameters is obtained, to obtain this Difference between the sample screen parameter of acquisition and the sample screen parameter for each having obtained and having recorded, and it is poor from least one The maximum difference of Selecting All Parameters value is as sample screen parameter difference in value.
Correspondingly, the acquisition modes of sample environment parameter difference, the acquisition modes class with above-mentioned sample screen parameter difference Seemingly, details are not described herein.
Specifically, mobile terminal can be obtained first and record sample screen parameter and sample environment parameter, and according to acquisition Sample screen parameter and sample environment parameter calculated, obtain sample screen parameter difference, and/or, sample environment parameter Difference, and by sample screen parameter difference, and/or, sample environment parameter difference respectively with corresponding screen parameter error threshold, And/or environmental parametric deviation threshold value is compared, whether judgement sample screen parameter difference is greater than screen parameter error threshold, And/or whether judgement sample environmental parameter difference is greater than environmental parametric deviation threshold value.
If the sample screen parameter difference is not more than screen parameter error threshold, and/or, sample environment parameter difference is not Greater than environmental parametric deviation threshold value, then illustrates that reading environment locating for user does not change, then can execute step 204, So as to the sample screen parameter and sample that will be obtained in the sample pupil diameters of the user obtained in step 204 and this step 203 Environmental parameter is recorded as one group of sample reading parameters.
But if sample screen parameter difference is greater than screen parameter error threshold, and/or, if sample environment parameter difference Greater than environmental parametric deviation threshold value, mobile terminal can delete sample screen parameter and sample environment parameter, and pre- by first If after duration, obtaining sample screen parameter and sample environment parameter again.
Wherein, which can be configured according to the emotional change duration of user, can also use other Mode is configured, and it is not limited in the embodiment of the present invention.
Specifically, if the sample screen parameter difference is greater than screen parameter error threshold, and/or, sample environment parameter Difference is greater than environmental parametric deviation threshold value, then illustrates the sample screen parameter and sample environment parameter of this acquisition, and adopt before Sample screen parameter and sample environment the parameter difference of collection are larger, and reading environment locating for user has occurred and that variation, then moves Terminal can empty the sample pupil ginseng of acquired sample screen parameter and sample environment parameter and corresponding user Number, and collecting sample screen parameter and the sample environment parameter again after the first preset duration.
It should be noted that then may be used when mobile terminal is to obtain sample screen parameter and sample environment parameter for the first time Not to be compared to sample screen parameter and sample environment parameter, but directly record sample screen parameter and sample environment ginseng Number, and execute step 204.
Step 204, the pupil diameters of active user are obtained.
Mobile terminal is after obtaining a sample screen parameter and sample environment parameter, if it is determined that the reading where user Environment does not change, then can execute the sample pupil diameters that this step 204 obtains user, and by step 203 and step The sample pupil diameters of 204 this sample screen parameter, sample environment parameter and the users that obtain respectively are read as one group of sample Parameter is read, then chooses current reading parameters from the multiple groups sample reading parameters of acquisition, so that it is determined that the pupil of active user is joined Number.
In the process of reading due to user, even if external environment and screen intensity do not change, it will not lead to user's Pupil diameter size changes, but when user emotion changes, the pupil diameter size of user can also change.
Therefore, mobile terminal needs sample of the pupil diameters that will be acquired as user after collecting pupil diameters Pupil diameters, and judge whether the sample pupil diameters of the user of this acquisition vary widely, and lead to the current of acquisition The pupil diameters inaccuracy of user, then step 204 may include step 204a, step 204b and step 204c:
Step 204a obtains the sample pupil diameters of user.
The sample of the available user corresponding with sample screen parameter in step 203 and sample environment parameter of mobile terminal This pupil diameters, thus one group of sample reading parameters of composition, so that mobile terminal can be selected in enough sample datas It takes, obtains the pupil diameters of the active user in current reading parameters.
Optionally, if sample screen parameter difference is not more than screen parameter error threshold, and/or, sample environment parameter difference Value is not more than environmental parametric deviation threshold value, the sample pupil diameters of the available user of mobile terminal.
Specifically, the eyes image of user can be obtained by the front camera of mobile terminal, and uses image recognition Technology identifies the eyeball image in eyes image, obtains the eyeball image of user, further according to bright pupil hole and dark pupil skill Art is analyzed, and is extracted and is obtained the diameter of the pupil of user, finally using the diameter of the pupil as the sample of user Pupil diameters simultaneously record, obtain include the sample pupil diameters of sample screen parameter, sample environment parameter and user sample Reading parameters.
Mobile terminal is after the sample pupil diameters for obtaining user, it is also necessary to by the sample pupil of this user obtained Parameter is compared with the sample pupil diameters of the user obtained, determine user whether in the short time by emotional change It influences, the pupil diameter size of user is caused to vary widely in a short time.
Optionally, mobile terminal may determine that whether sample pupil diameters difference is greater than default error threshold.Wherein, the sample This pupil diameters difference is to be obtained according to the sample pupil diameters of user.Moreover, the calculation of the sample pupil diameters difference, Similar with the acquisition modes of sample screen parameter difference in step 203, details are not described herein.
Specifically, mobile terminal can be calculated first according to the sample pupil diameters of the user of acquisition, obtain sample pupil Hole parameter difference, and judge whether the sample pupil diameters difference is greater than default error threshold.When sample pupil diameters difference not When greater than default error threshold, illustrate that user does not occur emotional change and the diameter of pupil is caused to change;But It is, if sample pupil diameters difference is greater than default error threshold, to illustrate that the mood of user changes in the short time, this The sample reading parameters of acquisition can not really reflect the state of user.
Therefore, when sample pupil diameters difference is not more than default error threshold, what mobile terminal can obtain this Sample pupil diameters of the pupil diameters as user, and by the sample pupil diameters of user, sample screen parameter and sample environment Parameter is as sample reading parameters, then executes step 204b.
But if sample pupil diameters difference is greater than default error threshold, mobile terminal can delete the sample of user Pupil diameters, and after the first preset duration, the sample pupil diameters of user are obtained again.It that is to say, when sample pupil is joined When number difference is greater than default error threshold, illustrate that the pupil diameter of user in a short time varies widely, this record The sample pupil diameters of user differ larger with the sample pupil diameters of the user recorded before, the use that cannot be acquired according to this Pupil diameters of the sample pupil diameters at family as active user need to carry out the sample pupil diameters of acquired user It deletes, and sample screen parameter corresponding with the sample pupil diameters of each user and sample environment parameter is deleted.
Further, after the first preset duration, mobile terminal can obtain sample screen parameter and sample again Environmental parameter can execute again if sample screen parameter and sample environment parameter meet the corresponding conditions in step 203 Step 204a obtains the sample pupil diameters of user again.
Step 204b, judges whether the number of the sample pupil diameters of user is less than sample threshold.
Mobile terminal can determine the sample pupil diameters of user after the sample pupil diameters for obtaining at least one user Number, and the number is compared with pre-set sample threshold, so that it is determined that whether mobile terminal obtains enough The sample pupil diameters and sample reading parameters of the user of number, so that mobile terminal can select in enough sample datas Take the sample pupil diameters at family.
Optionally, if sample pupil diameters difference is not more than default error threshold, mobile terminal may determine that the sample of user Whether the number of this pupil diameters is less than sample threshold.When the number of the sample pupil diameters of user is not less than sample threshold, Then illustrate the sample pupil diameters for having obtained the user of enough numbers, step 204c can be executed, from the sample of multiple users The pupil diameters of active user are chosen in this pupil diameters;But if the number of the sample pupil diameters of user is less than sample Threshold value, then there is still a need for the sample pupil diameters for continuing acquisition user for explanation, until the number of the sample pupil diameters of user is not Less than sample threshold.
It should be noted that if the number of the sample pupil diameters of user is less than sample threshold, by the first preset duration Afterwards, the sample pupil diameters of user are obtained again, until the number of the sample pupil diameters of user is not less than sample threshold.Namely It is that, if the number of the sample pupil diameters of user is not more than sample threshold, mobile terminal can execute step 203 again, To obtain sample screen parameter and sample environment parameter again, to acquire the sample pupil of user under identical reading environment Hole parameter improves the accuracy of the pupil diameters of determining active user.
Step 204c chooses intermediate value sample pupil ginseng if the number of the sample pupil diameters of user is not less than sample threshold Pupil diameters of the number as user.
Wherein, which is at least one sample pupil diameters of user, and parameter value is median Sample pupil diameters.
If the number of the sample pupil diameters of user is not less than sample threshold, the available multiple users of mobile terminal The corresponding parameter value of sample pupil diameters, and sentenced according to the parameter value size of the sample pupil diameters of each user It is disconnected, choose pupil diameters of the intermediate value sample pupil diameters as user, and by one group of sample belonging to intermediate value sample pupil diameters Reading parameters are as current reading parameters, so that obtaining includes the pupil diameters of user, current screen parameter and current environment ginseng Several current reading parameters.
Specifically, mobile whole when mobile terminal determines the number of the sample pupil diameters of user not less than sample threshold The parameter value of the sample pupil diameters of each user in the sample pupil diameters of available multiple users is held, and to each user The parameter values of sample pupil diameters be compared, the sample pupil diameters for the user that parameter value size is median are determined as Intermediate value sample pupil diameters finally using intermediate value sample pupil diameters as the pupil diameters of user, and intermediate value sample pupil are joined One group of sample reading parameters belonging to number are as current reading parameters.
Wherein, the value range of the sample threshold can be 2 to 4, it is, of course, also possible to take other numerical value as sample threshold Value, it is not limited in the embodiment of the present invention.
It should be noted that the mode of reference read parameter is obtained in step 202, it can be with this step 203 to step 204 The middle process for obtaining current reading parameters is similar, that is to say, by obtaining multiple sample reading parameters, reads and joins from multiple samples It is selected in number, obtains reference read parameter.
In addition, mobile terminal can not also execute step 203, but step 204 is executed after executing step 202, namely It is that after obtaining reference read parameter, current screen parameter and current environment parameter are no longer obtained after the second preset duration, But after the second preset duration, the pupil diameters of active user are obtained.
Step 205, judge whether current screen parameter difference is greater than screen parameter error threshold, and/or, front ring is worked as in judgement Whether border parameter difference is greater than environmental parametric deviation threshold value.
Wherein, which obtained according to current screen parameter, which is root It is obtained according to current environment parameter, the acquisition modes of the current screen parameter difference and current environment parameter difference, and in step 203 The mode for obtaining sample screen parameter difference is similar, and details are not described herein.
For user during being read by mobile terminal, mobile terminal can obtain different work as in different moments The pupil diameters of forth screen parameter, current environment parameter and active user, and by the current screen parameter obtained in synchronization, The pupil diameters of current environment parameter and active user are as one group of current reading parameters, then will acquire every group currently reads ginseng Number is recorded as history reading parameters, in the next steps, to be tied according to each group history reading parameters of record The current reading parameters for closing this acquisition of mobile terminal, judge whether user is in asthenopia state.
In user's reading process, reading environment locating for user may change, such as screen intensity enhancing, or Ambient brightness enhancing etc., then the pupil diameter size of user can also change.Therefore, in the pupil diameter size for judging user Before whether changing, need to judge whether reading environment locating for user changes, and according to judging result using not Same mode judges whether user is in asthenopia state.
Specifically, after the current reading parameters of acquisition for mobile terminal, the current screen in current reading parameters can be joined Number, and/or, current screen parameter and current environment parameter in current environment parameter, with each history reading parameters of record Be compared, obtain current screen parameter difference and/or current environment parameter difference, and by current screen parameter difference and/or Current environment parameter difference is compared with corresponding screen parameter error threshold and environmental parametric deviation threshold value, and judgement is current Whether screen parameter difference is greater than screen parameter error threshold, and/or, judge whether current environment parameter difference is greater than environment ginseng Number error threshold.
Moreover, because mobile terminal can recorde multiple groups history reading parameters, then mobile terminal is being compared judgement In the process, at the time of can be according to each history reading parameters be recorded, first choose record moment forward history reading parameters with Current screen parameter in current reading parameters, and/or, current environment parameter is compared, and obtains current screen parameter difference And/or current environment parameter difference, if the current screen parameter difference and/or current environment parameter difference are joined no more than screen Number error threshold and/or environmental parametric deviation threshold value, then can determine that reading environment locating for user does not change, can Judge whether the pupil diameter size of user changes to execute step 206.
But if the current screen parameter difference and/or current environment parameter difference are greater than screen parameter error threshold, And/or environmental parametric deviation threshold value, mobile terminal can work as according at the time of recording each history reading parameters with this acquisition Difference between at the time of preceding reading parameters chooses corresponding history reading parameters according to the sequence of difference from big to small, thus New current screen parameter difference and/or current environment parameter difference is calculated, judges the new current screen parameter difference, And/or whether current environment parameter difference is greater than screen parameter error threshold and/or environmental parametric deviation threshold value.
If screen parameter error threshold is still greater than in new current screen parameter difference and/or current environment parameter difference Value and/or environmental parametric deviation threshold value, then mobile terminal can continue to choose history reading parameters and current reading parameters carry out Compare, until current screen parameter difference is obtained every time after each history reading parameters are compared with current reading parameters, And/or current environment parameter difference is both greater than screen parameter error threshold and/or environmental parametric deviation threshold value, it may be considered that Reading environment locating for user changes, and can execute step 207 and judge whether the pupil diameter size of user changes.
Moreover, according to current screen parameter, and/or, current environment parameter is compared with each history reading parameters During, if current screen parameter, and/or, it is current between current environment parameter and any one group of history reading parameters Screen parameter difference and/or current environment parameter difference are not more than screen parameter error threshold and/or environmental parametric deviation threshold Value, it may be considered that reading environment locating for user does not change.
Step 206, if current screen parameter difference is not more than screen parameter error threshold, and/or, if current environment parameter Difference is not more than environmental parametric deviation threshold value, judges the difference between the pupil diameters of user and default pupil diameters, if big In default error threshold.
If it is determined that current screen parameter difference is not more than screen parameter error threshold, and/or, determine current environment parameter Difference is not more than environmental parametric deviation threshold value, then can determine that reading environment locating for user does not change, the pupil of user Pore diameter size will not generate variation because of reading environment.Therefore, mobile terminal can be according to the active user's of acquisition Pupil diameters, determine whether user is in asthenopia state.
Specifically, current screen parameter is being determined, and/or, between current environment parameter and a certain group of history reading parameters Current screen parameter difference and/or current environment parameter difference, no more than screen parameter error threshold and/or, environmental parameter After error threshold, the history pupil diameters of user in available this group of history reading parameters join the history pupil of the user Number compares the pupil diameters and default pupil diameters of user as default pupil diameters, obtains the pupil diameters of user and pre- If the difference between pupil diameters, judge whether the difference is greater than default error threshold.
If the difference is greater than default error threshold, mobile terminal if, can execute step 209 and adjust to screen intensity Section;But if the difference is not more than default error threshold, illustrates user and do not enter asthenopia state, step can be executed 211, obtain current reading parameters again after the second preset duration.
Step 207, if current screen parameter difference is greater than screen parameter error threshold, and/or, if current environment parameter difference Value is greater than environmental parametric deviation threshold value, judges whether current screen parameter is greater than with reference to screen parameter, and/or, front ring is worked as in judgement Whether border parameter is less than reference environment parameter.
If it is determined that current screen parameter difference is greater than screen parameter error threshold, and/or, determine current environment parameter difference Value is greater than environmental parametric deviation threshold value, then can determine that reading environment locating for user changes, the pupil diameter of user is big It is small may as the variation of reading environment and generate variation.
Therefore, mobile terminal can first obtain reference read parameter, and determine mobile terminal according to reference read parameter Whether screen intensity enhances, and/or, determine whether the brightness of current environment weakens, if the screen intensity of mobile terminal enhances, And/or the brightness deterioration of current environment, the pupil diameter size of user can become smaller under normal circumstances, then in the next steps, Mobile terminal can determine whether user enters asthenopia state according to the pupil diameters of reference pupil diameters and user.
But if the screen intensity of mobile terminal weakens, and/or, the brightness of current environment enhances, then the pupil of user Diameter can become larger under normal circumstances, accurately can not determine whether user enters asthenopia state, then can pass through second After preset duration, the pupil diameters of user are obtained again.
Step 208, if current screen parameter, which is greater than, refers to screen parameter, and/or, if current environment parameter is less than reference rings Border parameter, judges whether the pupil diameters of user are greater than with reference to pupil diameters and default error threshold and value.
If it is determined that current screen parameter, which is greater than, refers to screen parameter, and/or, current environment parameter is joined less than reference environment Number, then under normal circumstances, the pupil size of user can become smaller, and mobile terminal can will then be used as default pupil with reference to pupil diameters Hole parameter, and judge according to the pupil diameters of active user and with reference to pupil diameters, determine whether user enters asthenopia State.
Specifically, mobile terminal can first be calculated with reference between pupil diameters and default error threshold and value, then The pupil diameters of active user are compared with this and value, judges whether the pupil diameters of active user are greater than and joins with reference to pupil Several between default error threshold and value.
If the pupil diameters of active user are greater than with reference between pupil diameters and default error threshold and value, illustrate User's pupil diameter becomes larger, and user enters asthenopia state, then can execute step 209, be adjusted to screen intensity.
But if the pupil diameters of active user be not more than with reference between pupil diameters and default error threshold and Value, then illustrate user and do not enter asthenopia state, then can execute step 211, after the second preset duration, Ke Yizai It is secondary to obtain current reading parameters.
Step 209, if more than then the screen intensity of mobile terminal is adjusted.
If mobile terminal determines that user enters asthenopia state, mobile terminal can be gone through with multiple groups according to the pre-stored data History parameter searches target histories parameter corresponding with current environment parameter, to go through according to the target in target histories parameter History screen parameter is updated current screen parameter, and then according to updated current screen parameter, carries out to screen intensity It adjusts.
Optionally, mobile terminal can according to the corresponding history environment parameter of every group of history parameters, search obtain with The corresponding target histories parameter of current environment parameter, judges whether target histories fatigue duration is greater than current tired duration, if Target histories fatigue duration is greater than current tired duration, then can be bright according to screen of the target histories screen parameter to mobile terminal Degree is adjusted.
Wherein, which may include that target histories screen parameter, target histories environmental parameter and target are gone through History fatigue duration, the current tired duration be according at the time of the pupil diameters for obtaining user and obtain with reference to pupil diameters when Quarter obtains.
Specifically, mobile terminal, can be first according to the current reading parameters of acquisition after determining that user enters asthenopia state Time point, and obtain time point of reference read parameter and calculated, obtain current tired duration, that is to say that user enters eye The time span of fatigue state.
Meanwhile mobile terminal can also be searched at least one set of history parameters according to current environment parameter and work as front ring The consistent history environment parameter of border parameter, and target histories parameter is determined according to the history environment parameter, to obtain target History fatigue duration.
Mobile terminal is after obtaining target histories fatigue duration, when can be by the target histories fatigue duration and current fatigue Length compares, and judges whether target histories fatigue duration is greater than current tired duration.If target histories fatigue duration is greater than Current fatigue duration, then illustrate under user's screen intensity corresponding to the target histories screen parameter in target histories parameter, Having read the longer time just enters asthenopia state, then current screen parameter can be updated to target histories screen parameter, New current screen parameter is obtained, and the screen intensity of mobile terminal is adjusted according to new current screen parameter.
But if history fatigue duration needs to judge reading locating for user again no more than current tired duration Whether environment changes, and that is to say and judges whether mobile terminal performs step 206 and step 207.
If mobile terminal execution step 206 and 207, illustrates that reading environment locating for user does not change, And under user's screen intensity corresponding to current screen parameter, the longer time has been read just into asthenopia state, then has been moved Terminal can be according to current tired duration and current screen parameter, to the target histories fatigue duration and mesh in target histories parameter Mark History screen parameter is updated, and when so that screen intensity being adjusted again, mobile terminal can be according to updated Screen intensity is adjusted in history parameters.
It should be noted that if mobile terminal does not find target histories ginseng corresponding with current environment parameter Number can then be deposited using current screen parameter, current environment parameter and current tired duration as one group of new history parameters Storage.
Step 210, according to current reading parameters, reference read parameter is updated.
Wherein, which may include the pupil diameters of user, current screen parameter and current environment parameter.
Mobile terminal illustrates that user starts to read in new reading environment, then after adjusting to screen intensity The current reading parameters that can be obtained according to this, the reference read parameter obtained to step 202 is updated, so as to subsequent During adjusting, mobile terminal can determine whether user enters according to the current reading parameters that this is obtained as reference Asthenopia state.
Therefore, mobile terminal can replace with the reference pupil diameters in reference read parameter in current reading parameters Current pupil diameters;Current screen parameter will be replaced with reference to screen parameter;Reference environment parameter is replaced with into current environment ginseng Number.
Moreover, mobile terminal can also empty the history reading parameters of record, and current reading parameters are reacquired, to make For history reading parameters, the problem of occupying excessive memory space, causing memory space redundancy is avoided.
Step 211, if being less than, after the second preset duration, the pupil diameters of active user are obtained again.
If the difference between the pupil diameters of user and default pupil diameters is not more than default error threshold, illustrate to use Family does not simultaneously enter asthenopia state, and mobile terminal is without being adjusted screen intensity, but after the second preset duration, The pupil diameters for obtaining user again, judge whether user enters asthenopia state again.
In conclusion screen luminance adjustment method provided in an embodiment of the present invention, the pupil by obtaining active user is joined Number, and judge the difference between the pupil diameters of user and default pupil diameters, if it is greater than default error threshold.If user's Difference between pupil diameters and default pupil diameters is greater than default error threshold, then adjusts to the screen intensity of mobile terminal Section.Judged by mobile terminal according to the pupil diameters for obtaining active user, determine whether user is in asthenopia state, When user is in asthenopia state, actively screen intensity is adjusted, to alleviate user's asthenopia, is read not interrupting user It in the case where reading, can effectively slow down the asthenopia of user, improve the viscosity that user uses mobile terminal to be read, improve Adjust the flexibility of screen intensity.
Further, it by searching for history parameters, and according to the target histories fatigue duration in target histories parameter, determines Screen intensity corresponding to target histories screen parameter in target histories parameter, if better than corresponding to current screen parameter Screen intensity, so that screen intensity be adjusted according to target histories screen parameter.By comparing target histories fatigue duration With current tired duration, can accurately determine user under which kind of screen intensity into the time of asthenopia state later, mention The high accuracy for adjusting screen intensity.
Further, by obtaining multiple groups sample reading parameters, and it is not less than sample threshold in the number of sample reading parameters When value, from multiple sample reading parameters, sample reading parameters belonging to sample pupil diameters are chosen as current reading parameters. By choosing current reading parameters from multiple groups sample reading parameters, the accuracy of current reading parameters can be improved, so that choosing The current reading parameters taken are more nearly the time of day of user.
Further, whether screen parameter error threshold is greater than by judgement sample screen parameter difference, and/or, judgement Whether sample environment parameter difference is greater than environmental parametric deviation threshold value, and reading ring locating for user can be determined according to judging result Whether border changes, and avoids leading to the changed feelings of sample pupil diameters of user since reading environment changes Condition improves the accuracy for obtaining sample reading parameters.
Further, whether default error threshold is greater than by judgement sample pupil diameters difference, can be tied according to judgement Fruit, determines whether user causes the sample pupil diameters of user to change due to emotional change, avoids due to user emotion The case where changing and the sample pupil diameters of user is caused to change improves and obtains the accurate of sample reading parameters Property.
Further, the reading environment as locating for user changes, alternatively, the mood due to user changes When, when sample pupil diameters being caused to change, recorded sample reading parameters can be deleted, and collecting sample is read again Parameter is read, the accuracy for obtaining sample reading parameters is improved.
Further, whether screen parameter error threshold is greater than by current screen parameter difference, and/or, judgement is current Whether environmental parameter difference is greater than environmental parametric deviation threshold value, can determine whether the reading environment that user is currently located becomes Change, and determine whether the pupil diameters of active user change in different ways according to judging result, improves determination Whether user enters the flexibility of asthenopia state.
Further, when the reading environment that user is currently located changes, by the current reading parameters of this acquisition It is compared with the reference read parameter acquired before, determines whether user enters asthenopia state, improving confirmation user is The no flexibility into asthenopia state.
Further, after mobile terminal enters reading model, available reference read parameter that is to say determining user Corresponding parameters when starting to read, whether to determine user according to the reference read parameter in the next steps Into asthenopia state, the flexibility whether confirmation user enters asthenopia state is improved.
Referring to Fig. 3, a kind of structural block diagram of mobile terminal of the embodiment of the present invention is shown, can specifically include:
First obtains module 301, for obtaining the pupil diameters of active user;
First judgment module 302, for judging the difference between the pupil diameters of the user and default pupil diameters, if Greater than default error threshold;
Adjustment module 303, for if more than then the screen intensity of the mobile terminal is adjusted.
Optionally, the mobile terminal further include:
Second obtains module, for obtaining current screen parameter and current environment parameter;
The adjustment module 303 includes:
Submodule is searched, for according to the corresponding history environment parameter of every group of history parameters, lookup to obtain and deserves The corresponding target histories parameter of preceding environmental parameter, which includes target histories screen parameter, target histories ring Border parameter and target histories fatigue duration;
Judging submodule, for judging whether the target histories fatigue duration is greater than current tired duration, the current fatigue Duration is obtained according at the time of the pupil diameters for obtaining the user and at the time of acquisition with reference to pupil diameters;
Submodule is adjusted, if being greater than the current tired duration for the target histories fatigue duration, according to the target histories The screen intensity of the mobile terminal is adjusted in screen parameter.
Optionally, which includes:
First acquisition submodule, for obtaining the sample pupil diameters of the user;
Judging submodule, for judging whether the number of sample pupil diameters of the user is less than sample threshold;
Submodule is chosen, if the number of the sample pupil diameters for the user is not less than the sample threshold, chooses intermediate value Pupil diameters of the sample pupil diameters as the user, the intermediate value sample pupil diameters are at least one sample pupil of the user In parameter, parameter value is the sample pupil diameters of median;
If the number that the acquisition submodule is also used to the sample pupil diameters of the user is less than the sample threshold, by first After preset duration, the sample pupil diameters of the user are obtained again, until the number of the sample pupil diameters of the user is not less than The sample threshold.
Optionally, the mobile terminal further include:
Third obtains module, for obtaining sample screen parameter and sample environment parameter;
Whether the second judgment module is greater than screen error threshold value for judgement sample screen parameter difference, and/or, judgement Whether sample environment parameter difference is greater than environmental error threshold value, which obtained according to the sample screen parameter It takes, which obtained according to the sample environment parameter;
First acquisition submodule includes:
Acquiring unit, if it is not more than the screen parameter error threshold for the sample screen parameter difference, and/or, the sample This environmental parameter difference is not more than the environmental parametric deviation threshold value, obtains the sample pupil diameters of the user.
Optionally, the mobile terminal further include:
Second obtains module, for obtaining current screen parameter and current environment parameter;
Third judgment module, for judging whether current screen parameter difference is greater than screen error threshold value, and/or, judgement Whether current environment parameter difference is greater than environmental error threshold value, which obtained according to the current screen parameter It takes, which obtained according to the current environment parameter;
The first judgment module 302 includes:
First judging submodule, if for the current screen parameter difference no more than the screen parameter error threshold, and/ Or, judging that the pupil diameters of the user are default with this if the current environment parameter difference is not more than the environmental parametric deviation threshold value Difference between pupil diameters, if be greater than the default error threshold.
Optionally, the mobile terminal further include:
4th judgment module, if it is greater than the screen error threshold value for the current screen parameter difference, and/or, if deserving Preceding environment parameter difference is greater than the environmental error threshold value, judges whether the current screen parameter is greater than with reference to screen parameter, and/ Or, judging whether the current environment parameter is less than reference environment parameter;
The first judgment module 302 further include:
Second judgment submodule, if being greater than this for the current screen parameter refers to screen parameter, and/or, if this is current Environmental parameter is less than the reference environment parameter, judges whether the pupil diameters of the user are greater than with reference to pupil diameters and the default mistake Poor threshold value and value.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 2 and realize Each process, to avoid repeating, which is not described herein again.
In conclusion mobile terminal provided in an embodiment of the present invention, by obtaining the pupil diameters of active user, and judges Difference between the pupil diameters of user and default pupil diameters, if be greater than default error threshold.If the pupil diameters of user Difference between default pupil diameters is greater than default error threshold, then the screen intensity of mobile terminal is adjusted.Pass through Mobile terminal judges according to the pupil diameters for obtaining active user, determines whether user is in asthenopia state, works as user When in asthenopia state, actively screen intensity is adjusted, to alleviate user's asthenopia, in the feelings for not interrupting user's reading It under condition, can effectively slow down the asthenopia of user, improve the viscosity that user uses mobile terminal to be read, improve adjusting The flexibility of screen intensity.
A kind of hardware structural diagram of Fig. 4 mobile terminal of each embodiment to realize the present invention, the mobile terminal 400 Including but not limited to: radio frequency unit 401, audio output unit 403, input unit 404, sensor 405, is shown network module 402 Show the components such as unit 406, user input unit 407, interface unit 408, memory 409, processor 410 and power supply 411. It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 4 does not constitute the restriction to mobile terminal, it is mobile whole End may include perhaps combining certain components or different component layouts than illustrating more or fewer components.In the present invention In embodiment, mobile terminal includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear Wear equipment and pedometer etc..
Wherein, input unit 404, for obtaining the pupil diameters of active user;
Processor 410, for judging the difference between the pupil diameters of the user and default pupil diameters, if be greater than Default error threshold;
Processor 410 is also used to if more than then the screen intensity of the mobile terminal is adjusted.
In conclusion mobile terminal provided in an embodiment of the present invention, by obtaining the pupil diameters of active user, and judges Difference between the pupil diameters of user and default pupil diameters, if be greater than default error threshold.If the pupil diameters of user Difference between default pupil diameters is greater than default error threshold, then the screen intensity of mobile terminal is adjusted.Pass through Mobile terminal judges according to the pupil diameters for obtaining active user, determines whether user is in asthenopia state, works as user When in asthenopia state, actively screen intensity is adjusted, to alleviate user's asthenopia, in the feelings for not interrupting user's reading It under condition, can effectively slow down the asthenopia of user, improve the viscosity that user uses mobile terminal to be read, improve adjusting The flexibility of screen intensity.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 402 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 403 can be received by radio frequency unit 401 or network module 402 or in memory 409 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor (Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 401 is converted in the case where telephone calling model.
Mobile terminal 400 further includes at least one sensor 405, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear Display panel 4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071 Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments 4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touching The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 4, touch panel 4071 and display Panel 4061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 400 or can be used in 400 He of mobile terminal Data are transmitted between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 409, and calls and is stored in storage Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 410.
Mobile terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411 Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 400 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, and memory 409 is stored in On memory 409 and the computer program that can run on the processor 410, the computer program are executed by processor 410 Each process of the above-mentioned screen luminance adjustment method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, Which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned screen luminance adjustment method embodiment when being executed by processor, And identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, Such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, letter Claim RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (14)

1. a kind of screen luminance adjustment method is applied to mobile terminal, which is characterized in that the described method includes:
Obtain the pupil diameters of active user;
Judge the difference between the pupil diameters of the user and default pupil diameters, if be greater than default error threshold;
If more than then the screen intensity of the mobile terminal is adjusted.
2. the method according to claim 1, wherein it is described obtain active user pupil diameters before, institute State method further include:
Obtain current screen parameter and current environment parameter;
The screen intensity to the mobile terminal is adjusted, comprising:
According to the corresponding history environment parameter of every group of history parameters, lookup obtains corresponding with the current environment parameter Target histories parameter, the target histories parameter include target histories screen parameter, target histories environmental parameter and target histories Tired duration;
Judge whether the target histories fatigue duration is greater than current tired duration, the current tired duration is according to acquisition institute It is obtained at the time of stating the pupil diameters of user and at the time of acquisition with reference to pupil diameters;
If the target histories fatigue duration is greater than the current tired duration, according to the target histories screen parameter to described The screen intensity of mobile terminal is adjusted.
3. the method according to claim 1, wherein the pupil diameters for obtaining active user, comprising:
Obtain the sample pupil diameters of the user;
Judge whether the number of the sample pupil diameters of the user is less than sample threshold;
If the number of the sample pupil diameters of the user is not less than the sample threshold, the pupil diameters conduct of intermediate value sample is chosen The pupil diameters of the user, the intermediate value sample pupil diameters are ginseng at least one sample pupil diameters of the user Numerical value is the sample pupil diameters of median;
It is obtained again after the first preset duration if the number of the sample pupil diameters of the user is less than the sample threshold The sample pupil diameters of the user are taken, until the number of the sample pupil diameters of the user is not less than the sample threshold.
4. according to the method described in claim 3, it is characterized in that, the sample pupil diameters for obtaining the user it Before, the method also includes:
Obtain sample screen parameter and sample environment parameter;
Whether judgement sample screen parameter difference is greater than screen parameter error threshold, and/or, judgement sample environmental parameter difference is No to be greater than environmental parametric deviation threshold value, the sample screen parameter difference is obtained according to the sample screen parameter, the sample This environmental parameter difference is obtained according to the sample environment parameter;
The sample pupil diameters for obtaining the user, comprising:
If the sample screen parameter difference is not more than the screen parameter error threshold, and/or, the sample environment parameter difference Value is not more than the environmental parametric deviation threshold value, obtains the sample pupil diameters of the user.
5. the method according to claim 1, wherein it is described obtain active user pupil diameters before, institute State method further include:
Obtain current screen parameter and current environment parameter;
Judge whether current screen parameter difference is greater than screen parameter error threshold, and/or, judge that current environment parameter difference is No to be greater than environmental parametric deviation threshold value, the current screen parameter difference is obtained according to the current screen parameter, described to work as Preceding environment parameter difference is obtained according to the current environment parameter;
Difference between the pupil diameters and default pupil diameters of the judgement user, if it is greater than default error threshold, Include:
If the current screen parameter difference is not more than the screen parameter error threshold, and/or, if the current environment parameter Difference is not more than the environmental parametric deviation threshold value, judges between the pupil diameters of the user and the default pupil diameters Difference, if be greater than the default error threshold.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
If the current screen parameter difference is greater than the screen parameter error threshold, and/or, if the current environment parameter difference Value is greater than the environmental parametric deviation threshold value, judges whether the current screen parameter is greater than with reference to screen parameter, and/or, sentence Whether the current environment parameter of breaking is less than reference environment parameter;
Difference between the pupil diameters and default pupil diameters of the judgement user, if it is greater than default error threshold, Further include:
If the current screen parameter be greater than it is described refer to screen parameter, and/or, if the current environment parameter be less than the ginseng Examine environmental parameter, judge the pupil diameters of the user whether be greater than it is with reference to pupil diameters and the default error threshold and Value.
7. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
First obtains module, for obtaining the pupil diameters of active user;
First judgment module, for judging the difference between the pupil diameters of the user and default pupil diameters, if be greater than Default error threshold;
Adjustment module, for if more than then the screen intensity of the mobile terminal is adjusted.
8. mobile terminal according to claim 7, which is characterized in that the mobile terminal further include:
Second obtains module, for obtaining current screen parameter and current environment parameter;
The adjustment module includes:
Search submodule, for according to the corresponding history environment parameter of every group of history parameters, lookup obtain with it is described current The corresponding target histories parameter of environmental parameter, the target histories parameter include target histories screen parameter, target histories ring Border parameter and target histories fatigue duration;
Judging submodule, for judging whether the target histories fatigue duration is greater than current tired duration, the current fatigue Duration is obtained according at the time of the pupil diameters for obtaining the user and at the time of acquisition with reference to pupil diameters;
Submodule is adjusted, if being greater than the current tired duration for the target histories fatigue duration, is gone through according to the target The screen intensity of the mobile terminal is adjusted in history screen parameter.
9. mobile terminal according to claim 7, which is characterized in that described first, which obtains module, includes:
First acquisition submodule, for obtaining the sample pupil diameters of the user;
Judging submodule, for judging whether the number of sample pupil diameters of the user is less than sample threshold;
Submodule is chosen, if the number of the sample pupil diameters for the user is not less than the sample threshold, chooses intermediate value Pupil diameters of the sample pupil diameters as the user, the intermediate value sample pupil diameters are at least one sample of the user In this pupil diameters, parameter value is the sample pupil diameters of median;
If the number that the acquisition submodule is also used to the sample pupil diameters of the user is less than the sample threshold, by the After one preset duration, the sample pupil diameters of the user are obtained again, until the number of the sample pupil diameters of the user Not less than the sample threshold.
10. mobile terminal according to claim 9, which is characterized in that the mobile terminal further include:
Third obtains module, for obtaining sample screen parameter and sample environment parameter;
Whether the second judgment module is greater than screen error threshold value for judgement sample screen parameter difference, and/or, judgement sample Whether environmental parameter difference is greater than environmental error threshold value, and the sample screen parameter difference is obtained according to the sample screen parameter It takes, the sample environment parameter difference is obtained according to the sample environment parameter;
First acquisition submodule includes:
Acquiring unit, if it is not more than the screen parameter error threshold for the sample screen parameter difference, and/or, it is described Sample environment parameter difference is not more than the environmental parametric deviation threshold value, obtains the sample pupil diameters of the user.
11. mobile terminal according to claim 7, which is characterized in that the mobile terminal further include:
Second obtains module, for obtaining current screen parameter and current environment parameter;
Third judgment module, for judging whether current screen parameter difference is greater than screen error threshold value, and/or, judgement is current Whether environmental parameter difference is greater than environmental error threshold value, and the current screen parameter difference is obtained according to the current screen parameter It takes, the current environment parameter difference is obtained according to the current environment parameter;
The first judgment module includes:
First judging submodule, if for the current screen parameter difference no more than the screen parameter error threshold, and/ Or, if the current environment parameter difference is not more than the environmental parametric deviation threshold value, judge the pupil diameters of the user with Difference between the default pupil diameters, if be greater than the default error threshold.
12. mobile terminal according to claim 11, which is characterized in that the mobile terminal further include:
4th judgment module, if it is greater than the screen error threshold value for the current screen parameter difference, and/or, if described Current environment parameter difference is greater than the environmental error threshold value, judges whether the current screen parameter is greater than and joins with reference to screen Number, and/or, judge whether the current environment parameter is less than reference environment parameter;
The first judgment module further include:
Second judgment submodule, if for the current screen parameter greater than described with reference to screen parameter, and/or, if described work as Preceding environmental parameter is less than the reference environment parameter, judges whether the pupil diameters of the user are greater than with reference to pupil diameters and institute State default error threshold and value.
13. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 6 is realized when the computer program is executed by the processor Any one of described in screen luminance adjustment method the step of.
14. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence realizes such as screen intensity adjusting side described in any one of claims 1 to 6 when the computer program is executed by processor The step of method.
CN201810690056.2A 2018-06-28 2018-06-28 Screen brightness adjusting method and mobile terminal Active CN108962187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810690056.2A CN108962187B (en) 2018-06-28 2018-06-28 Screen brightness adjusting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810690056.2A CN108962187B (en) 2018-06-28 2018-06-28 Screen brightness adjusting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108962187A true CN108962187A (en) 2018-12-07
CN108962187B CN108962187B (en) 2020-03-27

Family

ID=64487715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810690056.2A Active CN108962187B (en) 2018-06-28 2018-06-28 Screen brightness adjusting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108962187B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572917A (en) * 2019-09-17 2019-12-13 哈尔滨理工大学 Microenvironment light brightness adjusting method and system
CN111414078A (en) * 2020-03-17 2020-07-14 Oppo广东移动通信有限公司 Data processing method and device, electronic equipment and storage medium
CN111950462A (en) * 2020-08-13 2020-11-17 深圳市商汤科技有限公司 Brightness adjusting method and device, electronic equipment and storage medium
CN112905009A (en) * 2021-02-04 2021-06-04 捷开通讯(深圳)有限公司 Display adjusting method and device, terminal equipment and storage medium
CN116052616A (en) * 2023-03-01 2023-05-02 深圳市领天智杰科技有限公司 Automatic screen light adjusting method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070296924A1 (en) * 2003-11-01 2007-12-27 Fusao Ishii Increase gray scales of projection system by reflecting light from mirror elements with non-uniform intensity distribution
CN103327172A (en) * 2013-04-28 2013-09-25 华为终端有限公司 Method and terminal for regulating terminal screen luminance
CN105262900A (en) * 2015-10-28 2016-01-20 广东欧珀移动通信有限公司 Screen brightness adjusting method and screen brightness adjusting device
CN105825837A (en) * 2016-03-28 2016-08-03 乐视控股(北京)有限公司 Screen brightness regulation method and device, and display device comprising screen brightness regulation device
CN106057169A (en) * 2016-05-25 2016-10-26 维沃移动通信有限公司 Eye protection method of mobile terminal and mobile terminal
CN107329718A (en) * 2017-06-15 2017-11-07 深圳市金立通信设备有限公司 A kind of control process method and terminal to terminal
CN108024013A (en) * 2017-11-28 2018-05-11 努比亚技术有限公司 Screen control method, terminal and computer-readable recording medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070296924A1 (en) * 2003-11-01 2007-12-27 Fusao Ishii Increase gray scales of projection system by reflecting light from mirror elements with non-uniform intensity distribution
CN103327172A (en) * 2013-04-28 2013-09-25 华为终端有限公司 Method and terminal for regulating terminal screen luminance
CN105262900A (en) * 2015-10-28 2016-01-20 广东欧珀移动通信有限公司 Screen brightness adjusting method and screen brightness adjusting device
CN105825837A (en) * 2016-03-28 2016-08-03 乐视控股(北京)有限公司 Screen brightness regulation method and device, and display device comprising screen brightness regulation device
CN106057169A (en) * 2016-05-25 2016-10-26 维沃移动通信有限公司 Eye protection method of mobile terminal and mobile terminal
CN107329718A (en) * 2017-06-15 2017-11-07 深圳市金立通信设备有限公司 A kind of control process method and terminal to terminal
CN108024013A (en) * 2017-11-28 2018-05-11 努比亚技术有限公司 Screen control method, terminal and computer-readable recording medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572917A (en) * 2019-09-17 2019-12-13 哈尔滨理工大学 Microenvironment light brightness adjusting method and system
CN111414078A (en) * 2020-03-17 2020-07-14 Oppo广东移动通信有限公司 Data processing method and device, electronic equipment and storage medium
CN111950462A (en) * 2020-08-13 2020-11-17 深圳市商汤科技有限公司 Brightness adjusting method and device, electronic equipment and storage medium
CN112905009A (en) * 2021-02-04 2021-06-04 捷开通讯(深圳)有限公司 Display adjusting method and device, terminal equipment and storage medium
CN116052616A (en) * 2023-03-01 2023-05-02 深圳市领天智杰科技有限公司 Automatic screen light adjusting method and system

Also Published As

Publication number Publication date
CN108962187B (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN108962187A (en) Screen luminance adjustment method and mobile terminal
US20220353225A1 (en) Method for searching for chat information and electronic device
CN109151180A (en) A kind of object identifying method and mobile terminal
CN108845853A (en) A kind of application program launching method and mobile terminal
CN108182271B (en) Photographing method, terminal and computer readable storage medium
CN108089891A (en) A kind of application program launching method, mobile terminal
CN108279948A (en) A kind of application program launching method and mobile terminal
CN109062411A (en) A kind of screen luminance adjustment method and mobile terminal
CN110072012A (en) A kind of based reminding method and mobile terminal for screen state switching
CN108174103A (en) A kind of shooting reminding method and mobile terminal
CN108984066A (en) A kind of application icon display methods and mobile terminal
CN107908770A (en) A kind of photo searching method and mobile terminal
CN109756626A (en) A kind of based reminding method and mobile terminal
CN108282834A (en) A kind of method and terminal of terminal access LTE network
CN109388456A (en) A kind of head portrait selection method and mobile terminal
CN109976688A (en) A kind of screen display method and device
CN109992941A (en) A kind of right management method and terminal device
CN109063076A (en) A kind of Picture Generation Method and mobile terminal
CN108882043A (en) A kind of control method for playing back and mobile terminal
CN109164908A (en) A kind of interface control method and mobile terminal
CN108924413A (en) Image pickup method and mobile terminal
CN108874281A (en) A kind of application program launching method and terminal device
CN109284146A (en) A kind of light application open method and mobile terminal
CN108520760A (en) A kind of audio signal processing method and terminal
CN108228357A (en) A kind of memory method for cleaning and mobile terminal

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
GR01 Patent grant
GR01 Patent grant