WO2019080465A1 - 控制闹铃的方法及装置 - Google Patents

控制闹铃的方法及装置

Info

Publication number
WO2019080465A1
WO2019080465A1 PCT/CN2018/083948 CN2018083948W WO2019080465A1 WO 2019080465 A1 WO2019080465 A1 WO 2019080465A1 CN 2018083948 W CN2018083948 W CN 2018083948W WO 2019080465 A1 WO2019080465 A1 WO 2019080465A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
smart wearable
wearable device
alarm
user
Prior art date
Application number
PCT/CN2018/083948
Other languages
English (en)
French (fr)
Inventor
谢焱
Original Assignee
北京小米移动软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to RU2018144395A priority Critical patent/RU2705424C1/ru
Priority to KR1020197007404A priority patent/KR102182294B1/ko
Priority to JP2018529625A priority patent/JP6713049B2/ja
Publication of WO2019080465A1 publication Critical patent/WO2019080465A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G13/00Producing acoustic time signals
    • G04G13/02Producing acoustic time signals at preselected times, e.g. alarm clocks
    • G04G13/026Producing acoustic time signals at preselected times, e.g. alarm clocks acting at a number of different times
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G13/00Producing acoustic time signals
    • G04G13/02Producing acoustic time signals at preselected times, e.g. alarm clocks
    • G04G13/021Details
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G21/00Input or output devices integrated in time-pieces
    • G04G21/02Detectors of external physical values, e.g. temperature
    • G04G21/025Detectors of external physical values, e.g. temperature for measuring physiological data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds

Definitions

  • the present disclosure relates to the field of communications technologies, and in particular, to a method and apparatus for controlling an alarm.
  • the user can select the alarm function or the vibration function of the smart alarm clock to trigger an alarm or vibration at the time set by the user to remind the user.
  • the alarm function or the vibration function of the smart alarm clock to trigger an alarm or vibration at the time set by the user to remind the user.
  • the embodiments of the present disclosure provide a method and apparatus for controlling an alarm for flexibly controlling an alarm.
  • a method of controlling an alarm including:
  • the duration from the time point is a preset duration, determining whether there is at least one second terminal device in the same scenario as the first terminal device;
  • controlling the alarm of the first terminal device and the working state of the second smart wearable device associated with the first terminal device based on the sleep information of the at least one user may include :
  • the vibration control information is used to control the The second smart wearable device vibrates at the point in time.
  • controlling the alarm of the first terminal device and the working state of the second smart wearable device associated with the first terminal device based on the sleep information of the at least one user may include :
  • controlling the working status of the second smart wearable device associated with the first terminal device based on the sleep information of the at least one user may include:
  • the determining whether there is at least one second terminal device in the same scenario as the first terminal device may include:
  • the at least one second terminal device that is connected to the first terminal device via Bluetooth is determined to be the at least one second terminal device in the same scenario as the first terminal device.
  • the determining whether there is at least one second terminal device in the same scenario as the first terminal device may include:
  • the determining whether there is at least one second terminal device in the same scenario as the first terminal device may include:
  • the at least one second terminal device that is connected to the first home device to the same home WIFI network is determined to be the at least one second terminal device in the same scenario as the first terminal device.
  • the technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: when the duration from the time point of the alarm of the first terminal device is a preset duration, if it is determined that the second terminal device is in the same scenario as the first terminal device Obtaining, from the first smart wearable device associated with the second terminal device, sleep information of the user wearing the first smart wearable device, and controlling the alarm and the first associated with the first terminal device based on the sleep information of the user The working status of the two smart wearable devices. In this way, the alarm can be flexibly controlled according to the user's sleep information.
  • a method of controlling an alarm comprising:
  • controlling the alarm of the third smart wearable device and the working status of the third smart wearable device based on the sleep information of the at least one user may include:
  • the alarm is turned off, and the third smart wearable device is controlled to vibrate at the time point.
  • controlling the alarm of the third smart wearable device and the working status of the third smart wearable device based on the sleep information of the at least one user may include:
  • the sleep information of the at least one user indicates that the at least one user is not in a sleep state, controlling the third smart wearable device to trigger the alarm at the time point.
  • the determining whether there is at least one fourth smart wearable device in the same scenario as the third smart wearable device may include:
  • the at least one fourth smart wearable device that is Bluetooth connected to the third smart wearable device is determined as the at least one fourth smart wearable device in the same scenario as the third smart wearable device.
  • the technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: when the duration from the time point of the alarm of the third smart wearable device is the preset duration, if it is determined that the fourth smart wearable device and the third smart The wearable device is in the same scenario, and the third smart wearable device acquires sleep information of the user wearing the fourth smart wearable device, and controls the alarm state and the working state of the third smart wearable device based on the sleep information of the user. In this way, the alarm can be flexibly controlled according to the user's sleep information.
  • an apparatus for controlling an alarm comprising:
  • a first determining module configured to determine a time point of an alarm of the first terminal device
  • a second determining module configured to determine whether there is at least one second terminal device in the same scenario as the first terminal device when the duration from the time point is a preset duration
  • a first acquiring module configured to acquire, when the at least one second terminal device is present, sleep information of the corresponding at least one user from the at least one first smart wearable device that is associated with the at least one second terminal device ;
  • the first control module is configured to control an alarm of the first terminal device and an operating state of the second smart wearable device associated with the first terminal device based on sleep information of the at least one user.
  • the first control module may include:
  • a first sending submodule configured to send vibration control information to the second smart wearable device when the sleep information of the at least one user indicates that at least one user is in a sleep state; the vibration control information is used to control The second smart wearable device vibrates at the time point;
  • the first control submodule is configured to turn off the alarm.
  • the first control module is further configured to control the first terminal device at the time when the sleep information of the at least one user indicates that the at least one user is not in a sleep state The point triggers the alarm.
  • the second determining module may include:
  • a first determining submodule configured to determine whether there is at least one second terminal device connected to the first terminal device via Bluetooth
  • a second determining submodule configured to determine, by the at least one second terminal device that is connected to the first terminal device by using the Bluetooth, the at least one second terminal device that is in the same scenario as the first terminal device.
  • the second determining module may include:
  • a third determining submodule configured to determine, when the first terminal device is connected to the at least one second terminal device by using a WIFI, a WIFI hotspot or a mobile network, the at least one second terminal device and the first terminal device At least one distance corresponding to each other;
  • a fourth determining submodule configured to determine, according to the at least one distance and the preset distance, whether there is at least one second terminal device that is in the same scenario as the first terminal device.
  • the second determining module may include:
  • a fifth determining submodule configured to determine whether there is at least one second terminal device connected to the first home device to the same home WIFI network
  • a sixth determining submodule configured to determine, by the at least one second terminal device that is connected to the same home WIFI network as the first terminal device, the at least one second terminal that is in the same scenario as the first terminal device device.
  • an apparatus for controlling an alarm comprising:
  • a third determining module configured to determine a time point of the alarm of the third smart wearable device
  • a fourth determining module configured to determine whether there is at least one fourth smart wearable device in the same scenario as the third smart wearable device when the duration from the time point is a preset duration
  • a second acquiring module configured to acquire, according to the at least one fourth smart wearable device, sleep information of the corresponding at least one user from the at least one fourth smart wearable device;
  • the second control module is configured to control an alarm of the third smart wearable device and an operating state of the third smart wearable device based on sleep information of the at least one user.
  • the second control module is further configured to: when the sleep information of the at least one user indicates that at least one user is in a sleep state, turn off the alarm, and control the third smart The wearable device vibrates at the point in time.
  • the second control module may be further configured to control the third smart wearable device when the sleep information of the at least one user indicates that the at least one user is not in a sleep state The time point triggers the alarm.
  • the fourth determining module may include:
  • a seventh determining submodule configured to determine whether there is at least one fourth smart wearable device that is Bluetooth connected to the third smart wearable device
  • An eighth determining submodule configured to determine the at least one fourth smart wearable device connected to the third smart wearable device as the at least one fourth smart in the same scenario as the third smart wearable device Wearable device.
  • an apparatus for controlling an alarm comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the duration from the time point is a preset duration, determining whether there is at least one second terminal device in the same scenario as the first terminal device;
  • an apparatus for controlling an alarm comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the method steps described above.
  • FIG. 1A is a flow chart showing a method of controlling an alarm, according to an exemplary embodiment.
  • FIG. 1B is a scene diagram of controlling an alarm, according to an exemplary embodiment.
  • FIG. 2 is a flow chart showing a method of controlling an alarm according to an exemplary embodiment.
  • FIG. 3 is a flowchart of a method of controlling an alarm, according to an exemplary embodiment 2.
  • FIG. 4 is a flowchart of a method of controlling an alarm, according to an exemplary embodiment 3.
  • FIG. 5A is a flowchart of a method of controlling an alarm, according to an exemplary embodiment.
  • FIG. 5B is a scene diagram of controlling an alarm, according to an exemplary embodiment.
  • FIG. 6 is a flowchart of a method of controlling an alarm, according to an exemplary embodiment 4.
  • FIG. 7A is a block diagram of an apparatus for controlling an alarm, according to an exemplary embodiment.
  • FIG. 7B is a block diagram of an apparatus for controlling an alarm, according to still another exemplary embodiment.
  • FIG. 7C is a block diagram of an apparatus for controlling an alarm, according to still another exemplary embodiment.
  • FIG. 7D is a block diagram of an apparatus for controlling an alarm, according to still another exemplary embodiment.
  • FIG. 7E is a block diagram of an apparatus for controlling an alarm, according to still another exemplary embodiment.
  • FIG. 8A is a block diagram of an apparatus for controlling an alarm, according to an exemplary embodiment.
  • FIG. 8B is a block diagram of an apparatus for controlling an alarm, according to still another exemplary embodiment.
  • FIG. 9 is a block diagram of an apparatus for controlling an alarm, according to an exemplary embodiment.
  • FIG. 1A is a flowchart of a method of controlling an alarm according to an exemplary embodiment
  • FIG. 1B is a scene diagram of controlling an alarm according to an exemplary embodiment.
  • the method for controlling an alarm can be applied to a terminal device (for example, a smart phone or a tablet).
  • a terminal device for example, a smart phone or a tablet.
  • the method for controlling an alarm includes the following steps S101-S104:
  • step S101 a time point of the alarm of the first terminal device is determined.
  • the alarm is an alarm set by the user on the terminal device, and the alarm plays a ring at a preset time to remind the user.
  • a user sets an alarm on the first terminal device for reminding the user to wake up on time, at 7:00 in the morning. Then, the time point of the determined alarm is 7:00 in the morning.
  • step S102 when the duration of the distance time point is a preset duration, it is determined whether there is at least one second terminal device in the same scenario as the first terminal device.
  • the duration of the current time point from the time point of the alarm is a preset duration
  • the preset duration is 10 minutes
  • the first terminal device determines at 6:50 whether there is at least one second terminal device in the same scenario as the first terminal device.
  • the first terminal device may determine, by using multiple manners, whether there is at least one second terminal device that is in the same scenario as the first terminal device. For example, the first terminal device may determine whether there is at least one second terminal device connected to the first terminal device via Bluetooth, and if so, determine at least one second terminal device that is connected to the first terminal device via Bluetooth A terminal device is in the at least one second terminal device in the same scenario.
  • the at least one distance between the at least one second terminal device and the first terminal device may be determined, based on The at least one distance and the preset distance determine whether there is at least one second terminal device that is in the same scenario as the first terminal device.
  • the second and the terminal device are in the same scenario as the first terminal device, when the distance between the second terminal device and the first terminal device is less than the preset distance.
  • the first terminal device may determine whether there is at least one second terminal device connected to the same home WIFI network as the first terminal device, and if present, connect the first terminal device to at least one of the same home WIFI network.
  • a second terminal device determines to be at least one second terminal device in the same scenario as the first terminal device.
  • step S103 if there is at least one second terminal device, the sleep information of the corresponding at least one user is acquired from the at least one first smart wearable device correspondingly associated with the at least one second terminal device.
  • the second terminal device A and the second terminal device B are in the same scenario as the first terminal device, wherein the second terminal device A is associated with the first smart wearable device A, and the second terminal device B Associated with the first smart wearable device B, the first smart wearable device A is worn by the user A, and the first smart wearable device B is worn by the user B.
  • the first terminal device acquires the sleep information of the user A from the first smart wearable device A via the second terminal device A communicatively connected thereto, and the second terminal device B communicably connected thereto is from the first smart wearable device.
  • Device B obtains sleep information of user B. The sleep information may indicate whether the user is in a sleep state.
  • step S104 based on the sleep information of the at least one user, the alarm of the first terminal device and the working state of the second smart wearable device associated with the first terminal device are controlled.
  • the first terminal device sends the vibration control information to the second smart wearable device, and turns off the alarm; the vibration control information is used by The second smart wearable device is controlled to vibrate at the time point. If the sleep information of the at least one user indicates that at least one of the users is not in the sleep state, controlling the first terminal device to trigger the alarm at the time point mentioned above.
  • the first terminal device may control the alarm and the working state of the second smart wearable device associated with the first terminal device based on the sleep information of the user A and the sleep information of the user B. For example, if the sleep information of the user A indicates that the user A is in the sleep state, and/or the sleep information of the user B indicates that the user B is in the sleep state, the first terminal device turns off the alarm and transmits the vibration control to the second smart wearable device. Information, the vibration control information is used to control the second smart wearable device to vibrate at the time of the alarm. In this way, it is possible to prevent a single alarm from disturbing the sleep of other users who are in a sleep state. If the sleep information of the user A indicates that the user A is not in the sleep state, and the sleep information of the user B indicates that the user B is not in the sleep state, the first terminal device is controlled to trigger the alarm at the time of the alarm.
  • the mobile phone 11 of the user 1 is associated with the smart wearable device 13 worn by the user 1
  • the mobile phone 12 of the user 2 is associated with the smart wearable device 14 worn by the user 2
  • the mobile phone 11 and The mobile phone 12 is connected in communication.
  • the handset 11 and the handset 12 are both connected to the same home WIFI network.
  • An alarm is set in the mobile phone 11, and the time point corresponding to the alarm is 7:00 in the morning.
  • the mobile phone 11 is also provided with a preset time of 10 minutes for controlling the time point at which the mobile phone 11 performs "determining whether there is at least one terminal device (such as a mobile phone, a PAD, etc.) in the same scene as the mobile phone 11".
  • the mobile phone 11 When the mobile phone 11 detects that the current time is 6:50, the mobile phone 11 determines that the mobile phone 11 is connected to the same home WIFI network according to the condition that the distance between the mobile phone 11 and the mobile phone 12 is 10 minutes. 12 is in the same scene as the mobile phone 11. Then, the mobile phone 11 sends an instruction to the mobile phone 12 to obtain the sleep information of the user 2, and the mobile phone 12 feeds back the sleep information of the user 2 monitored by the smart wearable device 14 to the mobile phone 11 when receiving the instruction. The mobile phone 11 controls the operating state of the alarm and the smart wearable device 13 based on the sleep information of the user 2.
  • the mobile phone 11 When the sleep information of the user 2 indicates that the user 2 is in the sleep state, the mobile phone 11 turns off the alarm and sends vibration control information to the smart wearable device 13 for controlling the smart wearable device 13 at 7:00. Perform vibration. In this way, it is possible to prevent the alarm from affecting the sleep of the user 2.
  • the mobile phone 11 triggers the alarm at 7:00.
  • the mobile phone 11 can flexibly control the alarm and the working state of the smart wearable device 13 according to the sleep information of the user 2.
  • the slave terminal device when the duration from the time point of the alarm of the first terminal device is a preset duration, if it is determined that the second terminal device is in the same scenario as the first terminal device, the slave terminal device is associated with the second terminal device.
  • the first smart wearable device acquires sleep information of the user wearing the first smart wearable device, and controls the work state of the alarm and the second smart wearable device associated with the first terminal device based on the sleep information of the user. In this way, the alarm can be flexibly controlled according to the user's sleep information.
  • controlling the alarm of the first terminal device and the working state of the second smart wearable device associated with the first terminal device based on the sleep information of the at least one user may include :
  • the vibration control information is used to control the The second smart wearable device vibrates at the point in time.
  • controlling the alarm of the first terminal device and the working state of the second smart wearable device associated with the first terminal device based on the sleep information of the at least one user may include :
  • the determining whether there is at least one second terminal device in the same scenario as the first terminal device may include:
  • the at least one second terminal device that is connected to the first terminal device via Bluetooth is determined to be the at least one second terminal device in the same scenario as the first terminal device.
  • the determining whether there is at least one second terminal device in the same scenario as the first terminal device may include:
  • the determining whether there is at least one second terminal device in the same scenario as the first terminal device may include:
  • the at least one second terminal device that is connected to the first home device to the same home WIFI network is determined to be the at least one second terminal device in the same scenario as the first terminal device.
  • the duration of the alarm from the first terminal device is a preset duration
  • the first smart wearable device associated with the second terminal device acquires sleep information of the user wearing the first smart wearable device, and controls the alarm and the second smart wearable device associated with the first terminal device based on the sleep information of the user Working status. In this way, the alarm can be flexibly controlled according to the user's sleep information.
  • FIG. 2 is a flowchart of a method for controlling an alarm according to an exemplary embodiment.
  • the foregoing method uses the foregoing method provided by the embodiment of the present disclosure to determine that the effective distance of the Bluetooth connection is the same as the first terminal device.
  • the second terminal device of the scenario is exemplarily described as an example. As shown in FIG. 2, the method includes the following steps:
  • step S201 a time point of the alarm of the first terminal device is determined.
  • the step S201 in this embodiment is similar to the step S101 in the embodiment shown in FIG. 1A, and details are not described herein again.
  • step S202 when the duration from the time point is a preset duration, it is determined whether there is at least one second terminal device connected to the first terminal device via Bluetooth. If yes, step S203 is performed.
  • step S203 the at least one second terminal device connected to the first terminal device via Bluetooth is determined to be at least one second terminal device in the same scenario as the first terminal device.
  • the first terminal device may determine whether there is at least one second terminal device connected to the first terminal device by using Bluetooth.
  • the at least one second terminal device connected to the first terminal device via Bluetooth is determined to be at least one of the same scene as the first terminal device Two terminal devices.
  • the connection with the first terminal device through Bluetooth indicates that the distance between the second terminal device and the first terminal device is within the effective distance of the Bluetooth, and the effective distance of the Bluetooth is generally between 10 meters and tens of meters, so it can be determined that the Bluetooth and the The second terminal device connected to the terminal device is in the same scenario as the first terminal device.
  • step S204 the sleep information of the corresponding at least one user is acquired from the at least one first smart wearable device that is associated with the at least one second terminal device.
  • step S205 an alarm of the first terminal device and an operating state of the second smart wearable device associated with the first terminal device are controlled based on sleep information of the at least one user.
  • the steps S204 to S205 in this embodiment are similar to the steps S103 to S104 in the embodiment shown in FIG. 1A, and details are not described herein again.
  • the method is simple, easy to implement, and high in accuracy.
  • FIG. 3 is a flowchart of a method for controlling an alarm according to an exemplary embodiment of the present invention.
  • the foregoing method uses the foregoing method provided by the embodiment of the present disclosure to determine and first based on a distance between a terminal device and a preset distance.
  • the second terminal device in the same scenario is used as an example.
  • the method includes the following steps:
  • step S301 a time point of the alarm of the first terminal device is determined.
  • Step S301 in this embodiment is similar to step S101 in the embodiment shown in FIG. 1A, and details are not described herein again.
  • step S302 when the duration from the time point is a preset duration, if the first terminal device is connected to the at least one second terminal device through a WIFI, a WIFI hotspot or a mobile network, determining at least one second terminal device and At least one distance corresponding between the first terminal devices.
  • step S303 it is determined whether there is at least one second terminal device that is in the same scenario as the first terminal device based on the at least one distance and the preset distance. If yes, step S304 is performed.
  • first determining, by the first terminal device, the second terminal device connected by the WIFI, the WIFI hotspot or the mobile network The distance between the terminal devices is determined according to the distance between the second terminal device and the first terminal device and the preset distance to determine whether there is a second terminal device in the same scenario as the first terminal device.
  • the distance between the second terminal device and the first terminal device is less than the preset distance, it is determined that the second terminal device is in the same scenario as the first terminal device.
  • the second terminal device A and the second terminal device B are connected to the first terminal device via WIFI.
  • determining, by the first terminal device, whether there is at least one second terminal device in the same scenario as the first terminal device determining, by using satellite positioning (such as GPS positioning), the location of the first terminal device, the location of the second terminal device A, and Determining the location of the second terminal device B, and determining, according to the location of the first terminal device, the location of the second terminal device A, and the location of the second terminal device B, the first location between the location of the first terminal device and the second terminal device A The distance and a second distance between the location of the first terminal device and the second terminal device B.
  • satellite positioning such as GPS positioning
  • the first distance is compared with the preset distance and the second distance is compared with the preset distance.
  • the first distance is less than the preset distance, it is determined that the second terminal device A is in the same scenario as the first terminal device, and when the second distance is less than the preset distance, it is determined that the second terminal device B is in the same scenario as the first terminal device.
  • the distance between two terminal devices is less than a certain distance, it can be determined that the two terminal devices are in the same scene. It is determined whether there is at least one second terminal device in the same scenario as the first terminal device by comparing the distance between the devices and the preset distance, and the accuracy is high.
  • step S304 the sleep information of the corresponding at least one user is acquired from the at least one first smart wearable device that is associated with the at least one second terminal device.
  • step S305 an alarm of the first terminal device and an operating state of the second smart wearable device associated with the first terminal device are controlled based on sleep information of the at least one user.
  • the steps S304 to S305 in this embodiment are similar to the steps S103 to S104 in the embodiment shown in FIG. 1A, and details are not described herein again.
  • FIG. 4 is a flowchart of a method for controlling an alarm according to an exemplary embodiment of the present invention; the embodiment uses the foregoing method provided by an embodiment of the present disclosure to determine and first by determining whether to connect to the same home WIFI network.
  • the second terminal device in the same scenario is used as an example. As shown in FIG. 4, the method includes the following steps:
  • step S401 a time point of the alarm of the first terminal device is determined.
  • Step S401 in this embodiment is similar to step S101 in the embodiment shown in FIG. 1A, and details are not described herein again.
  • step S402 when the duration from the time point is a preset duration, it is determined whether there is at least one second terminal device connected to the same home WIFI network with the first terminal device. If yes, step S403 is performed.
  • step S403 the at least one second terminal device connected to the same home WIFI network as the first terminal device is determined to be at least one second terminal device in the same scenario as the first terminal device.
  • the first terminal device determines whether there is a second terminal connected to the same home WIFI network as the first terminal device.
  • the device determines at least one second terminal device that is connected to the same home WIFI network as the first terminal device to be at least one second terminal device in the same scenario as the first terminal device.
  • the first terminal device may determine whether the connected network belongs to the home WIFI network by the model of the router.
  • the first terminal device is connected to a router of model AAAA.
  • the router determines whether the router belongs to the home router according to the model of the router. When it is determined that the router belongs to the home router, it is determined that the second terminal device A, the second terminal device B, and the first terminal device are all connected to the same home WIFI network.
  • step S404 the sleep information of the corresponding at least one user is acquired from the at least one first smart wearable device that is associated with the at least one second terminal device.
  • step S405 based on the sleep information of the at least one user, the alarm of the first terminal device and the working state of the second smart wearable device associated with the first terminal device are controlled.
  • the steps S404 to S405 in this embodiment are similar to the steps S103 to S104 in the embodiment shown in FIG. 1A, and details are not described herein again.
  • determining whether the first terminal device is connected to the same home WIFI network to determine whether there is at least one second terminal device in the same scenario as the first terminal device has high accuracy and high practicability.
  • FIG. 5A is a flowchart of a method of controlling an alarm according to an exemplary embodiment
  • FIG. 5B is a scene diagram of controlling an alarm according to an exemplary embodiment.
  • the method for controlling an alarm can be applied to a terminal device (for example, a smart phone or a tablet).
  • a terminal device for example, a smart phone or a tablet.
  • the method for controlling an alarm includes the following steps S501-S504:
  • step S501 a time point of the alarm of the third smart wearable device is determined.
  • the alarm is an alarm set by the user on the smart wearable device, and the alarm plays a bell at a preset time point to remind the user.
  • the user sets an alarm on the third smart wearable device for reminding the user to wake up on time, at 7:00 in the morning. Then, the time point of the determined alarm is 7:00 in the morning.
  • step S502 when the duration from the time point is a preset duration, it is determined whether there is at least one fourth smart wearable device in the same scenario as the third smart wearable device.
  • the duration of the current time point from the time point of the alarm is a preset duration
  • the preset duration is 10 minutes
  • the third smart wearable device determines at 6:50 whether there is at least one fourth smart wearable device in the same scene as the third smart wearable device. .
  • the third smart wearable device may determine whether there is a third smart wearable device through the Bluetooth. Connected at least one fourth smart wearable device, if present, determining the at least one fourth smart wearable device connected to the third smart wearable device via Bluetooth as being in the same scenario as the third smart wearable device At least one fourth smart wearable device.
  • step S503 if there is at least one fourth smart wearable device, the sleep information of the corresponding at least one user is acquired from the at least one fourth smart wearable device.
  • the fourth smart wearable device A and the fourth smart wearable device B are in the same scenario as the third smart wearable device.
  • the fourth smart wearable device A is worn on the user A
  • the fourth smart wearable device B is worn on the user B
  • the third smart wearable device is worn on the user C.
  • the third smart wearable device acquires the sleep information of the user A via the fourth smart wearable device A communicatively connected thereto, and acquires the sleep information of the user B via the fourth smart wearable device B communicably connected thereto.
  • step S504 the alarm of the third smart wearable device and the working state of the third smart wearable device are controlled based on the sleep information of the at least one user.
  • the alarm is turned off, and the third smart wearable device is controlled to vibrate at the time point mentioned above. If the sleep information of the at least one user indicates that at least one of the users is not in the sleep state, controlling the third smart wearable device to trigger the alarm at the time point mentioned above.
  • the third smart wearable device may control the alarm and the working state of the third smart wearable device based on the sleep information of the user A and the sleep information of the user B. For example, if the sleep information of the user A indicates that the user A is in the sleep state, and/or the sleep information of the user B indicates that the user B is in the sleep state, the third smart wearable device turns off the alarm and controls the third smart wearable device to The vibration is performed at the above time point. In this way, it is possible to prevent the alarm of the third smart wearable device (set by the user C) from disturbing the sleep of the user A and the user B in the sleep state. If the sleep information of the user A indicates that the user A is not in the sleep state, and the sleep information of the user B indicates that the user B is not in the sleep state, the third smart wearable device is controlled to trigger the alarm at the time point mentioned above.
  • the smart wearable device 13 is connected to the smart wearable device 14 via Bluetooth communication.
  • the smart wearable device 13 is worn on the user 1 and the smart wearable device 14 is worn on the user 2.
  • An alarm is set in the smart wearable device 13, and the time point corresponding to the alarm is 7:00 in the morning.
  • the smart wearable device 13 is further provided with a preset time period of 10 minutes for controlling the smart wearable device 13 to perform a "point of determining whether there is at least one smart wearable device in the same scene as the smart wearable device 13".
  • the smart wearable device 13 When the smart wearable device 13 detects that the current time is 6:50, the smart wearable device 13 conforms to the "smart wearable device 13 and the smart wearable device 14 under the condition that the "distance of 7:00 is 10 minutes". It is determined by the Bluetooth communication connection that the presence of the smart wearable device 14 and the smart wearable device 13 are in the same scenario. Then, the smart wearable device 13 sends an instruction to the smart wearable device 14 to acquire the sleep information of the user 2, and the smart wearable device 14 feedbacks the sleep information of the user 2 monitored by the smart wearable device 14 when receiving the instruction. To the smart wearable device 13. The smart wearable device 13 controls the working state of the alarm and the smart wearable device 13 according to the sleep information of the user 2.
  • the smart wearable device 13 when the sleep information of the user 2 indicates that the user 2 is in the sleep state, the smart wearable device 13 turns off the alarm and controls the smart wearable device 13 to vibrate at 7:00. In this way, it is possible to prevent the alarm from affecting the user 2 to sleep.
  • the smart wearable device 13 triggers the alarm at 7:00.
  • the smart wearable device 13 can flexibly control the alarm and the working state of the smart wearable device 13 according to the sleep information of the user 2.
  • the third smart wearable device acquires sleep information of the user wearing the fourth smart wearable device, and controls the alarm state and the working state of the third smart wearable device based on the sleep information of the user. In this way, the alarm can be flexibly controlled according to the user's sleep information.
  • controlling the alarm of the third smart wearable device and the working status of the third smart wearable device based on the sleep information of the at least one user may include:
  • the alarm is turned off, and the third smart wearable device is controlled to vibrate at the time point.
  • controlling the alarm of the third smart wearable device and the working status of the third smart wearable device based on the sleep information of the at least one user may include:
  • the sleep information of the at least one user indicates that the at least one user is not in a sleep state, controlling the third smart wearable device to trigger the alarm at the time point.
  • the determining whether there is at least one fourth smart wearable device in the same scenario as the third smart wearable device may include:
  • the at least one fourth smart wearable device that is Bluetooth connected to the third smart wearable device is determined as the at least one fourth smart wearable device in the same scenario as the third smart wearable device.
  • the third smart wearable device acquires sleep information of the user wearing the fourth smart wearable device, and controls the alarm state and the working state of the third smart wearable device based on the sleep information of the user. In this way, the alarm can be flexibly controlled according to the user's sleep information.
  • FIG. 6 is a flowchart of a method for controlling an alarm according to an exemplary embodiment of the present invention; the embodiment uses the foregoing method provided by the embodiment of the present disclosure to determine the third smart wearable device by using the effective distance of the Bluetooth connection.
  • the fourth smart wearable device in the same scenario is exemplarily illustrated. As shown in FIG. 6, the method includes the following steps:
  • step S601 a time point of the alarm of the third smart wearable device is determined.
  • Step S601 in this embodiment is similar to step S501 in the embodiment shown in FIG. 5A, and details are not described herein again.
  • step S602 when the duration from the time point is a preset duration, it is determined whether there is at least one fourth smart wearable device that is Bluetooth connected to the third smart wearable device. If yes, step S603 is performed.
  • step S603 the at least one fourth smart wearable device connected to the third smart wearable device is determined as at least one fourth smart wearable device in the same scenario as the third smart wearable device.
  • the third smart wearable device may determine whether there is at least one fourth smart wearable device connected to the third smart wearable device through Bluetooth when the duration from the time point is a preset time length, When it is determined that there is at least one fourth smart wearable device connected to the third smart wearable device through Bluetooth, the at least one fourth smart wearable device connected to the third smart wearable device via Bluetooth is determined to be the third smart The wearable device is in at least one fourth smart wearable device in the same scene.
  • connection between the fourth smart wearable device and the third smart wearable device can be within the effective distance of the Bluetooth by the connection with the third smart wearable device through Bluetooth, and the effective distance of the Bluetooth is generally 10 meters to several tens of meters, so It may be determined that the fourth smart wearable device connected to the third smart wearable device via Bluetooth is in the same scenario as the third smart wearable device.
  • step S604 sleep information of the corresponding at least one user is acquired from the at least one fourth smart wearable device.
  • step S605 the alarm of the third smart wearable device and the working state of the third smart wearable device are controlled based on the sleep information of the at least one user.
  • the steps S604 to S605 in this embodiment are similar to the steps S503 to S504 in the embodiment shown in FIG. 5A, and details are not described herein again.
  • FIG. 7A is a block diagram of an apparatus for controlling an alarm according to an exemplary embodiment. As shown in FIG. 7A, the apparatus for controlling an alarm includes:
  • the first determining module 71 is configured to determine a time point of the alarm of the first terminal device
  • the second determining module 72 is configured to determine, when the duration of the time point is a preset duration, whether there is at least one second terminal device that is in the same scenario as the first terminal device;
  • the first obtaining module 73 is configured to acquire, when the at least one second terminal device is present, the sleep of the corresponding at least one user from the at least one first smart wearable device that is associated with the at least one second terminal device information;
  • the first control module 74 is configured to control an alarm of the first terminal device and an operating state of the second smart wearable device associated with the first terminal device based on sleep information of the at least one user.
  • the first control module 74 may include:
  • the first sending submodule 741 is configured to send vibration control information to the second smart wearable device when the sleep information of the at least one user indicates that at least one user is in a sleep state; the vibration control information is used for Controlling the second smart wearable device to vibrate at the time point;
  • the first control sub-module 742 is configured to turn off the alarm.
  • the first control module may be further configured to control the first terminal device to be in a state when the sleep information of the at least one user indicates that the at least one user is not in a sleep state The time point triggers the alarm.
  • the second determining module 72 may include:
  • the first determining submodule 721 is configured to determine whether there is at least one second terminal device connected to the first terminal device by using Bluetooth;
  • the second determining submodule 722 is configured to determine, by the at least one second terminal device that is connected to the first terminal device by using the Bluetooth, the at least one second terminal device that is in the same scenario as the first terminal device.
  • the second determining module 72 may include:
  • the third determining sub-module 723 is configured to determine, when the first terminal device is connected to the at least one second terminal device by using a WIFI, a WIFI hotspot or a mobile network, the at least one second terminal device and the first terminal At least one distance corresponding between the devices;
  • the fourth determining submodule 724 is configured to determine, according to the at least one distance and the preset distance, whether there is at least one second terminal device that is in the same scenario as the first terminal device.
  • the second determining module 72 may include:
  • a fifth determining sub-module 725 configured to determine whether there is at least one second terminal device connected to the first home device to the same home WIFI network
  • a sixth determining sub-module 726 configured to determine, by the at least one second terminal device that is connected to the first home device to the same home WIFI network, the at least one second that is in the same scenario as the first terminal device Terminal Equipment.
  • FIG. 8A is a block diagram of an apparatus for controlling an alarm according to an exemplary embodiment. As shown in FIG. 8A, the apparatus for controlling an alarm includes:
  • the third determining module 81 is configured to determine a time point of the alarm of the third smart wearable device
  • the fourth determining module 82 is configured to determine, when the duration of the time point is a preset duration, whether there is at least one fourth smart wearable device in the same scenario as the third smart wearable device;
  • the second obtaining module 83 is configured to acquire, according to the at least one fourth smart wearable device, sleep information of the corresponding at least one user from the at least one fourth smart wearable device;
  • the second control module 84 is configured to control an alarm of the third smart wearable device and an operating state of the third smart wearable device based on sleep information of the at least one user.
  • the second control module 84 is further configured to: when the sleep information of the at least one user indicates that at least one user is in a sleep state, turn off the alarm, and control the The third smart wearable device vibrates at the point in time.
  • the second control module 84 may be further configured to control the third smart when the sleep information of the at least one user indicates that the at least one user is not in a sleep state. The wearer triggers the alarm at the point in time.
  • the fourth determining module 82 may include:
  • the seventh determining submodule 821 is configured to determine whether there is at least one fourth smart wearable device that is Bluetooth connected to the third smart wearable device;
  • An eighth determining sub-module 822 configured to determine at least one fourth smart wearable device that is Bluetooth-connected with the third smart wearable device as the at least one fourth that is in the same scenario as the third smart wearable device Smart wearables.
  • FIG. 9 is a block diagram of an apparatus for controlling an alarm, according to an exemplary embodiment.
  • device 900 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • device 900 can include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, And a communication component 916.
  • Processing component 902 typically controls the overall operation of device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 902 can include one or more processors 920 to execute instructions to perform all or part of the steps described above.
  • processing component 902 can include one or more modules to facilitate interaction between component 902 and other components.
  • processing component 902 can include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
  • Memory 904 is configured to store various types of data to support operation at device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 904 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 906 provides power to various components of device 900.
  • Power component 906 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 900.
  • the multimedia component 908 includes a screen between the device 900 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 908 includes a front camera and/or a rear camera. When the device 900 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 910 is configured to output and/or input an audio signal.
  • audio component 910 includes a microphone (MIC) that is configured to receive an external audio signal when device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 904 or transmitted via communication component 916.
  • the audio component 910 also includes a speaker for outputting an audio signal.
  • the I/O interface 912 provides an interface between the processing component 902 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 914 includes one or more sensors for providing device 900 with various aspects of status assessment.
  • sensor component 914 can detect an open/closed state of device 900, relative positioning of components, such as the display and keypad of device 900, and sensor component 914 can also detect a change in position of one component of device 900 or device 900. The presence or absence of user contact with device 900, device 900 orientation or acceleration/deceleration, and temperature variation of device 900.
  • Sensor assembly 914 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 914 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 916 is configured to facilitate wired or wireless communication between device 900 and other devices.
  • the device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 916 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 916 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 900 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 904 comprising instructions executable by processor 920 of apparatus 900 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Biophysics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physiology (AREA)
  • Pathology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Biomedical Technology (AREA)
  • Telephone Function (AREA)
  • Electric Clocks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本公开是关于一种控制闹铃的方法及装置,用以灵活控制闹铃。所述方法包括:确定第一终端设备的闹铃的时间点;在距离所述时间点的时长为预设时长时,确定是否存在与第一终端设备处于同一场景的至少一个第二终端设备;如果存在至少一个第二终端设备,则从与至少一个第二终端设备对应关联的至少一个第一智能可穿戴设备获取对应的至少一个用户的睡眠信息;基于至少一个用户的睡眠信息,控制第一终端设备的闹铃以及与第一终端设备关联的第二智能可穿戴设备的工作状态。本公开技术方案可以灵活控制闹铃。

Description

控制闹铃的方法及装置 技术领域
本公开涉及通信技术领域,尤其涉及一种控制闹铃的方法及装置。
背景技术
为了按时完成事先计划的事件,通常会设置闹钟来进行提醒。随着智能设备的普及,越来越多的用户通过智能设备提供的智能闹钟进行事件提醒。
相关技术中,用户可以选用智能闹钟的闹铃功能或者振动功能,在用户设置的时间触发闹铃或者振动,以提醒用户。当多个用户处于相同的场景中时,如何灵活控制闹铃以使单方用户设置的闹铃播放时不影响其他用户是需要解决的一个技术问题。
发明内容
为克服相关技术中存在的问题,本公开实施例提供一种控制闹铃的方法及装置,用以灵活控制闹铃。
根据本公开实施例的第一方面,提供一种控制闹铃的方法,包括:
确定第一终端设备的闹铃的时间点;
在距离所述时间点的时长为预设时长时,确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备;
如果存在所述至少一个第二终端设备,则从与所述至少一个第二终端设备对应关联的至少一个第一智能可穿戴设备获取对应的至少一个用户的睡眠信息;
基于所述至少一个用户的睡眠信息,控制所述第一终端设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态。
在一个实施例中,所述基于所述至少一个用户的睡眠信息,控制所述第一终端设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态,可包括:
如果所述至少一个用户的睡眠信息指示存在至少一个用户处于睡眠状态,向所述第二智能可穿戴设备发送振动控制信息,并关闭所述闹铃;所述振动控制信息用于控制所述第二智能可穿戴设备在所述时间点进行振动。
在一个实施例中,所述基于所述至少一个用户的睡眠信息,控制所述第一终端设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态,可包括:
如果所述至少一个用户的睡眠信息指示所述至少一个用户均未处于睡眠状态,则控制所述第一终端设备在所述时间点触发所述闹铃。
在一个实施例中,所述基于所述至少一个用户的睡眠信息,控制与所述第一终端设备关联的第二智能可穿戴设备的工作状态,可包括:
如果所述至少一个用户的睡眠信息指示所述至少一个用户均未处于睡眠状态,则控制所述第一终端设备在所述时间点触发所述闹铃。
在一个实施例中,所述确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备,可包括:
确定是否存在与所述第一终端设备通过蓝牙连接的至少一个第二终端设备;
如果存在,则将与所述第一终端设备通过蓝牙连接的至少一个第二终端设备确定为与所述第一终端设备处于同一场景的所述至少一个第二终端设备。
在一个实施例中,所述确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备,可包括:
如果所述第一终端设备与至少一个第二终端设备通过WIFI、WIFI热点或移动网络连接,则确定所述至少一个第二终端设备与所述第一终端设备之间对应的至少一个距离;
基于所述至少一个距离与预设距离确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备。
在一个实施例中,所述确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备,可包括:
确定是否存在与所述第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备;
如果存在,则将与所述第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备确定为与所述第一终端设备处于同一场景的所述至少一个第二终端设备。
本公开的实施例提供的技术方案可以包括以下有益效果:在距离第一终端设备的闹铃的时间点的时长为预设时长时,如果确定存在第二终端设备与第一终端设备处于同一场景,则从与第二终端设备关联的第一智能可穿戴设备获取佩戴第一智能可穿戴设备的用户的睡眠信息,并基于用户的睡眠信息控制上述的闹铃以及与第一终端设备关联的第二智能可穿戴设备的工作状态。这样,可以根据用户的睡眠信息灵活地控制闹铃。
根据本公开实施例的第二方面,提供一种控制闹铃的方法,所述方法包括:
确定第三智能可穿戴设备的闹铃的时间点;
在距离所述时间点的时长为预设时长时,确定是否存在与所述第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备;
如果存在所述至少一个第四智能可穿戴设备,则从所述至少一个第四智能可穿戴设备获取对应的至少一个用户的睡眠信息;
基于所述至少一个用户的睡眠信息,控制所述第三智能可穿戴设备的闹铃以及所述第三智能可穿戴设备的工作状态。
在一个实施例中,所述基于所述至少一个用户的睡眠信息,控制所述第三智能可穿戴设备的闹铃以及所述第三智能可穿戴设备的工作状态,可包括:
如果所述至少一个用户的睡眠信息指示存在至少一个用户处于睡眠状态,则关闭所述闹铃,并控制所述第三智能可穿戴设备在所述时间点进行振动。
在一个实施例中,所述基于所述至少一个用户的睡眠信息,控制所述第三智能可穿戴设备的闹铃以及所述第三智能可穿戴设备的工作状态,可包括:
如果所述至少一个用户的睡眠信息指示所述至少一个用户均未处于睡眠状态,则控制所述第三智能可穿戴设备在所述时间点触发所述闹铃。
在一个实施例中,所述确定是否存在与第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备,可包括:
确定是否存在与所述第三智能可穿戴设备蓝牙连接的至少一个第四智能可穿戴设备;
如果存在,则将与所述第三智能可穿戴设备蓝牙连接的至少一个第四智能可穿戴设备确定为与第三智能可穿戴设备处于同一场景的所述至少一个第四智能可穿戴设备。
本公开的实施例提供的技术方案可以包括以下有益效果:在距离第三智能可穿戴设备的闹铃的时间点的时长为预设时长时,如果确定存在第四智能可穿戴设备与第三智能可穿戴设备处于同一场景,则第三智能可穿戴设备获取佩戴第四智能可穿戴设备的用户的睡眠信息,并基于用户的睡眠信息控制闹铃以及第三智能可穿戴设备的工作状态。这样,可以根据用户的睡眠信息灵活地控制闹铃。
根据本公开实施例的第三方面,提供一种控制闹铃的装置,所述装置包括:
第一确定模块,被配置为确定第一终端设备的闹铃的时间点;
第二确定模块,被配置为在距离所述时间点的时长为预设时长时,确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备;
第一获取模块,被配置为在存在所述至少一个第二终端设备时,从与所述至少一个第二终端设备对应关联的至少一个第一智能可穿戴设备获取对应的至少一个用户的睡眠信息;
第一控制模块,被配置为基于所述至少一个用户的睡眠信息,控制所述第一终端 设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态。
在一个实施例中,所述第一控制模块,可包括:
第一发送子模块,被配置为在所述至少一个用户的睡眠信息指示存在至少一个用户处于睡眠状态时,向所述第二智能可穿戴设备发送振动控制信息;所述振动控制信息用于控制所述第二智能可穿戴设备在所述时间点进行振动;
第一控制子模块,被配置为关闭所述闹铃。
在一个实施例中,所述第一控制模块还可被配置为在所述至少一个用户的睡眠信息指示所述至少一个用户均未处于睡眠状态时,控制所述第一终端设备在所述时间点触发所述闹铃。
在一个实施例中,所述第二确定模块,可包括:
第一确定子模块,被配置为确定是否存在与所述第一终端设备通过蓝牙连接的至少一个第二终端设备;
第二确定子模块,被配置为将与所述第一终端设备通过蓝牙连接的至少一个第二终端设备确定为与所述第一终端设备处于同一场景的所述至少一个第二终端设备。
在一个实施例中,所述第二确定模块,可包括:
第三确定子模块,被配置为在所述第一终端设备与至少一个第二终端设备通过WIFI、WIFI热点或移动网络连接时,确定所述至少一个第二终端设备与所述第一终端设备之间对应的至少一个距离;
第四确定子模块,被配置为基于所述至少一个距离与预设距离确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备。
在一个实施例中,所述第二确定模块,可包括:
第五确定子模块,被配置为确定是否存在与所述第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备;
第六确定子模块,被配置为将与所述第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备确定为与所述第一终端设备处于同一场景的所述至少一个第二终端设备。
根据本公开实施例的第四方面,提供一种控制闹铃的装置,所述装置包括:
第三确定模块,被配置为确定第三智能可穿戴设备的闹铃的时间点;
第四确定模块,被配置为在距离所述时间点的时长为预设时长时,确定是否存在与所述第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备;
第二获取模块,被配置为在存在所述至少一个第四智能可穿戴设备时,从所述至少一个第四智能可穿戴设备获取对应的至少一个用户的睡眠信息;
第二控制模块,被配置为基于所述至少一个用户的睡眠信息,控制所述第三智能可穿戴设备的闹铃以及所述第三智能可穿戴设备的工作状态。
在一个实施例中,所述第二控制模块,还可被配置为在所述至少一个用户的睡眠信息指示存在至少一个用户处于睡眠状态时,关闭所述闹铃,并控制所述第三智能可穿戴设备在所述时间点进行振动。
在一个实施例中,所述第二控制模块,还可被配置为在所述至少一个用户的睡眠信息指示所述至少一个用户均未处于睡眠状态时,控制所述第三智能可穿戴设备在所述时间点触发所述闹铃。
在一个实施例中,所述第四确定模块,可包括:
第七确定子模块,被配置为确定是否存在与所述第三智能可穿戴设备蓝牙连接的至少一个第四智能可穿戴设备;
第八确定子模块,被配置为将与所述第三智能可穿戴设备蓝牙连接的至少一个第四智能可穿戴设备确定为与第三智能可穿戴设备处于同一场景的所述至少一个第四智能可穿戴设备。
根据本公开实施例的第五方面,提供一种控制闹铃的装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
确定第一终端设备的闹铃的时间点;
在距离所述时间点的时长为预设时长时,确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备;
如果存在所述至少一个第二终端设备,则从与所述至少一个第二终端设备对应关联的至少一个第一智能可穿戴设备获取对应的至少一个用户的睡眠信息;
基于所述至少一个用户的睡眠信息,控制所述第一终端设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态。
根据本公开实施例的第六方面,提供一种控制闹铃的装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
确定第三智能可穿戴设备的闹铃的时间点;
在距离所述时间点的时长为预设时长时,确定是否存在与所述第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备;
如果存在所述至少一个第四智能可穿戴设备,则从所述至少一个第四智能可穿戴设备获取对应的至少一个用户的睡眠信息;
基于所述至少一个用户的睡眠信息,控制所述第三智能可穿戴设备的闹铃以及所述第三智能可穿戴设备的工作状态。
根据本公开实施例的第七方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述的方法步骤。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
图1A是根据一示例性实施例示出的控制闹铃的方法的流程图。
图1B是根据一示例性实施例示出的控制闹铃的场景图。
图2是根据一示例性实施例一示出的控制闹铃的方法的流程图。
图3是根据一示例性实施例二示出的控制闹铃的方法的流程图。
图4是根据一示例性实施例三示出的控制闹铃的方法的流程图。
图5A是根据一示例性实施例示出的控制闹铃的方法的流程图。
图5B是根据一示例性实施例示出的控制闹铃的场景图。
图6是根据一示例性实施例四示出的控制闹铃的方法的流程图。
图7A是根据一示例性实施例示出的一种控制闹铃的装置的框图。
图7B是根据又一示例性实施例示出的一种控制闹铃的装置的框图。
图7C是根据又一示例性实施例示出的一种控制闹铃的装置的框图。
图7D是根据又一示例性实施例示出的一种控制闹铃的装置的框图。
图7E是根据又一示例性实施例示出的一种控制闹铃的装置的框图。
图8A是根据一示例性实施例示出的一种控制闹铃的装置的框图。
图8B是根据又一示例性实施例示出的一种控制闹铃的装置的框图。
图9是根据一示例性实施例示出的一种控制闹铃的装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性 实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
图1A是根据一示例性实施例示出的控制闹铃的方法的流程图,图1B是根据一示例性实施例示出的控制闹铃的场景图。该控制闹铃的方法可以应用在终端设备(例如:智能手机、平板电脑)上,如图1A所示,该控制闹铃的方法包括以下步骤S101-S104:
在步骤S101中,确定第一终端设备的闹铃的时间点。
在本实施例中,闹铃是用户在终端设备上设置的闹钟,该闹钟在预设的时间点播放响铃,以提醒用户。在一个示例性实施例中,一用户在第一终端设备上设置用于提醒用户按时起床的闹铃,时间点为早上7:00。那么,确定的闹铃的时间点即为早上7:00。
在步骤S102中,在距离时间点的时长为预设时长时,确定是否存在与第一终端设备处于同一场景的至少一个第二终端设备。
在本实施例中,是在当前时间点距离闹铃的时间点的时长为预设时长时,确定是否存在与第一终端设备处于同一场景的至少一个第二终端设备。继续上述的示例性实施例,如果预设时长为10分钟,则第一终端设备在6:50会确定是否存在与第一终端设备处于同一场景的至少一个第二终端设备。
在本实施例中,第一终端设备可以通过多种方式确定是否存在与第一终端设备处于同一场景的至少一个第二终端设备。例如,第一终端设备可以确定是否存在与第一终端设备通过蓝牙连接的至少一个第二终端设备,如果存在,则将与第一终端设备通过蓝牙连接的至少一个第二终端设备确定为与第一终端设备处于同一场景的所述至少一个第二终端设备。又如,如果第一终端设备与至少一个第二终端设备通过WIFI、WIFI热点或移动网络连接,则可以确定上述的至少一个第二终端设备与第一终端设备之间对应的至少一个距离,基于至少一个距离与预设距离确定是否存在与第一终端设备处于同一场景的至少一个第二终端设备。其中,当一个第二与终端设备与第一终端设备之间的距离小于预设距离时,可以确定该第二与终端设备与第一终端设备处于同一场景。再如,第一终端设备可以确定是否存在与所述第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备,如果存在,则将与第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备确定为与第一终端设备处于同一场景的至少一个第二终端设备。
在步骤S103中,如果存在至少一个第二终端设备,则从与至少一个第二终端设备对应关联的至少一个第一智能可穿戴设备获取对应的至少一个用户的睡眠信息。
在一个示例性实施例中,第二终端设备A、第二终端设备B与第一终端设备处于同一场景,其中,第二终端设备A与第一智能可穿戴设备A关联,第二终端设备B与 第一智能可穿戴设备B关联,第一智能可穿戴设备A佩戴于用户A,第一智能可穿戴设备B佩戴于用户B。在本步骤中,第一终端设备经与其通信连接的第二终端设备A从第一智能可穿戴设备A获取用户A的睡眠信息,经与其通信连接的第二终端设备B从第一智能可穿戴设备B获取用户B的睡眠信息。其中,睡眠信息可以指示用户是否处于睡眠状态。
在步骤S104中,基于至少一个用户的睡眠信息,控制第一终端设备的闹铃以及与第一终端设备关联的第二智能可穿戴设备的工作状态。
在一个实施例中,如果至少一个用户的睡眠信息指示存在至少一个用户处于睡眠状态,则第一终端设备向第二智能可穿戴设备发送振动控制信息,并关闭闹铃;所述振动控制信息用于控制所述第二智能可穿戴设备在所述时间点进行振动。如果至少一个用户的睡眠信息指示至少一个用户均未处于睡眠状态,则控制第一终端设备在上述的时间点触发闹铃。
继续上述的示例性实施例,第一终端设备可以基于用户A的睡眠信息与用户B的睡眠信息,控制闹铃以及与第一终端设备关联的第二智能可穿戴设备的工作状态。例如,如果用户A的睡眠信息指示用户A处于睡眠状态,和/或用户B的睡眠信息指示用户B处于睡眠状态,则第一终端设备关闭闹铃,并向第二智能可穿戴设备发送振动控制信息,该振动控制信息用于控制第二智能可穿戴设备在闹铃的时间点进行振动。这样,可以避免单方闹铃打扰处于睡眠状态的其他方用户的睡眠。如果用户A的睡眠信息指示用户A未处于睡眠状态,且用户B的睡眠信息指示用户B未处于睡眠状态,则控制第一终端设备在闹铃的时间点触发闹铃。
如图1B所示,在一个示例性场景中,用户1的手机11与用户1佩戴的智能可穿戴设备13关联,用户2的手机12与用户2佩戴的智能可穿戴设备14关联,手机11与手机12通信连接。在本示例性场景中,手机11与手机12通信均连接于同一家庭WIFI网络。手机11中设置有闹铃,闹铃对应的时间点为早上7:00。手机11中还设置有预设时长10分钟,用于控制手机11执行“确定是否存在与手机11处于同一场景的至少一个终端设备(比如手机、PAD等)”的时间点。当手机11检测到当前时间为6:50时,符合“距离7:00的时长为10分钟”的条件,手机11便根据“手机11与手机12通信均连接于同一家庭WIFI网络”确定存在手机12与手机11处于同一场景。继而,手机11向手机12发送请求获取用户2的睡眠信息的指令,手机12在接收到该指令时将智能可穿戴设备14监测到的用户2的睡眠信息反馈给手机11。手机11根据用户2的睡眠信息控制闹铃与智能可穿戴设备13的工作状态。其中,当用户2的睡眠信息指示用户2处于睡眠状态时,手机11关闭闹铃,并向智能可穿戴设备13发送振动 控制信息,该振动控制信息用于控制智能可穿戴设备13在7:00进行振动。这样,可以避免闹铃影响用户2的睡眠。当用户2的睡眠信息指示用户2未处于睡眠状态时,手机11则在7:00触发闹铃。综上所述,手机11可以根据用户2的睡眠信息灵活控制闹铃以及智能可穿戴设备13的工作状态。
在本实施例中,在距离第一终端设备的闹铃的时间点的时长为预设时长时,如果确定存在第二终端设备与第一终端设备处于同一场景,则从与第二终端设备关联的第一智能可穿戴设备获取佩戴第一智能可穿戴设备的用户的睡眠信息,并基于用户的睡眠信息控制闹铃以及与第一终端设备关联的第二智能可穿戴设备的工作状态。这样,可以根据用户的睡眠信息灵活地控制闹铃。
在一个实施例中,所述基于所述至少一个用户的睡眠信息,控制所述第一终端设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态,可包括:
如果所述至少一个用户的睡眠信息指示存在至少一个用户处于睡眠状态,向所述第二智能可穿戴设备发送振动控制信息,并关闭所述闹铃;所述振动控制信息用于控制所述第二智能可穿戴设备在所述时间点进行振动。
在一个实施例中,所述基于所述至少一个用户的睡眠信息,控制所述第一终端设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态,可包括:
如果所述至少一个用户的睡眠信息指示所述至少一个用户均未处于睡眠状态,则控制所述第一终端设备在所述时间点触发所述闹铃。
在一个实施例中,所述确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备,可包括:
确定是否存在与所述第一终端设备通过蓝牙连接的至少一个第二终端设备;
如果存在,则将与所述第一终端设备通过蓝牙连接的至少一个第二终端设备确定为与所述第一终端设备处于同一场景的所述至少一个第二终端设备。
在一个实施例中,所述确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备,可包括:
如果所述第一终端设备与至少一个第二终端设备通过WIFI、WIFI热点或移动网络连接,则确定所述至少一个第二终端设备与所述第一终端设备之间对应的至少一个距离;
基于所述至少一个距离与预设距离确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备。
在一个实施例中,所述确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备,可包括:
确定是否存在与所述第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备;
如果存在,则将与所述第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备确定为与所述第一终端设备处于同一场景的所述至少一个第二终端设备。
具体如何控制闹铃的,请参考后续实施例。
至此,本公开实施例提供的上述方法,在距离第一终端设备的闹铃的时间点的时长为预设时长时,如果确定存在第二终端设备与第一终端设备处于同一场景,则从与第二终端设备关联的第一智能可穿戴设备获取佩戴第一智能可穿戴设备的用户的睡眠信息,并基于用户的睡眠信息控制闹铃以及与第一终端设备关联的第二智能可穿戴设备的工作状态。这样,可以根据用户的睡眠信息灵活地控制闹铃。
下面以具体实施例来说明本公开实施例提供的技术方案。
图2是根据一示例性实施例一示出的控制闹铃的方法的流程图;本实施例利用本公开实施例提供的上述方法,以利用蓝牙连接的有效距离确定与第一终端设备处于同一场景的第二终端设备为例进行示例性说明,如图2所示,包括如下步骤:
在步骤S201中,确定第一终端设备的闹铃的时间点。
本实施例中的步骤S201与图1A所示实施例中的步骤S101相似,在此不再赘述。
在步骤S202中,在距离所述时间点的时长为预设时长时,确定是否存在与所述第一终端设备通过蓝牙连接的至少一个第二终端设备。如果存在,则执行步骤S203。
在步骤S203中,将与第一终端设备通过蓝牙连接的至少一个第二终端设备确定为与第一终端设备处于同一场景的至少一个第二终端设备。
在本实施例中,第一终端设备在距离上述的时间点的时长为预设时长时,可以确定是否存在通过蓝牙与第一终端设备连接的至少一个第二终端设备。当确定存在通过蓝牙与第一终端设备连接的至少一个第二终端设备时,将通过蓝牙与第一终端设备连接的至少一个第二终端设备确定为与第一终端设备处于同一场景的至少一个第二终端设备。能够通过蓝牙与第一终端设备连接说明第二终端设备与第一终端设备的距离在蓝牙的有效距离内,而蓝牙的有效距离一般在10米到几十米,所以,可以确定通过蓝牙与第一终端设备连接的第二终端设备与第一终端设备处于同一场景。
在步骤S204中,从与至少一个第二终端设备对应关联的至少一个第一智能可穿戴设备获取对应的至少一个用户的睡眠信息。
在步骤S205中,基于所述至少一个用户的睡眠信息,控制所述第一终端设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态。
本实施例中的步骤S204~S205与图1A所示实施例中的步骤S103~S104相似,在 此不再赘述。
本实施例中,通过确定是否存在与第一终端设备通过蓝牙连接的第二终端设备来确定是否存在与第一终端设备处于同一场景的第二终端设备,方法简单,易于实现,准确率高。
图3是根据一示例性实施例二示出的控制闹铃的方法的流程图;本实施例利用本公开实施例提供的上述方法,以基于终端设备间的距离与预设距离确定与第一终端设备处于同一场景的第二终端设备为例进行示例性说明,如图3所示,包括如下步骤:
在步骤S301中,确定第一终端设备的闹铃的时间点。
本实施例中的步骤S301与图1A所示实施例中的步骤S101相似,在此不再赘述。
在步骤S302中,在距离所述时间点的时长为预设时长时,如果第一终端设备与至少一个第二终端设备通过WIFI、WIFI热点或移动网络连接,则确定至少一个第二终端设备与第一终端设备之间对应的至少一个距离。
在步骤S303中,基于至少一个距离与预设距离确定是否存在与第一终端设备处于同一场景的至少一个第二终端设备。如果存在,则执行步骤S304。
在本实施例中,在确定是否存在与第一终端设备处于同一场景的至少一个第二终端设备时,先确定与第一终端设备通过WIFI、WIFI热点或移动网络连接的第二终端设备与第一终端设备之间的距离,再根据第二终端设备与第一终端设备之间的距离以及预设距离确定是否存在与第一终端设备处于同一场景的第二终端设备。其中,当第二终端设备与第一终端设备之间的距离小于预设距离时,确定第二终端设备与第一终端设备处于同一场景。
在一个示例性实施例中,第二终端设备A、第二终端设备B与第一终端设备通过WIFI连接。第一终端设备在确定是否存在与第一终端设备处于同一场景的至少一个第二终端设备时,先通过卫星定位(如GPS定位)确定第一终端设备的位置、第二终端设备A的位置以及第二终端设备B的位置,再根据第一终端设备的位置、第二终端设备A的位置以及第二终端设备B的位置确定第一终端设备的位置与第二终端设备A之间的第一距离以及第一终端设备的位置与第二终端设备B之间的第二距离。接着,比较第一距离与预设距离以及比较第二距离与预设距离。当第一距离小于预设距离时确定第二终端设备A与第一终端设备处于同一场景,当第二距离小于预设距离时确定第二终端设备B与第一终端设备处于同一场景。通常地,当两个终端设备之间的距离小于一定距离时,可以确定这两个终端设备处于同一场景中。通过设备之间的距离与预设距离之间的比较来确定是否存在与第一终端设备处于同一场景的至少一个第二终端设备,准确率高。
在步骤S304中,从与至少一个第二终端设备对应关联的至少一个第一智能可穿戴设备获取对应的至少一个用户的睡眠信息。
在步骤S305中,基于所述至少一个用户的睡眠信息,控制所述第一终端设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态。
本实施例中的步骤S304~S305与图1A所示实施例中的步骤S103~S104相似,在此不再赘述。
本实施例中,基于终端设备之间的距离与预设距离之间的关系来确定是否存在与第一终端设备处于同一场景的至少一个第二终端设备,准确率高。
图4是根据一示例性实施例三示出的控制闹铃的方法的流程图;本实施例利用本公开实施例提供的上述方法,以通过确定是否连接至同一家庭WIFI网络来确定与第一终端设备处于同一场景的第二终端设备为例进行示例性说明,如图4所示,包括如下步骤:
在步骤S401中,确定第一终端设备的闹铃的时间点。
本实施例中的步骤S401与图1A所示实施例中的步骤S101相似,在此不再赘述。
在步骤S402中,在距离所述时间点的时长为预设时长时,确定是否存在与第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备。如果存在,则执行步骤S403。
在步骤S403中,将与第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备确定为与第一终端设备处于同一场景的至少一个第二终端设备。
在本实施例中,在确定是否存在与第一终端设备处于同一场景的至少一个第二终端设备时,第一终端设备会确定是否存在与第一终端设备连接至同一家庭WIFI网络的第二终端设备,如果存在,则会将与第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备确定为与第一终端设备处于同一场景的至少一个第二终端设备。
在一个示例性实施例中,第一终端设备可以通过路由器的型号确定连接的网络是否属于家庭WIFI网络。
在一个示例性实施例中,第一终端设备连接至型号为AAAA的路由器。当第一终端设备确定第二终端设备A、第二终端设备B也连接至上述的路由器时,根据上述路由器的型号确定上述路由器是否属于家用路由器。当确定上述路由器属于家用路由器时,确定第二终端设备A、第二终端设备B以及第一终端设备均连接至同一家庭WIFI网络。
在步骤S404中,从与至少一个第二终端设备对应关联的至少一个第一智能可穿戴设备获取对应的至少一个用户的睡眠信息。
在步骤S405中,基于至少一个用户的睡眠信息,控制第一终端设备的闹铃以及与第一终端设备关联的第二智能可穿戴设备的工作状态。
本实施例中的步骤S404~S405与图1A所示实施例中的步骤S103~S104相似,在此不再赘述。
本实施例中,通过确定是否与第一终端设备共同连接至同一家庭WIFI网络来确定是否存在与第一终端设备处于同一场景的至少一个第二终端设备,准确率高,实用性强。
图5A是根据一示例性实施例示出的控制闹铃的方法的流程图,图5B是根据一示例性实施例示出的控制闹铃的场景图。该控制闹铃的方法可以应用在终端设备(例如:智能手机、平板电脑)上,如图5A所示,该控制闹铃的方法包括以下步骤S501-S504:
在步骤S501中,确定第三智能可穿戴设备的闹铃的时间点。
在本实施例中,闹铃是用户在智能可穿戴设备上设置的闹钟,该闹钟在预设的时间点播放响铃,以提醒用户。在一个示例性实施例中,用户在第三智能可穿戴设备上设置用于提醒用户按时起床的闹铃,时间点为早上7:00。那么,确定的闹铃的时间点即为早上7:00。
在步骤S502中,在距离所述时间点的时长为预设时长时,确定是否存在与所述第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备。
在本实施例中,是在当前时间点距离闹铃的时间点的时长为预设时长时,确定是否存在与第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备。继续上述的示例性实施例,如果预设时长为10分钟,则第三智能可穿戴设备在6:50会确定是否存在与第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备。
在本实施例中,第三智能可穿戴设备在确定是否存在与第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备时,可以确定是否存在与第三智能可穿戴设备通过蓝牙连接的至少一个第四智能可穿戴设备,如果存在,则将与第三智能可穿戴设备通过蓝牙连接的至少一个第四智能可穿戴设备确定为与第三智能可穿戴设备处于同一场景的所述至少一个第四智能可穿戴设备。
在步骤S503中,如果存在至少一个第四智能可穿戴设备,则从至少一个第四智能可穿戴设备获取对应的至少一个用户的睡眠信息。
在一个示例性实施例中,第四智能可穿戴设备A、第四智能可穿戴设备B与第三智能可穿戴设备处于同一场景。第四智能可穿戴设备A佩戴于用户A,第四智能可穿戴设备B佩戴于用户B,第三智能可穿戴设备佩戴于用户C。在本步骤中,第三智能可穿戴设备经与其通信连接的第四智能可穿戴设备A获取用户A的睡眠信息,经与其 通信连接的第四智能可穿戴设备B获取用户B的睡眠信息。
在步骤S504中,基于至少一个用户的睡眠信息,控述第三智能可穿戴设备的闹铃以及第三智能可穿戴设备的工作状态。
在一个实施例中,如果至少一个用户的睡眠信息指示存在至少一个用户处于睡眠状态,则关闭闹铃,并控制第三智能可穿戴设备在上述的时间点进行振动。如果至少一个用户的睡眠信息指示至少一个用户均未处于睡眠状态,则控制第三智能可穿戴设备在上述的时间点触发闹铃。
继续上述的示例性实施例,第三智能可穿戴设备可以基于用户A的睡眠信息与用户B的睡眠信息,控制闹铃以及与第三智能可穿戴设备的工作状态。例如,如果用户A的睡眠信息指示用户A处于睡眠状态,和/或用户B的睡眠信息指示用户B处于睡眠状态,则第三智能可穿戴设备关闭闹铃,并控制第三智能可穿戴设备在上述的时间点进行振动。这样,可以避免第三智能可穿戴设备的闹铃(用户C设置的)打扰处于睡眠状态的用户A与用户B的睡眠。如果用户A的睡眠信息指示用户A未处于睡眠状态,且用户B的睡眠信息指示用户B未处于睡眠状态,则控制第三智能可穿戴设备在上述的时间点触发所述闹铃。
如图5B所示,在一个示例性场景中,智能可穿戴设备13与智能可穿戴设备14通过蓝牙通信连接。智能可穿戴设备13佩戴于用户1,智能可穿戴设备14佩戴于用户2。智能可穿戴设备13中设置有闹铃,闹铃对应的时间点为早上7:00。智能可穿戴设备13中还设置有预设时长10分钟,用于控制智能可穿戴设备13执行“确定是否存在与智能可穿戴设备13处于同一场景的至少一个智能可穿戴设备”的时间点。当智能可穿戴设备13检测到当前时间为6:50时,符合“距离7:00的时长为10分钟”的条件,智能可穿戴设备13便根据“智能可穿戴设备13与智能可穿戴设备14通过蓝牙通信连接”确定存在智能可穿戴设备14与智能可穿戴设备13处于同一场景。继而,智能可穿戴设备13向智能可穿戴设备14发送请求获取用户2的睡眠信息的指令,智能可穿戴设备14在接收到该指令时将智能可穿戴设备14监测到的用户2的睡眠信息反馈给智能可穿戴设备13。智能可穿戴设备13根据用户2的睡眠信息控制闹铃与智能可穿戴设备13的工作状态。其中,当用户2的睡眠信息指示用户2处于睡眠状态时,智能可穿戴设备13关闭闹铃,并控制智能可穿戴设备13在7:00进行振动。这样,可以避免闹铃影响用户2睡眠。当用户2的睡眠信息指示用户2未处于睡眠状态时,智能可穿戴设备13则在7:00触发闹铃。综上所述,智能可穿戴设备13可以根据用户2的睡眠信息灵活控制闹铃以及智能可穿戴设备13的工作状态。
在本实施例中,在距离第三智能可穿戴设备的闹铃的时间点的时长为预设时长时, 如果确定存在第四智能可穿戴设备与第三智能可穿戴设备处于同一场景,则第三智能可穿戴设备获取佩戴第四智能可穿戴设备的用户的睡眠信息,并基于用户的睡眠信息控制闹铃以及第三智能可穿戴设备的工作状态。这样,可以根据用户的睡眠信息灵活地控制闹铃。
在一个实施例中,所述基于所述至少一个用户的睡眠信息,控制所述第三智能可穿戴设备的闹铃以及所述第三智能可穿戴设备的工作状态,可包括:
如果所述至少一个用户的睡眠信息指示存在至少一个用户处于睡眠状态,则关闭所述闹铃,并控制所述第三智能可穿戴设备在所述时间点进行振动。
在一个实施例中,所述基于所述至少一个用户的睡眠信息,控制所述第三智能可穿戴设备的闹铃以及所述第三智能可穿戴设备的工作状态,可包括:
如果所述至少一个用户的睡眠信息指示所述至少一个用户均未处于睡眠状态,则控制所述第三智能可穿戴设备在所述时间点触发所述闹铃。
在一个实施例中,所述确定是否存在与第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备,可包括:
确定是否存在与所述第三智能可穿戴设备蓝牙连接的至少一个第四智能可穿戴设备;
如果存在,则将与所述第三智能可穿戴设备蓝牙连接的至少一个第四智能可穿戴设备确定为与第三智能可穿戴设备处于同一场景的所述至少一个第四智能可穿戴设备。
具体如何控制闹铃的,请参考后续实施例。
至此,本公开实施例提供的上述方法,在距离第三智能可穿戴设备的闹铃的时间点的时长为预设时长时,如果确定存在第四智能可穿戴设备与第三智能可穿戴设备处于同一场景,则第三智能可穿戴设备获取佩戴第四智能可穿戴设备的用户的睡眠信息,并基于用户的睡眠信息控制闹铃以及第三智能可穿戴设备的工作状态。这样,可以根据用户的睡眠信息灵活地控制闹铃。
下面以具体实施例来说明本公开实施例提供的技术方案。
图6是根据一示例性实施例四示出的控制闹铃的方法的流程图;本实施例利用本公开实施例提供的上述方法,以利用蓝牙连接的有效距离确定与第三智能可穿戴设备处于同一场景的第四智能可穿戴设备为例进行示例性说明,如图6所示,包括如下步骤:
在步骤S601中,确定第三智能可穿戴设备的闹铃的时间点。
本实施例中的步骤S601与图5A所示实施例中的步骤S501相似,在此不再赘述。
在步骤S602中,在距离所述时间点的时长为预设时长时,确定是否存在与所述第三智能可穿戴设备蓝牙连接的至少一个第四智能可穿戴设备。如果存在,则执行步骤S603。
在步骤S603中,将与第三智能可穿戴设备蓝牙连接的至少一个第四智能可穿戴设备确定为与第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备。
在本实施例中,第三智能可穿戴设备在距离上述的时间点的时长为预设时长时,可以确定是否存在通过蓝牙与第三智能可穿戴设备连接的至少一个第四智能可穿戴设备,当确定存在通过蓝牙与第三智能可穿戴设备连接的至少一个第四智能可穿戴设备时,将通过蓝牙与第三智能可穿戴设备连接的至少一个第四智能可穿戴设备确定为与第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备。能够通过蓝牙与第三智能可穿戴设备连接说明第四智能可穿戴设备与第三智能可穿戴设备的距离在蓝牙的有效距离内,而蓝牙的有效距离一般在10米到几十米,所以,可以确定通过蓝牙与第三智能可穿戴设备连接的第四智能可穿戴设备与第三智能可穿戴设备处于同一场景。
在步骤S604中,从至少一个第四智能可穿戴设备获取对应的至少一个用户的睡眠信息。
在步骤S605中,基于至少一个用户的睡眠信息,控制第三智能可穿戴设备的闹铃以及第三智能可穿戴设备的工作状态。
本实施例中的步骤S604~S605与图5A所示实施例中的步骤S503~S504相似,在此不再赘述。
本实施例中,通过确定是否存在与第三智能可穿戴设备通过蓝牙连接的第四智能可穿戴设备来确定是否存在与第三智能可穿戴设备处于同一场景的第四智能可穿戴设备,方法简单,易于实现,准确率高。
图7A是根据一示例性实施例示出的一种控制闹铃的装置的框图,如图7A所示,控制闹铃的装置包括:
第一确定模块71,被配置为确定第一终端设备的闹铃的时间点;
第二确定模块72,被配置为在距离所述时间点的时长为预设时长时,确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备;
第一获取模块73,被配置为在存在所述至少一个第二终端设备时,从与所述至少一个第二终端设备对应关联的至少一个第一智能可穿戴设备获取对应的至少一个用户的睡眠信息;
第一控制模块74,被配置为基于所述至少一个用户的睡眠信息,控制所述第一终 端设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态。
如图7B所示,在一个示例性实施例中,所述第一控制模块74,可包括:
第一发送子模块741,被配置为在所述至少一个用户的睡眠信息指示存在至少一个用户处于睡眠状态时,向所述第二智能可穿戴设备发送振动控制信息;所述振动控制信息用于控制所述第二智能可穿戴设备在所述时间点进行振动;
第一控制子模块742,被配置为关闭所述闹铃。
在一个示例性实施例中,所述第一控制模块还可被配置为在所述至少一个用户的睡眠信息指示所述至少一个用户均未处于睡眠状态时,控制所述第一终端设备在所述时间点触发所述闹铃。
如图7C所示,在一个示例性实施例中,所述第二确定模块72,可包括:
第一确定子模块721,被配置为确定是否存在与所述第一终端设备通过蓝牙连接的至少一个第二终端设备;
第二确定子模块722,被配置为将与所述第一终端设备通过蓝牙连接的至少一个第二终端设备确定为与所述第一终端设备处于同一场景的所述至少一个第二终端设备。
如图7D所示,在一个示例性实施例中,所述第二确定模块72,可包括:
第三确定子模块723,被配置为在所述第一终端设备与至少一个第二终端设备通过WIFI、WIFI热点或移动网络连接时,确定所述至少一个第二终端设备与所述第一终端设备之间对应的至少一个距离;
第四确定子模块724,被配置为基于所述至少一个距离与预设距离确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备。
如图7E所示,在一个示例性实施例中,所述第二确定模块72,可包括:
第五确定子模块725,被配置为确定是否存在与所述第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备;
第六确定子模块726,被配置为将与所述第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备确定为与所述第一终端设备处于同一场景的所述至少一个第二终端设备。
图8A是根据一示例性实施例示出的一种控制闹铃的装置的框图,如图8A所示,控制闹铃的装置包括:
第三确定模块81,被配置为确定第三智能可穿戴设备的闹铃的时间点;
第四确定模块82,被配置为在距离所述时间点的时长为预设时长时,确定是否存在与所述第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备;
第二获取模块83,被配置为在存在所述至少一个第四智能可穿戴设备时,从所述 至少一个第四智能可穿戴设备获取对应的至少一个用户的睡眠信息;
第二控制模块84,被配置为基于所述至少一个用户的睡眠信息,控制所述第三智能可穿戴设备的闹铃以及所述第三智能可穿戴设备的工作状态。
在一个示例性实施例中,所述第二控制模块84,还可被配置为在所述至少一个用户的睡眠信息指示存在至少一个用户处于睡眠状态时,关闭所述闹铃,并控制所述第三智能可穿戴设备在所述时间点进行振动。
在一个示例性实施例中,所述第二控制模块84,还可被配置为在所述至少一个用户的睡眠信息指示所述至少一个用户均未处于睡眠状态时,控制所述第三智能可穿戴设备在所述时间点触发所述闹铃。
如图8B所示,在一个示例性实施例中,所述第四确定模块82,可包括:
第七确定子模块821,被配置为确定是否存在与所述第三智能可穿戴设备蓝牙连接的至少一个第四智能可穿戴设备;
第八确定子模块822,被配置为将与所述第三智能可穿戴设备蓝牙连接的至少一个第四智能可穿戴设备确定为与第三智能可穿戴设备处于同一场景的所述至少一个第四智能可穿戴设备。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图9是根据一示例性实施例示出的一种控制闹铃的装置的框图。例如,装置900可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图9,装置900可以包括以下一个或多个组件:处理组件902,存储器904,电源组件906,多媒体组件908,音频组件910,输入/输出(I/O)的接口912,传感器组件914,以及通信组件916。
处理组件902通常控制装置900的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件902可以包括一个或多个处理器920来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件902可以包括一个或多个模块,便于处理组件902和其他组件之间的交互。例如,处理部件902可以包括多媒体模块,以方便多媒体组件908和处理组件902之间的交互。
存储器904被配置为存储各种类型的数据以支持在设备900的操作。这些数据的示例包括用于在装置900上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器904可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储 器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电力组件906为装置900的各种组件提供电力。电力组件906可以包括电源管理系统,一个或多个电源,及其他与为装置900生成、管理和分配电力相关联的组件。
多媒体组件908包括在所述装置900和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件908包括一个前置摄像头和/或后置摄像头。当设备900处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件910被配置为输出和/或输入音频信号。例如,音频组件910包括一个麦克风(MIC),当装置900处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器904或经由通信组件916发送。在一些实施例中,音频组件910还包括一个扬声器,用于输出音频信号。
I/O接口912为处理组件902和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件914包括一个或多个传感器,用于为装置900提供各个方面的状态评估。例如,传感器组件914可以检测到设备900的打开/关闭状态,组件的相对定位,例如所述组件为装置900的显示器和小键盘,传感器组件914还可以检测装置900或装置900一个组件的位置改变,用户与装置900接触的存在或不存在,装置900方位或加速/减速和装置900的温度变化。传感器组件914可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件914还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件914还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件916被配置为便于装置900和其他设备之间有线或无线方式的通信。装置900可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一 个示例性实施例中,通信部件916经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件916还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置900可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器904,上述指令可由装置900的处理器920执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (23)

  1. 一种控制闹铃的方法,其特征在于,所述方法包括:
    确定第一终端设备的闹铃的时间点;
    在距离所述时间点的时长为预设时长时,确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备;
    如果存在所述至少一个第二终端设备,则从与所述至少一个第二终端设备对应关联的至少一个第一智能可穿戴设备获取对应的至少一个用户的睡眠信息;
    基于所述至少一个用户的睡眠信息,控制所述第一终端设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态。
  2. 根据权利要求1所述的方法,其特征在于,所述基于所述至少一个用户的睡眠信息,控制所述第一终端设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态,包括:
    如果所述至少一个用户的睡眠信息指示存在至少一个用户处于睡眠状态,向所述第二智能可穿戴设备发送振动控制信息,并关闭所述闹铃;所述振动控制信息用于控制所述第二智能可穿戴设备在所述时间点进行振动。
  3. 根据权利要求1所述的方法,其特征在于,所述基于所述至少一个用户的睡眠信息,控制所述第一终端设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态,包括:
    如果所述至少一个用户的睡眠信息指示所述至少一个用户均未处于睡眠状态,则控制所述第一终端设备在所述时间点触发所述闹铃。
  4. 根据权利要求1所述的方法,其特征在于,所述确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备,包括:
    确定是否存在与所述第一终端设备通过蓝牙连接的至少一个第二终端设备;
    如果存在,则将与所述第一终端设备通过蓝牙连接的至少一个第二终端设备确定为与所述第一终端设备处于同一场景的所述至少一个第二终端设备。
  5. 根据权利要求1所述的方法,其特征在于,所述确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备,包括:
    如果所述第一终端设备与至少一个第二终端设备通过WIFI、WIFI热点或移动网络连接,则确定所述至少一个第二终端设备与所述第一终端设备之间对应的至少一个距离;
    基于所述至少一个距离与预设距离确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备。
  6. 根据权利要求1所述的方法,其特征在于,所述确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备,包括:
    确定是否存在与所述第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备;
    如果存在,则将与所述第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备确定为与所述第一终端设备处于同一场景的所述至少一个第二终端设备。
  7. 一种控制闹铃的方法,其特征在于,所述方法包括:
    确定第三智能可穿戴设备的闹铃的时间点;
    在距离所述时间点的时长为预设时长时,确定是否存在与所述第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备;
    如果存在所述至少一个第四智能可穿戴设备,则从所述至少一个第四智能可穿戴设备获取对应的至少一个用户的睡眠信息;
    基于所述至少一个用户的睡眠信息,控制所述第三智能可穿戴设备的闹铃以及所述第三智能可穿戴设备的工作状态。
  8. 根据权利要求7所述的方法,其特征在于,所述基于所述至少一个用户的睡眠信息,控制所述第三智能可穿戴设备的闹铃以及所述第三智能可穿戴设备的工作状态,包括:
    如果所述至少一个用户的睡眠信息指示存在至少一个用户处于睡眠状态,则关闭所述闹铃,并控制所述第三智能可穿戴设备在所述时间点进行振动。
  9. 根据权利要求7所述的方法,其特征在于,所述基于所述至少一个用户的睡眠信息,控制所述第三智能可穿戴设备的闹铃以及所述第三智能可穿戴设备的工作状态,包括:
    如果所述至少一个用户的睡眠信息指示所述至少一个用户均未处于睡眠状态,则控制所述第三智能可穿戴设备在所述时间点触发所述闹铃。
  10. 根据权利要求7所述的方法,其特征在于,所述确定是否存在与第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备,包括:
    确定是否存在与所述第三智能可穿戴设备蓝牙连接的至少一个第四智能可穿戴设备;
    如果存在,则将与所述第三智能可穿戴设备蓝牙连接的至少一个第四智能可穿戴设备确定为与第三智能可穿戴设备处于同一场景的所述至少一个第四智能可穿戴设备。
  11. 一种控制闹铃的装置,其特征在于,所述装置包括:
    第一确定模块,被配置为确定第一终端设备的闹铃的时间点;
    第二确定模块,被配置为在距离所述时间点的时长为预设时长时,确定是否存在与所 述第一终端设备处于同一场景的至少一个第二终端设备;
    第一获取模块,被配置为在存在所述至少一个第二终端设备时,从与所述至少一个第二终端设备对应关联的至少一个第一智能可穿戴设备获取对应的至少一个用户的睡眠信息;
    第一控制模块,被配置为基于所述至少一个用户的睡眠信息,控制所述第一终端设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态。
  12. 根据权利要求11所述的装置,其特征在于,所述第一控制模块,包括:
    第一发送子模块,被配置为在所述至少一个用户的睡眠信息指示存在至少一个用户处于睡眠状态时,向所述第二智能可穿戴设备发送振动控制信息;所述振动控制信息用于控制所述第二智能可穿戴设备在所述时间点进行振动;
    第一控制子模块,被配置为关闭所述闹铃。
  13. 根据权利要求11所述的装置,其特征在于,所述第一控制模块还被配置为在所述至少一个用户的睡眠信息指示所述至少一个用户均未处于睡眠状态时,控制所述第一终端设备在所述时间点触发所述闹铃。
  14. 根据权利要求11所述的装置,其特征在于,所述第二确定模块,包括:
    第一确定子模块,被配置为确定是否存在与所述第一终端设备通过蓝牙连接的至少一个第二终端设备;
    第二确定子模块,被配置为将与所述第一终端设备通过蓝牙连接的至少一个第二终端设备确定为与所述第一终端设备处于同一场景的所述至少一个第二终端设备。
  15. 根据权利要求11所述的装置,其特征在于,所述第二确定模块,包括:
    第三确定子模块,被配置为在所述第一终端设备与至少一个第二终端设备通过
    WIFI、WIFI热点或移动网络连接时,确定所述至少一个第二终端设备与所述第一终端设备之间对应的至少一个距离;
    第四确定子模块,被配置为基于所述至少一个距离与预设距离确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备。
  16. 根据权利要求11所述的装置,其特征在于,所述第二确定模块,包括:
    第五确定子模块,被配置为确定是否存在与所述第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备;
    第六确定子模块,被配置为将与所述第一终端设备连接至同一家庭WIFI网络的至少一个第二终端设备确定为与所述第一终端设备处于同一场景的所述至少一个第二终端设备。
  17. 一种控制闹铃的装置,其特征在于,所述装置包括:
    第三确定模块,被配置为确定第三智能可穿戴设备的闹铃的时间点;
    第四确定模块,被配置为在距离所述时间点的时长为预设时长时,确定是否存在与所述第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备;
    第二获取模块,被配置为在存在所述至少一个第四智能可穿戴设备时,从所述至少一个第四智能可穿戴设备获取对应的至少一个用户的睡眠信息;
    第二控制模块,被配置为基于所述至少一个用户的睡眠信息,控制所述第三智能可穿戴设备的闹铃以及所述第三智能可穿戴设备的工作状态。
  18. 根据权利要求17所述的装置,其特征在于,所述第二控制模块,还被配置为在所述至少一个用户的睡眠信息指示存在至少一个用户处于睡眠状态时,关闭所述闹铃,并控制所述第三智能可穿戴设备在所述时间点进行振动。
  19. 根据权利要求17所述的装置,其特征在于,所述第二控制模块,还被配置为在所述至少一个用户的睡眠信息指示所述至少一个用户均未处于睡眠状态时,控制所述第三智能可穿戴设备在所述时间点触发所述闹铃。
  20. 根据权利要求17所述的装置,其特征在于,所述第四确定模块,包括:
    第七确定子模块,被配置为确定是否存在与所述第三智能可穿戴设备蓝牙连接的至少一个第四智能可穿戴设备;
    第八确定子模块,被配置为将与所述第三智能可穿戴设备蓝牙连接的至少一个第四智能可穿戴设备确定为与第三智能可穿戴设备处于同一场景的所述至少一个第四智能可穿戴设备。
  21. 一种控制闹铃的装置,其特征在于,所述装置包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    确定第一终端设备的闹铃的时间点;
    在距离所述时间点的时长为预设时长时,确定是否存在与所述第一终端设备处于同一场景的至少一个第二终端设备;
    如果存在所述至少一个第二终端设备,则从与所述至少一个第二终端设备对应关联的至少一个第一智能可穿戴设备获取对应的至少一个用户的睡眠信息;
    基于所述至少一个用户的睡眠信息,控制所述第一终端设备的闹铃以及与所述第一终端设备关联的第二智能可穿戴设备的工作状态。
  22. 一种控制闹铃的装置,其特征在于,所述装置包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    确定第三智能可穿戴设备的闹铃的时间点;
    在距离所述时间点的时长为预设时长时,确定是否存在与所述第三智能可穿戴设备处于同一场景的至少一个第四智能可穿戴设备;
    如果存在所述至少一个第四智能可穿戴设备,则从所述至少一个第四智能可穿戴设备获取对应的至少一个用户的睡眠信息;
    基于所述至少一个用户的睡眠信息,控制所述第三智能可穿戴设备的闹铃以及所述第三智能可穿戴设备的工作状态。
  23. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1-10中任一项的方法步骤。
PCT/CN2018/083948 2017-10-23 2018-04-20 控制闹铃的方法及装置 WO2019080465A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
RU2018144395A RU2705424C1 (ru) 2017-10-23 2018-04-20 Способ и устройство для управления будильником
KR1020197007404A KR102182294B1 (ko) 2017-10-23 2018-04-20 알람을 제어하는 방법 및 장치
JP2018529625A JP6713049B2 (ja) 2017-10-23 2018-04-20 アラーム制御方法及びアラーム制御装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710991759.4 2017-10-23
CN201710991759.4A CN107635074B (zh) 2017-10-23 2017-10-23 控制闹铃的方法、装置及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2019080465A1 true WO2019080465A1 (zh) 2019-05-02

Family

ID=61104635

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/083948 WO2019080465A1 (zh) 2017-10-23 2018-04-20 控制闹铃的方法及装置

Country Status (7)

Country Link
US (1) US11194297B2 (zh)
EP (1) EP3474088A1 (zh)
JP (1) JP6713049B2 (zh)
KR (1) KR102182294B1 (zh)
CN (1) CN107635074B (zh)
RU (1) RU2705424C1 (zh)
WO (1) WO2019080465A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107635074B (zh) * 2017-10-23 2021-02-09 北京小米移动软件有限公司 控制闹铃的方法、装置及计算机可读存储介质
JP2020067955A (ja) * 2018-10-26 2020-04-30 セイコーエプソン株式会社 表示システム、デバイス、プログラム、及びデバイスの制御方法
CN111385417A (zh) * 2020-03-19 2020-07-07 Oppo广东移动通信有限公司 闹钟控制方法、装置、电子设备和存储介质
CN112401838B (zh) * 2020-11-16 2023-07-14 上海创功通讯技术有限公司 一种可穿戴设备检测睡眠状态的方法及可穿戴设备
CN113254242A (zh) * 2021-07-01 2021-08-13 深圳市酷客智能科技有限公司 一种闹钟设置方法及系统、电子设备、存储介质
CN117640820A (zh) * 2022-08-11 2024-03-01 广州三星通信技术研究有限公司 电子设备的操作方法、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2426080A (en) * 2005-05-12 2006-11-15 Mark Joel Melzack Dual alarm clock with quiet alert option
CN104580730A (zh) * 2015-01-13 2015-04-29 小米科技有限责任公司 闹钟提醒方法及装置
CN105991824A (zh) * 2015-02-04 2016-10-05 中兴通讯股份有限公司 一种闹钟提醒装置及其方法
US20170094046A1 (en) * 2015-09-30 2017-03-30 Apple Inc. Adjusting alarms based on sleep onset latency
CN107635074A (zh) * 2017-10-23 2018-01-26 北京小米移动软件有限公司 控制闹铃的方法及装置

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2264643C2 (ru) * 2004-02-03 2005-11-20 Корин Михаил Валерьевич Будильник с повторным сигналом
US8600457B2 (en) * 2007-11-30 2013-12-03 Microsoft Corporation Sleep mode for mobile communication device
US9152131B2 (en) * 2013-03-14 2015-10-06 Google Technology Holdings LLC Snooze alarm system for a wearable device
US9195220B2 (en) * 2013-03-15 2015-11-24 Lutron Electronics Co., Inc. Clock device with automatic simulation of sunrise or sunset
CN103929835B (zh) * 2014-03-28 2017-08-15 小米科技有限责任公司 闹钟振铃的控制方法、装置和系统
US9588498B2 (en) * 2014-12-30 2017-03-07 Nokia Technologies Oy Method and apparatus for providing an intelligent alarm notification
CN105725969B (zh) * 2016-01-29 2018-08-24 宇龙计算机通信科技(深圳)有限公司 用于可穿戴设备的闹铃控制方法及闹铃控制装置
CN106371802A (zh) * 2016-10-31 2017-02-01 北京小米移动软件有限公司 终端音量控制方法及装置
CN106709304A (zh) * 2016-11-21 2017-05-24 北京小米移动软件有限公司 终端设备控制方法及装置
CN106936992A (zh) * 2017-03-06 2017-07-07 广东欧珀移动通信有限公司 闹铃控制方法、装置、智能穿戴设备、智能音频播放设备及系统
CN107172307A (zh) * 2017-07-26 2017-09-15 北京小米移动软件有限公司 闹钟响铃控制方法、装置及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2426080A (en) * 2005-05-12 2006-11-15 Mark Joel Melzack Dual alarm clock with quiet alert option
CN104580730A (zh) * 2015-01-13 2015-04-29 小米科技有限责任公司 闹钟提醒方法及装置
CN105991824A (zh) * 2015-02-04 2016-10-05 中兴通讯股份有限公司 一种闹钟提醒装置及其方法
US20170094046A1 (en) * 2015-09-30 2017-03-30 Apple Inc. Adjusting alarms based on sleep onset latency
CN107635074A (zh) * 2017-10-23 2018-01-26 北京小米移动软件有限公司 控制闹铃的方法及装置

Also Published As

Publication number Publication date
JP6713049B2 (ja) 2020-06-24
KR20190047697A (ko) 2019-05-08
EP3474088A1 (en) 2019-04-24
CN107635074B (zh) 2021-02-09
US20190121298A1 (en) 2019-04-25
US11194297B2 (en) 2021-12-07
RU2705424C1 (ru) 2019-11-07
CN107635074A (zh) 2018-01-26
KR102182294B1 (ko) 2020-11-24
JP2020504463A (ja) 2020-02-06

Similar Documents

Publication Publication Date Title
US10292004B2 (en) Method, device and medium for acquiring location information
US10264085B2 (en) Method and device for presenting push notifications
WO2019080465A1 (zh) 控制闹铃的方法及装置
WO2016192323A1 (zh) 视频通信方法及装置
RU2619083C2 (ru) Способ и устройство для сообщения о запросе на вызов
CN104065818A (zh) 提醒用户的方法及装置
US10423379B2 (en) Method and device for screen-off display
EP3024211B1 (en) Method and device for announcing voice call
WO2017088374A1 (zh) 网络状态信息展示方法及装置
JP2017531977A (ja) メッセージ送信方法、装置、端末、ルータ、プログラム、及び記録媒体
WO2018000710A1 (zh) WiFi信号图标的展示方法、装置和移动终端
WO2017088373A1 (zh) 账单处理方法、装置和终端设备
KR20150122574A (ko) 사용자 명령 실행방법, 장치, 프로그램 및 기록매체
CN106843627B (zh) 日历事件的记录方法、装置及设备
WO2017054344A1 (zh) 一种处理通信消息的方法和装置
US20190012954A1 (en) Method and device for always on display, and computer-readable storage medium
EP3125514A1 (en) Method and device for state notification
EP3896982A1 (en) Method and apparatus for inputting information on display interface, and storage medium
WO2019183853A1 (zh) 信息上报、配置方法及装置、用户设备和基站
JP2017537573A (ja) リマインド方法およびその装置、プログラム及び記録媒体
WO2019028862A1 (zh) 无人机控制方法及装置、无人机和核心网设备
CN107122286B (zh) 统计事件信息的方法及装置
EP3726888A1 (en) Method and device for extending pbch
EP3157291B1 (en) Method and device for acquiring information about relay router
US9992115B2 (en) Method and device for controlling traffic of mobile router

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2018529625

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20197007404

Country of ref document: KR

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18870801

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18870801

Country of ref document: EP

Kind code of ref document: A1