CN104880968B - Alarm clock control method and device - Google Patents
Alarm clock control method and device Download PDFInfo
- Publication number
- CN104880968B CN104880968B CN201510204695.XA CN201510204695A CN104880968B CN 104880968 B CN104880968 B CN 104880968B CN 201510204695 A CN201510204695 A CN 201510204695A CN 104880968 B CN104880968 B CN 104880968B
- Authority
- CN
- China
- Prior art keywords
- alarm clock
- controlled terminal
- ringing
- preset time
- ringing operation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Electric Clocks (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域technical field
本发明涉及电子技术领域,具体涉及一种闹钟的控制方法及设备。The invention relates to the field of electronic technology, in particular to an alarm clock control method and equipment.
背景技术Background technique
随着电子技术的快速发展,越来越多的设备上设置有闹钟功能。例如,由于智能音箱具有音质出众以及音量调节范围大等优点,智能音箱上设置有闹钟功能。当智能音箱的闹钟铃声响起时,用户需通过智能音箱上的物理按键关闭闹钟,但是,当用户与智能音箱未在同一地方时,用户需首先来到智能音箱所在的地方,然后再通过智能音箱上的物理按键关闭闹钟,这使得用户无法及时的关闭智能音箱的闹钟。With the rapid development of electronic technology, more and more devices are provided with an alarm clock function. For example, because the smart speaker has the advantages of superior sound quality and a large volume adjustment range, the smart speaker is provided with an alarm clock function. When the alarm clock of the smart speaker rings, the user needs to turn off the alarm clock through the physical button on the smart speaker. The physical button on the phone turns off the alarm clock, which makes it impossible for the user to turn off the alarm clock of the smart speaker in time.
发明内容Contents of the invention
本发明实施例公开了一种闹钟的控制方法及设备,能够使用户及时的关闭受控终端的闹钟。The embodiment of the invention discloses an alarm clock control method and equipment, which can enable a user to turn off the alarm clock of a controlled terminal in time.
本发明实施例第一方面公开了一种闹钟的控制方法,包括:The first aspect of the embodiment of the present invention discloses a method for controlling an alarm clock, including:
检测受控终端的当前系统时间是否等于预设时间;Detect whether the current system time of the controlled terminal is equal to the preset time;
当所述当前系统时间等于所述预设时间时,控制所述受控终端的闹钟执行响铃操作;When the current system time is equal to the preset time, control the alarm clock of the controlled terminal to perform a ringing operation;
在所述受控终端的闹钟执行响铃操作的过程中,向用户设备发送提示信息,所述提示信息用于提示所述受控终端处于闹钟响铃状态;When the alarm clock of the controlled terminal is performing a ringing operation, sending prompt information to the user equipment, where the prompt information is used to prompt that the controlled terminal is in an alarm clock ringing state;
接收所述用户设备发送的闹钟关闭指令;receiving an alarm clock off instruction sent by the user equipment;
响应所述闹钟关闭指令,控制所述受控终端的闹钟停止执行响铃操作。In response to the instruction to turn off the alarm clock, the alarm clock of the controlled terminal is controlled to stop performing the ringing operation.
在本发明实施例第一方面的第一种可能的实现方式中,在所述受控终端的闹钟执行响铃操作的过程中,所述向用户设备发送提示信息,包括:In a first possible implementation manner of the first aspect of the embodiments of the present invention, during the process of ringing the alarm clock of the controlled terminal, the sending prompt information to the user equipment includes:
判断所述受控终端的闹钟执行响铃操作的持续时间是否大于等于预设时间阈值;Judging whether the duration of the ringing operation of the alarm clock of the controlled terminal is greater than or equal to a preset time threshold;
当所述持续时间大于等于所述预设时间阈值时,生成提示信息,并将所述提示信息发送至用户设备。When the duration is greater than or equal to the preset time threshold, generating prompt information and sending the prompt information to the user equipment.
结合本发明实施例第一方面或本发明实施例第一方面的第一种可能的实现方式,在本发明实施例第一方面的第二种可能的实现方式中,所述检测受控终端的当前系统时间是否等于预设时间之前,所述方法还包括:With reference to the first aspect of the embodiments of the present invention or the first possible implementation of the first aspect of the embodiments of the present invention, in the second possible implementation of the first aspect of the embodiments of the present invention, the detection of the controlled terminal Whether the current system time is equal to the preset time, the method also includes:
接收用户输入的或用户设备发送的闹钟开启指令,所述闹钟开启指令包括预设时间;receiving an alarm clock activation instruction input by the user or sent by the user equipment, where the alarm clock activation instruction includes a preset time;
响应所述闹钟开启指令,开启所述受控终端的闹钟功能,以使在检测到所述受控终端的当前系统时间等于所述预设时间时控制所述受控终端的闹钟执行响铃操作。In response to the alarm clock activation instruction, enable the alarm clock function of the controlled terminal, so that when it is detected that the current system time of the controlled terminal is equal to the preset time, the alarm clock of the controlled terminal is controlled to perform a ringing operation .
结合本发明实施例第一方面的第二种可能的实现方式,在本发明实施例第一方面的第三种可能的实现方式中,当所述当前系统时间等于所述预设时间时,所述控制所述受控终端的闹钟执行响铃操作之前,所述方法还包括:With reference to the second possible implementation manner of the first aspect of the embodiments of the present invention, in the third possible implementation manner of the first aspect of the embodiments of the present invention, when the current system time is equal to the preset time, the Before controlling the alarm clock of the controlled terminal to perform the ringing operation, the method further includes:
检测所述受控终端的其它应用是否正在执行响铃操作;Detecting whether other applications of the controlled terminal are performing a ringing operation;
当所述其它应用正在执行响铃操作时,控制所述受控终端的其它应用暂停执行响铃操作。When the other application is performing the ringing operation, the other application controlling the controlled terminal suspends performing the ringing operation.
结合本发明实施例第一方面的第三种可能的实现方式,在本发明实施例第一方面的第四种可能的实现方式中,所述响应所述闹钟关闭指令,控制所述受控终端的闹钟停止执行响铃操作之后,所述方法还包括:With reference to the third possible implementation manner of the first aspect of the embodiments of the present invention, in the fourth possible implementation manner of the first aspect of the embodiments of the present invention, in response to the alarm clock off instruction, controlling the controlled terminal After the alarm clock stops performing the ringing operation, the method also includes:
控制所述受控终端的其它应用恢复执行响铃操作。Other applications controlling the controlled terminal resume performing the ringing operation.
本发明实施例第二方面公开了一种闹钟的控制方法,包括:The second aspect of the embodiment of the present invention discloses a method for controlling an alarm clock, including:
接收受控终端在所述受控终端的闹钟执行响铃操作的过程中发送的提示信息,并输出所述提示信息,所述提示信息用于提示所述受控终端处于闹钟响铃状态;receiving prompt information sent by the controlled terminal during the alarm clock of the controlled terminal performing a ringing operation, and outputting the prompt information, the prompt information being used to prompt that the controlled terminal is in an alarm clock ringing state;
接收用户输入的闹钟关闭指令,并将所述闹钟关闭指令发送至所述受控终端,以控制所述受控终端的闹钟停止执行响铃操作。An alarm clock off instruction input by a user is received, and the alarm clock off instruction is sent to the controlled terminal, so as to control the alarm clock of the controlled terminal to stop performing the ringing operation.
在本发明实施例第二方面的第一种可能的实现方式中,所述接收受控终端在所述受控终端的闹钟执行响铃操作的过程中发送的提示信息之前,所述方法还包括:In the first possible implementation manner of the second aspect of the embodiment of the present invention, before receiving the prompt information sent by the controlled terminal when the alarm clock of the controlled terminal is performing a ringing operation, the method further includes :
接收用户输入的针对受控终端的、包括预设时间的闹钟开启指令;receiving an alarm clock activation instruction input by the user for the controlled terminal, including a preset time;
将所述闹钟开启指令发送至所述受控终端,以使所述受控终端响应所述闹钟开启指令开启所述受控终端的闹钟功能并在检测到所述受控终端的当前系统时间等于所述预设时间时控制所述受控终端的闹钟执行响铃操作。Sending the alarm clock activation instruction to the controlled terminal, so that the controlled terminal responds to the alarm clock activation instruction to enable the alarm clock function of the controlled terminal and detects that the current system time of the controlled terminal is equal to The alarm clock of the controlled terminal is controlled to perform a ringing operation at the preset time.
本发明实施例第三方面公开了一种闹钟的控制设备,所述设备包括检测模块、控制模块、输出模块以及输入模块,其中:The third aspect of the embodiment of the present invention discloses an alarm clock control device, the device includes a detection module, a control module, an output module and an input module, wherein:
所述检测模块,用于检测受控终端的当前系统时间是否等于预设时间;The detection module is used to detect whether the current system time of the controlled terminal is equal to the preset time;
所述控制模块,用于当所述当前系统时间等于所述预设时间时,控制所述受控终端的闹钟执行响铃操作;The control module is configured to control the alarm clock of the controlled terminal to ring when the current system time is equal to the preset time;
所述输出模块,用于在所述受控终端的闹钟执行响铃操作的过程中,向用户设备发送提示信息,所述提示信息用于提示所述受控终端处于闹钟响铃状态;The output module is configured to send prompt information to the user equipment during the alarm clock ringing operation of the controlled terminal, where the prompt information is used to prompt that the controlled terminal is in an alarm clock ringing state;
所述输入模块,用于接收所述用户设备发送的闹钟关闭指令;The input module is configured to receive an alarm clock off instruction sent by the user equipment;
所述控制模块,还用于响应所述闹钟关闭指令,控制所述受控终端的闹钟停止执行响铃操作。The control module is further configured to control the alarm clock of the controlled terminal to stop ringing in response to the alarm clock off instruction.
在本发明实施例第三方面的第一种可能的实现方式中,所述输出模块包括判断子模块、生成子模块以及输出子模块,其中:In a first possible implementation of the third aspect of the embodiment of the present invention, the output module includes a judgment submodule, a generation submodule, and an output submodule, wherein:
所述判断子模块,用于判断所述受控终端的闹钟执行响铃操作的持续时间是否大于等于预设时间阈值;The judging submodule is used to judge whether the duration of the ringing operation of the alarm clock of the controlled terminal is greater than or equal to a preset time threshold;
所述生成子模块,用于当所述判断子模块的判断结果为是时,生成所述提示信息;The generation submodule is used to generate the prompt information when the determination result of the determination submodule is yes;
所述输出子模块,用于将所述提示信息发送至所述用户设备。The output submodule is configured to send the prompt information to the user equipment.
结合本发明实施例第三方面或本发明实施例第三方面的第一种可能的实现方式,在本发明实施例第三方面的第二种可能的实现方式中,所述输入模块,还用于接收用户输入的或所述用户设备发送的闹钟开启指令,所述闹钟开启指令包括所述预设时间;In combination with the third aspect of the embodiments of the present invention or the first possible implementation of the third aspect of the embodiments of the present invention, in the second possible implementation of the third aspect of the embodiments of the present invention, the input module also uses receiving an alarm clock activation instruction input by the user or sent by the user equipment, the alarm clock activation instruction including the preset time;
所述设备还包括开启模块,其中:The device also includes an opening module, wherein:
所述开启模块,用于响应所述闹钟开启指令,开启所述受控终端的闹钟功能,以在所述检测模块检测到所述受控终端的当前系统时间等于所述预设时间时使所述控制模块控制所述受控终端的闹钟执行响铃操作。The opening module is configured to respond to the alarm clock opening instruction and open the alarm clock function of the controlled terminal, so that when the detection module detects that the current system time of the controlled terminal is equal to the preset time, the The control module controls the alarm clock of the controlled terminal to perform ringing operation.
结合本发明实施例第三方面的第二种可能的实现方式,在本发明实施例第三方面的第三种可能的实现方式中,所述检测模块,还用于检测所述受控终端的其它应用是否正在执行响铃操作;With reference to the second possible implementation of the third aspect of the embodiments of the present invention, in the third possible implementation of the third aspect of the embodiments of the present invention, the detection module is further configured to detect Whether other applications are performing ringing operations;
所述控制模块,还用于当所述检测模块检测到所述其它应用正在执行响铃操作时,控制所述受控终端的其它应用暂停执行响铃操作。The control module is further configured to control other applications of the controlled terminal to suspend execution of the ringing operation when the detection module detects that the other applications are performing the ringing operation.
结合本发明实施例第三方面的第三种可能的实现方式,在本发明实施例第三方面的第四种可能的实现方式中,所述控制模块,还用于控制所述受控终端的其它应用恢复执行响铃操作。With reference to the third possible implementation manner of the third aspect of the embodiments of the present invention, in a fourth possible implementation manner of the third aspect of the embodiments of the present invention, the control module is further configured to control the Other applications resume performing the ringing action.
本发明实施例第四方面公开了一种闹钟的控制设备,所述设备包括第一通信模块以及第二通信模块,其中:The fourth aspect of the embodiment of the present invention discloses an alarm clock control device, the device includes a first communication module and a second communication module, wherein:
所述第一通信模块,用于接收受控终端在所述受控终端的闹钟执行响铃操作的过程中发送的提示信息,所述提示信息用于提示所述受控终端处于闹钟响铃状态;The first communication module is configured to receive prompt information sent by the controlled terminal when the alarm clock of the controlled terminal is ringing, the prompt information is used to prompt that the controlled terminal is in the alarm clock ringing state ;
所述第二通信模块,用于输出所述提示信息,并接收用户输入的闹钟关闭指令;The second communication module is configured to output the prompt information and receive an alarm clock closing instruction input by the user;
所述第一通信模块,还用于将所述闹钟关闭指令发送至所述受控终端,以控制所述受控终端的闹钟停止执行响铃操作。The first communication module is further configured to send the alarm clock off instruction to the controlled terminal, so as to control the alarm clock of the controlled terminal to stop performing the ringing operation.
在本发明实施例第四方面的第一种可能的实现方式中,所述第二通信模块,还用于接收用户输入的针对所述受控终端的、包括预设时间的闹钟开启指令;In a first possible implementation manner of the fourth aspect of the embodiments of the present invention, the second communication module is further configured to receive an alarm clock activation instruction input by a user for the controlled terminal, including a preset time;
所述第一通信模块,还用于将所述闹钟开启指令发送至所述受控终端,以使所述受控终端响应所述闹钟开启指令开启所述受控终端的闹钟功能并在检测到所述受控终端的当前系统时间等于所述预设时间时控制所述受控终端的闹钟执行响铃操作。The first communication module is further configured to send the alarm clock activation instruction to the controlled terminal, so that the controlled terminal responds to the alarm clock activation instruction to enable the alarm clock function of the controlled terminal and detects When the current system time of the controlled terminal is equal to the preset time, the alarm clock of the controlled terminal is controlled to perform a ringing operation.
本发明实施例中,当检测到受控终端的当前系统时间等于预设时间时,控制受控终端的闹钟执行响铃操作并在受控终端的闹钟执行响铃操作的过程中向用户设备发送提示信息,其中,该提示信息用于提示受控终端处于闹钟响铃状态,接收用户设备发送的闹钟关闭指令,响应该闹钟关闭指令控制受控终端的闹钟停止执行响铃操作。可见,实施本发明实施例能够使用户及时的关闭受控终端的闹钟,操作简单,且提高了用户的使用体验。In the embodiment of the present invention, when it is detected that the current system time of the controlled terminal is equal to the preset time, the alarm clock of the controlled terminal is controlled to perform the ringing operation and sends a message to the user equipment during the alarm clock of the controlled terminal performing the ringing operation. Prompt information, wherein the prompt information is used to prompt that the controlled terminal is in the alarm clock ringing state, receive the alarm clock off instruction sent by the user equipment, and control the alarm clock of the controlled terminal to stop performing the ringing operation in response to the alarm clock off instruction. It can be seen that the implementation of the embodiment of the present invention enables the user to turn off the alarm clock of the controlled terminal in time, the operation is simple, and the use experience of the user is improved.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1是本发明实施例公开的一种闹钟的控制方法的流程示意图;Fig. 1 is a schematic flow chart of an alarm clock control method disclosed in an embodiment of the present invention;
图2是本发明实施例公开的另一种闹钟的控制方法的流程示意图;Fig. 2 is a schematic flowchart of another alarm clock control method disclosed in an embodiment of the present invention;
图3是本发明实施例公开的又一种闹钟的控制方法的流程示意图;Fig. 3 is a schematic flowchart of another alarm clock control method disclosed in an embodiment of the present invention;
图4是本发明实施例公开的又一种闹钟的控制方法的流程示意图;Fig. 4 is a schematic flowchart of another alarm clock control method disclosed in an embodiment of the present invention;
图5是本发明实施例公开的又一种闹钟的控制方法的流程示意图;Fig. 5 is a schematic flowchart of another alarm clock control method disclosed in an embodiment of the present invention;
图6是本发明实施例公开的一种闹钟的控制设备的结构示意图;Fig. 6 is a schematic structural diagram of an alarm clock control device disclosed in an embodiment of the present invention;
图7是本发明实施例公开的另一种闹钟的控制设备的结构示意图;Fig. 7 is a schematic structural diagram of another alarm clock control device disclosed in an embodiment of the present invention;
图8是本发明实施例公开的又一种闹钟的控制设备的结构示意图;Fig. 8 is a schematic structural diagram of another alarm clock control device disclosed in an embodiment of the present invention;
图9是本发明实施例公开的又一种闹钟的控制设备的结构示意图;Fig. 9 is a schematic structural diagram of another alarm clock control device disclosed in an embodiment of the present invention;
图10是本发明实施例公开的一种闹钟的控制系统的结构示意图;Fig. 10 is a schematic structural diagram of an alarm clock control system disclosed in an embodiment of the present invention;
图11是本发明实施例公开的另一种闹钟的控制系统的结构示意图。Fig. 11 is a schematic structural diagram of another alarm clock control system disclosed in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例公开了一种闹钟的控制方法及设备,能够使用户及时的关闭受控终端的闹钟,操作简单,且提高了用户的使用体验。以下分别进行详细说明。The embodiment of the present invention discloses an alarm clock control method and device, which can enable a user to turn off the alarm clock of a controlled terminal in time, is easy to operate, and improves user experience. Each will be described in detail below.
请参阅图1,图1是本发明实施例公开的一种闹钟的控制方法的流程示意图。其中,图1所示的方法可以应用于智能音箱、智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等设置有闹钟功能的设备中,也可以应用于服务器中,本发明实施例不做限定。如图1所示,该闹钟的控制方法可以包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of an alarm clock control method disclosed in an embodiment of the present invention. Wherein, the method shown in Figure 1 can be applied to smart speakers, smart phones (such as Android phones, iOS phones, etc.), tablet computers, handheld computers, and mobile Internet devices (Mobile Internet Devices, MID), PAD, etc. are provided with an alarm clock function The device may also be applied to a server, which is not limited in this embodiment of the present invention. As shown in Figure 1, the control method of the alarm clock may include the following steps:
S101、检测受控终端的当前系统时间是否等于预设时间。S101. Detect whether the current system time of the controlled terminal is equal to a preset time.
本发明实施例中,受控终端为设置有闹钟功能的设备,且预设时间为受控终端的闹钟执行响铃操作的时间。当步骤S101的检测结果为是时,闹钟的控制设备可以执行步骤S102;当步骤S101的检测结果为否时,闹钟的控制设备可以继续执行步骤S101直到检测到受控终端的当前系统时间等于预设时间。In the embodiment of the present invention, the controlled terminal is a device equipped with an alarm clock function, and the preset time is the time when the alarm clock of the controlled terminal performs a ringing operation. When the detection result of step S101 is yes, the control device of the alarm clock can execute step S102; when the detection result of step S101 is no, the control device of the alarm clock can continue to perform step S101 until the current system time of the controlled terminal is detected to be equal to the predetermined set time.
S102、控制受控终端的闹钟执行响铃操作。S102. Control the alarm clock of the controlled terminal to perform a ringing operation.
S103、在受控终端的闹钟执行响铃操作的过程中,向用户设备发送提示信息。S103. When the alarm clock of the controlled terminal performs a ringing operation, send prompt information to the user equipment.
本发明实施例中,该提示信息用于提示受控终端处于闹钟响铃状态,闹钟的控制设备向用户设备发送该提示信息,以使用户设备向用户输出该提示信息,进而使用户根据自身需求向用户设备输入相应的操作指令(如闹钟休眠指令或闹钟关闭指令等),其中,用户设备输出该提示信息的方式可以为振动提示信息、语音提示信息以及系统通知栏提示信息中的一种或多种,本发明实施例不做限定。In the embodiment of the present invention, the prompt information is used to remind the controlled terminal that the alarm clock is ringing, and the alarm clock control device sends the prompt information to the user equipment, so that the user equipment outputs the prompt information to the user, so that the user can Input a corresponding operation instruction (such as an alarm clock sleep instruction or an alarm clock off instruction, etc.) There are many kinds, which are not limited in the embodiment of the present invention.
S104、接收用户设备发送的闹钟关闭指令。S104. Receive an alarm clock off instruction sent by the user equipment.
本发明实施例中,用户设备发送的闹钟关闭指令为用户在注意到用户设备输出的提示信息时向用户设备输入的闹钟关闭指令,如,当上述提示信息为系统通知栏提示信息时,用户可以通过点击系统通知栏中的用于关闭闹钟的操作图标或通过滑动手势移除系统通知栏提示信息等方式向用户设备输入闹钟关闭指令,且用户设备在接收到用户输入的闹钟关闭指令后将该闹钟关闭指令发送至闹钟的控制设备。In the embodiment of the present invention, the alarm clock off instruction sent by the user equipment is an alarm clock off instruction input to the user equipment when the user notices the prompt information output by the user equipment. For example, when the above prompt information is the prompt information in the system notification bar, the user can Input an instruction to turn off the alarm clock to the user device by clicking the operation icon for turning off the alarm clock in the system notification bar or removing the prompt information in the system notification bar by sliding gestures, and the user device will turn off the alarm clock after receiving the instruction to turn off the alarm clock input by the user. The alarm clock off command is sent to the control device of the alarm clock.
S105、响应上述闹钟关闭指令,控制受控终端的闹钟停止执行响铃操作。S105. In response to the alarm clock off instruction, control the alarm clock of the controlled terminal to stop performing the ringing operation.
本发明实施例公开的闹钟的控制方法可以应用于但不限于以下两种场景:一、受控终端由用户设备直接控制,即受控终端在检测到其当前系统时间等于预设时间时控制受控终端的闹钟执行响铃操作,并在受控终端的闹钟执行响铃操作的过程中向用户设备发送用于提示受控终端处于闹钟响铃状态的提示信息,受控终端接收用户设备发送的闹钟关闭指令,并响应该闹钟关闭指令控制受控终端的闹钟停止执行响铃操作,这样能够使用户通过其随身携带的用户设备与受控终端建立短距离无线连接,并通过该短距离无线连接控制受控终端的闹钟;二、受控终端由用户设备通过服务器间接控制,即服务器在检测到受控终端的当前系统时间等于预设时间时,控制受控终端的闹钟执行响铃操作并在受控终端的闹钟执行响铃操作的过程中向用户设备发送用于提示受控终端处于闹钟响铃状态的提示信息,服务器接收用户设备发送的闹钟关闭指令,服务器响应该闹钟关闭指令,控制受控终端的闹钟停止执行响铃操作,这样能够使用户随身携带的用户设备通过服务器与受控终端建立长距离无线连接,并通过该长距离无线连接控制受控终端的闹钟。The alarm clock control method disclosed in the embodiment of the present invention can be applied to but not limited to the following two scenarios: 1. The controlled terminal is directly controlled by the user equipment, that is, the controlled terminal controls the controlled terminal when it detects that its current system time is equal to the preset time. The alarm clock of the controlled terminal executes the ringing operation, and sends a prompt message to the user equipment to remind the controlled terminal that the alarm clock is ringing when the alarm clock of the controlled terminal performs the ringing operation, and the controlled terminal receives the message sent by the user equipment. Alarm clock off command, and respond to the alarm clock off command to control the alarm clock of the controlled terminal to stop ringing operation, so that the user can establish a short-distance wireless connection with the controlled terminal through the user equipment carried by him, and through the short-distance wireless connection Control the alarm clock of the controlled terminal; 2. The controlled terminal is indirectly controlled by the user equipment through the server, that is, when the server detects that the current system time of the controlled terminal is equal to the preset time, it controls the alarm clock of the controlled terminal to perform ringing operation and When the alarm clock of the controlled terminal performs the ringing operation, it sends a prompt message to the user equipment to remind the controlled terminal that the alarm clock is ringing. The server receives the alarm clock off instruction sent by the user equipment. The alarm clock of the controlled terminal stops performing the ringing operation, so that the user equipment carried by the user can establish a long-distance wireless connection with the controlled terminal through the server, and control the alarm clock of the controlled terminal through the long-distance wireless connection.
可选的,闹钟的控制设备在受控终端的闹钟执行响铃操作的过程中向用户设备发送提示信息可以包括:Optionally, the alarm clock control device sending the prompt information to the user equipment during the alarm clock of the controlled terminal performing the ringing operation may include:
判断受控终端的闹钟执行响铃操作的持续时间是否大于等于预设时间阈值,当判断结果为是时,生成提示信息,并将该提示信息发送至用户设备。Judging whether the duration of the ringing operation of the alarm clock of the controlled terminal is greater than or equal to a preset time threshold, and when the judgment result is yes, generating prompt information and sending the prompt information to the user equipment.
本发明实施例中,闹钟的控制设备中预先存储有预设时间阈值,该预设时间阈值可以为闹钟的控制设备默认的时间阈值,也可以是用户根据自身需求而设置的时间阈值,如30s或60s等。当受控终端的闹钟执行响铃操作的持续时间大于等于预设时间阈值时,闹钟的控制设备即可认定用户暂时无法及时的关闭受控终端的闹钟,则闹钟的控制设备生成提示信息并将该提示信息发送至用户设备;当受控终端的闹钟执行响铃操作的持续时间小于预设时间阈值时,闹钟的控制设备即可认定用户已经关闭了受控终端的闹钟,如用户通过受控终端上的物理按键等关闭了受控终端的闹钟等,则闹钟的控制设备无需生成提示信息,减少了闹钟的控制设备的功耗。In the embodiment of the present invention, a preset time threshold is pre-stored in the alarm clock control device, and the preset time threshold can be the default time threshold of the alarm clock control device, or a time threshold set by the user according to his own needs, such as 30s or 60s etc. When the duration of the ringing operation of the alarm clock of the controlled terminal is greater than or equal to the preset time threshold, the control device of the alarm clock can determine that the user cannot close the alarm clock of the controlled terminal in time, and the control device of the alarm clock generates a prompt message and sends The prompt information is sent to the user equipment; when the duration of the alarm clock of the controlled terminal performing the ringing operation is less than the preset time threshold, the alarm clock control device can determine that the user has turned off the alarm clock of the controlled terminal. If the physical buttons on the terminal turn off the alarm clock of the controlled terminal, the alarm clock control device does not need to generate prompt information, which reduces the power consumption of the alarm clock control device.
可选的,在执行步骤S101之前,闹钟的控制设备还可以执行以下操作:Optionally, before performing step S101, the alarm clock control device may also perform the following operations:
接收用户输入的或用户设备发送的闹钟开启指令,其中,该闹钟开启指令包括上述预设时间;receiving an alarm clock activation instruction input by the user or sent by the user equipment, wherein the alarm clock activation instruction includes the above-mentioned preset time;
响应上述闹钟开启指令,开启受控终端的闹钟功能,以使闹钟的控制设备在检测到受控终端的当前系统时间等于上述预设时间时控制受控终端的闹钟执行响铃操作。In response to the above-mentioned alarm clock start instruction, the alarm clock function of the controlled terminal is turned on, so that the alarm clock control device controls the alarm clock of the controlled terminal to perform a ringing operation when it detects that the current system time of the controlled terminal is equal to the above-mentioned preset time.
可选的,上述闹钟开启指令还可以包括受控终端的闹钟执行响铃操作时的响铃方式、音频信息以及起始音量等,本发明实施例不做限定。Optionally, the above alarm clock activation instruction may also include a ringing mode, audio information, and initial volume when the alarm clock of the controlled terminal performs a ringing operation, which is not limited in this embodiment of the present invention.
本发明实施例中,当闹钟的控制设备为设置有闹钟功能的设备(即上述受控终端)时,闹钟的控制设备可以预先建立与用户设备之间的无线连接,如WIFI连接或蓝牙连接等;当闹钟的控制设备为服务器等时,闹钟的控制设备预先分别建立与受控终端之间的无线连接以及与用户设备之间的无线连接。In the embodiment of the present invention, when the alarm clock control device is a device equipped with an alarm clock function (that is, the above-mentioned controlled terminal), the alarm clock control device can pre-establish a wireless connection with the user device, such as a WIFI connection or a Bluetooth connection, etc. ; When the control device of the alarm clock is a server, etc., the control device of the alarm clock respectively establishes a wireless connection with the controlled terminal and a wireless connection with the user equipment in advance.
本发明实施例中,当检测到受控终端的当前系统时间等于预设时间时,控制受控终端的闹钟执行响铃操作并在受控终端的闹钟执行响铃操作的过程中向用户设备发送提示信息,其中,该提示信息用于提示受控终端处于闹钟响铃状态,接收用户设备发送的闹钟关闭指令,响应该闹钟关闭指令控制受控终端的闹钟停止执行响铃操作。可见,实施本发明实施例能够使用户及时的关闭受控终端的闹钟,操作简单,且提高了用户的使用体验。In the embodiment of the present invention, when it is detected that the current system time of the controlled terminal is equal to the preset time, the alarm clock of the controlled terminal is controlled to perform the ringing operation and sends a message to the user equipment during the alarm clock of the controlled terminal performing the ringing operation. Prompt information, wherein the prompt information is used to prompt that the controlled terminal is in the alarm clock ringing state, receive the alarm clock off instruction sent by the user equipment, and control the alarm clock of the controlled terminal to stop performing the ringing operation in response to the alarm clock off instruction. It can be seen that the implementation of the embodiment of the present invention enables the user to turn off the alarm clock of the controlled terminal in time, the operation is simple, and the use experience of the user is improved.
请参阅图2,图2是本发明实施例公开的另一种闹钟的控制方法的流程示意图。其中,图2所示的方法可以应用于智能音箱、智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等设置有闹钟功能的设备中,也可以应用于服务器中,本发明实施例不做限定。如图2所示,该闹钟的控制方法可以包括以下步骤:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another alarm clock control method disclosed in an embodiment of the present invention. Wherein, the method shown in Figure 2 can be applied to smart speakers, smart phones (such as Android phones, iOS phones, etc.), tablet computers, handheld computers, and mobile Internet devices (Mobile Internet Devices, MID), PAD, etc. are provided with an alarm clock function The device may also be applied to a server, which is not limited in this embodiment of the present invention. As shown in Figure 2, the control method of the alarm clock may include the following steps:
S201、检测受控终端的当前系统时间是否等于预设时间。S201. Detect whether the current system time of the controlled terminal is equal to a preset time.
本发明实施例中,受控终端为设置有闹钟功能的设备,且预设时间为受控终端的闹钟执行响铃操作的时间。当步骤S201的检测结果为是时,闹钟的控制设备可以执行步骤S202;当步骤S201的检测结果为否时,闹钟的控制设备可以继续执行步骤S201直到检测到受控终端的当前系统时间等于预设时间。In the embodiment of the present invention, the controlled terminal is a device equipped with an alarm clock function, and the preset time is the time when the alarm clock of the controlled terminal performs a ringing operation. When the detection result of step S201 is yes, the control device of the alarm clock can execute step S202; when the detection result of step S201 is no, the control device of the alarm clock can continue to perform step S201 until the current system time of the controlled terminal is detected to be equal to the predetermined set time.
S202、检测受控终端的其它应用是否正在执行响铃操作。S202. Detect whether other applications of the controlled terminal are executing a ringing operation.
本发明实施例中,受控终端的其它应用可以为受控终端中能够输出音频信息的应用,如音乐播放器或视频播放器等。当步骤S202的检测结果为是时,闹钟的控制设备可以执行步骤S203;当步骤S202的检测结果为否是,闹钟的控制设备可以执行步骤S204。In the embodiment of the present invention, other applications of the controlled terminal may be applications capable of outputting audio information in the controlled terminal, such as a music player or a video player. When the detection result of step S202 is yes, the control device of the alarm clock can execute step S203; when the detection result of step S202 is no, the control device of the alarm clock can execute step S204.
S203、控制受控终端的其它应用暂停执行响铃操作。S203. Other applications controlling the controlled terminal suspend execution of the ringing operation.
本发明实施例中,闹钟的控制设备控制受控终端的其它应用暂停执行响铃操作,以为闹钟的控制设备控制受控终端的闹钟执行响铃操作做准备。In the embodiment of the present invention, the alarm clock control device controls other applications of the controlled terminal to suspend the ringing operation, so as to prepare for the alarm clock control device to control the alarm clock of the controlled terminal to perform the ringing operation.
本发明实施例中,闹钟的控制设备在控制受控终端的其它应用暂停执行响铃操作的同时,闹钟的控制设备还可以记录下其它应用执行响铃操作的响铃位置,如音乐播放器正在播放的音乐的播放位置,这样使闹钟的控制设备在控制受控终端的闹钟停止执行响铃操作的同时能够根据其记录下的响铃位置控制受控终端的其它应用恢复执行响铃操作,提高了用户的使用体验。In the embodiment of the present invention, while the control device of the alarm clock controls other applications of the controlled terminal to suspend the execution of the ringing operation, the control device of the alarm clock can also record the ringing position where other applications perform the ringing operation, such as the music player is The playback position of the music to be played, so that the alarm clock control device can control other applications of the controlled terminal to resume the ringing operation according to the recorded ringing position while controlling the alarm clock of the controlled terminal to stop performing the ringing operation, improving user experience.
S204、控制受控终端的闹钟执行响铃操作。S204. Control the alarm clock of the controlled terminal to perform a ringing operation.
S205、在受控终端的闹钟执行响铃操作的过程中,向用户设备发送提示信息。S205. When the alarm clock of the controlled terminal performs a ringing operation, send prompt information to the user equipment.
本发明实施例中,该提示信息用于提示受控终端处于闹钟响铃状态,闹钟的控制设备向用户设备发送该提示信息,以使用户设备向用户输出该提示信息,进而使用户根据自身需求向用户设备输入相应的操作指令(如闹钟休眠指令或闹钟关闭指令等),其中,用户设备输出该提示信息的方式可以为振动提示信息、语音提示信息以及系统通知栏提示信息中的一种或多种,本发明实施例不做限定。In the embodiment of the present invention, the prompt information is used to remind the controlled terminal that the alarm clock is ringing, and the alarm clock control device sends the prompt information to the user equipment, so that the user equipment outputs the prompt information to the user, so that the user can Input a corresponding operation instruction (such as an alarm clock sleep instruction or an alarm clock off instruction, etc.) There are many kinds, which are not limited in the embodiment of the present invention.
S206、接收用户设备发送的闹钟关闭指令。S206. Receive an alarm clock off instruction sent by the user equipment.
本发明实施例中,用户设备发送的闹钟关闭指令为用户在注意到用户设备输出的提示信息时向用户设备输入的闹钟关闭指令,如,当上述提示信息为系统通知栏提示信息时,用户可以通过点击系统通知栏中的用于关闭闹钟的操作图标或通过滑动手势移除系统通知栏提示信息等方式向用户设备输入闹钟关闭指令,且用户设备在接收到用户输入的闹钟关闭指令后将该闹钟关闭指令发送至闹钟的控制设备。In the embodiment of the present invention, the alarm clock off instruction sent by the user equipment is an alarm clock off instruction input to the user equipment when the user notices the prompt information output by the user equipment. For example, when the above prompt information is the prompt information in the system notification bar, the user can Input an instruction to turn off the alarm clock to the user device by clicking the operation icon for turning off the alarm clock in the system notification bar or removing the prompt information in the system notification bar by sliding gestures, and the user device will turn off the alarm clock after receiving the instruction to turn off the alarm clock input by the user. The alarm clock off command is sent to the control device of the alarm clock.
S207、响应上述闹钟关闭指令,控制受控终端的闹钟停止执行响铃操作。S207. In response to the alarm clock off instruction, control the alarm clock of the controlled terminal to stop performing the ringing operation.
S208、控制受控终端的其它应用恢复执行响铃操作。S208. Other applications controlling the controlled terminal resume performing the ringing operation.
本发明实施例公开的闹钟的控制方法可以应用于但不限于以下两种场景:一、受控终端由用户设备直接控制;二、受控终端由用户设备通过服务器间接控制,具体请参照上述实施例,本发明实施例不再赘述。The alarm clock control method disclosed in the embodiment of the present invention can be applied to but not limited to the following two scenarios: 1. The controlled terminal is directly controlled by the user equipment; 2. The controlled terminal is indirectly controlled by the user equipment through the server. For details, please refer to the above implementation For example, the embodiment of the present invention will not be repeated.
可选的,闹钟的控制设备在受控终端的闹钟执行响铃操作的过程中向用户设备发送提示信息可以包括:Optionally, the alarm clock control device sending the prompt information to the user equipment during the alarm clock of the controlled terminal performing the ringing operation may include:
判断受控终端的闹钟执行响铃操作的持续时间是否大于等于预设时间阈值,当判断结果为是时,生成提示信息,并将该提示信息发送至用户设备。Judging whether the duration of the ringing operation of the alarm clock of the controlled terminal is greater than or equal to a preset time threshold, and when the judgment result is yes, generating prompt information and sending the prompt information to the user equipment.
本发明实施例中,闹钟的控制设备中预先存储有预设时间阈值,该预设时间阈值可以为闹钟的控制设备默认的时间阈值,也可以是用户根据自身需求而设置的时间阈值,如30s或60s等。当受控终端的闹钟执行响铃操作的持续时间大于等于预设时间阈值时,闹钟的控制设备即可认定用户暂时无法及时的关闭受控终端的闹钟,则闹钟的控制设备生成提示信息并将该提示信息发送至用户设备;当受控终端的闹钟执行响铃操作的持续时间小于预设时间阈值时,闹钟的控制设备即可认定用户已经关闭了受控终端的闹钟,如用户通过受控终端上的物理按键等关闭了受控终端的闹钟等,则闹钟的控制设备无需生成提示信息,减少了闹钟的控制设备的功耗。In the embodiment of the present invention, a preset time threshold is pre-stored in the alarm clock control device, and the preset time threshold can be the default time threshold of the alarm clock control device, or a time threshold set by the user according to his own needs, such as 30s or 60s etc. When the duration of the ringing operation of the alarm clock of the controlled terminal is greater than or equal to the preset time threshold, the control device of the alarm clock can determine that the user cannot close the alarm clock of the controlled terminal in time, and the control device of the alarm clock generates a prompt message and sends The prompt information is sent to the user equipment; when the duration of the alarm clock of the controlled terminal performing the ringing operation is less than the preset time threshold, the alarm clock control device can determine that the user has turned off the alarm clock of the controlled terminal. If the physical buttons on the terminal turn off the alarm clock of the controlled terminal, the alarm clock control device does not need to generate prompt information, which reduces the power consumption of the alarm clock control device.
可选的,在执行步骤S201之前,闹钟的控制设备还可以执行以下操作:Optionally, before performing step S201, the alarm clock control device may also perform the following operations:
接收用户输入的或用户设备发送的闹钟开启指令,其中,该闹钟开启指令包括上述预设时间;receiving an alarm clock activation instruction input by the user or sent by the user equipment, wherein the alarm clock activation instruction includes the above-mentioned preset time;
响应上述闹钟开启指令,开启受控终端的闹钟功能,以使闹钟的控制设备在检测到受控终端的当前系统时间等于上述预设时间时控制受控终端的闹钟执行响铃操作。In response to the above-mentioned alarm clock start instruction, the alarm clock function of the controlled terminal is turned on, so that the alarm clock control device controls the alarm clock of the controlled terminal to perform a ringing operation when it detects that the current system time of the controlled terminal is equal to the above-mentioned preset time.
可选的,上述闹钟开启指令还可以包括受控终端的闹钟执行响铃操作时的响铃方式、音频信息以及起始音量等,本发明实施例不做限定。Optionally, the above alarm clock activation instruction may also include a ringing mode, audio information, and initial volume when the alarm clock of the controlled terminal performs a ringing operation, which is not limited in this embodiment of the present invention.
本发明实施例中,当闹钟的控制设备为设置有闹钟功能的设备(即上述受控终端)时,闹钟的控制设备可以预先建立与用户设备之间的无线连接,如WIFI连接或蓝牙连接等;当闹钟的控制设备为服务器等时,闹钟的控制设备预先分别建立与受控终端之间的无线连接以及与用户设备之间的无线连接。In the embodiment of the present invention, when the alarm clock control device is a device equipped with an alarm clock function (that is, the above-mentioned controlled terminal), the alarm clock control device can pre-establish a wireless connection with the user device, such as a WIFI connection or a Bluetooth connection, etc. ; When the control device of the alarm clock is a server, etc., the control device of the alarm clock respectively establishes a wireless connection with the controlled terminal and a wireless connection with the user equipment in advance.
实施本发明实施例能够使用户及时的关闭受控终端的闹钟,操作简单,且提高了用户的使用体验。Implementing the embodiment of the present invention can enable the user to turn off the alarm clock of the controlled terminal in time, the operation is simple, and the use experience of the user is improved.
请参阅图3,图3是本发明实施例公开的又一种闹钟的控制方法的流程示意图。其中,图3所示的方法可以应用于智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等用户设备中,本发明实施例不做限定。如图3所示,该闹钟的控制方法可以包括以下步骤:Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of another alarm clock control method disclosed in an embodiment of the present invention. Wherein, the method shown in FIG. 3 can be applied to smart phones (such as Android mobile phones, iOS mobile phones, etc.), tablet computers, palmtop computers, mobile Internet devices (Mobile Internet Devices, MID), PAD and other user equipment, the embodiment of the present invention No limit. As shown in Figure 3, the control method of the alarm clock may include the following steps:
S301、接收受控终端在受控终端的闹钟执行响铃操作的过程中发送的提示信息。S301. Receive prompt information sent by the controlled terminal when an alarm clock of the controlled terminal is performing a ringing operation.
本发明实施例中,该提示信息用于提示受控终端处于闹钟响铃状态。In the embodiment of the present invention, the prompt information is used to prompt that the controlled terminal is in an alarm clock ringing state.
S302、输出上述提示信息。S302. Output the above prompt information.
本发明实施例中,闹钟的控制设备输出上述提示信息,以提示用户受控终端处于闹钟响铃状态,进而使用户根据自身需求向用户设备输入相应的操作指令(如闹钟休眠指令或闹钟关闭指令等),其中,闹钟的控制设备输出上述提示信息的方式可以为振动提示信息、语音提示信息以及系统通知栏提示信息中的一种或多种,本发明实施例不做限定。In the embodiment of the present invention, the alarm clock control device outputs the above-mentioned prompt information to prompt the user that the controlled terminal is in the alarm clock ringing state, so that the user can input corresponding operation instructions (such as an alarm clock sleep instruction or an alarm clock shutdown instruction) to the user equipment according to their own needs. etc.), where the alarm clock control device can output the prompt information in one or more of vibration prompt information, voice prompt information, and system notification bar prompt information, which is not limited in this embodiment of the present invention.
S303、接收用户输入的闹钟关闭指令,并将该闹钟关闭指令发送至受控终端,以控制受控终端的闹钟停止执行响铃操作。S303. Receive an alarm clock deactivation instruction input by the user, and send the alarm clock deactivation instruction to the controlled terminal, so as to control the alarm clock of the controlled terminal to stop performing the ringing operation.
本发明实施例公开的闹钟的控制方法可以应用于但不限于以下两种场景:一、用户设备直接控制受控终端,即用户设备接收受控终端发送的用于提示受控终端处于闹钟响铃状态的提示信息,并将该提示信息输出给用户,用户设备接收用户输入的闹钟关闭指令并将该闹钟关闭指令发送至受控终端,以使受控终端响应该闹钟关闭指令控制受控终端的闹钟停止执行响铃操作,这样能够使用户通过其随身携带的用户设备与受控终端建立短距离无线连接,并通过该短距离无线连接控制受控终端的闹钟;二、用户设备通过服务器间接控制受控终端,即用户设备接收服务器发送的用于提示受控终端处于闹钟响铃状态的提示信息,其中,该提示信息是由服务器在检测到受控终端的当前系统时间等于预设时间时控制受控终端的闹钟执行响铃操作并在受控终端的闹钟执行响铃操作的过程中生成的提示信息,用户设备输出该提示信息并接收用户输入的闹钟关闭指令,用户设备将该闹钟关闭指令发送至服务器,以使服务器响应该闹钟关闭指令控制受控终端的闹钟停止执行响铃操作,这样能够使用户随身携带的用户设备通过服务器与受控终端建立长距离无线连接,并通过该长距离无线连接控制受控终端的闹钟。The method for controlling the alarm clock disclosed in the embodiment of the present invention can be applied to but not limited to the following two scenarios: 1. The user equipment directly controls the controlled terminal, that is, the user equipment receives the information sent by the controlled terminal to remind the controlled terminal that the alarm clock is ringing. status, and output the prompt information to the user, the user equipment receives the alarm clock off command input by the user and sends the alarm clock off command to the controlled terminal, so that the controlled terminal responds to the alarm clock off command to control the alarm clock off command of the controlled terminal The alarm clock stops performing the ringing operation, so that the user can establish a short-distance wireless connection with the controlled terminal through the user equipment carried by him, and control the alarm clock of the controlled terminal through the short-distance wireless connection; 2. The user equipment is indirectly controlled by the server The controlled terminal, that is, the user equipment receives the prompt information sent by the server to remind the controlled terminal that the alarm clock is ringing, wherein the prompt information is controlled by the server when it detects that the current system time of the controlled terminal is equal to the preset time The alarm clock of the controlled terminal performs the ringing operation and generates prompt information during the alarm clock of the controlled terminal performing the ringing operation. The user equipment outputs the prompt information and receives the alarm clock closing instruction input by the user, and the user equipment sends the alarm clock closing instruction Send it to the server, so that the server responds to the alarm clock off command to control the alarm clock of the controlled terminal to stop ringing, so that the user equipment carried by the user can establish a long-distance wireless connection with the controlled terminal through the server, and through the long-distance The wireless connection controls the alarm clock of the controlled terminal.
作为一种可选的实施方式,在执行步骤S301之前,闹钟的控制设备还可以执行以下操作:As an optional implementation manner, before performing step S301, the alarm clock control device may also perform the following operations:
接收用户输入的针对受控终端的、包括预设时间的闹钟开启指令;receiving an alarm clock activation instruction input by the user for the controlled terminal, including a preset time;
将上述闹钟开启指令发送至受控终端,以使受控终端响应上述闹钟开启指令开启受控终端的闹钟功能并在检测到受控终端的当前系统时间等于预设时间时控制受控终端的闹钟执行响铃操作。Send the above-mentioned alarm clock activation instruction to the controlled terminal, so that the controlled terminal responds to the above-mentioned alarm clock activation instruction to enable the alarm clock function of the controlled terminal and control the alarm clock of the controlled terminal when it is detected that the current system time of the controlled terminal is equal to the preset time Perform the ring operation.
可选的,上述闹钟开启指令还可以包括受控终端的闹钟执行响铃操作时的响铃方式、音频信息以及起始音量等,本发明实施例不做限定。Optionally, the above alarm clock activation instruction may also include a ringing mode, audio information, and initial volume when the alarm clock of the controlled terminal performs a ringing operation, which is not limited in this embodiment of the present invention.
实施本发明实施例能够使用户及时的关闭受控终端的闹钟,操作简单,且提高了用户的使用体验。Implementing the embodiment of the present invention can enable the user to turn off the alarm clock of the controlled terminal in time, the operation is simple, and the use experience of the user is improved.
请参阅图4,图4是本发明实施例公开的又一种闹钟的控制方法的流程示意图。其中,图4是以用户设备直接控制具有闹钟功能的受控终端(如智能音箱等设置有闹钟功能的设备)为例的闹钟的控制方法的流程示意图。如图4所示,该闹钟的控制方法可以包括以下步骤:Please refer to FIG. 4 . FIG. 4 is a schematic flowchart of another alarm clock control method disclosed in an embodiment of the present invention. Wherein, FIG. 4 is a schematic flowchart of an alarm clock control method in which a user equipment directly controls a controlled terminal with an alarm clock function (such as a device with an alarm clock function such as a smart speaker) as an example. As shown in Figure 4, the control method of the alarm clock may include the following steps:
S401、受控终端建立与用户设备之间的无线连接。S401. The controlled terminal establishes a wireless connection with the user equipment.
本发明实施例中,该无线连接可以为WIFI连接或蓝牙连接等,本发明实施例不做限定。In the embodiment of the present invention, the wireless connection may be a WIFI connection or a Bluetooth connection, which is not limited in the embodiment of the present invention.
S402、用户设备接收用户输入的针对受控终端的、包括预设时间的闹钟开启指令。S402. The user equipment receives an alarm clock activation instruction input by the user for the controlled terminal, including a preset time.
S403、用户设备向受控终端发送该闹钟开启指令。S403. The user equipment sends the alarm clock activation instruction to the controlled terminal.
S404、受控终端接收上述闹钟开启指令,响应上述闹钟开启指令开启闹钟功能。S404. The controlled terminal receives the alarm clock activation instruction, and activates the alarm clock function in response to the alarm clock activation instruction.
S405、受控终端检测受控终端的当前系统时间是否等于预设时间。S405. The controlled terminal detects whether the current system time of the controlled terminal is equal to a preset time.
本发明实施例中,当步骤S405的检测结果为是时,受控终端可以执行步骤S406;当步骤S405的检测结果为否时,受控终端可以继续执行步骤S405。In the embodiment of the present invention, when the detection result of step S405 is yes, the controlled terminal may execute step S406; when the detection result of step S405 is no, the controlled terminal may continue to execute step S405.
S406、受控终端检测受控终端的其它应用是否正在执行响铃操作。S406. The controlled terminal detects whether other applications of the controlled terminal are executing a ringing operation.
本发明实施例中,当步骤S406的检测结果为是时,受控终端可以执行步骤S407;当步骤S406的检测结果为否时,受控终端可以直接执行步骤S408。In the embodiment of the present invention, when the detection result of step S406 is yes, the controlled terminal may execute step S407; when the detection result of step S406 is no, the controlled terminal may directly execute step S408.
S407、受控终端控制受控终端的其它应用暂停执行响铃操作。S407, the controlled terminal controls other applications of the controlled terminal to suspend execution of the ringing operation.
S408、受控终端控制受控终端的闹钟执行响铃操作。S408. The controlled terminal controls the alarm clock of the controlled terminal to perform a ringing operation.
S409、在受控终端的闹钟执行响铃操作的过程中,受控终端向用户设备发送提示信息。S409. When the alarm clock of the controlled terminal performs a ringing operation, the controlled terminal sends prompt information to the user equipment.
本发明实施例中,该提示信息用于提示受控终端处于闹钟响铃状态。In the embodiment of the present invention, the prompt information is used to prompt that the controlled terminal is in an alarm clock ringing state.
S410、用户设备接收上述提示信息,并输出上述提示信息。S410. The user equipment receives the prompt information, and outputs the prompt information.
S411、用户设备接收用户输入的闹钟关闭指令。S411. The user equipment receives an instruction to turn off the alarm clock input by the user.
S412、用户设备向受控终端发送该闹钟关闭指令。S412. The user equipment sends the alarm clock off instruction to the controlled terminal.
S413、受控终端接收上述闹钟关闭指令,响应上述闹钟关闭指令控制受控终端的闹钟停止执行响铃操作。S413. The controlled terminal receives the alarm clock off instruction, and controls the alarm clock of the controlled terminal to stop performing the ringing operation in response to the alarm clock off instruction.
可选的,当步骤S406的判断结果为是时,受控终端在执行完毕步骤S413之后,还可以执行步骤S414,其中:Optionally, when the judgment result of step S406 is yes, the controlled terminal may also execute step S414 after executing step S413, wherein:
S414、受控终端控制受控终端的其它应用恢复执行响铃操作。S414. The controlled terminal controls other applications of the controlled terminal to resume performing the ringing operation.
本发明实施例中,当检测到受控终端的当前系统时间等于预设时间时,控制受控终端的闹钟执行响铃操作并在受控终端的闹钟执行响铃操作的过程中向用户设备发送提示信息,其中,该提示信息用于提示受控终端处于闹钟响铃状态,接收用户设备发送的闹钟关闭指令,响应该闹钟关闭指令控制受控终端的闹钟停止执行响铃操作。可见,实施本发明实施例能够使用户通过用户设备及时的关闭受控终端的闹钟,操作简单,且提高了用户的使用体验。In the embodiment of the present invention, when it is detected that the current system time of the controlled terminal is equal to the preset time, the alarm clock of the controlled terminal is controlled to perform the ringing operation and sends a message to the user equipment during the alarm clock of the controlled terminal performing the ringing operation. Prompt information, wherein the prompt information is used to prompt that the controlled terminal is in the alarm clock ringing state, receive the alarm clock off instruction sent by the user equipment, and control the alarm clock of the controlled terminal to stop performing the ringing operation in response to the alarm clock off instruction. It can be seen that the implementation of the embodiment of the present invention enables the user to turn off the alarm clock of the controlled terminal in time through the user equipment, the operation is simple, and the user experience is improved.
请参阅图5,图5是本发明实施例公开的又一种闹钟的控制方法的流程示意图。其中,图5所示的方法是以用户设备通过服务器控制具有闹钟功能的受控终端(如智能音箱等设置有闹钟功能的设备)为例的闹钟的控制方法的流程示意图。如图5所示,该闹钟的控制方法可以包括以下步骤:Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of another alarm clock control method disclosed in an embodiment of the present invention. Wherein, the method shown in FIG. 5 is a schematic flowchart of an alarm clock control method in which the user equipment controls a controlled terminal with an alarm clock function (such as a device with an alarm clock function such as a smart speaker) through a server. As shown in Figure 5, the control method of the alarm clock may include the following steps:
S501、用户设备建立与服务器之间的无线连接。S501. The user equipment establishes a wireless connection with the server.
S502、用户设备接收用户输入的针对受控终端的、包括预设时间的闹钟开启指令。S502. The user equipment receives an alarm clock activation instruction input by the user for the controlled terminal and including a preset time.
S503、用户设备向服务器发送该闹钟开启指令。S503. The user equipment sends the alarm clock activation instruction to the server.
S504、服务器接收闹钟开启命令,并开启受控终端的闹钟功能。S504. The server receives the alarm clock activation command, and activates the alarm clock function of the controlled terminal.
S505、服务器获取受控终端的当前系统时间。S505. The server acquires the current system time of the controlled terminal.
S506、服务器判断获取到的当前系统时间是否等于上述预设时间。S506. The server judges whether the acquired current system time is equal to the preset time.
本发明实施例中,当步骤S506的判断结果为是时,服务器可以执行步骤S507;当步骤S506的判断结果为否时,服务器可以继续执行步骤S505。In the embodiment of the present invention, when the judgment result of step S506 is yes, the server may execute step S507; when the judgment result of step S506 is no, the server may continue to execute step S505.
S507、服务器控制受控终端的闹钟执行响铃操作。S507. The server controls the alarm clock of the controlled terminal to perform a ringing operation.
S508、服务器判断受控终端的闹钟执行响铃操作的持续时间是否大于等于预设时间阈值。S508. The server judges whether the duration of the ringing operation of the alarm clock of the controlled terminal is greater than or equal to a preset time threshold.
本发明实施例中,当步骤S508的判断结果为是时,服务器执行步骤S509;当步骤S508的判断结果为否时,服务器可以结束本次流程,也可以继续执行步骤S505,本发明实施例不做限定。In the embodiment of the present invention, when the judgment result of step S508 is yes, the server executes step S509; Do limited.
S509、服务器生成用于提示受控终端处于闹钟响铃状态的提示信息。S509. The server generates prompt information for prompting that the controlled terminal is in an alarm clock ringing state.
S510、服务器向用户设备发送该提示信息。S510. The server sends the prompt information to the user equipment.
S511、用户设备接收上述提示信息,并输出上述提示信息。S511. The user equipment receives the prompt information, and outputs the prompt information.
S512、用户设备接收用户输入的闹钟关闭指令。S512. The user equipment receives an instruction to turn off the alarm clock input by the user.
S513、用户设备向服务器发送该闹钟关闭指令。S513. The user equipment sends the alarm clock off instruction to the server.
S514、服务器接收上述闹钟关闭指令,并响应上述闹钟关闭指令控制受控终端的闹钟停止执行响铃操作。S514. The server receives the alarm clock off instruction, and controls the alarm clock of the controlled terminal to stop performing the ringing operation in response to the alarm clock off instruction.
可选的,当步骤S506的判断结果为是时,在服务器执行步骤S507之前,服务器还可以执行以下操作:Optionally, when the judgment result of step S506 is yes, before the server performs step S507, the server may also perform the following operations:
检测受控终端的其它应用是否正在执行响铃操作;Detect whether other applications of the controlled terminal are performing a ringing operation;
当受控终端的其它应用正在执行响铃操作时,控制受控终端的其它应用暂停执行响铃操作。When other applications of the controlled terminal are performing the ringing operation, other applications controlling the controlled terminal suspend performing the ringing operation.
本发明实施例中,在服务器执行完毕步骤S514之后,服务器还可以执行以下操作:In the embodiment of the present invention, after the server completes step S514, the server may also perform the following operations:
控制上述其它应用恢复执行响铃操作。Control the above-mentioned other applications to resume performing the ringing operation.
可见,本发明实施例中,无论距具有闹钟功能的受控终端有多远,用户都能够通过其随身携带的用户设备与服务器进行通信,以使服务器控制受控终端的闹钟,这样能够使用户及时的关闭受控终端的闹钟,操作方便,提高了用户的使用体验。It can be seen that in the embodiment of the present invention, no matter how far away from the controlled terminal with the alarm clock function, the user can communicate with the server through the user equipment carried by him, so that the server can control the alarm clock of the controlled terminal, so that the user can The alarm clock of the controlled terminal is turned off in time, the operation is convenient, and the user experience is improved.
请参阅图6,图6是本发明实施例公开的一种闹钟的控制设备的结构示意图。如图6所示,该闹钟的控制设备可以包括检测模块601、控制模块602、输出模块603以及输入模块604,其中:Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of an alarm clock control device disclosed in an embodiment of the present invention. As shown in Figure 6, the control device of the alarm clock may include a detection module 601, a control module 602, an output module 603 and an input module 604, wherein:
检测模块601用于检测受控终端的当前系统时间是否等于预设时间。The detection module 601 is used to detect whether the current system time of the controlled terminal is equal to the preset time.
控制模块602用于当检测模块601的检测结果为时时,控制受控终端的闹钟执行响铃操作。The control module 602 is configured to control the alarm clock of the controlled terminal to perform ringing operation when the detection result of the detection module 601 is yes.
输出模块603用于在受控终端的闹钟执行响铃操作的过程中,向用户设备发送提示信息。The output module 603 is configured to send prompt information to the user equipment when the alarm clock of the controlled terminal is performing a ringing operation.
本发明实施例中,该提示信息用于提示受控终端处于闹钟响铃状态,输出模块603向用户设备发送该提示信息,以使用户设备向用户输出该提示信息,进而使用户根据自身需求向用户设备输入相应的操作指令(如闹钟休眠指令或闹钟关闭指令等),其中,用户设备输出该提示信息的方式可以为振动提示信息、语音提示信息以及系统通知栏提示信息中的一种或多种,本发明实施例不做限定。In the embodiment of the present invention, the prompt information is used to remind the controlled terminal that the alarm clock is ringing, and the output module 603 sends the prompt information to the user equipment, so that the user equipment outputs the prompt information to the user, and then enables the user to send The user equipment inputs a corresponding operation command (such as an alarm clock sleep command or an alarm clock off command, etc.), wherein the user equipment outputs the prompt information in one or more ways of vibration prompt information, voice prompt information, and system notification bar prompt information. species, which are not limited in the embodiments of the present invention.
输入模块604用于接收用户设备发送的闹钟关闭指令。The input module 604 is configured to receive an instruction to turn off the alarm clock sent by the user equipment.
控制模块602还可以用于响应输入模块604接收到的闹钟关闭指令,控制受控终端的闹钟停止执行响铃操作。The control module 602 may also be configured to control the alarm clock of the controlled terminal to stop performing the ringing operation in response to the alarm clock off instruction received by the input module 604 .
可选的,输出模块603可以包括判断子模块6031、生成子模块6032以及输出子模块6033,此时,闹钟的控制设备的结构可以如图7所示,图7是本发明实施例公开的另一种闹钟的控制设备的结构示意图,其中:Optionally, the output module 603 may include a judging submodule 6031, a generating submodule 6032, and an output submodule 6033. At this time, the structure of the alarm clock control device may be as shown in FIG. A structural schematic diagram of a control device for an alarm clock, wherein:
判断子模块6031用于判断受控终端的闹钟执行响铃操作的持续时间是否大于等于预设时间阈值。The judging sub-module 6031 is used to judge whether the duration of the ringing operation of the alarm clock of the controlled terminal is greater than or equal to a preset time threshold.
生成子模块6032用于当判断子模块的判断结果为是时,生成上述提示信息。The generation sub-module 6032 is configured to generate the above prompt information when the determination result of the determination sub-module is yes.
输出子模块6033用于将上述提示信息发送至用户设备。The output submodule 6033 is configured to send the above prompt information to the user equipment.
可选的,输入模块604还可以用于接收用户输入的或用户设备发送的闹钟开启指令,其中,该闹钟开启指令可以包括上述预设时间。且闹钟的控制设备还可以包括开启模块605,且包括开启模块605的闹钟的控制设备的结构可以如图8所示,图8是本发明实施例公开的又一种闹钟的控制设备的结构示意图,其中:Optionally, the input module 604 may also be configured to receive an alarm clock activation instruction input by the user or sent by the user equipment, wherein the alarm clock activation instruction may include the aforementioned preset time. And the control device of the alarm clock can also include an opening module 605, and the structure of the control device of the alarm clock including the opening module 605 can be shown in Figure 8, which is a schematic structural diagram of another control device of an alarm clock disclosed in an embodiment of the present invention ,in:
开启模块605用于响应上述闹钟开启指令,开启所述受控终端的闹钟功能,以使在检测模块601在检测到受控终端的当前系统时间等于预设时间时,由控制模块602控制受控终端的闹钟执行响铃操作。The opening module 605 is used to respond to the above-mentioned alarm clock opening instruction and open the alarm clock function of the controlled terminal, so that when the detection module 601 detects that the current system time of the controlled terminal is equal to the preset time, the controlled terminal is controlled by the control module 602. The alarm clock of the terminal executes the ringing operation.
可选的,检测模块601还可以用于检测受控终端的其它应用是否正在执行响铃操作。Optionally, the detecting module 601 may also be used to detect whether other applications of the controlled terminal are performing ringing operation.
控制模块602还可以用于当检测模块601检测到受控终端的其它应用正在执行响铃操作时,控制受控终端的其它应用暂停执行响铃操作。The control module 602 may also be configured to control other applications of the controlled terminal to suspend execution of the ringing operation when the detection module 601 detects that other applications of the controlled terminal are performing the ringing operation.
可选的,控制模块602还可以用于控制受控终端的其它应用恢复执行响铃操作。Optionally, the control module 602 may also be used to control other applications of the controlled terminal to resume performing the ringing operation.
可见,实施本发明实施例能够使用户及时的关闭受控终端的闹钟,操作简单,且提高了用户的使用体验。It can be seen that the implementation of the embodiment of the present invention enables the user to turn off the alarm clock of the controlled terminal in time, the operation is simple, and the use experience of the user is improved.
请参阅图9,图9是本发明实施例公开的又一种闹钟的控制设备的结构示意图。如图9所示,该闹钟的控制设备可以包括第一通信模块901以及第二通信模块902,其中:Please refer to FIG. 9 . FIG. 9 is a schematic structural diagram of another alarm clock control device disclosed in an embodiment of the present invention. As shown in FIG. 9, the control device of the alarm clock may include a first communication module 901 and a second communication module 902, wherein:
第一通信模块901用于接收受控终端在受控终端的闹钟执行响铃操作的过程中发送的提示信息,其中,该提示信息用于提示受控终端处于闹钟响铃状态。The first communication module 901 is configured to receive prompt information sent by the controlled terminal during an alarm clock ringing operation of the controlled terminal, wherein the prompt information is used to prompt that the controlled terminal is in an alarm clock ringing state.
第二通信模块902用于输出上述提示信息,并接收用户输入的闹钟关闭指令。The second communication module 902 is configured to output the above prompt information, and receive an instruction to turn off the alarm clock input by the user.
第一通信模块901还可以用于将上述闹钟关闭指令发送至受控终端,以控制受控终端的闹钟停止执行响铃操作。The first communication module 901 may also be configured to send the above alarm clock off instruction to the controlled terminal, so as to control the alarm clock of the controlled terminal to stop performing the ringing operation.
可选的,第二通信模块902还可以用于接收用户输入的针对受控终端的、包括上述预设时间的闹钟开启指令。Optionally, the second communication module 902 may also be configured to receive an alarm clock activation instruction input by the user for the controlled terminal, including the above-mentioned preset time.
第一通信模块901还可以用于将上述闹钟开启指令发送至受控终端,以使受控终端响应闹钟开启指令开启受控终端的闹钟功能并在检测到受控终端的当前系统时间等于上述预设时间时控制受控终端的闹钟执行响铃操作。The first communication module 901 can also be used to send the above-mentioned alarm clock activation instruction to the controlled terminal, so that the controlled terminal responds to the alarm clock activation instruction to enable the alarm clock function of the controlled terminal and detects that the current system time of the controlled terminal is equal to the above-mentioned preset time. When the time is set, the alarm clock of the controlled terminal is controlled to perform the ringing operation.
可见,实施本发明实施例能够使用户及时的关闭受控终端的闹钟,操作简单,且提高了用户的使用体验。It can be seen that the implementation of the embodiment of the present invention enables the user to turn off the alarm clock of the controlled terminal in time, the operation is simple, and the use experience of the user is improved.
请参阅图10,图10是本发明实施例公开的一种闹钟的控制系统的结构示意图。如图10所示,该闹钟的控制系统可以包括用户设备1001以及具有闹钟功能的受控终端1002,且用户设备1001与受控终端1002之间预先建立有无线连接,其中:Please refer to FIG. 10 . FIG. 10 is a schematic structural diagram of an alarm clock control system disclosed in an embodiment of the present invention. As shown in Figure 10, the alarm clock control system may include a user equipment 1001 and a controlled terminal 1002 with an alarm clock function, and a wireless connection is pre-established between the user equipment 1001 and the controlled terminal 1002, wherein:
受控终端1002用于检测受控终端1002的当前系统时间是否等于预设时间,当检测到受控终端1002的当前系统时间等于预设时间时,控制受控终端1002的闹钟执行响铃操作,且在受控终端1002的闹钟执行响铃操作的过程中,向用户设备1001发送用于提示受控终端1002处于闹钟响铃状态的提示信息,接收用户设备1001发送的闹钟关闭指令,响应该闹钟关闭指令控制受控终端1002的闹钟停止执行响铃操作。The controlled terminal 1002 is used to detect whether the current system time of the controlled terminal 1002 is equal to the preset time, and when it is detected that the current system time of the controlled terminal 1002 is equal to the preset time, control the alarm clock of the controlled terminal 1002 to perform a ringing operation, And in the process of ringing the alarm clock of the controlled terminal 1002, send a prompt message to the user equipment 1001 to remind the controlled terminal 1002 that the alarm clock is ringing, receive an alarm clock shutdown instruction sent by the user equipment 1001, and respond to the alarm clock The closing instruction controls the alarm clock of the controlled terminal 1002 to stop performing the ringing operation.
用户设备1001用于接收受控终端1002发送的上述提示信息,并输出上述提示信息,接收用户输入的闹钟关闭指令,并将该闹钟关闭指令发送至受控终端1002。The user equipment 1001 is configured to receive the above prompt information sent by the controlled terminal 1002 and output the above prompt information, receive an alarm clock off instruction input by the user, and send the alarm clock off instruction to the controlled terminal 1002 .
可选的,受控终端1002在受控终端1002的闹钟执行响铃操作的过程中,向用户设备1001发送提示信息的具体方式可以为:Optionally, the specific manner in which the controlled terminal 1002 sends the prompt information to the user equipment 1001 during the alarm clock of the controlled terminal 1002 performing the ringing operation may be as follows:
在受控终端1002的闹钟执行响铃操作的过程中,判断受控终端1002的闹钟执行响铃操作的持续时间是否大于等于预设时间阈值,当判断结果为是时,生成提示信息,并将该提示信息发送至用户设备1001。In the process that the alarm clock of the controlled terminal 1002 performs the ringing operation, it is judged whether the duration of the alarm clock of the controlled terminal 1002 performing the ringing operation is greater than or equal to the preset time threshold, when the judgment result is yes, a prompt message is generated, and The prompt information is sent to the user equipment 1001 .
可见,实施本发明实施例能够使用户及时的关闭受控终端的闹钟,操作简单,且提高了用户的使用体验。It can be seen that the implementation of the embodiment of the present invention enables the user to turn off the alarm clock of the controlled terminal in time, the operation is simple, and the use experience of the user is improved.
请参阅图11,图11是本发明实施例公开的另一种闹钟的控制系统的结构示意图。如图11所示,该闹钟的控制系统可以包括用户设备1101、服务器1102以及由服务器1102控制的、具有闹钟功能的受控终端1103,且服务器1102与用户设备1101之间预先建立有无线连接,服务器1102与受控终端1103之间预先建立有无线连接,其中:Please refer to FIG. 11 . FIG. 11 is a schematic structural diagram of another alarm clock control system disclosed in an embodiment of the present invention. As shown in Figure 11, the control system of the alarm clock may include a user equipment 1101, a server 1102, and a controlled terminal 1103 controlled by the server 1102 and having an alarm clock function, and a wireless connection is pre-established between the server 1102 and the user equipment 1101, A wireless connection is pre-established between the server 1102 and the controlled terminal 1103, wherein:
服务器1102用于检测受控终端1103的当前系统时间是否等于预设时间,当检测结果为是时,控制受控终端1103的闹钟执行响铃操作,且在控制受控终端1103的闹钟执行响铃操作的过程中,向用户设备1101发送用于提示受控终端1103处于闹钟响铃状态的提示信息,接收用户设备1101发送的闹钟关闭指令,并响铃该闹钟关闭指令控制受控终端1103的闹钟停止执行响铃操作。The server 1102 is used to detect whether the current system time of the controlled terminal 1103 is equal to the preset time. When the detection result is yes, the alarm clock of the controlled terminal 1103 is controlled to ring the alarm clock, and the alarm clock of the controlled terminal 1103 is controlled to ring the alarm clock. During the operation, send to the user equipment 1101 a prompt message for prompting that the controlled terminal 1103 is in an alarm ringing state, receive an alarm clock off command sent by the user equipment 1101, and ring the alarm clock off command to control the alarm clock of the controlled terminal 1103 Stop performing ring operations.
用户设备1101用于接收服务器1102发送的上述提示信息,并输出上述提示信息,接收用户输入的闹钟关闭指令,并将该闹钟关闭指令发送至服务器1102。The user equipment 1101 is configured to receive the above prompt information sent by the server 1102 and output the above prompt information, receive an alarm clock off instruction input by the user, and send the alarm clock off instruction to the server 1102 .
受控终端1103用于在服务器1102的控制下使受控终端1103的闹钟执行响铃操作,且在服务器1102的控制下使受控终端1103的闹钟停止执行响铃操作。The controlled terminal 1103 is configured to make the alarm clock of the controlled terminal 1103 perform ringing operation under the control of the server 1102 , and stop the alarm clock of the controlled terminal 1103 from performing the ringing operation under the control of the server 1102 .
可见,本发明实施例中,无论距具有闹钟功能的受控终端有多远,用户都能够通过其随身携带的用户设备与服务器进行通信,以使服务器控制受控终端的闹钟,这样能够使用户及时的关闭受控终端的闹钟,操作方便,提高了用户的使用体验。It can be seen that in the embodiment of the present invention, no matter how far away from the controlled terminal with the alarm clock function, the user can communicate with the server through the user equipment carried by him, so that the server can control the alarm clock of the controlled terminal, so that the user can The alarm clock of the controlled terminal is turned off in time, the operation is convenient, and the user experience is improved.
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作、模块以及子模块并不一定是本发明所必须的。It should be noted that, in the foregoing embodiments, descriptions of each embodiment have their own emphases, and for parts that are not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the involved actions, modules and sub-modules are not necessarily required by the present invention.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.
本发明实施例设备中的模块及子模块可以根据实际需要进行合并、划分和删减。The modules and submodules in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
本发明实施例中所述模块及子模块,可以通过通用集成电路,例如CPU(CentralProcessing Unit,中央处理器),或通过ASIC(Application Specific IntegratedCircuit,专用集成电路)来实现。The modules and sub-modules in the embodiments of the present invention may be realized by a general integrated circuit, such as a CPU (Central Processing Unit, central processing unit), or an ASIC (Application Specific Integrated Circuit, application specific integrated circuit).
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.
以上对本发明实施例公开的一种闹钟的控制方法及设备进行了详细介绍,本文中应用了具体实例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method and equipment for controlling an alarm clock disclosed in the embodiments of the present invention are described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only used to help understand the present invention and its implementation. Its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. limit.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510204695.XA CN104880968B (en) | 2015-04-27 | 2015-04-27 | Alarm clock control method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510204695.XA CN104880968B (en) | 2015-04-27 | 2015-04-27 | Alarm clock control method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104880968A CN104880968A (en) | 2015-09-02 |
| CN104880968B true CN104880968B (en) | 2018-01-23 |
Family
ID=53948501
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510204695.XA Active CN104880968B (en) | 2015-04-27 | 2015-04-27 | Alarm clock control method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104880968B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105516465A (en) * | 2015-11-26 | 2016-04-20 | 小米科技有限责任公司 | Methods, apparatuses and system for cancelling reminding event |
| CN106412294A (en) * | 2016-09-29 | 2017-02-15 | 珠海格力电器股份有限公司 | Alarm clock setting method, alarm clock control system and alarm clock system |
| CN106850969A (en) * | 2016-12-30 | 2017-06-13 | 宇龙计算机通信科技(深圳)有限公司 | Method, device and server that alarm clock information is interacted |
| CN109032480A (en) * | 2018-06-19 | 2018-12-18 | 珠海市魅族科技有限公司 | A kind of quarter-bell method for closing and device |
| CN111324041A (en) * | 2018-12-13 | 2020-06-23 | 珠海格力电器股份有限公司 | Household appliance alarm clock control method and device, storage medium and household appliance |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110230790A1 (en) * | 2010-03-16 | 2011-09-22 | Valeriy Kozlov | Method and system for sleep monitoring, regulation and planning |
| CN103312380A (en) * | 2012-03-09 | 2013-09-18 | 深圳市三诺电子有限公司 | Bluetooth device and method for controlling bluetooth device |
| CN202711447U (en) * | 2012-06-11 | 2013-01-30 | 深圳市比科斯电子有限公司 | Cell phone alarm clock remote control device |
| CN104301530B (en) * | 2014-09-29 | 2017-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Alarm clock acquiring method and device based on communication terminals and terminal |
| CN104506993A (en) * | 2014-12-05 | 2015-04-08 | 深圳市强大实业有限公司 | Multifunctional bluetooth sound equipment device |
-
2015
- 2015-04-27 CN CN201510204695.XA patent/CN104880968B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN104880968A (en) | 2015-09-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104880968B (en) | Alarm clock control method and device | |
| TWI532359B (en) | Handling incoming calls systems and methods and accessing data method | |
| WO2015131550A1 (en) | Method and apparatus for controlling player to enter sleep mode and terminal device | |
| JP2020042799A (en) | Earset control method and system | |
| CN105260161A (en) | Method for application software volume control and mobile terminal | |
| CN103677559A (en) | Low power detection apparatus and method for displaying information | |
| CN103596155A (en) | Method for providing voice call using text data and electronic device thereof | |
| CN103888605A (en) | Information processing method and electronic device | |
| CN104168263A (en) | Server and clock realization method thereof | |
| WO2017148270A1 (en) | Volume control method and device, and terminal | |
| CN105824424A (en) | Music control method and terminal | |
| CN105242866B (en) | A kind of volume adjusting method and user terminal | |
| CN105446695B (en) | A kind of sweep-out method and device of notification message | |
| CN108432161B (en) | Interference control method and terminal for audio service | |
| CN103853646A (en) | Called prompting system and method | |
| US9681005B2 (en) | Mobile communication device and prompting method thereof | |
| CN104506720B (en) | A kind of information cuing method and terminal | |
| CN104572007A (en) | Method for adjusting sound volume of terminal | |
| CN107846646B (en) | Control method and device of intelligent sound box and readable storage medium | |
| CN105159648A (en) | Voice information output method and electronic equipment | |
| CN104571856A (en) | Terminal | |
| CN104683576B (en) | Method for controlling playing and playing equipment | |
| CN105472128A (en) | Call control method and call control device | |
| CN105516493B (en) | A kind of mobile terminal and its alarm clock control method | |
| TWM550851U (en) | Voice transmission device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| EXSB | Decision made by sipo to initiate substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| CP01 | Change in the name or title of a patent holder |