CN109938720B - Heart rate-based reminding method, wearable device and computer-readable storage medium - Google Patents

Heart rate-based reminding method, wearable device and computer-readable storage medium Download PDF

Info

Publication number
CN109938720B
CN109938720B CN201910256520.1A CN201910256520A CN109938720B CN 109938720 B CN109938720 B CN 109938720B CN 201910256520 A CN201910256520 A CN 201910256520A CN 109938720 B CN109938720 B CN 109938720B
Authority
CN
China
Prior art keywords
heart rate
preset
user
wearable device
threshold value
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
CN201910256520.1A
Other languages
Chinese (zh)
Other versions
CN109938720A (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.)
Guangdong People's Internet E Commerce Co ltd
Original Assignee
Guangdong People's Internet E Commerce 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 Guangdong People's Internet E Commerce Co ltd filed Critical Guangdong People's Internet E Commerce Co ltd
Priority to CN201910256520.1A priority Critical patent/CN109938720B/en
Publication of CN109938720A publication Critical patent/CN109938720A/en
Application granted granted Critical
Publication of CN109938720B publication Critical patent/CN109938720B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a reminding method based on heart rate, wearable equipment and a computer readable storage medium, wherein the method comprises the following steps: when the corresponding time length of the user in the sitting posture state is detected to be longer than the preset sedentary time length, detecting a first heart rate of the user; if the first heart rate is smaller than a preset heart rate threshold value, calculating a first heart rate difference value between the first heart rate and the preset heart rate threshold value; if the first heart rate difference is larger than a preset difference value, detecting a second heart rate of the user after a first preset time length; and if the second heart rate is greater than the preset heart rate threshold value, outputting prompt information according to a preset prompt mode so as to prompt the user to move according to the prompt information. According to the method and the device, the accuracy rate of reminding the user of moving by outputting the prompt information by the wearable device when the user is in a sedentary state is improved.

Description

Heart rate-based reminding method, wearable device and computer-readable storage medium
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a reminding method based on heart rate, wearable equipment and a computer readable storage medium.
Background
Present health based on wrist is reminded mainly is the sedentary warning of fixed time, through calculating the time that the user sat quietly promptly, and it is longer when the user sits quietly, and when the user was in the state of sedentary, the user need be moved can be reminded to the wearable equipment that the user wore. However, each user has many situations of sedentariness every day, the sitting postures of different users are different, the sitting postures of the same user at different times are different, and the sedentariness duration of the user can be calculated again by the wearable device only by the user slightly moving in the process of calculating the sedentariness duration of the user, so that the accuracy rate of the wearable device outputting prompt information to remind the user of movement is low after the user sits for a long time.
Disclosure of Invention
The invention mainly aims to provide a reminding method based on heart rate, wearable equipment and a computer readable storage medium, and aims to solve the technical problem that the accuracy rate of reminding a user of exercise by outputting prompt information by the wearable equipment is low after the user sits for a long time.
In order to achieve the above object, the present invention provides a heart rate based reminding method, which comprises:
when the corresponding time length of the user in the sitting posture state is detected to be longer than the preset sedentary time length, detecting a first heart rate of the user;
if the first heart rate is smaller than a preset heart rate threshold value, calculating a first heart rate difference value between the first heart rate and the preset heart rate threshold value;
if the first heart rate difference is larger than a preset difference value, detecting a second heart rate of the user after a first preset time length;
and if the second heart rate is greater than the preset heart rate threshold value, outputting prompt information according to a preset prompt mode so as to prompt the user to move according to the prompt information.
Optionally, if the first heart rate difference is greater than a preset difference, after the step of detecting the second heart rate of the user after a first preset time period, the method further includes:
if the second heart rate is smaller than or equal to the preset heart rate threshold value, calculating a second heart rate difference value between the second heart rate and the preset heart rate threshold value;
if the second heart rate difference is smaller than the first heart rate difference, detecting a third heart rate of the user after a second preset time period, wherein the second preset time period is smaller than the first preset time period;
and if the second heart rate difference is greater than or equal to the first heart rate difference, detecting a third heart rate of the user after the first preset time length.
Optionally, if the second heart rate is greater than the preset heart rate threshold, outputting a prompt message according to a preset prompting mode, so as to prompt the user to move according to the prompt message, and after the step of:
detecting a fourth heart rate of the user, and judging whether the fourth heart rate is greater than or equal to the preset heart rate threshold value;
and if the fourth heart rate is greater than or equal to the preset heart rate threshold value, increasing the detection frequency of detecting the heart rate of the user and/or increasing the output frequency of outputting prompt information.
Optionally, after the step of detecting a fourth heart rate of the user and determining whether the fourth heart rate is greater than or equal to the preset heart rate threshold, the method further includes:
if the fourth heart rate is smaller than the preset heart rate threshold value, calculating a third heart rate difference value between the fourth heart rate and the preset heart rate threshold value;
and determining the trigger time of the next trigger detection instruction according to the third heart rate difference value.
Optionally, before the step of calculating a first heart rate difference between the first heart rate and a preset heart rate threshold value if the first heart rate is smaller than the preset heart rate threshold value, the method further includes:
acquiring preset number of physical sign sample data corresponding to a sedentary state, and determining a mapping relation between the physical sign data and a heart rate threshold according to the physical sign sample data;
and acquiring sign data of the user, and determining the preset heart rate threshold value according to the sign data of the user based on the mapping relation.
Optionally, before the step of calculating a first heart rate difference between the first heart rate and a preset heart rate threshold value if the first heart rate is smaller than the preset heart rate threshold value, the method further includes:
acquiring current time, and determining a time period and/or season corresponding to the current time;
and determining the preset heart rate threshold according to the time period and/or season corresponding to the current time.
Optionally, the method for reminding based on heart rate is applied to a wearable device, and after it is detected that the corresponding time duration of the user in the sitting posture state is longer than the preset sedentary time duration, before the step of detecting the first heart rate of the user, the method further includes:
when the fact that the distance between the wearable device and the obstacle is smaller than a preset distance is detected, determining that the user state is a sitting posture state;
and starting a timer to calculate the time length corresponding to the sitting posture state of the user.
Optionally, after the step of calculating a first heart rate difference between the first heart rate and a preset heart rate threshold if the first heart rate is smaller than the preset heart rate threshold, the method further includes:
and if the first heart rate difference value is smaller than or equal to the preset difference value, increasing the detection frequency for detecting the heart rate of the user.
In addition, to achieve the above object, the present invention further provides a wearable device, which includes a memory, a processor, and a heart rate based reminder program stored in the memory and executable on the processor, wherein the heart rate based reminder program, when executed by the processor, implements the steps of the heart rate based reminder method as described above.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium, on which a heart rate based reminder program is stored, and the heart rate based reminder program when executed by a processor implements the steps of the heart rate based reminder method as described above.
According to the method and the device, when the corresponding time length of the sitting posture state of the user is detected to be longer than the preset sedentary time length, namely the sedentary state of the user is detected, the first heart rate of the user is detected, when the first heart rate is smaller than the preset heart rate threshold value, the first heart rate difference value between the first heart rate and the preset heart rate threshold value is calculated, if the first heart rate difference value is larger than the preset difference value, the second heart rate of the user is detected after the first preset time length, if the second heart rate of the user is larger than the preset heart rate threshold value, the prompting information is output according to the preset prompting mode to prompt the user to move, the user is prompted to move according to the heart rate of the user, the user is not prompted to move according to the sedentary time length of the user, and the accuracy rate of the wearable device for prompting the user to move by outputting the prompting information when the sedentary state of the user is detected.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic hardware structure diagram of an implementation manner of a wearable device according to an embodiment of the present invention;
fig. 2 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 3 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 4 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 5 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application;
FIG. 6 is a schematic flow chart illustrating a first embodiment of a heart rate-based reminder method according to the invention;
FIG. 7 is a flowchart illustrating a second embodiment of a heart rate-based reminder method according to the present invention;
fig. 8 is a flowchart illustrating a heart rate-based reminder method according to a third embodiment of the present invention.
The implementation, functional features and advantages of the present invention will be described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The wearable device provided by the embodiment of the invention comprises a smart bracelet, a smart watch, a smart phone and other mobile terminals. With the continuous development of screen technologies, screen forms such as flexible screens and folding screens appear, and mobile terminals such as smart phones can also be used as wearable devices. The wearable device provided in the embodiment of the present invention may include: an RF (Radio Frequency) unit, a WiFi module, an audio output unit, an a/V (audio/video) input unit, a sensor, a display unit, a user input unit, an interface unit, a memory, a processor, and a power supply.
In the following description, a wearable device will be taken as an example, please refer to fig. 1, which is a schematic diagram of a hardware structure of a wearable device for implementing various embodiments of the present invention, where the wearable device 100 may include: RF (Radio Frequency) unit 101, wiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the wearable device structure shown in fig. 1 does not constitute a limitation of the wearable device, and that the wearable device may include more or fewer components than shown, or combine certain components, or a different arrangement of components.
The following describes the various components of the wearable device in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit information or during a call, receive and transmit a signal, specifically, the radio frequency unit 101 may transmit uplink information to a base station, and may also receive downlink information transmitted by the base station, and then transmit the downlink information to the processor 110 of the wearable device for processing, where the downlink information transmitted by the base station to the radio frequency unit 101 may be generated according to the uplink information transmitted by the radio frequency unit 101, or may be actively pushed to the radio frequency unit 101 after detecting that information of the wearable device is updated, for example, after detecting that a geographic location of the wearable device changes, the base station may transmit a message notification of the change of the geographic location to the radio frequency unit 101 of the wearable device, and after receiving the message notification, the radio frequency unit 101 may transmit the message notification to the processor 110 of the wearable device for processing, and the processor 110 of the wearable device may control the message notification to be displayed on the display panel 1061 of the wearable device; typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with a network and other devices through wireless communication, which may specifically include: the server may push a message notification of resource update to the wearable device through wireless communication to remind a user of updating the application program. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
In one embodiment, the wearable device 100 may access an existing communication network by inserting a SIM card.
In another embodiment, the wearable device 100 may be configured with an esim card (Embedded-SIM) to access an existing communication network, and by using the esim card, the internal space of the wearable device may be saved, and the thickness may be reduced.
It is understood that although fig. 1 shows the radio frequency unit 101, it is understood that the radio frequency unit 101 does not belong to the essential constituents of the wearable device, and can be omitted entirely as required within the scope not changing the essence of the invention. The wearable device 100 may implement a communication connection with other devices or a communication network through the wifi module 102 alone, which is not limited by the embodiments of the present invention.
WiFi belongs to short-distance wireless transmission technology, and the wearable device can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband Internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the wearable device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the wearable device 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the wearable device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
In one embodiment, the wearable device 100 includes one or more cameras, and by turning on the cameras, capturing of images can be realized, functions such as photographing and recording can be realized, and the positions of the cameras can be set as required.
The wearable device 100 also includes at least one sensor 105, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the wearable device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer, tapping), and the like.
In one embodiment, the wearable device 100 further comprises a proximity sensor, and by adopting the proximity sensor, the wearable device can realize non-contact operation and provide more operation modes.
In one embodiment, the wearable device 100 further comprises a heart rate sensor, which, when worn, enables detection of heart rate by proximity to the user.
In one embodiment, the wearable device 100 may further include a fingerprint sensor, and by reading the fingerprint, functions such as security verification can be implemented.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
In one embodiment, the display panel 1061 is a flexible display screen, and when the wearable device using the flexible display screen is worn, the screen can be bent, so that the wearable device is more conformable. Optionally, the flexible display screen may adopt an OLED screen body and a graphene screen body, in other embodiments, the flexible display screen may also be made of other display materials, and this embodiment is not limited thereto.
In one embodiment, the display panel 1061 of the wearable device may take a rectangular shape to wrap around when worn. In other embodiments, other approaches may be taken.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the wearable device. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, without limitation.
In one embodiment, the side of the wearable device 100 may be provided with one or more buttons. The button can realize various modes such as short-time pressing, long-time pressing, rotation and the like, thereby realizing various operation effects. The number of the buttons can be multiple, and different buttons can be combined for use to realize multiple operation functions.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the wearable device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the wearable device, and is not limited herein. For example, when receiving a message notification of an application program through the rf unit 101, the processor 110 may control the message notification to be displayed in a predetermined area of the display panel 1061, where the predetermined area corresponds to a certain area of the touch panel 1071, and perform a touch operation on the certain area of the touch panel 1071 to control the message notification displayed in the corresponding area on the display panel 1061.
The interface unit 108 serves as an interface through which at least one external device is connected to the wearable apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the wearable apparatus 100 or may be used to transmit data between the wearable apparatus 100 and the external device.
In one embodiment, the interface unit 108 of the wearable device 100 is configured as a contact, and is connected to another corresponding device through the contact to implement functions such as charging and connection. The contact can also be waterproof.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, etc. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the wearable device, connects various parts of the entire wearable device by various interfaces and lines, and performs various functions of the wearable device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling up data stored in the memory 109, thereby performing overall monitoring of the wearable device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110. Specifically, in the embodiment of the present invention, the memory 109 stores a heart rate based reminder program, and the heart rate based reminder program is executable on the processor 110 to perform the steps of the heart rate based reminder method, that is, the heart rate based reminder program implements the steps of the heart rate based reminder method when executed by the processor 110.
The wearable device 100 may further include a power source 111 (such as a battery) for supplying power to various components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the wearable device 100 may further include a bluetooth module or the like, which is not described in detail herein. The wearable device 100 can be connected with other terminal devices through Bluetooth, so that communication and information interaction are realized.
Please refer to fig. 2-4, which are schematic structural diagrams of a wearable device according to an embodiment of the present invention. The wearable device in the embodiment of the invention comprises a flexible screen. When the wearable device is unfolded, the flexible screen is in a strip shape; when the wearable device is in a wearing state, the flexible screen is bent to be annular. Fig. 2 and 3 show the structural schematic diagram of the wearable device screen when the wearable device screen is unfolded, and fig. 4 shows the structural schematic diagram of the wearable device screen when the wearable device screen is bent.
Based on the above embodiments, it can be seen that, if the device is a watch, a bracelet, or a wearable device, the screen of the device may not cover the watchband region of the device, and may also cover the watchband region of the device. Here, the present application proposes an optional implementation manner, in which the device may be a watch, a bracelet, or a wearable device, and the device includes a screen and a connection portion. The screen can be a flexible screen, and the connecting part can be a watchband. Optionally, the screen of the device or the display area of the screen may partially or completely cover the wristband of the device. As shown in fig. 5, fig. 5 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application, where a screen of the device extends to two sides, and a part of the screen is covered on a watchband of the device. In other embodiments, the screen of the device may also be entirely covered on the watchband of the device, and this is not limited in this application.
Based on the structure, the invention provides various embodiments of the reminding method based on the heart rate.
The invention provides a reminding method based on heart rate.
Referring to fig. 6, fig. 6 is a schematic flow chart of a first embodiment of a heart rate-based reminding method according to the present invention.
In the present embodiment, an embodiment of a heart rate based reminder method is provided, it should be noted that although a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different from that here.
Research shows that the heart rate of the user is improved after the user sits for a long time, so the invention provides a scheme for reminding the user through the heart rate of the user to prevent the user from sitting for a long time. In this embodiment, the method for reminding based on heart rate includes:
and S10, detecting a first heart rate of the user when the corresponding time length of the user in the sitting posture state is detected to be longer than the preset sitting time length.
When the wearable device detects that the corresponding time length of the user in the sitting posture state is greater than the preset sedentary time length, namely after the user is detected to be in the sedentary state, the wearable device triggers a detection instruction for detecting the heart rate of the user, and detects the heart rate of the user according to the detection instruction. In order to distinguish the heart rates of the users detected at different times, in the embodiment of the present invention, the heart rate of the user detected after the corresponding time length of the user in the sitting posture state is detected to be longer than the preset sedentary time length is recorded as the first heart rate. The preset sedentary time period can be set according to specific needs, for example, the preset sedentary time period can be set to 10 minutes, 15 minutes, or 30 minutes. In particular, the wearable device may detect the heart rate of the user through its built-in heart rate sensor.
Step S20, if the first heart rate is smaller than a preset heart rate threshold value, calculating a first heart rate difference value between the first heart rate and the preset heart rate threshold value.
After the wearable device detects the first heart rate of the user, the wearable device judges whether the first heart rate is smaller than a preset heart rate threshold value. The preset heart rate threshold value can be preset by a user, or can be a default value set by the wearable device when the wearable device leaves a factory. If the first heart rate is determined to be smaller than the preset heart rate threshold value, the wearable device calculates a difference value between the first heart rate and the preset heart rate threshold value, and records the difference value between the first heart rate and the preset heart rate threshold value as a first heart rate difference value; further, if it is determined that the first heart rate is greater than or equal to the preset heart rate threshold value, the wearable device outputs prompt information according to a preset prompting mode so as to prompt the user to stand up for exercise according to the prompt information. The preset reminding mode can be set according to specific needs, if the reminding mode can be a voice mode, a character mode or a vibration mode, the wearable device can remind the user of exercising in the voice mode, the character mode or the vibration mode. Further, the reminding mode may further include a reminding frequency, which is the number of times of reminding included in one complete reminding, and if one complete reminding includes 3 times of reminding, the reminding frequency is 3.
And step S30, if the first heart rate difference value is larger than a preset difference value, detecting a second heart rate of the user after a first preset time length.
After the wearable device calculates the first heart rate difference value, the wearable device judges whether the first heart rate difference value is larger than a preset difference value. The preset difference value may be set according to specific needs, and the size of the preset difference value is not particularly limited in the embodiment of the present invention. If the first heart rate difference value is larger than the preset difference value, the wearable device detects the heart rate of the user after the first preset duration, and records the heart rate detected after the first preset duration as a second heart rate. The first preset time period can be set according to specific needs, such as 8 minutes, 10 minutes, 15 minutes, and the like.
It should be noted that, this embodiment goes to detect user's rhythm of the heart again through certain length of time of interval, has avoided real-time detection user's rhythm of the heart, has reduced the required power consumption of detection user's rhythm of the heart, has improved wearable equipment's duration.
Further, the heart rate-based reminding method comprises the following steps:
step a, if the first heart rate difference value is smaller than or equal to the preset difference value, increasing the detection frequency for detecting the heart rate of the user.
Further, if it is determined that the first heart rate difference is smaller than or equal to the preset difference, the wearable device increases a detection frequency of detecting the heart rate of the user. It can be understood that, when the first heart rate difference is smaller than or equal to the preset difference, it indicates that the heart rate of the user is relatively close to the preset heart rate threshold, and the heart rate of the user changes faster, so that whether the heart rate of the user is greater than the preset heart rate threshold or not can be quickly detected, the wearable device increases the detection frequency for detecting the heart rate of the user. Specifically, the increasing amplitude of the detection frequency for increasing the heart rate of the detected user can be set according to specific needs, for example, when the first preset duration is 10 minutes, that is, the detection frequency is detected every 10 minutes, at this time, the detection frequency can be increased to be detected every 8 minutes, or the detection frequency can be increased to be detected every 5 minutes.
And S40, if the second heart rate is greater than the preset heart rate threshold value, outputting prompt information according to a preset prompting mode so as to prompt a user to move according to the prompt information.
After the wearable device detects the second heart rate of the user, the wearable device determines whether the second heart rate of the user is greater than a preset heart rate threshold. If the second heart rate of the user is larger than the preset heart rate threshold value, the wearable device outputs prompt information according to a preset prompting mode so as to prompt the user to move according to the prompt information. In the embodiment of the invention, the user changes from the sitting posture state to the standing posture state and is also a sport, namely reminding the user of the sport according to the prompt message comprises reminding the user of standing up. Further, if it is determined that the second heart rate of the user is less than or equal to the preset heart rate threshold, the wearable device may detect the heart rate of the user again after the first preset duration.
This embodiment is detecting that the user is in the position of sitting state and corresponds for a long time and be greater than the length of preset sedentary time, detect the user after the state of sedentary promptly, detect user's first heart rate, and when first heart rate is less than preset heart rate threshold value, calculate first heart rate difference value between first heart rate and the preset heart rate threshold value, if first heart rate difference value is greater than preset difference value, then detect user's second heart rate after first preset length of time, if user's second heart rate is greater than preset heart rate threshold value, then export prompt information according to presetting and remind the user motion, remind the user whether to need the motion through user's heart rate, and no longer remind the user whether to need the motion according to user's length of sedentary time, when the user is in the state of sedentary, wearable equipment exports prompt information and reminds the rate of user motion.
Further, in order to improve the intelligence of the wearable device, the wearable device may determine the mood of the user according to the heart rate variation condition of the user within a fixed duration, and perform corresponding operations according to the mood of the user. Wherein the fixed time period may be set to 30 minutes, 1 hour, 2 hours, or the like. In particular, the wearable device may determine the mood of the user from an average of the heart rate of the user over a fixed length of time, and/or a difference between a maximum heart rate value and a minimum heart rate value. If when determining that the mood of the user is more fidgety, namely the difference between the maximum heart rate value and the minimum heart rate value is large, the wearable device can play light music for relieving the mood so as to relieve the mood of the user.
Further, a second embodiment of the heart rate based reminding method is provided. The second embodiment of the heart rate based reminder method differs from the first embodiment of the heart rate based reminder method in that, with reference to fig. 7, the heart rate based reminder method further comprises:
and S50, if the second heart rate is smaller than or equal to the preset heart rate threshold value, calculating a second heart rate difference value between the second heart rate and the preset heart rate threshold value.
If the wearable device determines that the second heart rate is smaller than or equal to the preset heart rate threshold value, the wearable device calculates a difference value between the second heart rate and the preset heart rate threshold value, records the difference value between the second heart rate and the preset heart rate threshold value as a second heart rate difference value, and judges whether the second heart rate difference value is smaller than the first heart rate difference value.
Step S60, if the second heart rate difference is smaller than the first heart rate difference, detecting a third heart rate of the user after a second preset duration, where the second preset duration is smaller than the first preset duration.
And step S70, if the second heart rate difference value is greater than or equal to the first heart rate difference value, detecting a third heart rate of the user after the first preset time period.
If the second heart rate difference value is smaller than the first heart rate difference value, the wearable device detects the heart rate of the user after the second preset duration, and records the heart rate of the user detected after the second preset duration as a third heart rate. It can be understood that, when the second heart rate difference is less than first heart rate difference, it indicates that the second heart rate compares first heart rate and more closely presets the heart rate threshold value, i.e. the difference between user's heart rate and the preset heart rate threshold value is reducing, at this moment, on the basis of saving wearable equipment detection user heart rate power consumption, in order to detect whether the user's heart rate is greater than the preset heart rate threshold value in time, whether the improvement detects the accuracy that whether the user's heart rate is greater than the preset heart rate threshold value, it is less than first predetermined length of time to set up the second predetermined length of time, increase the detection frequency who detects the user's heart rate promptly. The difference between the second preset time period and the first preset time period can be set according to specific needs, for example, if the first preset time period is 10 minutes, the second preset time period can be set to 8 minutes, or the second preset time period can be set to 7 minutes. If the second heart rate difference value is larger than or equal to the first heart rate difference value, the wearable device detects a third heart rate of the user after the first preset time period.
This embodiment is through when user second heart rate is less than or equal to and predetermines the rhythm of the heart threshold value, if the second heart rate difference value between user second heart rate and the predetermined rhythm of the heart threshold value is less than first heart rate difference value, then detect user's third heart rate after the second is predetermine for a long time, wherein, the second is predetermine for a long time and is less than first and predetermine for a long time, when user's rhythm of the heart change accelerates, detect user's heart rate in the time that the interval is shorter, and in time detect whether user's heart rate is greater than the predetermined rhythm of the heart threshold value, improve the rate of accuracy of detecting whether user's heart rate is greater than the predetermined rhythm of the heart threshold value.
Further, a third embodiment of the heart rate-based reminding method is provided. The third embodiment of the heart rate based reminder method differs from the first or second embodiment of the heart rate based reminder method in that, referring to fig. 8, the heart rate based reminder method further comprises:
and S80, detecting a fourth heart rate of the user, and judging whether the fourth heart rate is greater than or equal to the preset heart rate threshold value.
After the wearable device outputs prompt information to remind the user of moving, the wearable device continues to detect the heart rate of the user, and the heart rate detected at the moment is recorded as a fourth heart rate. After the wearable device detects the fourth heart rate, the wearable device determines whether the fourth heart rate is greater than or equal to a preset heart rate threshold.
And S90, if the fourth heart rate is greater than or equal to the preset heart rate threshold value, increasing the detection frequency of detecting the heart rate of the user and/or increasing the output frequency of outputting prompt information.
Specifically, if it is determined that the fourth heart rate is greater than or equal to the preset heart rate threshold, the wearable device increases the detection frequency for detecting the heart rate of the user, and if the user heart rate is detected by the wearable device every 8 minutes before, when the fourth heart rate is greater than or equal to the preset heart rate threshold, the wearable device may detect the user heart rate every 6 minutes, or detect the user heart rate every 5 minutes.
If the fourth heart rate is determined to be greater than or equal to the preset heart rate threshold value, the wearable device increases the output frequency of the output prompt information, if the wearable device outputs the prompt information in the past, the set output frequency is that the prompt information is output every 1 minute, the output duration of the output prompt information is 3 minutes, the output is totally 3 times, when the fourth heart rate is greater than or equal to the preset heart rate threshold value, the wearable device can output the prompt information every 45 minutes, and when the output duration of the prompt information is 3 minutes, the prompt information is output totally 4 times. Further, when it is determined that the fourth heart rate is greater than or equal to the preset heart rate threshold, the wearable device may increase the output duration of the first output prompt message each time, and if the output duration of the first output prompt message of the wearable device is previously 10 seconds, the wearable device may set the output duration of the first output prompt message to 15 seconds, or to 18 seconds, or the like, when it is determined that the fourth heart rate is greater than or equal to the preset heart rate threshold.
If the fourth heart rate is determined to be greater than or equal to the preset heart rate threshold value, the wearable device increases the detection frequency of detecting the heart rate of the user and increases the output frequency of outputting the prompt information, and therefore the wearable device can increase the detection frequency of detecting the heart rate of the user and increase the output frequency of outputting the prompt information at the same time.
In the embodiment, after the wearable device outputs the prompt information, the fourth heart rate of the user is detected, if the fourth heart rate is greater than or equal to the preset heart rate threshold value, it is indicated that the heart rate of the user is increased, the user may not be doing exercise yet, and the wearable device is still in a sedentary state, the wearable device increases the detection frequency for detecting the heart rate of the user and/or increases the output frequency for outputting the prompt information, the accuracy for detecting the heart rate of the user is improved by increasing the detection frequency for detecting the heart rate of the user, and the intelligence for detecting the heart rate of the user by the wearable device is improved; and increasing the likelihood that the user will get up by increasing the output frequency of the output prompt message.
Further, the heart rate-based reminding method further comprises the following steps:
step S110, if the fourth heart rate is smaller than the preset heart rate threshold, calculating a third heart rate difference between the fourth heart rate and the preset heart rate threshold.
And step S120, determining the trigger time of the next trigger detection instruction according to the third heart rate difference value.
Further, if the wearable device determines that the fourth heart rate is smaller than the preset heart rate threshold value, the wearable device calculates a difference value between the fourth heart rate and the preset heart rate threshold value, and records the difference value between the fourth heart rate and the preset heart rate threshold value as a third heart rate difference value. After the wearable device calculates to obtain the third heart rate difference value, the wearable device determines the next trigger time for triggering the detection instruction according to the third heart rate difference value, that is, the wearable device determines the next detection time for detecting the heart rate of the user according to the third heart rate difference value. It should be noted that, in this embodiment, a mapping relationship between the heart rate difference and the trigger time length is set, and the larger the heart rate difference is, the longer the corresponding trigger time length is; the smaller the heart rate difference, the smaller the corresponding trigger duration. Therefore, after the wearable device determines the third heart rate difference, the triggering duration corresponding to the third heart rate difference is determined according to the mapping relationship between the heart rate difference and the triggering duration, so as to determine the triggering time for triggering the detection instruction next time.
This embodiment is when confirming that the fourth rhythm of the heart is less than preset rhythm of the heart threshold value, calculate the fourth rhythm of the heart and preset the third rhythm of the heart difference value between the rhythm of the heart threshold value, and determine the trigger time that triggers the detection instruction next time according to the third rhythm of the heart difference value, realized confirming the detection frequency who detects user's rhythm of the heart according to the size of the difference value between rhythm of the heart and the preset rhythm of the heart threshold value, on the basis of guaranteeing whether can in time detect user's rhythm of the heart and be greater than or equal to preset rhythm of the heart threshold value, the power consumption that wearable equipment detected user's rhythm of the heart has been saved, wearable equipment's duration has been improved.
Further, a fourth embodiment of the heart rate based reminding method of the invention is provided. The fourth embodiment of the heart rate based reminder method differs from the first, second or third embodiment of the heart rate based reminder method in that the heart rate based reminder method further comprises:
and b, acquiring a preset number of physical sign sample data corresponding to the sedentary state, and determining a mapping relation between the physical sign data and a heart rate threshold according to the physical sign sample data.
The wearable device obtains the preset number of physical sign sample data corresponding to the sedentary state. The preset number can be set according to specific needs, for example, the preset number can be set to 100, 500, or 800, etc. Vital sign data includes, but is not limited to, height, weight, and heart rate that is perceived by the user as being uncomfortable while in a sedentary state. In other embodiments, the vital sign data may also include blood pressure.
After the physical sign sample data is obtained, the wearable device analyzes the mapping relation between the physical sign data and the heart rate threshold value according to the physical sign sample data. It should be noted that the heart rate threshold in the mapping relationship is a critical value of the heart rate when the user is in a sedentary state when corresponding to the physical sign data, that is, the user feels an uncomfortable heart rate. Specifically, in this embodiment, the vital sign data can be expressed as a body mass index, which is equal to the weight (in kilograms) divided by the height (in meters) squared. The wearable device can analyze the mapping relation between the body mass index and the heart rate threshold value by adopting a regression analysis algorithm or a data mining algorithm and the like, and the mapping relation between the body mass index and the heart rate threshold value is obtained. It can be understood that in the mapping relationship, the heart rate thresholds are different for different body mass indexes. In other embodiments, different heart rate thresholds may be set for different body mass index ranges
And c, acquiring physical sign data of the user, and determining the preset heart rate threshold value according to the physical sign data of the user based on the mapping relation.
The wearable device obtains sign data of a user. In this embodiment, the wearable device acquires the weight and height of the user as the sign data of the user, and then calculates the body mass index of the user according to the weight and height of the user. After the wearable device calculates the body mass index, the wearable device determines a preset heart rate threshold value according to the body sign data of the user based on the mapping relation between the body sign data and the heart rate threshold value, namely, the preset heart rate threshold value is determined according to the body mass index of the user based on the mapping relation between the body mass index and the heart rate threshold value. It is understood that the heart rate threshold corresponding to the body mass index of the user is a preset heart rate threshold.
Further, the update time for updating the preset heart rate threshold may be set, and if the wearable device detects that the current time is the update time of the preset heart rate threshold, the wearable device may determine the preset heart rate threshold again based on the mapping relationship between the physical sign data and the heart rate threshold.
The embodiment determines that the user corresponds to the preset heart rate threshold value according to the physical sign data of the user, realizes the intelligent determination of the preset heart rate threshold value according to the physical condition of the user, and improves the intelligence of the sedentary reminding function of the wearable device.
Further, the heart rate-based reminding method further comprises the following steps:
and d, acquiring the current time, and determining a time period and/or a season corresponding to the current time.
And e, determining the preset heart rate threshold according to the time period and/or season corresponding to the current time.
Further, the wearable device may also determine the preset heart rate threshold using the following three methods.
(1) The wearable device obtains the current time, determines a time period corresponding to the current time, and determines a preset heart rate threshold value according to the time period corresponding to the current time. Wherein, the preset heart rate thresholds corresponding to different time periods are different, for example, a preset heart rate threshold corresponding to morning (8.
(2) The wearable device obtains the current time, determines the month in which the current time is located according to the current time, determines the season corresponding to the current time according to the month, and determines the preset heart rate threshold according to the season corresponding to the current time. The preset heart rate thresholds corresponding to different seasons are different, the preset heart rate threshold corresponding to spring is a, the preset heart rate threshold corresponding to summer is b, the preset heart rate threshold corresponding to autumn is c, and the preset heart rate threshold corresponding to winter is d.
(3) The wearable device obtains the current time, determines the season and the time period corresponding to the current time, and determines a preset heart rate threshold value according to the season and the time period corresponding to the current time. At this time, the preset heart rate thresholds corresponding to different seasons may be different, and the heart rate thresholds corresponding to different time periods in the same season may also be different.
The preset heart rate threshold value is determined through the time period and/or season corresponding to the current time, and the intelligence of the sedentary reminding function of the wearable equipment is improved.
Further, a fifth embodiment of the heart rate based reminder method according to the invention is proposed. A fifth embodiment of the heart rate based reminder method differs from the first, second, third or fourth embodiment of the heart rate based reminder method in that the heart rate based reminder method further comprises:
and f, determining that the user state is a sitting posture state after detecting that the distance between the wearable device and the obstacle is smaller than the preset distance.
And g, starting a timer to calculate the time length corresponding to the sitting posture state of the user.
Wearable equipment is through its built-in infrared ray sensor transmission infrared ray, when the infrared ray meets barriers such as floor or desk, can reflect back, consequently, wearable equipment can detect its and the distance between barriers such as desk, floor through transmitting infrared ray. When the wearable device detects the distance between the wearable device and the obstacle, whether the distance is smaller than a preset distance is judged. If the distance between the wearable device and the obstacle is smaller than the preset distance, the wearable device determines that the user is in a sitting posture state; if the distance between the wearable device and the obstacle is larger than or equal to the preset distance, the wearable device determines that the user is not in a sitting posture state, and continues to detect whether the distance between the wearable device and the obstacle is smaller than the preset distance. Wherein, predetermine the distance and preset in wearable equipment, the user can set up this distance of predetermineeing according to own height. When the wearable device determines that the user state is the sitting posture state, the wearable device starts a timer to calculate the time length corresponding to the sitting posture state of the user, and judges whether the time length corresponding to the sitting posture state of the user is greater than the preset long sitting time length. If the time length corresponding to the sitting posture state of the user is longer than the preset sedentary time length, the wearable equipment determines that the user is in the sedentary state; if the time length corresponding to the sitting posture state of the user is less than or equal to the time length of long sitting, the wearable device continuously judges whether the time length corresponding to the sitting posture state of the user is greater than the preset time length of long sitting.
Further, when the wearable device detects that the distance between the wearable device and the obstacle is smaller than the preset distance, the wearable device detects the movement speed of the user through the gravity sensor, judges whether the movement speed of the user is smaller than the preset speed or not, and if the movement speed of the user is smaller than the preset speed, the wearable device determines that the user is in a sitting posture state; if the movement speed of the user is greater than or equal to the preset speed, the wearable device determines that the user is not in a sitting posture state. Wherein, the preset speed can be set according to specific requirements.
The embodiment determines whether the user state is in the sitting posture state or not according to the distance between the wearable device and the barrier, and starts the timer to calculate the time length corresponding to the sitting posture state when the user is determined to be in the sitting posture state, so that whether the user is in the long-time sitting state or not is determined according to the time length, and whether the user is in the long-time sitting state or not is intelligently detected.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer readable storage medium has stored thereon a heart rate based reminder that when executed by the processor performs the steps of:
when the corresponding time length of the user in the sitting posture state is detected to be longer than the preset sedentary time length, detecting a first heart rate of the user;
if the first heart rate is smaller than a preset heart rate threshold value, calculating a first heart rate difference value between the first heart rate and the preset heart rate threshold value;
if the first heart rate difference value is larger than a preset difference value, detecting a second heart rate of the user after a first preset time length;
and if the second heart rate is greater than the preset heart rate threshold value, outputting prompt information according to a preset prompt mode so as to prompt the user to move according to the prompt information.
Further, if the first heart rate difference is greater than the preset difference, after the step of detecting the second heart rate of the user after the first preset time period, the following steps are further implemented when the heart rate-based reminder is executed by the processor:
if the second heart rate is smaller than or equal to the preset heart rate threshold value, calculating a second heart rate difference value between the second heart rate and the preset heart rate threshold value;
if the second heart rate difference is smaller than the first heart rate difference, detecting a third heart rate of the user after a second preset time length, wherein the second preset time length is smaller than the first preset time length;
and if the second heart rate difference is greater than or equal to the first heart rate difference, detecting a third heart rate of the user after the first preset time length.
Further, if the second heart rate is greater than the preset heart rate threshold, outputting prompt information according to a preset prompting mode, and after the step of prompting the user to exercise according to the prompt information, when executed by the processor, the heart rate-based prompting program further realizes the following steps:
detecting a fourth heart rate of the user, and judging whether the fourth heart rate is greater than or equal to the preset heart rate threshold value;
and if the fourth heart rate is greater than or equal to the preset heart rate threshold value, increasing the detection frequency of detecting the heart rate of the user and/or increasing the output frequency of outputting prompt information.
Further, after the step of detecting a fourth heart rate of the user and determining whether the fourth heart rate is greater than or equal to the preset heart rate threshold, the heart rate-based reminder when executed by the processor further implements the steps of:
if the fourth heart rate is smaller than the preset heart rate threshold value, calculating a third heart rate difference value between the fourth heart rate and the preset heart rate threshold value;
and determining the trigger time of the next trigger detection instruction according to the third heart rate difference value.
Further, before the step of calculating the first heart rate difference between the first heart rate and the preset heart rate threshold value if the first heart rate is smaller than the preset heart rate threshold value, the heart rate-based reminder further implements the following steps when executed by the processor:
acquiring preset number of physical sign sample data corresponding to a sedentary state, and determining a mapping relation between the physical sign data and a heart rate threshold according to the physical sign sample data;
and acquiring sign data of the user, and determining the preset heart rate threshold value according to the sign data of the user based on the mapping relation.
Further, before the step of calculating the first heart rate difference between the first heart rate and the preset heart rate threshold value if the first heart rate is smaller than the preset heart rate threshold value, the heart rate-based reminder further implements the following steps when executed by the processor:
acquiring current time, and determining a time period and/or season corresponding to the current time;
and determining the preset heart rate threshold according to the time period and/or season corresponding to the current time.
Further, the heart rate based reminding method is applied to wearable equipment, and when it is detected that the corresponding time duration of the sitting posture state of the user is longer than the preset sedentary time duration and before the step of detecting the first heart rate of the user, the heart rate based reminding program further realizes the following steps when executed by the processor:
when the fact that the distance between the wearable device and the obstacle is smaller than a preset distance is detected, determining that the user state is a sitting posture state;
and starting a timer to calculate the time length corresponding to the sitting posture state of the user.
Further, after the step of calculating the first heart rate difference between the first heart rate and the preset heart rate threshold value if the first heart rate is smaller than the preset heart rate threshold value, the heart rate-based reminder further implements the following steps when executed by the processor:
and if the first heart rate difference value is smaller than or equal to the preset difference value, increasing the detection frequency for detecting the heart rate of the user.
The specific implementation manner of the computer-readable storage medium of the present invention is substantially the same as that of each embodiment of the above-mentioned heart rate-based reminder method, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A heart rate based reminding method is characterized by comprising the following steps:
when the corresponding time length of the user in the sitting posture state is detected to be longer than the preset sedentary time length, detecting a first heart rate of the user;
if the first heart rate is smaller than a preset heart rate threshold value, calculating a first heart rate difference value between the first heart rate and the preset heart rate threshold value;
if the first heart rate difference is larger than a preset difference value, detecting a second heart rate of the user after a first preset time length;
if the second heart rate is larger than the preset heart rate threshold value, outputting prompt information according to a preset prompt mode to prompt a user to move according to the prompt information;
if the second heart rate is smaller than or equal to the preset heart rate threshold value, calculating a second heart rate difference value between the second heart rate and the preset heart rate threshold value;
if the second heart rate difference is smaller than the first heart rate difference, detecting a third heart rate of the user after a second preset time period, wherein the second preset time period is smaller than the first preset time period;
and if the second heart rate difference is greater than or equal to the first heart rate difference, detecting a third heart rate of the user after the first preset time length.
2. The heart rate-based reminding method according to claim 1, wherein if the second heart rate is greater than the preset heart rate threshold, outputting a prompt message according to a preset reminding manner, and after the step of reminding the user of exercise according to the prompt message, further comprising:
detecting a fourth heart rate of the user, and judging whether the fourth heart rate is greater than or equal to the preset heart rate threshold value;
and if the fourth heart rate is greater than or equal to the preset heart rate threshold value, increasing the detection frequency of detecting the heart rate of the user and/or increasing the output frequency of outputting prompt information.
3. The heart rate-based reminder method of claim 2, wherein after the steps of detecting a fourth heart rate of the user and determining whether the fourth heart rate is greater than or equal to the preset heart rate threshold, the method further comprises:
if the fourth heart rate is smaller than the preset heart rate threshold value, calculating a third heart rate difference value between the fourth heart rate and the preset heart rate threshold value;
and determining the trigger time of the next trigger detection instruction according to the third heart rate difference value.
4. The method for heart rate based reminder according to claim 1, wherein the step of calculating a first heart rate difference between the first heart rate and a preset heart rate threshold if the first heart rate is less than the preset heart rate threshold further comprises:
acquiring preset number of physical sign sample data corresponding to a sedentary state, and determining a mapping relation between the physical sign data and a heart rate threshold according to the physical sign sample data;
acquiring physical sign data of a user, and determining the preset heart rate threshold value according to the physical sign data of the user based on the mapping relation;
the physical sign sample data is body mass index sample data, and the physical sign data is a body mass index.
5. The heart rate-based reminder method of claim 1, wherein before the step of calculating the first heart rate difference between the first heart rate and the preset heart rate threshold if the first heart rate is less than the preset heart rate threshold, the method further comprises:
acquiring current time, and determining a time period and/or season corresponding to the current time;
and determining the preset heart rate threshold according to the time period and/or season corresponding to the current time.
6. The heart rate based reminding method according to claim 1, wherein the heart rate based reminding method is applied to a wearable device, and further comprises, after detecting that the corresponding time duration of the sitting posture state of the user is longer than the preset sedentary time duration, before the step of detecting the first heart rate of the user:
when the fact that the distance between the wearable device and the obstacle is smaller than a preset distance is detected, determining that the user state is a sitting posture state;
and starting a timer to calculate the time length corresponding to the sitting posture state of the user.
7. The method for heart rate based reminder according to any one of claims 1-6, wherein the step of calculating a first heart rate difference between the first heart rate and a preset heart rate threshold value if the first heart rate is less than the preset heart rate threshold value further comprises:
and if the first heart rate difference value is smaller than or equal to the preset difference value, increasing the detection frequency for detecting the heart rate of the user.
8. A wearable device comprising a memory, a processor, and a heart rate based reminder program stored on the memory and executable on the processor, the heart rate based reminder program when executed by the processor implementing the steps of the heart rate based reminder method of any of claims 1 to 7.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a heart rate based reminder program, which when executed by a processor implements the steps of the heart rate based reminder method according to any one of claims 1 to 7.
CN201910256520.1A 2019-03-29 2019-03-29 Heart rate-based reminding method, wearable device and computer-readable storage medium Active CN109938720B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910256520.1A CN109938720B (en) 2019-03-29 2019-03-29 Heart rate-based reminding method, wearable device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910256520.1A CN109938720B (en) 2019-03-29 2019-03-29 Heart rate-based reminding method, wearable device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN109938720A CN109938720A (en) 2019-06-28
CN109938720B true CN109938720B (en) 2022-10-11

Family

ID=67013331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910256520.1A Active CN109938720B (en) 2019-03-29 2019-03-29 Heart rate-based reminding method, wearable device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN109938720B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111227817A (en) * 2020-01-13 2020-06-05 拉卡拉支付股份有限公司 Heart rate monitoring method and device and storage medium
CN111387989A (en) * 2020-03-18 2020-07-10 京东方科技集团股份有限公司 Sedentary state monitoring device, system and monitoring method
CN113556425A (en) * 2020-04-07 2021-10-26 华为技术有限公司 Control method and system of intelligent alarm clock, intelligent watch and electronic equipment
CN112070483A (en) * 2020-09-09 2020-12-11 北京小米移动软件有限公司 Reminding method, reminding device and storage medium
CN112155539A (en) * 2020-09-23 2021-01-01 宇龙计算机通信科技(深圳)有限公司 Watch alarm method, device, storage medium and terminal
CN112244829A (en) * 2020-10-22 2021-01-22 深圳市沃特沃德股份有限公司 Emotion state based alarm method and device and computer equipment
CN112565510B (en) * 2020-12-02 2021-08-31 山东协和学院 Intelligent control method for physical exercise and related device
CN112998679B (en) * 2021-02-08 2024-01-16 天空社科技(深圳)有限公司 Electric shock monitoring and alarming method and wearable device
CN113190197B (en) * 2021-04-28 2022-10-18 歌尔股份有限公司 Head-mounted device, control method thereof, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204926443U (en) * 2015-09-23 2015-12-30 宁波小匠电子科技有限公司 Human control system who sits state detection device for a long time
CN105389958A (en) * 2015-11-10 2016-03-09 上海卓易科技股份有限公司 System and method for warning sedentariness
JP2017029628A (en) * 2015-08-06 2017-02-09 日本電信電話株式会社 Heart beat detection method and heart beat detection device
CN107483616A (en) * 2017-08-31 2017-12-15 深圳市盛路物联通讯技术有限公司 Information processing method and Internet of things access equipment based on Internet of Things
WO2019028639A1 (en) * 2017-08-07 2019-02-14 康丰生 Heart rate monitoring method for smart device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110257542A1 (en) * 2010-04-15 2011-10-20 Brian Russell System Method and Device for Performing Heat Stress Tests
WO2017050613A1 (en) * 2015-09-23 2017-03-30 Koninklijke Philips N.V. Determining a sedentary body posture of a subject
US10080530B2 (en) * 2016-02-19 2018-09-25 Fitbit, Inc. Periodic inactivity alerts and achievement messages

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017029628A (en) * 2015-08-06 2017-02-09 日本電信電話株式会社 Heart beat detection method and heart beat detection device
CN204926443U (en) * 2015-09-23 2015-12-30 宁波小匠电子科技有限公司 Human control system who sits state detection device for a long time
CN105389958A (en) * 2015-11-10 2016-03-09 上海卓易科技股份有限公司 System and method for warning sedentariness
WO2019028639A1 (en) * 2017-08-07 2019-02-14 康丰生 Heart rate monitoring method for smart device
CN107483616A (en) * 2017-08-31 2017-12-15 深圳市盛路物联通讯技术有限公司 Information processing method and Internet of things access equipment based on Internet of Things

Also Published As

Publication number Publication date
CN109938720A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN109938720B (en) Heart rate-based reminding method, wearable device and computer-readable storage medium
CN107734614B (en) Wi-Fi antenna control method, mobile terminal and computer readable storage medium
CN109982179B (en) Audio signal output method and device, wearable device and storage medium
CN110299100B (en) Display direction adjustment method, wearable device and computer readable storage medium
CN110213810B (en) Wearable device control method, wearable device and computer-readable storage medium
CN109947249B (en) Interaction method of wearable device, wearable device and computer storage medium
CN110099337B (en) Bone conduction audio output mode adjustment method, wearable device and storage medium
CN109819506B (en) Intelligent connection method, wearable device and computer readable storage medium
CN110013260B (en) Emotion theme regulation and control method, equipment and computer-readable storage medium
CN110086940B (en) Message reminding method, wearable device and readable storage medium
CN110638437A (en) Control method based on heart rate monitoring, terminal, wearable device and storage medium
CN110083289A (en) A kind of button display methods, wearable device and computer readable storage medium
CN110139270B (en) Wearable device pairing method, wearable device and computer readable storage medium
CN110532050B (en) Motion data refreshing method, wearable device and computer readable storage medium
CN110071866B (en) Instant messaging application control method, wearable device and storage medium
CN110113529B (en) Shooting parameter regulation and control method and device and computer readable storage medium
CN109947345B (en) Fingerprint identification method and terminal equipment
CN110570625A (en) safety reminding method of intelligent wearable device, intelligent wearable device and storage medium
CN110018775B (en) Content display method, terminal and computer readable storage medium
CN109639894B (en) Information prompting method, terminal equipment and computer readable medium
CN109982210B (en) Wearable device audio output method and device, wearable device and storage medium
CN110069102B (en) Display area regulation and control method and device and computer readable storage medium
CN110007761B (en) Wearable device, control method thereof and computer readable storage medium
CN109901812B (en) Volume adjustment method for wearable device, wearable device and readable storage medium
CN110187950B (en) Method for adjusting picture display position, wearable device 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
TA01 Transfer of patent application right

Effective date of registration: 20220921

Address after: 510000 No. 106, Lingnan node Park, yuweiqiao, Huadi Avenue, Liwan District, Guangzhou, Guangdong Province (office use only)

Applicant after: Guangdong People's Internet e-commerce Co.,Ltd.

Address before: 518057 Dazu Innovation Building, 9018 Beihuan Avenue, Nanshan District, Shenzhen City, Guangdong Province, 6-8, 10-11, 6 and 6-10 floors in Area A, B and C

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant