技术领域technical field
本发明涉及云服务领域,特别是涉及一种服务器及其闹钟实现方法。The invention relates to the field of cloud services, in particular to a server and an alarm clock realization method thereof.
背景技术Background technique
现有的网络闹钟都是通过移动终端与服务器进行点对点的通信来实现,依赖智能手机设置闹钟,但手机在响闹前低电关机,或因为放在包里导致用户听不到的情况还时有发生。Existing network alarm clocks are all implemented through point-to-point communication between mobile terminals and servers, relying on smartphones to set alarm clocks, but the mobile phone is powered off before the alarm rings, or the user cannot hear it because it is placed in the bag. have happened.
发明内容Contents of the invention
本发明解决的技术问题是,提供一种服务器及其闹钟实现方法,闹钟响闹效果佳,能够带来更好的用户体验。The technical problem to be solved by the present invention is to provide a server and an alarm clock implementation method thereof, which have good alarm effect and can bring better user experience.
为解决上述技术问题,本发明提供了一种服务器的闹钟实现方法,服务器接入到网络上,服务器为智能路由器或家庭云服务器,方法包括:对连接到网络上的设备进行判断,将具有声音播放模块以及接入到网络的设备对应的标识加入到可用闹钟设备列表中并进行保存,其中,所述设备对应的标识包括设备的识别号;通过网络获取接入到网络的输入设备所推送的闹钟信息,闹钟信息包括闹钟时间、要唤醒的闹钟设备的标识以及铃声文件;将闹钟时间与当前时间进行比较,在闹钟时间与当前时间一致,并判断到要唤醒的闹钟设备的标识在可用闹钟设备列表中时,通过网络控制标识对应的闹钟设备播放铃声文件。In order to solve the above-mentioned technical problems, the present invention provides a method for realizing an alarm clock of a server. The server is connected to the network, and the server is an intelligent router or a home cloud server. The playback module and the identification corresponding to the device connected to the network are added to the list of available alarm clock devices and saved, wherein the corresponding identification of the device includes the identification number of the device; Alarm clock information, the alarm clock information includes the alarm clock time, the identification of the alarm clock device to be woken up, and the ringtone file; compare the alarm clock time with the current time, if the alarm clock time is consistent with the current time, and determine that the alarm clock device to be woken up is in the available alarm clock When it is in the device list, the alarm clock device corresponding to the network control identifier plays the ringtone file.
其中,在判断到要唤醒的闹钟设备的标识在可用闹钟设备列表中时,进一步与可用闹钟设备列表中记录的其他设备进行通信,获取可用闹钟设备列表中的其他设备与要唤醒的闹钟设备之间的距离,并选取可用闹钟设备列表中的其他设备中与要唤醒的闹钟设备之间的距离小于预设阈值者作为待唤醒设备,在闹钟时间与当前时间一致时,通过网络控制标识对应的闹钟设备播放铃声文件,并同时通过网络控制待唤醒设备播放铃声文件。Wherein, when it is judged that the identification of the alarm clock device to be woken up is in the list of available alarm clock devices, it further communicates with other devices recorded in the list of available alarm clock devices, and obtains the information between other devices in the list of available alarm clock devices and the alarm clock device to be woken up. and select the other devices in the list of available alarm clock devices whose distance to the alarm clock device to be woken up is less than the preset threshold as the device to be woken up. When the alarm clock time is consistent with the current time, the corresponding The alarm clock device plays the ringtone file, and at the same time controls the device to be woken up to play the ringtone file through the network.
其中,在通过网络获取接入到网络的输入设备所推送的闹钟信息之前,方法还包括:对网络上的设备进行判断,将具有显示模块以及输入模块的设备的标识加入到可用输入设备列表中并进行保存;通过网络获取接入到网络的输入设备所推送的闹钟信息是在满足预设条件下进行的,预设条件为:判断到输入设备的标识在可用输入设备列表中。Wherein, before obtaining the alarm clock information pushed by the input device connected to the network through the network, the method further includes: judging the devices on the network, and adding the identification of the device with the display module and the input module to the list of available input devices and save it; obtaining the alarm clock information pushed by the input device connected to the network through the network is carried out under the condition that the preset condition is satisfied, and the preset condition is: it is determined that the identifier of the input device is in the list of available input devices.
其中,通过网络获取可用输入设备列表中任一者对应的设备所推送的停止闹铃播放信息;响应停止闹铃播放信息通过网络控制标识对应的闹钟设备停止播放铃声文件。Wherein, the stop alarm playing information pushed by the device corresponding to any one of the available input device list is obtained through the network; in response to the stop alarm playing information, the alarm clock device corresponding to the network control identifier stops playing the ringtone file.
其中,闹钟信息还包括重复方式,通过网络控制标识对应的闹钟设备播放铃声文件包括:通过网络控制标识对应的闹钟设备以重复方式播放铃声文件。Wherein, the alarm clock information also includes a repetition mode, and controlling the alarm clock device corresponding to the identifier to play the ringtone file through the network includes: controlling the alarm clock device corresponding to the identifier through the network to play the ringtone file in a repeating manner.
为解决上述技术问题,本发明还提供了一种服务器,服务器接入到网络上,服务器为智能路由器或家庭云服务器,包括:接入模块,用于对连接到网络上的设备进行判断,将具有声音播放模块以及接入到网络的设备对应的标识加入到可用闹钟设备列表中并进行保存,其中,所述设备对应的标识包括设备的识别号;获取模块,与接入模块连接,用于通过网络获取接入到网络的输入设备所推送的闹钟信息,闹钟信息包括闹钟时间、要唤醒的闹钟设备的标识以及铃声文件;控制模块,与获取模块连接,用于将闹钟时间与当前时间进行比较,在闹钟时间与当前时间一致,并判断到要唤醒的闹钟设备的标识在可用闹钟设备列表中时,通过网络控制标识对应的闹钟设备播放铃声文件。In order to solve the above technical problems, the present invention also provides a server, the server is connected to the network, the server is an intelligent router or a home cloud server, including: an access module, used to judge the devices connected to the network, The identification corresponding to the device having the sound playing module and access to the network is added to the list of available alarm clock devices and stored, wherein the identification corresponding to the device includes the identification number of the device; the acquisition module is connected to the access module for Obtain the alarm clock information pushed by the input device connected to the network through the network. The alarm clock information includes the alarm clock time, the identification of the alarm clock device to be awakened, and the ringtone file; the control module is connected with the acquisition module, and is used to compare the alarm clock time with the current time. By comparison, when the alarm clock time is consistent with the current time, and it is determined that the alarm clock device to be woken up is in the list of available alarm clock devices, the network controls the corresponding alarm clock device to play the ringtone file.
其中,控制模块还用于在判断到要唤醒的闹钟设备的标识在可用闹钟设备列表中时,进一步与可用闹钟设备列表中记录的其他设备进行通信,获取可用闹钟设备列表中的其他设备与要唤醒的闹钟设备之间的距离,并选取可用闹钟设备列表中的其他设备中与要唤醒的闹钟设备之间的距离小于预设阈值者作为待唤醒设备,在闹钟时间与当前时间一致时,通过网络控制标识对应的闹钟设备播放铃声文件,并同时通过网络控制待唤醒设备播放铃声文件。Wherein, the control module is also used to further communicate with other devices recorded in the available alarm device list when it is determined that the alarm clock device to be woken up is in the available alarm device list, and to obtain information about other devices in the available alarm device list and the required alarm device. The distance between the wake-up alarm clock devices, and select the other devices in the list of available alarm clock devices whose distance from the alarm clock device to be woken up is less than the preset threshold as the device to be woken up. When the alarm clock time is consistent with the current time, pass The network controls the alarm clock device corresponding to the identifier to play the ringtone file, and at the same time controls the device to be woken up to play the ringtone file through the network.
其中,接入模块还用于对网络上的设备进行判断,将具有显示模块以及输入模块的设备的标识加入到可用输入设备列表中并进行保存;获取模块通过网络获取接入到网络的输入设备所推送的闹钟信息是在满足预设条件下进行的,预设条件为:判断到输入设备的标识在可用输入设备列表中。Wherein, the access module is also used for judging the devices on the network, adding the identifiers of the devices with the display module and the input module into the list of available input devices and saving them; the acquisition module acquires the input devices connected to the network through the network The alarm clock information is pushed when a preset condition is met, and the preset condition is: it is determined that the identifier of the input device is in the list of available input devices.
其中,获取模块通过网络获取可用输入设备列表中任一者对应的设备所推送的停止闹铃播放信息;控制模块响应停止闹铃播放信息通过网络控制标识对应的闹钟设备停止播放铃声文件。Wherein, the acquisition module obtains the stop alarm playing information pushed by the device corresponding to any one of the available input device list through the network; the control module responds to the stop alarm playing information and controls the corresponding alarm clock device to stop playing the ringtone file through the network.
其中,闹钟信息还包括重复方式,控制模块通过网络控制标识对应的闹钟设备以重复方式播放铃声文件。Wherein, the alarm clock information also includes a repeat mode, and the control module controls and identifies the corresponding alarm clock device to play the ringtone file in a repeat mode through the network.
通过上述方案,本发明的有益效果是:通过对连接到网络上的设备进行判断,将具有声音播放模块以及接入到网络的设备对应的标识加入到可用闹钟设备列表中并进行保存;通过网络获取接入到网络的输入设备所推送的闹钟信息,闹钟信息包括闹钟时间、要唤醒的闹钟设备的标识以及铃声文件;将闹钟时间与当前时间进行比较,在闹钟时间与当前时间一致时,并判断到要唤醒的闹钟设备的标识在可用闹钟设备列表中,通过网络控制标识对应的闹钟设备播放铃声文件,闹钟响闹效果佳,能够带来更好的用户体验。Through the above scheme, the beneficial effect of the present invention is: by judging the equipment connected to the network, adding the identification corresponding to the equipment with the sound playing module and connected to the network into the list of available alarm clock equipment and saving it; Obtain the alarm clock information pushed by the input device connected to the network. The alarm clock information includes the alarm clock time, the identification of the alarm clock device to be woken up, and the ringtone file; compare the alarm clock time with the current time, and when the alarm clock time is consistent with the current time, and It is determined that the identifier of the alarm clock device to be woken up is in the list of available alarm clock devices, and the alarm clock device corresponding to the identifier is controlled to play the ringtone file through the network. The alarm effect is good and can bring better user experience.
附图说明Description of drawings
图1是本发明第一实施例的服务器的闹钟实现方法的流程示意图;FIG. 1 is a schematic flowchart of a method for implementing an alarm clock in a server according to a first embodiment of the present invention;
图2是本发明第一实施例的服务器的结构示意图。Fig. 2 is a schematic structural diagram of a server according to the first embodiment of the present invention.
具体实施方式Detailed ways
请参见图1,图1是本发明第一实施例的服务器的闹钟实现方法的流程示意图。如图1所示,服务器的闹钟实现方法包括:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a method for implementing an alarm clock on a server according to a first embodiment of the present invention. As shown in Figure 1, the alarm clock realization method of the server includes:
步骤S10:对连接到网络上的设备进行判断,将具有声音播放模块以及接入到网络的设备对应的标识加入到可用闹钟设备列表中并进行保存。Step S10: Judging the devices connected to the network, adding the identification corresponding to the device with the sound playing module and connected to the network into the list of available alarm clock devices and saving it.
在本发明实施例中,服务器接入到网络上,监控所有接入智能路由器或家庭云服务器的设备。在步骤S10中,具有声音播放模块以及接入到网络的设备表现为闹钟设备。服务器预先根据对应的标识将闹钟设备加入到可用闹钟设备列表中。其中,闹钟设备的标识可以是设备识别号或网络地址等。闹钟设备是能够通过播放声音、振动等起到响闹功能的终端设备,具有声音播放能力,以及网络唤醒/休眠能力,比如智能手机、电脑、平板电脑、智能电视、蓝牙音箱、蓝牙门铃等。如此,如果在手机在响闹前低电关机,或因为放在包里导致用户听不到的情况时,可以通过其他闹钟设备来响闹,以获得更好的闹钟响闹效果。In the embodiment of the present invention, the server is connected to the network to monitor all devices connected to the smart router or the home cloud server. In step S10, the device with the sound playing module and connected to the network acts as an alarm clock device. The server adds the alarm clock device to the list of available alarm clock devices in advance according to the corresponding identification. Wherein, the identifier of the alarm clock device may be a device identification number or a network address or the like. An alarm clock device is a terminal device that can play an alarm function by playing sound, vibration, etc., and has the ability to play sound and wake up/sleep over the network, such as smartphones, computers, tablets, smart TVs, Bluetooth speakers, and Bluetooth doorbells. In this way, if the mobile phone is turned off due to low power before the alarm sounds, or the user cannot hear it because it is placed in the bag, the alarm can be sounded through other alarm clock devices to obtain a better alarm clock sound effect.
步骤S11:通过网络获取接入到网络的输入设备所推送的闹钟信息,闹钟信息包括闹钟时间、要唤醒的闹钟设备的标识以及铃声文件。Step S11: Obtain through the network the alarm clock information pushed by the input device connected to the network. The alarm clock information includes the alarm clock time, the identification of the alarm clock device to be woken up, and the ringtone file.
在本发明实施例中,在通过网络获取接入到网络的输入设备所推送的闹钟信息之前,需要对网络上的设备进行判断,将具有显示模块以及输入模块的设备的标识加入到可用输入设备列表中并进行保存,并且通过网络获取接入到网络的输入设备所推送的闹钟信息是在满足预设条件下进行的,预设条件为:判断到输入设备的标识在可用输入设备列表中。其中,具有显示模块以及输入模块的设备表现为输入设备,输入设备也可以是能够使用户完成闹钟设置的终端设备,即输入设备是能够使用户完成闹钟设置的终端设备,比如电脑、智能手机、平板电脑、智能电视等。其中的输入模块可以为触摸、键盘、遥控等。在本发明的其他实施例中,闹钟设备可以同时是输入设备。In the embodiment of the present invention, before obtaining the alarm clock information pushed by the input device connected to the network through the network, it is necessary to judge the devices on the network, and add the identification of the device with the display module and the input module to the available input devices The list and saving, and obtaining the alarm clock information pushed by the input device connected to the network through the network is carried out under the condition that the preset condition is met, and the preset condition is: it is determined that the identifier of the input device is in the list of available input devices. Wherein, the device having the display module and the input module is represented as an input device, and the input device may also be a terminal device that enables the user to complete the setting of the alarm clock, that is, the input device is a terminal device that enables the user to complete the setting of the alarm clock, such as a computer, a smart phone, Tablets, Smart TVs, etc. The input module can be touch, keyboard, remote control and so on. In other embodiments of the present invention, the alarm clock device can also be an input device.
在本发明实施例中,闹钟信息还包括重复方式,服务器通过网络控制标识对应的闹钟设备以重复方式播放铃声文件。在步骤S11中,用户通过输入设备里预置的应用或网页链接,进行闹钟的设置,如选择时间、重复方式、铃声等,完成闹钟的设置后输入设备会将相关设置信息和铃声文件等发送给闹钟服务器保存,从而完成设置。In the embodiment of the present invention, the alarm clock information also includes a repeat mode, and the server controls and identifies the corresponding alarm clock device through the network to play the ringtone file in a repeat mode. In step S11, the user sets the alarm clock by inputting the preset application or web link in the device, such as selecting the time, repeat mode, ringtone, etc. After completing the alarm clock setting, the input device will send the relevant setting information and ringtone file, etc. Save it to the alarm clock server to complete the setting.
步骤S12:将闹钟时间与当前时间进行比较,在闹钟时间与当前时间一致,并判断到要唤醒的闹钟设备的标识在可用闹钟设备列表中时,通过网络控制标识对应的闹钟设备播放铃声文件。Step S12: Comparing the alarm clock time with the current time, when the alarm clock time is consistent with the current time, and judging that the alarm clock device to be awakened is in the list of available alarm clock devices, control the corresponding alarm clock device to play the ringtone file through the network.
具体地,服务器内有无线循环的计时器,把设置好的闹钟与当前时钟的值进行比较。当发现需要响闹时,根据要唤醒的闹钟设备的标识查询可用闹钟设备列表,判断到要唤醒的闹钟设备的标识在可用闹钟设备列表中时,通过网络控制标识对应的闹钟设备播放铃声文件,唤醒需要唤醒的闹钟设备使其开始响闹,同时发送闹钟通知给所有注册的输入设备。Specifically, there is a wireless loop timer in the server, and the set alarm clock is compared with the value of the current clock. When it is found that an alarm needs to be sounded, query the list of available alarm clock devices according to the identification of the alarm clock device to be awakened, and when it is judged that the identification of the alarm clock device to be awakened is in the list of available alarm clock devices, the alarm clock device corresponding to the network control identification plays the ringtone file, Wake up the alarm clock device that needs to be woken up to make it start ringing, and send alarm clock notifications to all registered input devices at the same time.
在步骤S12中,在判断到要唤醒的闹钟设备的标识在可用闹钟设备列表中时,还可以进一步与可用闹钟设备列表中记录的其他设备进行通信,获取可用闹钟设备列表中的其他设备与要唤醒的闹钟设备之间的距离,并选取可用闹钟设备列表中的其他设备中与要唤醒的闹钟设备之间的距离小于预设阈值者作为待唤醒设备,在闹钟时间与当前时间一致时,通过网络控制标识对应的闹钟设备播放铃声文件,并同时通过网络控制待唤醒设备播放铃声文件。可见在本发明实施例中,服务器可以同时唤醒多个闹钟设备。In step S12, when it is determined that the alarm clock device to wake up is in the list of available alarm clock devices, it can further communicate with other devices recorded in the list of available alarm clock devices, and obtain the information of other devices in the list of available alarm clock devices and the device to be awakened. The distance between the wake-up alarm clock devices, and select the other devices in the list of available alarm clock devices whose distance from the alarm clock device to be woken up is less than the preset threshold as the device to be woken up. When the alarm clock time is consistent with the current time, pass The network controls the alarm clock device corresponding to the identifier to play the ringtone file, and at the same time controls the device to be woken up to play the ringtone file through the network. It can be seen that in the embodiment of the present invention, the server can wake up multiple alarm clock devices at the same time.
在本发明实施例中,如果需要关闭闹钟设备的响闹,则通过网络获取可用输入设备列表中任一者对应的设备所推送的停止闹铃播放信息,然后响应该停止闹铃播放信息,通过网络控制标识对应的闹钟设备停止播放铃声文件。In the embodiment of the present invention, if it is necessary to turn off the ringing of the alarm clock device, the stop alarm playing information pushed by the device corresponding to any one of the available input device lists is obtained through the network, and then in response to the stop alarm playing information, through The alarm clock device corresponding to the network control identifier stops playing the ringtone file.
请参阅图2,图2是本发明第一实施例的服务器的结构示意图。如图2所示,服务器20包括:接入模块201、获取模块202以及控制模块203。接入模块201用于对连接到网络上的设备进行判断,将具有声音播放模块以及接入到网络的设备对应的标识加入到可用闹钟设备列表中并进行保存。获取模块202与接入模块201连接,用于通过网络获取接入到网络的输入设备所推送的闹钟信息,闹钟信息包括闹钟时间、要唤醒的闹钟设备的标识以及铃声文件。控制模块203与获取模块202连接,用于将闹钟时间与当前时间进行比较,在闹钟时间与当前时间一致时,并判断到要唤醒的闹钟设备的标识在可用闹钟设备列表中,通过网络控制标识对应的闹钟设备播放铃声文件。Please refer to FIG. 2 . FIG. 2 is a schematic structural diagram of a server according to a first embodiment of the present invention. As shown in FIG. 2 , the server 20 includes: an access module 201 , an acquisition module 202 and a control module 203 . The access module 201 is used for judging the devices connected to the network, and adding the identification corresponding to the device having the sound playing module and connected to the network into the available alarm clock device list and saving it. The obtaining module 202 is connected with the access module 201, and is used to obtain the alarm clock information pushed by the input device connected to the network through the network. The alarm clock information includes the alarm clock time, the identification of the alarm clock device to be woken up, and the ringtone file. The control module 203 is connected with the acquisition module 202, and is used for comparing the alarm clock time with the current time. When the alarm clock time is consistent with the current time, it is judged that the alarm clock device to be awakened is in the available alarm clock device list, and the identification is controlled through the network. The corresponding alarm clock device plays the ringtone file.
在本发明实施例中,接入模块201还用于对网络上的设备进行判断,将具有显示模块以及输入模块的设备的标识加入到可用输入设备列表中并进行保存。获取模块202通过网络获取接入到网络的输入设备所推送的闹钟信息是在满足预设条件下进行的,预设条件为:判断到输入设备的标识在可用输入设备列表中。In the embodiment of the present invention, the access module 201 is also used for judging the devices on the network, and adding and saving the identifiers of the devices having the display module and the input module to the list of available input devices. The acquiring module 202 acquires the alarm clock information pushed by the input device connected to the network through the network under the condition that the preset condition is satisfied, and the preset condition is: it is determined that the identifier of the input device is in the list of available input devices.
在本发明实施例中,闹钟设备的标识可以是设备识别号或网络地址等。服务器接入到网络上,监控所有接入智能路由器或家庭云服务器的设备,并和接入设备进行握手通讯以判断其是否为合适的输入设备或闹钟设备,即判断输入设备是否在可用输入设备列表中,闹钟设备是否在可用闹钟设备列表中。其中,闹钟设备是能够通过播放声音、振动等起到响闹功能的终端设备,具有声音播放能力,以及网络唤醒/休眠能力,比如智能手机、电脑、平板电脑、智能电视、蓝牙音箱、蓝牙门铃等。而输入设备是能够使用户完成闹钟设置的终端设备,比如电脑、智能手机、平板电脑、智能电视等。其中输入设备中的输入模块可以为触摸、键盘、遥控等。在本发明的其他实施例中,闹钟设备可以同时是输入设备。如此,如果在手机在响闹前低电关机,或因为放在包里导致用户听不到的情况时,可以通过其他闹钟设备来响闹,以获得更好的闹钟响闹效果。In this embodiment of the present invention, the identifier of the alarm clock device may be a device identification number or a network address or the like. The server is connected to the network, monitors all devices connected to the smart router or home cloud server, and performs handshake communication with the connected device to determine whether it is a suitable input device or alarm clock device, that is, to determine whether the input device is an available input device In the list, whether the alarm clock device is in the list of available alarm clock devices. Among them, the alarm clock device is a terminal device that can play an alarm function by playing sound, vibration, etc., and has the ability to play sound and wake up/sleep on the network, such as smart phones, computers, tablets, smart TVs, Bluetooth speakers, and Bluetooth doorbells. Wait. The input device is a terminal device that enables the user to complete the setting of the alarm clock, such as a computer, a smart phone, a tablet computer, a smart TV, and the like. The input module in the input device may be touch, keyboard, remote control and the like. In other embodiments of the present invention, the alarm clock device can also be an input device. In this way, if the mobile phone is turned off due to low power before the alarm sounds, or the user cannot hear it because it is placed in the bag, the alarm can be sounded through other alarm clock devices to obtain a better alarm clock sound effect.
在本发明实施例中,闹钟信息还包括重复方式,控制模块通过网络控制标识对应的闹钟设备以重复方式播放铃声文件。用户通过输入设备里预置的应用或网页链接,进行闹钟的设置,如选择时间、重复方式、铃声等,完成闹钟的设置后输入设备会将相关设置信息和铃声文件等发送给闹钟服务器保存,从而完成设置。In the embodiment of the present invention, the alarm clock information also includes a repeat mode, and the control module controls and identifies the corresponding alarm clock device to play the ringtone file in a repeat mode through the network. The user sets the alarm clock through the preset application or web link in the input device, such as selecting time, repeat mode, ringtone, etc. After completing the alarm clock setting, the input device will send the relevant setting information and ringtone files to the alarm clock server for storage. This completes the setup.
控制模块203在判断到要唤醒的闹钟设备的标识在可用闹钟设备列表中时,还可以进一步与可用闹钟设备列表中记录的其他设备进行通信,获取可用闹钟设备列表中的其他设备与要唤醒的闹钟设备之间的距离,并选取可用闹钟设备列表中的其他设备中与要唤醒的闹钟设备之间的距离小于预设阈值者作为待唤醒设备,在闹钟时间与当前时间一致时,通过网络控制标识对应的闹钟设备播放铃声文件,并同时通过网络控制待唤醒设备播放铃声文件。When the control module 203 determines that the identifier of the alarm clock device to be woken up is in the list of available alarm clock devices, it can further communicate with other devices recorded in the list of available alarm clock devices, and obtain the information of other devices in the list of available alarm clock devices and the alarm clock device to be woken up. The distance between the alarm clock devices, and select the other devices in the list of available alarm clock devices whose distance to the alarm clock device to be woken up is less than the preset threshold as the device to be woken up. When the alarm clock time is consistent with the current time, it is controlled through the network Identify the corresponding alarm clock device to play the ringtone file, and at the same time control the device to be woken up to play the ringtone file through the network.
在本发明实施例中,需要关闭闹钟设备响闹时,获取模块202通过网络获取可用输入设备列表中任一者对应的设备所推送的停止闹铃播放信息;控制模块响应停止闹铃播放信息通过网络控制标识对应的闹钟设备停止播放铃声文件。In the embodiment of the present invention, when it is necessary to turn off the alarm clock device to make an alarm, the acquisition module 202 obtains the stop alarm playing information pushed by the device corresponding to any one of the available input device lists through the network; the control module responds to the stop alarm playing information through The alarm clock device corresponding to the network control identifier stops playing the ringtone file.
综上所述,本发明通过对连接到网络上的设备进行判断,将具有声音播放模块以及接入到网络的设备对应的标识加入到可用闹钟设备列表中并进行保存;通过网络获取接入到网络的输入设备所推送的闹钟信息,闹钟信息包括闹钟时间、要唤醒的闹钟设备的标识以及铃声文件;将闹钟时间与当前时间进行比较,在闹钟时间与当前时间一致时,并判断到要唤醒的闹钟设备的标识在可用闹钟设备列表中,通过网络控制标识对应的闹钟设备播放铃声文件,闹钟响闹效果佳,能够带来更好的用户体验。To sum up, the present invention, by judging the devices connected to the network, adds the identifier corresponding to the device with the sound playback module and the device connected to the network into the list of available alarm clock devices and saves them; The alarm clock information pushed by the input device of the network, the alarm clock information includes the alarm clock time, the identification of the alarm clock device to be woken up, and the ringtone file; compare the alarm clock time with the current time, and judge that it is necessary to wake up when the alarm clock time is consistent with the current time The identifier of the alarm clock device is in the list of available alarm clock devices, and the alarm clock device corresponding to the identifier is controlled to play the ringtone file through the network, and the alarm effect is good, which can bring a better user experience.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only an embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technologies fields, all of which are equally included in the scope of patent protection of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410330395.1ACN104168263B (en) | 2014-07-11 | 2014-07-11 | A kind of server and its alarm clock implementing method |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410330395.1ACN104168263B (en) | 2014-07-11 | 2014-07-11 | A kind of server and its alarm clock implementing method |
| Publication Number | Publication Date |
|---|---|
| CN104168263A CN104168263A (en) | 2014-11-26 |
| CN104168263Btrue CN104168263B (en) | 2018-04-10 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410330395.1AActiveCN104168263B (en) | 2014-07-11 | 2014-07-11 | A kind of server and its alarm clock implementing method |
| Country | Link |
|---|---|
| CN (1) | CN104168263B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104519126A (en)* | 2014-12-09 | 2015-04-15 | 北京元心科技有限公司 | Method and system for sharing clock by multiple devices |
| CN104640046B (en)* | 2014-12-29 | 2017-11-14 | 广东欧珀移动通信有限公司 | The method and system of wireless music system alarm clock are set |
| CN106162571A (en)* | 2015-04-03 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of method, terminal and server realizing group's prompting |
| CN105101003B (en)* | 2015-07-24 | 2018-07-06 | 广东欧珀移动通信有限公司 | Speaker sets the alarm clock setting method, system and the speaker of music tone ringer |
| CN105516465A (en)* | 2015-11-26 | 2016-04-20 | 小米科技有限责任公司 | Methods, apparatuses and system for cancelling reminding event |
| CN105898080A (en)* | 2016-06-29 | 2016-08-24 | 努比亚技术有限公司 | Alarm clock reminding method and device |
| CN106201229A (en)* | 2016-07-22 | 2016-12-07 | 乐视控股(北京)有限公司 | The collocation method of a kind of alarm clock information and equipment |
| CN110166955B (en)* | 2019-05-14 | 2020-09-08 | 上海连尚网络科技有限公司 | Method and equipment for reminding schedule |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130198271A1 (en)* | 2013-03-14 | 2013-08-01 | Mengyuan Yu | System, Method, and Implementation of providing Network-based Alarm Clock |
| Publication number | Publication date |
|---|---|
| CN104168263A (en) | 2014-11-26 |
| Publication | Publication Date | Title |
|---|---|---|
| CN104168263B (en) | A kind of server and its alarm clock implementing method | |
| CN105677460B (en) | Applied program processing method and device | |
| CN107277266B (en) | A mode switching method and device | |
| CN105487650A (en) | Intelligent alarm clock turn-off method and apparatus | |
| CN113039518B (en) | Playback control method and device, computer-readable storage medium, electronic equipment | |
| CN103905442B (en) | Awakening method and device in a kind of data syn-chronization | |
| CN103491240B (en) | A kind of alarm clock ringing method, device and mobile terminal | |
| CN105491217A (en) | Terminal audio control method, device and terminal | |
| CN103744574A (en) | A method and device for turning off an alarm clock for a mobile terminal, and the mobile terminal | |
| CN103124307A (en) | An easy-to-find ringing reminder method, device and mobile phone | |
| CN105227783A (en) | Alarm clock ringing method and device | |
| CN108924921A (en) | Time synchronization control method, device, storage medium, terminal and system | |
| CN105808716B (en) | Alarm clock reminding method and device and terminal | |
| CN105376408A (en) | Method and system for setting sleep mode of terminal | |
| CN108184029B (en) | Alarm clock reminding method and mobile terminal | |
| CN107846646B (en) | Control method and device of intelligent sound box and readable storage medium | |
| CN104683576B (en) | Method for controlling playing and playing equipment | |
| CN105245722B (en) | reminding method of mobile terminal and mobile terminal | |
| CN114697441A (en) | An alarm clock control method, storage medium and terminal device | |
| CN109451387B (en) | Headphone shutdown process control method, computer readable storage medium and headphone | |
| CN104811550A (en) | Information ringing method and mobile terminal | |
| CN106489264A (en) | Method for personalized ring-tone and electronic equipment | |
| CN106911837A (en) | The method of adjustment and device of the tinkle of bells | |
| US20150065097A1 (en) | System and method to track and log mobile communication device call status when the device is not in possession | |
| CN106445458B (en) | Playing control method, device and terminal |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20211202 Address after:264200 No. 369-11, Shuangdao Road, Weihai high district, Weihai City, Shandong Province Patentee after:Weihai Regional Innovation Center Co.,Ltd. Address before:516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West Patentee before:HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd. | |
| TR01 | Transfer of patent right | Effective date of registration:20240920 Address after:Room 1414, Building A, Innovation and Entrepreneurship Base, No.213-2 Torch Road, Torch High tech Industrial Development Zone, Weihai City, Shandong Province, 264200 Patentee after:Jiacheng Enterprise Management (Weihai) Co.,Ltd. Country or region after:China Address before:264200 No. 369-11, Shuangdao Road, Weihai high district, Weihai City, Shandong Province Patentee before:Weihai Regional Innovation Center Co.,Ltd. Country or region before:China | |
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20240927 Address after:Room 570, 5th Floor, No. 423 Weiqing West Road, Jinshan District, Shanghai, 201500 Patentee after:SHANGHAI SHENGQI CULTURE AND CREATIVE CO.,LTD. Country or region after:China Address before:Room 1414, Building A, Innovation and Entrepreneurship Base, No.213-2 Torch Road, Torch High tech Industrial Development Zone, Weihai City, Shandong Province, 264200 Patentee before:Jiacheng Enterprise Management (Weihai) Co.,Ltd. Country or region before:China | |
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20250609 Address after:No.5016, Wenxiang Road, Xiaokunshan Town, Songjiang District, Shanghai 201600 Patentee after:Changji Botao (Shanghai) Outdoor Products Co.,Ltd. Country or region after:China Address before:Room 570, 5th Floor, No. 423 Weiqing West Road, Jinshan District, Shanghai, 201500 Patentee before:SHANGHAI SHENGQI CULTURE AND CREATIVE CO.,LTD. Country or region before:China | |
| TR01 | Transfer of patent right |