CN106488031B - A kind of use based reminding method and the terminal of terminal - Google Patents
A kind of use based reminding method and the terminal of terminal Download PDFInfo
- Publication number
- CN106488031B CN106488031B CN201610950268.0A CN201610950268A CN106488031B CN 106488031 B CN106488031 B CN 106488031B CN 201610950268 A CN201610950268 A CN 201610950268A CN 106488031 B CN106488031 B CN 106488031B
- Authority
- CN
- China
- Prior art keywords
- terminal
- distance
- user
- value
- camera
- 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.)
- Active
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
-
- 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
Abstract
Based reminding method and terminal are used the embodiment of the invention discloses a kind of terminal, a kind of healthier usage experience of user can be brought.The method comprise the steps that terminal judges whether user is used terminal, if, the terminal detects the first distance of the user Yu the terminal by dual camera, the dual camera includes the first camera and second camera, the first distance includes at least two distance value, if less than the first preset value, the terminal triggers prompting function for the variation of distance value in the first distance in the first preset time.
Description
Technical field
The present invention relates to the communications field more particularly to use based reminding method and the terminals of a kind of terminal.
Background technique
With the development of all kinds of applications of mobile device, mobile terminal has entered the every aspect of people's life, people
Terminal device can be used watch movie, listen to music, play game, read etc..
While terminal device brings enjoyment to people's life, race of bowing also has been achieved, either on subway, public transport
On, or other places, it can see and much immerse oneself in the people being immersed in the mobile phone world.
Terminal device is used for a long time, maintains a posture motionless, thus leads to cervical spondylosis, the problem of eye fatigue increasingly
It is more, it is very unfavorable to people's health.
Summary of the invention
Based reminding method and terminal are used the embodiment of the invention provides a kind of terminal, it is healthier that user's one kind can be brought
Usage experience.
In view of this, using based reminding method the embodiment of the invention provides a kind of terminal, comprising:
Terminal judges whether user is used the terminal;
If so, the terminal detects the first distance of the user Yu the terminal, double camera shootings by dual camera
Head includes first camera and the second camera, and the first distance includes at least two distance value;
If less than the first preset value, the terminal is touched for the variation of distance value in the first distance in the first preset time
Send out prompting function.
In some possible implementations, the terminal detects the of the user and the terminal by dual camera
One distance includes:
The terminal determines the user characteristics by image recognition;
The terminal is obtained by first camera using the user characteristics as the first image of focus;
The terminal is obtained by the second camera using the user characteristics as the second image of focus;
The terminal establishes trigonometric function according to the first image and second image;
The terminal calculates the first distance of the user Yu the terminal according to the trigonometric function.
In some possible implementations, the user characteristics include the eye feature or nose feature of the user.
In some possible implementations, the terminal detects the of the user and the terminal by dual camera
After one distance further include:
The terminal detects the level angle of the terminal, and the level angle includes at least two horizontal angle angle value;
If less than the first preset value, the terminal is touched for the variation of distance value in the first distance in the first preset time
Send out prompting function further include:
If the variation of distance value is less than the first preset value in the first distance in the first preset time, and the level
The variation of horizontal angle angle value triggers prompting function less than the second preset value, the terminal in angle.
In some possible implementations, after the terminal triggering prompting function further include:
The terminal detects the second distance of the user Yu the terminal by the dual camera;
If the variation of the second distance and the first distance is greater than third preset value, the terminal, which releases, reminds function
Energy.
In some possible implementations, the prompting function includes vibration reminding function, text prompting function, light
Prompting function and/or sound prompting function.
The embodiment of the invention provides a kind of terminals, comprising:
Judging unit, for judging whether user is used the terminal;
First detection unit detects the user and institute by dual camera if the terminal is used for user
The first distance of terminal is stated, the dual camera includes the first camera and second camera, and the first distance includes at least
More than two distance values;
Reminding unit, if the variation for distance value in the first distance described in the first preset time is preset less than first
Value triggers prompting function.
In some possible implementations, the first detection unit includes:
Determining module, for determining the user characteristics by image recognition;
First obtains module, for being obtained by first camera using the user characteristics as the first figure of focus
Picture;
Second obtains module, for being obtained by the second camera using the user characteristics as the second figure of focus
Picture;
Module is established, for establishing trigonometric function according to the first image and second image;
Computing module, for calculating the first distance of the user Yu the terminal according to the trigonometric function.
In some possible implementations, the user characteristics include the eye feature or nose feature of the user.
In some possible implementations, the terminal further include:
Second detection unit, for detecting the level angle of the terminal, the level angle includes at least two horizontal
Angle value;
If the reminding unit is also used to the variation of the distance value in the first distance in the first preset time less than
One preset value, and in the level angle horizontal angle angle value variation less than the second preset value, trigger prompting function.
In some possible implementations, the terminal further include:
Third detection unit, for detecting the second distance of the user Yu the terminal by the dual camera;
Lifting unit, if the variation for the second distance and the first distance is greater than third preset value, releasing is mentioned
Awake function.
In some possible implementations, the prompting function includes vibration reminding function, text prompting function, light
Prompting function and/or sound prompting function.
The embodiment of the invention also provides a kind of terminals, comprising:
Input unit, output device, processor and memory;
By calling the operational order of the memory storage, the processor is for executing following steps:
Judge whether user is used the terminal;
If so, detect the first distance of the user Yu the terminal by dual camera, the dual camera includes the
One camera and second camera, the first distance include at least two distance value;
If less than the first preset value, function is reminded in triggering for the variation of distance value in the first distance in the first preset time
Energy.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
Terminal judges whether user is used terminal, if so, the terminal by dual camera detect the user with
The first distance of the terminal, if the variation of distance value is preset less than first in the first distance in the first preset time
Value, then the terminal triggers prompting function.By dual camera ranging, the distance between user and terminal variation are compared, if becoming
Change and be less than preset value, then terminal determines that user keeps same posture using terminal for a long time, and triggers prompting function, can bring
A kind of healthier usage experience of user.
Detailed description of the invention
Fig. 1 is one embodiment flow chart of present invention method;
Fig. 2 is another embodiment flow chart of present invention method;
Fig. 3 is one embodiment schematic diagram of present invention method;
Fig. 4 is a schematic diagram of application scenarios of the embodiment of the present invention;
Fig. 5 is another schematic diagram of application scenarios of the embodiment of the present invention;
Fig. 6 is the structural schematic diagram of one embodiment of the terminal of that embodiment of the invention;
Fig. 7 is the structural schematic diagram of another embodiment of the terminal of that embodiment of the invention;
Fig. 8 is the structural schematic diagram of another embodiment of the terminal of that embodiment of the invention.
Specific embodiment
Based reminding method and terminal are used the embodiment of the invention provides a kind of terminal, it is healthier that user's one kind can be brought
Usage experience.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " and and their any deformation, it is intended that covering is not
Exclusive includes, for example, the process, method, system, product or equipment for containing a series of steps or units be not necessarily limited to it is clear
Step or unit those of is listed on ground, but is not clearly listed or for these process, methods, product or is set
Standby intrinsic other step or units.
In the embodiment of the present invention, terminal can be include mobile phone, tablet computer, personal digital assistant (english abbreviation PDA,
Full name in English Personal Digital Assistant), vehicle-mounted computer, smartwatch, network home appliance, camera, video camera, net
The electronic equipments such as network base station, media player, navigation equipment, electronic mail equipment, game station.
With the development of science and technology, terminal device has entered the every aspect of people's life, enjoyment is being brought
Meanwhile miscellaneous race of bowing also has been achieved, and either on subway, in public transport, or other places, it can see very
It immerses oneself in the people being immersed in the mobile phone world more, then, terminal device is used for a long time, maintains a posture motionless, thus causes
Cervical spondylosis, the problem of eye fatigue, is more and more, very unfavorable to people's health.The embodiment of the present invention proposes a kind of terminal
Use based reminding method and terminal, can user for a long time maintain a posture when, give user send healthalert.
Referring to Fig. 1, one embodiment of present invention method, comprising:
101, terminal judges whether user is used terminal.
In the present embodiment, only user detects in the case where using terminal and issues prompting, if terminal judgement is used
Terminal is used in family, thens follow the steps 102, if it is not, thening follow the steps 103.
102, terminal detects the first distance of user and terminal by dual camera.
In the present embodiment, terminal includes at least the first camera and second camera, and by dual camera, terminal detection is used
The first distance at family and terminal, first distance include at least more than two distance values.
103, other operations are executed.
If terminal judges user there is no in using terminal, terminal executes other operations.
If 104, less than the first preset value, terminal triggering is mentioned for the variation of distance value in first distance in the first preset time
Awake function.
The first distance detected in first preset time is compared by terminal, if user keeps one in preset time
A posture or movement range are smaller, then the variation of distance value is also smaller in first distance, if changing less than the first preset value,
Then terminal triggers prompting function.
In the present embodiment, terminal judges whether user is used terminal, if so, the terminal is detected by dual camera
The first distance of the user and the terminal, if the variation of distance value is less than in the first distance in the first preset time
First preset value, then the terminal triggers prompting function.By dual camera ranging, compares the distance between user and terminal and become
Change, if variation is less than the first preset value, terminal determines that user keeps same posture using terminal for a long time, and triggers prompting function
Can, a kind of healthier usage experience of user can be brought.
Referring to Fig. 2, another embodiment of present invention method, comprising:
201, terminal judges whether user is used terminal.
Terminal judges whether user is used terminal, can be carried out in the case where screen opening by front camera
Picture collection can also be by detecting target application if terminal recognition user in picture, judges that terminal is used in user
Operating condition, such as read application, Video Applications, game application etc. judges, example in combination with the received input information of screen
Such as, terminal detects that game application is currently running, and detects that user inputs the operation information of game application in preset time,
It may determine that user is used terminal, in practical application, the case where other methods can also being used to judge user's using terminal,
Too many restriction is not done herein.
It should be noted that in the present embodiment, it, can be using the concealed side opened when terminal is using camera acquisition photo
Formula does not occur shooting interface and shoots sound.
In the present embodiment, if terminal judges that terminal is used in user, 202 are thened follow the steps, if it is not, thening follow the steps
203。
202, terminal detects the first distance of user and terminal by dual camera.
Terminal acquires the photo of user by camera, and determines user characteristics by image recognition, and the feature of user can
To be the eye feature of user, nose feature, mouth feature etc. does not do too many restriction herein.
Since the distance between the first camera and second camera are relatively close, and user is also relatively close with a distance from terminal,
So terminal can be obtained by the first camera using user characteristics as the first image of focus, and obtained by second camera
Using same subscriber feature as the second image of focus, terminal is available as shown in Figure 3 according to the first image and the second image
Trigonometric function, θ 1 and θ 2 is two cameras with respect to the angle that user characteristics are focused in Fig. 3, and y is between two cameras in Fig. 3
Distance, z is user characteristics to the distance of terminal in Fig. 3, and by the value of θ 1, θ 2 and y, terminal can calculate z, determine user and
The first distance of terminal, first distance include at least two distance values, terminal can within the preset time, according to it is preset when
Between be spaced, acquire more than two distance values, can also periodically acquire more than two distances within the preset time
Value, does not do too many restriction herein.
It should be noted that the first camera and second camera can all be front cameras in the present embodiment, it can also
To be all rear camera, if rear camera, then the user characteristics chosen can be other physical feeling features of user,
Too many restriction is not done herein.
203, other operations are executed.
If terminal is not used in user, terminal executes other operations.
204, terminal detects the level angle of the terminal.
Terminal can be by gyroscope, electronic compass, and gravity sensor etc. detects level angle locating for terminal, can also be with
Level angle locating for combine detection terminal by the above device does not do too many restriction herein.
In the present embodiment, terminal at least detects two horizontal angle angle value, and terminal can be within the preset time, according to preset
Time interval, acquire more than two horizontal angle angle value, can also be within the preset time, periodically acquisition is more than two
Horizontal angle angle value, do not do too many restriction herein.
It should be noted that there is no sequencings between step 202 and step 204, in practical realization in the present embodiment
In, step 204 can also be first carried out, then execute step 202, it is only necessary to first distance and horizontal angle are obtained before step 205
Degree.
If 205, the variation of distance value is less than the first preset value in first distance in the first preset time, and level angle
The variation of middle horizontal angle angle value triggers prompting function less than the second preset value, terminal.
Within the first preset time, the distance value in the first distance of acquisition is compared by terminal, obtains distance value
Variation, the variation of distance value can be the difference of maxima and minima in distance value, be also possible to distance value maximum value with
The difference of average value, or compared again after data screening, it can also be other available algorithms to numerical value change,
Too many restriction is not done herein, likewise, the variation of horizontal angle angle value can also be using similar algorithm be changed with distance value, herein
It repeats no more, if the variation of distance value, less than the first preset value, and the variation of angle value, less than the second preset value, terminal triggering mentions
Awake function.
It should be noted that prompting function includes vibration reminding function, text prompting function, light prompting function or sound
Too many restriction is not done in the combination of sound prompting function or above functions herein.
It is understood that prompting function can according to need carry out diversified facilities, such as different mention can be set
Awake function, reminds duration, or during prompting, and prompting is delayed in setting, closes and reminds, or reaches preset time period, pressure
Screen etc. is put out, does not do too many restriction herein.
It should also be noted that, the detection of level angle is further to judge in the present embodiment, in practical application,
Can first distance value only be judged to determine whether user keeps same posture for a long time.
206, terminal detects the second distance of user and terminal by dual camera.
After prompting function is opened, terminal passes through the second distance of double camera detection users and terminal, and second distance at least wraps
A distance value is included, terminal can be detected within the preset time, and detection method can be similar with detection first distance, this
Place repeats no more.
If 207, the variation of second distance and first distance is greater than third preset value, terminal releases prompting function.
The variation of second distance and first distance, can in the average value and first distance of distance value in second distance away from
The difference of average value from value, or the difference of maximum range value and maximum range value in first distance in second distance,
It is also possible to the changing value that other algorithms other than difference obtain, does not do too many restriction herein, if second distance and first distance
Variation be greater than third preset value, terminal release prompting function.
In the present embodiment, terminal judges whether user is used terminal, if so, the terminal is detected by dual camera
The first distance of the user and the terminal, if the variation of distance value is less than in the first distance in the first preset time
First preset value, then the terminal triggers prompting function.By dual camera ranging, compares the distance between user and terminal and become
Change, if variation is less than the first preset value, terminal determines that user keeps same posture using terminal for a long time, and triggers prompting function
Can, a kind of healthier usage experience of user can be brought.
Secondly, terminal detects the level angle variation of terminal in the present embodiment, if the distance value variation of first distance is less than
First preset value, and level angle angle value change less than the second preset value in the case where, the prompting function of triggering terminal, into
One step combines the variation of level angle, can more accurately assess whether user keeps same posture for a long time.
Again, in the present embodiment, after prompting function is triggered, the function of releasing and remind has been added, it is further perfect
The scheme of the present embodiment.
Finally, in the present embodiment, for the type of prompting function, the method for dual camera ranging, distance value and horizontal angle
The calculating etc. of angle value variation is described in detail, and enriches the implementation of the present embodiment.
For ease of understanding, the present embodiment is described below with reference to specific application scenarios.
In this application scene, user A is used mobile phone and plays game, and there are two preposition cameras for mobile phone setting, leads to
Picture collection and analysis are crossed, mobile phone determines that user A is in the front of screen, and mobile phone one directly receives the defeated of game playing commands
Enter, mobile phone may determine that mobile phone is used in user A, in preset 25 minutes, mobile phone using the nose of user A as focus,
By the user of detection in dual camera every five minutes to the distance of terminal, the data in table 1 are obtained, meanwhile, every five points of mobile phone
Clock detects the level angle of a mobile phone, obtains the data of table 2, in the judgement of triggering prompting function, the meter of distance value variation
Calculation method is, obtains the difference of maximum range value and lowest distance value, and maximum distance is 35cm, minimum range 28cm in table 1,
Difference is 7cm, and variation is less than the preset distance value 8cm of mobile phone, and the calculation method of level angle variation is to obtain maximum horizontal angle
The difference of angle value and minimum level angle value, maximum horizontal angle value is 195 degree in table 2, and minimum level angle value is 180 degree,
Difference is 15 degree, and variation is less than preset 20 degree of horizontal angle angle value of mobile phone, then mobile phone judges that user keeps same posture for a long time
Using mobile phone, prompting function is triggered, as shown in figure 4, display " changing a posture to see again " on mobile phone screen, to have reminded user A
It maintains a posture, after user A receives prompt, as shown in figure 5, having replaced posture, has pulled open and mobile phone screen for a long time
Distance, mobile phone detects user A at a distance from mobile phone after triggering prompting function again, in preset 5 seconds, detect the
One distance value is 50cm, in the judgement for releasing prompting function, the calculation method of distance value variation be obtain second distance with
The difference of first distance average value, difference of the average value of the first distance of table 1 between 34cm, with second distance 50cm are
16cm, variation are greater than the preset distance value 10cm of mobile phone, and mobile phone releases prompting function, and user A can continue playing game.
Time | 13:00 | 13:05 | 13:10 | 13:15 | 13:20 | 13:25 |
Distance value | 30cm | 33cm | 28cm | 35cm | 35cm | 33cm |
Table 1
Time | 13:00 | 13:05 | 13:10 | 13:15 | 13:20 | 13:25 |
Horizontal angle angle value | 180 degree | 185 degree | 190 degree | 185 degree | 188 degree | 195 degree |
Table 2
It is the introduction of the embodiment and application scenarios to present invention method above, it below will be from the angle pair of device
The embodiment of the present invention is described in detail.
Referring to Fig. 6, one embodiment of the terminal of that embodiment of the invention includes:
Judging unit 601, for executing the step 101 in Fig. 1, details are not described herein again.
First detection unit 602, for executing the step 102 in Fig. 1, details are not described herein again.
Reminding unit 603, for executing the step 104 in Fig. 1, details are not described herein again.
In the present embodiment, judging unit 601 judges whether user is used terminal, if terminal is used in user, the
One detection unit 602 detects the first distance of user and terminal by dual camera, if in the first preset time in first distance
The variation of distance value is less than the first preset value, then the prompting function of 603 triggering terminal of reminding unit, may remind the user that for a long time
Same posture is kept, a kind of healthier usage experience of user is brought.
Referring to Fig. 7, one embodiment of the terminal of that embodiment of the invention includes:
Judging unit 701, for executing the step 201 in Fig. 2, details are not described herein again.
First detection unit 702, for executing the step 202 in Fig. 2, details are not described herein again.
It should be noted that first detection unit 702 specifically includes:
First obtains module 7021, for being obtained by first camera using the user characteristics as the first of focus
Image.
Second obtains module 7022, for being obtained by the second camera using the user characteristics as the second of focus
Image.
Module 7023 is established, for establishing trigonometric function according to the first image and second image.
Computing module 7024, for calculating the first distance of the user Yu the terminal according to the trigonometric function.
Second detection unit 703, for executing the step 204 in Fig. 2, details are not described herein again.
Reminding unit 704, for executing the step 205 in Fig. 2, details are not described herein again.
Third detection unit 705, for executing the step 206 in Fig. 2, details are not described herein again.
Lifting unit 706, for executing the step 207 in Fig. 2, details are not described herein again.
In the present embodiment, judging unit 701 judges whether user is used terminal, if terminal is used in user, the
One detection unit 702 detects the first distance of user and terminal by dual camera, if in the first preset time in first distance
The variation of distance value is less than the first preset value, then the prompting function of 704 triggering terminal of reminding unit, may remind the user that for a long time
Same posture is kept, a kind of healthier usage experience of user is brought.
It, can be with further combined with the variation of level angle secondly, increase second detection unit 703 in the present embodiment
More accurately whether assessment user keeps same posture for a long time.
Again, in the present embodiment, lifting unit 706 is also added, the further perfect scheme of the present embodiment.
Finally, in the present embodiment, for the type of prompting function, the method for dual camera ranging, distance value and horizontal angle
The calculating etc. of angle value variation is described in detail, and enriches the implementation of the present embodiment.
The terminal in the embodiment of the present invention is described from the angle of modular functionality entity above, below from hardware
The terminal of the embodiment of the present invention is described in the angle of reason.
Referring to Fig. 8, another embodiment of terminal includes: in the embodiment of the present invention
Input unit 801, output device 802, processor 803 and (the wherein number of the processor 801 of terminal of memory 804
Amount can be one or more, in Fig. 8 by taking a processor 801 as an example).In some embodiments of the invention, input unit
801, output device 802, processor 803 and memory 804 can be connected by bus or other means, wherein to pass through in Fig. 8
For bus connection.
Wherein, the operational order stored by calling memory 804, processor 803, for executing following steps:
Judge whether user is used the terminal;
If so, detect the first distance of the user Yu the terminal by dual camera, the dual camera includes the
One camera and second camera, the first distance include at least two distance value;
If less than the first preset value, function is reminded in triggering for the variation of distance value in the first distance in the first preset time
Energy.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (8)
1. a kind of terminal uses based reminding method characterized by comprising
Terminal judges whether user is used the terminal;
If so, the terminal detects the first distance of the user Yu the terminal, the dual camera packet by dual camera
The first camera and second camera are included, the first distance includes at least two distance value;
The terminal detects the level angle of the terminal, and the level angle includes at least two horizontal angle angle value;
If the variation of distance value is less than the first preset value in the first distance in the first preset time, and the level angle
The variation of middle horizontal angle angle value triggers prompting function less than the second preset value, the terminal.
2. terminal according to claim 1 uses based reminding method, which is characterized in that the terminal is examined by dual camera
It surveys the user and the first distance of the terminal includes:
The terminal determines the user characteristics by image recognition;
The terminal is obtained by first camera using the user characteristics as the first image of focus;
The terminal is obtained by the second camera using the user characteristics as the second image of focus;
The terminal establishes trigonometric function according to the first image and second image;
The terminal calculates the first distance of the user Yu the terminal according to the trigonometric function.
3. terminal according to claim 1 uses based reminding method, which is characterized in that after the terminal triggering prompting function
Further include:
The terminal detects the second distance of the user Yu the terminal by the dual camera;
If the variation of the second distance and the first distance is greater than third preset value, the terminal releases prompting function.
4. terminal according to any one of claim 1 to 3 uses based reminding method, the prompting function includes that vibration mentions
Awake function, text prompting function, light prompting function and/or sound prompting function.
5. a kind of terminal characterized by comprising
Judging unit, for judging whether user is used the terminal;
First detection unit detects the user and the end by dual camera if the terminal is used for user
The first distance at end, the dual camera include the first camera and second camera, and the first distance includes at least two
The above distance value;
Second detection unit, for detecting the level angle of the terminal, the level angle includes at least two level angles
Value;
Reminding unit, if the variation for distance value in the first distance described in the first preset time less than the first preset value,
And in the level angle horizontal angle angle value variation less than the second preset value, trigger prompting function.
6. terminal according to claim 5, which is characterized in that the first detection unit includes:
Determining module, for determining the user characteristics by image recognition;
First obtains module, for being obtained by first camera using the user characteristics as the first image of focus;
Second obtains module, for being obtained by the second camera using the user characteristics as the second image of focus;
Module is established, for establishing trigonometric function according to the first image and second image;
Computing module, for calculating the first distance of the user Yu the terminal according to the trigonometric function.
7. terminal according to claim 5, which is characterized in that the terminal further include:
Third detection unit, for detecting the second distance of the user Yu the terminal by the dual camera;
Lifting unit releases if the variation for the second distance and the first distance is greater than third preset value and reminds function
Energy.
8. a kind of terminal characterized by comprising
Input unit, output device, processor and memory;
By calling the operational order of the memory storage, the processor is for executing following steps:
Judge whether user is used the terminal;
If so, detecting the first distance of the user Yu the terminal by dual camera, the dual camera is taken the photograph including first
As head and second camera, the first distance includes at least two distance value;
The terminal detects the level angle of the terminal, and the level angle includes at least two horizontal angle angle value;
If the variation of distance value is less than the first preset value in the first distance in the first preset time, and the level angle
The variation of middle horizontal angle angle value triggers prompting function less than the second preset value, the terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610950268.0A CN106488031B (en) | 2016-11-02 | 2016-11-02 | A kind of use based reminding method and the terminal of terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610950268.0A CN106488031B (en) | 2016-11-02 | 2016-11-02 | A kind of use based reminding method and the terminal of terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106488031A CN106488031A (en) | 2017-03-08 |
CN106488031B true CN106488031B (en) | 2019-11-12 |
Family
ID=58271707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610950268.0A Active CN106488031B (en) | 2016-11-02 | 2016-11-02 | A kind of use based reminding method and the terminal of terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106488031B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107343100B (en) * | 2017-06-30 | 2019-12-31 | Oppo广东移动通信有限公司 | Information prompting method and device, storage medium and electronic equipment |
CN107945468A (en) * | 2017-12-25 | 2018-04-20 | 信利光电股份有限公司 | The sitting posture reminder and method and seat of a kind of seat |
CN108600535A (en) * | 2018-04-18 | 2018-09-28 | 广东小天才科技有限公司 | A kind of eye care method for electronic equipment and electronic equipment |
CN108777058B (en) * | 2018-05-18 | 2020-08-07 | Oppo广东移动通信有限公司 | Posture reminding method, electronic device and computer readable storage medium |
CN111079513B (en) * | 2019-10-28 | 2022-01-18 | 珠海格力电器股份有限公司 | Posture reminding method and device, mobile terminal and storage medium |
CN111461020B (en) * | 2020-04-01 | 2024-01-19 | 浙江大华技术股份有限公司 | Recognition method, equipment and related storage medium for unsafe mobile phone behavior |
CN113952057B (en) * | 2021-02-03 | 2023-07-25 | 上海飞象健康科技有限公司 | Electric tooth cleaning device, automatic start-stop method thereof, terminal and storage medium |
CN113706616A (en) * | 2021-08-27 | 2021-11-26 | 深圳创维-Rgb电子有限公司 | Prompting method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005260885A (en) * | 2004-03-15 | 2005-09-22 | Kyocera Mita Corp | Communication terminal device |
CN104102435A (en) * | 2013-04-02 | 2014-10-15 | 百度在线网络技术(北京)有限公司 | Method for adjusting posture of user in the process of using equipment and equipment |
CN104111059A (en) * | 2014-07-16 | 2014-10-22 | 宇龙计算机通信科技(深圳)有限公司 | Distance measuring and locating device and method and terminal |
-
2016
- 2016-11-02 CN CN201610950268.0A patent/CN106488031B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005260885A (en) * | 2004-03-15 | 2005-09-22 | Kyocera Mita Corp | Communication terminal device |
CN104102435A (en) * | 2013-04-02 | 2014-10-15 | 百度在线网络技术(北京)有限公司 | Method for adjusting posture of user in the process of using equipment and equipment |
CN104111059A (en) * | 2014-07-16 | 2014-10-22 | 宇龙计算机通信科技(深圳)有限公司 | Distance measuring and locating device and method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106488031A (en) | 2017-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106488031B (en) | A kind of use based reminding method and the terminal of terminal | |
CN104125396B (en) | Image capturing method and device | |
CN109091869B (en) | Method and device for controlling action of virtual object, computer equipment and storage medium | |
CN105608425B (en) | The method and device of classification storage is carried out to photo | |
CN105389304B (en) | Event Distillation method and device | |
CN110188236A (en) | A kind of recommended method of music, apparatus and system | |
CN105282717B (en) | Based reminding method and mobile terminal | |
CN110163066B (en) | Multimedia data recommendation method, device and storage medium | |
CN109224437A (en) | The exchange method and terminal and storage medium of a kind of application scenarios | |
CN108345848A (en) | The recognition methods of user's direction of gaze and Related product | |
CN105426878B (en) | Face cluster method and device | |
CN109242045B (en) | Image clustering processing method, device, electronic equipment and storage medium | |
EP4057204A1 (en) | Method and apparatus for processing live streaming data | |
CN109739464A (en) | Setting method, device, terminal and the storage medium of audio | |
CN108898591A (en) | Methods of marking and device, electronic equipment, the readable storage medium storing program for executing of picture quality | |
CN109819167A (en) | A kind of image processing method, device and mobile terminal | |
CN114154068A (en) | Media content recommendation method and device, electronic equipment and storage medium | |
CN110890969B (en) | Method and device for mass-sending message, electronic equipment and storage medium | |
CN110191280A (en) | The photographic method and Related product shown based on cover board | |
CN109550248A (en) | Virtual objects location recognition method, device, mobile terminal and storage medium | |
CN106254807A (en) | Extract electronic equipment and the method for rest image | |
CN104469092B (en) | A kind of image-pickup method and electronic equipment | |
CN109587552A (en) | Video personage sound effect treatment method, device, mobile terminal and storage medium | |
CN109657097A (en) | Video screening technique, device, electronic equipment and storage medium | |
CN112423011A (en) | Message reply method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |