Summary of the invention
The problem that technical solution of the present invention solves is that prevention user uses in mobile terminal, owing to keeping for a long time a posture may cause uncomfortable problem long-time.
For addressing the above problem, technical solution of the present invention provides a kind of control method changing based on mobile terminal attitude, and described method comprises:
The attitude that detects described mobile terminal changes whether meet default attitude variation, and it is relevant to health care of body behaviour's action that described default attitude changes;
If the attitude of described mobile terminal changes, do not meet described default attitude variation, point out user to carry out with described default attitude and change the action of mating.
Optionally, described default attitude changes at least one comprising in rotation, upset and movement.
Optionally, described user carries out the attitude variation that changes with described default attitude that body part that the action of coupling is user is carried out and described default attitude changes consistent action and control described mobile terminal and meets described default attitude variation.
Optionally, described health care of body behaviour is cervical vertebra health, described default attitude change comprise to anticlockwise, to right rotation, upwards overturn, overturn downwards, be moved to the left and rotate and move right and rotate at least one attitude variation.
Optionally, the attitude of described and described mobile terminal changes the action of mating and comprises left curved neck, curved neck to the right, upwards comes back, bows downwards, at least one action in rotary head left and rotary head to the right.
Optionally, the attitude of the described mobile terminal of described detection changes and whether to meet default attitude and change and comprise:
Described in the data acquisition gathering based on attitude induction element, the attitude of mobile terminal changes;
Whether the attitude variation that judges described mobile terminal is to anticlockwise, to right rotation, upwards overturns, overturn downwards, be moved to the left and rotate or move right and rotate.
Optionally, described attitude induction element comprises at least one in gyroscope, gravity sensor and magnetic sensor.
Optionally, described method also comprises: after prompting, by human body attitude, detect to judge whether user has carried out the action of mating with described default attitude variation, if not, again point out user to carry out with described default attitude and change the action of mating.
Optionally, it is that the human body image gathering based on imaging apparatus carries out that described human body attitude detects, and described imaging apparatus is arranged at the position to user above described mobile terminal.
Optionally, describedly also comprise:
On the screen of described mobile terminal, show with described default attitude and change the action of mating;
According to the attitude of described mobile terminal, change, adjust the display frame on screen.
Optionally, described method also comprises: after the normal use of described mobile terminal surpasses the very first time or every the second time, carry out the described control method changing based on mobile terminal attitude.
The corresponding above-mentioned control method changing based on mobile terminal attitude, technical solution of the present invention also provides a kind of control device changing based on mobile terminal attitude, and described device comprises:
Detecting unit, the attitude that is suitable for detecting described mobile terminal changes and whether meets default attitude and change, and it is relevant that described default attitude changes the action of grasping with health care of body;
Tip element, does not meet described default attitude variation if be suitable for the attitude variation of described mobile terminal, points out user to carry out with described default attitude and changes the action of mating.
Technical solution of the present invention also provides a kind of mobile terminal, and described mobile terminal comprises the control device described in as above any one.
Optionally, described mobile terminal also comprises: trigger element, is suitable for, after the normal use of described mobile terminal surpasses the very first time or every the second time, triggering described control device and starting working.
Compared with prior art, technical scheme of the present invention has the following advantages:
Attitude by default mobile terminal changes, it is relevant to health care of body behaviour's action that described default attitude changes, when the attitude of described movement being detected, change when not meeting default attitude and changing, point out user to carry out the method that changes the action of mating with described default attitude, user, use in the process of mobile terminal, effective reminding user is carried out to health care of body and is grasped relevant coupling action in real time, the uncomfortable problem on the health that effectively prevention may cause user owing to using mobile terminal for a long time.
Further, described default attitude variation is set as the action corresponding with cervical vertebra health, can effectively prevent to use mobile terminal due to long-time, and the uncomfortable problem that user's cervical vertebra is caused.
Further, when prompting user carries out the action of mating with described default attitude variation, the imaging apparatus Real-time Collection user's who arranges above by mobile terminal human body image, come monitor user ' whether to have the action of carrying out described coupling, can be better for the operation of the actual execution of user, remind accordingly, improve the effect of the control changing based on mobile terminal attitude.
Embodiment
As stated in the Background Art, user plays, watches in the process of video at mobile terminals such as using mobile phone, panel computer, usually needing bows overlooks screen, if user keeps bad like this posture for a long time, can shine into cervical vertebra, eyes to user dry and astringent etc. various uncomfortable, to user's the healthy potential safety hazard of bringing.
For the problems referred to above, technical solution of the present invention provides a kind of control method changing based on mobile terminal attitude, comprising:
The attitude that detects described mobile terminal changes whether meet default attitude variation, and it is relevant to health care of body behaviour's action that described default attitude changes;
If the attitude of described mobile terminal changes, do not meet described default attitude variation, point out user to carry out with described default attitude and change the action of mating.
In prior art, existing various technology can detect the attitude of mobile terminal, by the contained attitude induction element of mobile terminal, for example, the many attitude induction element such as gyroscope, gravity sensor and magnetic sensor can perception mobile terminal comprises rotation, upset and mobile etc. various athletic postures.
Described health care of body behaviour can be the relevant motions of health care of body such as cervical vertebra health, setting-up exercises to radio music, Lumbar vertebra health care, joint motion behaviour.
In technical solution of the present invention, first default in mobile terminal and health care of body is grasped corresponding attitude rule change, when user is when needs carry out health care of body behaviour, by attitude induction element, judge that the current attitude of described mobile terminal changes whether to meet and default grasp corresponding attitude rule change with health care of body, if do not meet, reminding user is carried out with described default attitude and is changed the action matching, effective reminding user is carried out some and is grasped relevant coupling action to health care of body in real time, effectively prevention user is due to the uncomfortable problem on the long-time health that uses mobile terminal and user is caused.
For above-mentioned purpose of the present invention, feature and advantage can more be become apparent, below in conjunction with accompanying drawing, specific embodiments of the invention are described in detail.
Embodiment mono-
In the present embodiment, with the default attitude relevant to cervical vertebra health in mobile phone, being changed to example describes.
Fig. 1 is the schematic flow sheet of the control method changing based on mobile terminal attitude that provides of the embodiment of the present invention one, first performs step S101, in mobile terminal, and the attitude variation of the default mobile terminal mating with cervical vertebra health action.
The kind of cervical vertebra health has a lot, is all mainly by the mode of simple light and slow rotation head, neck such as up and down, reaches the part of neck is taken exercise.Generally, described cervical vertebra health contains left curved neck, curved neck to the right, upwards comes back, bows downwards, rotary head left and the first-class action of turning right, and the repetition by these actions, combination etc. complete the exercise for neck.
Corresponding to the contained action of above-mentioned cervical vertebra health, the attitude that can preset accordingly mobile terminal changes, and described attitude changes accordingly can be for rotation left, to right rotation, upwards overturn, overturn downwards, be moved to the left and rotate and move right and the variation such as rotation.For example, corresponding to the action of the curved neck left in cervical vertebra health, can be preset as accordingly the user oriented mobile terminal of screen from vertical state 90-degree rotation to the left, become the state of horizontal placement; Corresponding to the action upwards coming back in cervical vertebra health, can be preset as accordingly the user oriented mobile terminal of screen is become to the state that the downward and described mobile terminal of screen is positioned at above-head; Action corresponding to the rotary head left in cervical vertebra health, can be preset as accordingly the state of mobile to the left while of the user oriented mobile terminal of screen around user's 90-degree rotation, the like, can to the everything in cervical vertebra health, preset accordingly the various attitudes variations of mobile terminal, in this no limit.
Execution step S102, on the screen of mobile terminal, show that described default attitude changes, demonstration is moved with the cervical vertebra mating of described default attitude variation, and the attitude variation that the cervical vertebra that prompting user carries out and the variation of described preset posture is mated moved and controlled described mobile terminal meets described default attitude variation.
For can be better, facilitate more intuitively user to carry out relevant cervical vertebra action, can on the screen of mobile terminal, be presented at the variation of the attitude of default mobile terminal in step S101, the attitude variation that prompting user controls described mobile terminal according to the variation of the attitude of the shown mobile terminal of screen meets described default attitude variation, also can be on the screen of mobile terminal the action of corresponding demonstration cervical vertebra health, for example can be shown to user by the form of animation intuitively, prompting user carries out the motion of cervical vertebra according to the shown action of screen animated.
In addition, consider and need to the attitude of mobile terminal be changed and be detected whether meet default attitude variation to determine that the attitude of described mobile terminal changes.So require user to control described mobile terminal according to prompting, carry out attitude variation, so that it meets default attitude, change.
Execution step S103, the attitude that detects current mobile terminal changes.
Can utilize the attitude of mobile terminal described in the data acquisition that the attitude induction elements such as gyroscope, gravity sensor, magnetic sensor gather to change.For example, can pass through angular velocity and the linear acceleration of gyroscope, gravity sensor measurement object of which movement, then by integral operation, obtain position and the attitude of mobile terminal.
By the contained attitude induction element of described mobile terminal, can perception mobile terminal comprise rotation, upset and mobile etc. various motions, the attitude that detects in real time current mobile terminal changes.
Execution step S104, judges the attitude of current mobile terminal changes whether meet default attitude variation.
For example, if the action that current cervical vertebra health need to be carried out is curved neck left, change should be for to anticlockwise for default attitude, in this step, according to the attitude of resulting mobile terminal in step S103, change to judge whether it is the action to anticlockwise, if so, judge that the variation of current mobile terminal meets default attitude variation, perform step S105, otherwise return to execution step S102.
Execution step S105, judges whether the attitude variation of current mobile terminal is the last a kind of attitude variation during default attitude changes.
The attitude variation that is judged as current mobile terminal in step S104 meets after default attitude variation, whether the attitude variation that can judge current mobile terminal is the last a kind of attitude variation during default attitude changes, if, illustrate that user has carried out all operations according to the requirement of cervical vertebra health, can finish the control procedure that this changes based on mobile terminal attitude; Otherwise execution step S106.
Execution step S106, lower a kind of attitude of obtaining in described default attitude variation changes.
Attitude variation in current mobile terminal meets default attitude variation, and when not being the last a kind of attitude variation during default attitude changes, by this step can obtain described default attitude change in the next attitude that changes of the attitude current with respect to mobile terminal change, for example, the current attitude of mobile terminal is changed to anticlockwise, corresponding to the next one of the curved neck left in cervical vertebra health, move curved neck to the right, default attitude changes should export-oriented right rotation, the lower a kind of attitude acquiring in default attitude variation by this step is changed to right rotation, now can return to execution step S102, on the screen of mobile terminal, show that described default attitude changes, show with described default attitude and change the cervical vertebra action of mating, prompting user carries out and to change with preset posture attitude that corresponding cervical vertebra move and controlled described mobile terminal and change and meet described default attitude variation.
It should be noted that, it can be that the attitude that has a definite sequence of setting according to the order of actual cervical vertebra health changes that default attitude described above changes, so in step S106, can change according to the current attitude of mobile terminal the attitude variation of the mobile terminal after determining.In addition, in the specific implementation, also can be according to user habit, demand etc., in carrying out the control procedure changing based on mobile terminal attitude, the order that is set to the many attitude variation in changing according to described default attitude repeats, for example, the order that is set to the many attitude variation in changing according to described default attitude repeats 10 times, according to described default attitude, changing for the first time, from the first attitude, change to carry out when last, still need to return and continue to carry out the variation of the first attitude, until change circulation altogether according to described default attitude, carry out 10 times.
In the present embodiment, first in mobile terminal, preset and the corresponding attitude rule change of cervical vertebra health, then by gyroscope, gravity sensor etc., judge the current attitude of described mobile terminal changes whether meet default attitude rule change, if do not meet, reminding user is carried out with described default attitude and is changed the action matching, effective reminding user is carried out the coupling action relevant to cervical vertebra health in real time, effectively prevents user due to the uncomfortable problem on the long-time health that uses mobile terminal and user is caused.
Embodiment bis-
In the present embodiment, in the control procedure changing based on mobile terminal attitude, the attitude that can detect described mobile terminal changes whether meet default attitude variation, meanwhile, can also be detected and be confirmed whether user has carried out the action of mating with the variation of default attitude by human body attitude.
It is that the human body image that the imaging apparatus that is equipped with based on mobile terminal gathers carries out that described human body attitude detects, described imaging apparatus can be arranged at the position to user above described mobile terminal, by described imaging apparatus, can obtain the current image of human body that comprises head, by multiple image recognition technology of the prior art, can determine the athletic posture of current human body, for example, can pass through face recognition technology, can detect the current deflection of people's face, the mode of motion such as rotation, can also be by technology such as eye recognitions, detect the athletic posture of human eye, and then the athletic posture based on face or eye is determined the athletic posture of current human body.In the present embodiment, still with the default attitude relevant to cervical vertebra health in mobile phone, being changed to example describes.
Fig. 2 is the schematic flow sheet of the control method changing based on mobile terminal attitude that provides of the embodiment of the present invention two, first performs step S201, in mobile terminal, and the attitude variation of the default mobile terminal mating with cervical vertebra health action.Please refer to step S101.
Execution step S202, surpasses after half an hour normal use of described mobile terminal, shows that described default attitude changes on the screen of mobile terminal, shows with described default attitude and changes the cervical vertebra action of mating.
In the present embodiment, can preset the execution time of the described control method changing based on mobile terminal attitude, for instance, conventionally when user uses mobile terminal to play continuously, or the time of watching video surpasses after certain hour, cervical vertebra is due to for a long time in same posture, such posture of for example bowing, may bring discomfort to cervical vertebra, cervical vertebra now should be suitable carry out activity, can show that continuously game or video pictures surpass after certain hour at mobile terminal, system starts the described control method changing based on mobile terminal attitude automatically, prompting user starts to carry out cervical vertebra health activity.Described certain hour for example can be set to 30 minutes.The described control method changing based on mobile terminal attitude also can be set at set intervals, automatically performs, and for example, the every use of mobile terminal one hour, carries out cervical-vertebra health care activity with reminding user.Particularly, can on the screen of mobile terminal, show that described default attitude changes, can show the corresponding version of human cervical spine etc. with forms such as image, animations, please refer to step S102.
Execution step S203, prompting user carries out and to change with preset posture attitude that corresponding cervical vertebra move and controlled described mobile terminal and change and meet described default attitude variation.
Prompting user carries out the corresponding cervical vertebra motion go out as shown on screen, and the attitude of controlling described mobile terminal changes and meets the suggested attitude of screen and change.
Execution step S204, the attitude that detects current mobile terminal changes.
Utilize the attitude of mobile terminal described in the data acquisition that the attitude induction elements such as gyroscope, gravity sensor, magnetic sensor gather to change, whether the variation that detects current mobile terminal meets default attitude changes, and whether the variation that detects current mobile terminal changes consistent with the attitude in movement suggested on screen.Please refer to step S103.
Execution step S205, judges whether to meet default attitude and changes.
According to the attitude of detected current mobile terminal in step S204, change, the attitude that judges described mobile terminal changes whether meet default attitude variation shown on screen, if so, judge that the variation of current mobile terminal meets default attitude variation, perform step S206; Otherwise return to execution step S203.
Execution step S206, detects active user's action by human body attitude.
Consider in embodiment mono-, according to the real-time result detecting of attitude variation to mobile terminal, pointing out user to carry out with described default attitude changes in the method for the action of mating, whether to user, do not have execution and described default attitude to change the action of mating monitors, and this attitude variation that may exist user only to control described mobile terminal according to screen prompt meets described default attitude variation, and user's body part is not carried out and changed consistent action with described default attitude, can affect the effect that user carries out wellness approach like this.So the present embodiment changes in the process detecting in real time in the attitude to mobile terminal, further the human body attitude for user detects in real time, to determine whether user's body part has to carry out, change consistent action with described default attitude, the detection of human body attitude can adopt prior art.As in the present embodiment, because being detects user whether to have execution cervical vertebra health, so can pass through Eye Recognition of the prior art, the image captured to the imaging apparatus of mobile terminal, for example, eyes image to the captured people of the front-facing camera by mobile terminal is identified, the offset distance according to people's eyes image in captured image and angle etc., the motion of judgement user's head.For instance, can be user in the face of screen, and in screen over against position time, take an image as reference position image, described reference position can refer to that, in the captured image in reference position, left eye and right eye are symmetrical with respect to the longitudinal centre line of captured image.In the process of user's head movement, real-time photographic images, and captured image is carried out to eye recognition, according to the left eye recognizing and right eye, depart from the angle of longitudinal centre line of captured image and the rotation situation that user's head can be determined in position, the situation of cervical vertebra motion that can corresponding definite user.
Execution step S207, judge whether user carries out and changes corresponding cervical vertebra with preset posture and move.
According to the attitude of detected user in step S206, change, judge whether user carries out with preset posture and change corresponding cervical vertebra action, if so, perform step S208; Otherwise return to execution step S203.
Execution step S208, judges whether the attitude variation of current mobile terminal is the last a kind of attitude variation during default attitude changes.
If it is that last a kind of attitude during default attitude changes changes that the attitude of current mobile terminal changes, and the action that user carries out changes the action of mating with default attitude, can finish this control procedure based on the variation of mobile terminal attitude; Otherwise execution step S209.
Execution step S209, lower a kind of attitude of obtaining in described default attitude variation changes.
Attitude variation in current mobile terminal meets default attitude variation, but when not being the last a kind of attitude variation during default attitude changes, by this step can obtain described default attitude change in the next attitude that changes of the attitude current with respect to mobile terminal change, specifically please refer to step S106, after lower a kind of attitude in getting described default attitude variation changes, can return again and start to carry out from step S202, until last a kind of attitude that the attitude of current mobile terminal is changed in default attitude variation changes.Identical with embodiment mono-, in the present embodiment, in carrying out the control procedure changing based on mobile terminal attitude, the order that also can be set to the many attitude variation in changing according to described default attitude repeatedly repeats.
Need explanation time, above-mentioned in step S205 and step S207, return to execution step S203 show relevant information in, can show different informations according to actual detection case, for instance, if the attitude variation of mobile terminal detected in step S205, do not meet default attitude variation, returning to execution step can point out during S203 user to control described mobile terminal to change and meet default attitude and change relevant information, if the performance of a different dive of user's execution detected in step S207, close default cervical vertebra action, while returning to execution step S203, can point out user to carry out the action of keeping strokes with default cervical vertebra.
It should be noted that, while showing different informations according to actual detection case in step S203, the screen that the variation that can follow the attitude of mobile terminal contains information described in controlling rotates accordingly.Conventionally, mobile terminal can make the screen of mobile terminal carry out accordingly the rotation of angle according to the mobile status of mobile terminal, so that user watches, for example, when mobile terminal being rotated to be to horizontal direction from vertical state as user, the content of screen display also can be accordingly be switched to horizontal screen state from perpendicular screen state, so that the watching of user.But in the present embodiment, temper the object of cervical vertebra in order to reach user, the display direction that we also can control screen makes user carry out corresponding cervical vertebra moving.For instance, if the default attitude of mobile terminal is changed to anticlockwise, when described mobile terminal is during to anticlockwise, be that mobile terminal is when rotating to be horizontal direction left from vertical state, now we are not switched to horizontal screen state from perpendicular screen state accordingly the content of screen display, but display mode while still keeping vertical state, now user is for the ease of watching content shown on screen, nature need to be by head deflection to the left, variation for other default attitude of mobile terminal, can set the mode of corresponding screen display equally, to reach user, temper the object of cervical vertebra.
In the above-described embodiments, first in mobile terminal, preset and the corresponding attitude rule change of cervical vertebra health, then pass through gyroscope, gravity sensors etc. judge the current attitude of described mobile terminal changes whether meet default attitude rule change, and by human body attitude recognition detection user, whether carry out the method that changes corresponding cervical vertebra action with preset posture, can the actual variation that detects user's attitude, reach monitor user ' and carry out the effect that changes the action that matches with default attitude, effectively prevention user is due to the uncomfortable problem on the long-time health that uses mobile terminal and user is caused.
The control method changing based on mobile terminal attitude that corresponding technical solution of the present invention provides, technical solution of the present invention also provides a kind of control device changing based on mobile terminal attitude, and described device comprises detecting unit and Tip element.
Described detecting unit, the attitude that is suitable for detecting described mobile terminal changes and whether meets default attitude and change, and it is relevant that described default attitude changes the action of grasping with health care of body.
Described Tip element, does not meet described default attitude variation if be suitable for the attitude variation of described mobile terminal, points out user to carry out with described default attitude and changes the action of mating.
In one embodiment of this invention, described detecting unit can comprise acquisition unit and the first judging unit.Described acquisition unit, is suitable for the attitude of mobile terminal described in data acquisition that attitude induction element gathers and changes; Described the first judging unit, is suitable for judging whether the attitude variation of described mobile terminal is to anticlockwise, to right rotation, upwards overturns, overturn, be moved to the left and rotate or move right and rotate downwards.
In another embodiment of the present invention, described device also comprises: the second judging unit, be suitable for by human body attitude, detecting to judge whether user has carried out the action of mating with described default attitude variation after Tip element prompting, if not, again point out user to carry out with described default attitude and change the action of mating.
Described device can also comprise display unit and adjustment unit.Described display unit, is suitable on the screen of described mobile terminal, showing with described default attitude changing the action of mating; Described adjustment unit, is suitable for changing according to the attitude of described mobile terminal, adjusts the display frame on screen.
Technical solution of the present invention also provides a kind of mobile terminal, and described mobile terminal comprises the control device changing based on mobile terminal attitude as above.Described mobile terminal can also comprise trigger element, and described trigger element is suitable for, after the normal use of described mobile terminal surpasses the very first time or every the second time, triggering described control device and starting working.The described very first time or the second time can be set accordingly according to user's actual service condition and the performance of mobile terminal, for instance, if user is playing games or is watching video, need eyes of user to keep for a long time a posture to pay close attention to screen, what the described very first time or the second time can arrange is relatively shorter, so that user can carry out health care of body behaviour in time, prevention owing to keeping for a long time posture to pay close attention to screen to the discomfort causing on health, for example, can be set to the scope of 30 minutes to 60 minutes, and when user does not need to pay close attention to screen for a long time, what the described very first time or the second time can arrange grows a bit relatively, in this no limit.
Although the present invention discloses as above, the present invention is not defined in this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, so protection scope of the present invention should be as the criterion with claim limited range.