CN107026941A - The reply treating method and apparatus of unread message - Google Patents

The reply treating method and apparatus of unread message Download PDF

Info

Publication number
CN107026941A
CN107026941A CN201710384550.1A CN201710384550A CN107026941A CN 107026941 A CN107026941 A CN 107026941A CN 201710384550 A CN201710384550 A CN 201710384550A CN 107026941 A CN107026941 A CN 107026941A
Authority
CN
China
Prior art keywords
user
message
sleep state
state
detection
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
CN201710384550.1A
Other languages
Chinese (zh)
Other versions
CN107026941B (en
Inventor
伍亮雄
骆艳飞
张亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710384550.1A priority Critical patent/CN107026941B/en
Publication of CN107026941A publication Critical patent/CN107026941A/en
Application granted granted Critical
Publication of CN107026941B publication Critical patent/CN107026941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of reply treating method and apparatus of unread message, the method includes:When the conversation message that terminal is received is being in unread state the very first time, whether detection user is in sleep state;The difference of the very first time and the reception time of the conversation message are more than the first preset time;When detecting the user in sleep state, presetting message is sent to the transmitting terminal of the conversation message, the presetting message is used to indicate that the user is in sleep state.Therefore, the transmitting terminal of conversation message knows that the user is in sleep state and can not reply message according to presetting message, the transmitting terminal of conversation message is without the reply that wait for the arrival of news again, it is to avoid waste of time, improves chat experience effect.

Description

The reply treating method and apparatus of unread message
Technical field
This disclosure relates to instant messaging field, more particularly to unread message reply treating method and apparatus.
Background technology
Two users chatted, directly fall asleep, it will lead when a side has mobile phone in arms in chat process due to feeling sleepy Cause an other side to send after message, never receive the feedback of other side, and the current state of other side can not be known, so that It is absorbed in very long wait, loses time.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides the reply processing method and dress of a kind of unread message Put.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of reply processing method of unread message, including:
When the conversation message that terminal is received is being in unread state the very first time, whether detection user is in sleep shape State;The difference of the very first time and the reception time of the conversation message are more than the first preset time;
When detecting the user in sleep state, presetting message, institute are sent to the transmitting terminal of the conversation message Stating presetting message is used to indicate that the user is in sleep state.
Alternatively, whether the detection user is in sleep state, including:Obtain the light intensity in current environment;With And detect whether the light intensity is less than default light intensity;
It is described to detect the user in sleep state, including:When the light intensity is less than default light intensity, Detect the user and be in sleep state.
Alternatively, whether the detection user is in sleep state, including:Obtain the eye picture of the user;And Whether the eyes for detecting the user according to the eye picture are in closure state;
It is described to detect the user in sleep state, including:
When the eyes that the user is detected according to the eye picture are in closure state, detect at the user In sleep state.
Alternatively, whether the detection user is in sleep state, including:Detect the terminal in the second preset time Whether remain static;
It is described to detect the user in sleep state, including:
When detecting the terminal and being remained static in the second preset time, detect the user and be in sleep State.
Alternatively, whether the detection user is in sleep state, including:Obtain the heart rate of the user;And detection Whether the heart rate is less than default heart rate;
It is described to detect the user in sleep state, including:When the heart rate is less than default heart rate, institute is detected State user and be in sleep state.
Alternatively, it is described to detect the user before sleep state, in addition to:
The light intensity for detecting current environment is more than or equal to default light intensity.
Alternatively, whether the detection user is in before sleep state, in addition to:
Determine that the reception time of the conversation message is in default sleep period.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of reply processing unit of unread message, including:
Detection module, is configured as the conversation message of terminal reception when the very first time being in unread state, detection is used Whether family is in sleep state;The difference of the very first time and the reception time of the conversation message are more than the first preset time;
Sending module, be configured as the detection module detect the user be in sleep state when, to the meeting The transmitting terminal for talking about message sends presetting message, and the presetting message is used to indicate that the user is in sleep state.
Alternatively, the detection module, including:First acquisition submodule and the first detection sub-module;
First acquisition submodule, is configured as obtaining the light intensity in current environment;
First detection sub-module, is configured as detecting whether the light intensity is less than default light intensity;Work as institute When stating light intensity less than default light intensity, detect the user and be in sleep state.
Alternatively, the detection module, including:Second acquisition submodule and the second detection sub-module;
Second acquisition submodule, is configured as obtaining the eye picture of the user;
Second detection sub-module, is configured as detecting whether the eyes of the user are according to the eye picture Closure state;When the eyes that the user is detected according to the eye picture are in closure state, the user is detected In sleep state.
Alternatively, the detection module includes:3rd detection sub-module;
3rd detection sub-module, is configured as detecting whether the terminal is in static shape in the second preset time State;When detecting the terminal and being remained static in the second preset time, detect the user and be in sleep state.
Alternatively, the detection module, including:3rd acquisition submodule and the 4th detection sub-module;
3rd acquisition submodule, is configured as obtaining the heart rate of the user;
4th detection sub-module, is configured as detecting whether the heart rate is less than default heart rate;When the heart rate is small When default heart rate, detect the user and be in sleep state.
Alternatively, the detection module also includes:5th detection sub-module;
5th detection sub-module, the light intensity for being configured as detecting current environment is more than or equal to default light Intensity.
Alternatively, described device also includes:
Determining module, is configured to determine that the reception time of the conversation message is in default sleep period.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of reply processing unit of unread message, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When the conversation message that terminal is received is being in unread state the very first time, whether detection user is in sleep shape State;The difference of the very first time and the reception time of the conversation message are more than the first preset time;
When detecting the user in sleep state, presetting message, institute are sent to the transmitting terminal of the conversation message Stating presetting message is used to indicate that the user is in sleep state.
The technical scheme provided by this disclosed embodiment can include the following benefits:By when the conversation message received When the very first time being in unread state, whether detection user is in sleep state;The very first time and the conversation message The reception time difference be more than the first preset time;When detecting the user in sleep state, to the conversation message Transmitting terminal send presetting message, the presetting message be used for indicate the user be in sleep state.Therefore, conversation message Transmitting terminal knows that the user is in sleep state and can not reply message according to presetting message, and the transmitting terminal of conversation message is without again The reply waited for the arrival of news, it is to avoid waste of time, improves chat experience effect.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of the reply processing method of unread message according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the reply processing method of unread message according to another exemplary embodiment.
Fig. 3 is a kind of flow chart of the reply processing method of unread message according to another exemplary embodiment.
Fig. 4 is a kind of flow chart of the reply processing method of unread message according to another exemplary embodiment.
Fig. 5 is a kind of flow chart of the reply processing method of unread message according to another exemplary embodiment.
Fig. 6 is a kind of block diagram of the reply processing unit of unread message according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of the reply processing unit of unread message according to another exemplary embodiment.
Fig. 8 is a kind of block diagram of the reply processing unit of unread message according to another exemplary embodiment.
Fig. 9 is a kind of block diagram of the reply processing unit of unread message according to another exemplary embodiment.
Figure 10 is a kind of block diagram of the reply processing unit of unread message according to another exemplary embodiment.
Figure 11 is a kind of block diagram of the reply processing unit of unread message according to another exemplary embodiment.
Figure 12 is a kind of block diagram of the reply processing unit 800 of unread message according to an exemplary embodiment.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings It is not intended to limit the scope that the disclosure is conceived by any mode with word description, but is by reference to specific embodiment Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects of be described in detail in claims, disclosure.
Fig. 1 is a kind of flow chart of the reply processing method of unread message according to an exemplary embodiment, such as Fig. 1 Shown, the reply processing method of unread message is used in terminal, comprises the following steps.
In step s 11, when the conversation message that terminal is received is being in unread state the very first time, whether detection user In sleep state;The difference of the very first time and the reception time of the conversation message are more than the first preset time.
In step s 12, when detecting the user in sleep state, sent to the transmitting terminal of the conversation message Presetting message, the presetting message is used to indicate that the user is in sleep state.
In the present embodiment, receive after conversation message, the conversation message can be terminal receive short message or The conversation message in instant messaging in terminal, instant messaging can be Michat, QQ, MSN, wechat etc..When the session of reception disappears Breath from the reception time of the conversation message the first preset time (such as 10 minutes) afterwards be in unread state when, that is, the meeting Words message is not read by a user yet, and whether detection user is in sleep state.Sleep state is in when detecting user, then to hair Give the transmitting terminal of the conversation message to send presetting message, sleep state is in for instruction user, the user of such transmitting terminal reads Take and know that the user of receiving terminal is in sleep state after the presetting message, then without wait reply again, it is to avoid the wave of time Take, improve the chat experience of user.Sleep state is not in when detecting user, then the present embodiment terminates, i.e., do not perform step Rapid S12.
Wherein, judge whether a kind of mode in unread state can be the conversation message received:Terminal is being received After conversation message, terminal notifies user to have received conversation message by notification message, if the notification message is not handled by user (for example operating of contacts or slide is not present in viewing area of the notification message in display interface), then illustrate the session Message is in unread state.
Wherein, the content of presetting message can be word or picture or animation or voice etc..
In summary, the reply processing method for the unread message that the present embodiment is provided, by existing when the conversation message received When the very first time is in unread state, whether detection user is in sleep state;The very first time and the conversation message The difference of reception time is more than the first preset time;When detecting the user in sleep state, to the conversation message Transmitting terminal sends presetting message, and the presetting message is used to indicate that the user is in sleep state.Therefore, the hair of conversation message Sending end knows that the user is in sleep state and can not reply message according to presetting message, and the transmitting terminal of conversation message is without again etc. Treat the reply of message, it is to avoid waste of time, improve chat experience effect.
Fig. 2 is a kind of flow chart of the reply processing method of unread message according to another exemplary embodiment, such as Shown in Fig. 2, the reply processing method of unread message is used in terminal, comprises the following steps.
In the step s 21, when the conversation message that terminal is received is being in unread state the very first time, current environment is obtained In light intensity;The difference of the very first time and the reception time of the conversation message are more than the first preset time.
In step S22, detect whether the light intensity is less than default light intensity.
In step S23, when the light intensity is less than default light intensity, detects the user and be in sleep shape State.
In the present embodiment, when reception conversation message in the very first time still in unread state when, obtain current environment in Light intensity, can be obtained by the light sensor in the camera (front camera and/or rear camera) of terminal Light intensity in current environment, then detects whether the light intensity is less than default light intensity again.When detection, the light is strong When degree is less than default light intensity, it is believed that be currently in night and user has turned off the light, therefore, user can detect In sleep state, step S24 is then performed again., can when detecting the light intensity more than or equal to default light intensity Do not turned off the light with thinking to be not presently within night or user, user is detected accordingly and is not in sleep state, is then terminated, or Person, then the S31-S34 in embodiment as shown in Figure 3 is performed, or, then the S41-S43 in embodiment as shown in Figure 4 is performed, or Person, then perform the S51-S54 in embodiment as shown in Figure 5.
In step s 24, presetting message is sent to the transmitting terminal of the conversation message, the presetting message is used to indicate institute State user and be in sleep state.
Wherein, the step S24 process that implements may refer to associated description in embodiment illustrated in fig. 1, herein no longer Repeat.
In summary, the reply processing method for the unread message that the present embodiment is provided, by existing when the conversation message received When the very first time is in unread state, detect whether user is in sleep state by detecting the light intensity of current environment; The difference of the very first time and the reception time of the conversation message are more than the first preset time;When light intensity is less than default light During line strength, detect the user and be in sleep state, then send presetting message, institute to the transmitting terminal of the conversation message Stating presetting message is used to indicate that the user is in sleep state.Therefore, the transmitting terminal of conversation message is known according to presetting message The user is in sleep state and can not replied message, and the transmitting terminal of conversation message is without the reply that wait for the arrival of news again, it is to avoid Waste of time, improves chat experience effect.
Fig. 3 is a kind of flow chart of the reply processing method of unread message according to another exemplary embodiment, such as Shown in Fig. 3, the reply processing method of unread message is used in terminal, comprises the following steps.
In step S31, when the conversation message that terminal is received is being in unread state the very first time, the eye of user is obtained Portion's picture;The difference of the very first time and the reception time of the conversation message are more than the first preset time.
In step s 32, whether the eyes for detecting the user according to the eye picture are in closure state.
In step S33, when the eyes that the user is detected according to the eye picture are in closure state, detection Sleep state is in the user.
In the present embodiment, when reception conversation message in the very first time still in unread state when, obtain user eye Picture, can shoot the eye picture of user, Ran Hougen by the camera (front camera and/or rear camera) of terminal Whether the eyes for detecting the user according to the eye picture are in closure state.When the eyes for detecting the user are in closure state When, it may be said that bright user has closed one's eyes sleep, therefore, can detect user and is in sleep state, step is then performed again S34.When the eyes for detecting the user are not in closure state, it may be said that bright user is not closed one's eyes sleep, and use is detected accordingly Family is not in sleep state, then terminates.
In step S34, presetting message is sent to the transmitting terminal of the conversation message, the presetting message is used to indicate institute State user and be in sleep state.
Wherein, the step S34 process that implements may refer to associated description in embodiment illustrated in fig. 1, herein no longer Repeat.
Alternatively, the present embodiment also determines current environment before the eye picture of the acquisition user in performing step S31 In light intensity be more than or equal to default light intensity.It is, not read when the conversation message received is in the very first time During state, the light intensity of current environment is obtained;Detect whether the light intensity is less than default light intensity, when the light When intensity is more than or equal to default light intensity, the eye picture of user is obtained.
In summary, the reply processing method for the unread message that the present embodiment is provided, by existing when the conversation message received When the very first time is in unread state, detect whether user is in sleep state by detecting the eye picture of user;It is described The difference of the very first time and the reception time of the conversation message are more than the first preset time;Detected when according to the eye picture of user When the eyes for going out user are in closure state, detect the user and be in sleep state, then to the hair of the conversation message Sending end sends presetting message, and the presetting message is used to indicate that the user is in sleep state.Therefore, the transmission of conversation message End knows that the user is in sleep state and can not reply message according to presetting message, and the transmitting terminal of conversation message without waiting again The reply of message, it is to avoid waste of time, improves chat experience effect.
Fig. 4 is a kind of flow chart of the reply processing method of unread message according to another exemplary embodiment, such as Shown in Fig. 4, the reply processing method of unread message is used in terminal, comprises the following steps.
In step S41, when the conversation message that terminal is received is being in unread state the very first time, detection terminal is the Whether two preset times remain static;It is pre- that the difference of the very first time and the reception time of the conversation message are more than first If the time.
In step S42, when detecting the terminal and being remained static in the second preset time, detect described User is in sleep state.
In the present embodiment, when reception conversation message in the very first time still in unread state when, detect that the terminal exists Whether remained static in second preset time (such as in 1 minute), whether terminal can be detected by the gyroscope of terminal Movement is rocked, it is considered that terminal remains static if terminal is not moved or rocked, user does not operate the end End, therefore, can detect user and is in sleep state, step S43 is then performed again.When detect terminal movement or rock then It is considered that terminal is not in inactive state, it may be said that bright user still has the operation terminal, and user is detected accordingly and is not in sleeping Dormancy state, then terminates.
In step S43, presetting message is sent to the transmitting terminal of the conversation message, the presetting message is used to indicate institute State user and be in sleep state.
Wherein, the step S43 process that implements may refer to associated description in embodiment illustrated in fig. 1, herein no longer Repeat.
Alternatively, whether detection terminal of the present embodiment in step S41 is performed is in static shape in the second preset time Before state, also determine that the light intensity of current environment is more than or equal to default light intensity.It is, when the conversation message received When the very first time being in unread state, the light intensity in current environment is obtained;Detect whether the light intensity is less than pre- If light intensity, when the light intensity is more than or equal to default light intensity, detection terminal the second preset time whether Remain static.
In summary, the reply processing method for the unread message that the present embodiment is provided, by existing when the conversation message received The very first time be in unread state when, by detect terminal whether remain static detect user whether in sleep shape State;The difference of the very first time and the reception time of the conversation message are more than the first preset time;It is in when detecting terminal During inactive state, detect the user and be in sleep state, then send presetting message to the transmitting terminal of the conversation message, The presetting message is used to indicate that the user is in sleep state.Therefore, the transmitting terminal of conversation message is obtained according to presetting message Know that the user is in sleep state and can not replied message, the transmitting terminal of conversation message is without the reply that wait for the arrival of news again, it is to avoid Waste of time, improves chat experience effect.
Fig. 5 is a kind of flow chart of the reply processing method of unread message according to another exemplary embodiment, such as Shown in Fig. 5, the reply processing method of unread message is used in terminal, comprises the following steps.
In step s 51, when the conversation message that terminal is received is being in unread state the very first time, the heart of user is obtained Rate;The difference of the very first time and the reception time of the conversation message are more than the first preset time.
In step S52, detect whether the heart rate is less than default heart rate.
In step S53, when the heart rate is less than default heart rate, detects the user and be in sleep state.
In the present embodiment, when reception conversation message in the very first time still in unread state when, obtain user heart rate, The heart rate of user can be obtained by the monitoring device (such as wearable device) of heart rate, then detects whether the heart rate is less than again Default heart rate.When detecting that the heart rate is less than default heart rate, it can detect user and be in sleep state, step is then performed again S54, this be due to people upon entering the sleep state, metabolism slows down, and correspondingly heart rate can also be reduced.When detecting the heart rate During more than or equal to default heart rate, user is detected accordingly and is not in sleep state, is then terminated.
In step S54, presetting message is sent to the transmitting terminal of the conversation message, the presetting message is used to indicate institute State user and be in sleep state.
Wherein, the step S54 process that implements may refer to associated description in embodiment illustrated in fig. 1, herein no longer Repeat.
Alternatively, the present embodiment is also determined in current environment before the heart rate of the acquisition user in performing step S51 Light intensity is more than or equal to default light intensity.It is, when the conversation message received in the very first time in unread state When, obtain the light intensity of current environment;Detect whether the light intensity is less than default light intensity, when the light intensity During more than or equal to default light intensity, the heart rate of user is obtained.
In summary, the reply processing method for the unread message that the present embodiment is provided, by existing when the conversation message received When the very first time is in unread state, detect whether user is in sleep state by detecting the heart rate of user;Described first The difference of time and the reception time of the conversation message are more than the first preset time;When the heart rate of user is less than default heart rate, Detect the user and be in sleep state, then send presetting message to the transmitting terminal of the conversation message, described preset disappears Cease for indicating that the user is in sleep state.Therefore, the transmitting terminal of conversation message is known at the user according to presetting message It can not be replied message in sleep state, the transmitting terminal of conversation message is without the reply that wait for the arrival of news again, it is to avoid the wave of time Take, improve chat experience effect.
Alternatively, on the basis of the various embodiments described above of the present invention, before whether detection user is in sleep state, also Including:Determine that the reception time of the conversation message is in default sleep period.For example preset the length of one's sleep be:22:00- 08:00.This is due to that user is likely in sleep shape when being in default sleep period reception time of conversation message State, then performs the scheme of the various embodiments described above of the present invention again.If the reception time of conversation message is not in the default length of one's sleep In section, illustrate that user is probably not in sleep state, the scheme of the various embodiments described above of the present invention is not performed.So, can be with The process resource of terminal is saved, the disposal ability of terminal is improved.
Following is disclosure device embodiment, can be used for performing method of disclosure embodiment.It is real for disclosure device The details not disclosed in example is applied, method of disclosure embodiment is refer to.
Fig. 6 is a kind of block diagram of the reply processing unit of unread message according to an exemplary embodiment.This is not read The reply processing unit of message being implemented in combination with as the electronics comprising touching display screen by software, hardware or both Equipment it is some or all of.Reference picture 6, the device includes detection module 100 and sending module 200.
Detection module 100, is configured as the conversation message of terminal reception when the very first time being in unread state, detection Whether user is in sleep state;When the difference of the very first time and the reception time of the conversation message are default more than first Between.
Sending module 200, be configured as the detection module 100 detect the user be in sleep state when, to The transmitting terminal of the conversation message sends presetting message, and the presetting message is used to indicate that the user is in sleep state.
On the device in above-described embodiment, wherein modules perform the concrete mode operated and technique effect exists About being described in detail in the embodiment of this method, explanation will be not set forth in detail herein.
Fig. 7 is a kind of block diagram of the reply processing unit of unread message according to another exemplary embodiment.This is not The reply processing unit for reading message being implemented in combination with as the electricity comprising touching display screen by software, hardware or both Sub- equipment it is some or all of.Reference picture 7, the device of the present embodiment is on the basis of Fig. 6 shown device embodiments, the inspection Module 100 is surveyed, including:First acquisition submodule 110 and the first detection sub-module 120.
First acquisition submodule 110, is configured as obtaining the light intensity in current environment.
First detection sub-module 120, is configured as detecting whether the light intensity is less than default light intensity;When When the light intensity is less than default light intensity, detects the user and be in sleep state.
On the device in above-described embodiment, wherein modules perform the concrete mode operated and technique effect exists About being described in detail in the embodiment of this method, explanation will be not set forth in detail herein.
Fig. 8 is a kind of block diagram of the reply processing unit of unread message according to another exemplary embodiment.This is not The reply processing unit for reading message being implemented in combination with as the electricity comprising touching display screen by software, hardware or both Sub- equipment it is some or all of.Reference picture 8, the device of the present embodiment is on the basis of Fig. 6 shown device embodiments, the inspection Module 100 is surveyed, including:Second acquisition submodule 130 and the second detection sub-module 140.
Second acquisition submodule 130, is configured as obtaining the eye picture of the user.
Second detection sub-module 140, be configured as according to the eye picture detect the user eyes whether In closure state;When the eyes that the user is detected according to the eye picture are in closure state, detect described User is in sleep state.
On the device in above-described embodiment, wherein modules perform the concrete mode operated and technique effect exists About being described in detail in the embodiment of this method, explanation will be not set forth in detail herein.
Fig. 9 is a kind of block diagram of the reply processing unit of unread message according to another exemplary embodiment.This is not The reply processing unit for reading message being implemented in combination with as the electricity comprising touching display screen by software, hardware or both Sub- equipment it is some or all of.Reference picture 9, the device of the present embodiment is on the basis of Fig. 6 shown device embodiments, the inspection Surveying module 100 includes:3rd detection sub-module 150.
Whether the 3rd detection sub-module 150, be configured as detecting the terminal in the second preset time in quiet Only state;When detecting the terminal and being remained static in the second preset time, detect the user and be in sleep State.
On the device in above-described embodiment, wherein modules perform the concrete mode operated and technique effect exists About being described in detail in the embodiment of this method, explanation will be not set forth in detail herein.
Figure 10 is a kind of block diagram of the reply processing unit of unread message according to another exemplary embodiment.This is not The reply processing unit for reading message being implemented in combination with as the electricity comprising touching display screen by software, hardware or both Sub- equipment it is some or all of.Reference picture 10, the device of the present embodiment is described on the basis of Fig. 6 shown device embodiments Detection module 100, including:3rd acquisition submodule 160 and the 4th detection sub-module 170.
3rd acquisition submodule 160, is configured as obtaining the heart rate of the user.
4th detection sub-module 170, is configured as detecting whether the heart rate is less than default heart rate;When the heart rate During less than default heart rate, detect the user and be in sleep state.
On the device in above-described embodiment, wherein modules perform the concrete mode operated and technique effect exists About being described in detail in the embodiment of this method, explanation will be not set forth in detail herein.
Alternatively, on the basis of any illustrated embodiments of Fig. 8-Figure 10, the detection module 100 also includes:5th inspection Submodule (not shown) is surveyed, the 5th detection sub-module is configured to detect the light intensity of current environment More than or equal to default light intensity.
Figure 11 is a kind of block diagram of the reply processing unit of unread message according to another exemplary embodiment.This is not The reply processing unit for reading message being implemented in combination with as the electricity comprising touching display screen by software, hardware or both Sub- equipment it is some or all of.Reference picture 11, the base of the device of the present embodiment in any shown device embodiments of Fig. 6-Figure 10 On plinth, the device of the present embodiment also includes:Determining module 300.
Determining module 300, is configured to determine that the reception time of the conversation message is in default sleep period.
On the device in above-described embodiment, wherein modules perform the concrete mode operated and technique effect exists About being described in detail in the embodiment of this method, explanation will be not set forth in detail herein.
Figure 12 is a kind of block diagram of the reply processing unit 800 of unread message according to an exemplary embodiment.Example Such as, device 800 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console, flat board is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 12, device 800 can include following one or more assemblies:Processing assembly 802, memory 804, electric power Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing assembly 802, such as with display, call, data communication, phase Machine operates the operation associated with record operation.Processing assembly 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing assembly 802 can include one or more modules, just Interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multi-media module, it is many to facilitate Interaction between media component 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in device 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, and contact data, telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection touches or slide related duration and pressure with described.In certain embodiments, many matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 be in operator scheme, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 is provide interface between processing assembly 802 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect opening/closed mode of device 800, the relative positioning of component is for example described Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, the existence or non-existence that user contacts with device 800, the orientation of device 800 or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect in not any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 800 When device is performed so that device 800 is able to carry out the reply processing method of above-mentioned unread message.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claims are pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claims System.

Claims (15)

1. a kind of reply processing method of unread message, it is characterised in that including:
When the conversation message that terminal is received is being in unread state the very first time, whether detection user is in sleep state;Institute The difference for stating the very first time and the reception time of the conversation message is more than the first preset time;
When detecting the user in sleep state, presetting message is sent to the transmitting terminal of the conversation message, it is described pre- If message is used to indicate that the user is in sleep state.
2. according to the method described in claim 1, it is characterised in that whether the detection user is in sleep state, including:Obtain Take the light intensity in current environment;And detect whether the light intensity is less than default light intensity;
It is described to detect the user in sleep state, including:When the light intensity is less than default light intensity, detection Sleep state is in the user.
3. according to the method described in claim 1, it is characterised in that whether the detection user is in sleep state, including:Obtain Take the eye picture of the user;And detect whether the eyes of the user are in closure state according to the eye picture;
It is described to detect the user in sleep state, including:
When the eyes that the user is detected according to the eye picture are in closure state, detect the user and be in and sleep Dormancy state.
4. according to the method described in claim 1, it is characterised in that whether the detection user is in sleep state, including:Inspection Survey whether the terminal remains static in the second preset time;
It is described to detect the user in sleep state, including:
When detecting the terminal and being remained static in the second preset time, detect the user and be in sleep shape State.
5. according to the method described in claim 1, it is characterised in that whether the detection user is in sleep state, including:Obtain Take the heart rate of the user;And detect whether the heart rate is less than default heart rate;
It is described to detect the user in sleep state, including:When the heart rate is less than default heart rate, the use is detected Family is in sleep state.
6. the method according to claim 3-5 any one, it is characterised in that described to detect the user in sleep Before state, in addition to:
The light intensity for detecting current environment is more than or equal to default light intensity.
7. the method according to claim 1-5 any one, it is characterised in that whether the detection user is in sleep shape Before state, in addition to:
Determine that the reception time of the conversation message is in default sleep period.
8. a kind of reply processing unit of unread message, it is characterised in that including:
Detection module, is configured as the conversation message of terminal reception when the very first time being in unread state, detection user is It is no to be in sleep state;The difference of the very first time and the reception time of the conversation message are more than the first preset time;
Sending module, be configured as the detection module detect the user be in sleep state when, disappear to the session The transmitting terminal of breath sends presetting message, and the presetting message is used to indicate that the user is in sleep state.
9. device according to claim 8, it is characterised in that the detection module, including:First acquisition submodule and One detection sub-module;
First acquisition submodule, is configured as obtaining the light intensity in current environment;
First detection sub-module, is configured as detecting whether the light intensity is less than default light intensity;When the light When line strength is less than default light intensity, detects the user and be in sleep state.
10. device according to claim 8, it is characterised in that the detection module, including:Second acquisition submodule and Second detection sub-module;
Second acquisition submodule, is configured as obtaining the eye picture of the user;
Whether second detection sub-module, be configured as detecting the eyes of the user in closure according to the eye picture State;When the eyes that the user is detected according to the eye picture are in closure state, detect the user and be in Sleep state.
11. device according to claim 8, it is characterised in that the detection module includes:3rd detection sub-module;
3rd detection sub-module, is configured as detecting whether the terminal remains static in the second preset time; When detecting the terminal and being remained static in the second preset time, detect the user and be in sleep state.
12. device according to claim 8, it is characterised in that the detection module, including:3rd acquisition submodule and 4th detection sub-module;
3rd acquisition submodule, is configured as obtaining the heart rate of the user;
4th detection sub-module, is configured as detecting whether the heart rate is less than default heart rate;When the heart rate is less than in advance If during heart rate, detecting the user and being in sleep state.
13. the device according to claim 10-12 any one, it is characterised in that the detection module also includes:5th Detection sub-module;
5th detection sub-module, the light intensity for being configured as detecting current environment is strong more than or equal to default light Degree.
14. the device according to claim 8-12 any one, it is characterised in that described device also includes:
Determining module, is configured to determine that the reception time of the conversation message is in default sleep period.
15. a kind of reply processing unit of unread message, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When the conversation message that terminal is received is being in unread state the very first time, whether detection user is in sleep state;Institute The difference for stating the very first time and the reception time of the conversation message is more than the first preset time;
When detecting the user in sleep state, presetting message is sent to the transmitting terminal of the conversation message, it is described pre- If message is used to indicate that the user is in sleep state.
CN201710384550.1A 2017-05-26 2017-05-26 Method and device for processing reply of unread message Active CN107026941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710384550.1A CN107026941B (en) 2017-05-26 2017-05-26 Method and device for processing reply of unread message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710384550.1A CN107026941B (en) 2017-05-26 2017-05-26 Method and device for processing reply of unread message

Publications (2)

Publication Number Publication Date
CN107026941A true CN107026941A (en) 2017-08-08
CN107026941B CN107026941B (en) 2020-06-02

Family

ID=59529939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710384550.1A Active CN107026941B (en) 2017-05-26 2017-05-26 Method and device for processing reply of unread message

Country Status (1)

Country Link
CN (1) CN107026941B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109510900A (en) * 2019-01-29 2019-03-22 上海与德通讯技术有限公司 A kind of control method, device, equipment and storage medium
CN115883714A (en) * 2021-09-28 2023-03-31 华为技术有限公司 Message reply method and related equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902529A (en) * 2010-07-28 2010-12-01 深圳市五巨科技有限公司 Method and device for mobile terminal to answer short message automatically
CN102438063A (en) * 2010-08-24 2012-05-02 Lg电子株式会社 Mobile terminal and method of controlling operation of the mobile terminal
CN103369136A (en) * 2013-06-19 2013-10-23 东莞宇龙通信科技有限公司 Terminal reminding method and terminal
CN103622700A (en) * 2013-12-18 2014-03-12 浙江天地人科技有限公司 Sleep monitoring system and method
CN104050039A (en) * 2014-07-03 2014-09-17 中科创达软件股份有限公司 Method and device for having control over multimedia playing
CN104468996A (en) * 2014-11-28 2015-03-25 小米科技有限责任公司 Call answering method and device
CN104796555A (en) * 2015-05-08 2015-07-22 上海斐讯数据通信技术有限公司 Call auto-reply method
CN104902094A (en) * 2015-05-29 2015-09-09 努比亚技术有限公司 Mobile terminal communication method and mobile terminal
CN105827819A (en) * 2015-12-17 2016-08-03 维沃移动通信有限公司 Method of automatically ringing back missed call and called terminal
CN105847525A (en) * 2015-01-16 2016-08-10 阿里巴巴集团控股有限公司 Method, apparatus and system for controlling information reminding function of mobile terminal
CN106657646A (en) * 2016-12-28 2017-05-10 深圳天珑无线科技有限公司 Missed call processing method and device and terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902529A (en) * 2010-07-28 2010-12-01 深圳市五巨科技有限公司 Method and device for mobile terminal to answer short message automatically
CN102438063A (en) * 2010-08-24 2012-05-02 Lg电子株式会社 Mobile terminal and method of controlling operation of the mobile terminal
CN103369136A (en) * 2013-06-19 2013-10-23 东莞宇龙通信科技有限公司 Terminal reminding method and terminal
CN103622700A (en) * 2013-12-18 2014-03-12 浙江天地人科技有限公司 Sleep monitoring system and method
CN104050039A (en) * 2014-07-03 2014-09-17 中科创达软件股份有限公司 Method and device for having control over multimedia playing
CN104468996A (en) * 2014-11-28 2015-03-25 小米科技有限责任公司 Call answering method and device
CN105847525A (en) * 2015-01-16 2016-08-10 阿里巴巴集团控股有限公司 Method, apparatus and system for controlling information reminding function of mobile terminal
CN104796555A (en) * 2015-05-08 2015-07-22 上海斐讯数据通信技术有限公司 Call auto-reply method
CN104902094A (en) * 2015-05-29 2015-09-09 努比亚技术有限公司 Mobile terminal communication method and mobile terminal
CN105827819A (en) * 2015-12-17 2016-08-03 维沃移动通信有限公司 Method of automatically ringing back missed call and called terminal
CN106657646A (en) * 2016-12-28 2017-05-10 深圳天珑无线科技有限公司 Missed call processing method and device and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109510900A (en) * 2019-01-29 2019-03-22 上海与德通讯技术有限公司 A kind of control method, device, equipment and storage medium
CN115883714A (en) * 2021-09-28 2023-03-31 华为技术有限公司 Message reply method and related equipment

Also Published As

Publication number Publication date
CN107026941B (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN105095345B (en) The reminding method and device of PUSH message
CN107222391A (en) Group's based reminding method, device and equipment
CN104065836A (en) Method and device for monitoring calls
CN104615920A (en) Notification message display method and device
CN104683568A (en) Information reminding method and information reminding device
CN104394137B (en) A kind of method and device of prompting voice call
CN105554266B (en) Prompting message processing method, device and equipment
CN107231682A (en) Reduce terminal SAR processing method, device and terminal
CN105446616A (en) Screen display control method, apparatus and device
CN107919124A (en) Equipment awakening method and device
CN105224174B (en) The display methods and device of Paste
CN109039877A (en) A kind of method, apparatus, electronic equipment and storage medium showing unread message quantity
CN106254192A (en) Reminding method, suggestion device and prompt system
EP3322227A1 (en) Methods and apparatuses for controlling wireless connection, computer program and recording medium
CN107147779A (en) Information cuing method and device
CN106534495A (en) Method of information processing, device and equipment
CN104281431B (en) The method and device that audio plays
CN107026941A (en) The reply treating method and apparatus of unread message
CN105227660A (en) A kind of based reminding method and device
CN108124058A (en) information display control method and device
EP3790265B1 (en) Doorbell prompting control method, device and storage medium
CN107087077A (en) Treating method and apparatus when alarm clock calling is invalid
CN108234764A (en) Display methods, device and the terminal of terminal
CN107181669A (en) The display methods and equipment of the transmission time of chat messages
CN108075965A (en) Message treatment method and device, electronic equipment and computer readable 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