CN112565519A - Message reminding method and device and electronic equipment - Google Patents

Message reminding method and device and electronic equipment Download PDF

Info

Publication number
CN112565519A
CN112565519A CN202011375384.7A CN202011375384A CN112565519A CN 112565519 A CN112565519 A CN 112565519A CN 202011375384 A CN202011375384 A CN 202011375384A CN 112565519 A CN112565519 A CN 112565519A
Authority
CN
China
Prior art keywords
message
notification
user
reminding
sleep state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011375384.7A
Other languages
Chinese (zh)
Other versions
CN112565519B (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202011375384.7A priority Critical patent/CN112565519B/en
Publication of CN112565519A publication Critical patent/CN112565519A/en
Application granted granted Critical
Publication of CN112565519B publication Critical patent/CN112565519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The application provides a message reminding method, a message reminding device, electronic equipment and a computer-readable storage medium. The method comprises the following steps: detecting a sleep state of a user; when the sleep state of the user is detected to be the sleep state, sending a notification message to a corresponding terminal, wherein the notification message is used for triggering the terminal to record an update message; when the sleep state of the user is detected to be a waking state, acquiring a message reminding notification from the terminal, wherein the message reminding notification is generated according to the record; and reminding the user to check the message according to the message reminding notification, so that the timeliness and convenience of message reminding are improved, and the user is prevented from missing important messages.

Description

Message reminding method and device and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a message reminding method, an apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of electronic technology, the functions of the intelligent terminal are more and more, and users can easily miss important information when receiving various message contents. The traditional method is often only capable of actively checking the terminal message through a user, the timeliness is poor, the important message cannot be checked in time, and inconvenience is brought.
Disclosure of Invention
The embodiment of the application provides a message reminding method, a message reminding device, electronic equipment and a computer readable storage medium, wherein a wearable device is used for detecting the sleep state of a user and informing a terminal to record an update message of the user during sleep, so that the message reminding notification is timely acquired from the terminal when the user wakes up, and the wearable device is used for timely reminding the user to check the message, so that the timeliness and convenience of message reminding can be improved, and the user is prevented from missing important messages.
A message reminding method comprises the following steps:
detecting a sleep state of a user;
when the sleep state of the user is detected to be the sleep state, sending a notification message to a corresponding terminal, wherein the notification message is used for triggering the terminal to record an update message;
when the sleep state of the user is detected to be a waking state, acquiring a message reminding notification from the terminal, wherein the message reminding notification is generated according to the record;
and reminding the user to check the message according to the message reminding notification.
A message alert device comprising:
the detection module is used for detecting the sleep state of the user;
the notification module is used for sending a notification message to a corresponding terminal when the sleep state of the user is detected to be the sleep state, wherein the notification message is used for triggering the terminal to record an update message;
A message reminding notification acquisition module, configured to acquire a message reminding notification from the terminal when it is detected that the sleep state of the user is a waking state, where the message reminding notification is generated according to the record;
and the reminding module is used for reminding the user to check the message according to the message reminding notice.
An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
detecting a sleep state of a user;
when the sleep state of the user is detected to be the sleep state, sending a notification message to a corresponding terminal, wherein the notification message is used for triggering the terminal to record an update message;
when the sleep state of the user is detected to be a waking state, acquiring a message reminding notification from the terminal, wherein the message reminding notification is generated according to the record;
and reminding the user to check the message according to the message reminding notification.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
detecting a sleep state of a user;
When the sleep state of the user is detected to be the sleep state, sending a notification message to a corresponding terminal, wherein the notification message is used for triggering the terminal to record an update message;
when the sleep state of the user is detected to be a waking state, acquiring a message reminding notification from the terminal, wherein the message reminding notification is generated according to the record;
and reminding the user to check the message according to the message reminding notification.
A message reminding method comprises the following steps:
receiving a notification message sent by wearable equipment, and recording an update message according to the notification message, wherein the notification message is generated when the wearable equipment detects that the sleep state of a user is a sleep state;
receiving a message reminding notification acquisition request sent by the wearable device, wherein the message reminding notification acquisition request triggers generation of a corresponding message reminding notification according to the record, and the message reminding notification acquisition request is generated when the wearable device detects that the sleep state of the user is a waking state;
and returning the message reminding notification to the wearable device, wherein the message reminding notification is used for reminding the user to view the message.
A message alert device comprising:
the recording module is used for receiving a notification message sent by the wearable device and recording an update message according to the notification message, wherein the notification message is generated when the wearable device detects that the sleep state of the user is the sleep state;
a message reminding notification generation module, configured to receive a message reminding notification acquisition request sent by the wearable device, where the message reminding notification acquisition request triggers generation of a corresponding message reminding notification according to the record, and the message reminding notification acquisition request is generated when the wearable device detects that the sleep state of the user is a waking state;
and the sending module is used for returning the message reminding notification to the wearable device, and the message reminding notification is used for reminding the user to view the message.
An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
receiving a notification message sent by wearable equipment, and recording an update message according to the notification message, wherein the notification message is generated when the wearable equipment detects that the sleep state of a user is a sleep state;
Receiving a message reminding notification acquisition request sent by the wearable device, wherein the message reminding notification acquisition request triggers generation of a corresponding message reminding notification according to the record, and the message reminding notification acquisition request is generated when the wearable device detects that the sleep state of the user is a waking state;
and returning the message reminding notification to the wearable device, wherein the message reminding notification is used for reminding the user to view the message.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
receiving a notification message sent by wearable equipment, and recording an update message according to the notification message, wherein the notification message is generated when the wearable equipment detects that the sleep state of a user is a sleep state;
receiving a message reminding notification acquisition request sent by the wearable device, wherein the message reminding notification acquisition request triggers generation of a corresponding message reminding notification according to the record, and the message reminding notification acquisition request is generated when the wearable device detects that the sleep state of the user is a waking state;
And returning the message reminding notification to the wearable device, wherein the message reminding notification is used for reminding the user to view the message.
According to the message reminding method, the message reminding device, the electronic equipment and the computer readable storage medium, by detecting the sleep state of the user, when the sleep state of the user is detected to be the sleep state, the notification message is sent to the corresponding terminal, and the notification message is used for triggering the terminal to record the update message; when the sleep state of the user is detected to be a waking state, acquiring a message reminding notification from the terminal, wherein the message reminding notification is generated according to the record; the message reminding method comprises the steps of reminding a user to check a message according to a message reminding notice, detecting the sleep state of the user through the wearable device, and informing the terminal to record an update message of the user during sleep, so that the message reminding notice is timely obtained from the terminal when the user wakes up, the user is timely reminded to check the message through the wearable device, the timeliness and convenience of message reminding can be improved, the user is prevented from missing important messages, and the flexibility of message reminding is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application 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, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an application environment of a message alert method in one embodiment;
FIG. 2 is a flow diagram of a message alert method in one embodiment;
FIG. 3 is a flow chart of a message alert method in another embodiment;
FIG. 4 is a flow diagram of a method for message alerting in a particular embodiment;
FIG. 5 is a block diagram of a message alert device according to one embodiment;
FIG. 6 is a block diagram of another embodiment of a message alert device;
fig. 7 is a schematic diagram of an internal structure of an electronic device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that the terms "first," "second," and the like as used herein may be used herein to describe various operations, but these operations are not limited by these terms. These terms are only used to distinguish one direction from another. For example, a first direction may be referred to as a second direction, and similarly, a second direction may be referred to as a first direction, without departing from the scope of the present application. The first direction and the second direction are both directions, but they are not the same direction.
Fig. 1 is a schematic diagram of an application environment of a message reminding method in an embodiment. As shown in fig. 1, the application environment includes a wearable device 102 and a terminal 104, which can communicate via bluetooth, a wireless network, etc., wherein the wearable device includes an acceleration sensor for acquiring an acceleration signal of the wearable device. Wearable equipment can support functions such as meter step, rhythm of the heart detection, and wearable equipment can include the display screen for show data, and wearable equipment can include the audio player, is used for playing the audio frequency, and wearable equipment can install and run the application of multiple different grade type, for example multimedia playing application, payment application, instant messaging application etc. to realize different functions. Wearable device 102 may be, but is not limited to, a smart watch, smart bracelet, smart ring, and the like. The terminal 104 may be a terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a vehicle-mounted computer, and the like. The wearable device 102 detects a sleep state of a user, and when the sleep state of the user is detected to be a sleep state, sends a notification message to the corresponding terminal 104, wherein the notification message is used for triggering the terminal 104 to record an update message, when the sleep state of the user is detected to be a waking state by the wearable device 102, the wearable device 102 acquires a message reminding notification from the terminal 104, the message reminding notification is generated according to the record, and the wearable device 102 reminds the user to view the message according to the message reminding notification.
FIG. 2 is a flow diagram of a message alert method in one embodiment. The message reminding method in this embodiment is described by taking the wearable device as an example, and includes the following steps:
step 202, detecting a sleep state of the user.
Herein, the sleep state of the user may be classified into a sleep state and an awake state, wherein the sleep state includes a deep sleep state and a light sleep state, and the awake state may refer to any state other than the sleep state, such as an exercise state, and the like, but is not limited thereto. The user behavior data collected by the wearable device can be compared with a preset behavior data threshold to judge the sleep state of the user. The user behavior data refers to data generated by a user when performing a behavior, and the user behavior data may be at least one of, but is not limited to, a heart rate value, an acceleration value, gyroscope data, and cardiopulmonary data. The acceleration values and gyroscope data may be used to represent changes in the user's actions.
Specifically, the user behavior data may include a user electrocardiosignal, the wearable device extracts a heart rate signal and a respiratory signal from the user electrocardiosignal, couples the heart rate signal and the respiratory signal to obtain cardiopulmonary information, and determines the sleep state of the user according to the cardiopulmonary information. That is, based on continuous electrocardiographic signals, fourier transform techniques are applied to analyze two characteristics of the signals: (1) heart rate variability; (2) fluctuation of electrocardiogram R-wave amplitude (EDR) caused by respiration. By calculating the cross-spectral power and the coherence of the two signals, a cardiorespiratory coupling dynamic spectrogram during sleep is generated, the sleep quality can be evaluated, and the sleep state of the user can be determined. The wearable device can also acquire an acceleration value through a sensor, and the sleep state of the user is determined according to the cardiopulmonary information and the acceleration value. For example, when the condition of the sleep state is satisfied according to the cardiopulmonary information and the acceleration value satisfies the acceleration threshold value, the user is determined to be in the sleep state.
And 204, when the sleep state of the user is detected to be the sleep state, sending a notification message to the corresponding terminal, wherein the notification message is used for triggering the terminal to record the update message.
The wearable device judges whether the current user enters the sleeping state, if the user is in the waking state all the time, the sleeping state of the user is detected in a circulating mode, and when the user behavior data meet the sleeping state condition, the user is detected to enter the sleeping state.
Specifically, when it is detected that the sleep state of the user is switched from the awake state to the sleep state, the wearable device communicates with the terminal, transmits a notification message, and records an update message received after the current time after the terminal receives the notification message. The update message may be a message of various application software installed on the terminal, and the application software may include instant messaging software, multimedia software, game software, and the like, and also include a message of system software, such as a phone call, a short message, a system message, and the like, including a calendar event and a memo event message. The terminal records the update message, the recording form is not limited, the number of the message, the message type, the application type of the message and the message content are included, when the message is recorded, the key message can be extracted according to the preset configuration rule for recording, if the user sets the key contact, only the update message of the key contact is recorded, and the like.
And step 206, when the sleep state of the user is detected to be the waking state, acquiring the message reminding notification from the terminal, wherein the message reminding notification is generated according to the record.
When the user enters the sleeping state, whether the user is switched from the sleeping state to the waking state is continuously detected, if the user is always in the sleeping state, the sleeping state of the user is detected in a circulating mode, and when the user behavior data meet the waking state condition, the user is detected to enter the waking state.
Specifically, when it is detected that the sleep state of the user is switched from the sleep state to the awake state, the wearable device communicates with the terminal to request to acquire a message reminding notification, and the message reminding notification is used for reminding the user to view an update message received by the terminal in the sleep state. The message reminding notification is generated according to the record of the terminal for updating the message and can comprise the number of the message, the type of the application to which the message belongs, the content of the message and the like. It can be understood that, if the user sets a preset configuration rule when recording the message, for example, the user sets a key contact, the message reminding notification is also generated only according to the update message matched with the configuration rule, for example, the number of update messages including only the key contact.
And step 208, reminding the user to view the message according to the message reminding notice.
Specifically, the user can be reminded to view the message through different reminding modes, including voice broadcast, displaying reminding content on a display screen of the wearable device, and the like. The message reminding notification can comprise the number of messages, the message type, the application type of the message, the message content and the like, and different notification contents can be reminded in different forms, such as the number of messages is broadcasted through voice, the message content is displayed through a display screen and the like. Different message reminding forms can be set according to different message importance degrees, for example, important messages are displayed through red fonts, non-important messages are displayed through black fonts, the volume for broadcasting the important messages is larger, and the like. Different message reminding contents can be combined for reminding, such as combining the message type and the message number, the message reminding notification is that the number of messages sent by the first contact is 5, and the number of messages sent by the second contact is 3. The message categories may be categories of different dimensions, and may be based on the contact, such as the first contact and the second contact, and the category to which the message content belongs, such as a time type message, an event type message, an instant messaging type message, a news type message, a game type message, and the like. Importance categories, such as first level importance, second level importance, and the like.
In the message reminding method in the embodiment, by detecting the sleep state of the user, when the sleep state of the user is detected to be the sleep state, a notification message is sent to the corresponding terminal, and the notification message is used for triggering the terminal to record the update message; when the sleep state of the user is detected to be a waking state, acquiring a message reminding notification from the terminal, wherein the message reminding notification is generated according to the record; the message reminding method comprises the steps of reminding a user to check a message according to a message reminding notice, detecting the sleep state of the user through the wearable device, and informing the terminal to record an update message of the user during sleep, so that the message reminding notice is timely obtained from the terminal when the user wakes up, the user is timely reminded to check the message through the wearable device, the timeliness and convenience of message reminding can be improved, the user is prevented from missing important messages, and the flexibility of message reminding is improved.
In one embodiment, step 202 is preceded by: the wearable device is bound with the terminal, the binding relation can be one-to-one correspondence, and also can be a plurality of wearable devices corresponding to one terminal or a plurality of terminals corresponding to one wearable device, wherein the binding is carried out through the wearable device identification and the terminal identification. Therefore, the message reminding notification corresponding to the updating message on one terminal can be sent to a plurality of different wearable devices. And message reminding notifications corresponding to the update messages on a plurality of terminals can be sent to one wearable device.
In one embodiment, when the plurality of wearable devices correspond to one terminal, detecting the sleep state of the user includes: and when the sleep state of the user corresponding to any one wearable device is the sleep state, sending a notification message to the corresponding terminal. Or when the sleep state of the user corresponding to each wearable device is the sleep state, sending a notification message to the corresponding terminal.
In this embodiment, when the plurality of wearable devices correspond to one terminal, different wearable devices are worn by different users, and different users all concern the message of the same terminal, for example, different wearable devices correspond to parents and children, respectively, so that parents and children can receive the message reminding notification to remind parents and children to concern unread messages on the terminal.
In one embodiment, when one wearable device corresponds to a plurality of terminals, when it is detected that a sleep state of a user is a sleep state, a notification message is sent to the plurality of terminals, and the notification message is used for triggering each terminal to record an update message. And when the sleep state of the user is detected to be the waking state, acquiring the message reminding notification from each terminal, generating the message reminding notification according to the record, and reminding the user to check the message according to the message reminding notification.
In this embodiment, when one wearable device corresponds to a plurality of terminals, the user can be reminded to view unread messages on a plurality of different terminals by paying attention to messages of a plurality of different terminals through the one wearable device.
In one embodiment, step 202 comprises: determining an acceleration average value in a first preset time length and a heart rate average value in a second preset time length; and when the acceleration mean value is smaller than the acceleration threshold value and the heart rate mean value is smaller than the heart rate threshold value, determining that the sleep state of the user is the sleep state.
Specifically, the acceleration value may be measured by an acceleration sensor. The acceleration signal can include the acceleration value on the different spatial directions, and the collection that the embedded acceleration sensor of accessible wearable equipment carried out original acceleration signal can carry out the preliminary treatment to the triaxial acceleration signal who gathers, if gets rid of the noise, obtains the acceleration oscillogram after handling, and the acceleration value that the collection obtained can include the value on the x, y, z not equidirectional. In particular a high precision accelerometer. The first preset time period may specifically mean 1 minute, 2 minutes, 5 minutes, etc., but is not limited thereto. The first preset duration can be set according to requirements. The first preset duration is a duration corresponding to the acquisition acceleration value. The average value of the acceleration within the first preset time period can be obtained by averaging the acceleration values within the first preset time period before the current time. The acceleration value when the user is in the awake state is generally larger than the acceleration value when the user is in the sleep state, so that the sleep state of the user can be determined by the acceleration value.
The second preset time period may specifically mean 1 minute, 2 minutes, 5 minutes, etc., but is not limited thereto. The second preset duration can be set according to requirements. The second preset duration is the duration corresponding to the collected heart rate value. The value of the second preset duration may be the same as or different from the value of the first preset duration. The average value of the heart rate in the second preset time period can be obtained by averaging the heart rate values in the second preset time period before the current time. The heart rate value when the user is in the awake state is typically greater than the heart rate value when the user is in the sleep state, so the sleep state of the user can be determined from the heart rate value.
The wearable device acquires an acceleration value in real time and calculates an acceleration mean value within a first preset time. The wearable device acquires a heart rate value in real time, calculates a heart rate mean value in a second preset time period, and determines that the sleep state of the user is a sleep state when the acceleration mean value is smaller than an acceleration threshold value and the heart rate mean value is smaller than a heart rate threshold value. For example, the wearable device determines a heart rate mean and an acceleration mean over 2 minutes, and may determine that the user behavioral state is a sleep state when the heart rate mean over 2 minutes is less than a heart rate threshold, and when the acceleration mean over 2 minutes is less than an acceleration threshold. And when the acceleration mean value is smaller than the acceleration threshold value and the heart rate mean value is smaller than the heart rate threshold value, determining that the sleep state of the user is the sleep state.
In this embodiment, the accidental state that single acceleration value or heart rate value appear can be avoided through acceleration mean value and heart rate mean value, for example the user turns over one's body in the dream, or grabs one and itch, and the instantaneous acceleration value is higher this moment, but through the mode of mean value, can avoid this type of accidental situation, improves the accuracy that the sleep state was confirmed, and acceleration mean value and heart rate mean value combine together and are used for judging user's sleep state, has further improved the accuracy that the sleep state was confirmed.
In one embodiment, step 202 comprises: determining an acceleration average value in a first preset time length and a heart rate average value in a second preset time length; and acquiring the current time, and when the current time is in a preset time range, the acceleration mean value is greater than or equal to the acceleration threshold value, and the heart rate mean value is greater than or equal to the heart rate threshold value, determining that the sleep state of the user is the waking state.
Specifically, the preset time range may be customized and may be determined according to historical behavior data of the user, and if the user a generally gets up at about 7 am, the preset time range may be determined to be between 6 am 30 and 7 am 30. The first preset time period and the second preset time period may be customized and may be the same or different, such as but not limited to 1 minute, 2 minutes, 5 minutes, etc. The user can be prevented from being mistakenly judged to be in the waking state by the short-time activity of getting up at night through the preset time range. And meanwhile, when the average value of the acceleration is larger than or equal to the acceleration threshold value and the average value of the heart rate is larger than or equal to the heart rate threshold value, the sleep state of the user is determined to be the waking state.
In the embodiment, the sleep state of the user is judged by combining the preset time range, the acceleration mean value and the heart rate mean value, so that the accuracy of determining the sleep state is further improved.
In an embodiment, the notification message further includes target record configuration data, and the notification message is used to trigger the terminal to monitor a target application corresponding to the target record configuration data, and record a target message, which is received by the target application after the current time and matches the target record configuration data, with the target application.
Wherein the target record configuration data is used to configure a message of interest to the user. The method can configure a target contact person, only record the update message sent by the target contact person, configure the message type, such as only record the message of the instant messaging message type, filter the message sent by the multimedia application, and configure message keywords, such as time keywords and event keywords, for extracting the message related to the time from the message according to the time keywords, or extracting the message related to the event from the message through the event keywords, thereby further filtering the content which is not concerned by the user, only record the message concerned by the user, and improve the effectiveness of message recording.
Specifically, a target application to be monitored is determined according to target record configuration data, if the target record configuration data does not include application information, all applications are used as the target application, if the target record configuration data includes a target application identifier, only the application corresponding to the target application identifier is used as the target application, and if the target record configuration data includes a message type, the corresponding target application is determined according to the message type. And recording a target message which is received by the target application after the current time and is matched with the target record configuration data, if the target record configuration data comprises a target contact person, only recording the message of the target contact person obtained from the message received by the target application, and if the target record configuration data comprises a keyword, extracting a target character string from the message received by the target application according to the keyword to be used as record content.
In the embodiment, the information which the user is interested in can be configured according to the target record configuration data, and only the information which the user is concerned about is recorded, so that the effectiveness of information recording is improved, and the effectiveness of information reminding is improved.
In one embodiment, the record includes at least one of information number statistics, information type statistics, and information content records, and the obtaining of the message reminding notification from the terminal includes: and acquiring a message reminding notification from the terminal, wherein the message reminding notification comprises at least one of the number of unread messages, the type of the unread messages and the content of the unread messages. Step 208 includes at least one of the following: and when the number of the unread messages is more than zero, generating message reminding multimedia information, wherein the message reminding multimedia information is used for displaying the number of the unread messages. And generating message reminding multimedia information, wherein the message reminding multimedia information is used for displaying the type of the unread message. And generating a message reminding multimedia message. The message reminding multimedia information is used for displaying the content of the unread message.
Specifically, the update message may be recorded in a plurality of different manners, including at least one of information number statistics, information type statistics, and information content recording, and the message reminding notification including at least one of the unread message number, the unread message type, and the unread message content is correspondingly formed. The message reminding multimedia information can be audio data, video data or audio and video data, and reminds a user in a mode of combining voice broadcasting, display screen display and voice display. The reminding modes corresponding to different messages can be different, such as voice broadcast volume and display modes, including color and size, and can be static display or dynamic display, so that the diversity of message reminding is improved, and messages with different criticalities are distinguished. In one embodiment, the statistics are collected through a drop down menu.
In the embodiment, the update message is recorded in different modes, and the corresponding message reminding notifications in different modes are generated, so that the user is reminded in different modes, and the flexibility and the convenience of message reminding are improved.
Fig. 3 is a flow chart of a message reminding method in one embodiment. The message reminding method in this embodiment is described by taking the operation in the terminal as an example, and includes the following steps:
Step 302, receiving a notification message sent by the wearable device, and recording an update message according to the notification message, where the notification message is generated when the wearable device detects that the sleep state of the user is the sleep state.
Step 304, receiving a message reminding notification acquisition request sent by the wearable device, where the message reminding notification acquisition request triggers generation of a corresponding message reminding notification according to the record, and the message reminding notification acquisition request is generated when the wearable device detects that the sleep state of the user is a waking state.
Step 306, returning a message reminding notification to the wearable device, wherein the message reminding notification is used for reminding the user to view the message.
For details of the above steps 302-306, reference may be made to the description in the above embodiments, which are not repeated herein.
In the embodiment, the notification message sent by the wearable device is received through the terminal, the update message is recorded according to the notification message, the message reminding notification acquisition request sent by the wearable device is received, the message reminding notification acquisition request triggers the generation of the corresponding message reminding notification according to the record, the message reminding notification is returned to the wearable device and is used for reminding the user to check the message, the sleep state of the user is detected through the wearable device, and the terminal is notified to record the update message when the user sleeps, so that the message reminding notification is timely acquired from the terminal when the user wakes up, the user is timely reminded to check the message through the wearable device, the timeliness and convenience of message reminding can be improved, the user is prevented from missing important messages, and the flexibility of message reminding is improved.
In one embodiment, the notification message includes target record configuration data, and step 302 includes monitoring a target application corresponding to the target record configuration data; and recording the target message which is received by the target application after the current time and is matched with the target record configuration data.
In the embodiment, the information which the user is interested in can be configured according to the target record configuration data, and only the information which the user is concerned about is recorded, so that the effectiveness of information recording is improved, and the effectiveness of information reminding is improved.
In one embodiment, recording the update message according to the notification message includes at least one of: counting the number of the updated messages to obtain the number of unread messages; acquiring an information type corresponding to the updating message to obtain an unread message type; and obtaining the information content of the updated message to obtain the content of the unread message.
In the embodiment, the update message is recorded in different modes, and the corresponding message reminding notifications in different modes are generated, so that the user is reminded in different modes, and the flexibility and the convenience of message reminding are improved.
In a specific embodiment, as shown in fig. 4, the wearable device is an intelligent bracelet, and the terminal is a mobile phone, and the message reminding method is provided and includes the following steps:
1. The bracelet detects a sleep state of a user, the sleep state of the user comprises a sleep state and a waking state, and the sleep state comprises a latent sleep state or a deep sleep state.
2. Judging whether the current user enters a sleeping state, determining an acceleration mean value in a first preset time length and a heart rate mean value in a second preset time length, determining that the sleeping state of the user is the sleeping state when the acceleration mean value is smaller than an acceleration threshold value and the heart rate mean value is smaller than a heart rate threshold value, if the current user is in a waking state, circulating the step, and if the sleeping state of the user is detected to be the sleeping state, entering the next step.
3. The bracelet is communicated with the mobile phone, and sends a notification message to the mobile phone, so that a user enters a sleep state through the mobile phone. The notification message is used for triggering the mobile phone to record the update message.
4. When the mobile phone receives the update message, the update message is recorded, and the record comprises at least one of information number statistics, information type statistics and information content record.
5. The bracelet judges whether the current user enters a waking state or not, and determines an acceleration mean value in a first preset time length and a heart rate mean value in a second preset time length; acquiring the current time, determining that the sleep state of the user is the waking state when the current time is in a preset time range, the acceleration mean value is larger than or equal to the acceleration threshold value, and the heart rate mean value is larger than or equal to the heart rate threshold value, if the current user is in the sleep state all the time, circulating the step, and if the sleep state of the user is detected to be the waking state, entering the next step.
6. The bracelet is communicated with the mobile phone to request to acquire message reminding notification.
7. The mobile phone sends a message reminding notice to the bracelet, wherein the message reminding notice comprises at least one of the number of unread messages, the type of the unread messages and the content of the unread messages.
8. The bracelet gives a voice prompt to the user that a new message is updated at night and the user is requested to check the new message in time, wherein the voice prompt comprises at least one of the number of broadcast unread messages, the type of the unread messages and the content of the unread messages.
In the embodiment, the bracelet is matched with the mobile phone, the sleep state of the user is detected through the bracelet, and the mobile phone is informed to record the update message of the user during sleep, so that the user can timely acquire the message reminding notice from the mobile phone when waking up, and timely remind the user to check the message through the bracelet, so that the timeliness and convenience of message reminding can be improved, and the user is prevented from missing important messages during sleep.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
Fig. 5 is a block diagram of a message reminder according to an embodiment. As shown in fig. 5, a message alert apparatus 400 applied to a wearable device includes a detection module 402, a notification module 404, a message alert notification obtaining module 406, and an alert module 408, where:
a detecting module 402, configured to detect a sleep state of a user.
The notification module 404 is configured to send a notification message to a corresponding terminal when it is detected that the sleep state of the user is the sleep state, where the notification message is used to trigger the terminal to record an update message.
And a message reminding notification obtaining module 406, configured to obtain a message reminding notification from the terminal when it is detected that the sleep state of the user is a waking state, where the message reminding notification is generated according to the record.
And the reminding module 408 is used for reminding the user to view the message according to the message reminding notification.
The message reminding device in the embodiment detects the sleep state of the user, and sends a notification message to the corresponding terminal when detecting that the sleep state of the user is the sleep state, wherein the notification message is used for triggering the terminal to record the update message; when the sleep state of the user is detected to be a waking state, acquiring a message reminding notification from the terminal, wherein the message reminding notification is generated according to the record; the message reminding method comprises the steps of reminding a user to check a message according to a message reminding notice, detecting the sleep state of the user through the wearable device, and informing the terminal to record an update message of the user during sleep, so that the message reminding notice is timely obtained from the terminal when the user wakes up, the user is timely reminded to check the message through the wearable device, the timeliness and convenience of message reminding can be improved, the user is prevented from missing important messages, and the flexibility of message reminding is improved.
In one embodiment, the detection module 402 is further configured to determine an acceleration average value within a first preset time period and a heart rate average value within a second preset time period; and when the acceleration mean value is smaller than the acceleration threshold value and the heart rate mean value is smaller than the heart rate threshold value, determining that the sleep state of the user is the sleep state.
The message reminding device in the embodiment can avoid accidental states of a single acceleration value or a single heart rate value through the acceleration mean value and the heart rate mean value, for example, a user turns over or grabs a sleep, the instantaneous acceleration value is higher at the moment, but the accidental states can be avoided through the mean value mode, the accuracy of determining the sleep state is improved, the acceleration mean value and the heart rate mean value are combined to be used for judging the sleep state of the user, and the accuracy of determining the sleep state is further improved.
In one embodiment, the detection module 402 is further configured to determine an acceleration average value within a first preset time period and a heart rate average value within a second preset time period; and acquiring the current time, and when the current time is in a preset time range, the acceleration mean value is greater than or equal to the acceleration threshold value, and the heart rate mean value is greater than or equal to the heart rate threshold value, determining that the sleep state of the user is the waking state.
The message reminding device in the embodiment is used for judging the sleep state of the user by combining the preset time range, the acceleration mean value and the heart rate mean value, so that the accuracy of determining the sleep state is further improved.
In one embodiment, the notification message further includes target record configuration data, and the notification message is used to trigger the terminal to monitor a target application corresponding to the target record configuration data, and record a target message, which is received by the target application after the current time and matches the target record configuration data, with the target application.
The message reminding device in the embodiment can configure the message which is interested by the user according to the target record configuration data, and only records the message concerned by the user, so that the effectiveness of message recording is improved, and the effectiveness of message reminding is improved.
In one embodiment, the record includes at least one of information number statistics, information type statistics, and information content records, the message reminding acquisition module 406 is further configured to acquire a message reminding notification from the terminal, where the message reminding notification includes at least one of an unread message number, an unread message type, and an unread message content, and the reminding module 408 reminds the user to view the message according to the message reminding notification includes at least one of the following manners: when the number of the unread messages is more than zero, generating message reminding multimedia information, wherein the message reminding multimedia information is used for displaying the number of the unread messages; generating message reminding multimedia information, wherein the message reminding multimedia information is used for displaying the unread message type; and generating message reminding multimedia information, wherein the message reminding multimedia information is used for displaying the content of the unread message.
The message reminding device in the embodiment records the update message in different modes and generates corresponding message reminding notifications in different modes, so that the user is reminded in different modes, and the flexibility and the convenience of message reminding are improved.
Fig. 6 is a block diagram of a message reminder according to an embodiment. As shown in fig. 6, a message alert apparatus 500, applied to a terminal, includes a recording module 502, a message alert notification generating module 504, and a sending module 506, where:
the recording module 502 is configured to receive a notification message sent by the wearable device, and record an update message according to the notification message, where the notification message is generated when the wearable device detects that the sleep state of the user is the sleep state.
A message alert notification generation module 504, configured to receive a message alert notification acquisition request sent by the wearable device, where the message alert notification acquisition request triggers generation of a corresponding message alert notification according to the record, and the message alert notification acquisition request is generated when the wearable device detects that the sleep state of the user is a waking state.
A sending module 506, configured to return the message reminding notification to the wearable device, where the message reminding notification is used to remind a user to view a message.
The message reminding device in the embodiment receives a notification message sent by wearable equipment through a terminal, records an update message according to the notification message, receives a message reminding notification acquisition request sent by the wearable equipment, triggers the message reminding notification acquisition request to generate a corresponding message reminding notification according to the record, and returns the message reminding notification to the wearable equipment, wherein the message reminding notification is used for reminding a user to check the message, detects the sleep state of the user through the wearable equipment and informs the terminal to record the update message when the user sleeps, so that the message reminding notification is timely acquired from the terminal when the user wakes up, the user is timely reminded to check the message through the wearable equipment, the timeliness and convenience of message reminding can be improved, the user is prevented from missing important messages, and the flexibility of message reminding is improved. .
In one embodiment, the notification message includes target record configuration data, and the recording module 502 is further configured to monitor a target application corresponding to the target record configuration data; and recording the target message which is received by the target application after the current time and is matched with the target record configuration data.
The message reminding device in the embodiment can configure the message which is interested by the user according to the target record configuration data, and only records the message concerned by the user, so that the effectiveness of message recording is improved, and the effectiveness of message reminding is improved.
In one embodiment, the recording module 502 records the update message according to the notification message includes at least one of the following ways: counting the number of the updated messages to obtain the number of unread messages; acquiring an information type corresponding to the updating message to obtain an unread message type; and obtaining the information content of the updated message to obtain the content of the unread message.
The message reminding device in the embodiment records the update message in different modes and generates corresponding message reminding notifications in different modes, so that the user is reminded in different modes, and the flexibility and the convenience of message reminding are improved.
The division of each module in the message alert device is only for illustration, and in other embodiments, the message alert device may be divided into different modules as needed to complete all or part of the functions of the message alert device.
For specific limitations of the message reminding device, reference may be made to the above limitations of the message reminding method, and details are not described here. The modules in the message reminding device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 7 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 7, the electronic device includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor for implementing a message alert method provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. This electronic equipment can be wearing formula wrist-watch, bracelet etc. arbitrary wearing formula equipment.
The implementation of each module in the message reminding device provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. Program modules constituted by such computer programs may be stored on the memory of the electronic device. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media embodying computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of a message alert method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a message alert method.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A message reminding method is applied to wearable equipment and is characterized by comprising the following steps:
detecting a sleep state of a user;
when the sleep state of the user is detected to be the sleep state, sending a notification message to a corresponding terminal, wherein the notification message is used for triggering the terminal to record an update message;
when the sleep state of the user is detected to be a waking state, acquiring a message reminding notification from the terminal, wherein the message reminding notification is generated according to the record;
and reminding the user to check the message according to the message reminding notification.
2. The method of claim 1, wherein detecting a user sleep state comprises:
determining an acceleration average value in a first preset time length and a heart rate average value in a second preset time length;
and when the acceleration mean value is smaller than an acceleration threshold value and the heart rate mean value is smaller than a heart rate threshold value, determining that the sleep state of the user is a sleep state.
3. The method of claim 1, wherein detecting a user sleep state comprises:
determining an acceleration average value in a first preset time length and a heart rate average value in a second preset time length;
and acquiring current time, and when the current time is in a preset time range, the acceleration mean value is greater than or equal to an acceleration threshold value, and the heart rate mean value is greater than or equal to a heart rate threshold value, determining that the sleep state of the user is a waking state.
4. The method according to claim 1, wherein the notification message further includes target record configuration data, and the notification message is used to trigger the terminal to monitor a target application corresponding to the target record configuration data, and record a target message, which is received by the target application after a current time and matches the target record configuration data, in the target application.
5. The method according to claim 1, wherein the record includes at least one of information number statistics, information type statistics, and information content records, and the obtaining of the message alert notification from the terminal includes:
acquiring a message reminding notification from the terminal, wherein the message reminding notification comprises at least one of the number of unread messages, the type of the unread messages and the content of the unread messages;
the reminding the user of viewing the message according to the message reminding notification comprises at least one of the following modes:
when the number of the unread messages is larger than zero, generating message reminding multimedia information, wherein the message reminding multimedia information is used for displaying the number of the unread messages;
generating message reminding multimedia information, wherein the message reminding multimedia information is used for displaying the unread message type;
And generating message reminding multimedia information, wherein the message reminding multimedia information is used for displaying the content of the unread message.
6. A message reminding method is applied to a terminal and is characterized by comprising the following steps:
receiving a notification message sent by wearable equipment, and recording an update message according to the notification message, wherein the notification message is generated when the wearable equipment detects that the sleep state of a user is a sleep state;
receiving a message reminding notification acquisition request sent by the wearable device, wherein the message reminding notification acquisition request triggers generation of a corresponding message reminding notification according to the record, and the message reminding notification acquisition request is generated when the wearable device detects that the sleep state of the user is a waking state;
and returning the message reminding notification to the wearable device, wherein the message reminding notification is used for reminding the user to view the message.
7. The method of claim 6, wherein the notification message comprises target recording configuration data, wherein the receiving the notification message sent by the wearable device, and wherein recording the update message according to the notification message comprises:
monitoring a target application corresponding to the target record configuration data;
And recording the target message which is received by the target application after the current time and is matched with the target record configuration data.
8. The method of claim 6, wherein the recording of the update message according to the notification message comprises at least one of:
counting the number of the updated messages to obtain the number of unread messages;
acquiring an information type corresponding to the updating message to obtain an unread message type;
and obtaining the information content of the updated message to obtain the content of the unread message.
9. A message alert device, comprising:
the detection module is used for detecting the sleep state of the user;
the notification module is used for sending a notification message to a corresponding terminal when the sleep state of the user is detected to be the sleep state, wherein the notification message is used for triggering the terminal to record an update message;
a message reminding notification acquisition module, configured to acquire a message reminding notification from the terminal when it is detected that the sleep state of the user is a waking state, where the message reminding notification is generated according to the record;
and the reminding module is used for reminding the user to check the message according to the message reminding notice.
10. A message alert device, comprising:
the recording module is used for receiving a notification message sent by the wearable device and recording an update message according to the notification message, wherein the notification message is generated when the wearable device detects that the sleep state of the user is the sleep state;
a message reminding notification generation module, configured to receive a message reminding notification acquisition request sent by the wearable device, where the message reminding notification acquisition request triggers generation of a corresponding message reminding notification according to the record, and the message reminding notification acquisition request is generated when the wearable device detects that the sleep state of the user is a waking state;
and the sending module is used for returning the message reminding notification to the wearable device, and the message reminding notification is used for reminding the user to view the message.
11. An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 5 or claims 6 to 8.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5 or 6 to 8.
CN202011375384.7A 2020-11-30 2020-11-30 Message reminding method and device, electronic equipment and readable storage medium Active CN112565519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011375384.7A CN112565519B (en) 2020-11-30 2020-11-30 Message reminding method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011375384.7A CN112565519B (en) 2020-11-30 2020-11-30 Message reminding method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112565519A true CN112565519A (en) 2021-03-26
CN112565519B CN112565519B (en) 2022-01-18

Family

ID=75045474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011375384.7A Active CN112565519B (en) 2020-11-30 2020-11-30 Message reminding method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112565519B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115883714A (en) * 2021-09-28 2023-03-31 华为技术有限公司 Message reply method and related equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683581A (en) * 2015-03-04 2015-06-03 广东欧珀移动通信有限公司 Intelligent terminal communication reminding method and device
CN104836724A (en) * 2015-03-31 2015-08-12 北京奇艺世纪科技有限公司 Content updating prompting method and device
CN104873170A (en) * 2015-04-20 2015-09-02 深圳市欧珀通信软件有限公司 Message notifying method and device and smart watch
CN106325469A (en) * 2015-06-19 2017-01-11 小米科技有限责任公司 Information processing method and device
CN107741888A (en) * 2017-11-03 2018-02-27 广东欧珀移动通信有限公司 Message prompt method, device, storage medium and terminal device
CN109698878A (en) * 2018-12-11 2019-04-30 北京小米移动软件有限公司 Notification message sort method and device
CN111432067A (en) * 2020-03-03 2020-07-17 上海掌门科技有限公司 Unread message number processing method, unread message number processing device, unread message number processing equipment and unread message number processing medium
CN111913620A (en) * 2020-07-28 2020-11-10 Tcl通讯(宁波)有限公司 Notification message display method and device, storage medium and mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683581A (en) * 2015-03-04 2015-06-03 广东欧珀移动通信有限公司 Intelligent terminal communication reminding method and device
CN104836724A (en) * 2015-03-31 2015-08-12 北京奇艺世纪科技有限公司 Content updating prompting method and device
CN104873170A (en) * 2015-04-20 2015-09-02 深圳市欧珀通信软件有限公司 Message notifying method and device and smart watch
CN106325469A (en) * 2015-06-19 2017-01-11 小米科技有限责任公司 Information processing method and device
CN107741888A (en) * 2017-11-03 2018-02-27 广东欧珀移动通信有限公司 Message prompt method, device, storage medium and terminal device
CN109698878A (en) * 2018-12-11 2019-04-30 北京小米移动软件有限公司 Notification message sort method and device
CN111432067A (en) * 2020-03-03 2020-07-17 上海掌门科技有限公司 Unread message number processing method, unread message number processing device, unread message number processing equipment and unread message number processing medium
CN111913620A (en) * 2020-07-28 2020-11-10 Tcl通讯(宁波)有限公司 Notification message display method and device, storage medium and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115883714A (en) * 2021-09-28 2023-03-31 华为技术有限公司 Message reply method and related equipment

Also Published As

Publication number Publication date
CN112565519B (en) 2022-01-18

Similar Documents

Publication Publication Date Title
US20160246259A1 (en) Method, appararus and wearable apparatus for automatically reminding user to sleep
EP2120712B1 (en) Arrangement and method to wake up a sleeping subject at an advantageous time instant associated with natural arousal
CN106510663B (en) A kind of Sleep-Monitoring method based on Internet of Things
US9171445B2 (en) Activity level monitoring participant station network
CN114343587B (en) Sleep monitoring method, sleep monitoring device, electronic equipment and computer readable medium
CN105320263B (en) A kind of based reminding method and wearable device of wearable device
CN107343096B (en) Information reminding method and device, storage medium and electronic equipment
CN107968885B (en) Alarm clock reminding method, mobile terminal and computer readable storage medium
CN105324069A (en) Processing status information of a medical device
CN112069949A (en) Artificial intelligence-based infant sleep monitoring system and monitoring method
WO2014031220A2 (en) Wake status detection for suppression and initiation of notifications
CN105919569A (en) Health monitoring system
CN113854969A (en) Intelligent terminal and sleep monitoring method
CN108154923A (en) A kind of real-time continual Intelligent monitoring device and its system based on health control
CN106921700A (en) A kind of method, device and system that safe anticipation is carried out according to characteristic information
CN111024264A (en) Monitoring method, device, equipment and storage medium based on body temperature of multiple persons
CN113205661A (en) Anti-cheating implementation method and system, intelligent wearable device and storage medium
CN112565519B (en) Message reminding method and device, electronic equipment and readable storage medium
CN108108090B (en) Communication message reminding method and device
CN106730761A (en) A kind of exercise data management method and device, user equipment
CN110477884A (en) Healthalert method, apparatus, equipment and storage medium based on wearable device
CN108464821A (en) A kind of intelligent wristwatch for human body physical sign monitoring
CN110447217A (en) A kind of method and terminal of pressure detecting
CN109620180A (en) Control method, apparatus, equipment and the storage medium of wearable device alarm
CN111768593A (en) State monitoring method and device, intelligent 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
GR01 Patent grant
GR01 Patent grant