CN107566604B - Message reminding control method and user terminal - Google Patents
Message reminding control method and user terminal Download PDFInfo
- Publication number
- CN107566604B CN107566604B CN201710567209.XA CN201710567209A CN107566604B CN 107566604 B CN107566604 B CN 107566604B CN 201710567209 A CN201710567209 A CN 201710567209A CN 107566604 B CN107566604 B CN 107566604B
- Authority
- CN
- China
- Prior art keywords
- user terminal
- earphone
- reminding
- message
- volume value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000007613 environmental effect Effects 0.000 claims description 35
- 238000001514 detection method Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 12
- 230000005281 excited state Effects 0.000 claims description 9
- 230000001121 heart beat frequency Effects 0.000 claims description 8
- 230000029058 respiratory gaseous exchange Effects 0.000 claims description 6
- 230000004044 response Effects 0.000 claims description 6
- 206010052770 Coma states Diseases 0.000 claims description 3
- 230000006870 function Effects 0.000 description 11
- 238000012544 monitoring process Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 230000017531 blood circulation Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 230000001960 triggered effect Effects 0.000 description 7
- 238000007726 management method Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000036387 respiratory rate Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a control method of message reminding and a user terminal, wherein the method comprises the following steps: detecting whether a user terminal is connected with an earphone, detecting whether preset parameters which are sent by the earphone and used for indicating that the earphone is in a worn state are received or not when the user terminal is detected to be connected with the earphone, switching a message reminding mode of the user terminal from an earphone reminding mode to a play-out reminding mode when the preset parameters are not detected to be received, and reminding the received messages through the play-out reminding mode. Therefore, the message reminding mode can be switched to the play-out reminding mode under the condition that the user terminal is connected with the earphone and the user of the user terminal does not wear the earphone, so that the probability that the user misses important messages is reduced, and the use experience of the user is improved.
Description
Technical Field
The invention relates to the technical field of intelligent user terminals, in particular to a message reminding control method and a user terminal.
Background
Currently, many users use mobile phones and other user terminals to learn inertial experience of entertainment applications through earphones, for example, the users use earphones to listen to music, watch videos or play games on buses or subways during commuting. It has been found that due to some negligence or other reasons, the user often forgets to disconnect the headset from the user terminal in time, and in this case, if the user terminal receives a new message (such as a call request or an instant messaging message), the user terminal often reminds the user of the received new message in the headset reminding mode, which may cause the user to miss the new message.
Disclosure of Invention
The embodiment of the invention discloses a message reminding control method and a user terminal, which can reduce the probability that a user misses an important message due to the fact that the connection between the user terminal and an earphone is not cut off in time.
The first aspect of the embodiments of the present invention discloses a method for controlling message reminding, where the method includes:
detecting whether a user terminal establishes connection with an earphone or not;
when the connection between the user terminal and the earphone is detected, detecting whether a preset parameter sent by the earphone is received or not, wherein the preset parameter is used for indicating that the earphone is in a worn state;
and when detecting that the preset parameters are not received, switching the message reminding mode of the user terminal from an earphone reminding mode to a play-out reminding mode, and reminding the received message through the play-out reminding mode.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the switching the message alert mode of the user terminal from the earphone alert mode to the play-out alert mode and before the alerting of the received message by the play-out alert mode, the method further includes:
acquiring a current environmental noise value of the environment where the user terminal is located, and determining a volume value corresponding to the current environmental noise value according to a pre-stored corresponding relationship between the environmental noise value and the volume value;
the reminding of the received message through the play-out reminding mode comprises:
and reminding the received message under the volume value corresponding to the current environmental noise value through the playing reminding mode.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after detecting that the preset parameter is not received, before switching the message alert mode of the user terminal from the earphone alert mode to the play-out alert mode, the method further includes:
judging whether a contact person corresponding to the received message is one of preset important contact persons or not, and triggering and executing the operation of switching the message reminding mode of the user terminal from an earphone reminding mode to a play-out reminding mode when the contact person corresponding to the received message is judged to be one of the preset important contact persons.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
when the preset parameters are detected to be received, determining the current human body state of the user according to the preset parameters;
and determining a volume value matched with the current human body state, and reminding the received message under the volume value matched with the current human body state through the earphone reminding mode.
As an alternative implementation, in the first aspect of the embodiment of the present invention, the preset parameter includes at least one of a bioelectrical response index, a bioelectrical resistance, a heartbeat frequency, and a respiration rate of the user, which are obtained by monitoring blood flow of the user through a bioelectrical impedance sensor on the earphone.
A second aspect of the embodiments of the present invention discloses a user terminal, where the user terminal includes:
the earphone comprises a detection unit, a detection unit and a control unit, wherein the detection unit is used for detecting whether a user terminal is connected with an earphone or not, and detecting whether a preset parameter sent by the earphone is received or not when the user terminal is detected to be connected with the earphone, and the preset parameter is used for indicating that the earphone is in a worn state;
the switching unit is used for switching the message reminding mode of the user terminal from an earphone reminding mode to a play-out reminding mode when the detection unit detects that the preset parameters are not received;
and the first reminding unit is used for reminding the received message through the outgoing reminding mode.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the user terminal further includes:
the acquisition unit is used for acquiring the current environmental noise value of the environment where the user terminal is located after the switching unit switches the message reminding mode of the user terminal from the earphone reminding mode to the play-out reminding mode and before the first reminding unit reminds the received message through the play-out reminding mode;
the first determining unit is used for determining a volume value corresponding to the current environmental noise value according to the corresponding relation between the pre-stored environmental noise value and the volume value;
the specific way that the first reminding unit reminds the received message through the outgoing reminding mode is as follows:
and reminding the received message under the volume value corresponding to the current environmental noise value through the playing reminding mode.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the user terminal further includes:
and the judging unit is used for judging whether the contact corresponding to the received message is one of preset important contacts or not after the detecting unit detects that the preset parameters are not received and before the switching unit switches the message reminding mode of the user terminal from the earphone reminding mode to the play reminding mode, and triggering the switching unit to execute the operation of switching the message reminding mode of the user terminal from the earphone reminding mode to the play reminding mode when judging that the contact corresponding to the received message is one of the preset important contacts.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the user terminal further includes:
the second determining unit is used for determining the current human body state of the user according to the preset parameters and determining a volume value matched with the current human body state when the detecting unit detects that the preset parameters are received;
and the second reminding unit is used for reminding the received message under the volume value matched with the current human body state through the earphone reminding mode.
As an alternative implementation, in the second aspect of the embodiment of the present invention, the preset parameter includes at least one of a bioelectrical response index, a bioelectrical resistance, a heartbeat frequency, and a respiration rate of the user, which are obtained by monitoring blood flow of the user through a bioelectrical impedance sensor on the earphone.
A third aspect of the present invention discloses another user terminal, where the user terminal includes:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the message alert control method described in the first aspect of the embodiment of the present invention.
A fourth aspect of the present embodiment discloses a computer-readable storage medium storing a computer program for electronic data exchange, where the computer program causes a computer to execute the method for controlling a message alert described in the first aspect of the present embodiment.
A fifth aspect of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to make a computer execute the method for controlling a message alert described in the first aspect of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, whether the user terminal is connected with the earphone is detected, when the connection between the user terminal and the earphone is detected, whether the preset parameter which is sent by the earphone and used for indicating that the earphone is in a worn state is received is detected, when the preset parameter is not received, the message reminding mode of the user terminal is switched from the earphone reminding mode to the play-out reminding mode, and the received message is reminded through the play-out reminding mode. Therefore, the message reminding mode can be switched to the play-out reminding mode under the condition that the user terminal is connected with the earphone and the user of the user terminal does not wear the earphone, so that the probability that the user misses important messages is reduced, and the use experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for controlling a message alert according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another method for controlling a message alert according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a user terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another user terminal disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of another user equipment disclosed in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of another user equipment disclosed in the embodiment of the present invention;
fig. 7 is a schematic structural diagram of another user terminal disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, of embodiments of the present invention are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a message reminding control method and a user terminal, which can switch a message reminding mode into an outgoing reminding mode under the condition that the user terminal is connected with an earphone and the user of the user terminal does not wear the earphone, so that the probability that the user misses important messages is reduced, and the use experience of the user is improved. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for controlling a message reminder according to an embodiment of the present invention. As shown in fig. 1, the method for controlling the message alert may include the following operations:
101. the user terminal detects whether the user terminal establishes connection with the earphone, if the detection result in the step 101 is yes, the step 102 is triggered to be executed, and if the detection result in the step 101 is no, the process can be ended.
In the embodiment of the present invention, the user terminal may be a user terminal that can be established with an earphone, such as a smart phone (an Android phone, an iOS phone, and the like), a smart phone watch, a tablet computer, a palmtop computer, and a Mobile Internet Device (MID), and the embodiment of the present invention is not limited.
In the embodiment of the present invention, the earphone may be a wired earphone or a wireless earphone (such as a bluetooth earphone), and when the earphone is a wired earphone, the connection between the user terminal and the earphone is a wired connection, and when the earphone is a wireless earphone, the connection between the user terminal and the earphone is a wireless connection.
102. When detecting that the user terminal is connected with the earphone, the user terminal detects whether preset parameters sent by the earphone are received, the preset parameters are used for indicating that the earphone is in a worn state, when the detection result of the step 102 is negative, the step 103 is triggered to be executed, and when the detection result of the step 102 is positive, the user terminal can remind the user terminal of the received new message through an earphone reminding mode.
In the embodiment of the invention, a bioelectrical impedance sensor is installed on an earphone which is connected with a user terminal, the bioelectrical impedance sensor can realize blood flow monitoring through the self electrical impedance of a biological organism and convert the monitoring result into a specific parameter (namely a preset parameter), and optionally, the preset parameter can comprise at least one of a skin-electrical reaction index, a biological resistance, a heartbeat frequency and a respiratory rate which are obtained by the earphone through the bioelectrical impedance sensor on the earphone to carry out blood flow monitoring on the user; or, a temperature sensor may also be installed on the earphone connected to the user terminal, where the temperature sensor is used to monitor temperature, and when the temperature value monitored by the temperature sensor is within a normal temperature range of a human body, the earphone sends the monitored temperature value as a preset parameter to the user terminal.
In the embodiment of the invention, when the user terminal receives the preset parameters sent by the earphone, the user terminal determines that the earphone is in the worn state, and when the user terminal does not receive the preset parameters sent by the earphone, the user terminal determines that the earphone is not in the worn state.
103. And when detecting that the preset parameters are not received, the user terminal switches the message reminding mode of the user terminal from the earphone reminding mode to the play-out reminding mode.
In the embodiment of the invention, when the connection between the user terminal and the earphone is wireless, the user terminal switches the message reminding mode of the user terminal from the earphone reminding mode to the play reminding mode, and the wireless connection between the user terminal and the earphone can also be disconnected.
104. And the user terminal reminds the received message through the outgoing reminding mode.
In an optional embodiment, after detecting that the preset parameter is not received and before switching the message alert mode of the user terminal from the earphone alert mode to the play-out alert mode, the method for controlling the message alert may further include the following operations:
the user terminal judges whether the contact corresponding to the received message is one of preset important contacts (such as relatives, friends, important colleagues and the like), and when the contact corresponding to the received message is judged to be one of the preset important contacts, the operation of switching the message reminding mode of the user terminal from the earphone reminding mode to the play-out reminding mode is triggered and executed.
Further optionally, when the received message is an instant messaging message such as a text message or a voice message, and when it is determined that a contact corresponding to the received message is one of preset important contacts, before the operation of switching the message alert mode of the user terminal from the earphone alert mode to the play-out alert mode is performed, the method for controlling message alert may further include the following operations:
and judging whether the received message contains preset key information, and triggering and executing the operation of switching the message reminding mode of the user terminal from the earphone reminding mode to the play-out reminding mode when the received message contains the preset key information. Therefore, the switching times of the message reminding mode can be reduced under the condition of reducing the probability that the user misses the important message, the power consumption of the user terminal is reduced, and the use experience of the user is further improved.
It can be seen that, by implementing the message reminding control method described in fig. 1, the message reminding mode can be switched to the play-out reminding mode when the user terminal is connected to the earphone and the user of the user terminal does not wear the earphone, so that the probability that the user misses an important message is reduced, and the user experience of the user is improved.
Example two
Referring to fig. 2, fig. 2 is a flowchart illustrating another method for controlling a message reminder according to an embodiment of the present invention. As shown in fig. 2, the method for controlling the message alert may include the following operations:
201. the user terminal detects whether the user terminal is connected with the earphone or not, if the detection result in the step 201 is yes, the step 202 is triggered and executed, and if the detection result in the step 201 is no, the user terminal can remind the user terminal of the received message in an external reminding mode.
202. The user terminal detects whether a preset parameter sent by the earphone is received, the preset parameter is used for indicating that the earphone is in a worn state, when the detection result of the step 202 is negative, the step 203-the step 206 are triggered to be executed, and when the detection result of the step 202 is positive, the step 207-the step 209 are triggered to be executed.
In the embodiment of the invention, a bioelectrical impedance sensor is arranged on an earphone which is connected with a user terminal, the bioelectrical impedance sensor can realize blood flow monitoring through the self electrical impedance of a biological organism and convert the monitoring result into specific parameters (namely preset parameters), and optionally, the preset parameters comprise at least one of a skin-electrical reaction index, a biological resistance, a heartbeat frequency and a respiratory rate which are obtained by monitoring the blood flow of a user through the bioelectrical impedance sensor on the earphone by the earphone; or, a temperature sensor may also be installed on the earphone connected to the user terminal, where the temperature sensor is used to monitor temperature, and when the temperature value monitored by the temperature sensor is within a normal temperature range of a human body, the earphone sends the monitored temperature value as a preset parameter to the user terminal.
203. And the user terminal switches the message reminding mode of the user terminal from the earphone reminding mode to the play reminding mode.
204. The user terminal collects the current environmental noise value of the environment where the user terminal is located.
205. And the user terminal determines the volume value corresponding to the current environmental noise value according to the corresponding relationship between the pre-stored environmental noise value and the volume value.
In the embodiment of the invention, the user terminal can pre-store the obtained corresponding relation between the environmental noise value and the volume value, wherein the corresponding relation can be obtained by analyzing big data of the server based on the collected comfortable volume values under different environmental noise values of different environments, and the volume value corresponding to a certain environmental noise value can ensure that a user can hear message reminding and can not cause interference to other users in the environment.
206. And the user terminal reminds the received message under the volume value corresponding to the current environmental noise value through the outgoing reminding mode.
207. And the user terminal determines the current human body state of the user according to the preset parameters.
In this embodiment of the present invention, the preset parameters may be used to determine a current human body state of the user, such as an excited state or a coma state, and the embodiment of the present invention is not limited.
208. And the user terminal determines the volume value matched with the current human body state.
In the embodiment of the present invention, the user terminal may also pre-store a corresponding relationship between the human body state and the volume value, so that the user terminal can determine the volume value corresponding to the current human body state according to the corresponding relationship, for example, when the current human body state reflects that the user is in a low-pitched state, the volume value matched with the low-pitched state may be a high volume value, and when the current human body state reflects that the user is in an excited state, the volume value matched with the excited state may be a low volume value.
209. And the user terminal reminds the received message under the volume value matched with the current human body state through the earphone reminding mode.
In an optional embodiment, after detecting that the preset parameter is not received and before switching the message alert mode of the user terminal from the earphone alert mode to the play-out alert mode, the method for controlling the message alert may further include the following operations:
the user terminal judges whether the contact corresponding to the received message is one of preset important contacts (such as relatives, friends, important colleagues and the like), and when the contact corresponding to the received message is judged to be one of the preset important contacts, the operation of switching the message reminding mode of the user terminal from the earphone reminding mode to the play-out reminding mode is triggered and executed.
Further optionally, when the received message is an instant messaging message such as a text message or a voice message, and when it is determined that a contact corresponding to the received message is one of preset important contacts, before the operation of switching the message alert mode of the user terminal from the earphone alert mode to the play-out alert mode is performed, the method for controlling message alert may further include the following operations:
and judging whether the received message contains preset key information, and triggering and executing the operation of switching the message reminding mode of the user terminal from the earphone reminding mode to the play-out reminding mode when the received message contains the preset key information. Therefore, the switching times of the message reminding mode can be reduced under the condition of reducing the probability that the user misses the important message, the power consumption of the user terminal is reduced, and the use experience of the user is further improved.
It can be seen that, by implementing the message reminding control method described in fig. 2, if it is detected that the user wears the earphone under the condition that the user terminal is connected with the earphone, the user terminal is reminded of the new message received through the earphone reminding mode, and the current human body state of the user can be determined according to the relevant parameters detected by the earphone, and the reminding volume value of the earphone reminding mode (such as the volume value of the message reminding ring tone) can be automatically adjusted according to the current human body state; if the situation that the user does not wear the earphone is detected, the message reminding mode is switched from the earphone reminding mode to the outgoing reminding mode, and the volume value in the outgoing reminding mode can be adjusted according to the environmental noise value of the environment where the user terminal is located, so that the probability that the user misses important messages can be reduced, and the use experience of the user is improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of a ue according to an embodiment of the present invention. As shown in fig. 3, the ue 300 may include a detecting unit 301, a switching unit 302, and a first reminding unit 303, where:
the detecting unit 301 is configured to detect whether the user terminal 300 is connected to an earphone, and detect whether a preset parameter sent by the earphone is received when the user terminal 300 is detected to be connected to the earphone, where the preset parameter is used to indicate that the earphone is in a worn state.
A switching unit 302, configured to switch the message reminding mode of the user terminal 300 from the earphone reminding mode to the play reminding mode when the detecting unit 301 detects that the preset parameter is not received.
In this embodiment of the present invention, after the message reminding mode of the user terminal 300 is switched from the earphone reminding mode to the play-out reminding mode, the switching unit 302 may further send a trigger instruction to the first reminding unit 303, so as to trigger the first reminding unit 303 to remind the user terminal 300 of the received message through the play-out reminding mode when the received message is received.
A first reminding unit 303, configured to remind the received message through the above-mentioned outgoing reminding mode.
It can be seen that, by implementing the user terminal 300 described in fig. 3, the message reminding mode can be switched to the play-out reminding mode when the user terminal 300 is connected to the earphone and the user of the user terminal 300 does not wear the earphone, so that the probability that the user misses an important message is reduced, and the user experience of the user is improved.
In an optional embodiment, the user terminal 300 may further include an acquisition unit 304 and a first determining unit 305, and further may further include a determining unit 306, at this time, the structure of the user terminal 300 may be as shown in fig. 4, where fig. 4 is a schematic structural diagram of another user terminal disclosed in the embodiment of the present invention. Wherein:
an acquiring unit 304, configured to acquire a current environmental noise value of the environment where the user terminal 300 is located after the switching unit 302 switches the message reminding mode of the user terminal 300 from the earphone reminding mode to the play-out reminding mode and before the first reminding unit 303 reminds the received message through the play-out reminding mode.
A first determining unit 305, configured to determine a volume value corresponding to the current environmental noise value according to a pre-stored correspondence relationship between the environmental noise value and the volume value.
The specific way for the first reminding unit 303 to remind the received message through the above-mentioned outgoing reminding mode may be:
and reminding the received message under the volume value corresponding to the current environmental noise value through the outgoing reminding mode.
A determining unit 306, configured to determine whether the contact corresponding to the received message is one of preset important contacts after the detecting unit 301 detects that the preset parameter is not received and before the switching unit 302 switches the message reminding mode of the user terminal 300 from the earphone reminding mode to the play-out reminding mode, and when it is determined that the contact corresponding to the received message is one of the preset important contacts, trigger the switching unit 302 to perform the operation of switching the message reminding mode of the user terminal 300 from the earphone reminding mode to the play-out reminding mode. That is, the switching unit 302 is specifically configured to switch the message alert mode of the user terminal 300 from the earphone alert mode to the play-out alert mode when the detecting unit 301 detects that the preset parameter is not received and the determining unit 306 determines that the contact corresponding to the received message is one of the preset important contacts.
It can be seen that, when the user terminal 300 described in fig. 4 is implemented to remind the received message through the external reminding mode, the reminding volume value can be automatically adjusted according to the environmental noise value of the environment where the user terminal 300 is located, so as to further reduce the probability that the user misses an important message, and the user terminal 300 can further determine the contact corresponding to the received message before switching the message reminding mode, and switch the message reminding mode only when determining that the contact is a preset important contact, so that the frequency of switching the message reminding mode by the user terminal 300 can be reduced under the condition that the probability that the user misses an important message is reduced, which is beneficial to reducing the power consumption of the user terminal, and further improves the user experience.
In another optional embodiment, the user terminal 300 may further include a second determining unit 307 and a second reminding unit 308, at this time, the structure of the user terminal 300 may be as shown in fig. 5, and fig. 5 is a schematic structural diagram of another user terminal disclosed in the embodiment of the present invention. Wherein:
a second determining unit 307, configured to determine, when the detecting unit 301 detects that the preset parameter is received, a current human body state of the user according to the preset parameter, and determine a volume value matched with the current human body state.
And a second reminding unit 308, configured to remind the received message in the volume value matched with the current human body state through the above-mentioned earphone reminding mode.
Optionally, the preset parameter includes at least one of a bioelectrical response index, a bioelectrical resistance, a heartbeat frequency, and a respiration rate, which are obtained by monitoring blood flow of the user through a bioelectrical impedance sensor on the earphone.
It can be seen that, with the user terminal 300 described in fig. 5, the received message can be reminded directly through the earphone reminding mode when the user wears the earphone, the current human body state of the user can be determined according to the parameters detected by the earphone, and the reminding volume value when the received message is reminded through the earphone reminding mode is adjusted according to the current human body state, so that the use experience of the user is further improved.
Example four
Referring to fig. 6, fig. 6 is a schematic structural diagram of another ue according to an embodiment of the present invention. As shown in fig. 6, the user terminal 600 may include: at least one processor 601, e.g., a CPU, a memory 602, at least one communication bus 603, an input device 604, an output device 605. Wherein a communication bus 603 is used to enable communication connections between these components. The memory 602 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 602 may alternatively be at least one storage device located remotely from the processor 601. Wherein:
the processor 601 may be combined with the user terminal 300 described in fig. 3 to 5, a set of program codes is stored in the memory 602, and the processor 601 calls the program codes stored in the memory 602 to perform the following operations:
detecting whether the user terminal 600 establishes a connection with an earphone;
when detecting that the user terminal 600 is connected with the earphone, detecting whether a preset parameter sent by the earphone is received, wherein the preset parameter is used for indicating that the earphone is in a worn state;
when detecting that the preset parameters are not received, the message reminding mode of the user terminal 600 is switched from the earphone reminding mode to the play-out reminding mode, and the received message is reminded through the play-out reminding mode.
In an alternative embodiment, after switching the message alert mode of the user terminal 600 from the earphone alert mode to the play-out alert mode and before alerting the received message by the play-out alert mode, the processor 601 calls the program code stored in the memory 602, and is further operable to:
acquiring a current environmental noise value of an environment where the user terminal 600 is located, and determining a volume value corresponding to the current environmental noise value according to a pre-stored corresponding relationship between the environmental noise value and the volume value;
the specific way for the processor 601 to remind the received message through the play-out reminding mode may be:
and reminding the received message under the volume value corresponding to the current environmental noise value through an external reminding mode.
In another alternative embodiment, after detecting that the preset parameter is not received and before switching the message alert mode of the user terminal 600 from the earphone alert mode to the play-out alert mode, the processor 601 calls the program code stored in the memory 602, and is further configured to:
judging whether the contact corresponding to the received message is one of preset important contacts, and triggering and executing the operation of switching the message reminding mode of the user terminal 600 from the earphone reminding mode to the play-out reminding mode when judging that the contact corresponding to the received message is one of the preset important contacts.
In yet another alternative embodiment, the processor 601 calls the program code stored in the memory 602, and may be further configured to:
when the preset parameters are detected to be received, determining the current human body state of the user according to the preset parameters;
and determining a volume value matched with the current human body state, and reminding the received message under the volume value matched with the current human body state through the earphone reminding mode.
Optionally, the preset parameter includes at least one of a bioelectrical response index, a bioelectrical resistance, a heartbeat frequency, and a respiration rate, which are obtained by monitoring blood flow of the user through a bioelectrical impedance sensor on the earphone.
It can be seen that, when the user terminal 600 described in fig. 6 is implemented, if it is detected that the user wears the earphone, the user terminal can be reminded of a new message received by the user terminal through the earphone reminding mode, and the user terminal can also determine the current human body state of the user according to the relevant parameters detected by the earphone and automatically adjust the reminding volume value of the earphone reminding mode according to the current human body state; if the situation that the user does not wear the earphone is detected, the message reminding mode is switched from the earphone reminding mode to the outgoing reminding mode, and the volume value in the outgoing reminding mode can be adjusted according to the environmental noise value of the environment where the user terminal is located, so that the probability that the user misses important messages can be reduced, and the use experience of the user is improved.
EXAMPLE five
Referring to fig. 7, fig. 7 is a schematic structural diagram of another ue according to an embodiment of the present invention. As shown in fig. 7, the user terminal may include: a Radio Frequency (RF) circuit 10, a memory 20, an input unit 30, a display unit 40, a sensor 50, an audio circuit 60, a Wireless Fidelity (WiFi) module 70, a processor 80, and a power supply 90. Those skilled in the art will appreciate that the user terminal architecture shown in fig. 7 does not constitute a limitation of the user terminal and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the user terminal in detail with reference to fig. 7:
the RF circuit 10 may be used for the reception and transmission of information. In general, the RF circuit 10 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 10 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 20 may be used to store software programs and modules, and the processor 80 executes various functional applications and data processing of the user terminal by operating the software programs and modules stored in the memory 20. The memory 20 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as an application interface display function, a telephone dialing function, etc.), and the like; the storage data area may store data created according to the use of the user terminal (such as a contact identification, a preset operation mode, etc.), and the like. Further, the memory 20 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 30 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the user terminal. Specifically, the input unit 30 may include a touch panel 31 and other input devices 32. The touch panel 31, also called a touch screen, may collect touch operations of a user on or near the touch panel 31 (for example, operations of the user on or near the touch panel 31 using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 31 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 80, and can receive and execute commands sent by the processor 80. In addition, the touch panel 31 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 30 may include other input devices 32 in addition to the touch panel 31. In particular, other input devices 32 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 40 may be used to display information input by a user or information provided to the user and various menus of the user terminal. The display unit 40 may include a display panel 41, and optionally, the display panel 41 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 31 may cover the display panel 41, and when the touch panel 31 detects a touch operation on or near the touch panel 31, the touch operation is transmitted to the processor 80 to determine the type of the touch event, and then the processor 80 provides a corresponding visual output on the display panel 41 according to the type of the touch event. Although in fig. 7 the touch panel 31 and the display panel 41 are two separate components to implement the input and output functions of the user terminal, in some embodiments, the touch panel 31 and the display panel 41 may be integrated to implement the input and output functions of the user terminal.
The user terminal may also include at least one sensor 50, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 41 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 41 and/or the backlight when the user terminal moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of the user terminal, and related functions (such as pedometer and tapping) for vibration recognition; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured by the user terminal, further description is omitted here.
The audio circuitry 60, speaker 61, microphone 62 may provide an audio interface between the user and the user terminal. The audio circuit 60 may transmit the electrical signal converted from the received audio data to the speaker 61, and the electrical signal is converted into a sound signal by the speaker 61 and output; on the other hand, the microphone 62 converts the collected sound signal into an electric signal, which is received by the audio circuit 60 and converted into audio data, which is then processed by the audio data output processor 80, and then transmitted to, for example, another user terminal via the RF circuit 10, or the audio data is output to the memory 20 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and the user terminal can help the user send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 70, and provides wireless broadband internet access for the user. Although fig. 7 shows the WiFi module 70, it is understood that it does not belong to the essential constitution of the user terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 80 is a control center of the user terminal, connects various parts of the entire user terminal using various interfaces and lines, and performs various functions of the user terminal and processes data by operating or executing software programs and/or modules stored in the memory 20 and calling data stored in the memory 20, thereby performing overall monitoring of the user terminal. Alternatively, processor 80 may include one or more processing units; preferably, the processor 80 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 80.
The user terminal may also include a power supply 90 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 80 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown, the user terminal may further include a camera, a bluetooth module, and the like, which will not be described herein.
In the embodiments shown in fig. 1 and fig. 2, the method flows of the steps may be implemented based on the structure of the user terminal.
In the embodiments shown in fig. 3, 4 and 5, the functions of the units may be implemented based on the structure of the user terminal.
It can be seen that, in the case that the user terminal described in fig. 7 is connected to an earphone, if it is detected that the user wears the earphone, the user terminal is reminded of a new message received by the earphone reminding mode, and the user terminal can determine the current human body state of the user according to the relevant parameters detected by the earphone and automatically adjust the reminding volume value of the earphone reminding mode according to the current human body state; if the situation that the user does not wear the earphone is detected, the message reminding mode is switched from the earphone reminding mode to the outgoing reminding mode, and the volume value in the outgoing reminding mode can be adjusted according to the environmental noise value of the environment where the user terminal is located, so that the probability that the user misses important messages can be reduced, and the use experience of the user is improved.
EXAMPLE six
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps in the control method of the message reminding described in the figure 1 or the figure 2.
EXAMPLE seven
An embodiment of the invention discloses a computer program product, which comprises a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to make a computer execute the steps in the control method of the message alert described in fig. 1 or fig. 2.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The above detailed description is given to a message alert control method and a user terminal disclosed in the embodiments of the present invention, and a specific example is applied in the present document to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A method for controlling message reminding, the method comprising:
detecting whether a user terminal establishes connection with an earphone or not;
when the connection between the user terminal and the earphone is detected, detecting whether a preset parameter sent by the earphone is received or not, wherein the preset parameter is used for indicating that the earphone is in a worn state;
when detecting that the preset parameters are not received, switching the message reminding mode of the user terminal from an earphone reminding mode to a play-out reminding mode, and reminding the received messages through the play-out reminding mode;
the method further comprises the following steps: when the preset parameters are detected to be received, determining the current human body state of the user according to the preset parameters;
determining a volume value matched with the current human body state, and reminding the received message under the volume value matched with the current human body state through the earphone reminding mode;
the current human body state comprises an excited state or a low-coma state;
the user terminal is pre-stored with a corresponding relationship between a human body state and a volume value, and the determining the volume value matched with the current human body state comprises the following steps:
determining a volume value corresponding to the current human body state according to the corresponding relation between the human body state and the volume value;
when the current human body state reflects that the user is in a fan state, the volume value matched with the fan state is a first volume value; when the current human body state reflects that the user is in an excited state, the volume value matched with the excited state is a second volume value; the first volume value is greater than the second volume value.
2. The method for controlling message alert according to claim 1, wherein after the switching the message alert mode of the user terminal from the earphone alert mode to the play-out alert mode and before the alerting of the received message by the play-out alert mode, the method further comprises:
acquiring a current environmental noise value of the environment where the user terminal is located, and determining a volume value corresponding to the current environmental noise value according to a pre-stored corresponding relationship between the environmental noise value and the volume value;
the reminding of the received message through the play-out reminding mode comprises:
and reminding the received message under the volume value corresponding to the current environmental noise value through the playing reminding mode.
3. The method for controlling message alert according to claim 1 or 2, wherein after detecting that the preset parameter is not received, before the switching the message alert mode of the user terminal from the earphone alert mode to the play-out alert mode, the method further comprises:
judging whether a contact person corresponding to the received message is one of preset important contact persons or not, and triggering and executing the operation of switching the message reminding mode of the user terminal from an earphone reminding mode to a play-out reminding mode when the contact person corresponding to the received message is judged to be one of the preset important contact persons.
4. A method of controlling a message alert as claimed in claim 1 or claim 2 wherein the preset parameters include at least one of a electrodermal response index, a bioelectrical resistance, a heartbeat frequency and a respiration rate of a user monitored by the earpiece via a bioelectrical impedance sensor on the earpiece.
5. A user terminal, characterized in that the user terminal comprises:
the earphone comprises a detection unit, a detection unit and a control unit, wherein the detection unit is used for detecting whether a user terminal is connected with an earphone or not, and detecting whether a preset parameter sent by the earphone is received or not when the user terminal is detected to be connected with the earphone, and the preset parameter is used for indicating that the earphone is in a worn state;
the switching unit is used for switching the message reminding mode of the user terminal from an earphone reminding mode to a play-out reminding mode when the detection unit detects that the preset parameters are not received;
the first reminding unit is used for reminding the received message through the outgoing reminding mode;
the user terminal further comprises:
the second determining unit is used for determining the current human body state of the user according to the preset parameters and determining a volume value matched with the current human body state when the detecting unit detects that the preset parameters are received;
the second reminding unit is used for reminding the received message under the volume value matched with the current human body state through the earphone reminding mode;
the current human body state comprises an excited state or a low-coma state;
the user terminal is pre-stored with a corresponding relation between a human body state and a volume value, and the second determining unit is used for determining the volume value corresponding to the current human body state according to the corresponding relation between the human body state and the volume value;
when the current human body state reflects that the user is in a fan state, the volume value matched with the fan state is a first volume value; when the current human body state reflects that the user is in an excited state, the volume value matched with the excited state is a second volume value; the first volume value is greater than the second volume value.
6. The user terminal according to claim 5, wherein the user terminal further comprises:
the acquisition unit is used for acquiring the current environmental noise value of the environment where the user terminal is located after the switching unit switches the message reminding mode of the user terminal from the earphone reminding mode to the play-out reminding mode and before the first reminding unit reminds the received message through the play-out reminding mode;
the first determining unit is used for determining a volume value corresponding to the current environmental noise value according to the corresponding relation between the pre-stored environmental noise value and the volume value;
the specific way that the first reminding unit reminds the received message through the outgoing reminding mode is as follows:
and reminding the received message under the volume value corresponding to the current environmental noise value through the playing reminding mode.
7. The user terminal according to claim 5 or 6, wherein the user terminal further comprises:
and the judging unit is used for judging whether the contact corresponding to the received message is one of preset important contacts or not after the detecting unit detects that the preset parameters are not received and before the switching unit switches the message reminding mode of the user terminal from the earphone reminding mode to the play reminding mode, and triggering the switching unit to execute the operation of switching the message reminding mode of the user terminal from the earphone reminding mode to the play reminding mode when judging that the contact corresponding to the received message is one of the preset important contacts.
8. A user terminal according to claim 5 or 6, wherein the preset parameters comprise at least one of a electrodermal response index, a bio-resistance, a heart beat frequency and a respiration rate of the user monitored by the earphone via a bio-electrical impedance sensor on the earphone.
9. A user terminal, characterized in that the user terminal comprises:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the control method of the message reminder according to any one of claims 1 to 4.
10. A computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute a method of controlling a message alert according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710567209.XA CN107566604B (en) | 2017-07-12 | 2017-07-12 | Message reminding control method and user terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710567209.XA CN107566604B (en) | 2017-07-12 | 2017-07-12 | Message reminding control method and user terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107566604A CN107566604A (en) | 2018-01-09 |
CN107566604B true CN107566604B (en) | 2020-04-07 |
Family
ID=60972803
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710567209.XA Expired - Fee Related CN107566604B (en) | 2017-07-12 | 2017-07-12 | Message reminding control method and user terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107566604B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102523178B1 (en) | 2018-05-17 | 2023-04-19 | 삼성전자주식회사 | Electronic apparatus and controlling method thereof |
CN112771889A (en) * | 2018-10-27 | 2021-05-07 | 深圳市欢太科技有限公司 | Audio channel replacing method and related equipment |
CN111081102B (en) * | 2019-07-29 | 2022-03-25 | 广东小天才科技有限公司 | Dictation result detection method and learning equipment |
CN113963452A (en) * | 2020-07-02 | 2022-01-21 | Oppo广东移动通信有限公司 | Conference sign-in method and device and computer readable storage medium |
CN113473429A (en) * | 2021-06-29 | 2021-10-01 | 北京紫光展锐通信技术有限公司 | Network connection method, device, medium, program product and Wi-Fi headset |
CN113905128B (en) * | 2021-09-08 | 2022-09-20 | 荣耀终端有限公司 | Call reminding method and terminal |
CN117278516B (en) * | 2023-11-22 | 2024-04-12 | 广东省电信规划设计院有限公司 | Fusion information receiving intelligent reminding method and device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7930007B2 (en) * | 2006-06-02 | 2011-04-19 | Sony Ericsson Mobile Communications Ab | Audio output device selection for a portable electronic device |
CN103167136A (en) * | 2012-09-07 | 2013-06-19 | 深圳市金立通信设备有限公司 | System and method for ringing at specific incoming call under silent mode or vibration mode |
CN106339199A (en) * | 2016-08-19 | 2017-01-18 | 乐视控股(北京)有限公司 | Earphone control method and device, earphone and wearable equipment |
CN106453791A (en) * | 2016-10-27 | 2017-02-22 | 宇龙计算机通信科技(深圳)有限公司 | A sound signal output method and apparatus and an earphone state detection method and apparatus |
CN106528041A (en) * | 2016-11-07 | 2017-03-22 | 广东欧珀移动通信有限公司 | Voice output mode switching method and device, and terminal |
CN106817495B (en) * | 2017-02-21 | 2019-07-23 | Oppo广东移动通信有限公司 | Mobile terminal message processing method, device and mobile terminal |
-
2017
- 2017-07-12 CN CN201710567209.XA patent/CN107566604B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN107566604A (en) | 2018-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107566604B (en) | Message reminding control method and user terminal | |
CN109561420B (en) | Emergency help-seeking method and related equipment | |
CN107633853B (en) | Control method for playing audio and video files and user terminal | |
CN108900231B (en) | Dynamic antenna adjustment method and related product | |
CN108391008B (en) | Message reminding method and mobile terminal | |
CN107743178B (en) | Message playing method and mobile terminal | |
CN109215683B (en) | Prompting method and terminal | |
CN106068020A (en) | Hinting abnormal states method and device | |
CN105094501B (en) | Method, device and system for displaying messages in mobile terminal | |
CN107835495B (en) | Message prompting method and device and mobile terminal | |
CN107317918B (en) | Parameter setting method and related product | |
JP2020507979A (en) | Call control method and related products | |
CN108881778B (en) | Video output method based on wearable device and wearable device | |
CN111107223B (en) | Message processing method and electronic equipment | |
CN109982273B (en) | Information reply method and mobile terminal | |
CN108062195A (en) | The reminding method and mobile terminal of a kind of notification event | |
CN109729220B (en) | User state pushing method and mobile terminal | |
CN110784394A (en) | Prompting method and electronic equipment | |
CN108810261B (en) | Antenna switching method in call and related product | |
CN111526248B (en) | Audio output mode switching method and electronic equipment | |
CN107484082A (en) | Method for controlling audio signal transmission based on sound channel and user terminal | |
CN106909295B (en) | Application processing method and terminal | |
CN108012022A (en) | Terminal alarms control method, mobile terminal and computer-readable recording medium | |
CN109660657B (en) | Application program control method and device | |
CN108874111B (en) | Battery over-discharge protection control method and mobile terminal |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200407 |
|
CF01 | Termination of patent right due to non-payment of annual fee |