CN110865720B - Human body posture reminding method and device - Google Patents

Human body posture reminding method and device Download PDF

Info

Publication number
CN110865720B
CN110865720B CN201810992027.1A CN201810992027A CN110865720B CN 110865720 B CN110865720 B CN 110865720B CN 201810992027 A CN201810992027 A CN 201810992027A CN 110865720 B CN110865720 B CN 110865720B
Authority
CN
China
Prior art keywords
weight
reminding
user
intelligent terminal
angle
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
Application number
CN201810992027.1A
Other languages
Chinese (zh)
Other versions
CN110865720A (en
Inventor
刘霖
李国盛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810992027.1A priority Critical patent/CN110865720B/en
Publication of CN110865720A publication Critical patent/CN110865720A/en
Application granted granted Critical
Publication of CN110865720B publication Critical patent/CN110865720B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Human Computer Interaction (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The disclosure relates to a human body posture reminding method and device, and belongs to the technical field of computers. The method comprises the following steps: acquiring the angle of the face of the user relative to the ground when the user views the intelligent terminal; acquiring the weight born by the backbone of the user according to the angle; acquiring the duration of the weight born by the vertebra; and reminding the user according to the weight and the time length. According to the intelligent terminal, when the spine of the user bears the weight for a long time, the user is reminded to adjust and check the human body posture of the intelligent terminal, the problem that if the user still bears the weight when walking, cervical vertebra fatigue can be caused when the user walks for a long time, and the effect of protecting the cervical vertebra is achieved.

Description

Human body posture reminding method and device
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a human body posture reminding method and device.
Background
Along with the popularization of various applications in intelligent terminals such as mobile phones, tablet computers and the like, the time for people to use the intelligent terminals is longer and longer. Health problems may result when the user is in a poor posture when using the smartphone.
In the related art, a wearable device such as a bracelet may monitor a period of time for which a user remains seated, and alert the user when the period of time exceeds a preset threshold.
Disclosure of Invention
In order to solve the problems in the related art, the present disclosure provides a human body posture reminding method and device.
According to a first aspect of embodiments of the present disclosure, there is provided a human posture reminding method, the method including:
acquiring the angle of the face of the user relative to the ground when the user views the intelligent terminal;
acquiring the weight born by the backbone of the user according to the angle;
acquiring the duration of the weight born by the vertebra;
and reminding the user according to the weight and the time length.
According to a second aspect of embodiments of the present disclosure, there is provided a human posture reminding device, the device comprising:
the acquisition module is configured to acquire the angle of the face of the user relative to the ground when the user views the intelligent terminal;
the acquisition module is further configured to acquire the weight born by the spine of the user according to the angle;
the acquisition module is further configured to acquire a length of time the vertebra bears the weight;
and the reminding module is configured to remind the user according to the weight and the duration obtained by the obtaining module.
According to a third aspect of embodiments of the present disclosure, there is provided a human posture reminding device, the device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring the angle of the face of the user relative to the ground when the user views the intelligent terminal;
acquiring the weight born by the backbone of the user according to the angle;
acquiring the duration of the weight born by the vertebra;
and reminding the user according to the weight and the time length.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the human posture alerting method as set forth in the first aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
the angle of the face of the user relative to the ground is obtained, the weight born by the spine of the user can be obtained according to the angle, the time length of the spine bearing the weight is obtained, and the user is reminded according to the weight and the time length, so that the user is reminded to adjust and check the human body posture of the intelligent terminal when the spine of the user bears the weight for a long time, the problem that if the user still bears the weight when walking, the cervical vertebra is tired is solved, and the effect of protecting the cervical vertebra is achieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic view of the correspondence between the angle of the head and the ground and the weight borne by the cervical vertebrae.
Fig. 2 is a flowchart illustrating a human posture reminding method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a human posture reminding method according to another exemplary embodiment.
Fig. 4 is a schematic diagram of a three-dimensional model of a face, shown according to another exemplary embodiment.
Fig. 5 is a schematic diagram illustrating three rotation modes according to another exemplary embodiment.
Fig. 6 is a schematic diagram showing a post-reminder human posture according to another exemplary embodiment.
Fig. 7 is a block diagram illustrating a human posture reminder according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating an apparatus for human gesture alerting in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
When the user lowers his head, the cervical vertebrae are subjected to a certain weight. Referring to fig. 1, a correspondence between the angle of the head and the ground and the weight borne by the cervical vertebrae is shown. As shown in fig. 1, when the angle is 90 °, the weight is 4.5-5.4kg (kg); when the angle is 75 degrees, the weight is 12kg; when the angle is 60 °, the weight is 18kg; when the angle is 45 deg., the weight is 22kg; when the angle is 30 deg., the weight is 27kg. Of course, the present embodiment is merely exemplified by the above data, and other correspondence relationship between the angle and the weight may be adopted in actual implementation, and the present embodiment is not limited thereto.
When a user looks down at a smart terminal such as a mobile phone, the spine may bear weight for a long time due to poor reading habits, and may easily cause fatigue of the spine. In the related art, the wearable device can remind the user to walk when the user sits for a long time, and because the user still looks at the intelligent device at a low head when walking, the cervical vertebra of the user is not at rest, and cervical vertebra fatigue still can be caused. In this embodiment, the intelligent terminal can acquire the weight born by the cervical vertebra, and also can acquire the duration of the weight born by the cervical vertebra, so that the user is reminded when the cervical vertebra bears the weight for a long time, and the effect of protecting the cervical vertebra is achieved.
Fig. 2 is a flowchart illustrating a human body posture reminding method according to an exemplary embodiment, which is applied to an intelligent terminal, and which includes the following steps as shown in fig. 2.
In step 201, when a user views the intelligent terminal, the angle of the face of the user relative to the ground is obtained.
In step 202, the weight carried by the user's spine is obtained from the angle.
In step 203, the length of time the spine is subjected to the weight is acquired.
In step 204, the user is alerted based on the weight and the length of time.
In summary, according to the human body posture reminding method provided by the disclosure, by acquiring the angle of the face of the user relative to the ground, the weight born by the spine of the user can be acquired according to the angle, and then the length of the spine bearing the weight is acquired, so that the user is reminded according to the weight and the length of the spine, when the spine of the user bears the weight for a long time, the user is reminded to adjust and view the human body posture of the intelligent terminal, the problem that the user is reminded to walk when the user sits for a long time by the wearable device, if the user still bears the weight when walking, cervical vertebra fatigue can be caused is solved, and the effect of protecting the cervical vertebra is achieved.
Fig. 3 is a flowchart illustrating a human body posture reminding method according to another exemplary embodiment, which is applied to an intelligent terminal, and which includes the following steps as shown in fig. 3.
In step 301, a first angle of the smart terminal with respect to the ground is obtained while the user views the smart terminal.
In this embodiment, the smart device may acquire the first angle when the user starts to use the smart terminal, that is, acquire the first angle when the user lights up the screen.
When the first angle is obtained, sensing devices such as a gyroscope and an acceleration sensor are arranged in the intelligent terminal, and the intelligent terminal can calculate the first angle according to at least one of the gyroscope and the acceleration sensor, which is not described herein.
It should be noted that, the attitude of the intelligent terminal in the air is three-dimensional, and in this embodiment, an angle of the intelligent terminal relative to the vertical direction may be taken, and the angle is used as a first angle of the intelligent terminal relative to the ground.
In step 302, a second angle of the face relative to the intelligent terminal is obtained.
The method comprises the following two substeps of:
in sub-step 3021, a face image of a face is acquired by a front-facing camera in the intelligent terminal.
The intelligent terminal can control the front-facing camera to shoot when the user looks at the intelligent terminal, and the picture shot by the front-facing camera contains a face image because the user needs the face to face the intelligent terminal when looking at the intelligent terminal.
The shooting is not performed by pressing the shooting button by the user, but is performed directly without the user's operation, so as to avoid disturbing the user. In addition, the face image is used for the intelligent terminal to calculate the second angle, which is not useful for the user, so the intelligent terminal can delete the face image after calculating the second angle and does not store the face image in the intelligent terminal, thereby saving the storage space of the intelligent terminal.
In sub-step 3022, a second angle of the face with respect to the intelligent terminal is determined from the face image.
There are many algorithms for the intelligent terminal to calculate the second angle, and this embodiment is exemplified by one of them.
The intelligent terminal acquires a three-dimensional face model of a user and each characteristic point on a face image; setting a three-dimensional model of a human face to be positioned at an initial position; rotating the three-dimensional model of the human face until the two-dimensional projection of the three-dimensional feature points on the three-dimensional model of the human face is overlapped with the feature points on the human face image as much as possible; and calculating a second angle according to the initial position and the angle rotated by the three-dimensional model of the face. The feature points may be pixel positions of eyes, nose, mouth, etc.
When the three-dimensional model of the human face is rotated, 3 parameters can be defined, namely an up-down rotation angle represented by pitch, a left-right rotation angle represented by yaw and an in-plane rotation angle represented by roll. Referring to fig. 4 and 5, fig. 4 shows a three-dimensional model of a face, and fig. 5 shows three rotation modes of the three-dimensional model of a face.
It should be noted that, the pose of the face in the air is three-dimensional, and in this embodiment, the angle of the face in the vertical direction relative to the intelligent terminal may be taken as the second angle of the face relative to the intelligent terminal.
It should be noted that, the intelligent terminal may acquire the first angle first and then acquire the second angle; or the second angle can be acquired first and then the first angle can be acquired; the first angle and the second angle may also be acquired simultaneously, and the sequence of execution of steps 301 and 302 is not limited in this embodiment.
In step 303, the angle of the face relative to the ground is obtained according to the first angle and the second angle.
Assuming that the first angle is 70 degrees, if the face rotates upwards relative to the intelligent terminal and the rotation angle is 10 degrees, the angle of the face relative to the ground is=70+10=80 degrees; if the face rotates downward relative to the intelligent terminal and the rotation angle is 10 degrees, the angle of the face relative to the ground is=70-10=60 degrees.
In step 304, the weight carried by the user's spine is obtained from the angle.
The intelligent terminal can acquire the corresponding relation shown in fig. 1, and find the weight corresponding to the angle in the corresponding relation.
In step 305, the length of time the spine is subjected to the weight is obtained.
If the user keeps a posture unchanged when looking at the intelligent terminal, the weight born by the vertebra is unchanged, and at the moment, the intelligent terminal needs to acquire the duration of the weight born by the vertebra; if the user changes the posture while viewing the smart terminal, the spine bears various weights, at which time the smart terminal needs to acquire the length of time the spine bears each weight.
The method comprises the following three substeps of:
in sub-step 3051, the weight borne by the vertebra is acquired at predetermined time intervals.
The duration of the predetermined time interval may be an experimental value or an empirical value, or may be calculated according to a predetermined algorithm, which is not limited in this embodiment.
In one possible implementation, the predetermined time interval may be 30 seconds.
When the intelligent terminal acquires one weight born by the vertebra for the first time, the length of time for the vertebra to bear the weight is 0; when the intelligent terminal does not acquire the weight born by the vertebra for the first time, step 3052 or 3053 is performed.
In sub-step 3052, when the current weight acquired is the same as the previous weight acquired, the length of time the vertebra is subjected to the weight is updated according to the predetermined time interval.
For example, when the weight obtained by the intelligent terminal for the fourth time is the same as the weight obtained by the intelligent terminal for the third time, determining that the duration of bearing the weight by the vertebra is the duration of three preset time intervals; when the weight obtained by the intelligent terminal for the fifth time is the same as the weight obtained by the intelligent terminal for the fourth time, determining that the duration of the vertebra bearing the weight is the duration of four preset time intervals, and so on.
In sub-step 3053, when the weight acquired this time is different from the weight acquired last time, the duration of the vertebra bearing the weight acquired last time is kept unchanged, and the duration of the vertebra bearing the weight acquired this time is updated according to a predetermined time interval.
For example, when the weight obtained by the intelligent terminal for the fifth time is different from the weight obtained by the intelligent terminal for the previous time, determining that the duration of the vertebra bearing the weight obtained by the previous time is the duration calculated when the weight is obtained for the fourth time, namely, the duration of three preset time intervals; the length of time that the vertebra bears the weight acquired this time is the length of a preset time interval.
In step 306, a reminder weight is calculated based on the weight and the duration.
When a weight exists, calculating a reminding weight according to the weight and the duration, wherein the method comprises the following steps: and multiplying the weight by the time length to obtain a reminding weight. When at least two weights exist, calculating a reminding weight according to the weights and the time length, wherein the method comprises the following steps: and multiplying each weight by the time corresponding to the weight, and adding the obtained products to obtain the reminding weight.
In step 307, it is detected whether the alert weight exceeds a first threshold.
The first threshold may be an experimental value or an empirical value, or may be calculated according to a predetermined algorithm, which is not limited in this embodiment.
When the alert weight exceeds the first threshold, step 308 is performed; when the alert weight does not exceed the first threshold, step 301 is continued.
In step 308, when the alert weight exceeds the first threshold, the user is alerted.
In this embodiment, the intelligent terminal may remind the terminal in any form, for example, a voice prompt, a popup prompt, a bell sound prompt, a vibration prompt, a flashing prompt of an indicator light, a status bar prompt, and the like, which is not limited in this embodiment. In addition to setting the reminding mode, the intelligent terminal can set the reminding duration, and the embodiment is not limited.
The intelligent terminal can also determine a reminding mode according to the application type of the application being checked by the user, so that the reminding mode with the least influence on the user is selected when the user does not want to be disturbed, and the disturbance on the user is avoided; and when the user can be disturbed, a reminding mode with the best reminding effect is selected so as to ensure the reminding effect. At this time, the user is reminded, which includes the following three sub-steps:
in sub-step 3081, the application type of the application currently running in the foreground in the intelligent terminal is obtained.
The intelligent terminal is pre-stored with the corresponding relation between the application and the application type. For example, the application types may include a disturbed-disabled type and a disturbed-allowed type, and the game application and the video application belong to the disturbed-disabled type and the electronic book application belongs to the disturbed-allowed type. Of course, the intelligent terminal may also set other application types, which is not limited in this embodiment.
In sub-step 3082, a reminder for the user is determined based on the application type.
The intelligent terminal can preset the corresponding relation between the application type and the reminding mode, for example, the disturbed type is forbidden to correspond to the reminding mode of vibration reminding, and the disturbed type is allowed to correspond to the reminding mode of popup reminding.
If the application currently running in the foreground is a game application, the intelligent terminal determines that the reminding mode is vibration reminding; if the application currently running in the foreground is an electronic book application, the intelligent terminal determines that the reminding mode is popup reminding.
In substep 3083, the user is alerted in an alert manner.
Referring to fig. 6, a schematic diagram of a human body posture after reminding is shown, wherein a left side view is the human body posture of a user before reminding, and a right side view is the human body posture of the user after reminding.
After reminding the user, the intelligent device clears the reminding weight immediately, and step 301 is executed again. Or after reminding the user, the intelligent device clears the reminding weight value after waiting for a period of time, and step 301 is executed again. Or the intelligent terminal can calculate the change weight, and gradually counteract the reminding weight by using the change weight when the human body posture is standard, namely, the reminding weight is reduced when the human body posture is standard; when the human body posture is not standard, the reminding weight is gradually increased by utilizing the change weight, so that the fatigue degree of the cervical vertebra is reflected by the reminding weight, and the accuracy of the reminding weight is improved.
In step 309, after alerting the user, the weight of the user's spine is again acquired.
The process of acquiring the weight born by the vertebra is the same as that of steps 301-304, and will not be described here.
In step 310, a variation weight is calculated based on the weight and the length of time the spine is subjected to the weight.
The flow of calculating the offset weight is the same as the flow of calculating the reminding weight, and will not be described here.
The intelligent terminal compares the acquired weight with a second threshold value, and when the weight exceeds the second threshold value, the intelligent terminal is determined to calculate an increased change weight; when the weight does not exceed the second threshold, it is determined that the intelligent terminal calculates a reduced change weight. The second threshold may be an experimental value or an empirical value, or may be calculated according to a predetermined algorithm, which is not limited in this embodiment.
In step 311, when the weight does not exceed the second threshold, the reminding weight is updated by using the difference of the reminding weight minus the change weight.
In step 312, when the weight exceeds the second threshold, the alert weight is updated with the sum of the alert weight plus the change weight.
In summary, according to the human body posture reminding method provided by the disclosure, by acquiring the angle of the face of the user relative to the ground, the weight born by the spine of the user can be acquired according to the angle, and then the length of the spine bearing the weight is acquired, so that the user is reminded according to the weight and the length of the spine, when the spine of the user bears the weight for a long time, the user is reminded to adjust and view the human body posture of the intelligent terminal, the problem that the user is reminded to walk when the user sits for a long time by the wearable device, if the user still bears the weight when walking, cervical vertebra fatigue can be caused is solved, and the effect of protecting the cervical vertebra is achieved.
The reminding mode is determined according to the application type of the application which is being checked by the user, so that the reminding mode with the least influence on the user is selected when the user does not want to be disturbed, and the disturbance on the user is avoided; and when the user can be disturbed, a reminding mode with the best reminding effect is selected so as to ensure the reminding effect.
The change weight is calculated, and when the human body posture is standard, the change weight is utilized to gradually offset the reminding weight, namely the reminding weight is reduced when the human body posture is standard; when the human body posture is not standard, the reminding weight is gradually increased by utilizing the change weight, so that the fatigue degree of the cervical vertebra is reflected by the reminding weight, and the accuracy of the reminding weight is improved.
Fig. 7 is a block diagram illustrating a human body posture reminding device according to an exemplary embodiment, which is applied to an intelligent terminal, as shown in fig. 7, and includes: an acquisition module 710 and a reminder module 720.
The acquiring module 710 is configured to acquire an angle of a face of a user relative to the ground when the user views the intelligent terminal;
the acquisition module 710 is further configured to acquire the weight borne by the user's spine as a function of angle;
the acquisition module 710 is further configured to acquire a length of time that the vertebra is subjected to weight;
the reminding module 720 is configured to remind the user according to the weight and the duration obtained by the obtaining module 710.
To sum up, the human posture reminding device provided by the disclosure can obtain the weight born by the spine of the user according to the angle of the face of the user relative to the ground, and then obtain the duration of the weight born by the spine, and remind the user according to the weight and the duration, so that the user can be reminded to adjust and view the human posture of the intelligent terminal when the spine of the user bears the weight for a long time, the problem that the cervical vertebra is tired when the user walks due to the fact that the user still bears the weight when the user walks is solved, and the effect of protecting the cervical vertebra is achieved.
Referring to fig. 7, another exemplary embodiment of the present disclosure shows a block diagram of a human body posture reminding device, which is applied to an intelligent terminal, and includes: an acquisition module 710 and a reminder module 720.
The acquiring module 710 is configured to acquire an angle of a face of a user relative to the ground when the user views the intelligent terminal;
the acquisition module 710 is further configured to acquire the weight borne by the user's spine as a function of angle;
the acquisition module 710 is further configured to acquire a length of time that the vertebra is subjected to weight;
the reminding module 720 is configured to remind the user according to the weight and the duration obtained by the obtaining module 710.
In one exemplary embodiment of the present disclosure, the reminder module 720 is further configured to: calculating a reminding weight according to the weight and the duration; detecting whether the reminding weight value exceeds a first threshold value; and when the reminding weight value exceeds a first threshold value, reminding the user.
In one exemplary embodiment of the present disclosure, the reminder module 720 is further configured to: calculating a change weight according to the weight and the duration of the weight bearing of the vertebra; when the weight does not exceed the second threshold value, updating the reminding weight by using the difference value of the reminding weight minus the change weight; when the weight exceeds a second threshold, the sum of the reminding weight and the change weight is used for updating the reminding weight.
In one exemplary embodiment of the present disclosure, the reminder module 720 is further configured to: when one weight exists, multiplying the weight by the time length to obtain a reminding weight; when at least two weights exist, multiplying each weight by the time corresponding to the weight, and adding the obtained products to obtain the reminding weight.
In one exemplary embodiment of the present disclosure, the reminder module 720 is further configured to: acquiring an application type of an application currently running in a foreground in an intelligent terminal; determining a reminding mode for a user according to the application type; and reminding the user according to a reminding mode.
In an exemplary embodiment of the present disclosure, the acquisition module 710 is further configured to: acquiring the weight born by the vertebra at preset time intervals; when the weight acquired at this time is the same as the weight acquired at the previous time, updating the duration of the weight born by the vertebra according to a preset time interval; when the weight acquired at this time is different from the weight acquired at the previous time, keeping the duration of the vertebra bearing the weight acquired at the previous time unchanged, and updating the duration of the vertebra bearing the weight acquired at this time according to a preset time interval.
In an exemplary embodiment of the present disclosure, the acquisition module 710 is further configured to: acquiring a first angle of the intelligent terminal relative to the ground; acquiring a second angle of the face relative to the intelligent terminal; and acquiring the angle of the face relative to the ground according to the first angle and the second angle.
In an exemplary embodiment of the present disclosure, the acquisition module 710 is further configured to: acquiring a face image of a face through a front camera in the intelligent terminal; and determining a second angle of the face relative to the intelligent terminal according to the face image.
To sum up, the human posture reminding device provided by the disclosure can obtain the weight born by the spine of the user according to the angle of the face of the user relative to the ground, and then obtain the duration of the weight born by the spine, and remind the user according to the weight and the duration, so that the user can be reminded to adjust and view the human posture of the intelligent terminal when the spine of the user bears the weight for a long time, the problem that the cervical vertebra is tired when the user walks due to the fact that the user still bears the weight when the user walks is solved, and the effect of protecting the cervical vertebra is achieved.
The reminding mode is determined according to the application type of the application which is being checked by the user, so that the reminding mode with the least influence on the user is selected when the user does not want to be disturbed, and the disturbance on the user is avoided; and when the user can be disturbed, a reminding mode with the best reminding effect is selected so as to ensure the reminding effect.
The change weight is calculated, and when the human body posture is standard, the change weight is utilized to gradually offset the reminding weight, namely the reminding weight is reduced when the human body posture is standard; when the human body posture is not standard, the reminding weight is gradually increased by utilizing the change weight, so that the fatigue degree of the cervical vertebra is reflected by the reminding weight, and the accuracy of the reminding weight is improved.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
An exemplary embodiment of the present disclosure provides a human body posture reminding device, capable of implementing the human body posture reminding method provided by the present disclosure, the human body posture reminding device includes: a processor, a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring the angle of the face of the user relative to the ground when the user views the intelligent terminal;
acquiring the weight born by the backbone of the user according to the angle;
acquiring the duration of the weight bearing of the vertebra;
and reminding the user according to the weight and the time length.
Fig. 8 is a block diagram illustrating an apparatus 800 for human gesture alerting in accordance with an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 8, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of a mobile terminal, causes the mobile terminal to perform the above-described human posture alert method.
An exemplary embodiment of the present disclosure provides a computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which are loaded and executed by the processor to implement the human posture alerting method as described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A human posture reminding method, characterized in that the method comprises:
acquiring a first angle of the intelligent terminal relative to the ground when a user views the intelligent terminal;
acquiring a face image of a face through a front camera in the intelligent terminal;
acquiring a three-dimensional face model of the user and each three-dimensional feature point on the face image, and setting the three-dimensional face model to be positioned at an initial position;
rotating the three-dimensional face model until the two-dimensional projection of the three-dimensional feature points on the three-dimensional face model coincides with the three-dimensional feature points on the face image;
calculating a second angle of the face relative to the intelligent terminal according to the initial position and the angle rotated by the three-dimensional face model;
acquiring the angle of the face relative to the ground according to the first angle and the second angle;
acquiring the weight born by the backbone of the user according to the angle;
acquiring the duration of the weight born by the vertebra;
calculating a reminding weight according to the weight and the duration; when a weight exists, determining the product of the weight and the duration as the reminding weight; when at least two types of weights exist, determining a weighted sum of products of each type of weight and a time length corresponding to the weight as the reminding weight, wherein the number of the weights is related to the posture change condition when the user views the intelligent terminal;
detecting whether the reminding weight exceeds a first threshold value;
when the reminding weight exceeds the first threshold value, reminding the user;
after reminding the user, acquiring the weight born by the backbone of the user again;
calculating a variation weight according to the weight and the duration of the vertebra bearing the weight;
when the weight does not exceed a second threshold value, updating the reminding weight value by utilizing the difference value of the reminding weight value minus the change weight value;
and when the weight exceeds the second threshold value, updating the reminding weight by using the sum of the reminding weight and the change weight.
2. The method according to claim 1, wherein the method further comprises:
acquiring an application type of an application currently running in a foreground in the intelligent terminal;
determining a reminding mode for the user according to the application type;
and reminding the user according to the reminding mode.
3. The method of claim 1, wherein the acquiring the length of time the vertebra bears the weight comprises:
acquiring the weight born by the vertebra at preset time intervals;
when the weight acquired at this time is the same as the weight acquired at the previous time, updating the duration of the vertebra bearing the weight according to the preset time interval;
when the weight acquired at this time is different from the weight acquired at the previous time, keeping the duration of the vertebra bearing the weight acquired at the previous time unchanged, and updating the duration of the vertebra bearing the weight acquired at this time according to the preset time interval.
4. A human posture reminder, the device comprising:
the acquisition module is configured to acquire a first angle of the intelligent terminal relative to the ground when a user views the intelligent terminal;
the acquisition module is further configured to acquire a face image of a face through a front camera in the intelligent terminal;
the method comprises the steps of acquiring a three-dimensional face model of a user and three-dimensional feature points on a face image, and setting the three-dimensional face model to be located at an initial position; rotating the three-dimensional face model until the two-dimensional projection of the three-dimensional feature points on the three-dimensional face model coincides with the three-dimensional feature points on the face image; a module for calculating a second angle of the face relative to the intelligent terminal according to the initial position and the angle rotated by the three-dimensional face model;
the acquisition module is further configured to acquire the weight born by the spine of the user according to the angle;
the acquisition module is further configured to acquire a length of time the vertebra bears the weight;
the reminding module is configured to calculate a reminding weight according to the weight and the duration obtained by the obtaining module; when a weight exists, determining the product of the weight and the duration as the reminding weight; when at least two types of weights exist, determining a weighted sum of products of each type of weight and a time length corresponding to the weight as the reminding weight, wherein the number of the weights is related to the posture change condition when the user views the intelligent terminal; detecting whether the reminding weight exceeds a first threshold value; when the reminding weight exceeds the first threshold value, reminding the user;
the reminding module is further configured to acquire the weight born by the spine of the user again after reminding the user; calculating a change weight according to the weight and the duration of the weight bearing of the vertebra; when the weight does not exceed the second threshold value, updating the reminding weight by using the difference value of the reminding weight minus the change weight; when the weight exceeds a second threshold, the sum of the reminding weight and the change weight is used for updating the reminding weight.
5. The apparatus of claim 4, wherein the reminder module is further configured to:
acquiring an application type of an application currently running in a foreground in the intelligent terminal;
determining a reminding mode for the user according to the application type;
and reminding the user according to the reminding mode.
6. The apparatus of claim 4, wherein the acquisition module is further configured to:
acquiring the weight born by the vertebra at preset time intervals;
when the weight acquired at this time is the same as the weight acquired at the previous time, updating the duration of the vertebra bearing the weight according to the preset time interval;
when the weight acquired at this time is different from the weight acquired at the previous time, keeping the duration of the vertebra bearing the weight acquired at the previous time unchanged, and updating the duration of the vertebra bearing the weight acquired at this time according to the preset time interval.
7. A human posture reminder, the device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a first angle of the intelligent terminal relative to the ground when a user views the intelligent terminal;
acquiring a face image of a face through a front camera in the intelligent terminal;
acquiring a three-dimensional face model of the user and each three-dimensional feature point on the face image, and setting the three-dimensional face model to be positioned at an initial position;
rotating the three-dimensional face model until the two-dimensional projection of the three-dimensional feature points on the three-dimensional face model coincides with the three-dimensional feature points on the face image;
calculating a second angle of the face relative to the intelligent terminal according to the initial position and the angle rotated by the three-dimensional face model;
acquiring the angle of the face relative to the ground according to the first angle and the second angle;
acquiring the weight born by the backbone of the user according to the angle;
acquiring the duration of the weight born by the vertebra;
calculating a reminding weight according to the weight and the duration; when a weight exists, determining the product of the weight and the duration as the reminding weight; when at least two types of weights exist, determining a weighted sum of products of each type of weight and a time length corresponding to the weight as the reminding weight, wherein the number of the weights is related to the posture change condition when the user views the intelligent terminal;
detecting whether the reminding weight exceeds a first threshold value;
when the reminding weight exceeds the first threshold value, reminding the user;
after reminding the user, acquiring the weight born by the backbone of the user again;
calculating a variation weight according to the weight and the duration of the vertebra bearing the weight;
when the weight does not exceed a second threshold value, updating the reminding weight value by utilizing the difference value of the reminding weight value minus the change weight value;
and when the weight exceeds the second threshold value, updating the reminding weight by using the sum of the reminding weight and the change weight.
8. A computer-readable storage medium, wherein at least one program is stored in the storage medium, and the at least one program is loaded and executed by a processor to implement the human posture reminding method according to any one of claims 1 to 3.
CN201810992027.1A 2018-08-28 2018-08-28 Human body posture reminding method and device Active CN110865720B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810992027.1A CN110865720B (en) 2018-08-28 2018-08-28 Human body posture reminding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810992027.1A CN110865720B (en) 2018-08-28 2018-08-28 Human body posture reminding method and device

Publications (2)

Publication Number Publication Date
CN110865720A CN110865720A (en) 2020-03-06
CN110865720B true CN110865720B (en) 2023-04-28

Family

ID=69651447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810992027.1A Active CN110865720B (en) 2018-08-28 2018-08-28 Human body posture reminding method and device

Country Status (1)

Country Link
CN (1) CN110865720B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356079A (en) * 2021-12-16 2022-04-15 歌尔光学科技有限公司 Wearable device control method and device, wearable device and medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461019B (en) * 2014-12-31 2017-12-19 华勤通讯技术有限公司 Bow the system and method for prompting
CN106933338B (en) * 2015-12-29 2020-01-17 中国移动通信集团公司 Reading state reminding method and device
CN105997090A (en) * 2016-04-29 2016-10-12 乐视控股(北京)有限公司 Method and device for head-neck posture monitoring
CN106510719B (en) * 2016-09-30 2023-11-28 歌尔股份有限公司 User gesture monitoring method and wearable device
CN106933358A (en) * 2017-02-28 2017-07-07 宇龙计算机通信科技(深圳)有限公司 A kind of cervical vertebra guard method, device and intelligent helmet

Also Published As

Publication number Publication date
CN110865720A (en) 2020-03-06

Similar Documents

Publication Publication Date Title
EP3179711B1 (en) Method and apparatus for preventing photograph from being shielded
EP2927787B1 (en) Method and device for displaying picture
US20170034409A1 (en) Method, device, and computer-readable medium for image photographing
US20160065785A1 (en) Methods and apparatuses for generating photograph
EP3154270A1 (en) Method and device for adjusting and displaying an image
EP3162284A1 (en) Communication method, apparatus and system for wearable device
US11361586B2 (en) Method for sending warning information, storage medium and terminal
EP3200483A1 (en) Method and device for acquiring location information
US20170006216A1 (en) Method and device for acquiring iris image
CN107944367B (en) Face key point detection method and device
CN106503682B (en) Method and device for positioning key points in video data
US11194297B2 (en) Method and apparatus for controlling alarm clock
EP3328062A1 (en) Photo synthesizing method and device
US11024264B2 (en) Controlling field of view
CN108154090B (en) Face recognition method and device
CN110865720B (en) Human body posture reminding method and device
US20160139770A1 (en) Method for presenting prompt on mobile terminal and the same mobile terminal
US10679026B2 (en) Method and device for controlling fingerprint sensor and storage medium
CN108234888B (en) Image processing method and mobile terminal
CN107948876B (en) Method, device and medium for controlling sound box equipment
CN111373730B (en) Panoramic shooting method and terminal
CN107896277B (en) Method and device for setting alarm clock reminding mode and computer readable storage medium
CN107122356B (en) Method and device for displaying face value and electronic equipment
US9619016B2 (en) Method and device for displaying wallpaper image on screen
CN110913074B (en) Sight distance adjusting method and device, mobile equipment and storage medium

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