WO2016033940A1 - 智能终端、功能终端及闹钟信息的同步方法 - Google Patents
智能终端、功能终端及闹钟信息的同步方法 Download PDFInfo
- Publication number
- WO2016033940A1 WO2016033940A1 PCT/CN2015/072229 CN2015072229W WO2016033940A1 WO 2016033940 A1 WO2016033940 A1 WO 2016033940A1 CN 2015072229 W CN2015072229 W CN 2015072229W WO 2016033940 A1 WO2016033940 A1 WO 2016033940A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- alarm
- information
- data packet
- function
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the invention belongs to the technical field of mobile terminals, and particularly relates to an intelligent terminal and a function terminal, and a method for synchronizing the alarm information thereof.
- Smart Intelligent platform devices such as phone (SP, smart terminal) are becoming more and more popular, which is affecting people's daily work and life, but current smart platform devices tend to be large, heavy and consume high power, such as large-screen mobile phones and tablets. Computer, etc.
- the embodiment of the present invention provides a method for synchronizing an intelligent terminal, a function terminal, and an alarm clock, which can effectively implement a combination of an intelligent terminal and a function terminal, and implement a function synchronization of the smart terminal by using the function terminal.
- a method for synchronizing an intelligent terminal, a function terminal, and an alarm clock which can effectively implement a combination of an intelligent terminal and a function terminal, and implement a function synchronization of the smart terminal by using the function terminal.
- an embodiment of the present invention provides a method for synchronizing alarm clock information, which includes: an intelligent terminal acquiring alarm information of a local alarm clock; generating command information and/or status information according to the alarm information, and packaging into a predetermined format. a data packet; determining whether there is a function terminal that has established a wireless connection; and when determining that there is a function terminal that has established a wireless connection, transmitting the data packet to the function terminal by using a wireless method to pass the function terminal
- the data packet of the predetermined format is parsed, and then the alarm information is synchronized on the alarm of the function terminal itself according to the command information and/or status information.
- the step of the smart terminal acquiring the alarm information of the local alarm clock includes: when the smart terminal receives the synchronization request sent by the function terminal by using the wireless mode, the smart terminal acquires the alarm information of the local alarm according to the synchronization request.
- the command information includes activation, sleep, and stop of an alarm
- the status information includes an alarm list and an alarm clock. Create, delete, enable, and deactivate each alarm in the list.
- the synchronization method further includes: the smart terminal receives operation information returned by the function terminal after synchronizing the alarm information; and the smart terminal sleeps, stops, creates, deletes, enables or disables the local alarm according to the operation information. Operation.
- the step of transmitting the data packet to the function terminal by using a wireless method includes: transmitting the data packet to the function terminal by using a Bluetooth serial port transmission protocol, where the data packet transmission format is The communication terminal identification command, the function terminal application identification code, the smart terminal application identification code, the data type, the transmission data length, and the data content, and the function terminal and the intelligent terminal having the Android platform are implemented by a pre-registered callback mechanism. The transmission of the data packet.
- the embodiment of the present invention further provides an intelligent terminal, which includes: an obtaining module, configured to acquire alarm information of a local alarm clock of the smart terminal; and a data analysis and packaging module, configured to acquire according to the acquiring module
- the alarm clock information generates command information and/or status information and is packaged into a data packet of a predetermined format
- the determining module is configured to determine, when the data analysis and packaging module packages the data packet, whether there is a functional terminal that has established a wireless connection
- the transmission module And, when the determining module determines that there is a function terminal that has established a wireless connection, transmitting the data packet to the function terminal by using a wireless manner, to perform, by using the function terminal, the data packet in a predetermined format. Parsing, and then synchronizing the alarm information on the alarm of the function terminal itself according to the command information and/or status information.
- the acquiring module is specifically configured to: when the transmitting module receives the synchronization request sent by the function terminal by using a wireless manner, acquire the alarm information of the local alarm according to the synchronization request; the transmission module is further configured to receive the The operation information returned by the function terminal after synchronizing the alarm information.
- the smart terminal further includes: an execution module, configured to perform operations of sleeping, stopping, creating, deleting, enabling or deactivating the local alarm according to the operation information received by the transmission module.
- the command information includes activation, sleep and stop of an alarm clock, the status information includes activation and deactivation of each alarm clock in the alarm list and the alarm list, and the transmission module passes the data packet through a Bluetooth serial transmission protocol.
- the embodiment of the present invention further provides a method for synchronizing alarm clock information, which includes: the function terminal receives a data packet transmitted by the intelligent terminal by using a wireless manner; parses the data packet according to a predetermined format, and obtains command information and And/or status information; synchronizing the alarm information with the command information and/or status information on the alarm of the function terminal itself according to the command information and/or status information.
- the method further includes: the function terminal acquiring the synchronization request operation of the user's own alarm clock; and transmitting the synchronization request to the smart terminal by using the synchronization request operation according to the synchronization request So that the smart terminal acquires alarm information of the local alarm of the smart terminal according to the synchronization request, and the status information includes creation, deletion, activation, and deactivation of each alarm clock in the alarm list and the alarm list.
- the method further includes: ringing the function terminal in the alarm clock of the alarm clock
- the interface acquires operation information of the user, and sends the operation information to the smart terminal by using a wireless manner, so that the smart terminal activates, sleeps, or stops the local alarm according to the command information in the operation information.
- the transmission format of the data packet includes a communication party identification command, a function terminal application identification code, a smart terminal application identification code, a data type, a transmission data length, and a data content, and the function terminal and the smart terminal having an Android platform
- the transmission of the data packet is achieved by a pre-registered callback mechanism.
- the embodiment of the present invention further provides a function terminal, comprising: a transceiver module, configured to receive a data packet transmitted by the intelligent terminal by using a wireless manner; and a data parsing module, configured to parse the transceiver according to a predetermined format
- the data packet received by the module is used to obtain command information and/or status information.
- the synchronization processing module is configured to synchronize the command information and/or status information obtained by the data parsing module according to the alarm of the function terminal itself. Alarm information of the command information and/or status information.
- the function terminal further includes: an action obtaining module, configured to acquire a synchronization request operation of the user's own alarm clock before receiving the data packet transmitted by the intelligent terminal by using the wireless manner, and acquire the user operation on the ringing interface of the alarm clock of the alarm clock. information.
- the transceiver module is configured to send a synchronization request to the smart terminal in a wireless manner according to the synchronization request operation, so that the smart terminal acquires alarm information of a local alarm of the smart terminal according to the synchronization request, where the status information includes an alarm list.
- the transmission format of the data packet includes a communication party identification command, a function terminal application identification code, a smart terminal application identification code, a data type, a transmission data length, and a data content
- the function terminal has an Android platform
- the transmission of the data packet is implemented between the smart terminals through a pre-registered callback mechanism.
- the beneficial effects of the embodiments of the present invention are: the intelligent terminal, the function terminal, and the synchronization method of the alarm information provided by the embodiment of the present invention, using the wireless connection between the intelligent terminal and the function terminal, the smart terminal is localized The alarm information is synchronously updated to the function terminal, and the effect that the function terminal replaces the smart terminal for the alarm clock is realized.
- the embodiment of the present invention does not need to repeatedly operate the smart terminal, but fully utilizes the function terminal with small size, low power consumption, and long standby time to realize the alternative use of the smart terminal, effectively
- the combination between the intelligent terminal and the functional terminal is realized, and the function terminal is used to realize the synchronization of the alarm function of the intelligent terminal, which is convenient to carry, low in radiation and durable, and more energy-saving and environmentally friendly.
- FIG. 2 is a block diagram of functional modules of an embodiment of the intelligent terminal of the present invention.
- FIG. 3 is a schematic flow chart of a method for synchronizing alarm information of the present invention on a function terminal side;
- FIG. 5 is a functional block diagram of an embodiment of a system for implementing a method for synchronizing alarm information of the present invention
- FIG. 9 is a flowchart of an implementation of another preferred application example of the smart terminal of the present invention.
- FIG. 1 is a schematic flowchart of a synchronization method of an alarm clock information of the present invention on a smart terminal side.
- the synchronization method of the alarm information in this embodiment includes but is not limited to the following steps.
- step S11 the smart terminal acquires the alarm information of the local alarm clock.
- step S11 when receiving the synchronization request sent by the function terminal by the wireless terminal, the smart terminal acquires the alarm information of the local alarm according to the synchronization request.
- the smart terminal can also actively acquire the alarm information, such as detecting a function terminal having a wireless connection, another smart terminal, or manually triggering the user, which is not limited herein.
- Step S12 generating command information and/or status information according to the alarm information and packing into a data packet of a predetermined format.
- command information of this embodiment includes activation, sleep, and stop of the alarm clock
- status information includes operations such as creation, deletion, activation, and deactivation of each alarm clock in the alarm clock list and the alarm list.
- Step S14 When it is determined that there is a function terminal that has established a wireless connection, the data packet is wirelessly transmitted to the function terminal, so that the data packet of the predetermined format is parsed by the function terminal, and then according to the command information and/or the status information. Synchronize the alarm information on the alarm of the function terminal itself.
- Step S14 can transmit the data packet to the function terminal by using a Bluetooth serial port transmission protocol, wherein the data packet transmission format includes a communication party identification command CMD, a function terminal application identification code sender, a smart terminal application identification code receiver, and a data type data.
- Type transfer data length data lenth and data content data, where: sender such as SP_alarm, For a receiver such as FP_alarm, the value of data_type can be 0 and 1, and 0 and 1 represent buffer and file, respectively.
- the function terminal and the intelligent terminal with the Android platform realize the transmission of the data packet through the pre-registered callback mechanism.
- the smart terminal passes the packaged data packet through the Bluetooth serial port transmission protocol (BT).
- SPP Bluetooth serial port transmission protocol
- the data transmission design between the intelligent terminal and the functional terminal in this embodiment preferably adopts the transmission protocol of BT SPP, and utilizes BT.
- SPP defines the process and rules of simulating RS232 serial communication standard between two Bluetooth devices of intelligent terminal and functional terminal through Bluetooth, realizing BT between the two
- the virtual serial port transmission has a simple structure, and does not need to make major changes to the existing intelligent terminal or function terminal, and has low cost, easy operation and promotion. In other embodiments, it can also be based on Apple's Mac OS.
- the intelligent terminal of the X operating system is not to be described and limited in detail within the scope of the skilled person in the art.
- the synchronization method of the present invention may further include: the intelligent terminal receives the operation information returned by the function terminal after synchronizing the alarm information; and the intelligent terminal sleeps, stops, and creates the local alarm according to the operation information. , delete, enable, or disable actions.
- the method for synchronizing the intelligent terminal, the function terminal and the alarm clock information uses the wireless connection between the intelligent terminal and the function terminal to synchronously update the alarm information of the local terminal of the intelligent terminal to the function terminal, thereby realizing the replacement of the function terminal The effect of the smart terminal using the alarm clock.
- the embodiment of the present invention does not need to repeatedly operate the smart terminal, but fully utilizes the function terminal with small size, low power consumption, and long standby time to realize the alternative use of the smart terminal, effectively
- the combination between the intelligent terminal and the functional terminal is realized, and the function terminal is used to realize the synchronization of the alarm function of the intelligent terminal, which is convenient to carry, low in radiation and durable, and more energy-saving and environmentally friendly.
- an embodiment of the present invention provides an intelligent terminal, which includes, but is not limited to, an acquisition module 21, a data analysis packaging module 22, a determination module 23, a transmission module 24, and an execution module 25.
- the obtaining module 21 is configured to obtain alarm information of a local alarm of the smart terminal.
- the data analysis packaging module 22 is configured to generate command information and/or status information according to the alarm information acquired by the obtaining module 21 and package the data into a packet of a predetermined format.
- the determining module 23 is configured to determine, when the data analysis packaging module 22 packs the data packet, whether there is a functional terminal that has established a wireless connection.
- the transmission module 24 is configured to: when the determining module 23 determines that there is a function terminal that has established a wireless connection, transmit the data packet to the function terminal by using a wireless terminal to parse the data packet of the predetermined format through the function terminal, and further, according to the command information and / or status information synchronizes the alarm information on the alarm of the function terminal itself.
- the obtaining module 21 may be specifically configured to: when the transmission module 24 receives the synchronization request sent by the function terminal by using the wireless manner, obtain the alarm information of the local alarm according to the synchronization request; the transmission module 24 is further configured to receive the function terminal.
- the execution module 25 is configured to perform operations of sleeping, stopping, creating, deleting, enabling or deactivating the local alarm according to the operation information received by the transmission module 24.
- the command information includes activation, sleep and stop of the alarm clock, and the status information includes activation and deactivation of each alarm clock in the alarm list and the alarm list.
- the transmission module 24 transmits the data packet to the function terminal through the Bluetooth serial transmission protocol.
- the transmission format of the data packet of this embodiment includes the communication party identification command CMD, the function terminal application identification code sender, the intelligent terminal application identification code receiver, and the data type data.
- Type transfer data length data lenth and data content data, where: sender such as SP_alarm, For a receiver such as FP_alarm, the value of data_type can be 0 and 1, and 0 and 1 represent buffer and file, respectively.
- EXCD SP_alarm FP_alarm 0 1 X or such as EXCD SP_alarm FP_alarm 3 0 10 XXXXXXXXXX.
- the function terminal and the intelligent terminal with the Android platform realize the transmission of the data packet through the pre-registered callback mechanism.
- the smart terminal of the embodiment may be a touch screen mobile phone, a tablet computer, etc.
- the function terminal may be a purely functional mobile phone, which only needs to have a Bluetooth function; of course, in other embodiments, it may also be a mobile phone with a touch screen function. , tablet, etc.
- the smart terminal passes the packaged data packet through the Bluetooth serial port transmission protocol (BT).
- SPP Bluetooth serial port transmission protocol
- the data transmission design between the intelligent terminal and the functional terminal in this embodiment preferably adopts the transmission protocol of BT SPP, and utilizes BT.
- SPP defines the process and rules of simulating RS232 serial communication standard between two Bluetooth devices of intelligent terminal and functional terminal through Bluetooth, realizing BT between the two
- the virtual serial port transmission has a simple structure, and does not need to make major changes to the existing intelligent terminal or function terminal, and has low cost, easy operation and promotion. In other embodiments, it can also be based on Apple's Mac OS.
- the intelligent terminal of the X operating system is not to be described and limited in detail within the scope of the skilled person in the art.
- FIG. 3 is a schematic flowchart of a method for synchronizing alarm information of the present invention on a function terminal side.
- the method for synchronizing alarm information in this embodiment includes but is not limited to the following steps.
- Step S31 The function terminal receives the data packet transmitted by the smart terminal by using a wireless manner.
- the function terminal acquires the synchronization request operation of the user's own alarm clock; and sends a synchronization request to the smart terminal according to the synchronization request operation, so that the smart terminal acquires the alarm of the local alarm of the smart terminal according to the synchronization request. information.
- the alarm information may be actively acquired, for example, a function terminal having a wireless connection, another smart terminal, or a user manually triggering, etc., which is not limited herein.
- Step S32 parsing the data packet according to a predetermined format to obtain command information and/or status information.
- the status information of this embodiment includes the creation, deletion, activation, and deactivation of each alarm clock in the alarm list and the alarm list, and the command information includes activation, sleep, and stop of the alarm.
- Step S33 synchronizing the alarm information with the command information and/or the status information on the alarm of the function terminal itself according to the command information and/or the status information.
- the function terminal has synchronized the alarm information of the smart terminal.
- the following operation flow can be implemented:
- the function terminal acquires the operation information of the user on the ringing interface of the alarm clock;
- the data packet of the intelligent terminal passes the Bluetooth serial port transmission protocol (BT).
- SPP Bluetooth serial port transmission protocol
- the data transmission design between the intelligent terminal and the functional terminal in this embodiment preferably adopts BT.
- SPP transmission protocol using BT SPP to define the process and rules of the RS232 serial communication standard between the two Bluetooth devices of the intelligent terminal and the functional terminal through Bluetooth, to achieve BT between the two
- the virtual serial port transmission has a simple structure, and does not need to make major changes to the existing intelligent terminal or function terminal, and has low cost, easy operation and promotion. In other embodiments, it can also be based on Apple's Mac OS.
- the intelligent terminal of the X operating system is not to be described and limited in detail within the scope of the skilled person in the art.
- FIG. 4 is a functional block diagram of an embodiment of a functional terminal according to the present invention.
- the functional terminal includes, but is not limited to, a transceiver module 41, a data parsing module 42, a synchronization processing module 43, and an action obtaining module 44. .
- the transceiver module 41 is configured to receive a data packet that is transmitted by the smart terminal by using a wireless manner.
- the action obtaining module 44 is configured to acquire a synchronization request operation of the user's own alarm clock before the transceiver module 41 receives the data packet transmitted by the smart terminal by using the wireless manner, and acquire the operation information of the user on the ringing interface of the alarm clock. Then, the transceiver module 41 is configured to send a synchronization request to the smart terminal by using a wireless method according to the synchronization request operation, so that the smart terminal acquires the alarm information of the local alarm of the smart terminal according to the synchronization request, and the status information includes an alarm clock list and each alarm clock in the alarm list.
- the local transceiver is activated, hibernated or stopped according to the command information in the operation information, and is sent, deleted, enabled, and disabled.
- the transmission format of the data packet of this embodiment includes a communication mutual party identification command CMD, a function terminal application identification code sender, a smart terminal application identification code receiver, and a data type data.
- Type transfer data length data lenth and data content data, where: sender such as SP_alarm , Receiver such as FP_alarm, data_type value can be 0 and 1, 0 and 1 respectively represent buffer and file.
- sender such as SP_alarm
- Receiver such as FP_alarm
- data_type value can be 0 and 1, 0 and 1 respectively represent buffer and file.
- EXCD SP_alarm FP_alarm 0 1 X or such as EXCD SP_alarm FP_alarm 3 0 10 XXXXXXXXXX.
- the data packet of the intelligent terminal passes the Bluetooth serial port transmission protocol (BT).
- SPP Bluetooth serial port transmission protocol
- the data transmission design between the intelligent terminal and the functional terminal in this embodiment preferably adopts BT.
- SPP transmission protocol using BT SPP to define the process and rules of the RS232 serial communication standard between the two Bluetooth devices of the intelligent terminal and the functional terminal through Bluetooth, to achieve BT between the two
- the virtual serial port transmission has a simple structure, and does not need to make major changes to the existing intelligent terminal or function terminal, and has low cost, easy operation and promotion. In other embodiments, it can also be based on Apple's Mac OS.
- the intelligent terminal of the X operating system is not to be described and limited in detail within the scope of the skilled person in the art.
- the smart terminal of the embodiment may be a touch screen mobile phone, a tablet computer, etc.
- the function terminal may be a purely functional mobile phone, which only needs to have a Bluetooth function; of course, in other embodiments, it may also be a mobile phone with a touch screen function. , tablet, etc.
- the synchronization system of the alarm information of this embodiment includes an intelligent terminal and a functional terminal.
- the intelligent terminal includes but is not limited to two function modules of an Alarm application and a BT application, and the functional terminals include but are not limited to an Alarm module and a BT transmission module.
- the Alarm application serves as a data source of the alarm clock, and provides various editing fields of the alarm clock, alarm state information of the transmitting/receiving function terminal side, command information, and the like.
- the BT transmission module is used to support the design of the BT SPP protocol, and receives and parses data such as status information and command information sent by the intelligent terminal.
- the alarm module is configured to receive data such as status information and command information sent by the smart terminal, display an alarm list, ring, and send the current status information to the smart terminal, so that the smart terminal completes the state synchronization of the alarm information.
- FIG. 6 to FIG. 9 are flowcharts of implementation of a preferred application example of the smart terminal and the function terminal, respectively.
- FIG. 6 is a flowchart of an implementation example of a preferred application of the functional terminal of the present invention, which includes the following processes:
- Sending process Send status information or command information to the smart terminal and end.
- FIG. 7 is a flowchart of an implementation of another preferred application example of the function terminal of the present invention, which includes the following process:
- the alarm When parsed into command information, the alarm clocks the interface and ends.
- FIG. 8 is a flowchart of an implementation example of a preferred application of the smart terminal of the present invention, which includes the following processes:
- the status information in the alarm application of the smart terminal is acquired, and is sent, and is ended; when it is determined to be dormant, the alarm SNOOZE (sleep) broadcast is sent, and the alarm of the smart terminal enters the SNOOZE state, and ends; When it is judged to be stopped, the alarm STOP (stop) broadcast is sent, and the alarm of the smart terminal enters the STOP state and ends.
- FIG. 9 is a flowchart of an implementation of another preferred application example of the smart terminal of the present invention, which includes the following processes:
- the method for synchronizing the intelligent terminal, the function terminal and the alarm clock information uses the wireless connection between the intelligent terminal and the function terminal to synchronously update the alarm information of the local terminal of the intelligent terminal to the function terminal, thereby realizing the replacement of the function terminal The effect of the smart terminal using the alarm clock.
- the embodiment of the present invention does not need to repeatedly operate the smart terminal, but fully utilizes the function terminal with small size, low power consumption, and long standby time to realize the alternative use of the smart terminal, effectively
- the combination between the intelligent terminal and the functional terminal is realized, and the function terminal is used to realize the synchronization of the alarm function of the intelligent terminal, which is convenient to carry, low in radiation and durable, and more energy-saving and environmentally friendly.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
本发明提供一种智能终端、功能终端及闹钟信息的同步方法:智能终端获取本地闹钟的闹钟信息;根据所述闹钟信息生成命令信息和/或状态信息并打包成预定格式的数据包;将所述数据包通过无线方式传输给所述功能终端,以通过所述功能终端对预定格式的所述数据包进行解析,进而根据所述命令信息和/或状态信息在功能终端自身的闹钟上同步所述闹钟信息。本发明无需反复地操作使用智能终端,而充分地利用体积小、耗电低、待机时间长的功能终端实现对智能终端的替代使用,有效地实现智能终端和功能终端之间的结合,利用功能终端实现对智能终端的闹钟功能同步,携带使用方便、低辐射且耐用,更加节能环保。
Description
【技术领域】
本发明属于移动终端技术领域,具体涉及一种智能终端和一种功能终端,以及其分别实现闹钟信息的同步方法。
【背景技术】
随着安卓(Android)等功能平台的兴起和高速发展,Smart
phone(SP、智能终端)等智能平台设备越来越流行,其正在影响人们的日常工作生活,但目前的智能平台设备往往体积较大、重量大且耗电量高,如大屏手机、平板电脑等。
另外,具备物理键盘的Feature
Phone(FP、功能机)或老人机等纯功能性的设备往往具有体积小、待机时间长、携带使用方便等特点,虽然没有搭载流行的智能操作系统,但同样具有多媒体应用功能,例如播放音乐等。
显然,两者的优点很难得到有机的给合使用,大部分用户不得不为了需求而择一地选择“智能”或“功能简洁、耐用”,这很大程度上影响了用户体验,降低了产品的市场竞争力。
【发明内容】
有鉴于此,本发明实施例提供一种智能终端、功能终端及闹钟信息的同步方法,能够有效地实现智能终端和功能终端之间的结合使用,利用功能终端实现对智能终端的部分功能同步,携带使用方便且耐用,更加节能环保。
为解决上述技术问题,本发明实施例提供一种闹钟信息的同步方法,其中,包括:智能终端获取本地闹钟的闹钟信息;根据所述闹钟信息生成命令信息和/或状态信息并打包成预定格式的数据包;判断是否存在已建立无线连接的功能终端;在判断到存在已建立无线连接的功能终端时,将所述数据包通过无线方式传输给所述功能终端,以通过所述功能终端对预定格式的所述数据包进行解析,进而根据所述命令信息和/或状态信息在功能终端自身的闹钟上同步所述闹钟信息。
其中:所述智能终端获取本地闹钟的闹钟信息的步骤,具体包括:智能终端在接收到功能终端通过无线方式发送过来的同步请求时,根据所述同步请求获取本地闹钟的闹钟信息。所述根据所述闹钟信息生成命令信息和/或状态信息并打包成预定格式的数据包的步骤中,所述命令信息包括对闹钟的激活、休眠和停止,所述状态信息包括闹钟列表及闹钟列表中每个闹钟的创建、删除、启用和停用。所述同步方法还包括:智能终端接收所述功能终端在同步所述闹钟信息后所返回的操作信息;智能终端根据所述操作信息对本地闹钟进行休眠、停止、创建、删除、启用或停用的操作。
其中,所述将所述数据包通过无线方式传输给所述功能终端的步骤,具体包括:将所述数据包通过蓝牙串口传输协议传输给所述功能终端,其中,所述数据包的传输格式包括通信双方识别命令、功能终端应用识别码、智能终端应用识别码、数据类型、传送数据长度和数据内容,所述功能终端与具备安卓平台的所述智能终端之间通过预先注册的callback机制实现所述数据包的传输。
为解决上述技术问题,本发明实施例还提供一种智能终端,其中,包括:获取模块,用于获取智能终端本地闹钟的闹钟信息;数据分析打包模块,用于根据所述获取模块获取的所述闹钟信息生成命令信息和/或状态信息并打包成预定格式的数据包;判断模块,用于在所述数据分析打包模块打包数据包时,判断是否存在已建立无线连接的功能终端;传输模块,用于在所述判断模块判断到存在已建立无线连接的功能终端时,将所述数据包通过无线方式传输给所述功能终端,以通过所述功能终端对预定格式的所述数据包进行解析,进而根据所述命令信息和/或状态信息在功能终端自身的闹钟上同步所述闹钟信息。
其中:所述获取模块具体用于在所述传输模块接收到功能终端通过无线方式发送过来的同步请求时,根据所述同步请求获取本地闹钟的闹钟信息;所述传输模块还用于接收所述功能终端在同步所述闹钟信息后所返回的操作信息。所述智能终端还包括:执行模块,用于根据所述传输模块接收的所述操作信息对本地闹钟进行休眠、停止、创建、删除、启用或停用的操作。其中,所述命令信息包括对闹钟的激活、休眠和停止,所述状态信息包括闹钟列表及闹钟列表中每个闹钟的启用和停用,所述传输模块将所述数据包通过蓝牙串口传输协议传输给所述功能终端,所述数据包的传输格式包括通信双方识别命令、功能终端应用识别码、智能终端应用识别码、数据类型、传送数据长度和数据内容,所述功能终端与具备安卓平台的所述智能终端之间通过预先注册的callback机制实现所述数据包的传输。
为解决上述技术问题,本发明实施例还提供一种闹钟信息的同步方法,其中,包括:功能终端接收智能终端通过无线方式传输的数据包;根据预定格式解析所述数据包,得到命令信息和/或状态信息;根据所述命令信息和/或状态信息在功能终端自身的闹钟上同步与所述命令信息和/或状态信息的闹钟信息。
其中:所述功能终端接收智能终端通过无线方式传输的数据包的步骤之前,还包括:功能终端获取用户对自身闹钟的同步请求操作;根据所述同步请求操作通过无线方式向智能终端发送同步请求,以使得所述智能终端根据所述同步请求获取智能终端本地闹钟的闹钟信息,所述状态信息包括闹钟列表及闹钟列表中每个闹钟的创建、删除、启用和停用。
其中,所述根据所述命令信息和/或状态信息在功能终端自身的闹钟上同步与所述命令信息和/或状态信息的闹钟信息的步骤之后,还包括:功能终端在自身闹钟的响铃界面获取用户的操作信息;将所述操作信息通过无线方式发送给智能终端,以使得智能终端根据所述操作信息中的命令信息对本地闹钟进行激活、休眠或停止。其中,所述数据包的传输格式包括通信双方识别命令、功能终端应用识别码、智能终端应用识别码、数据类型、传送数据长度和数据内容,所述功能终端与具备安卓平台的所述智能终端之间通过预先注册的callback机制实现所述数据包的传输。
为解决上述技术问题,本发明实施例还提供一种功能终端,其中,包括:收发模块,用于接收智能终端通过无线方式传输的数据包;数据解析模块,用于根据预定格式解析所述收发模块接收的所述数据包,得到命令信息和/或状态信息;同步处理模块,用于根据所述数据解析模块解析得到的所述命令信息和/或状态信息在功能终端自身的闹钟上同步与所述命令信息和/或状态信息的闹钟信息。
其中,所述功能终端还包括:动作获取模块,用于在接收智能终端通过无线方式传输的数据包之前,获取用户对自身闹钟的同步请求操作,以及在自身闹钟的响铃界面获取用户的操作信息。所述收发模块,用于根据所述同步请求操作通过无线方式向智能终端发送同步请求,以使得所述智能终端根据所述同步请求获取智能终端本地闹钟的闹钟信息,所述状态信息包括闹钟列表及闹钟列表中每个闹钟的创建、删除、启用和停用;或者,将所述操作信息通过无线方式发送给智能终端,以使得智能终端根据所述操作信息中的命令信息对本地闹钟进行激活、休眠或停止;其中,所述数据包的传输格式包括通信双方识别命令、功能终端应用识别码、智能终端应用识别码、数据类型、传送数据长度和数据内容,所述功能终端与具备安卓平台的所述智能终端之间通过预先注册的callback机制实现所述数据包的传输。
通过上述技术方案,本发明实施例的有益效果是:本发明实施例所提供的智能终端、功能终端及闹钟信息的同步方法,利用智能终端和功能终端之间的无线连接,将智能终端本地的闹钟信息同步更新到功能终端上,实现了功能终端替代智能终端进行闹钟使用的效果。不难理解的是,通过此种方式,本发明实施例无需反复地操作使用智能终端,而充分地利用体积小、耗电低、待机时间长的功能终端实现对智能终端的替代使用,有效地实现智能终端和功能终端之间的结合,利用功能终端实现对智能终端的闹钟功能同步,携带使用方便、低辐射且耐用,更加节能环保。
【附图说明】
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明闹钟信息的同步方法在智能终端一侧的流程示意图;
图2是本发明智能终端一实施例的功能模块框图;
图3是本发明闹钟信息的同步方法在功能终端一侧的流程示意图;
图4是本发明功能终端一实施例的功能模块框图;
图5是实现本发明闹钟信息的同步方法的系统一实施例的功能模块框图;
图6是本发明功能终端一优选应用例的实现流程图;
图7是本发明功能终端另一优选应用例的实现流程图;
图8是本发明智能终端一优选应用例的实现流程图;
图9是本发明智能终端另一优选应用例的实现流程图。
【具体实施方式】
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
请参阅图1,图1是本发明闹钟信息的同步方法在智能终端一侧的流程示意图,本实施例闹钟信息的同步方法包括但不限于以下步骤。
步骤S11,智能终端获取本地闹钟的闹钟信息。
在步骤S11中,智能终端在接收到功能终端通过无线方式发送过来的同步请求时,根据同步请求获取本地闹钟的闹钟信息。当然,在其他实施例中,智能终端也可以主动获取闹钟信息,譬如检测到有无线连接的功能终端、另一智能终端,或者用户手动触发等,在此不作限定。
步骤S12,根据闹钟信息生成命令信息和/或状态信息并打包成预定格式的数据包。
需要说明的是,本实施例的命令信息包括对闹钟的激活、休眠和停止,状态信息包括闹钟列表及闹钟列表中每个闹钟的创建、删除、启用和停用等操作。
步骤S13,判断是否存在已建立无线连接的功能终端。当为是时,执行步骤S14,否则结束。
步骤S14,在判断到存在已建立无线连接的功能终端时,将数据包通过无线方式传输给功能终端,以通过功能终端对预定格式的数据包进行解析,进而根据命令信息和/或状态信息在功能终端自身的闹钟上同步闹钟信息。
其中,步骤S14可以将数据包通过蓝牙串口传输协议传输给功能终端,其中,数据包的传输格式包括通信双方识别命令CMD、功能终端应用识别码sender、智能终端应用识别码receiver、数据类型data
type、传送数据长度data lenth和数据内容data,其中:sender如SP_alarm ,
receiver如FP_alarm,data_type值可以为0和1,0和1分别代表buffer和file。具体如:EXCD SP_alarm
FP_alarm 0 1 X,或EXCD SP_alarm FP_alarm 3 0 10
XXXXXXXXXX等。需要说明的是,功能终端与具备安卓平台的智能终端之间通过预先注册的callback机制实现数据包的传输。
在本实施例中,智能终端将打包的数据包通过蓝牙串口传输协议(BT
SPP)传输给功能终端。需要说明的是,本实施例智能终端和功能终端之间的数据传输设计优选地采用BT SPP的传输协议,利用BT
SPP定义智能终端和功能终端两个蓝牙设备之间通过蓝牙仿真RS232串口通信标准的过程和规则,实现两者之间BT
虚拟串口传输,架构简单,而无需对现有的智能终端或功能终端作出较大的改变,成本低,易于操作实现和推广使用。在其他实施例中,也可以为基于苹果公司的Mac OS
X操作系统的智能终端,在本技术领域人员容易结合理解的范围内,在此不作细述和限定。
值得注意的是,在其他实施例中,本发明的同步方法还可以包括:智能终端接收功能终端在同步闹钟信息后所返回的操作信息;智能终端根据操作信息对本地闹钟进行休眠、停止、创建、删除、启用或停用的操作。
本发明实施例所提供的智能终端、功能终端及闹钟信息的同步方法,利用智能终端和功能终端之间的无线连接,将智能终端本地的闹钟信息同步更新到功能终端上,实现了功能终端替代智能终端进行闹钟使用的效果。不难理解的是,通过此种方式,本发明实施例无需反复地操作使用智能终端,而充分地利用体积小、耗电低、待机时间长的功能终端实现对智能终端的替代使用,有效地实现智能终端和功能终端之间的结合,利用功能终端实现对智能终端的闹钟功能同步,携带使用方便、低辐射且耐用,更加节能环保。
请参阅图2,本发明实施例提供一种智能终端,其包括但不限于获取模块21、数据分析打包模块22、判断模块23、传输模块24和执行模块25。
在本实施例中,获取模块21用于获取智能终端本地闹钟的闹钟信息。
数据分析打包模块22用于根据获取模块21获取的闹钟信息生成命令信息和/或状态信息并打包成预定格式的数据包。
判断模块23用于在数据分析打包模块22打包数据包时,判断是否存在已建立无线连接的功能终端。
传输模块24用于在判断模块23判断到存在已建立无线连接的功能终端时,将数据包通过无线方式传输给功能终端,以通过功能终端对预定格式的数据包进行解析,进而根据命令信息和/或状态信息在功能终端自身的闹钟上同步闹钟信息。
如前所述,获取模块21具体可以用于在传输模块24接收到功能终端通过无线方式发送过来的同步请求时,根据同步请求获取本地闹钟的闹钟信息;传输模块24还用于接收功能终端在同步闹钟信息后所返回的操作信息。执行模块25用于根据传输模块24接收的操作信息对本地闹钟进行休眠、停止、创建、删除、启用或停用的操作。其中,命令信息包括对闹钟的激活、休眠和停止,状态信息包括闹钟列表及闹钟列表中每个闹钟的启用和停用。
传输模块24将数据包通过蓝牙串口传输协议传输给功能终端。如前所述,本实施例的数据包的传输格式包括通信双方识别命令CMD、功能终端应用识别码sender、智能终端应用识别码receiver、数据类型data
type、传送数据长度data lenth和数据内容data,其中:sender如SP_alarm ,
receiver如FP_alarm,data_type值可以为0和1,0和1分别代表buffer和file。具体如:EXCD SP_alarm
FP_alarm 0 1 X,或如EXCD SP_alarm FP_alarm 3 0 10 XXXXXXXXXX等。
需要说明的是,功能终端与具备安卓平台的智能终端之间通过预先注册的callback机制实现数据包的传输。本实施例的智能终端可以为触摸屏手机、平板电脑等,而功能终端可以为纯功能的手机,其只需具备蓝牙功能即可;当然,在其他实施例中,也可以为具备触摸屏功能的手机、平板电脑等。
在本实施例中,智能终端将打包的数据包通过蓝牙串口传输协议(BT
SPP)传输给功能终端。需要说明的是,本实施例智能终端和功能终端之间的数据传输设计优选地采用BT SPP的传输协议,利用BT
SPP定义智能终端和功能终端两个蓝牙设备之间通过蓝牙仿真RS232串口通信标准的过程和规则,实现两者之间BT
虚拟串口传输,架构简单,而无需对现有的智能终端或功能终端作出较大的改变,成本低,易于操作实现和推广使用。在其他实施例中,也可以为基于苹果公司的Mac OS
X操作系统的智能终端,在本技术领域人员容易结合理解的范围内,在此不作细述和限定。
请参阅图3,图3是本发明闹钟信息的同步方法在功能终端一侧的流程示意图,本实施例闹钟信息的同步方法包括但不限于以下步骤。
步骤S31,功能终端接收智能终端通过无线方式传输的数据包。
需要说明的是,在步骤S31之前,功能终端获取用户对自身闹钟的同步请求操作;根据同步请求操作通过无线方式向智能终端发送同步请求,以使得智能终端根据同步请求获取智能终端本地闹钟的闹钟信息。
当然,在其他实施例中,在智能终端侧,也可以主动获取闹钟信息,譬如检测到有无线连接的功能终端、另一智能终端,或者用户手动触发等,在此不作限定。
步骤S32,根据预定格式解析数据包,得到命令信息和/或状态信息。
如前所述,本实施例的状态信息包括闹钟列表及闹钟列表中每个闹钟的创建、删除、启用和停用等,命令信息包括对闹钟的激活、休眠和停止。
步骤S33,根据命令信息和/或状态信息在功能终端自身的闹钟上同步与命令信息和/或状态信息的闹钟信息。
在步骤S33之后,功能终端已经同步了智能终端的闹钟信息,此时,可以实现如下操作流程:
功能终端在自身闹钟的响铃界面获取用户的操作信息;
将操作信息通过无线方式发送给智能终端,以使得智能终端根据操作信息中的命令信息对本地闹钟进行激活、休眠或停止。
在上述操作流程中,数据包的传输格式包括通信双方识别命令CMD、功能终端应用识别码sender、智能终端应用识别码receiver、数据类型data
type、传送数据长度data lenth和数据内容data,其中:sender如SP_alarm
,receiver如FP_alarm,data_type值可以为0和1,0和1分别代表buffer和file。具体如:EXCD SP_alarm
FP_alarm 0 1 X,或如EXCD SP_alarm FP_alarm 3 0 10 XXXXXXXXXX等。
需要说明的是,功能终端与具备安卓平台的智能终端之间通过预先注册的callback机制实现数据包的传输。
在本实施例中,智能终端的数据包通过蓝牙串口传输协议(BT
SPP)传输给功能终端,智能终端与功能终端之间通过蓝牙进行通信。需要说明的是,本实施例智能终端和功能终端之间的数据传输设计优选地采用BT
SPP的传输协议,利用BT SPP定义智能终端和功能终端两个蓝牙设备之间通过蓝牙仿真RS232串口通信标准的过程和规则,实现两者之间BT
虚拟串口传输,架构简单,而无需对现有的智能终端或功能终端作出较大的改变,成本低,易于操作实现和推广使用。在其他实施例中,也可以为基于苹果公司的Mac OS
X操作系统的智能终端,在本技术领域人员容易结合理解的范围内,在此不作细述和限定。
本实施例的智能终端可以为触摸屏手机、平板电脑等,而功能终端可以为纯功能的手机,其只需具备蓝牙功能即可;当然,在其他实施例中,也可以为具备触摸屏功能的手机、平板电脑等。
请结合图3参阅图4,图4是本发明功能终端一实施例的功能模块框图,本实施例功能终端包括但不限于收发模块41、数据解析模块42、同步处理模块43和动作获取模块44。
在本实施例中,收发模块41用于接收智能终端通过无线方式传输的数据包。
数据解析模块42用于根据预定格式解析收发模块41接收的数据包,得到命令信息和/或状态信息。
同步处理模块43用于根据数据解析模块42解析得到的命令信息和/或状态信息在功能终端自身的闹钟上同步与命令信息和/或状态信息的闹钟信息。
动作获取模块44用于在收发模块41接收智能终端通过无线方式传输的数据包之前,获取用户对自身闹钟的同步请求操作,以及在自身闹钟的响铃界面获取用户的操作信息。接着,收发模块41用于根据同步请求操作通过无线方式向智能终端发送同步请求,以使得智能终端根据同步请求获取智能终端本地闹钟的闹钟信息,状态信息包括闹钟列表及闹钟列表中每个闹钟的创建、删除、启用和停用;或者,收发模块41将操作信息通过无线方式发送给智能终端,以使得智能终端根据操作信息中的命令信息对本地闹钟进行激活、休眠或停止等。
本实施例的数据包的传输格式包括通信双方识别命令CMD、功能终端应用识别码sender、智能终端应用识别码receiver、数据类型data
type、传送数据长度data lenth和数据内容data,其中:sender如SP_alarm
,receiver如FP_alarm,data_type值可以为0和1,0和1分别代表buffer和file。具体如:EXCD SP_alarm
FP_alarm 0 1 X,或如EXCD SP_alarm FP_alarm 3 0 10 XXXXXXXXXX等。
需要说明的是,功能终端与具备安卓平台的智能终端之间通过预先注册的callback机制实现数据包的传输。
在本实施例中,智能终端的数据包通过蓝牙串口传输协议(BT
SPP)传输给功能终端,智能终端与功能终端之间通过蓝牙进行通信。需要说明的是,本实施例智能终端和功能终端之间的数据传输设计优选地采用BT
SPP的传输协议,利用BT SPP定义智能终端和功能终端两个蓝牙设备之间通过蓝牙仿真RS232串口通信标准的过程和规则,实现两者之间BT
虚拟串口传输,架构简单,而无需对现有的智能终端或功能终端作出较大的改变,成本低,易于操作实现和推广使用。在其他实施例中,也可以为基于苹果公司的Mac OS
X操作系统的智能终端,在本技术领域人员容易结合理解的范围内,在此不作细述和限定。
本实施例的智能终端可以为触摸屏手机、平板电脑等,而功能终端可以为纯功能的手机,其只需具备蓝牙功能即可;当然,在其他实施例中,也可以为具备触摸屏功能的手机、平板电脑等。
请参阅图5,图5是实现本发明闹钟信息的同步方法的系统一实施例的功能模块框图,其中,图5展示了上述任一实施例所涉及的闹钟信息的同步方法、智能终端、功能终端的最优应用例,但不用于限定任一上述实施例。
本实施例闹钟信息的同步系统包括智能终端和功能终端。智能终端包括但不限于Alarm应用和BT应用两个功能模块,而功能终端包括但不限于Alarm模块和BT传输模块。
在本实施例中,Alarm应用作为闹钟的数据源,提供闹钟的各个编辑字段,发送/接收功能终端侧的闹钟状态信息、命令信息等。
BT应用用于支持BT
SPP协议的设计,并用于获取闹钟的各个字段及状态,把数据信息和闹钟状态等传输至功能终端。
BT传输模块用于支持BT SPP协议的设计,接收并解析智能终端发送过来的状态信息和命令信息等数据。
Alarm模块用于接收智能终端发送的状态信息和命令信息等数据,可以显示闹钟列表、响铃,并且给智能终端发送当前的状态信息,使得智能终端完成闹钟信息的状态同步。
接着,请参阅图6到图9,分别为智能终端和功能终端的优选应用例的实现流程图。
如图6,图6是本发明功能终端一优选应用例的实现流程图,其包括如下流程:
开始;
点击闹钟菜单,同步请求、请求获取数据,BT是否连接?判断为是时,跳到发送流程,判断为否是,返回并结束;
闹钟响铃界面,执行操作类型,在休眠时发送休眠命令或在停止时发送停止命令,BT是否连接?判断为是时,跳到发送流程,判断为否是,返回并结束;
发送流程:发送状态信息或命令信息到智能终端,结束。
如图7,图7是本发明功能终端另一优选应用例的实现流程图,其包括如下流程:
开始;
状态、命令信息到来?判断为否时继续等待,判断为是时,执行下一步;
接收信息;
解析信息类型;
在解析为状态信息时,接收智能终端的闹钟列表数据,创建闹钟显示列表并结束;
在解析为命令信息时,弹出闹钟响铃界面并结束。
如图8,图8是本发明智能终端一优选应用例的实现流程图,其包括如下流程:
开始;
功能机(FP Feature
Phone)是否同步请求?判断为否时,等待请求,判断为是时,执行下一步;
请求数据类型?判断为状态信息时,获取智能终端的闹铃(Alarm)应用中的状态信息,并发送,结束;判断为休眠时,发送闹钟SNOOZE(休眠)广播,让智能终端的闹钟进入SNOOZE状态,结束;判断为停止时,发送闹钟STOP(停止)广播,让智能终端的闹钟进入STOP状态,结束。
如图9,图9是本发明智能终端另一优选应用例的实现流程图,其包括如下流程:
开始;
闹钟的状态?
在闹钟的状态为ALERT(警报)时,获取并组织闹钟
Alert命令及数据并跳到“判断流程”;在闹钟的状态为SNOOZE时,获取并组织闹钟
SNOOZE命令及数据并跳到“判断流程”;在闹钟的状态为STOP时,获取并组织闹钟STOP命令及数据并跳到“判断流程”;
判断流程:BT是否连接?
在判断为否时,返回并结束,在判断为是时,发送命令及相应状态的数据,让功能终端进入相应的状态并结束。
本发明实施例所提供的智能终端、功能终端及闹钟信息的同步方法,利用智能终端和功能终端之间的无线连接,将智能终端本地的闹钟信息同步更新到功能终端上,实现了功能终端替代智能终端进行闹钟使用的效果。不难理解的是,通过此种方式,本发明实施例无需反复地操作使用智能终端,而充分地利用体积小、耗电低、待机时间长的功能终端实现对智能终端的替代使用,有效地实现智能终端和功能终端之间的结合,利用功能终端实现对智能终端的闹钟功能同步,携带使用方便、低辐射且耐用,更加节能环保。
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,例如各实施例之间技术特征的相互结合,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (13)
- 一种闹钟信息的同步方法,其特征在于,包括:智能终端在接收到功能终端通过无线方式发送过来的同步请求时,根据所述同步请求获取本地闹钟的闹钟信息;根据所述闹钟信息生成命令信息和/或状态信息并打包成预定格式的数据包,所述命令信息包括对闹钟的激活、休眠和停止,所述状态信息包括闹钟列表及闹钟列表中每个闹钟的创建、删除、启用和停用;判断是否存在已建立无线连接的功能终端;在判断到存在已建立无线连接的功能终端时,将所述数据包通过无线方式传输给所述功能终端,以通过所述功能终端对预定格式的所述数据包进行解析,进而根据所述命令信息和/或状态信息在功能终端自身的闹钟上同步所述闹钟信息。
- 根据权利要求1所述的同步方法,其特征在于:所述同步方法还包括:智能终端接收所述功能终端在同步所述闹钟信息后所返回的操作信息;智能终端根据所述操作信息对本地闹钟进行休眠、停止、创建、删除、启用或停用的操作。
- 根据权利要求1所述的同步方法,其特征在于,所述将所述数据包通过无线方式传输给所述功能终端的步骤,具体包括:将所述数据包通过蓝牙串口传输协议传输给所述功能终端,其中,所述数据包的传输格式包括通信双方识别命令、功能终端应用识别码、智能终端应用识别码、数据类型、传送数据长度和数据内容,所述功能终端与具备安卓平台的所述智能终端之间通过预先注册的callback机制实现所述数据包的传输。
- 一种智能终端,其特征在于,包括:获取模块,用于获取智能终端本地闹钟的闹钟信息;数据分析打包模块,用于根据所述获取模块获取的所述闹钟信息生成命令信息和/或状态信息并打包成预定格式的数据包;判断模块,用于在所述数据分析打包模块打包数据包时,判断是否存在已建立无线连接的功能终端;传输模块,用于在所述判断模块判断到存在已建立无线连接的功能终端时,将所述数据包通过无线方式传输给所述功能终端,以通过所述功能终端对预定格式的所述数据包进行解析,进而根据所述命令信息和/或状态信息在功能终端自身的闹钟上同步所述闹钟信息。
- 根据权利要求4所述的智能终端,其特征在于:所述获取模块具体用于在所述传输模块接收到功能终端通过无线方式发送过来的同步请求时,根据所述同步请求获取本地闹钟的闹钟信息。
- 根据权利要求4所述的智能终端,其特征在于:所述传输模块还用于接收所述功能终端在同步所述闹钟信息后所返回的操作信息。
- 根据权利要求4所述的智能终端,其特征在于:所述智能终端还包括:执行模块,用于根据所述传输模块接收的所述操作信息对本地闹钟进行休眠、停止、创建、删除、启用或停用的操作。其中,所述命令信息包括对闹钟的激活、休眠和停止,所述状态信息包括闹钟列表及闹钟列表中每个闹钟的启用和停用,所述传输模块将所述数据包通过蓝牙串口传输协议传输给所述功能终端,所述数据包的传输格式包括通信双方识别命令、功能终端应用识别码、智能终端应用识别码、数据类型、传送数据长度和数据内容,所述功能终端与具备安卓平台的所述智能终端之间通过预先注册的callback机制实现所述数据包的传输。
- 一种闹钟信息的同步方法,其特征在于,包括:功能终端接收智能终端通过无线方式传输的数据包;根据预定格式解析所述数据包,得到命令信息和/或状态信息;根据所述命令信息和/或状态信息在功能终端自身的闹钟上同步与所述命令信息和/或状态信息的闹钟信息。
- 根据权利要求8所述的同步方法,其特征在于:所述功能终端接收智能终端通过无线方式传输的数据包的步骤之前,还包括:功能终端获取用户对自身闹钟的同步请求操作;根据所述同步请求操作通过无线方式向智能终端发送同步请求,以使得所述智能终端根据所述同步请求获取智能终端本地闹钟的闹钟信息,所述状态信息包括闹钟列表及闹钟列表中每个闹钟的创建、删除、启用和停用。
- 根据权利要求8所述的同步方法,其特征在于,所述根据所述命令信息和/或状态信息在功能终端自身的闹钟上同步与所述命令信息和/或状态信息的闹钟信息的步骤之后,还包括:功能终端在自身闹钟的响铃界面获取用户的操作信息;将所述操作信息通过无线方式发送给智能终端,以使得智能终端根据所述操作信息中的命令信息对本地闹钟进行激活、休眠或停止;其中,所述数据包的传输格式包括通信双方识别命令、功能终端应用识别码、智能终端应用识别码、数据类型、传送数据长度和数据内容,所述功能终端与具备安卓平台的所述智能终端之间通过预先注册的callback机制实现所述数据包的传输。
- 根据权利要求9所述的同步方法,其特征在于,所述根据所述命令信息和/或状态信息在功能终端自身的闹钟上同步与所述命令信息和/或状态信息的闹钟信息的步骤之后,还包括:功能终端在自身闹钟的响铃界面获取用户的操作信息;将所述操作信息通过无线方式发送给智能终端,以使得智能终端根据所述操作信息中的命令信息对本地闹钟进行激活、休眠或停止;其中,所述数据包的传输格式包括通信双方识别命令、功能终端应用识别码、智能终端应用识别码、数据类型、传送数据长度和数据内容,所述功能终端与具备安卓平台的所述智能终端之间通过预先注册的callback机制实现所述数据包的传输。
- 一种功能终端,其特征在于,包括:收发模块,用于接收智能终端通过无线方式传输的数据包;数据解析模块,用于根据预定格式解析所述收发模块接收的所述数据包,得到命令信息和/或状态信息;同步处理模块,用于根据所述数据解析模块解析得到的所述命令信息和/或状态信息在功能终端自身的闹钟上同步与所述命令信息和/或状态信息的闹钟信息。
- 根据权利要求12所述的功能终端,其特征在于,所述功能终端还包括:动作获取模块,用于在接收智能终端通过无线方式传输的数据包之前,获取用户对自身闹钟的同步请求操作,以及在自身闹钟的响铃界面获取用户的操作信息;所述收发模块用于根据所述同步请求操作通过无线方式向智能终端发送同步请求,以使得所述智能终端根据所述同步请求获取智能终端本地闹钟的闹钟信息,所述状态信息包括闹钟列表及闹钟列表中每个闹钟的创建、删除、启用和停用;或者,将所述操作信息通过无线方式发送给智能终端,以使得智能终端根据所述操作信息中的命令信息对本地闹钟进行激活、休眠或停止;其中,所述数据包的传输格式包括通信双方识别命令、功能终端应用识别码、智能终端应用识别码、数据类型、传送数据长度和数据内容,所述功能终端与具备安卓平台的所述智能终端之间通过预先注册的callback机制实现所述数据包的传输。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410453694.4A CN104301989A (zh) | 2014-09-05 | 2014-09-05 | 智能终端、功能终端及闹钟信息的同步方法 |
CN201410453694.4 | 2014-09-05 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016033940A1 true WO2016033940A1 (zh) | 2016-03-10 |
Family
ID=52321494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/072229 WO2016033940A1 (zh) | 2014-09-05 | 2015-02-04 | 智能终端、功能终端及闹钟信息的同步方法 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104301989A (zh) |
WO (1) | WO2016033940A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301989A (zh) * | 2014-09-05 | 2015-01-21 | 惠州Tcl移动通信有限公司 | 智能终端、功能终端及闹钟信息的同步方法 |
US9766596B2 (en) * | 2015-07-08 | 2017-09-19 | Google Inc. | Wake up to a cast alarm or an alarm plus content prompt |
CN106790993A (zh) * | 2016-11-23 | 2017-05-31 | 深圳哈乐派科技有限公司 | 一种远程提醒方法及装置 |
CN113726944A (zh) * | 2021-09-10 | 2021-11-30 | 维沃移动通信有限公司 | 闹钟控制方法及装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546934A (zh) * | 2011-12-15 | 2012-07-04 | 中兴通讯股份有限公司 | 闹钟数据交换方法、装置及系统 |
CN103079177A (zh) * | 2013-01-04 | 2013-05-01 | 深圳市中兴移动通信有限公司 | 一种在移动终端中实现网络闹钟的方法及移动终端 |
US20140204718A1 (en) * | 2013-01-24 | 2014-07-24 | Google Inc. | Synchronization of alarms between devices |
CN104301989A (zh) * | 2014-09-05 | 2015-01-21 | 惠州Tcl移动通信有限公司 | 智能终端、功能终端及闹钟信息的同步方法 |
-
2014
- 2014-09-05 CN CN201410453694.4A patent/CN104301989A/zh active Pending
-
2015
- 2015-02-04 WO PCT/CN2015/072229 patent/WO2016033940A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546934A (zh) * | 2011-12-15 | 2012-07-04 | 中兴通讯股份有限公司 | 闹钟数据交换方法、装置及系统 |
CN103079177A (zh) * | 2013-01-04 | 2013-05-01 | 深圳市中兴移动通信有限公司 | 一种在移动终端中实现网络闹钟的方法及移动终端 |
US20140204718A1 (en) * | 2013-01-24 | 2014-07-24 | Google Inc. | Synchronization of alarms between devices |
CN104301989A (zh) * | 2014-09-05 | 2015-01-21 | 惠州Tcl移动通信有限公司 | 智能终端、功能终端及闹钟信息的同步方法 |
Also Published As
Publication number | Publication date |
---|---|
CN104301989A (zh) | 2015-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016085157A1 (en) | Method and electronic device for voice recognition | |
WO2016033940A1 (zh) | 智能终端、功能终端及闹钟信息的同步方法 | |
US8976724B2 (en) | Method and system for repackaging wireless data | |
WO2010123204A2 (ko) | 디바이스 충격을 이용한 무선 네트워크 연결 제어 방법 및 응용 프로그램 제어 방법과 그 디바이스 | |
CN109417758A (zh) | 一种蓝牙连接的方法及终端 | |
WO2014183454A1 (en) | Method, terminal and computer storage medium for group sending message in instant communication | |
WO2018201476A1 (zh) | 多播承载的管理方法和终端设备 | |
WO2013013542A1 (zh) | 无线通讯设备、基于无线通讯设备的网页共享系统及方法 | |
WO2016029659A1 (zh) | 同步智能设备音乐播放器功能的方法、系统及蓝牙耳机 | |
WO2015184692A1 (zh) | 一种移动终端视频同步分享方法及其系统 | |
WO2015106595A1 (zh) | 物联网控制方法,终端以及被控电子装置 | |
WO2020156432A1 (zh) | 指示信号的传输方法、终端和网络设备 | |
WO2017166764A1 (zh) | 基于蓝牙信标的到站提醒方法及到站提醒装置 | |
WO2017088526A1 (zh) | 蓝牙耳机及其通过智能佩戴接触设备实现自动通断的方法 | |
WO2011150814A1 (zh) | 信息处理方法及用户设备 | |
WO2018076434A1 (zh) | 声音信号的输出方法及装置、耳机状态的检测方法及装置 | |
WO2016033939A1 (zh) | 智能终端、功能终端及通知信息的同步推送方法 | |
WO2016090775A1 (zh) | 同步操作短信数据的方法及系统 | |
WO2017107557A1 (zh) | 一种基于移动终端的快捷菜单弹出方法及系统 | |
WO2018171534A1 (zh) | 基于移动终端的双摄像头供电控制方法、系统及移动终端 | |
CN104145509A (zh) | 用户设备的非连续接收配置方法、基站及系统 | |
WO2020164534A1 (zh) | 辅助信息上报方法及装置、通信设备 | |
WO2016095364A1 (zh) | 基于蓝牙协议实现通话音频切换的方法及移动终端 | |
WO2018058835A1 (zh) | 一种通话模式监控方法、系统及通信终端 | |
WO2017059756A1 (zh) | 穿戴设备显示信息的显示方法及系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15838733 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15838733 Country of ref document: EP Kind code of ref document: A1 |