CN109474744B - Alarm clock processing method, device and storage medium - Google Patents

Alarm clock processing method, device and storage medium Download PDF

Info

Publication number
CN109474744B
CN109474744B CN201811377994.3A CN201811377994A CN109474744B CN 109474744 B CN109474744 B CN 109474744B CN 201811377994 A CN201811377994 A CN 201811377994A CN 109474744 B CN109474744 B CN 109474744B
Authority
CN
China
Prior art keywords
alarm clock
terminal
instruction
associated terminal
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
Application number
CN201811377994.3A
Other languages
Chinese (zh)
Other versions
CN109474744A (en
Inventor
钱庄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811377994.3A priority Critical patent/CN109474744B/en
Publication of CN109474744A publication Critical patent/CN109474744A/en
Application granted granted Critical
Publication of CN109474744B publication Critical patent/CN109474744B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Electric Clocks (AREA)

Abstract

The present disclosure relates to an alarm clock processing method, apparatus and storage medium, relating to the technical field of terminals, the method comprising: sending query information to an associated terminal bound with the equipment according to a received setting instruction, wherein the setting instruction is used for setting a first alarm clock, the query information comprises the ringing time of the first alarm clock, receiving confirmation information sent by the associated terminal, the confirmation information is used for indicating whether the associated alarm clock is arranged on the associated terminal or not, the ringing time of the associated alarm clock and the ringing time of the first alarm clock meet a preset time relationship, when the confirmation information indicates that the associated alarm clock is arranged on the associated terminal, the prompt information is sent out and is used for prompting a user whether to close the associated alarm clock or not, the received control instruction is sent to the associated terminal, and the control instruction is used for indicating the associated terminal to control the associated alarm clock. The alarm clock on the equipment and the terminal can be associated, and the alarm clock on the equipment and the terminal can be synchronously controlled according to the actual requirements of the user, so that the operation is simplified.

Description

Alarm clock processing method, device and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to an alarm clock processing method and apparatus, and a storage medium.
Background
In the correlation technique, get into people's daily life along with intelligent house technique gradually, the kind of the smart machine that the user can select is more and more, for example, voice interaction product (intelligent audio amplifier etc.), multimedia player, smart bracelet etc. can set up the smart machine of alarm clock, the user can set up the alarm clock on smart machine according to specific demand, and the user also can set up the alarm clock on mobile terminal usually, if the alarm clock setting on mobile terminal and the smart machine rings bell at the same moment, so two alarm clocks can ring simultaneously, the user need close twice alarm clock, user experience has been reduced.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an alarm clock processing method, apparatus, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided an alarm clock processing method applied to a device, the method including:
sending query information to an associated terminal bound with the equipment according to a received setting instruction, wherein the setting instruction is used for setting a first alarm clock, and the query information comprises the ringing time of the first alarm clock;
receiving confirmation information sent by the associated terminal, wherein the confirmation information is used for indicating whether an associated alarm clock is arranged on the associated terminal, and the ringing time of the associated alarm clock and the ringing time of the first alarm clock meet a preset time relationship;
when the confirmation information indicates that the associated alarm clock is arranged on the associated terminal, sending prompt information, wherein the prompt information is used for prompting a user whether to turn off the associated alarm clock;
and sending the received control instruction to the associated terminal, wherein the control instruction is used for indicating the associated terminal to control the associated alarm clock.
Optionally, the sending, according to the received setting instruction, query information to the associated terminal bound to the device includes:
setting the first alarm clock according to the setting instruction so that the equipment can ring at the time indicated by the ring time of the first alarm clock;
and sending the query information to the associated terminal according to the ringing time of the first alarm clock.
Optionally, the time relationship includes: and the time difference between the ringing time of the associated alarm clock and the ringing time of the first alarm clock is less than or equal to a preset time threshold.
Optionally, the control instruction includes: any one of a close instruction, an open instruction, and an instruction to be confirmed;
the closing instruction is used for indicating the associated terminal to close the associated alarm clock;
the opening instruction is used for indicating the associated terminal to open the associated alarm clock;
and the instruction to be confirmed is used for indicating the association terminal to confirm whether to close the association alarm clock.
Optionally, the method further includes:
and sending confirmation information to the associated terminal before the ringing time of the first alarm clock is reached, wherein the confirmation information is used for prompting the associated terminal, and the first alarm clock on the equipment rings, so that the associated terminal can control the associated alarm clock according to the control instruction.
According to a second aspect of the embodiments of the present disclosure, there is provided an alarm clock processing apparatus applied to a device, the apparatus including:
the query module is configured to send query information to an associated terminal bound with the equipment according to a received setting instruction, wherein the setting instruction is used for setting a first alarm clock, and the query information comprises the ringing time of the first alarm clock;
the receiving module is configured to receive confirmation information sent by the association terminal, wherein the confirmation information is used for indicating whether an association alarm clock is arranged on the association terminal, and the ringing time of the association alarm clock and the ringing time of the first alarm clock meet a preset time relationship;
the prompting module is configured to send out prompting information when the confirmation information indicates that the associated alarm clock is arranged on the associated terminal, wherein the prompting information is used for prompting a user whether to turn off the associated alarm clock;
and the sending module is configured to send the received control instruction to the associated terminal, wherein the control instruction is used for indicating the associated terminal to control the associated alarm clock.
Optionally, the query module includes:
a setting submodule configured to set the first alarm clock according to the setting instruction so that the device rings at a time indicated by a ring time of the first alarm clock;
and the query submodule is configured to send the query information to the associated terminal according to the ringing time of the first alarm clock.
Optionally, the time relationship includes: and the time difference between the ringing time of the associated alarm clock and the ringing time of the first alarm clock is less than or equal to a preset time threshold.
Optionally, the control instruction includes: any one of a close instruction, an open instruction, and an instruction to be confirmed;
the closing instruction is used for indicating the associated terminal to close the associated alarm clock;
the opening instruction is used for indicating the associated terminal to open the associated alarm clock;
and the instruction to be confirmed is used for indicating the association terminal to confirm whether to close the association alarm clock.
Optionally, the apparatus further comprises:
a confirmation module configured to send confirmation information to the associated terminal before the ringing time of the first alarm clock is reached, where the confirmation information is used to prompt the associated terminal that the first alarm clock on the device will ring, so that the associated terminal controls the associated alarm clock according to the control instruction.
According to a third aspect of the embodiments of the present disclosure, there is provided an alarm clock processing apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions in the memory to implement the steps of the alarm clock processing method provided by the first aspect of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the alarm clock processing method provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when a user sends a setting instruction for setting the first alarm clock, the device sends query information including the ringing time corresponding to the first alarm clock to the associated terminal bound with the device according to the received setting instruction. And the associated terminal sends confirmation information capable of indicating whether the associated alarm clock is arranged on the associated terminal or not to the equipment after receiving the query information, wherein the ringing time of the associated alarm clock and the ringing time of the first alarm clock meet a preset time relationship. The equipment receives the confirmation information, sends prompt information to prompt whether the user closes the associated alarm clock or not when the confirmation information indicates that the associated alarm clock is set on the associated terminal, and then sends a control instruction sent by the user to the associated terminal so that the associated terminal controls the associated alarm clock after receiving the control instruction. The alarm clock on the equipment and the alarm clock on the terminal can be associated, and the alarm clocks on the equipment and the terminal can be synchronously controlled according to the actual requirements of the user, so that the operation of setting the alarm clocks is simplified.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating an alarm clock processing method according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating another alarm clock processing method according to an exemplary embodiment;
FIG. 3 is a flow diagram illustrating another alarm clock processing method according to an exemplary embodiment;
FIG. 4 is a block diagram illustrating an alarm clock processing apparatus according to an exemplary embodiment;
FIG. 5 is a block diagram illustrating another alarm clock processing apparatus according to an exemplary embodiment;
FIG. 6 is a block diagram illustrating another alarm clock processing apparatus according to an exemplary embodiment;
FIG. 7 is a block diagram illustrating an alarm clock processing apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Before introducing the alarm clock processing method, device and storage medium provided by the present disclosure, an application scenario related to each embodiment in the present disclosure is first introduced, where the application scenario includes: a device and an associated terminal, the device being bound to the associated terminal, the device and the associated terminal being capable of communicating over a network, for example: communication is performed through a data network or a WLAN (english: Wireless Local Area Networks, chinese: Wireless Local Area Networks). The associated terminal may be, for example, a smartphone, a tablet computer, a smart television, a smart watch, a PDA (english: Personal Digital Assistant), a portable computer, or a fixed terminal such as a desktop computer, and the device may be any intelligent device that is bound to the associated terminal and can set an alarm clock, for example: smart speakers, robots, smart bracelets, and the like.
Fig. 1 is a flowchart illustrating an alarm clock processing method according to an exemplary embodiment, which is applied to a device, as shown in fig. 1, and includes the following steps.
In step 101, according to a received setting instruction, sending query information to an associated terminal bound to a device, where the setting instruction is used to set a first alarm clock, and the query information includes a ringing time of the first alarm clock.
For example, when the user needs to set an alarm clock on the device, a setting instruction for setting a first alarm clock may be issued by the device, for example: the user can carry out preset operation (clicking, long pressing and other operations) on the alarm clock setting interface on the display screen of the equipment to issue a setting instruction, and can also send the setting instruction to the equipment in a voice interaction mode (sending out the voice of setting 7 o' clock in the morning), wherein the setting instruction can comprise the ringing time of the first alarm clock, and can also comprise the name of the first alarm clock, the ringing duration of the first alarm clock, the ring of the first alarm clock and other information. And after receiving the setting instruction, the equipment sends query information to the associated terminal bound with the equipment according to the setting instruction, wherein the query information comprises the ringing time of the first alarm clock. The binding between the device and the associated terminal may be implemented by a binding manner with an account of the user, for example, the user may log in the same account of the specified application program on the associated terminal and the device, respectively, or may be implemented by a binding manner with a WLAN network, for example, the user may connect the associated terminal and the device to the same WLAN network.
In step 102, receiving confirmation information sent by the associated terminal, where the confirmation information is used to indicate whether an associated alarm clock is set on the associated terminal, and the ringing time of the associated alarm clock and the ringing time of the first alarm clock satisfy a preset time relationship.
For example, after receiving the query information sent in step 101, the association terminal determines whether an association alarm clock is set, sends, to the device, confirmation information that can indicate whether the association alarm clock is set on the association terminal, and the device receives the confirmation information sent by the association terminal. And the ringing time of the associated alarm clock and the ringing time of the first alarm clock meet a preset time relationship. It can be understood that, when the alarm clock set on the associated terminal is close to the ringing time corresponding to the first alarm clock, that is, the associated alarm clock, for example, the ringing time difference between the first alarm clock and the associated alarm clock is smaller than the preset threshold value, it indicates that the first alarm clock and the associated alarm clock can ring within the same time interval, and the user needs to continuously turn off the alarm clock twice, thereby reducing the user experience.
In step 103, when the confirmation information indicates that the associated alarm clock is set on the associated terminal, a prompt message is sent, and the prompt message is used for prompting the user whether to turn off the associated alarm clock.
For example, when the confirmation information indicates that the associated alarm clock is set on the associated terminal, the device sends out prompt information to inform the user whether the associated alarm clock close to the first alarm clock is set on the associated terminal and whether the associated alarm clock on the associated terminal needs to be turned off.
In step 104, the received control instruction is sent to the associated terminal, and the control instruction is used for instructing the associated terminal to control the associated alarm clock.
For example, after the user receives the prompt information in step 103, a control instruction for instructing the associated terminal to control the associated alarm clock may be issued by the device, for example: the user can perform preset operation (clicking, long-pressing and other operations) in an area for prompting information display on a display screen of the equipment to issue a control instruction, and can also issue the control instruction to the equipment in a voice interaction mode (issuing voice of closing an alarm clock, reserving the alarm clock and the like), wherein the control instruction can be to close an associated alarm clock or reserve the associated alarm clock. After the equipment receives the control instruction, the control instruction is sent to the associated terminal, so that the associated terminal can control the associated alarm clock according to the control instruction, and the effect of synchronously controlling the alarm clocks on the equipment and the associated terminal is achieved.
In summary, according to the present disclosure, when a user sends a setting instruction for setting a first alarm clock, a device sends, according to the received setting instruction, query information including a ring time corresponding to the first alarm clock to an associated terminal bound to the device. And the associated terminal sends confirmation information capable of indicating whether the associated alarm clock is arranged on the associated terminal or not to the equipment after receiving the query information, wherein the ringing time of the associated alarm clock and the ringing time of the first alarm clock meet a preset time relationship. The equipment receives the confirmation information, sends prompt information to prompt whether the user closes the associated alarm clock or not when the confirmation information indicates that the associated alarm clock is set on the associated terminal, and then sends a control instruction sent by the user to the associated terminal so that the associated terminal controls the associated alarm clock after receiving the control instruction. The alarm clock on the equipment and the alarm clock on the terminal can be associated, and the alarm clocks on the equipment and the terminal are synchronously controlled according to the actual requirements of the user, so that the operation of setting the alarm clocks is simplified, and the user experience is improved.
FIG. 2 is a flow chart illustrating another alarm clock processing method according to an exemplary embodiment, and as shown in FIG. 2, step 101 may be implemented by:
in step 1011, the first alarm clock is set according to the setting instruction so that the device rings at the time indicated by the ring time of the first alarm clock.
In step 1012, query information is sent to the associated terminal according to the ringing time of the first alarm clock.
For example, after receiving the setting instruction, the device sets the first alarm clock according to the setting instruction, where the setting instruction may include the ringing time of the first alarm clock, and may further include information such as the name of the first alarm clock, the ringing duration of the first alarm clock, and the ring of the first alarm clock, so that the device rings at the time indicated by the ringing time of the first alarm clock according to the ring, and continuously rings within the ringing duration. And sending the query information including the ringing time of the first alarm clock to the associated terminal.
Optionally, the time relationship includes: and the time difference between the ringing time of the associated alarm clock and the ringing time of the first alarm clock is less than or equal to a preset time threshold value.
For example, the time may be divided into a plurality of time zones, for example, each hour of 24 hours of a day may be divided into one time zone (i.e. 24 time zones), or the time zones may be divided according to the frequency set by the alarm clock (for example, between 6 and 8 am, each 20 minutes is divided into one time zone, and in other time periods, each two hours is divided into one time zone). The preset time relationship may be that the ringing times corresponding to the associated alarm clock and the first alarm clock are in the same time zone. A time threshold (e.g., 30 minutes) may also be set, the time difference between the alarm time of the associated alarm clock and the alarm time of the first alarm clock being less than or equal to the time threshold.
Optionally, the control instruction includes: any one of a close command, an open command, and a command to be confirmed. And the closing instruction is used for indicating the associated terminal to close the associated alarm clock. And the opening instruction is used for indicating the associated terminal to open the associated alarm clock. And the instruction to be confirmed is used for indicating the associated terminal to confirm whether the associated alarm clock is closed or not.
For example, the control instruction may include a close instruction, an open instruction, and an instruction to be confirmed, where the close instruction is used to instruct the associated terminal to close the associated alarm clock. And the opening instruction is used for indicating the associated terminal to open the associated alarm clock, namely, reserving the associated alarm clock set on the associated terminal. The instruction to be confirmed is used for indicating the associated terminal to confirm whether to turn off the associated alarm clock, that is, the user does not want to decide whether to turn off the associated alarm clock at present, so that the associated terminal can confirm again before the associated alarm clock rings, so as to determine whether the associated alarm clock needs to ring.
FIG. 3 is a flow chart illustrating another alarm clock processing method according to an exemplary embodiment, as shown in FIG. 3, the method further comprising:
in step 105, before the ringing time of the first alarm clock is reached, sending confirmation information to the associated terminal, where the confirmation information is used to prompt the associated terminal that the first alarm clock on the device will ring, so that the associated terminal controls the associated alarm clock according to the control instruction.
For example, as time goes by, or positions of the device and the associated terminal change, a user's demand for an alarm clock may change, so to meet the user's demand more accurately, the device sends a confirmation message to the associated terminal within a period of time before the first alarm clock rings (for example, 20 minutes ahead), that is, within a period of time before the ring time of the first alarm clock is reached, so as to prompt the associated terminal whether the first alarm clock on the device will ring or not, and the associated alarm clock needs to be turned off. The confirmation information may include the ringing time of the first alarm clock, and may further include information such as the name of the first alarm clock, the ringing duration of the first alarm clock, and the ring of the first alarm clock. After receiving the confirmation information, the association terminal may control the association alarm clock according to the control instruction sent to the association terminal by the device in step 104, that is, after receiving the control instruction, the association terminal does not take effect immediately, but takes effect again after receiving the confirmation information. The user can also select to turn off the associated alarm clock or turn on the associated alarm clock according to the actual requirement.
In summary, according to the present disclosure, when a user sends a setting instruction for setting a first alarm clock, a device sends, according to the received setting instruction, query information including a ring time corresponding to the first alarm clock to an associated terminal bound to the device. And the associated terminal sends confirmation information capable of indicating whether the associated alarm clock is arranged on the associated terminal or not to the equipment after receiving the query information, wherein the ringing time of the associated alarm clock and the ringing time of the first alarm clock meet a preset time relationship. The equipment receives the confirmation information, sends prompt information to prompt whether the user closes the associated alarm clock or not when the confirmation information indicates that the associated alarm clock is set on the associated terminal, and then sends a control instruction sent by the user to the associated terminal so that the associated terminal controls the associated alarm clock after receiving the control instruction. The alarm clock on the equipment and the alarm clock on the terminal can be associated, and the alarm clocks on the equipment and the terminal are synchronously controlled according to the actual requirements of the user, so that the operation of setting the alarm clocks is simplified, and the user experience is improved.
Fig. 4 is a block diagram illustrating an alarm clock processing apparatus according to an exemplary embodiment, and as shown in fig. 4, the apparatus 200 is applied to a device including:
the query module 201 is configured to send query information to the associated terminal bound to the device according to the received setting instruction, where the setting instruction is used to set a first alarm clock, and the query information includes a ringing time of the first alarm clock.
The receiving module 202 is configured to receive confirmation information sent by the associated terminal, where the confirmation information is used to indicate whether an associated alarm clock is set on the associated terminal, and the ringing time of the associated alarm clock and the ringing time of the first alarm clock meet a preset time relationship.
And the prompting module 203 is configured to send out prompting information when the confirmation information indicates that the associated alarm clock is set on the associated terminal, wherein the prompting information is used for prompting the user whether to turn off the associated alarm clock.
And the sending module 204 is configured to send the received control instruction to the associated terminal, where the control instruction is used for instructing the associated terminal to control the associated alarm clock.
Fig. 5 is a block diagram illustrating another alarm clock processing apparatus according to an exemplary embodiment, and as shown in fig. 5, the query module 201 includes:
the setting sub-module 2011 is configured to set the first alarm clock according to the setting instruction so that the device rings at the time indicated by the ring time of the first alarm clock.
The query submodule 2012 is configured to send query information to the associated terminal according to the ring time of the first alarm clock.
Optionally, the time relationship includes: and the time difference between the ringing time of the associated alarm clock and the ringing time of the first alarm clock is less than or equal to a preset time threshold value.
Optionally, the control instruction includes: any one of a close command, an open command, and a command to be confirmed. And the closing instruction is used for indicating the associated terminal to close the associated alarm clock. And the opening instruction is used for indicating the associated terminal to open the associated alarm clock. And the instruction to be confirmed is used for indicating the associated terminal to confirm whether the associated alarm clock is closed or not.
Fig. 6 is a block diagram illustrating another alarm clock processing apparatus according to an exemplary embodiment, and as shown in fig. 6, the apparatus 200 includes:
and the confirming module 205 is configured to send confirmation information to the associated terminal before the ringing time of the first alarm clock is reached, wherein the confirmation information is used for prompting the associated terminal that the first alarm clock on the device will ring, so that the associated terminal controls the associated alarm clock according to the control instruction.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In summary, according to the present disclosure, when a user sends a setting instruction for setting a first alarm clock, a device sends, according to the received setting instruction, query information including a ring time corresponding to the first alarm clock to an associated terminal bound to the device. And the associated terminal sends confirmation information capable of indicating whether the associated alarm clock is arranged on the associated terminal or not to the equipment after receiving the query information, wherein the ringing time of the associated alarm clock and the ringing time of the first alarm clock meet a preset time relationship. The equipment receives the confirmation information, sends prompt information to prompt whether the user closes the associated alarm clock or not when the confirmation information indicates that the associated alarm clock is set on the associated terminal, and then sends a control instruction sent by the user to the associated terminal so that the associated terminal controls the associated alarm clock after receiving the control instruction. The alarm clock on the equipment and the alarm clock on the terminal can be associated, and the alarm clocks on the equipment and the terminal are synchronously controlled according to the actual requirements of the user, so that the operation of setting the alarm clocks is simplified, and the user experience is improved.
FIG. 7 is a block diagram illustrating an alarm clock processing apparatus 300 according to an exemplary embodiment. For example, the apparatus 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the apparatus 300 may include one or more of the following components: a processing component 302, a memory 304, a power component 306, a multimedia component 308, an audio component 310, an input/output (I/O) interface 312, a sensor component 314, and a communication component 316.
The processing component 302 generally controls overall operation of the device 300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to perform all or a portion of the steps of the alarm clock processing method described above. Further, the processing component 302 can include one or more modules that facilitate interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate interaction between the multimedia component 308 and the processing component 302.
The memory 304 is configured to store various types of data to support operations at the apparatus 300. Examples of such data include instructions for any application or method operating on device 300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 304 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 306 provide power to the various components of device 300. The power components 306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 300.
The multimedia component 308 includes a screen that provides an output interface between the device 300 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 300 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 310 is configured to output and/or input audio signals. For example, audio component 310 includes a Microphone (MIC) configured to receive external audio signals when apparatus 300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 304 or transmitted via the communication component 316. In some embodiments, audio component 310 also includes a speaker for outputting audio signals.
The I/O interface 312 provides an interface between the processing component 302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the device 300. For example, sensor assembly 314 may detect an open/closed state of device 300, the relative positioning of components, such as a display and keypad of device 300, the change in position of device 300 or a component of device 300, the presence or absence of user contact with device 300, the orientation or acceleration/deceleration of device 300, and the change in temperature of device 300. Sensor assembly 314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 316 is configured to facilitate wired or wireless communication between the apparatus 300 and other devices. The device 300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 300 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 Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the alarm clock processing methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 304 comprising instructions, executable by the processor 320 of the device 300 to perform the alarm clock processing method described above is also provided. For example, 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, an optical data storage device, and the like.
In summary, according to the present disclosure, when a user sends a setting instruction for setting a first alarm clock, a device sends, according to the received setting instruction, query information including a ring time corresponding to the first alarm clock to an associated terminal bound to the device. And the associated terminal sends confirmation information capable of indicating whether the associated alarm clock is arranged on the associated terminal or not to the equipment after receiving the query information, wherein the ringing time of the associated alarm clock and the ringing time of the first alarm clock meet a preset time relationship. The equipment receives the confirmation information, sends prompt information to prompt whether the user closes the associated alarm clock or not when the confirmation information indicates that the associated alarm clock is set on the associated terminal, and then sends a control instruction sent by the user to the associated terminal so that the associated terminal controls the associated alarm clock after receiving the control instruction. The alarm clock on the equipment and the alarm clock on the terminal can be associated, and the alarm clocks on the equipment and the terminal are synchronously controlled according to the actual requirements of the user, so that the operation of setting the alarm clocks is simplified, and the user experience is improved.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. An alarm clock processing method is applied to equipment, and the method comprises the following steps:
sending query information to an associated terminal bound with the equipment according to a received setting instruction, wherein the setting instruction is used for setting a first alarm clock, and the query information comprises the ringing time of the first alarm clock;
receiving confirmation information sent by the associated terminal, wherein the confirmation information is used for indicating whether an associated alarm clock is arranged on the associated terminal, and the ringing time of the associated alarm clock and the ringing time of the first alarm clock meet a preset time relationship;
when the confirmation information indicates that the associated alarm clock is arranged on the associated terminal, sending prompt information, wherein the prompt information is used for prompting a user whether to turn off the associated alarm clock;
and sending the received control instruction to the associated terminal, wherein the control instruction is used for indicating the associated terminal to control the associated alarm clock.
2. The method of claim 1, wherein the sending query information to the associated terminal bound to the device according to the received setting instruction comprises:
setting the first alarm clock according to the setting instruction so that the equipment can ring at the time indicated by the ring time of the first alarm clock;
and sending the query information to the associated terminal according to the ringing time of the first alarm clock.
3. The method of claim 1, wherein the temporal relationship comprises: and the time difference between the ringing time of the associated alarm clock and the ringing time of the first alarm clock is less than or equal to a preset time threshold.
4. The method of claim 1, wherein the control instructions comprise: any one of a close instruction, an open instruction, and an instruction to be confirmed;
the closing instruction is used for indicating the associated terminal to close the associated alarm clock;
the opening instruction is used for indicating the associated terminal to open the associated alarm clock;
and the instruction to be confirmed is used for indicating the association terminal to confirm whether to close the association alarm clock.
5. The method according to any one of claims 1-4, further comprising:
and sending confirmation information to the associated terminal before the ringing time of the first alarm clock is reached, wherein the confirmation information is used for prompting the associated terminal, and the first alarm clock on the equipment rings, so that the associated terminal can control the associated alarm clock according to the control instruction.
6. An alarm clock processing apparatus, applied to a device, the apparatus comprising:
the query module is configured to send query information to an associated terminal bound with the equipment according to a received setting instruction, wherein the setting instruction is used for setting a first alarm clock, and the query information comprises the ringing time of the first alarm clock;
the receiving module is configured to receive confirmation information sent by the association terminal, wherein the confirmation information is used for indicating whether an association alarm clock is arranged on the association terminal, and the ringing time of the association alarm clock and the ringing time of the first alarm clock meet a preset time relationship;
the prompting module is configured to send out prompting information when the confirmation information indicates that the associated alarm clock is arranged on the associated terminal, wherein the prompting information is used for prompting a user whether to turn off the associated alarm clock;
and the sending module is configured to send the received control instruction to the associated terminal, wherein the control instruction is used for indicating the associated terminal to control the associated alarm clock.
7. The apparatus of claim 6, wherein the query module comprises:
a setting submodule configured to set the first alarm clock according to the setting instruction so that the device rings at a time indicated by a ring time of the first alarm clock;
and the query submodule is configured to send the query information to the associated terminal according to the ringing time of the first alarm clock.
8. The apparatus of claim 6, wherein the temporal relationship comprises: and the time difference between the ringing time of the associated alarm clock and the ringing time of the first alarm clock is less than or equal to a preset time threshold.
9. The apparatus of claim 6, wherein the control instructions comprise: any one of a close instruction, an open instruction, and an instruction to be confirmed;
the closing instruction is used for indicating the associated terminal to close the associated alarm clock;
the opening instruction is used for indicating the associated terminal to open the associated alarm clock;
and the instruction to be confirmed is used for indicating the association terminal to confirm whether to close the association alarm clock.
10. The apparatus according to any one of claims 6-9, further comprising:
a confirmation module configured to send confirmation information to the associated terminal before the ringing time of the first alarm clock is reached, where the confirmation information is used to prompt the associated terminal that the first alarm clock on the device will ring, so that the associated terminal controls the associated alarm clock according to the control instruction.
11. An alarm clock processing device is characterized by being applied to equipment and comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
sending query information to an associated terminal bound with the equipment according to a received setting instruction, wherein the setting instruction is used for setting a first alarm clock, and the query information comprises the ringing time of the first alarm clock;
receiving confirmation information sent by the associated terminal, wherein the confirmation information is used for indicating whether an associated alarm clock is arranged on the associated terminal, and the ringing time of the associated alarm clock and the ringing time of the first alarm clock meet a preset time relationship;
when the confirmation information indicates that the associated alarm clock is arranged on the associated terminal, sending prompt information, wherein the prompt information is used for prompting a user whether to turn off the associated alarm clock;
and sending the received control instruction to the associated terminal, wherein the control instruction is used for indicating the associated terminal to control the associated alarm clock.
12. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 5.
CN201811377994.3A 2018-11-19 2018-11-19 Alarm clock processing method, device and storage medium Active CN109474744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811377994.3A CN109474744B (en) 2018-11-19 2018-11-19 Alarm clock processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811377994.3A CN109474744B (en) 2018-11-19 2018-11-19 Alarm clock processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN109474744A CN109474744A (en) 2019-03-15
CN109474744B true CN109474744B (en) 2020-11-10

Family

ID=65673106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811377994.3A Active CN109474744B (en) 2018-11-19 2018-11-19 Alarm clock processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN109474744B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602259A (en) * 2019-10-18 2019-12-20 北京小米移动软件有限公司 Alarm clock operation method, alarm clock operation device and electronic device
CN113489837B (en) * 2021-06-23 2022-07-19 中国联合网络通信集团有限公司 Alarm clock working method and system, mobile terminal, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634468A (en) * 2013-11-26 2014-03-12 小米科技有限责任公司 Method, device and terminal equipment for processing alarm clock
CN105516465A (en) * 2015-11-26 2016-04-20 小米科技有限责任公司 Methods, apparatuses and system for cancelling reminding event
CN107508962A (en) * 2017-07-04 2017-12-22 深圳天珑无线科技有限公司 Realize based reminding method, system, terminal and the storage medium of do-not-disturb functionality

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634468A (en) * 2013-11-26 2014-03-12 小米科技有限责任公司 Method, device and terminal equipment for processing alarm clock
CN105516465A (en) * 2015-11-26 2016-04-20 小米科技有限责任公司 Methods, apparatuses and system for cancelling reminding event
CN107508962A (en) * 2017-07-04 2017-12-22 深圳天珑无线科技有限公司 Realize based reminding method, system, terminal and the storage medium of do-not-disturb functionality

Also Published As

Publication number Publication date
CN109474744A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
EP3188066B1 (en) A method and an apparatus for managing an application
US11469962B2 (en) Method and apparatus for configuring information of indicating time-frequency position of SSB, and method and apparatus for determining time-frequency position of SSB
EP3089402B1 (en) Method and apparatus for grouping smart device in smart home system
CN110995929B (en) Terminal control method, device, terminal and storage medium
EP3136793B1 (en) Method and apparatus for awakening electronic device
CN107872576B (en) Alarm clock reminding method and device and computer readable storage medium
CN107102772B (en) Touch control method and device
CN107635074B (en) Method, apparatus and computer-readable storage medium for controlling alarm
EP3024211B1 (en) Method and device for announcing voice call
EP3322227B1 (en) Methods and apparatuses for controlling wireless connection, computer program and recording medium
US20220256497A1 (en) Methods and apparatuses for receiving paging signaling, and methods and apparatuses for transmitting paging signaling
CN111540350B (en) Control method, device and storage medium of intelligent voice control equipment
CN109862169B (en) Electronic equipment control method, device and storage medium
CN109474744B (en) Alarm clock processing method, device and storage medium
CN109522058B (en) Wake-up method, device, terminal and storage medium
CN112217987B (en) Shooting control method and device and storage medium
CN106933111B (en) Method and device for controlling equipment
CN105227426B (en) Application interface switching method and device and terminal equipment
CN106919302B (en) Operation control method and device of mobile terminal
JP2017534134A (en) Application installation method, apparatus, smart device, program, and recording medium
CN112817665A (en) Equipment interaction method and device and storage medium
CN106899369B (en) Method and device for reserved playing of intelligent radio
CN111246012B (en) Application interface display method and device and storage medium
CN109417463B (en) Method and device for determining PUCCH needing transmission
CN106170038B (en) Recording method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant