The method, apparatus and smartwatch of prompting message
Technical field
The invention belongs to the method, apparatus and smartwatch of field of communication technology more particularly to a kind of prompting message.
Background technique
Product of the smartwatch as a user's body-worn, can serve as the role of mobile phone assistant, logical on mobile phone
Know, the message such as short message, calendar, wechat can be synchronized to smartwatch, smartwatch is reminded after receiving the synchronous message of mobile phone
User, such user also will appreciate that information without digging out mobile phone.
However, it is as follows that inventor has found that the smartwatch that the prior art provides at least exists in realizing process of the present invention
Problem:
It is convenient that frequent prompting message cannot not only be brought, and user can be allowed to dislike very much instead, especially at noon or
When evening rest.
Summary of the invention
In view of this, the embodiment of the present invention provides the method, apparatus and smartwatch of a kind of prompting message, it is existing to solve
The smartwatch that technology provides, when user's noon or evening rest, or frequently carries out prompting message, allows user
The problem of disliking very much.
In a first aspect, a kind of method of prompting message is provided, including:
It establishes and communicates to connect with mobile terminal;
Whether monitoring user is in sleep state;
If monitoring that user is in sleep state, the message from mobile terminal is received but without prompting message.
With reference to first aspect, in the first possible implementation of the first aspect, it receives described from mobile whole
After the message at end, further include:
The message from mobile terminal received is cached.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect
In, after the message of the reception from mobile terminal but without prompting message, further include:
If monitoring that user is in non-sleep state, by the prompting message being cached to user.
The possible implementation of with reference to first aspect the first or second of possible realization with reference to first aspect
Mode, in a third possible implementation of the first aspect, the message from mobile terminal that will be received cache
Get up specially:
The message from mobile terminal received is cached by the sequencing of receiving time;
The prompting message that will be cached is specially to user:
The message being cached is reminded according to the sequencing of receiving time to user.
With reference to first aspect or with reference to first aspect the first possible implementation or with reference to first aspect
Second of possible implementation or the third possible implementation with reference to first aspect, at the 4th kind of first aspect
In possible implementation, after whether the monitoring user is in sleep state, further include:
If monitoring that user is in non-sleep state, receiving the message from mobile terminal and carrying out prompting message.
Second aspect provides a kind of device of prompting message, including:
Connection unit is communicated to connect for establishing with mobile terminal;
Monitoring unit, for monitoring whether user is in sleep state;
First reminds control unit, if received for monitoring that user is in sleep state from mobile terminal
Message but without prompting message.
In conjunction with second aspect, in the first possible implementation of the second aspect, described first reminds control unit,
Including:
Cache module, the message from mobile terminal for receiving the first prompting control unit cache
Come.
In conjunction with the first possible implementation of second aspect, in second of possible implementation of second aspect
In, described device further includes:
Second reminds control unit, for monitoring that user is in non-sleep state, the then prompting message that will be cached
To user.
In conjunction with the first possible implementation of second aspect or second of possible realization of combination second aspect
Mode, in the third possible implementation of the second aspect, the cache module are cached by the sequencing of receiving time
The message from mobile terminal received;
Second prompting control unit reminds the message being cached to user according to the sequencing of receiving time.
In conjunction with second aspect or combines the first possible implementation of second aspect or combine second aspect
Second of possible implementation or the third the possible implementation for combining second aspect, at the 4th kind of second aspect
In possible implementation, described device further includes:
Third reminds control unit, if receiving for monitoring that user is in non-sleep state and coming from mobile terminal
Message and carry out prompting message.
The third aspect, provides a kind of smartwatch, and the smartwatch includes the dress of prompting message described in second aspect
It sets.
In the embodiment of the present invention, smartwatch and mobile terminal are established after communicating to connect, and whether monitoring user is in sleep
State receives the message from mobile terminal but without prompting message if monitoring that user is in sleep state, thus
Can when user is in sleep state, only receive mobile terminal send message but without prompting message, use can be improved
The sleep quality at family.The smartwatch that prior art offer is provided, when user's noon or evening rest, or frequency
Numerous carry out prompting message, the problem of allowing user to dislike very much.
Detailed description of the invention
Fig. 1 is the implementation flow chart of the embodiment of the method for prompting message of the present invention;
Fig. 2 is the structural block diagram of the Installation practice of prompting message of the present invention;
Fig. 3 is the structural block diagram of smartwatch embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
In embodiments of the present invention, after smartwatch and mobile terminal establish communication connection, whether monitoring user, which is in, is slept
Dormancy state receives the message from mobile terminal but without prompting message if monitoring that user is in sleep state, from
And can when user is in sleep state, only receive mobile terminal send message but without prompting message, can be improved
The sleep quality of user.
Realization of the invention is described in detail below in conjunction with specific embodiment:
Embodiment one
Fig. 1 shows the implementation process of the method for the prompting message of the offer of the embodiment of the present invention one, and details are as follows:
In step s101, it establishes and communicates to connect with mobile terminal.
In embodiments of the present invention, it is built-in with bluetooth module in smartwatch and mobile terminal, passes through bluetooth module intelligence
Bluetooth communication connection can be can establish between wrist-watch and mobile terminal, mobile terminal can send message by Blue-tooth communication method
To smartwatch.
Wherein, which can be smart phone, or tablet computer, herein with no restrictions.
In step s 102, whether monitoring user is in sleep state, if so, S103 is thened follow the steps, if it is not, then
Execute step S104.
In embodiments of the present invention, it is built-in with heart rate detection module in smartwatch, can be supervised by heart rate detection module
It surveys whether user is in sleep state, if heart rate detection module monitors that user is in sleep state, thens follow the steps S103,
It is no to then follow the steps S104.
In step s 103, the message from mobile terminal is received but without prompting message.
In embodiments of the present invention, prompting message module is built-in in smartwatch, if heart rate detection module monitors
User is in sleep state, then notification message reminding module, only receives the message from mobile terminal but without prompting message.
Preferably, the message from mobile terminal received is cached by smartwatch, is monitoring that user is in
When non-sleep state, by the prompting message being cached to user.
Preferably, smartwatch caches the message from mobile terminal received by the sequencing of receiving time,
When monitoring that user is in non-sleep state, the message being cached is reminded according to the sequencing of receiving time to user.
In step S104, receives the message from mobile terminal and carry out prompting message.
In embodiments of the present invention, prompting message module is built-in in smartwatch, if heart rate detection module monitors
User is in non-sleep state, then notification message reminding module, receives the message from mobile terminal and carries out prompting message.
After the present embodiment, smartwatch and mobile terminal establish communication connection, whether monitoring user is in sleep state, such as
Fruit monitors that user is in sleep state, then receives the message from mobile terminal but without prompting message, so as to
When user is in sleep state, only receive mobile terminal send message but without prompting message, sleeping for user can be improved
Dormancy quality.Overcome the prior art offer smartwatch, when user's noon or evening rest, or frequently into
Row prompting message, the problem of allowing user to dislike very much.
In addition, be in sleep state in user in the present embodiment, the message that mobile terminal is sent is cached, with
When family is in non-sleep state, by the prompting message being cached to user, the sleep quality of user can not only can be improved,
User can also be reminded in time when user is in non-sleep state.
It should be understood that in embodiments of the present invention, magnitude of the sequence numbers of the above procedures are not meant to the elder generation of execution sequence
Afterwards, the execution sequence of each process should be determined by its function and internal logic, the implementation process structure without coping with the embodiment of the present invention
At any restriction.
Those of ordinary skill in the art will appreciate that all or part of the steps in realization the various embodiments described above method is can
It is completed with instructing relevant hardware by program, corresponding program can store in a computer-readable storage medium
In, the storage medium, such as ROM/RAM, disk or CD.
Embodiment two
Fig. 2 shows the specific block diagrams of the device of prompting message provided by Embodiment 2 of the present invention, for the ease of saying
Bright, only parts related to embodiments of the present invention are shown.The device 2 of the prompting message, which can be, to be built in wearable device
Software unit, hardware cell or software and hardware combining unit, which can be smartwatch, the prompting message
Device 2 include:Connection unit 21, monitoring unit 22 and first remind control unit 23.
Wherein, connection unit 21 are communicated to connect for establishing with mobile terminal;
Monitoring unit 22, for monitoring whether user is in sleep state;
First reminds control unit 23, if receiving for monitoring that user is in sleep state and coming from mobile terminal
Message but without prompting message.
Further, described first control unit 23 is reminded, including:
Cache module, the message from mobile terminal for receiving the first prompting control unit cache
Come.
Further, described device 2 further include:
Second reminds control unit, the message for when monitoring that user is in non-sleep state, then will be cached
It reminds to user.
Further, the cache module caches the disappearing from mobile terminal received by the sequencing of receiving time
Breath;
Second prompting control unit reminds the message being cached to user according to the sequencing of receiving time.
Further, described device 2 further include:
Third reminds control unit, if receiving for monitoring that user is in non-sleep state and coming from mobile terminal
Message and carry out prompting message.
The device of prompting message provided in an embodiment of the present invention can be applied in aforementioned corresponding embodiment of the method one, in detail
Feelings are referring to the description of above-described embodiment one, and details are not described herein.
Embodiment three
The specific block diagram that Fig. 3 shows the smartwatch of the offer of the embodiment of the present invention three is only shown for ease of description
Part related to the embodiment of the present invention is gone out.The smartwatch 3 includes the device 2 of prompting message described in embodiment two,
The device 2 of the prompting message includes:Connection unit 21, monitoring unit 22 and first remind control unit 23.
Wherein, connection unit 21 are communicated to connect for establishing with mobile terminal;
Monitoring unit 22, for monitoring whether user is in sleep state;
First reminds control unit 23, if receiving for monitoring that user is in sleep state and coming from mobile terminal
Message but without prompting message.
Further, described first control unit 23 is reminded, including:
Cache module, the message from mobile terminal for receiving the first prompting control unit cache
Come.
Further, described device 2 further include:
Second reminds control unit, the message for when monitoring that user is in non-sleep state, then will be cached
It reminds to user.
Further, the cache module caches the disappearing from mobile terminal received by the sequencing of receiving time
Breath;
Second prompting control unit reminds the message being cached to user according to the sequencing of receiving time.
Further, described device 2 further include:
Third reminds control unit, if receiving for monitoring that user is in non-sleep state and coming from mobile terminal
Message and carry out prompting message.
Smartwatch provided in an embodiment of the present invention can be applied in aforementioned corresponding embodiment of the method one, details referring to
The description of above-described embodiment one, details are not described herein.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.