CN110007758A - A kind of control method and terminal of terminal - Google Patents
A kind of control method and terminal of terminal Download PDFInfo
- Publication number
- CN110007758A CN110007758A CN201910233172.6A CN201910233172A CN110007758A CN 110007758 A CN110007758 A CN 110007758A CN 201910233172 A CN201910233172 A CN 201910233172A CN 110007758 A CN110007758 A CN 110007758A
- Authority
- CN
- China
- Prior art keywords
- information
- eye
- target user
- fatigue
- terminal
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/013—Eye tracking input arrangements
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the present invention provides the control method and terminal of a kind of terminal, belongs to field of terminal technology, which comprises obtains target user's image;According to target user's image, the eye information of target user is obtained;According to the eye information, the object run for alleviating target user's eye fatigue is executed.The embodiment of the present invention can execute corresponding operation according to the current eye fatigue degree of user in real time, to preferably protect the eyes of user.
Description
Technical field
The present embodiments relate to field of terminal technology more particularly to the control methods and terminal of a kind of terminal.
Background technique
With the fast development of smart phone (terminal), nowadays user is increasingly dependent on mobile phone, has a meal and sees the mobile phone, and sees on foot
Mobile phone also sees the mobile phone before sleep.User exceedingly uses mobile phone, and the eyes that will lead to user are excessively tired, and it is strong to influence eyes
Health.Currently, in order to solve the problems, such as that user excessively causes eyes excessively tired using mobile phone, it can preset and lasting use hand
The duration of machine, when user persistently reaches pre-set duration using mobile phone, mobile phone makes corresponding operation, such as the company of sending
It is continuous to use prompt, closing hand phone display screen, screen locking or directly shutdown etc. for having reached setting duration.
But above scheme has the drawback that: pre-set duration be it is fixed, cannot be according to eyes of user
Real-time fatigue conditions adjustment.It is possible that it's not time yet, the eyes of user are excessively tired.
Summary of the invention
The embodiment of the present invention provides the control method and terminal of a kind of terminal, existing fixed by presetting to solve
The duration problem inflexible come the scheme that prevents user from excessively causing eyes excessively tired using mobile phone.
In order to solve the above technical problems, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of control methods of terminal, comprising:
Obtain target user's image;
According to target user's image, the eye information of target user is obtained;
According to the eye information, the object run for alleviating target user's eye fatigue is executed.
Second aspect, the embodiment of the invention also provides a kind of terminals, comprising:
Image collection module, for obtaining target user's image;
Eye information obtains module, for obtaining the eye information of target user according to target user's image;
Object run execution module, for executing tired for alleviating target user's eyes according to the eye information
The object run of labor.
The third aspect the embodiment of the invention also provides a kind of terminal, including processor, memory and is stored in described deposit
On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor
The step of control method of above-mentioned terminal.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium
Computer program is stored on storage media, the computer program realizes the step of the control method of above-mentioned terminal when being executed by processor
Suddenly.
It, can be by the user images (i.e. target user's image) that camera acquires in real time, to obtain in the embodiment of the present invention
The eye information of family (i.e. target user) is taken, is then executed according to the eye information of user for alleviating eyes of user fatigue
Object run.Prevent user from leading to eye because of excessive using terminal with by the duration for presetting fixed lasting using terminal
The excessively tired scheme of eyeball is compared, and the embodiment of the present invention can execute corresponding behaviour according to the current eye condition of user in real time
Make, the situation so as to avoid pre-set duration from having not yet been reached but the eyes of user are excessively tired occurs, in turn
The preferably eyes of protection user.
Detailed description of the invention
Fig. 1 is the control method flow diagram of one of the embodiment of the present invention one terminal;
Fig. 2 is the structural schematic diagram of one of the embodiment of the present invention two terminal;
Fig. 3 is the structural schematic diagram of another terminal in the embodiment of the present invention three;
A kind of hardware structural diagram of Fig. 4 terminal of each embodiment to realize the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
Attached drawing, the technical solution of the embodiment of the present invention is clearly and completely described.Obviously, described embodiment is this hair
Bright a part of the embodiment, instead of all the embodiments.Based on described the embodiment of the present invention, ordinary skill
Personnel's every other embodiment obtained, shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of the control method for terminal that the embodiment of the present invention one provides, packet
It includes:
Step 11: obtaining target user's image;
Step 12: according to target user's image, obtaining the eye information of target user;
Step 13: according to the eye information, executing the object run for alleviating target user's eye fatigue.
It, can be by the user images (i.e. target user's image) that camera acquires in real time, to obtain in the embodiment of the present invention
The eye information of family (i.e. target user) is taken, is then executed according to the eye information of user for alleviating eyes of user fatigue
Object run.Prevent user from leading to eye because of excessive using terminal with by the duration for presetting fixed lasting using terminal
The excessively tired scheme of eyeball is compared, and the embodiment of the present invention can execute corresponding behaviour according to the current eye condition of user in real time
Make, the situation so as to avoid pre-set duration from having not yet been reached but the eyes of user are excessively tired occurs, in turn
The preferably eyes of protection user.
Above-mentioned steps will be illustrated below.
Optionally, the eye information includes at least one of:
The pace of change information of pupil diameter;
The area information of pupil;
The diameter information of pupil.
It should be noted that due to people eye fatigue when, the diameter change of pupil can be slack-off, thus the present invention implement
In example, the eye information may include the pace of change information of pupil diameter.Further, since when the eye fatigue of people, it can be right
Light is more sensitive, therefore under identical light condition, pupil can be relatively small.Therefore, the eye information can also wrap
Pupil size information is included, specifically can be area or diameter, further, the pupil size information can be pupil size
Amplitude of variation information.
In other some embodiments, the eye information can also include user's frequency of wink information, and user's is upper
The change information etc. of the distance between palpebra inferior.
In the embodiment of the present invention, optionally, the step of acquisition target user's image before, further includes:
In the case where detecting the terminal by use, alternatively, detecting that the default application in the terminal is made
In the case where, control camera is opened and acquires target user's image.Specifically, the terminal can detected
Display screen is lit or determines that the terminal is used when being unlocked, can be when detecting that the default application is activated i.e.
Determine that the default application is used, or determines the default application quilt when detecting that the default application runs on foreground
It uses.
For the power consumption for reducing terminal, only detecting the terminal by use, detecting that default application is used
When just open camera and acquire target user's image.
It is optionally, described according to the eye information in the embodiment of the present invention, it executes for alleviating target user's eye
The step of object run of eyeball fatigue includes:
According to the eye information, the degree of fatigue value for being used to indicate target user's eye state is obtained;
In the case where the degree of fatigue value is greater than first object threshold value, the object run is executed.
The embodiment of the present invention, further alternative, described according to the eye information, acquisition is used to indicate the target and uses
The step of degree of fatigue value of family eye state includes:
The classification information of the target user is obtained, the classification information includes age information and/or gender information;
According to the classification information and the eye information, the degree of fatigue value is obtained.
Due under identical eye fatigue degree, the change of the pupil diameter of the user of all ages and classes and/or different sexes
Change speed is different, and the amplitude of variation of pupil size is also different, therefore judges the eye of user in the eye information according to user
When eyeball fatigue conditions (i.e. acquisition degree of fatigue value), need to consider age and/or the gender of user.
When the eye information includes the pace of change information of pupil diameter, the degree of fatigue value T can be used down
State formula expression, T=f (s, a, v), wherein f is functional relation, and s is gender, and a is the age, and v is the variation speed of pupil diameter
Degree.
It, can also be according to the correspondence in such as the following table 1 when the eye information includes the pace of change information of pupil diameter
Relation acquisition eye fatigue degree.
Table 1
The step of classification information for obtaining target user is exemplified below.
In some embodiments of the invention, optionally, the step of classification information for obtaining target user includes:
Classification information corresponding with target user's image is read from local;
In the case where reading, the classification information read is obtained;
Read less than in the case where, pass through identification target user's image and obtain the classification information.
Specifically, in the case where the corresponding relationship of classification information of user images and user is locally stored, it will be described
Target user's image is matched with the user images being locally stored, if successful match, according to corresponding relationship acquisition
The classification information of the corresponding target user of target user's image.The mode of this classification information for obtaining target user, calculated
Journey is simple, can reduce the computational burden of processor.If matching unsuccessful (namely dividing for target user is not read from local
Category information), face recognition is carried out to target user's image of camera acquisition, the target is obtained according to recognition result and is used
The classification information of the corresponding target user of family image.That is, in local target user's image pair without camera acquisition
In the case where the classification information of the target user answered, the classification information of target user, tool can be obtained by image recognition technology
Body is age and/or the gender information that user is obtained by the facial information in identification target user's image.
In other embodiments of the invention, optionally, it is described obtain target user classification information the step of include:
Face recognition is carried out to target user's image of camera acquisition, the target is obtained according to recognition result and is used
The classification information of the corresponding target user of family image.
Specifically, terminal can obtain the target user with target user's image that camera described in Direct Recognition acquires
Classification information, can also judge it is local without the corresponding relationship of user images and the classification information of user in the case where
The target user's image for identifying the camera acquisition is removed to obtain the classification information of the target user.
Optionally, face recognition is carried out in the target user's image acquired to the camera, is obtained according to recognition result
After the classification information of the corresponding target user of target user's image, further includes:
The classification information of target user's image that the camera is acquired and the target user obtained according to recognition result
Corresponding relationship be stored in local, so as to target user's next time use the terminal when, terminal can be directly from local acquisition
The classification information of the target user does not need to re-recognize, and saves the computing resource of processor.
In some embodiments of the present invention, can also include:
In the case where detecting target application by use, target application mesh before and after being used preset duration is obtained
The difference of the degree of fatigue value of user is marked, the degree of fatigue value is obtained according to the eye information;
According to the difference, judge whether the target application is the application for being easy to cause eye fatigue;
If the target application is to be easy to cause the application of eye fatigue, the target application is added to the first application name
It is single, and/or, if the target application is to not easily lead to the application of eye fatigue, the target application is added to second and is answered
Use list.
Wherein, the first application list applies list with described second, can be same using list, is also possible to
Different two apply list, list are applied if it is same, then requiring for this using each application in list
It indicates it is the application for being easy to cause eye fatigue, still not easily leads to the application of eye fatigue.
List is applied for the first application list and described second, later detecting a certain application quilt in use,
It can judge whether the application is to be easy to cause answering for eye fatigue using list according to the first application list and/or second
With, if it is the application for being easy to cause eye fatigue, then issue call user's attention using the application time prompt information.
If it is child user, the first application name single-shot can also be given to preset terminal, such as the parent of the child user makes
In terminal, or by parent described first is being viewed locally using list, so that it is that children is easy to cause to use which, which understands,
The application of family eye fatigue, and then the use that limiting child user applies these.In addition, if it is judged that the eye of target user
Eyeball is in a state of fatigue, can be recommended to not easily lead to answering for eye fatigue according to the unidirectional target user of second application name
With.
Optionally, above-mentioned acquisition target application degree of fatigue value of the target user before and after being used preset duration
The step of difference includes:
Firstly, obtaining the degree of fatigue value of the target user at the first moment, such as the degree of fatigue value T at the first moment1=f
(s, a, v1), wherein f is functional relation, and s is gender, and a is age, v1For the pace of change of the pupil diameter at the first moment;
Then, the degree of fatigue value of the target user at the second moment, the time interval at the second moment and the first moment are obtained
For the degree of fatigue value T of m (namely described preset duration), such as the second moment2=f (s, a, v2), wherein f is functional relation, s
For gender, a is age, v2For the pace of change of the pupil diameter at the first moment;
Subsequently, the degree of fatigue value T at the second moment is obtained2With the degree of fatigue value T at the first moment1Difference DELTA T;
Finally, obtaining the parameter value of the speed for measuring eye fatigue variation according to difference DELTA T, and according to the parameter value
Judge whether the application is the application for being easy to cause eye fatigue.For example, the parameter value ex=g (Δ T, m, a, s), g is
Functional relation, m are the time for persistently using target application, specifically can be a unit time.
In the embodiment of the present invention, optionally, the control method of the terminal further include:
In the case where detecting target application by use, the target application is judged using list according to what is be locally stored
It whether is the application for being easy to cause eye fatigue, the application list includes that the first application list and/or second apply list, institute
It states and is stored with the application for being easy to cause eye fatigue in the first application list, be stored in the second application list and be not easy to lead
The application of eye fatigue is caused, which can be above-mentioned according to the degree of fatigue value of target user in preset duration
The application list that difference is established, the second application list are also possible to the above-mentioned degree of fatigue according to target user in preset duration
What the difference of value was established applies list;
In the case where determining the target application is the application for being easy to cause eye fatigue, a prompt information is generated, it should
Prompt information for prompting the target user to pay attention to the duration using the target application, so as to prevent user because it is long when
Between the application of eye fatigue is easy to cause using this, protect the eyes of user.
Optionally, the step of object run executed for alleviating target user's eye fatigue include with down toward
It is one of few:
Recommendation information is generated according to local application list, the recommendation information is used to recommend not allowing to the target user
Easily lead to the application of eye fatigue, it is described using being stored with the application for not easily leading to eye fatigue in list;
In the case where eyeshield mode is not opened, eyeshield mode is opened, to reduce the light of display screen to target user
Eyes generate stimulation;
Prompt information is generated, the prompt information is for prompting eyes tired.The prompt information can be also used for building
View target user, which pays attention to looking far into the distance, loosens eyes.
For according to be locally stored apply list, to target user recommend not easily lead to eye fatigue using this
Operating procedure, the application list being locally stored can be above-mentioned described before and after being used preset duration according to target application
The second of the difference foundation of the degree of fatigue value of target user applies list.Recommend to target user to not easily lead to eyes tired
The application of labor may belong to described second using list, is also possible to be not belonging to described second using list, can be and installed
In local application, it is also possible to not yet be mounted on local application.It is further alternative, according to target user to described second
Using the fancy grade of the application in list, recommend the application for not easily leading to eye fatigue to target user.To which target is used
What family can recommend from terminal not easily leads to select one in the application of eye fatigue to use, anti-with relieving eye strain
The only prolonged over fatigue of eyes.
In the prior art, alleviate the method for eyes of user fatigue other than changing screen intensity, be exactly by closing display
Screen or the mode of shutdown forbid user to continue to use mobile phone, but will lead to poor user experience in this way.The embodiment of the present invention
In, the application of eye fatigue is not easily leaded to by recommending to user, it, can be with so that user's switching is using carrying out relieving eye strain
Improve user experience.
Optionally, according to the eye information, the degree of fatigue value for being used to indicate target user's eye state is obtained
Later, further includes:
In the case where the degree of fatigue value is no more than first object threshold value (or being less than third targets threshold), namely
In the case where the eyes not yet fatigue for determining the target user according to the degree of fatigue value, after being spaced specified duration, continue
Obtain the terminal camera acquisition target user's image, until the degree of fatigue value be greater than first object threshold value (or
Person is less than third targets threshold), namely determine that the eyes of target user are tired according to the degree of fatigue value.
In some embodiments of the invention, when the target user is child user, the execution is for alleviating
The step of stating the object run of target user's eye fatigue include:
Notification information is sent to preset terminal, the eyes that the notification information is used to indicate the child user have been located
In fatigue state, such as the communication information of parent is provided in the terminal, once determine the eyes of child user
Through in a state of fatigue, the notification information is just sent according to the communication information;
And/or
It is operated according to the local setting performance objective for child user, such as closes the display screen of the terminal, lock
Screen, shutdown, unlatching eyeshield mode etc..
For child user, if excessively using mobile phone, eyes are in a state of fatigue for a long time, it will lead to eyesight
Decline.Therefore, in a state of fatigue if it is the eyes of child user, then the object run is substantially for prohibiting
Only child user continues to use the terminal, utmostly to protect the eyes of child user, prevents visual impairment.
Optionally, after described the step of sending notification information to preset terminal, further includes:
In the case where receiving long-range control signaling, corresponding operation is executed according to the long-range control signaling;
In the case where being not received by the long-range control signaling, the terminal is closed, is also possible to other operations,
Such as display screen or screen locking etc. are closed, it is merely illustrative, is not construed as limiting herein.
It is further alternative, in the setting for being directed to child user according to local, or according to the remote control commands, close
It closes after display screen, screen locking or the shutdown of the terminal, within a period of time (third preset duration) later, for institute
Stating child user has using upper limitation, such as once target user's image judgement according to camera acquisition currently makes
It is the child user with the user of terminal, just executes the object run for closing display screen, screen locking or shutdown etc again,
To prevent children from continuing to use the terminal, causes eyes in a state of fatigue for a long time, affect vision, in another example, Zhi Nengkai
The application for not easily leading to eye fatigue in the second application list is opened, can not start in the first application list and be easy to cause eye
The application of eyeball fatigue.
In other embodiments of the invention, it is child user in target user and determines the eyes of target user
In the case where fatigue, performance objective operate the step of may include: directly to close the terminal.Also, in one section later
Between in (third preset duration), have for the child user and use upper limitation.Optionally, in the eyes for determining child user
In the case where fatigue, after being spaced specified duration, the terminal is turned off.Other are optional, locally without being directed to children
The setting of user, and at the appointed time interval in be not received by long-range control signaling in the case where, directly close the end
End.
Optionally, in the case where the target user is child user, the method also includes:
Limiting child user is using first be locally stored using the quantity of the application in list.
In the embodiment of the present invention, it can be one using list for the first of child user and individually apply list,
It is not same using list using list with first for adult user.In addition, if the terminal is by screen locking, display
Screen is closed or is shut down, and just controls camera and closes, no longer acquisition user images, also no longer obtains the eyes letter of user
The degree of fatigue value of breath, eyes of user, to reduce energy consumption.
In other embodiments of the invention, it can judge that the eyes of target user are tired according to the degree of fatigue value of acquisition
Labor degree, such as general fatigue and major fatigue, and corresponding operation is executed, such as be in one in the eyes for determining target user
As fatigue when, prompt at this time eyes fatigue, take a good rest, determine target user eyes be in major fatigue when, mention
Show eyes major fatigue at this time, continues to use and may cause myopia.Also, the terminal or pre- is used in target user
If continuing the eye fatigue degree for judging target user according to the eye information of acquisition in a period of.
Referring to Fig. 2, Fig. 2 is a kind of structural schematic diagram of terminal provided by Embodiment 2 of the present invention, which includes:
Image collection module 21, for obtaining target user's image;
Eye information obtains module 22, for obtaining the eye information of target user according to target user's image;
Object run execution module 23, for executing for alleviating target user's eyes according to the eye information
The object run of fatigue.
It, can be by the user images (i.e. target user's image) that camera acquires in real time, to obtain in the embodiment of the present invention
The eye information at family is taken, the object run for alleviating eyes of user fatigue is then executed according to the eye information of user.With
Prevent user from causing eyes excessively tired because of excessive using terminal by presetting the duration of fixed lasting using terminal
Scheme compare, the embodiment of the present invention can execute corresponding operation according to the current eye condition of user in real time, so as to
It is had not yet been reached to avoid pre-set duration but situation that the eyes of user are excessively tired occurs, and then preferably protected
The eyes of user.
Optionally, the eye information includes at least one of:
The pace of change information of pupil diameter;
The area information of pupil;
The diameter information of pupil.
Optionally, the object run execution module 23 includes:
Degree of fatigue value acquisition submodule, for according to the eye information, acquisition to be used to indicate target user's eye
The degree of fatigue value of eyeball state;
Implementation sub-module, for executing the target in the case where the degree of fatigue value is greater than first object threshold value
Operation.
Optionally, the degree of fatigue value acquisition submodule includes:
Classification information acquiring unit, for obtaining the classification information of the target user, the classification information includes the age
Information and/or gender information;
Degree of fatigue value acquiring unit, for obtaining the fatigue according to the classification information and the eye information
Degree value.
Optionally, the classification information acquiring unit includes:
Reading subunit, for reading classification information corresponding with target user's image from local;
Subelement is obtained, in the case where reading, obtaining the classification information read;
Identify subelement, for read less than in the case where, pass through identification target user's image and obtain described point
Category information.
Optionally, the object run execution module 23 includes at least one of:
Recommend submodule, for generating recommendation information according to local application list, the recommendation information is used for described
Target user recommends to not easily lead to the application of eye fatigue, described to not easily lead to eye fatigue using being stored in list
Using;
Eyeshield mode opens submodule, for opening eyeshield mode in the case where eyeshield mode is not opened;
Prompting submodule, for generating prompt information, the prompt information is for prompting eyes tired.
Optionally, the terminal further include:
Difference obtains module, for obtaining the tired journey of target application target user before and after being used preset duration
The difference of angle value, the degree of fatigue value are obtained according to the eye information;
List establishes module, for determining the target application in the case where the difference is less than the second targets threshold
It is the application for not easily leading to eye fatigue, the target application is added to described using list.
Terminal provided in an embodiment of the present invention, can each process in above method embodiment, to avoid repeating, here
It repeats no more.
Referring to FIG. 3, Fig. 3 is a kind of structural schematic diagram for terminal that the embodiment of the present invention three provides, which includes
Processor 31, memory 32 are stored in the computer program that can be run on memory 32 and on the processor 31, the calculating
Machine program realizes following steps when being executed by processor 31:
Obtain target user's image;
According to target user's image, the eye information of target user is obtained;
According to the eye information, the object run for alleviating target user's eye fatigue is executed.
It, can be by the user images (i.e. target user's image) that camera acquires in real time, to obtain in the embodiment of the present invention
The eye information of family (i.e. target user) is taken, is then executed according to the eye information of user for alleviating eyes of user fatigue
Object run.Prevent user from leading to eye because of excessive using terminal with by the duration for presetting fixed lasting using terminal
The excessively tired scheme of eyeball is compared, and the embodiment of the present invention can execute corresponding behaviour according to the current eye condition of user in real time
Make, the situation so as to avoid pre-set duration from having not yet been reached but the eyes of user are excessively tired occurs, in turn
The preferably eyes of protection user.
Optionally, the eye information includes at least one of:
The pace of change information of pupil diameter;
The area information of pupil;
The diameter information of pupil.
Optionally, following steps be can also be achieved when computer program is executed by processor 31:
It is described according to the eye information, the step of executing the object run for alleviating target user's eye fatigue
Include:
According to the eye information, the degree of fatigue value for being used to indicate target user's eye state is obtained;
In the case where the degree of fatigue value is greater than first object threshold value, the object run is executed.
Optionally, following steps be can also be achieved when computer program is executed by processor 31:
It is described according to the eye information, obtain the step for being used to indicate the degree of fatigue value of target user's eye state
Suddenly include:
The classification information of the target user is obtained, the classification information includes age information and/or gender information;
According to the classification information and the eye information, the degree of fatigue value is obtained.
Optionally, following steps be can also be achieved when computer program is executed by processor 31:
The step of classification information for obtaining the target user includes:
Classification information corresponding with target user's image is read from local;
In the case where reading, the classification information read is obtained;
Read less than in the case where, pass through identification target user's image and obtain the classification information.
Optionally, following steps be can also be achieved when computer program is executed by processor 31:
The step of object run executed for alleviating target user's eye fatigue includes at least one of:
Recommendation information is generated according to local application list, the recommendation information is used to recommend not allowing to the target user
Easily lead to the application of eye fatigue, it is described using being stored with the application for not easily leading to eye fatigue in list;
In the case where eyeshield mode is not opened, eyeshield mode is opened;
Prompt information is generated, the prompt information is for prompting eyes tired.
Optionally, following steps be can also be achieved when computer program is executed by processor 31:
The difference of target application degree of fatigue value of the target user before and after being used preset duration is obtained, it is described tired
Labor degree value is obtained according to the eye information;
In the case where the difference is less than the second targets threshold, determine that the target application is that not easily lead to eyes tired
The target application is added to described using list by the application of labor.
The terminal can be realized each process of above method embodiment, and can reach identical technical effect, to avoid
It repeats, which is not described herein again.
A kind of hardware structural diagram of Fig. 4 terminal of each embodiment to realize the present invention, the terminal 400 include but not
It is limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit
406, the components such as user input unit 407, interface unit 408, memory 409, processor 410 and power supply 411.This field
Technical staff is appreciated that the restriction of the not structure paired terminal of terminal structure shown in Fig. 4, and terminal may include than illustrating more
More or less component perhaps combines certain components or different component layouts.In embodiments of the present invention, terminal includes
But be not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 410, for obtaining target user's image;According to target user's image, target user is obtained
Eye information;According to the eye information, the object run for alleviating target user's eye fatigue is executed.
It, can be by the user images (i.e. target user's image) that camera acquires in real time, to obtain in the embodiment of the present invention
The eye information of family (i.e. target user) is taken, is then executed according to the eye information of user for alleviating eyes of user fatigue
Object run.Prevent user from leading to eye because of excessive using terminal with by the duration for presetting fixed lasting using terminal
The excessively tired scheme of eyeball is compared, and the embodiment of the present invention can execute corresponding behaviour according to the current eye condition of user in real time
Make, the situation so as to avoid pre-set duration from having not yet been reached but the eyes of user are excessively tired occurs, in turn
The preferably eyes of protection user.
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.
Terminal provides wireless broadband internet by network module 402 for user and accesses, and such as user is helped to receive and dispatch electricity
Sub- mail, browsing 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 provide and end
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 400 executes.Sound
Frequency 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.
Terminal 400 further includes at least one sensor 405, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 4061, and proximity sensor can close display panel when terminal 400 is moved in one's ear
4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 405 can be with
Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer,
Infrared sensor etc., 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 generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 407 include touch panel 4071 and other
Input equipment 4072.Touch panel 4071, also referred to as touch screen, collect user on it or nearby touch operation (such as
User is using any suitable objects or attachment such as finger, stylus on touch panel 4071 or near touch panel 4071
Operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receives processor 410
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize 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 terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of terminal is realized so that touch panel 4071 and display panel 4061 is integrated, is not limited herein specifically
It is fixed.
Interface unit 408 is the interface that external device (ED) is connect with terminal 400.For example, external device (ED) may include it is wired or
Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port,
For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module
Etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will
One or more elements that the input received is transferred in terminal 400 or can be used for terminal 400 and external device (ED) it
Between transmit data.
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 terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 409, and call and be stored in memory 409
Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 410 may include one
Or multiple processing units;Preferably, processor 410 can integrate application processor and modem processor, wherein application processing
The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage
Solution, above-mentioned modem processor can not also be integrated into processor 410.
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 with
It is logically contiguous by power-supply management system and processor 410, thus by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
In addition, terminal 400 includes some unshowned functional modules, details are not described herein.
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 the control method embodiment of above-mentioned terminal 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, abbreviation
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 (15)
1. a kind of control method of terminal characterized by comprising
Obtain target user's image;
According to target user's image, the eye information of target user is obtained;
According to the eye information, the object run for alleviating target user's eye fatigue is executed.
2. the control method of terminal according to claim 1, which is characterized in that the eye information include it is following at least it
One:
The pace of change information of pupil diameter;
The area information of pupil;
The diameter information of pupil.
3. the control method of terminal according to claim 1, which is characterized in that it is described according to the eye information, it executes
Include: for the step of alleviating the object run of target user's eye fatigue
According to the eye information, the degree of fatigue value for being used to indicate target user's eye state is obtained;
In the case where the degree of fatigue value is greater than first object threshold value, the object run is executed.
4. the control method of terminal according to claim 3, which is characterized in that it is described according to the eye information, it obtains
The step of being used to indicate the degree of fatigue value of target user's eye state include:
The classification information of the target user is obtained, the classification information includes age information and/or gender information;
According to the classification information and the eye information, the degree of fatigue value is obtained.
5. the control method of terminal according to claim 4, which is characterized in that the classification for obtaining the target user
The step of information includes:
Classification information corresponding with target user's image is read from local;
In the case where reading, the classification information read is obtained;
Read less than in the case where, pass through identification target user's image and obtain the classification information.
6. the control method of terminal according to claim 1, which is characterized in that described execute is used for alleviating the target
The step of object run of family eye fatigue includes at least one of:
Recommendation information is generated according to local application list, the recommendation information is used to recommend to be not easy to lead to the target user
The application of eye fatigue is caused, it is described using being stored with the application for not easily leading to eye fatigue in list;
In the case where eyeshield mode is not opened, eyeshield mode is opened;
Prompt information is generated, the prompt information is for prompting eyes tired.
7. the control method of terminal according to claim 6, which is characterized in that the application list is according to following manner
It obtains:
Obtain the difference of target application degree of fatigue value of the target user before and after being used preset duration, the fatigue journey
Angle value is obtained according to the eye information;
In the case where the difference is less than the second targets threshold, determine that the target application not easily leads to eye fatigue
Using the target application being added to described using list.
8. a kind of terminal characterized by comprising
Image collection module, for obtaining target user's image;
Eye information obtains module, for obtaining the eye information of target user according to target user's image;
Object run execution module, for executing for alleviating target user's eye fatigue according to the eye information
Object run.
9. terminal according to claim 8, which is characterized in that the eye information includes at least one of:
The pace of change information of pupil diameter;
The area information of pupil;
The diameter information of pupil.
10. terminal according to claim 8, which is characterized in that the object run execution module includes:
Degree of fatigue value acquisition submodule, for according to the eye information, acquisition to be used to indicate target user's eye-shaped
The degree of fatigue value of state;
Implementation sub-module, for executing the object run in the case where the degree of fatigue value is greater than first object threshold value.
11. terminal according to claim 10, which is characterized in that the degree of fatigue value acquisition submodule includes:
Classification information acquiring unit, for obtaining the classification information of the target user, the classification information includes age information
And/or gender information;
Degree of fatigue value acquiring unit, for obtaining the degree of fatigue according to the classification information and the eye information
Value.
12. terminal according to claim 11, which is characterized in that the classification information acquiring unit includes:
Reading subunit, for reading classification information corresponding with target user's image from local;
Subelement is obtained, in the case where reading, obtaining the classification information read;
Identify subelement, for read less than in the case where, pass through identification target user's image and obtain the classification letter
Breath.
13. terminal according to claim 8, which is characterized in that the object run execution module include it is following at least it
One:
Recommend submodule, for generating recommendation information according to local application list, the recommendation information is used for the target
User recommends to not easily lead to the application of eye fatigue, described to not easily lead to answering for eye fatigue using being stored in list
With;
Eyeshield mode opens submodule, for opening eyeshield mode in the case where eyeshield mode is not opened;
Prompting submodule, for generating prompt information, the prompt information is for prompting eyes tired.
14. terminal according to claim 13, which is characterized in that further include:
Difference obtains module, for obtaining the degree of fatigue value of target application target user before and after being used preset duration
Difference, the degree of fatigue value obtains according to the eye information;
List establishes module, for determining that the target application is not in the case where the difference is less than the second targets threshold
It is easy to cause the application of eye fatigue, the target application is added to described using list.
15. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place
The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 7
The step of control method of terminal described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910233172.6A CN110007758B (en) | 2019-03-26 | 2019-03-26 | Terminal control method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910233172.6A CN110007758B (en) | 2019-03-26 | 2019-03-26 | Terminal control method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110007758A true CN110007758A (en) | 2019-07-12 |
CN110007758B CN110007758B (en) | 2021-07-23 |
Family
ID=67168324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910233172.6A Active CN110007758B (en) | 2019-03-26 | 2019-03-26 | Terminal control method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110007758B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306238A (en) * | 2020-10-27 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Method and device for determining interaction mode, electronic equipment and storage medium |
CN112333324A (en) * | 2019-07-17 | 2021-02-05 | 北京爱诺斯科技有限公司 | Mobile phone use behavior statistical method |
CN112506338A (en) * | 2020-11-30 | 2021-03-16 | 崔刚 | Equipment control method, device and equipment based on full vision |
CN113448439A (en) * | 2021-06-30 | 2021-09-28 | 广东小天才科技有限公司 | Light emitting method and device, terminal equipment and storage medium |
JP2021152916A (en) * | 2020-08-27 | 2021-09-30 | バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド | Eye protection mode presentation method, device, electronic facility, storage medium, and program |
CN114153361A (en) * | 2020-09-07 | 2022-03-08 | 腾讯科技(深圳)有限公司 | Interface display method, device, terminal and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003295997A (en) * | 2002-04-02 | 2003-10-17 | Nikon Gijutsu Kobo:Kk | Eye fatigue relieving device and method for presenting eye fatigue relieving image |
CN105718875A (en) * | 2016-01-15 | 2016-06-29 | 广东欧珀移动通信有限公司 | Visual fatigue detection method and user terminal |
CN106503063A (en) * | 2016-09-28 | 2017-03-15 | 广东小天才科技有限公司 | Application recommendation method and device and user terminal |
US20170075419A1 (en) * | 2015-09-16 | 2017-03-16 | Hcl Technologies Limited | System and method for reducing eye strain of a user operating a display device |
CN106991792A (en) * | 2017-05-15 | 2017-07-28 | 广东小天才科技有限公司 | Eye fatigue detection method and device and user equipment |
CN107638169A (en) * | 2017-09-22 | 2018-01-30 | 成都大学 | A kind of evaluating method and evaluating system of visual fatigue degree |
CN108170258A (en) * | 2016-12-06 | 2018-06-15 | 宋杰 | A kind of smart mobile phone eyes protecting system and eye care method |
KR20190008765A (en) * | 2017-07-17 | 2019-01-25 | 최한나 | Method for controlling screen in eye health and terminal for the same |
US20190053731A1 (en) * | 2015-04-30 | 2019-02-21 | Samsung Electronics Co., Ltd. | Portable apparatus and method of changing screen of content thereof |
-
2019
- 2019-03-26 CN CN201910233172.6A patent/CN110007758B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003295997A (en) * | 2002-04-02 | 2003-10-17 | Nikon Gijutsu Kobo:Kk | Eye fatigue relieving device and method for presenting eye fatigue relieving image |
US20190053731A1 (en) * | 2015-04-30 | 2019-02-21 | Samsung Electronics Co., Ltd. | Portable apparatus and method of changing screen of content thereof |
US20170075419A1 (en) * | 2015-09-16 | 2017-03-16 | Hcl Technologies Limited | System and method for reducing eye strain of a user operating a display device |
CN105718875A (en) * | 2016-01-15 | 2016-06-29 | 广东欧珀移动通信有限公司 | Visual fatigue detection method and user terminal |
CN106503063A (en) * | 2016-09-28 | 2017-03-15 | 广东小天才科技有限公司 | Application recommendation method and device and user terminal |
CN108170258A (en) * | 2016-12-06 | 2018-06-15 | 宋杰 | A kind of smart mobile phone eyes protecting system and eye care method |
CN106991792A (en) * | 2017-05-15 | 2017-07-28 | 广东小天才科技有限公司 | Eye fatigue detection method and device and user equipment |
KR20190008765A (en) * | 2017-07-17 | 2019-01-25 | 최한나 | Method for controlling screen in eye health and terminal for the same |
CN107638169A (en) * | 2017-09-22 | 2018-01-30 | 成都大学 | A kind of evaluating method and evaluating system of visual fatigue degree |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112333324A (en) * | 2019-07-17 | 2021-02-05 | 北京爱诺斯科技有限公司 | Mobile phone use behavior statistical method |
JP2021152916A (en) * | 2020-08-27 | 2021-09-30 | バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド | Eye protection mode presentation method, device, electronic facility, storage medium, and program |
US11435824B2 (en) | 2020-08-27 | 2022-09-06 | Baidu Online Network Technology (Beijing) Co., Ltd | Prompt method and apparatus for eye-protection mode, electronic device and storage medium |
CN114153361A (en) * | 2020-09-07 | 2022-03-08 | 腾讯科技(深圳)有限公司 | Interface display method, device, terminal and storage medium |
CN114153361B (en) * | 2020-09-07 | 2023-08-22 | 腾讯科技(深圳)有限公司 | Interface display method, device, terminal and storage medium |
CN112306238A (en) * | 2020-10-27 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Method and device for determining interaction mode, electronic equipment and storage medium |
CN112506338A (en) * | 2020-11-30 | 2021-03-16 | 崔刚 | Equipment control method, device and equipment based on full vision |
CN112506338B (en) * | 2020-11-30 | 2024-04-16 | 崔刚 | Full-vision-based equipment control method, device and equipment |
CN113448439A (en) * | 2021-06-30 | 2021-09-28 | 广东小天才科技有限公司 | Light emitting method and device, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110007758B (en) | 2021-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110007758A (en) | A kind of control method and terminal of terminal | |
CN109151180A (en) | A kind of object identifying method and mobile terminal | |
CN108182896B (en) | A kind of brightness detection method, device and mobile terminal | |
CN109381165A (en) | A kind of skin detecting method and mobile terminal | |
CN108062400A (en) | Examination cosmetic method, smart mirror and storage medium based on smart mirror | |
CN108491123A (en) | A kind of adjusting application program image target method and mobile terminal | |
CN108549802A (en) | A kind of unlocking method, device and mobile terminal based on recognition of face | |
CN107786811B (en) | A kind of photographic method and mobile terminal | |
CN107679514A (en) | A kind of face identification method and electronic equipment | |
CN108427873A (en) | A kind of biological feather recognition method and mobile terminal | |
CN108154121A (en) | Cosmetic auxiliary method, smart mirror and storage medium based on smart mirror | |
CN109461124A (en) | A kind of image processing method and terminal device | |
CN107831891A (en) | A kind of brightness adjusting method and mobile terminal | |
CN108881782A (en) | A kind of video call method and terminal device | |
CN108089801A (en) | A kind of method for information display and mobile terminal | |
CN109032406A (en) | A kind of control method and mobile terminal | |
CN110018805A (en) | A kind of display control method and mobile terminal | |
CN109167914A (en) | A kind of image processing method and mobile terminal | |
CN108650408A (en) | A kind of unlocking screen method and mobile terminal | |
CN109145731A (en) | A kind of fingerprint identification method, device and mobile terminal | |
CN109413264A (en) | A kind of background picture method of adjustment and terminal device | |
CN109448069A (en) | A kind of template generation method and mobile terminal | |
CN110516488A (en) | A kind of barcode scanning method and mobile terminal | |
CN110533651A (en) | A kind of image processing method and device | |
CN110149628A (en) | A kind of information processing method and terminal device |
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 |