CN108012026A - One kind protection eyesight method and mobile terminal - Google Patents
One kind protection eyesight method and mobile terminal Download PDFInfo
- Publication number
- CN108012026A CN108012026A CN201711209210.1A CN201711209210A CN108012026A CN 108012026 A CN108012026 A CN 108012026A CN 201711209210 A CN201711209210 A CN 201711209210A CN 108012026 A CN108012026 A CN 108012026A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- face characteristic
- viewing location
- characteristic image
- analytical cycle
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/20—Scenes; Scene-specific elements in augmented reality scenes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/168—Feature extraction; Face representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/172—Classification, e.g. identification
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/52—Details of telephonic subscriber devices including functional features of a camera
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- Oral & Maxillofacial Surgery (AREA)
- General Health & Medical Sciences (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Environmental & Geological Engineering (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides one kind protection eyesight method and mobile terminal, this method to include:Face characteristic image is gathered according to the first predeterminated frequency;According to each face characteristic image, the viewing location parameter between human eye and mobile terminal screen is determined;According to multiple viewing location parameters in the first analytical cycle got, the read state of user is determined;According to the read state of user, carry out protection eyesight and remind.The embodiment of the present invention can realize the operation of rationally prompting user protection eyesight due to determining whether user is in the unhealthy read state unfavorable to eyesight according to multiple viewing location parameters in an analytical cycle.
Description
Technical field
The present invention relates to field of mobile terminals, more particularly to one kind protection eyesight method and mobile terminal.
Background technology
With the popularization of mobile terminal technology, people are higher and higher using time increasingly length, the frequency of mobile terminal, very
More people can not also time-sharing environment, occasion use mobile terminal, such as in the public transport of traveling, subway, it can be seen that large quantities of bow is seen
The race of bowing of mobile terminal, the incorrect mode using mobile terminal of long-time can bring very major injury to the eyesight of people.
In the prior art, mobile terminal is in order to prompt people to protect eyesight, often using two methods:One kind is measurement people
The distance of eye and mobile terminal, as long as the distance of human eye and mobile terminal is less than certain threshold value, decides that user is in unhealthy
Read state, and then prompting is sent, remind people to protect eyesight;One kind is to judge whether mobile terminal is in vibrating state, only
Judge that mobile terminal is in vibrating state, decide that user is in unhealthy read state, and then send prompting, remind people
Protect eyesight.
Inventor has found that above two technical solution all has following lack during above two technical solution is studied
Point:Above two technical solution is all, as criterion, to judge whether user is according to the results of measuring of single and be not good for
Health read state, so prompt people protect eyesight, specifically, to any secondary human eye apart from mobile terminal excessively near, Huo Zheren
Mobile terminal is in vibrating state, can all send the prompting of protection eyesight;On the one hand, the results of measuring of single can not be accurate
Really whether reflection user is in unhealthy read state, and on the other hand, too frequently prompting protection eyesight can also exist to user
Interference is brought during normal use mobile terminal, people are likely in order to from bothering and the protection eyesight of turning-off mobile terminal
Function.
The content of the invention
The embodiment of the present invention provides a kind of protection eyesight method and mobile terminal, is existed with solving mobile terminal in the prior art
When reminding the user to protect eyesight, testing result not accurate enough the problem of causing to cause excessive interference to user.
Eyesight method is protected in order to solve the above technical problem, the present invention provides a kind of, the described method includes:
Face characteristic image is gathered according to the first predeterminated frequency;
According to each face characteristic image, the viewing location parameter between human eye and mobile terminal screen is determined;
According to multiple viewing location parameters in the first analytical cycle got, the read state of user is determined;
According to the read state of user, carry out protection eyesight and remind.
In a first aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, including:
Face characteristic image capture module, for gathering face characteristic image according to the first predeterminated frequency;
Viewing location parameter determination module, for according to each face characteristic image, determining human eye and mobile terminal
Viewing location parameter between screen;
Read state determining module, the multiple viewing location parameters in the first analytical cycle got for basis, really
Determine the read state of user;
Eyesight reminding module is protected, for the read state according to user, protection eyesight is carried out and reminds.
Second aspect, the embodiment of the present invention still further provides a kind of mobile terminal, including processor, memory and storage
On the memory and the computer program that can run on the processor, the computer program are held by the processor
The step of processing method of foregoing protection eyesight is realized during row.
The third aspect, the embodiment of the present invention still further provides a kind of computer-readable recording medium, and the computer can
Read to store computer program on storage medium, realized when the computer program is executed by processor as appointed in the claims
The step of processing method of protection eyesight described in one.
In the embodiment of the present invention, face characteristic image is gathered by being first according to the first predeterminated frequency;And according to everyone
Face characteristic image, determines the viewing location parameter between human eye and mobile terminal screen;Viewing location parameter can reflect human eye
In the state that viewing mobile terminal is;Then according to multiple viewing location parameters in the first analytical cycle got, determine
The read state of user carries out protection eyesight further according to the read state of user and reminds, and can realize that rationally prompting user protection regards
The operation of power.Specifically, since the present invention is to determine that user is according to multiple viewing location parameters in an analytical cycle
It is no to be in unhealthy read state, on the one hand, multiple viewing location parameters can accurately reflect user when watching mobile terminal
Read state, can realize and avoid judging by accident and perform eyesight prompting;On the other hand, after an analytical cycle, then analyze
Whether execution protection eyesight reminds operation, additionally it is possible to which realization avoids protection eyesight from reminding operation excessively frequent, will not make for user
Excessive interference is brought with mobile terminal.
Brief description of the drawings
Fig. 1 is a kind of step flow chart of protection eyesight method of the embodiment of the present invention one;
Fig. 2 is a kind of specific steps flow chart of protection eyesight method of the embodiment of the present invention two;
Fig. 3 is a kind of structure diagram of mobile terminal of apparatus of the present invention embodiment three;
Fig. 4 is a kind of concrete structure block diagram of mobile terminal of apparatus of the present invention embodiment three;
Fig. 5 is a kind of structure diagram of mobile terminal of the embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, belongs to the scope of protection of the invention.
【Embodiment of the method one】
Reference Fig. 1, shows a kind of step flow chart of protection eyesight method in the embodiment of the present invention.This method application
In mobile terminal, specific steps include:
Step 101:Face characteristic image is gathered according to the first predeterminated frequency.
In embodiments of the present invention, mobile terminal possesses camera function and face identification functions, include but not limited to mobile phone,
Tablet computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
First predeterminated frequency can be set by those skilled in the art according to actual conditions, such as, 1 time it is per second, 10
It is secondary it is per second, 100 times it is per second ..., the embodiment of the present invention does not limit the occurrence of the first predeterminated frequency.
In concrete application, mobile terminal can be located in front of mobile terminal screen on backstage according to the collection of the first predeterminated frequency
Face characteristic image.
Step 102:According to each face characteristic image, the viewing location between human eye and mobile terminal screen is determined
Parameter.
In embodiments of the present invention, for each face characteristic image collected, can be chased after by recognition of face, eyeball
The technologies such as track, infrared distance measurement, determine the viewing location ginseng between the human eye and mobile terminal screen in the face characteristic image
Number.
Viewing location parameter between human eye and mobile terminal screen can be determined according to practical application scene, example
Such as, the distance between human eye and mobile terminal screen are worth, and angle value between human eye and mobile terminal screen etc., the present invention is implemented
Example is not limited the particular content of viewing location parameter.
In concrete application, each face characteristic image, viewing location parameter can be deposited according to obtained time sequencing
Storage so that each face characteristic image, viewing location parameter can be obtained successively by reading storage region.
As a kind of alternative of the embodiment of the present invention, after step 102, can also include:If the face
The gatherer process of characteristic image reaches first analytical cycle, then obtains multiple viewing locations in first analytical cycle
Parameter.
In concrete application, mobile terminal can be while first face characteristic image be gathered, into the first analysis week
Phase, the first analytical cycle can be according to practical application scene set one section of duration or according to practical application scene
The metering of setting gathers a certain number of face characteristic images so that multiple viewing positions can be read in first analytical cycle
Put parameter.
Step 103:According to multiple viewing location parameters in the first analytical cycle got, the reading shape of user is determined
State.
In concrete application, read state can include healthy read state and unhealthy read state, can set health
All kinds of indexs of read state, for example, distance is more than 20 centimetres, angle is less than 100 degree, measures time of the distance more than 20 centimetres
Number is less than preset times, and the front and rear angle measured twice, which is searched, is less than preset angle angle value etc., beyond healthy read state
Read state is then classified as unhealthy read state.
According to the contrast situation of multiple viewing location parameters and all kinds of indexs of healthy read state, it may be determined that user's
Read state, for example, there is one or more viewing location parameters not meet corresponding index in healthy read state, then can determine that
User is in unhealthy read state, and on the contrary then judgement user is in healthy read state;Alternatively, there are one or more viewing positions
Put parameter and meet corresponding index in unhealthy read state, then can determine that user is in unhealthy read state, it is on the contrary then sentence
Determine user and be in healthy read state;The embodiment of the present invention is to determining that the specific method of the read state of user does not limit.
Step 104:According to the read state of user, carry out protection eyesight and remind.
In concrete application, if it is decided that user is in healthy read state, then need not carry out eyesight prompting;If it is determined that
When user is in unhealthy read state, protect eyesight prompting operate can be mobile terminal shaken, voice prompt, text
The one or more of word prompting, picture prompting etc. so that user, which is recognized that, lays oneself open to unhealthy read state, causes guarantor
Protect the attention of eyesight.
In the embodiment of the present invention, face characteristic image is gathered by being first according to the first predeterminated frequency;And according to everyone
Face characteristic image, determines the viewing location parameter between human eye and mobile terminal screen;Viewing location parameter can reflect human eye
In the state that viewing mobile terminal is;Then according to multiple viewing location parameters in the first analytical cycle got, determine
The read state of user carries out protection eyesight further according to the read state of user and reminds, and can realize that rationally prompting user protection regards
The operation of power.Specifically, since the present invention is to determine that user is according to multiple viewing location parameters in an analytical cycle
It is no to be in unhealthy read state, on the one hand, multiple viewing location parameters can accurately reflect user when watching mobile terminal
Read state, can realize and avoid judging by accident and perform eyesight prompting;On the other hand, after an analytical cycle, then analyze
Whether execution protection eyesight reminds operation, additionally it is possible to which realization avoids protection eyesight from reminding operation excessively frequent, will not make for user
Excessive interference is brought with mobile terminal.
【Embodiment of the method two】
Reference Fig. 2, shows a kind of specific steps flow chart of protection eyesight method in the embodiment of the present invention.Specific step
Suddenly include:
Step 201:Whether detection mobile terminal is in bright screen state.
In concrete application, if detecting, mobile terminal handles black state, illustrates that mobile terminal user does not operate shifting
Dynamic terminal, is not carried out necessity of the method for any protection eyesight;If detecting, mobile terminal is in bright screen state, illustrates movement
The step of terminal user may operate mobile terminal, can start protection eyesight.
Step 202:In the case where mobile terminal is in bright screen state, by the front camera of the mobile terminal, detection moves
Whether there is face characteristic image in front of dynamic terminal screen, if mobile terminal screen front there are face characteristic image, into
Enter the step of gathering face characteristic image according to the first predeterminated frequency.
In concrete application, mobile terminal user is when using mobile terminal, probably due to maloperation causes at mobile terminal
In bright screen state, but mobile terminal user does not operate mobile terminal really at this time, if opening sight protectio step, can cause
The waste of mobile terminal electricity, resource;Therefore, mobile terminal screen further can be detected by the front camera of mobile terminal
Curtain front whether there is face characteristic image.
When mobile terminal is in bright screen state, and face characteristic image be not present in front of mobile terminal screen, illustrate to move
Terminal user does not operate mobile terminal, is not carried out necessity of the method for any protection eyesight;If mobile terminal is in bright screen
State, and face characteristic image is not present in front of mobile terminal screen, illustrate that mobile terminal user may operate mobile terminal,
The step of can starting to protect eyesight.
In the embodiment of the present invention, by before the step of gathering face characteristic image according to the first predeterminated frequency, setting
Judge the step of whether mobile terminal user is in operation mobile terminal, specifically, detect that mobile terminal is in bright screen shape
State, and, there are face characteristic image in front of mobile terminal screen, then judge that user is in the state of operation mobile terminal, and then
Follow-up protection eyesight method and step is opened, is avoided that and protection eyesight method and step is opened because of the maloperation of mobile terminal user
Loss to mobile terminal resource and electricity.
Step 203:Face characteristic image is gathered according to the first predeterminated frequency.
As a kind of preferred solution of the embodiment of the present invention, after step 203, step can be included:According to each institute
Face characteristic image is stated, determines the viewing location parameter between human eye and mobile terminal screen.
In step according to each face characteristic image, the viewing location ginseng between human eye and mobile terminal screen is determined
After number, it can also include the following steps:
Sub-step A1:A viewing location parameter is often got, obtains the viewing location parameter and the viewing
Difference value between the previous viewing location parameter of location parameter.
In concrete application, as soon as face characteristic image can be analyzed, counted often to collect a face characteristic image
Calculate, obtain the viewing parameter between human eye and mobile terminal screen in the face characteristic image, and according to collecting face characteristic
The time sequencing of image, sequentially stores viewing location parameter.
By currently available viewing location parameter and the previous viewing parameter of the currently available viewing location parameter
Subtraction is carried out, obtains the difference value between two adjacent parameters.
Sub-step A2:When at least one difference value exceedes default discrepancy threshold, then first predeterminated frequency is adjusted
For the second predeterminated frequency;Wherein, second predeterminated frequency is more than first predeterminated frequency.
In concrete application, default discrepancy threshold can be set by those skilled in the art according to actual scene.For example,
The viewing location parameter is distance value, then default discrepancy threshold can be arranged to 5cm, if the difference of two neighboring distance value
Value is more than 5cm, illustrate that the distance between mobile terminal and human eye variation at this time is larger, can be expedited and gather face characteristic image
Frequency, the first predeterminated frequency is adjusted to the second larger predeterminated frequency, the distance value situation of change is analyzed so as to increase
Number, in order to more prompt user to protect eyesight in time or more accurately.
Sub-step A3:First analytical cycle is adjusted to the second analytical cycle;Wherein, first analytical cycle is big
In second analytical cycle.
In the embodiment of the present invention, after detecting that two neighboring viewing location parameter differences value is more than default discrepancy threshold,
While accelerating the frequency of collection face characteristic image, shorten analytical cycle, the first analytical cycle is adjusted to less second
Analytical cycle, so as to analyze and prompt user to protect eyesight within the shorter cycle.
As another preferable scheme of the embodiment of the present invention, sub-step A1-A2 may be replaced by following steps:
Sub-step B1:Judge whether the mobile terminal is in mobile status and/or rocks state.
In the embodiment of the present invention, judge whether the method in mobile status can be mobile terminal:Pass through mobile terminal
Whether the detection such as the gyroscope that carries, sensor mobile terminal can be detected in mobile status or by others
The peripheral unit of the mobile status of mobile terminal detects whether mobile terminal is in mobile status.
Judge whether the method in state of rocking can be mobile terminal:The gyroscope that is carried by mobile terminal, pass
Whether the detection such as sensor mobile terminal in state of rocking or by what others can detect mobile terminal rocks shape
The peripheral unit of state rocks state to detect mobile terminal and whether be in.
In concrete application, it can be determined that mobile terminal is in mobile status or rocks one kind of state, or colleague judges
The mobile status of mobile terminal and rock state.
Sub-step B2:If the mobile terminal is in mobile status and/or rocks state, by the described first default frequency
Rate is adjusted to the second predeterminated frequency;Wherein, second predeterminated frequency is more than first predeterminated frequency.
In concrete application, if mobile terminal is in mobile status and/or rocks state, illustrate that user is likely to be at and be not good for
The eyes of user persistently can be caused to damage by the read state of health for a long time, therefore, can be increased the first predeterminated frequency, then be held
The operation of the above-mentioned sub-step A3 of row, reminds user to protect eyesight in time.
In order to include distance in following steps with viewing location parameter with clearly the explanation present invention, the embodiment of the present invention
Exemplified by value and angle value, describe each step in detail realizes process.
Step 204:The each pair face characteristic image gathered according to described two front cameras, obtains human eye described every
To the parallax value in face characteristic image;Wherein described mobile terminal includes two front cameras.
In the embodiment of the present invention, mobile terminal includes two front cameras, by the face identification functions of mobile terminal,
Detect pupil of both eyes position, two front cameras focusing position of human eye match target, by structure after successful match
Into triangle, the distance value of human eye and mobile terminal screen can be then calculated according to trigonometric function.
Specifically, when gathering face characteristic image, can be corresponded to each camera respectively two are once gathered
Face characteristic image, using the eyes of mobile terminal user as tested point, then eyes are imaged on two width face characteristic images horizontal stroke
To coordinate xlWith xr, there are parallax value xl-xr。
Step 205:According to the parallax value, and the distance between described two front cameras parameter, focal length parameter,
Calculate the distance value of human eye and mobile terminal screen.
On the basis of step 204, it is assumed that the physical distance of two cameras on mobile terminals is T, focal length f, then
It can draw the distance value Z of human eye and mobile terminal screen, specific formula is as follows:
It is appreciated that the more method for measuring distance between human eye and mobile terminal existing at present, in practical applications,
The scheme that those skilled in the art can be more highly preferred to according to actual selection, the embodiment of the present invention is to obtaining human eye and mobile terminal
The specific method of screen distance value does not limit.
Step 206:According to each face characteristic image, human eye sight direction is obtained.
In the embodiment of the present invention, mobile terminal has the function of eye tracking, can judge human eye according to eye tracking technology
Watch the direction of visual lines of mobile terminal attentively.
In concrete application, when human eye realizes direction difference, eyeball and eyeball periphery have trickle change, these changes
The feature that can be extracted is produced, mobile phone can extract these features by the methods of picture catching or scanning, so that real-time tracing people
An eye line direction.
Step 207:According to the human eye sight direction, the angle value between human eye and mobile terminal screen is determined.
In concrete application, after determining human eye sight direction, it is possible to calculate under current state, human eye and mobile terminal
Angle value between screen.
It is appreciated that the more method for measuring angle value between human eye and mobile terminal existing at present, in practical application
In, scheme that those skilled in the art can be more highly preferred to according to actual selection, the embodiment of the present invention is to obtaining human eye and movement
The specific method of terminal screen angle value does not limit.
In the embodiment of the present invention, by measuring the distance between human eye and mobile terminal screen value and/angle value come to sentence
Whether disconnected user is in healthy read state offer foundation, due to the distance between human eye and mobile terminal screen value and/angle
Value is that the important factor of vision impairment may be brought when people operate mobile terminal, therefore can be that sight protectio operates
Accurate foundation is provided.
It is appreciated that the combination of the combination of step 204 and step 205, step 206 and step 207, priority between the two
Order can be set according to practical application scene, the embodiment of the present invention to this without limitation.
Step 208:If the gatherer process of the face characteristic image reaches first analytical cycle, obtain described in
Multiple viewing location parameters in first analytical cycle.
The first analytical cycle can be in concrete application:Since the finish time of upper first analytical cycle, to adopting
The quantity of the face characteristic image of collection terminates at the time of reaching default quantity;And/or the end from upper first analytical cycle
At the moment, terminate at the time of reaching preset duration to the total duration for gathering face characteristic image.
Mobile terminal can be when collecting first face characteristic image, can also basis into the first analytical cycle
Practical application scene sets the opportunity into the first analytical cycle.
First analytical cycle can be from the initial time of first analytical cycle of most initial, or from upper one first point
The finish time of subcycle, counts the face characteristic image collected, when the face characteristic image collected
When number reaches default quantity, it is believed that complete first analytical cycle.
First analytical cycle can also be the initial time from first analytical cycle of most initial, or from upper one first
The finish time in molecule cycle, carries out Clocked operation, when the total duration for gathering face characteristic image reaches preset duration,
Think to complete first analytical cycle.
First analytical cycle, which can also be, is carried out at the same time above-mentioned counting and Clocked operation, when the face characteristic figure collected
The number of picture reaches default quantity, and, when the total duration of collection face characteristic image reaches preset duration, it is believed that complete one the
One analytical cycle.
The embodiment of the present invention is not particularly limited the first analytical cycle, at the end of the first analytical cycle, obtains first
Multiple viewing location parameters in analytical cycle.As the data foundation for judging whether to sight protectio prompting.
Step 209:Obtain the distance between two adjacent distance values difference.
In concrete application, distance value can be stored according to the time sequencing of acquisition in default memory block, obtain
The distance between two neighboring distance value difference can be specifically since second distance value sequentially obtained, often to obtain one
A distance value, is just worth an adjacent upper distance value by current distance value and the current distance and carries out subtraction, obtain jingle bell
The distance between two distance values difference.
Step 210:According to the distance difference, the distance change number in first analytical cycle is determined, and/or
According to the distance difference, determine the distance difference more than first threshold in first analytical cycle in all range differences
The first accounting in value.
According to distance difference, determining the method for the distance change number in the first analytical cycle can be:Metering is not 0
Or the distance difference number no more than preset value, the number are exactly distance change number.
According to distance difference, the side of first accounting of the distance difference for determining to be more than first threshold in all distance differences
Method can be:By distance difference respectively compared with first threshold, with the number of the distance difference more than first threshold, divided by
The number of whole distance differences, is just greater than first accounting of the distance difference of first threshold in all distance differences.
Step 211:Obtain the angle difference between two adjacent angle values.
In concrete application, angle value can be stored according to the time sequencing of acquisition in default memory block, obtain
Angle difference between two neighboring angle value can be specifically since second angle value sequentially obtained, often to obtain one
A angle value, just carries out subtraction by a current angle value upper angle value adjacent with the current angle value, obtains jingle bell
Two angle values between angle difference.
Step 212:According to the angle difference, the angle change number in first analytical cycle is determined, and/or
According to the angle difference, determine the angle difference more than second threshold in first analytical cycle in all differential seat angles
The second accounting in value.
According to angle difference, determining the method for the angle change number in the first analytical cycle can be:Metering is not 0
Or the angle difference number no more than preset value, the number are exactly angle change number.
According to angle difference, the side of first accounting of the angle difference for determining to be more than first threshold in all angle differences
Method can be:By angle difference respectively compared with first threshold, with the number of the angle difference more than first threshold, divided by
The number of whole angle differences, is just greater than first accounting of the angle difference of first threshold in all angle differences.
Step 213:According to the distance change number, and/or angle change number, and/or the first accounting, and/or
Two accountings, determine the read state of user.
In concrete application, healthy read state can be arranged to account for distance change number, angle change number, first
It is less than preset value, angle change number than one or more of, the second accounting associated interval value, such as distance change number
It is less than the interval value of the one or more associations of preset value less than preset value, the second accounting less than preset value, the first accounting;When upper
State one or more of distance change number, angle change number, the first accounting, second accounting and be in healthy read state
Section, it is determined that the read state of user is healthy read state, conversely, being then unhealthy read state.
In the embodiment of the present invention, those skilled in the art can also according to actual conditions, with the method for the similar above method,
The interval value of unhealthy read state is set, and then judges the read state of user, the embodiment of the present invention is not restricted this.
In the embodiment of the present invention, according to distance change number, and/or angle change number, and/or the first accounting, and/or
Second accounting, determines the read state of user, can accurately determine very much that user is in healthy read state or unhealthy
Read state.
Step 214:If user is in unhealthy read state, reminded into every trade protection eyesight.
As preferably scheme of the embodiment of the present invention, the protection eyesight that performs reminds operation to include:
The prompting picture of deteriorated vision is shown on the mobile terminal screen;
And/or perform vibrations operation;
And/or perform voice reminder operation.
It in concrete application, can be arbitrarily combined by being operated to above-mentioned prompting, or individually implemented, used with reaching to remind
The purpose of eyesight is protected at family, and the embodiment of the present invention is not restricted this.
As another kind preferred solution of the embodiment of the present invention, if before detecting the mobile terminal screen in preset time
Face characteristic is not present in side, then empties the viewing location parameter.
Face characteristic is not present in front of the screen of mobile terminal if detected in preset time, illustrates user in the section
Without operation mobile terminal in time, the viewing location parameter of storage cannot be follow-up possible protection eyesight scheme before at this time
Any foundation is provided, empties viewing location parameter, it is possible to reduce to the occupancy of storage resource.
In the embodiment of the present invention, face characteristic image is gathered by being first according to the first predeterminated frequency;And according to everyone
Face characteristic image, determines the viewing location parameter between human eye and mobile terminal screen;Viewing location parameter can reflect human eye
In the state that viewing mobile terminal is;Then judge whether the gatherer process of face characteristic image reaches the first analytical cycle, such as
Fruit reaches the first analytical cycle, then obtains multiple viewing location parameters in the first analytical cycle;Further according to multiple viewing locations
Parameter, determines the read state of user;Read state includes healthy read state and unhealthy read state;If user is in
Unhealthy read state, then perform protection eyesight and remind operation, can realize that reasonable prompting user protects the operation of eyesight.Specifically
For, since the present invention is to determine whether user is in unhealthy and reads according to multiple viewing location parameters in an analytical cycle
Read states, on the one hand, multiple viewing location parameters can accurately reflect read state of the user when watching mobile terminal, Neng Goushi
Now avoid judging by accident and perform eyesight prompting;On the other hand, after an analytical cycle, then analyse whether to perform protection eyesight
Remind operation, additionally it is possible to which realization avoids protection eyesight from reminding operation excessively frequent, will not be that user was brought using mobile terminal
More interference.
It should be noted that for foregoing embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention and from the limitation of described sequence of movement, because according to
According to the present invention, some steps can use other orders or be carried out at the same time.Secondly, those skilled in the art should also know,
Embodiment described in this description belongs to preferred embodiment, and involved action is not necessarily essential to the invention.
【Device embodiment three】
Reference Fig. 3, shows a kind of structure diagram of mobile terminal 300 in the embodiment of the present invention.Including:
Face characteristic image capture module 310, for gathering face characteristic image according to the first predeterminated frequency.
Viewing location parameter determination module 320, for according to each face characteristic image, determining human eye with movement eventually
Hold the viewing location parameter between screen.
Read state determining module 330, for according to the multiple viewing location parameter, determining the read state of user;
The read state includes healthy read state and unhealthy read state.
Eyesight reminding module 340 is protected, if being in unhealthy read state for user, protection eyesight is performed and reminds
Operation.
Preferably, with reference to Fig. 4, on the basis of Fig. 3, which can also include:
Bright screen detection module 301, for detecting whether mobile terminal is in bright screen state.
Character features image detection module 302, if being in bright screen state for mobile terminal, by described mobile whole
The front camera at end, detection mobile terminal screen front whether there is face characteristic image;If in front of mobile terminal screen
There are face characteristic image, then performs the operation of face characteristic image acquisition module 320.
The viewing location parameter determination module 320 includes:
Parallax value determination sub-module 3201, for each pair face characteristic figure gathered according to described two front cameras
Picture, obtains parallax value of the human eye in each pair face characteristic image.
Distance value calculating sub module 3202, for according between the parallax value, and described two front cameras
Distance parameter, focal length parameter, calculate the distance value of human eye and mobile terminal screen.
Direction of visual lines determination sub-module 3203, for according to each face characteristic image, obtaining human eye sight direction;
Angle value determination sub-module 3204, for according to the human eye sight direction, determining human eye and mobile terminal screen
Between angle value.
The viewing location parameter acquisition module 350 includes:
First analytical cycle determination sub-module 3501, for since the finish time of upper first analytical cycle, adopting
The number of the face characteristic image of collection reaches default quantity;And/or since the finish time of upper first analytical cycle,
The total duration of collection face characteristic image reaches preset duration.
The read state determining module 330 includes:
Distance difference acquisition submodule 3301, for obtaining the distance between two adjacent distance values difference.
Distance change number determination sub-module 3302, for according to the distance difference, determining in the described first analysis week
Distance change number in phase;And/or
First accounting determination sub-module 3303, for the distance for determining to be more than first threshold in first analytical cycle
First accounting of the difference in all distance differences;
Angle difference determination sub-module 3304, for obtaining the angle difference between two adjacent angle values.
Angle change number determination sub-module 3305, for according to the angle difference, determining in the described first analysis week
Angle change number in phase;And/or
Second accounting determination sub-module 3306, for according to the angle difference, determining in first analytical cycle
More than second accounting of the angle difference in all angle differences of second threshold;
Read state determination sub-module 3307, for according to the distance change number, and/or angle change number and/
Or first accounting, and/or the second accounting, determine the read state of user.
Preferably, the mobile terminal 300 includes:
Difference value acquisition module, for often getting a viewing location parameter, obtains the viewing location parameter
Difference value between the previous viewing location parameter of the viewing location parameter.
First frequency adjusts module, for when at least one difference value exceedes default discrepancy threshold, then by described first
Predeterminated frequency is adjusted to the second predeterminated frequency;Wherein, second predeterminated frequency is more than first predeterminated frequency.
Analytical cycle adjusts module, for first analytical cycle to be adjusted to the second analytical cycle;Wherein, described
One analytical cycle is more than second analytical cycle.
Mobile terminal state judgment module, for judging whether the mobile terminal in mobile status and/or rocks shape
State.
Second frequency adjusts module, if being in mobile status for the mobile terminal and/or rocking state, by institute
State the first predeterminated frequency and be adjusted to the second predeterminated frequency;Wherein, second predeterminated frequency is more than first predeterminated frequency.
Viewing location parameter empties module, if not deposited in front of the mobile terminal screen for being detected in preset time
In face characteristic, then the viewing location parameter is emptied.
Preferably, the protection eyesight reminding module 350 includes:
Eyesight is protected to remind submodule, for showing the prompting picture of deteriorated vision on the mobile terminal screen;With/
Or, perform vibrations operation;And/or perform voice reminder operation.
In the embodiment of the present invention, face characteristic image is gathered by being first according to the first predeterminated frequency;And according to everyone
Face characteristic image, determines the viewing location parameter between human eye and mobile terminal screen;Viewing location parameter can reflect human eye
In the state that viewing mobile terminal is;Then according to multiple viewing location parameters in the first analytical cycle got, determine
The read state of user carries out protection eyesight further according to the read state of user and reminds, and can realize that rationally prompting user protection regards
The operation of power.Specifically, since the present invention is to determine that user is according to multiple viewing location parameters in an analytical cycle
It is no to be in unhealthy read state, on the one hand, multiple viewing location parameters can accurately reflect user when watching mobile terminal
Read state, can realize and avoid judging by accident and perform eyesight prompting;On the other hand, after an analytical cycle, then analyze
Whether execution protection eyesight reminds operation, additionally it is possible to which realization avoids protection eyesight from reminding operation excessively frequent, will not make for user
Excessive interference is brought with mobile terminal.
Above-mentioned mobile terminal can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2, to keep away
Exempt to repeat, which is not described herein again.
Fig. 5 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention.
The mobile terminal 500 includes but not limited to:It is radio frequency unit 501, mixed-media network modules mixed-media 502, audio output unit 503, defeated
Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor
The component such as 510 and power supply 511.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 5 is not formed
Restriction to mobile terminal, mobile terminal can be included than illustrating more or fewer components, either combine some components or
Different component arrangements.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 510, for gathering face characteristic image according to the first predeterminated frequency;According to each face
Characteristic image, determines the viewing location parameter between human eye and mobile terminal screen;According in the first analytical cycle got
Multiple viewing location parameters, determine the read state of user;According to the read state of user, carry out protection eyesight and remind..
In the embodiment of the present invention, face characteristic image is gathered by being first according to the first predeterminated frequency;And according to everyone
Face characteristic image, determines the viewing location parameter between human eye and mobile terminal screen;Viewing location parameter can reflect human eye
In the state that viewing mobile terminal is;Then according to multiple viewing location parameters in the first analytical cycle got, determine
The read state of user carries out protection eyesight further according to the read state of user and reminds, and can realize that rationally prompting user protection regards
The operation of power.Specifically, since the present invention is to determine that user is according to multiple viewing location parameters in an analytical cycle
It is no to be in unhealthy read state, on the one hand, multiple viewing location parameters can accurately reflect user when watching mobile terminal
Read state, can realize and avoid judging by accident and perform eyesight prompting;On the other hand, after an analytical cycle, then analyze
Whether execution protection eyesight reminds operation, additionally it is possible to which realization avoids protection eyesight from reminding operation excessively frequent, will not make for user
Excessive interference is brought with mobile terminal.
It should be understood that in the embodiment of the present invention, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal
Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 510;In addition, by uplink
Data sending is to base station.In general, radio frequency unit 501 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal has provided wireless broadband internet to the user by mixed-media network modules mixed-media 502 and has accessed, and such as helps user to receive
Send e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be receiving by radio frequency unit 501 or mixed-media network modules mixed-media 502 or in memory 509
It is sound that the voice data of storage, which is converted into audio signal and exports,.Moreover, audio output unit 503 can also be provided and moved
The relevant audio output of specific function that dynamic terminal 500 performs is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is used to receive audio or video signal.Input unit 504 can include graphics processor
(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) carry out
Reason.Picture frame after processing may be displayed on display unit 506.Picture frame after the processing of graphics processor 5041 can be deposited
Storage is transmitted in memory 509 (or other storage mediums) or via radio frequency unit 501 or mixed-media network modules mixed-media 502.Mike
Wind 5042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be
The form output of mobile communication base station can be sent to via radio frequency unit 501 by being converted in the case of telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, 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 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear
Display panel 5061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass
Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared ray sensor etc. are spent, details are not described herein.
Display unit 506 is used for the information for showing by information input by user or being supplied to user.Display unit 506 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 5061.
User input unit 507 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is related.Specifically, user input unit 507 include contact panel 5071 and
Other input equipments 5072.Contact panel 5071, also referred to as touch-screen, collect user on it or neighbouring touch operation
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 5071 or in contact panel 5071
Neighbouring operation).Contact panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and 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 510, receiving area
Manage the order that device 510 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes contact panel 5071.Except contact panel 5071, user input unit 507 can also include other input equipments
5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operation lever, details are not described herein.
Further, contact panel 5071 can be covered on display panel 5061, when contact panel 5071 is detected at it
On or near touch operation after, send to processor 510 with determine touch event type, be followed by subsequent processing device 510 according to touch
The type for touching event provides corresponding visual output on display panel 5061.Although in Figure 5, contact panel 5071 and display
Panel 5061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments
In, can be integrated by contact panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place does not limit.
Interface unit 508 is the interface that external device (ED) is connected with mobile terminal 500.For example, external device (ED) can include
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 508 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and
One or more elements that the input received is transferred in mobile terminal 500 can be used in 500 He of mobile terminal
Data are transmitted between external device (ED).
Memory 509 can be used for storage software program and various data.Memory 509 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 509 can include high-speed random access memory, 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 510 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
A part, by running or performing the software program and/or module that are stored in memory 509, and calls and is stored in storage
Data in device 509, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place
Reason device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) to all parts power supply, it is preferred that power supply 511
Can be logically contiguous by power-supply management system and processor 510, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509, is stored in
On memory 509 and the computer program that can be run on the processor 510, the computer program are performed by processor 510
Each process of the above-mentioned protection eyesight embodiments of the method for Shi Shixian, and identical technique effect can be reached, to avoid repeating, here
Repeat no more.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium
Calculation machine program, the computer program realize each process of above-mentioned protection eyesight embodiment of the method, and energy when being executed by processor
Reach identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer-readable recording medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And other elements that are not explicitly listed are further included, or further include as this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical element in the process of key element, method, 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 add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, services
Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, those of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make very much
Form, belongs within the protection of the present invention.
Claims (18)
1. one kind protection eyesight method, applied to mobile terminal, it is characterised in that including:
Face characteristic image is gathered according to the first predeterminated frequency;
According to each face characteristic image, the viewing location parameter between human eye and mobile terminal screen is determined;
According to multiple viewing location parameters in the first analytical cycle got, the read state of user is determined;
According to the read state of user, carry out protection eyesight and remind.
2. according to the method described in claim 1, it is characterized in that, first analytical cycle includes:
Since the finish time of upper first analytical cycle, the number to the face characteristic image of collection reaches default quantity
At the time of terminate;
And/or since the finish time of upper first analytical cycle, the total duration to collection face characteristic image reaches pre-
If terminate at the time of duration.
3. according to the method described in claim 1, it is characterized in that, each face characteristic image of the basis, determines people
Eye mobile terminal screen between viewing location parameter the step of after, further include:
A viewing location parameter is often got, obtains the previous of the viewing location parameter and the viewing location parameter
Difference value between a viewing location parameter;
When at least one difference value exceedes default discrepancy threshold, then first predeterminated frequency is adjusted to the second default frequency
Rate;Wherein, second predeterminated frequency is more than first predeterminated frequency.
4. according to the method described in claim 3, it is characterized in that, described be adjusted to second by first predeterminated frequency and preset
After the step of frequency, further include:
First analytical cycle is adjusted to the second analytical cycle;Wherein, first analytical cycle is more than described second point
Analyse the cycle.
5. according to the method described in claim 1, it is characterized in that, each face characteristic image of the basis, determines people
Eye mobile terminal screen between viewing location parameter the step of after, further include:
Judge whether the mobile terminal is in mobile status and/or rocks state;
If the mobile terminal is in mobile status and/or rocks state, first predeterminated frequency is adjusted to second
Predeterminated frequency;Wherein, second predeterminated frequency is more than first predeterminated frequency.
6. according to the method described in claim 1, it is characterized in that, described gather face characteristic image according to the first predeterminated frequency
The step of before, further include:
In the case where mobile terminal is in bright screen state, by the front camera of the mobile terminal, before detecting mobile terminal screen
Side whether there is face characteristic image;
If enter there are face characteristic image in front of mobile terminal screen and gather face characteristic figure according to the first predeterminated frequency
The step of picture.
It is 7. described according to the method described in claim 1, it is characterized in that, the mobile terminal includes two front cameras
Viewing location parameter includes distance value;
The each face characteristic image of the basis, determines the step of the viewing location parameter between human eye and mobile terminal screen
Suddenly include:
The each pair face characteristic image gathered according to described two front cameras, obtains human eye in each pair face characteristic figure
Parallax value as in;
According to the parallax value, and the distance between described two front cameras parameter, focal length parameter, human eye is calculated with moving
The distance value of dynamic terminal screen.
8. the method according to the description of claim 7 is characterized in that the viewing location parameter further includes angle value;
The each face characteristic image of the basis, determines the step of the viewing location parameter between human eye and mobile terminal screen
Suddenly further include:
According to each face characteristic image, human eye sight direction is obtained;
According to the human eye sight direction, the angle value between human eye and mobile terminal screen is determined.
It is 9. according to the method described in claim 8, it is characterized in that, multiple in the first analytical cycle that the basis is got
The step of viewing location parameter, the read state for determining user, includes:
Obtain the distance between two adjacent distance values difference;
According to the distance difference, the distance change number in first analytical cycle is determined;
And/or
According to the distance difference, determine to be more than in first analytical cycle distance difference of first threshold in all distances
The first accounting in difference;
Obtain the angle difference between two adjacent angle values;
According to the angle difference, the angle change number in first analytical cycle is determined;
And/or
According to the angle difference, determine that the angle difference for being more than second threshold in first analytical cycle is angled in institute
The second accounting in difference;
According to the distance change number, and/or angle change number, and/or the first accounting, and/or the second accounting, determine to use
The read state at family.
A kind of 10. mobile terminal, it is characterised in that including:
Face characteristic image capture module, for gathering face characteristic image according to the first predeterminated frequency;
Viewing location parameter determination module, for according to each face characteristic image, determining human eye and mobile terminal screen
Between viewing location parameter;
Read state determining module, for according to multiple viewing location parameters in the first analytical cycle got, determining to use
The read state at family;Eyesight reminding module is protected, for the read state according to user, protection eyesight is carried out and reminds.
11. mobile terminal according to claim 10, it is characterised in that first analytical cycle includes:
Since the finish time of upper first analytical cycle, the number to the face characteristic image of collection reaches default quantity
At the time of terminate;
And/or since the finish time of upper first analytical cycle, the total duration to collection face characteristic image reaches pre-
If terminate at the time of duration.
12. mobile terminal according to claim 10, it is characterised in that further include:
Difference value acquisition module, for often getting a viewing location parameter, obtains the viewing location parameter and institute
State the difference value between the previous viewing location parameter of viewing location parameter;
First frequency adjusts module, for when at least one difference value exceedes default discrepancy threshold, then being preset described first
Frequency is adjusted to the second predeterminated frequency;Wherein, second predeterminated frequency is more than first predeterminated frequency.
13. mobile terminal according to claim 12, it is characterised in that further include:
Analytical cycle adjusts module, for first analytical cycle to be adjusted to the second analytical cycle;Wherein, described first point
The analysis cycle is more than second analytical cycle.
14. mobile terminal according to claim 10, it is characterised in that further include:
Mobile terminal state judgment module, for judging whether the mobile terminal in mobile status and/or rocks state;
Second frequency adjusts module, if being in mobile status for the mobile terminal and/or rocking state, by described the
One predeterminated frequency is adjusted to the second predeterminated frequency;Wherein, second predeterminated frequency is more than first predeterminated frequency.
15. mobile terminal according to claim 10, it is characterised in that further include:
Character features image detection module, under being in bright screen state in mobile terminal, passes through the preposition of the mobile terminal
Camera, detection mobile terminal screen front whether there is face characteristic image;If in front of mobile terminal screen, there are face
Characteristic image, then perform the operation of face characteristic image acquisition module.
16. mobile terminal according to claim 10, it is characterised in that the mobile terminal includes two preposition shootings
Head, the viewing location parameter include distance value, and the viewing location parameter determination module includes:
Parallax value determination sub-module, for each pair face characteristic image gathered according to described two front cameras, obtains people
Parallax value of the eye in each pair face characteristic image;
Distance value calculating sub module, for according to the parallax value, and the distance between described two front cameras parameter,
Focal length parameter, calculates the distance value of human eye and mobile terminal screen.
17. mobile terminal according to claim 16, it is characterised in that the viewing location parameter further includes angle value,
The viewing location parameter determination module further includes:
Direction of visual lines determination sub-module, for according to each face characteristic image, obtaining human eye sight direction;
Angle value determination sub-module, for according to the human eye sight direction, determining the angle between human eye and mobile terminal screen
Angle value.
18. mobile terminal according to claim 17, it is characterised in that the read state determining module includes:
Distance difference acquisition submodule, for obtaining the distance between two adjacent distance values difference;
Distance change number determination sub-module, for according to the distance difference, determine in first analytical cycle away from
From change frequency;
And/or
First accounting determination sub-module, for determining to be more than in first analytical cycle distance difference of first threshold in institute
There is the first accounting in distance difference;
Angle difference determination sub-module, for obtaining the angle difference between two adjacent angle values;
Angle change number determination sub-module, for according to the angle difference, determining the angle in first analytical cycle
Spend change frequency;
And/or
Second accounting determination sub-module, for according to the angle difference, determining to be more than second in first analytical cycle
Second accounting of the angle difference of threshold value in all angle differences;
Read state determination sub-module, for being accounted for according to the distance change number, and/or angle change number, and/or first
Than, and/or the second accounting, determine the read state of user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711209210.1A CN108012026B (en) | 2017-11-27 | 2017-11-27 | Eyesight protection method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711209210.1A CN108012026B (en) | 2017-11-27 | 2017-11-27 | Eyesight protection method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108012026A true CN108012026A (en) | 2018-05-08 |
CN108012026B CN108012026B (en) | 2020-06-05 |
Family
ID=62054094
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711209210.1A Active CN108012026B (en) | 2017-11-27 | 2017-11-27 | Eyesight protection method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108012026B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110046552A (en) * | 2019-03-21 | 2019-07-23 | 南京华捷艾米软件科技有限公司 | Protect the method for user's eyesight and the device of protection user's eyesight |
CN110236551A (en) * | 2019-05-21 | 2019-09-17 | 西藏纳旺网络技术有限公司 | Acquisition methods, device, electronic equipment and the medium of user's cervical vertebra tilt angle |
CN114264257A (en) * | 2021-12-21 | 2022-04-01 | 山东省产品质量检验研究院 | Surface area measuring method and system for rotary container |
CN114371825A (en) * | 2022-01-08 | 2022-04-19 | 广州威创信息技术有限公司 | Remote education service system based on Internet |
CN114694360A (en) * | 2020-12-25 | 2022-07-01 | 深圳Tcl新技术有限公司 | Eye using prompting method and device for intelligent terminal, intelligent terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103000004A (en) * | 2011-09-13 | 2013-03-27 | 三星电子(中国)研发中心 | Monitoring method for visibility range from eyes to screen |
CN104168384A (en) * | 2014-08-22 | 2014-11-26 | 广东欧珀移动通信有限公司 | Mobile terminal and health warning control method thereof |
CN105049598A (en) * | 2015-06-01 | 2015-11-11 | 广东小天才科技有限公司 | Method for detecting visual distance of user and mobile terminal |
CN105825494A (en) * | 2015-08-31 | 2016-08-03 | 维沃移动通信有限公司 | Image processing method and mobile terminal |
CN107340849A (en) * | 2016-04-29 | 2017-11-10 | 和鑫光电股份有限公司 | Mobile device and its eyeshield control method |
-
2017
- 2017-11-27 CN CN201711209210.1A patent/CN108012026B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103000004A (en) * | 2011-09-13 | 2013-03-27 | 三星电子(中国)研发中心 | Monitoring method for visibility range from eyes to screen |
CN104168384A (en) * | 2014-08-22 | 2014-11-26 | 广东欧珀移动通信有限公司 | Mobile terminal and health warning control method thereof |
CN105049598A (en) * | 2015-06-01 | 2015-11-11 | 广东小天才科技有限公司 | Method for detecting visual distance of user and mobile terminal |
CN105825494A (en) * | 2015-08-31 | 2016-08-03 | 维沃移动通信有限公司 | Image processing method and mobile terminal |
CN107340849A (en) * | 2016-04-29 | 2017-11-10 | 和鑫光电股份有限公司 | Mobile device and its eyeshield control method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110046552A (en) * | 2019-03-21 | 2019-07-23 | 南京华捷艾米软件科技有限公司 | Protect the method for user's eyesight and the device of protection user's eyesight |
CN110236551A (en) * | 2019-05-21 | 2019-09-17 | 西藏纳旺网络技术有限公司 | Acquisition methods, device, electronic equipment and the medium of user's cervical vertebra tilt angle |
CN114694360A (en) * | 2020-12-25 | 2022-07-01 | 深圳Tcl新技术有限公司 | Eye using prompting method and device for intelligent terminal, intelligent terminal and storage medium |
CN114264257A (en) * | 2021-12-21 | 2022-04-01 | 山东省产品质量检验研究院 | Surface area measuring method and system for rotary container |
CN114371825A (en) * | 2022-01-08 | 2022-04-19 | 广州威创信息技术有限公司 | Remote education service system based on Internet |
Also Published As
Publication number | Publication date |
---|---|
CN108012026B (en) | 2020-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108012026A (en) | One kind protection eyesight method and mobile terminal | |
CN108632658B (en) | Bullet screen display method and terminal | |
CN108182896B (en) | A kind of brightness detection method, device and mobile terminal | |
CN107613131A (en) | A kind of application program disturbance-free method and mobile terminal | |
CN109381165A (en) | A kind of skin detecting method and mobile terminal | |
CN107948498B (en) | A kind of elimination camera Morie fringe method and mobile terminal | |
CN108491123A (en) | A kind of adjusting application program image target method and mobile terminal | |
CN107832110A (en) | A kind of information processing method and mobile terminal | |
CN107908705A (en) | A kind of information-pushing method, information push-delivery apparatus and mobile terminal | |
CN107679514A (en) | A kind of face identification method and electronic equipment | |
CN109815819A (en) | A kind of cheat detection method, device, terminal device and storage medium | |
CN108289151A (en) | A kind of operating method and mobile terminal of application program | |
CN108322608A (en) | A kind of screen light on and off control method, mobile terminal | |
CN110300267A (en) | Photographic method and terminal device | |
CN108683850A (en) | A kind of shooting reminding method and mobile terminal | |
CN108962187A (en) | Screen luminance adjustment method and mobile terminal | |
CN107566659A (en) | User security based reminding method and mobile terminal | |
CN109151176A (en) | A kind of information acquisition method and terminal | |
CN109871253A (en) | A kind of display methods and terminal | |
CN108123999A (en) | A kind of information push method and mobile terminal | |
CN109976688A (en) | A kind of screen display method and device | |
CN108174081B (en) | A kind of image pickup method and mobile terminal | |
CN108664288A (en) | A kind of image interception method and mobile terminal | |
CN107948503A (en) | A kind of photographic method, camera arrangement and mobile terminal | |
CN107835495A (en) | A kind of message prompt method, device 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 |