CN105791545B - A kind of terminal device is anti-to bother method and apparatus - Google Patents
A kind of terminal device is anti-to bother method and apparatus Download PDFInfo
- Publication number
- CN105791545B CN105791545B CN201610102289.7A CN201610102289A CN105791545B CN 105791545 B CN105791545 B CN 105791545B CN 201610102289 A CN201610102289 A CN 201610102289A CN 105791545 B CN105791545 B CN 105791545B
- Authority
- CN
- China
- Prior art keywords
- mode
- disturbance
- terminal equipment
- state
- current time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000007958 sleep Effects 0.000 claims abstract description 32
- 230000002618 waking effect Effects 0.000 claims abstract description 32
- 230000007613 environmental effect Effects 0.000 claims description 14
- 238000012544 monitoring process Methods 0.000 claims description 4
- 230000002265 prevention Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000036760 body temperature Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003860 sleep quality Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
- Electric Clocks (AREA)
Abstract
Prevent bothering method and apparatus the embodiment of the invention discloses a kind of terminal device, is applied to smart machine field.The method comprise the steps that receiving the User Status that wearable device monitors;It determines whether the User Status by the waking state is switched to the sleep state, determines that current time is daytime or night;If the User Status is switched to the sleep state by the waking state, and the current time is daytime, then so that terminal device is entered first and prevent bothering mode;If the User Status is switched to the sleep state by the waking state, and the current time is night, then so that the terminal device is entered second and prevent bothering mode.Mode can be bothered automatically into anti-when user sleeps by implementing the present invention, prevent from the vibration of terminal device, jingle bell and light screen influencing user's rest, meanwhile, also avoiding opening the anti-mode of bothering makes user miss important prompting message.
Description
Technical Field
The invention relates to the field of intelligent equipment, in particular to a method and a device for preventing terminal equipment from being disturbed.
Background
Along with the popularization of intelligent equipment, the intelligent equipment relates to the aspects of life, brings convenience to the life of people, and brings a lot of negative effects. For example, when receiving a prompt message of an incoming call, an application, or the like, the smart phone makes a sound, vibrates, or lights up a screen, and if a user is asleep, the user is easily awakened by sudden light or sound, which affects sleep quality. For the problem, the intelligent device often has an anti-disturbance mode, and after the mode is started through certain operation, a user can shield the reminding of incoming calls, short messages, application software and the like. However, each time the anti-disturb mode is turned on requires a manual operation by the user, and it is also possible that important reminder information is missed because the anti-disturb mode is turned on.
Disclosure of Invention
The embodiment of the invention provides an anti-disturbance method and an anti-disturbance device for terminal equipment, which can automatically enter an anti-disturbance mode when a user sleeps, prevent vibration, ringing and a bright screen of the terminal equipment from influencing the rest of the user, and simultaneously avoid that the user misses important reminding information by opening the anti-disturbance mode.
The first aspect of the embodiment of the invention discloses a method for preventing terminal equipment from being disturbed, which comprises the following steps:
receiving a user state monitored by the wearable device; wherein the user state comprises: an awake state or a sleep state;
determining whether the user state is switched from the awake state to the sleep state, determining whether a current time is day or night;
if the user state is switched from the waking state to the sleeping state and the current time is day time, enabling the terminal equipment to enter a first anti-disturbance mode; and if the user state is switched from the waking state to the sleeping state and the current time is at night, enabling the terminal equipment to enter a second anti-disturbance mode.
As an optional embodiment, the determining that the current time is day or night includes:
monitoring environmental information, and judging whether the current time is day or night according to the environmental information; wherein the environment information includes: at least one of temperature, light and shade, and sound; or,
and acquiring the system time of the terminal equipment, and judging whether the current time is day or night according to the system time.
As an alternative embodiment, the first anti-disturb mode includes:
setting the application software notification of the terminal equipment to be in a mute mode;
setting a system push message notification of the terminal equipment to be in a mute mode;
setting short messages and incoming call prompts of strange telephone numbers of the terminal equipment to be in a mute mode; the strange telephone number is a telephone number except for the telephone number contained in the address list of the terminal equipment.
As an alternative embodiment, the second anti-disturb mode includes:
setting application software notifications of the terminal equipment except application software included in a white list to be in a mute mode;
setting a system push message notification of the terminal equipment except the system push message included in the white list to be in a mute mode;
setting short messages and incoming call reminders of the telephone numbers of the terminal equipment except the telephone numbers included in the white list to be in a mute mode;
wherein the white list comprises permission to generate in the second anti-disturb mode set by the user comprises: application software for at least one of vibration, sound, and on-screen operation, system push message, and phone number.
As an optional implementation, the method further comprises:
and if the terminal equipment is monitored to be in the first anti-disturbance mode or the second anti-disturbance mode and the user state is switched from the sleep state to the waking state, exiting the first anti-disturbance mode or the second anti-disturbance mode.
As an optional implementation, the method further comprises:
if the terminal equipment is monitored to be in the first anti-disturbance mode and the current time is changed from day to night, switching the first anti-disturbance mode to the second anti-disturbance mode; or,
and if the terminal equipment is monitored to be in the second anti-disturbance mode and the current time is changed from night to day, switching the second anti-disturbance mode to the first anti-disturbance mode.
A second aspect of the embodiments of the present invention discloses an anti-disturbance device for a terminal device, including:
the receiving module is used for receiving the user state monitored by the wearable equipment; wherein the user state comprises: an awake state or a sleep state;
the judging module is used for determining whether the user state is switched from the waking state to the sleeping state or not and determining that the current time is day or night;
the anti-disturbance module is used for enabling the terminal equipment to enter a first anti-disturbance mode when the user state is switched from the waking state to the sleeping state and the current time is daytime; when the user state is switched from the awake state to the sleep state and the current time is at night, the terminal device is caused to enter a second anti-disturb mode.
As an optional implementation manner, the determining module is specifically configured to monitor environmental information, and determine that the current time is day or night according to the environmental information; wherein the environment information includes: at least one of temperature, light and shade, and sound; or,
the method is specifically configured to obtain the system time of the terminal device, and determine whether the current time is day or night according to the system time.
As an alternative embodiment, the disturbance prevention module comprises:
the first anti-disturbance module is used for setting the application software notification of the terminal equipment into a mute mode;
setting a system push message notification of the terminal equipment to be in a mute mode;
setting short messages and incoming call prompts of strange telephone numbers of the terminal equipment to be in a mute mode; the strange telephone number is a telephone number except for the telephone number contained in the address list of the terminal equipment. The strange telephone number is a telephone number except for the telephone number contained in the address list of the terminal equipment.
As an alternative embodiment, the disturbance prevention module comprises:
the second anti-disturbance module is used for setting the application software notification of the terminal equipment except the application software included in the white list into a mute mode;
setting a system push message notification of the terminal equipment except the system push message included in the white list to be in a mute mode;
setting short messages and incoming call reminders of the telephone numbers of the terminal equipment except the telephone numbers included in the white list to be in a mute mode;
wherein the white list comprises permission to generate in the second anti-disturb mode set by the user comprises: application software for at least one of vibration, sound, and on-screen operation, system push message, and phone number.
As an optional implementation, the apparatus further comprises:
and the anti-disturbance exit module is used for exiting the first anti-disturbance mode or the second anti-disturbance mode when the terminal equipment is monitored to be in the first anti-disturbance mode or the second anti-disturbance mode and the user state is switched from the sleep state to the awake state.
As an optional implementation, the apparatus further comprises:
the anti-disturbance switching module is used for switching the first anti-disturbance mode to the second anti-disturbance mode when the terminal equipment is monitored to be in the first anti-disturbance mode and the current time is changed from day to night; or,
and when the terminal equipment is monitored to be in the second anti-disturbance mode and the current time is converted from night to day, switching the second anti-disturbance mode to the first anti-disturbance mode.
According to the technical scheme, the embodiment of the invention has the following advantages:
in the embodiment of the invention, a user state monitored by wearable equipment is received, and if the user state is switched from the waking state to the sleeping state and the current time is day, the terminal equipment is enabled to enter a first anti-disturbance mode; and if the user state is switched from the waking state to the sleeping state and the current time is at night, enabling the terminal equipment to enter a second anti-disturbance mode. By implementing the embodiment of the invention, the user can automatically enter the anti-disturbance mode when sleeping, so that the vibration, ringing and screen lighting of the terminal equipment are prevented from influencing the rest of the user, and the user is prevented from missing important reminding information by starting the anti-disturbance mode.
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 description of the embodiments will be briefly introduced 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 to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of an anti-disturbance method for a terminal device according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another method for preventing disturbance of a terminal device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an anti-disturbance device for a terminal device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another anti-disturbance device for terminal equipment according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another anti-disturbance device for terminal equipment according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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.
The embodiment of the invention provides an anti-disturbance method and an anti-disturbance device for terminal equipment, which can automatically enter an anti-disturbance mode when a user sleeps, prevent vibration, ringing and a bright screen of the terminal equipment from influencing the rest of the user, and simultaneously avoid that the user misses important reminding information by opening the anti-disturbance mode. The following are detailed below.
In the embodiment of the present invention, the terminal device may be various intelligent terminal devices having interaction with the user, including a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), and the like, and the following description of the embodiment of the present invention is not repeated.
In this embodiment of the present invention, the main execution body of the method for preventing the terminal device from being disturbed may be the terminal device itself, such as: mobile phones, tablet computers, Personal Digital Assistants (PDAs), and the like; wearable devices that monitor user status may also be used, such as: smart bracelets, smart watches, smart glasses, smart clothing, and the like; the anti-disturbance method can also be a third-party device which is independent of the terminal device and the wearable device and realizes the anti-disturbance method of the terminal device.
Fig. 1 is a schematic flowchart of a method for preventing disturbance of a terminal device according to an embodiment of the present invention. The method for preventing the terminal device from being disturbed shown in fig. 1 may include the following steps:
101. receiving a user state monitored by the wearable device;
in the embodiment of the present invention, the wearable device may be various intelligent wearable devices, including an intelligent bracelet, an intelligent watch, intelligent glasses, an intelligent garment, and the like, and the embodiment of the present invention is not limited.
The wearable device monitors a user state, which refers to an awake state or a sleep state. As an optional implementation manner, the wearable device monitors the body temperature, the heartbeat, and the motion of the user by using a temperature sensor, a heart rate sensor, a motion sensor, and the like, and determines whether the user is in a waking state or a sleeping state.
The wearable device can be connected with the terminal device in a wireless communication mode, and the monitored user state is sent to the terminal device. As an optional implementation manner, the wearable device may establish a communication connection with the terminal device through a near field communication protocol such as WIFI, NFC, bluetooth, or infrared, and specifically, what manner is adopted in the embodiment of the present invention is not limited uniquely.
102. Determining whether the user state is switched from a waking state to a sleeping state, and determining whether the current time is day or night;
as an optional implementation manner, the terminal device receives user state information sent by the wearable device, and determines whether the user enters a sleep state from a waking state;
in the embodiment of the invention, the terminal equipment monitors whether the current time is day or night, and judges whether to start the anti-disturbance mode or not by combining whether the user enters the sleep state from the waking state or not.
As an optional implementation manner, the terminal device may monitor environmental information by using an optical sensor, a sound sensor, a temperature sensor, and the like, and determine whether the current time is day or night according to the environmental information; wherein the environment information includes: at least one of temperature, light and shade, and sound.
As an alternative implementation, the terminal device may directly obtain the system time, and determine that the current time is day or night by using the system time. For example, a ratio of 7: the time between 00 and 19:00 is defined as daytime, and the time between 19:01 and 06:59 is defined as night. The terminal equipment acquires the system time, and if the current time is 7: within the range of 00-19: 00, judging that the current time is the day; and the terminal equipment acquires the system time, and if the current time is within the range of 19: 01-06: 59, the current time is judged to be at night.
103. If the user state is switched from the waking state to the sleeping state and the current time is day time, enabling the terminal equipment to enter a first anti-disturbance mode;
and the terminal equipment judges that the user is switched to the sleep state from the waking state, and enters a first anti-disturbance mode when the current time is day.
As an alternative embodiment, the first anti-disturb mode comprises:
setting the application software notification of the terminal equipment to be in a mute mode;
setting a system push message notification of the terminal equipment into a mute mode;
setting short messages and incoming call prompts of strange telephone numbers of the terminal equipment to be in a mute mode; the strange telephone number is a telephone number except for the telephone number contained in the address list of the terminal equipment.
As an alternative implementation, the mute mode may be to disable ringing, vibration and screen-on operations of the application software, the system push message, the short message and the incoming call reminder. When the terminal device exits the anti-disturbance mode, the user can see the time and specific content of the notifications from the notification bar or the corresponding application.
104. And if the user state is switched from the waking state to the sleeping state and the current time is at night, the terminal equipment is enabled to enter a second anti-disturbance mode.
And the terminal equipment judges that the user is switched to the sleep state from the waking state, and enters a second anti-disturbance mode when the current time is night.
As an alternative embodiment, the second anti-disturb mode comprises:
setting application software notifications of the terminal equipment except application software included in the white list to be in a mute mode;
setting system push message notifications of the terminal equipment except the system push messages included in the white list to be in a mute mode;
setting short messages and incoming call reminders of the telephone numbers of the terminal equipment except the telephone numbers included in the white list into a silent mode;
wherein the white list includes permission to be generated in the second anti-disturbance mode set by the user includes: application software for at least one of vibration, sound, and on-screen operation, system push message, and phone number. After the white list is set, the user can not miss important application push messages, short messages, incoming calls and the like.
Further, as shown in fig. 2, is another schematic flow chart of the method according to the embodiment of the present invention, which is specifically as follows:
201. receiving a user state monitored by the wearable device;
202. determining whether the user state is switched from a waking state to a sleeping state, and determining whether the current time is day or night;
203. if the user state is switched from the waking state to the sleeping state and the current time is day time, enabling the terminal equipment to enter a first anti-disturbance mode;
204. if the user state is switched from the waking state to the sleeping state and the current time is at night, enabling the terminal equipment to enter a second anti-disturbance mode;
205. if the terminal equipment is monitored to be in the first anti-disturbance mode and the current time is changed from day to night, switching from the first anti-disturbance mode to a second anti-disturbance mode;
in the embodiment of the invention, the first anti-disturbance mode is suitable for daytime, and only short messages or incoming call reminders of strange numbers (numbers which are not included in an address book of user terminal equipment) are shielded in order to avoid missing work items or other important reminders. Therefore, the time is changed from day to night, and the shielding range can be properly expanded after the non-working time is reached, so that the rest of the user is guaranteed.
Therefore, as an optional implementation manner, if it is detected that the terminal device is in the first anti-disturbance mode and the current time is changed from day to night, the first anti-disturbance mode is switched to the second anti-disturbance mode.
206. If the terminal equipment is monitored to be in the second anti-disturbance mode and the current time is converted from night to day, switching the second anti-disturbance mode to the first anti-disturbance mode;
in the embodiment of the invention, the second anti-disturbance mode is suitable for night and is used for guaranteeing the rest of the user, and the anti-disturbance mode shields applications, system notifications, short messages of telephone numbers and incoming call reminders in a white list set by the user. When the time is changed from night to day, the second anti-disturbance mode is continuously kept, and the user is likely to miss important reminding information or work incoming calls.
Therefore, as an optional implementation manner, if it is detected that the terminal device is in the second anti-disturbance mode and the current time is changed from night to day, the second anti-disturbance mode is switched to the first anti-disturbance mode.
207. And if the terminal equipment is monitored to be in the first anti-disturbance mode or the second anti-disturbance mode and the user state is switched from the sleep state to the awake state, exiting the first anti-disturbance mode or the second anti-disturbance mode.
In the embodiment of the invention, when the terminal device detects that the user wakes up from sleep, the terminal device can automatically close the anti-disturbance mode, so that the user is prevented from missing important notifications because the user forgets to close the anti-disturbance mode.
As an optional implementation manner, the wearable device monitors the body temperature, the heartbeat, and the motion condition of the user by using a temperature sensor, a heart rate sensor, a motion sensor, and the like, determines whether the user is in a waking state or a sleeping state, and sends state information to the terminal device. The terminal equipment receives user state information sent by the wearable equipment, judges whether a user enters a waking state from a sleeping state, and detects whether the user is in a first anti-disturbance mode or a second anti-disturbance mode currently. And if the user state is switched from the sleep state to the waking state and the terminal equipment is in the first anti-disturbance mode or the second anti-disturbance mode, closing the first anti-disturbance mode or the second anti-disturbance mode.
An embodiment of the present invention further provides an apparatus, as shown in fig. 3, including:
the receiving module 3010 is configured to receive a user state monitored by the wearable device; wherein, the user state includes: an awake state or a sleep state;
the wearable device monitors a user state, which refers to an awake state or a sleep state. As an optional implementation manner, the wearable device monitors the body temperature, the heartbeat, and the motion of the user by using a temperature sensor, a heart rate sensor, a motion sensor, and the like, and determines whether the user is in a waking state or a sleeping state.
The receiving module 3010 may establish a connection with the wearable device in a wireless communication manner, and receive a user state monitored by the wearable device. As an optional implementation manner, the receiving module 3010 may establish a connection with the wearable device through a near-field communication protocol such as WIFI, NFC, bluetooth, or infrared, and specifically, what manner is adopted in the embodiment of the present invention is not limited uniquely.
A judging module 3020, configured to determine whether the user state is switched from a waking state to a sleeping state, and determine that the current time is day or night;
as an alternative implementation manner, the terminal device may monitor environmental information by using an optical sensor, a sound sensor, a temperature sensor, and the like, and the determining module 3020 determines that the current time is day or night according to the environmental information; wherein the environment information includes: at least one of temperature, light and shade, and sound.
As an alternative embodiment, the judging module 3020 may directly obtain the system time, and judge whether the current time is day or night by using the system time. For example, a ratio of 7: the time between 00 and 19:00 is defined as daytime, and the time between 19:01 and 06:59 is defined as night. The determining module 3020 obtains the system time, and if the current time is 7: within the range of 00-19: 00, judging that the current time is the day; the judging module 3020 acquires the system time, and if the current time is within a range of 19:01 to 06:59, judges that the current time is night.
An anti-disturbance module 3030, configured to, when the user state is switched from the awake state to the sleep state and the current time is daytime, cause the terminal device to enter a first anti-disturbance mode; and when the user state is switched from the waking state to the sleeping state and the current time is at night, the terminal equipment is enabled to enter a second anti-disturbance mode.
In this embodiment of the present invention, the anti-disturbance module 3030 further includes:
a first anti-disturb module 3031 to:
setting an application software notification of the terminal equipment to be in a mute mode;
setting a system push message notification of the terminal equipment into a mute mode;
setting short messages and incoming call prompts of strange telephone numbers of the terminal equipment to be in a mute mode; the strange telephone number is a telephone number except for the telephone number contained in the address list of the terminal equipment.
As an alternative implementation, the mute mode may be to disable ringing, vibration and screen-on operations of the application software, the system push message, the short message and the incoming call reminder. When the terminal device exits the anti-disturbance mode, the user can see the time and specific content of the notifications from the notification bar or the corresponding application.
A second anti-disturb module 3032 to:
setting application software notifications of the terminal equipment except application software included in the white list to be in a mute mode;
setting system push message notifications of the terminal equipment except for the system push messages included in the white list to be in a mute mode;
setting short messages and incoming call reminders of telephone numbers of the terminal equipment except for telephone numbers included in the white list into a silent mode;
wherein the white list includes permission to be generated in the second anti-disturbance mode set by the user includes: application software for at least one of vibration, sound, and on-screen operation, system push message, and phone number.
Further, as shown in fig. 4, fig. 4 is a schematic structural diagram of another apparatus provided in the embodiment of the present invention. Wherein, the apparatus shown in fig. 4 is optimized by the apparatus shown in fig. 3, and compared with the apparatus shown in fig. 3, the apparatus shown in fig. 4 further includes:
the anti-disturb exit module 3040 is configured to exit the first anti-disturb mode or the second anti-disturb mode when it is monitored that the terminal device is in the first anti-disturb mode or the second anti-disturb mode and the user state is switched from the sleep state to the awake state.
The anti-disturbance switching module 3050 is configured to switch, when it is monitored that the terminal device is in the first anti-disturbance mode and the current time is changed from daytime to night, from the first anti-disturbance mode to the second anti-disturbance mode; or,
and when the terminal equipment is monitored to be in the second anti-disturbance mode and the current time is converted from night to day, switching the second anti-disturbance mode to the first anti-disturbance mode.
In the embodiment of the present invention, the specific implementation manner of each functional unit may refer to the description in the method embodiment, and the following embodiments of the present invention will not be repeated.
Further, as shown in fig. 5, fig. 5 is a schematic structural diagram of another apparatus disclosed in the embodiment of the present invention. Wherein, the apparatus as shown in fig. 5 may include: a processor 5010, and a wireless receiving module 5020, a sensor module 5030, a memory 5040 and a reminder module 5050 coupled to the processor 5010.
The wireless receiving module 5020 establishes communication connection with the wearable device and receives the user state monitored by the wearable device. Wherein the user state is an awake state or a sleep state.
As an optional implementation manner, the wireless receiving module 5020 may establish a connection with the wearable device through a near-field communication protocol such as WIFI, NFC, bluetooth, or infrared, and specifically, what manner is adopted in the embodiment of the present invention is not limited uniquely.
The wireless receiving module 5020 transmits the received user state to the processor 5010, and the processor 5010 determines whether the user is in a transition state from an awake state to a sleep state.
In an embodiment of the invention, the sensor module 5030 may be composed of multiple sensors for monitoring environmental information and sending the environmental information to the processor 5010 to determine whether the current time is day or night. As an alternative embodiment, the sensor module 5030 can include: the optical sensor 5031 is used for collecting light information; a temperature sensor 5032 for collecting temperature information; the acoustic sensor 5033 collects acoustic information.
As an alternative embodiment. The processor 5010 determines whether the current time is day or night based on the light, shade, temperature and sound information received by the sensor module 5030.
The hints module 5050 can include: the speaker 5051, the display unit 5052, and the vibration function module 5053, etc., output prompt information to the user when the terminal device is not in the anti-disturbance mode, such as: ringing, illuminating a screen, vibration cues, etc. In the embodiment of the present invention, if the first anti-disturbance mode or the second anti-disturbance mode is entered, the processor 5010 realizes the anti-disturbance function by setting the speaker 5051 to mute, setting the display unit 5052 to prohibit lighting of the screen, and disabling the function of the vibration function module 5053.
The memory 5040 stores the current status information of the terminal device in the first anti-disturb mode, the second anti-disturb mode or not, and outputs the status information to the processor 5010 for determining whether to switch between the anti-disturb modes or to exit the anti-disturb mode.
It should be noted that, in the above device embodiment, each included unit is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be achieved; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In addition, a person skilled in the art can understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by instructing related hardware through a program, where the program may be stored in a storage medium readable by a terminal device, where the storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc Memory, a magnetic Disc Memory, a tape Memory, or any other medium capable of carrying or storing data.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the embodiment of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A method for preventing disturbance of terminal equipment is characterized by comprising the following steps:
receiving a user state monitored by the wearable device; wherein the user state comprises: an awake state or a sleep state;
determining whether the user state is switched from the awake state to the sleep state, determining whether a current time is day or night;
if the user state is switched from the waking state to the sleeping state and the current time is day time, enabling the terminal equipment to enter a first anti-disturbance mode; if the user state is switched from the waking state to the sleeping state and the current time is at night, enabling the terminal device to enter a second anti-disturbance mode;
the first anti-disturb mode comprising:
setting the application software notification of the terminal equipment to be in a mute mode;
setting a system push message notification of the terminal equipment to be in a mute mode;
setting short messages and incoming call prompts of strange telephone numbers of the terminal equipment to be in a mute mode; the unfamiliar telephone number is a telephone number except for a telephone number contained in an address list of the terminal equipment;
the silent mode includes: and prohibiting the ring tone, vibration and screen lighting operation of the application software, the system push message, the short message and the incoming call reminder.
2. The method of claim 1, wherein determining whether the current time is day or night comprises:
monitoring environmental information, and judging whether the current time is day or night according to the environmental information; wherein the environment information includes: at least one of temperature, light and shade, and sound; or,
and acquiring the system time of the terminal equipment, and judging whether the current time is day or night according to the system time.
3. The method of claim 1, wherein the second anti-disturb mode comprises:
setting application software notifications of the terminal equipment except application software included in a white list to be in a mute mode;
setting a system push message notification of the terminal equipment except the system push message included in the white list to be in a mute mode;
setting short messages and incoming call reminders of the telephone numbers of the terminal equipment except the telephone numbers included in the white list to be in a mute mode;
wherein the white list comprises permission to generate in the second anti-disturb mode set by the user comprises: application software for at least one of vibration, sound, and on-screen operation, system push message, and phone number.
4. The method of claim 1, further comprising:
and if the terminal equipment is monitored to be in the first anti-disturbance mode or the second anti-disturbance mode and the user state is switched from the sleep state to the waking state, exiting the first anti-disturbance mode or the second anti-disturbance mode.
5. The method of claim 1, further comprising:
if the terminal equipment is monitored to be in the first anti-disturbance mode and the current time is changed from day to night, switching the first anti-disturbance mode to the second anti-disturbance mode; or,
and if the terminal equipment is monitored to be in the second anti-disturbance mode and the current time is changed from night to day, switching the second anti-disturbance mode to the first anti-disturbance mode.
6. A terminal equipment disturbance prevention device is characterized by comprising:
the receiving module is used for receiving the user state monitored by the wearable equipment; wherein the user state comprises: an awake state or a sleep state;
the judging module is used for determining whether the user state is switched from the waking state to the sleeping state or not and determining that the current time is day or night;
the anti-disturbance module is used for enabling the terminal equipment to enter a first anti-disturbance mode when the user state is switched from the waking state to the sleeping state and the current time is daytime; when the user state is switched from the awake state to the sleep state and the current time is at night, enabling the terminal device to enter a second anti-disturbance mode; the first anti-disturb mode comprising: setting the application software notification of the terminal equipment to be in a mute mode; setting a system push message notification of the terminal equipment to be in a mute mode; setting short messages and incoming call prompts of strange telephone numbers of the terminal equipment to be in a mute mode; the unfamiliar telephone number is a telephone number except for a telephone number contained in an address list of the terminal equipment; the silent mode includes: and prohibiting the ring tone, vibration and screen lighting operation of the application software, the system push message, the short message and the incoming call reminder.
7. The apparatus of claim 6,
the judging module is specifically used for monitoring environmental information and judging whether the current time is day or night according to the environmental information; wherein the environment information includes: at least one of temperature, light and shade, and sound; or,
the method is specifically configured to obtain the system time of the terminal device, and determine whether the current time is day or night according to the system time.
8. The apparatus of claim 6, wherein the anti-disturb module comprises:
the second anti-disturbance module is used for setting the application software notification of the terminal equipment except the application software included in the white list into a mute mode;
setting a system push message notification of the terminal equipment except the system push message included in the white list to be in a mute mode;
setting short messages and incoming call reminders of the telephone numbers of the terminal equipment except the telephone numbers included in the white list to be in a mute mode;
wherein the white list comprises permission to generate in the second anti-disturb mode set by the user comprises: application software for at least one of vibration, sound, and on-screen operation, system push message, and phone number.
9. The apparatus of claim 6, further comprising:
and the anti-disturbance exit module is used for exiting the first anti-disturbance mode or the second anti-disturbance mode when the terminal equipment is monitored to be in the first anti-disturbance mode or the second anti-disturbance mode and the user state is switched from the sleep state to the awake state.
10. The apparatus of claim 6, further comprising:
the anti-disturbance switching module is used for switching the first anti-disturbance mode to the second anti-disturbance mode when the terminal equipment is monitored to be in the first anti-disturbance mode and the current time is changed from day to night; or,
and when the terminal equipment is monitored to be in the second anti-disturbance mode and the current time is converted from night to day, switching the second anti-disturbance mode to the first anti-disturbance mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610102289.7A CN105791545B (en) | 2016-02-24 | 2016-02-24 | A kind of terminal device is anti-to bother method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610102289.7A CN105791545B (en) | 2016-02-24 | 2016-02-24 | A kind of terminal device is anti-to bother method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105791545A CN105791545A (en) | 2016-07-20 |
CN105791545B true CN105791545B (en) | 2019-08-02 |
Family
ID=56403610
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610102289.7A Active CN105791545B (en) | 2016-02-24 | 2016-02-24 | A kind of terminal device is anti-to bother method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105791545B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108108090B (en) * | 2016-11-25 | 2020-12-11 | 北京搜狗科技发展有限公司 | Communication message reminding method and device |
CN110868495A (en) * | 2018-08-27 | 2020-03-06 | 北京小米移动软件有限公司 | Message display method and device |
CN109549298A (en) * | 2018-12-19 | 2019-04-02 | 中国银行股份有限公司 | Bracelet prompting control method, device and bracelet |
CN113552937B (en) * | 2020-04-24 | 2024-07-19 | 华为技术有限公司 | Display control method and wearable device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102821209A (en) * | 2012-08-24 | 2012-12-12 | 腾讯科技(深圳)有限公司 | Method and device for adjusting mode of mobile terminal |
CN103259825A (en) * | 2012-02-21 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Method and device for message pushing |
CN104483953A (en) * | 2014-12-29 | 2015-04-01 | 联想(北京)有限公司 | Control method and wearable electronic equipment |
CN104598130A (en) * | 2015-01-13 | 2015-05-06 | 小米科技有限责任公司 | Mode switching method, terminal, wearable equipment and device |
CN104660795A (en) * | 2013-11-25 | 2015-05-27 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104735239A (en) * | 2013-12-24 | 2015-06-24 | 三亚中兴软件有限责任公司 | Status switching method and device for mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003084189A1 (en) * | 2002-03-29 | 2003-10-09 | Fujitsu Limited | Information device having telephone function, and call arrival history processing method, and program |
-
2016
- 2016-02-24 CN CN201610102289.7A patent/CN105791545B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103259825A (en) * | 2012-02-21 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Method and device for message pushing |
CN102821209A (en) * | 2012-08-24 | 2012-12-12 | 腾讯科技(深圳)有限公司 | Method and device for adjusting mode of mobile terminal |
CN104660795A (en) * | 2013-11-25 | 2015-05-27 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104735239A (en) * | 2013-12-24 | 2015-06-24 | 三亚中兴软件有限责任公司 | Status switching method and device for mobile terminal |
CN104483953A (en) * | 2014-12-29 | 2015-04-01 | 联想(北京)有限公司 | Control method and wearable electronic equipment |
CN104598130A (en) * | 2015-01-13 | 2015-05-06 | 小米科技有限责任公司 | Mode switching method, terminal, wearable equipment and device |
Also Published As
Publication number | Publication date |
---|---|
CN105791545A (en) | 2016-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11553076B1 (en) | Method and apparatus for automatically setting alarms and notifications | |
CN107277266B (en) | Mode switching method and device | |
RU2626998C1 (en) | Method and device for security notification processing | |
CN103561152B (en) | A kind of PUSH message processing method and mobile terminal | |
EP3130967B1 (en) | Method for managing an alarm clock and system associated | |
CN105791545B (en) | A kind of terminal device is anti-to bother method and apparatus | |
CN104881121A (en) | Prompting method and device | |
CN104469659A (en) | Terminal reminding method and system based on Bluetooth peripherals | |
CN106941572B (en) | Incoming call reminding method and device | |
US20140347188A1 (en) | Auto-adjust of indication characteristics based on user proximity | |
CN108108090B (en) | Communication message reminding method and device | |
CN106060296A (en) | Terminal control method, device and system | |
JP4702206B2 (en) | Portable communication device | |
CN110658717B (en) | Alarm clock control method, device, equipment and storage medium | |
WO2015184895A1 (en) | Call notification method and device | |
US11507169B2 (en) | User state-based device power conservation | |
KR20000042780A (en) | Method for displaying schedules in cellular phone | |
JP2014175839A (en) | Mobile phone device, mobile phone device control method, and computer program | |
JP2014053801A (en) | Portable communication device and information notification method | |
CN109151214B (en) | State reminding method and mobile terminal | |
CN105933507A (en) | Method and system for carrying out incoming call voice reminding based on state of wearable device | |
US20200320890A1 (en) | User state-based learning reinforcement | |
WO2019056944A1 (en) | Method and apparatus for reducing power consumption, and terminal | |
US11166128B2 (en) | User state-based handling of calls and alerts | |
JP2009060294A (en) | Communications device, control method of the communications device, communication program, recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |