WO2016033939A1 - Intelligent terminal, functional terminal and synchronous push method of notification information - Google Patents

Intelligent terminal, functional terminal and synchronous push method of notification information Download PDF

Info

Publication number
WO2016033939A1
WO2016033939A1 PCT/CN2015/072228 CN2015072228W WO2016033939A1 WO 2016033939 A1 WO2016033939 A1 WO 2016033939A1 CN 2015072228 W CN2015072228 W CN 2015072228W WO 2016033939 A1 WO2016033939 A1 WO 2016033939A1
Authority
WO
WIPO (PCT)
Prior art keywords
notification information
terminal
data packet
module
buffered data
Prior art date
Application number
PCT/CN2015/072228
Other languages
French (fr)
Chinese (zh)
Inventor
钟志彬
Original Assignee
惠州Tcl移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Publication of WO2016033939A1 publication Critical patent/WO2016033939A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • H04W56/002Mutual synchronization
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing 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 synchronous push method for implementing notification information respectively.
  • smart platform devices such as smart terminals are becoming more and more popular, which is affecting people's daily work and life.
  • current smart platform devices tend to be bulky, heavy and consume.
  • High power such as large-screen mobile phones, tablets, and so on.
  • the embodiments of the present invention provide a smart terminal, a function terminal, and a synchronous push method for notification information, which can effectively realize the combined use of the smart terminal and the function terminal, and realize the partial function synchronization of the smart terminal by using the function terminal. It is easy to carry and durable, and more energy-saving and environmentally friendly.
  • an embodiment of the present invention provides a method for synchronously pushing notification information, where the synchronization push method includes: when receiving the notification information, the smart terminal acquires the notification information; The plurality of field information processing is packaged into a buffered data packet of a predetermined format; the packaged buffered data packet is wirelessly transmitted to the functional terminal, and the buffered data packet is parsed by the functional terminal, and the notification is synchronously pushed. information.
  • the step of acquiring the notification information specifically includes: acquiring the notification information by using an accessibility event mechanism of an accessibility service in an Android framework. And the step of transmitting the buffered data packet to the function terminal by using a wireless method, and the method includes: transmitting the packaged buffer data packet to the function terminal by using a Bluetooth serial port transmission protocol.
  • the step of processing the plurality of field information information included in the notification information into a buffered data packet of a predetermined format includes: applying an application name, a sender icon, a body, and a content included in the notification information,
  • the field information processing of the markup text and timestamp is packaged into a buffered data packet in the XML format of the Extensible Markup Language.
  • the embodiment of the present invention further provides an intelligent terminal, where the smart terminal includes: an acquiring module, configured to acquire the notification information when receiving the notification information; and a data packaging module, configured to: The plurality of field information included in the notification information acquired by the obtaining module is packaged into a buffered data packet of a predetermined format, and the sending module is configured to wirelessly transmit the buffered data packet packaged by the data packing module to the functional terminal. And the notification information is synchronously pushed by parsing the buffered data packet by the function terminal.
  • the obtaining module is specifically configured to acquire the notification information by using an accessibility event mechanism of an accessibility service in an Android framework.
  • the data packaging module is specifically configured to: use an application name included in the notification information.
  • the field information of the sender icon, the body, the content, the tag text, and the time stamp is processed into a buffered data packet in an XML format of the Extensible Markup Language; the sending module is specifically configured to pass the buffered data packet through the Bluetooth serial port.
  • the transmission protocol is transmitted to the functional terminal.
  • the embodiment of the present invention further provides a synchronous push method for notification information, where the synchronous push method includes: the function terminal wirelessly receives a buffered data packet of a predetermined format sent by the smart terminal; Formatting the buffered data packet to obtain a plurality of field information; processing the notification information according to the plurality of field information and simultaneously pushing the notification information.
  • the step of the function terminal receiving the buffered data packet of the predetermined format sent by the smart terminal by using the wireless terminal specifically includes: the function terminal receiving the buffered data packet of the predetermined format sent by the smart terminal by using the Bluetooth serial port transmission protocol.
  • the step of processing the notification information according to the plurality of field information and simultaneously pushing the notification information further includes: displaying at least one piece of notification information in a menu list manner after processing the at least one piece of notification information; acquiring the user An operation action on the notification information displayed in the menu list; displaying, ignoring or deleting the corresponding notification information according to the operation action.
  • the embodiment of the present invention further provides a function terminal, where the function terminal includes: a receiving module, configured to receive, by using a wireless manner, a buffered data packet of a predetermined format sent by the smart terminal; and a data parsing module, configured to: And parsing the buffered data packet received by the receiving module to obtain a plurality of field information according to the predetermined format; and processing a pushing module, configured to be notified according to the processing of the multiple field information obtained by the data parsing module Information and push the notification information synchronously.
  • the function terminal includes: a receiving module, configured to receive, by using a wireless manner, a buffered data packet of a predetermined format sent by the smart terminal; and a data parsing module, configured to: And parsing the buffered data packet received by the receiving module to obtain a plurality of field information according to the predetermined format; and processing a pushing module, configured to be notified according to the processing of the multiple field information obtained by the data parsing module Information and push the
  • the receiving module is specifically configured to receive, by using a Bluetooth serial port transmission protocol, a buffered data packet of a predetermined format sent by the smart terminal.
  • the function terminal further includes: a display module, configured to display at least one piece of notification information in a menu list manner after processing the at least one piece of notification information; and the action obtaining module is configured to acquire a user displayed on the menu list An operation action of the notification information; the analysis processing module is configured to display, ignore or delete the corresponding notification information according to the operation action acquired by the action acquisition module.
  • the beneficial effects of the embodiments of the present invention are: the intelligent terminal, the function terminal, and the synchronous push method of the notification information provided by the embodiment of the present invention, by transmitting and transmitting the notification information to the function terminal on the intelligent terminal side, and the function
  • the terminal parses the data packet and pushes it through the function terminal itself, thereby realizing the function of synchronizing/replacement of the intelligent terminal to perform notification information on the function terminal.
  • the embodiment of the present invention does not need to repeatedly operate the smart terminal, but fully utilizes a function terminal with small size, low power consumption, and long standby time to realize indirect operation on 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 some functions of the intelligent terminal, which is convenient to carry, low in radiation and durable, and more energy-saving and environmentally friendly.
  • FIG. 1 is a schematic flow chart of a synchronous push method of notification information on a smart terminal side according to the present invention
  • 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 flowchart of a synchronous push method of notification information on a function terminal side according to the present invention
  • FIG. 4 is a block diagram of functional modules of an embodiment of a functional terminal of the present invention.
  • FIG. 5 is a block diagram of functional modules of another embodiment of the functional terminal of the present invention.
  • FIG. 6 is a functional block diagram of an embodiment of a system for implementing a synchronous push method for notification information of the present invention
  • FIG. 7 is a schematic flowchart of a specific embodiment of a method for synchronously pushing notification information in an intelligent terminal of the system shown in FIG. 6;
  • FIG. 8 is a schematic flowchart of a specific embodiment of a method for synchronously pushing notification information in a function terminal of the system shown in FIG. 6;
  • FIG. 9 is a flow chart showing still another embodiment of a method for synchronously pushing notification information in a function terminal of the system shown in FIG. 6.
  • FIG. 1 is a schematic flowchart of a method for synchronously pushing notification information according to the present invention on a smart terminal side.
  • the method for synchronously pushing notification information in this embodiment includes but is not limited to the following steps.
  • Step S11 The smart terminal acquires the notification information when receiving the notification information.
  • the notification information is preferably notification information such as webpage information, short message information, or QQ information, which may be from a webpage, an installed application, or a system.
  • the smart terminal of the embodiment can utilize the accessibility service in the Android framework (Accessibility).
  • the accessibility event mechanism of the Service obtains the notification information.
  • step S11 can also be based on Apple's Mac OS.
  • the X operating system is not to be described or limited in detail in the scope of the present invention.
  • Step S12 the plurality of field information included in the notification information is processed into a buffered data packet of a predetermined format.
  • the smart terminal may set an application name (APP Name) and a sender icon (sender) included in the notification information.
  • Icon application name
  • content tag text
  • tag text tag text
  • XML Extensible Markup Language
  • Step S13 The packaged buffered data packet is wirelessly transmitted to the function terminal, so that the buffered data packet is parsed by the function terminal, and the notification information is synchronously pushed.
  • the smart terminal passes the packaged buffered data packet through a 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.
  • FIG. 2 is a block diagram of a functional module of an embodiment of the present invention.
  • the smart terminal includes, but is not limited to, an acquisition module 21, a data packaging module 22, and a transmission module 23.
  • the obtaining module 21 is configured to acquire the notification information when receiving the notification information.
  • the notification information is preferably notification information such as webpage information, short message information, or QQ information, and may be information from a webpage, an installed application, or a system.
  • the obtaining module 21 of the embodiment may utilize Accessibility in the android framework.
  • the service's accessibility event mechanism gets notification information.
  • the acquisition module 21 can also be based on Apple's Mac OS.
  • the X operating system is not to be described or limited in detail in the scope of the present invention.
  • the data packing module 22 is configured to process the plurality of field information included in the notification information acquired by the obtaining module 21 into a buffered data packet of a predetermined format.
  • the data packing module 2 may use the APP Name and sender included in the notification information.
  • the field information processing of Icon, title, content, tick text, timestamp, etc. is packaged into a buffered data packet in an XML format, that is, the predetermined format is preferably XML.
  • the sending module 23 is configured to wirelessly transmit the buffered data packet packed by the data packing module 22 to the function terminal, so as to synchronously push the notification information after parsing the buffered data packet by the function terminal.
  • the sending module 23 may pass the packaged buffered data packet to the BT.
  • the SPP is transmitted to the function terminal.
  • 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.
  • FIG. 3 is a schematic flowchart of the synchronous push method of the notification information on the function terminal side of the present invention.
  • the synchronous push method of the notification information in this embodiment includes but is not limited to the following steps.
  • Step S31 The function terminal receives the buffered data packet in a predetermined format sent by the smart terminal by using a wireless manner.
  • the function terminal can transmit the protocol BT through the Bluetooth serial port in step S31.
  • the SPP receives the buffered data packet in a predetermined format sent by the smart terminal.
  • the predetermined format may be an XML format.
  • Step S32 parsing the buffered data packet according to the predetermined format to obtain a plurality of field information.
  • multiple field information can be APP Name, sender respectively. Icon, title, content, tick text, timestamp, etc., are not described here.
  • Step S33 the notification information is obtained according to the plurality of field information processings, and the notification information is synchronously pushed.
  • the step S33 of the embodiment may further include the following steps:
  • the corresponding notification information is displayed, ignored or deleted according to the operation action.
  • the function terminal can be fed back to the smart terminal in real time, so that the smart terminal can synchronously operate the notification information, for example, marked as Read, ignore or delete.
  • the notification information for example, marked as Read, ignore or delete.
  • synchronization may not be performed, and when the user uses the smart terminal, unified confirmation is performed again.
  • FIG. 4 is a functional block diagram of an embodiment of a functional terminal according to the present invention.
  • the functional terminal of the present embodiment includes, but is not limited to, a receiving module 41, a data parsing module 42, and a processing push module 43.
  • the receiving module 41 is configured to receive, by using a wireless manner, a buffered data packet of a predetermined format sent by the smart terminal.
  • the receiving module 41 of this embodiment can transmit the protocol BT through the Bluetooth serial port.
  • the SPP receives the buffered data packet in a predetermined format sent by the smart terminal.
  • the predetermined format may be an XML format.
  • the data parsing module 42 is configured to parse the buffered data packet received by the receiving module 41 according to the predetermined format to obtain a plurality of field information.
  • multiple field information can be APP separately Name, sender icon, title, content, tick text, timestamp, etc.
  • the processing push module 43 is configured to process the notification information according to the plurality of field information parsed by the data analysis module 42 and simultaneously push the notification information.
  • FIG. 5 is a functional block diagram of another embodiment of the functional terminal of the present invention.
  • the functional terminal may further include a display module 44, an action obtaining module 45, and an analysis processing module 46.
  • the display module 44 is configured to display at least one piece of notification information in a menu list after processing the at least one piece of notification information.
  • the action obtaining module 45 is configured to acquire an operation action of the user on the notification information displayed in the menu list.
  • the analysis processing module 46 is configured to display, ignore or delete the corresponding notification information according to the operation action acquired by the action acquisition module 45.
  • the function terminal After the function terminal realizes the operations of displaying, ignoring, marking, reading, or deleting, the function can be fed back to the smart terminal in real time, so that the smart terminal can synchronously operate the notification information, such as being marked as read, ignored, or deleted. .
  • the number of notification information may be set to 20, 25, 30, 40, etc., after the number of bars displayed in the menu list is exceeded, preferably sequentially in chronological order, of course, in the process of reading In the middle, the covered notification information in the menu list is displayed one by one until it is displayed/read.
  • the smart terminal, the function terminal, and the synchronous push method of the notification information provided by the embodiment of the present invention transmit and transmit the notification information to the function terminal on the smart terminal side, and the function terminal parses the data packet and passes the function.
  • the terminal itself pushes, thereby realizing the function of synchronizing/replacement of the smart terminal for notification information on the function terminal.
  • the embodiment of the present invention does not need to repeatedly operate the smart terminal, but fully utilizes a function terminal with small size, low power consumption, and long standby time to realize indirect operation on 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 some functions of the intelligent terminal, which is convenient to carry, low in radiation and durable, and more energy-saving and environmentally friendly.
  • FIG. 6 is a functional block diagram of a system for implementing the synchronous push method of the notification information of the present invention
  • FIG. 7 is a synchronous push of the notification information in the intelligent terminal of the system shown in FIG.
  • FIG. 8 is a schematic flowchart of a specific embodiment of a method for synchronously pushing notification information in a function terminal of the system shown in FIG. 6.
  • FIG. 9 is a schematic diagram of a function terminal of the system shown in FIG. A schematic flowchart of still another embodiment of the synchronous push method of information.
  • the embodiment needs to perform setting processing on the existing BT application, so that the BT application can be implemented in the frame of the Android framework. Accessibility service Service) to get notification information to complete the information transmission.
  • the specifics may include the following implementation processes:
  • Notification Service extends Accessibility Service (notification service extended accessibility service);
  • On Accessibility Event() which invokes an accessibility event
  • the field information of the notification information is packaged into an xml buffer (Buffer) (Extensible Markup Language Buffer Packet);
  • the specific implementation may include the following implementation process:
  • the notification information event EVT_ID_SRV_BT_NOTI_NEW_MSG that is, the function terminal triggers an event when receiving the buffered data packet sent by the smart terminal;
  • the organization needs to pop up the field information to be displayed in the message box;
  • the notification list is displayed and ends.
  • the smart terminal, the function terminal and the synchronous push method of the notification information provided by the embodiment of the present invention package and transmit the notification information to the function terminal on the smart terminal side, and the function terminal performs the data packet on the smart terminal side. It analyzes and pushes through the function terminal itself, thereby realizing the function of synchronizing/replacement of the smart terminal for notification information on the function terminal.
  • the embodiment of the present invention does not need to repeatedly operate the smart terminal, but fully utilizes a function terminal with small size, low power consumption, and long standby time to realize indirect operation on 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 some functions 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)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided are an intelligent terminal, functional terminal and synchronous push method of notification information, the method comprising: when an intelligent terminal receives notification information (S11), packaging a plurality of field information included in the notification information into a buffer data packet in a predetermined format (S12), and transmitting the buffer data packet to a functional terminal via a wireless method, and synchronously pushing the notification information after parsing the buffer data packet by the functional terminal (S13). The present invention realizes a notification information push function by synchronously pushing the notification information on the functional terminal/replacing the intelligent terminal with the functional terminal to push the notification information without repeatedly operating and using the intelligent terminal, and takes full advantage of the functional terminal having a small size, low power consumption and long standby time to indirectly operate the intelligent terminal, thus realizing an effective combination of the intelligent terminal and the functional terminal, synchronizing a part of functions of the intelligent terminal by utilizing the functional terminal, and being convenient to carry and use, durable, energy-saving and environmentally friendly with low radiation.

Description

智能终端、功能终端及通知信息的同步推送方法 Synchronous push method of intelligent terminal, function terminal and notification information
【技术领域】[Technical Field]
本发明属于移动终端技术领域,具体涉及一种智能终端和一种功能终端,以及其分别实现通知信息的同步推送方法。The invention belongs to the technical field of mobile terminals, and particularly relates to an intelligent terminal and a function terminal, and a synchronous push method for implementing notification information respectively.
【背景技术】 【Background technique】
随着安卓(Android)等功能平台的兴起和高速发展,智能终端等智能平台设备越来越流行,其正在影响人们的日常工作生活,但目前的智能平台设备往往体积较大、重量大且耗电量高,如大屏手机、平板电脑等。With the rise of Android and other functional platforms and the rapid development of smart platforms, smart platform devices such as smart terminals are becoming more and more popular, which is affecting people's daily work and life. However, current smart platform devices tend to be bulky, heavy and consume. High power, such as large-screen mobile phones, tablets, and so on.
另外,具备物理键盘的Feature Phone(功能机)或老人机等纯功能性的设备往往具有体积小、待机时间长、携带使用方便等特点,虽然没有搭载流行的智能操作系统,但同样具有多媒体应用功能,例如播放音乐等。In addition, the feature with a physical keyboard Purely functional devices such as Phone (function machine) or old man machine often have the characteristics of small size, long standby time, and convenient carrying. Although they are not equipped with popular intelligent operating systems, they also have multimedia application functions, such as playing music.
显然,两者的优点很难得到有机的给合使用,大部分用户不得不为了需求而择一地选择“智能”或“功能简洁、耐用”,这很大程度上影响了用户体验,降低了产品的市场竞争力。Obviously, the advantages of the two are difficult to get organically. Most users have to choose “smart” or “simple and durable” for their needs, which greatly affects the user experience and reduces the user experience. The market competitiveness of products.
【发明内容】 [Summary of the Invention]
有鉴于此,本发明实施例提供一种智能终端、功能终端及通知信息的同步推送方法,能够有效地实现智能终端和功能终端之间的结合使用,利用功能终端实现对智能终端的部分功能同步,携带使用方便且耐用,更加节能环保。In view of this, the embodiments of the present invention provide a smart terminal, a function terminal, and a synchronous push method for notification information, which can effectively realize the combined use of the smart terminal and the function terminal, and realize the partial function synchronization of the smart terminal by using the function terminal. It is easy to carry and durable, and more energy-saving and environmentally friendly.
为解决上述技术问题,本发明实施例提供一种通知信息的同步推送方法,所述同步推送方法包括:智能终端在接收到通知信息时,获取所述通知信息;将所述通知信息所包含的多个字段信息处理打包成预定格式的缓冲数据包;将打包的所述缓冲数据包通过无线方式传输给功能终端,以通过所述功能终端对所述缓冲数据包进行解析后同步推送所述通知信息。In order to solve the above technical problem, an embodiment of the present invention provides a method for synchronously pushing notification information, where the synchronization push method includes: when receiving the notification information, the smart terminal acquires the notification information; The plurality of field information processing is packaged into a buffered data packet of a predetermined format; the packaged buffered data packet is wirelessly transmitted to the functional terminal, and the buffered data packet is parsed by the functional terminal, and the notification is synchronously pushed. information.
其中,所述获取所述通知信息的步骤,具体包括:利用安卓框架中的可访问性服务的可访问性事件机制获取所述通知信息。所述将打包的所述缓冲数据包通过无线方式传输给功能终端的步骤,具体包括:将打包的所述缓冲数据包通过蓝牙串口传输协议传输给所述功能终端。The step of acquiring the notification information specifically includes: acquiring the notification information by using an accessibility event mechanism of an accessibility service in an Android framework. And the step of transmitting the buffered data packet to the function terminal by using a wireless method, and the method includes: transmitting the packaged buffer data packet to the function terminal by using a Bluetooth serial port transmission protocol.
其中,所述将所述通知信息所包含的多个字段信息处理打包成预定格式的缓冲数据包的步骤,具体包括:将所述通知信息所包含的应用名称、发送者图标、主体、内容、标记文本、时间戳的字段信息处理打包成可扩展标记语言XML格式的缓冲数据包。The step of processing the plurality of field information information included in the notification information into a buffered data packet of a predetermined format includes: applying an application name, a sender icon, a body, and a content included in the notification information, The field information processing of the markup text and timestamp is packaged into a buffered data packet in the XML format of the Extensible Markup Language.
为解决上述技术问题,本发明实施例还提供一种智能终端,所述智能终端包括:获取模块,用于在接收到通知信息时,获取所述通知信息;数据打包模块,用于将所述获取模块获取的所述通知信息所包含的多个字段信息处理打包成预定格式的缓冲数据包;发送模块,用于将所述数据打包模块打包的所述缓冲数据包通过无线方式传输给功能终端,以通过所述功能终端对所述缓冲数据包进行解析后同步推送所述通知信息。In order to solve the above technical problem, the embodiment of the present invention further provides an intelligent terminal, where the smart terminal includes: an acquiring module, configured to acquire the notification information when receiving the notification information; and a data packaging module, configured to: The plurality of field information included in the notification information acquired by the obtaining module is packaged into a buffered data packet of a predetermined format, and the sending module is configured to wirelessly transmit the buffered data packet packaged by the data packing module to the functional terminal. And the notification information is synchronously pushed by parsing the buffered data packet by the function terminal.
其中,所述获取模块,具体用于利用安卓框架中的可访问性服务的可访问性事件机制获取所述通知信息;所述数据打包模块,具体用于将所述通知信息所包含的应用名称、发送者图标、主体、内容、标记文本、时间戳的字段信息处理打包成可扩展标记语言XML格式的缓冲数据包;所述发送模块,具体用于将打包的所述缓冲数据包通过蓝牙串口传输协议传输给所述功能终端。The obtaining module is specifically configured to acquire the notification information by using an accessibility event mechanism of an accessibility service in an Android framework. The data packaging module is specifically configured to: use an application name included in the notification information. The field information of the sender icon, the body, the content, the tag text, and the time stamp is processed into a buffered data packet in an XML format of the Extensible Markup Language; the sending module is specifically configured to pass the buffered data packet through the Bluetooth serial port. The transmission protocol is transmitted to the functional terminal.
为解决上述技术问题,本发明实施例还提供一种通知信息的同步推送方法,所述同步推送方法包括:功能终端通过无线方式接收智能终端发送过来的预定格式的缓冲数据包;根据所述预定格式对所述缓冲数据包进行解析以得到多个字段信息;根据所述多个字段信息处理得到通知信息并同步推送所述通知信息。In order to solve the above technical problem, the embodiment of the present invention further provides a synchronous push method for notification information, where the synchronous push method includes: the function terminal wirelessly receives a buffered data packet of a predetermined format sent by the smart terminal; Formatting the buffered data packet to obtain a plurality of field information; processing the notification information according to the plurality of field information and simultaneously pushing the notification information.
其中,所述功能终端通过无线方式接收智能终端发送过来的预定格式的缓冲数据包的步骤,具体包括:功能终端通过蓝牙串口传输协议接收智能终端发送过来的预定格式的缓冲数据包。The step of the function terminal receiving the buffered data packet of the predetermined format sent by the smart terminal by using the wireless terminal, specifically includes: the function terminal receiving the buffered data packet of the predetermined format sent by the smart terminal by using the Bluetooth serial port transmission protocol.
其中,所述根据所述多个字段信息处理得到通知信息并同步推送所述通知信息的步骤,还包括:在处理得到至少一条通知信息后,以菜单列表的方式显示至少一条通知信息;获取用户对所述菜单列表中所显示的通知信息的操作动作;根据所述操作动作显示、忽略或删除对应的通知信息。The step of processing the notification information according to the plurality of field information and simultaneously pushing the notification information further includes: displaying at least one piece of notification information in a menu list manner after processing the at least one piece of notification information; acquiring the user An operation action on the notification information displayed in the menu list; displaying, ignoring or deleting the corresponding notification information according to the operation action.
为解决上述技术问题,本发明实施例还提供一种功能终端,所述功能终端包括:接收模块,用于通过无线方式接收智能终端发送过来的预定格式的缓冲数据包;数据解析模块,用于根据所述预定格式对所述接收模块接收的所述缓冲数据包进行解析以得到多个字段信息;处理推送模块,用于根据所述数据解析模块解析得到的所述多个字段信息处理得到通知信息并同步推送所述通知信息。In order to solve the above technical problem, the embodiment of the present invention further provides a function terminal, where the function terminal includes: a receiving module, configured to receive, by using a wireless manner, a buffered data packet of a predetermined format sent by the smart terminal; and a data parsing module, configured to: And parsing the buffered data packet received by the receiving module to obtain a plurality of field information according to the predetermined format; and processing a pushing module, configured to be notified according to the processing of the multiple field information obtained by the data parsing module Information and push the notification information synchronously.
其中,所述接收模块,具体用于通过蓝牙串口传输协议接收智能终端发送过来的预定格式的缓冲数据包。所述功能终端,还包括:显示模块,用于在处理得到至少一条通知信息后,以菜单列表的方式显示至少一条通知信息;动作获取模块,用于获取用户对所述菜单列表中所显示的通知信息的操作动作;分析处理模块,用于根据所述动作获取模块获取的所述操作动作显示、忽略或删除对应的通知信息。The receiving module is specifically configured to receive, by using a Bluetooth serial port transmission protocol, a buffered data packet of a predetermined format sent by the smart terminal. The function terminal further includes: a display module, configured to display at least one piece of notification information in a menu list manner after processing the at least one piece of notification information; and the action obtaining module is configured to acquire a user displayed on the menu list An operation action of the notification information; the analysis processing module is configured to display, ignore or delete the corresponding notification information according to the operation action acquired by the action acquisition module.
通过上述技术方案,本发明实施例的有益效果是:本发明实施例所提供的智能终端、功能终端及通知信息的同步推送方法,在智能终端侧通过将通知信息打包传输给功能终端,而功能终端对数据包进行解析并通过功能终端自身进行推送,从而实现了在功能终端上同步/替代智能终端进行通知信息的推送功能。不难理解的是,通过此种方式,本发明实施例无需反复地操作使用智能终端,而充分地利用体积小、耗电低、待机时间长的功能终端实现对智能终端的间接操作,有效地实现智能终端和功能终端之间的结合使用,利用功能终端实现对智能终端的部分功能同步,携带使用方便、低辐射且耐用,更加节能环保。With the above technical solution, the beneficial effects of the embodiments of the present invention are: the intelligent terminal, the function terminal, and the synchronous push method of the notification information provided by the embodiment of the present invention, by transmitting and transmitting the notification information to the function terminal on the intelligent terminal side, and the function The terminal parses the data packet and pushes it through the function terminal itself, thereby realizing the function of synchronizing/replacement of the intelligent terminal to perform notification information on the function terminal. It is not difficult to understand that, in this manner, the embodiment of the present invention does not need to repeatedly operate the smart terminal, but fully utilizes a function terminal with small size, low power consumption, and long standby time to realize indirect operation on 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 some functions of the intelligent terminal, which is convenient to carry, low in radiation and durable, and more energy-saving and environmentally friendly.
【附图说明】 [Description of the Drawings]
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是本发明通知信息的同步推送方法在智能终端一侧的流程示意图;1 is a schematic flow chart of a synchronous push method of notification information on a smart terminal side according to the present invention;
图2是本发明智能终端一实施例的功能模块框图;2 is a block diagram of functional modules of an embodiment of the intelligent terminal of the present invention;
图3是本发明通知信息的同步推送方法在功能终端一侧的流程示意图;3 is a schematic flowchart of a synchronous push method of notification information on a function terminal side according to the present invention;
图4是本发明功能终端一实施例的功能模块框图;4 is a block diagram of functional modules of an embodiment of a functional terminal of the present invention;
图5是本发明功能终端另一实施例的功能模块框图;5 is a block diagram of functional modules of another embodiment of the functional terminal of the present invention;
图6是实现本发明通知信息的同步推送方法的系统一实施例的功能模块框图;6 is a functional block diagram of an embodiment of a system for implementing a synchronous push method for notification information of the present invention;
图7是图6所示系统的智能终端中,通知信息的同步推送方法的具体实施例的流程示意图;7 is a schematic flowchart of a specific embodiment of a method for synchronously pushing notification information in an intelligent terminal of the system shown in FIG. 6;
图8是图6所示系统的功能终端中,通知信息的同步推送方法的具体实施例的流程示意图;8 is a schematic flowchart of a specific embodiment of a method for synchronously pushing notification information in a function terminal of the system shown in FIG. 6;
图9是图6所示系统的功能终端中,通知信息的同步推送方法的又一具体实施例的流程示意图。FIG. 9 is a flow chart showing still another embodiment of a method for synchronously pushing notification information in a function terminal of the system shown in FIG. 6.
【具体实施方式】【detailed description】
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
请参阅图1,图1是本发明通知信息的同步推送方法在智能终端一侧的流程示意图,本实施例通知信息的同步推送方法包括但不限于以下步骤。Referring to FIG. 1, FIG. 1 is a schematic flowchart of a method for synchronously pushing notification information according to the present invention on a smart terminal side. The method for synchronously pushing notification information in this embodiment includes but is not limited to the following steps.
步骤S11,智能终端在接收到通知信息时,获取所述通知信息。Step S11: The smart terminal acquires the notification information when receiving the notification information.
在步骤S11中,所述通知信息优选地为网页信息、短信信息或QQ信息等通知信息,其可以来自网页、安装的应用或者系统等信息。In step S11, the notification information is preferably notification information such as webpage information, short message information, or QQ information, which may be from a webpage, an installed application, or a system.
需要说明的是,本实施例的智能终端可以利用安卓(android)框架中的可访问性服务(Accessibility Service)的可访问性事件机制获取所述通知信息。It should be noted that the smart terminal of the embodiment can utilize the accessibility service in the Android framework (Accessibility). The accessibility event mechanism of the Service) obtains the notification information.
当然,在其他实施例中,步骤S11也可以基于苹果公司的Mac OS X操作系统,在本技术领域人员容易结合理解的范围内,在此不作细述和限定。Of course, in other embodiments, step S11 can also be based on Apple's Mac OS. The X operating system is not to be described or limited in detail in the scope of the present invention.
步骤S12,将所述通知信息所包含的多个字段信息处理打包成预定格式的缓冲数据包。Step S12, the plurality of field information included in the notification information is processed into a buffered data packet of a predetermined format.
在步骤S12中,智能终端可以将所述通知信息所包含的应用名称(APP Name)、发送者图标(sender Icon)、主体(title)、内容(content)、标记文本(tick Text)、时间戳(timestamp)等字段信息处理打包成可扩展标记语言(XML)格式的缓冲数据包,即预定格式优选地为XML。In step S12, the smart terminal may set an application name (APP Name) and a sender icon (sender) included in the notification information. Icon), title, content, tag text (tick) The field information processing such as Text), timestamp, etc. is packaged into a buffered data packet in an Extensible Markup Language (XML) format, that is, the predetermined format is preferably XML.
步骤S13,将打包的所述缓冲数据包通过无线方式传输给功能终端,以通过所述功能终端对所述缓冲数据包进行解析后同步推送所述通知信息。Step S13: The packaged buffered data packet is wirelessly transmitted to the function terminal, so that the buffered data packet is parsed by the function terminal, and the notification information is synchronously pushed.
在本实施例中,智能终端将打包的所述缓冲数据包通过蓝牙串口传输协议(BT SPP)传输给所述功能终端。需要说明的是,本实施例智能终端和功能终端之间的数据传输设计优选地采用BT SPP的传输协议,利用BT SPP定义智能终端和功能终端两个蓝牙设备之间通过蓝牙仿真RS232串口通信标准的过程和规则,实现两者之间BT 虚拟串口传输,架构简单,而无需对现有的智能终端或功能终端作出较大的改变,成本低,易于操作实现和推广使用。In this embodiment, the smart terminal passes the packaged buffered data packet through a Bluetooth serial port transmission protocol (BT). SPP) is transmitted to the functional terminal. It should be noted that 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.
相应地,结合图1参阅图2,图2是本发明智能终端一实施例的功能模块框图,本实施例智能终端包括但不限于获取模块21、数据打包模块22和发送模块23。FIG. 2 is a block diagram of a functional module of an embodiment of the present invention. The smart terminal includes, but is not limited to, an acquisition module 21, a data packaging module 22, and a transmission module 23.
在本实施例中,获取模块21用于在接收到通知信息时,获取通知信息。其中,所述通知信息优选地为网页信息、短信信息或QQ信息等通知信息,其可以来自网页、安装的应用或者系统等信息。In this embodiment, the obtaining module 21 is configured to acquire the notification information when receiving the notification information. The notification information is preferably notification information such as webpage information, short message information, or QQ information, and may be information from a webpage, an installed application, or a system.
需要说明的是,本实施例的获取模块21可以利用android框架中的Accessibility Service的可访问性事件机制获取通知信息。在其他实施例中,获取模块21也可以基于苹果公司的Mac OS X操作系统,在本技术领域人员容易结合理解的范围内,在此不作细述和限定。It should be noted that the obtaining module 21 of the embodiment may utilize Accessibility in the android framework. The service's accessibility event mechanism gets notification information. In other embodiments, the acquisition module 21 can also be based on Apple's Mac OS. The X operating system is not to be described or limited in detail in the scope of the present invention.
数据打包模块22用于将获取模块21获取的通知信息所包含的多个字段信息处理打包成预定格式的缓冲数据包。The data packing module 22 is configured to process the plurality of field information included in the notification information acquired by the obtaining module 21 into a buffered data packet of a predetermined format.
在本实施例中,数据打包模块2可以将所述通知信息所包含的APP Name、sender Icon、title、content、tick Text、timestamp等字段信息处理打包成XML格式的缓冲数据包,即预定格式优选地为XML。In this embodiment, the data packing module 2 may use the APP Name and sender included in the notification information. The field information processing of Icon, title, content, tick text, timestamp, etc. is packaged into a buffered data packet in an XML format, that is, the predetermined format is preferably XML.
发送模块23用于将数据打包模块22打包的缓冲数据包通过无线方式传输给功能终端,以通过功能终端对缓冲数据包进行解析后同步推送通知信息。The sending module 23 is configured to wirelessly transmit the buffered data packet packed by the data packing module 22 to the function terminal, so as to synchronously push the notification information after parsing the buffered data packet by the function terminal.
在本实施例中,发送模块23可以将打包的所述缓冲数据包通过BT SPP传输给功能终端。需要说明的是,本实施例智能终端和功能终端之间的数据传输设计优选地采用BT SPP的传输协议,利用BT SPP定义智能终端和功能终端两个蓝牙设备之间通过蓝牙仿真RS232串口通信标准的过程和规则,实现两者之间BT 虚拟串口传输,架构简单,而无需对现有的智能终端或功能终端作出较大的改变,成本低,易于操作实现和推广使用。In this embodiment, the sending module 23 may pass the packaged buffered data packet to the BT. The SPP is transmitted to the function terminal. It should be noted that 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.
请参阅图3,图3是本发明通知信息的同步推送方法在功能终端一侧的流程示意图,本实施例通知信息的同步推送方法包括但不限于如下步骤。Referring to FIG. 3, FIG. 3 is a schematic flowchart of the synchronous push method of the notification information on the function terminal side of the present invention. The synchronous push method of the notification information in this embodiment includes but is not limited to the following steps.
步骤S31,功能终端通过无线方式接收智能终端发送过来的预定格式的缓冲数据包。Step S31: The function terminal receives the buffered data packet in a predetermined format sent by the smart terminal by using a wireless manner.
与前面实施例对应的是,步骤S31中功能终端可以通过蓝牙串口传输协议BT SPP接收智能终端发送过来的预定格式的缓冲数据包。Corresponding to the previous embodiment, the function terminal can transmit the protocol BT through the Bluetooth serial port in step S31. The SPP receives the buffered data packet in a predetermined format sent by the smart terminal.
其中,预定格式可以为XML格式。The predetermined format may be an XML format.
步骤S32,根据所述预定格式对所述缓冲数据包进行解析以得到多个字段信息。Step S32, parsing the buffered data packet according to the predetermined format to obtain a plurality of field information.
如前所述,多个字段信息可以分别为APP Name、sender Icon、title、content、tick Text、timestamp等,在此不作赘述。As mentioned earlier, multiple field information can be APP Name, sender respectively. Icon, title, content, tick text, timestamp, etc., are not described here.
步骤S33,根据所述多个字段信息处理得到通知信息并同步推送所述通知信息。Step S33, the notification information is obtained according to the plurality of field information processings, and the notification information is synchronously pushed.
需要说明的是,由于通知信息可以为一条或多条,因此,本实施例步骤S33具体还可以包括如下步骤:It should be noted that, as the notification information may be one or more, the step S33 of the embodiment may further include the following steps:
在处理得到至少一条通知信息后,以菜单列表的方式显示至少一条通知信息;After processing at least one piece of notification information, displaying at least one piece of notification information in a menu list manner;
获取用户对所述菜单列表中所显示的通知信息的操作动作;Obtaining an operation action of the user on the notification information displayed in the menu list;
根据所述操作动作显示、忽略或删除对应的通知信息。The corresponding notification information is displayed, ignored or deleted according to the operation action.
需要说明的是,本实施例在功能终端实现显示阅读、忽略、标记为已读、或删除等动作之后,可以实时反馈给智能终端,使得智能终端可以同步对通知信息进行操作,比如标记为已读、忽略或删除。当然,为了确保信息不被丢失,也可以不进行同步,而在用户使用智能终端时,再次进行统一确认。It should be noted that, after the function terminal implements the actions of displaying, ignoring, marking, or deleting, the function terminal can be fed back to the smart terminal in real time, so that the smart terminal can synchronously operate the notification information, for example, marked as Read, ignore or delete. Of course, in order to ensure that information is not lost, synchronization may not be performed, and when the user uses the smart terminal, unified confirmation is performed again.
请结合图3及其描述参阅图4,图4是本发明功能终端一实施例的功能模块框图,本实施例功能终端包括但不限于接收模块41、数据解析模块42和处理推送模块43。Referring to FIG. 3 and FIG. 3, FIG. 4 is a functional block diagram of an embodiment of a functional terminal according to the present invention. The functional terminal of the present embodiment includes, but is not limited to, a receiving module 41, a data parsing module 42, and a processing push module 43.
在本实施例中,接收模块41用于通过无线方式接收智能终端发送过来的预定格式的缓冲数据包。In this embodiment, the receiving module 41 is configured to receive, by using a wireless manner, a buffered data packet of a predetermined format sent by the smart terminal.
本实施例接收模块41可以通过蓝牙串口传输协议BT SPP接收智能终端发送过来的预定格式的缓冲数据包。其中,预定格式可以为XML格式。The receiving module 41 of this embodiment can transmit the protocol BT through the Bluetooth serial port. The SPP receives the buffered data packet in a predetermined format sent by the smart terminal. The predetermined format may be an XML format.
数据解析模块42用于根据所述预定格式对所述接收模块41接收的所述缓冲数据包进行解析以得到多个字段信息。其中,多个字段信息可以分别为APP Name、sender Icon、title、content、tick Text、timestamp等。The data parsing module 42 is configured to parse the buffered data packet received by the receiving module 41 according to the predetermined format to obtain a plurality of field information. Among them, multiple field information can be APP separately Name, sender icon, title, content, tick text, timestamp, etc.
处理推送模块43用于根据所述数据解析模块42解析得到的所述多个字段信息处理得到通知信息并同步推送所述通知信息。The processing push module 43 is configured to process the notification information according to the plurality of field information parsed by the data analysis module 42 and simultaneously push the notification information.
需要指出的是,请结合图4参阅图5,图5是本发明功能终端另一实施例的功能模块框图,功能终端还可以包括显示模块44、动作获取模块45和分析处理模块46。It should be noted that FIG. 5 is a functional block diagram of another embodiment of the functional terminal of the present invention. The functional terminal may further include a display module 44, an action obtaining module 45, and an analysis processing module 46.
显示模块44用于在处理得到至少一条通知信息后,以菜单列表的方式显示至少一条通知信息。The display module 44 is configured to display at least one piece of notification information in a menu list after processing the at least one piece of notification information.
动作获取模块45用于获取用户对所述菜单列表中所显示的通知信息的操作动作。The action obtaining module 45 is configured to acquire an operation action of the user on the notification information displayed in the menu list.
分析处理模块46用于根据所述动作获取模块45获取的所述操作动作显示、忽略或删除对应的通知信息。The analysis processing module 46 is configured to display, ignore or delete the corresponding notification information according to the operation action acquired by the action acquisition module 45.
本实施例在功能终端实现显示阅读、忽略、标记为已读、或删除等动作之后,可以实时反馈给智能终端,使得智能终端可以同步对通知信息进行操作,比如标记为已读、忽略或删除。当然,为了确保信息不被丢失,也可以不进行同步,而在用户使用智能终端时,再次进行统一确认。此外,需要指出的是,通知信息的条数可以设置为20、25、30、40等,当菜单列表中显示的条数超过之后,优选地按时间先后顺序依次覆盖,当然,在阅读的过程中,菜单列表中被覆盖的通知信息再逐条显示,直至显示/读完。After the function terminal realizes the operations of displaying, ignoring, marking, reading, or deleting, the function can be fed back to the smart terminal in real time, so that the smart terminal can synchronously operate the notification information, such as being marked as read, ignored, or deleted. . Of course, in order to ensure that information is not lost, synchronization may not be performed, and when the user uses the smart terminal, unified confirmation is performed again. In addition, it should be noted that the number of notification information may be set to 20, 25, 30, 40, etc., after the number of bars displayed in the menu list is exceeded, preferably sequentially in chronological order, of course, in the process of reading In the middle, the covered notification information in the menu list is displayed one by one until it is displayed/read.
综上所述,本发明实施例所提供的智能终端、功能终端及通知信息的同步推送方法,在智能终端侧通过将通知信息打包传输给功能终端,而功能终端对数据包进行解析并通过功能终端自身进行推送,从而实现了在功能终端上同步/替代智能终端进行通知信息的推送功能。不难理解的是,通过此种方式,本发明实施例无需反复地操作使用智能终端,而充分地利用体积小、耗电低、待机时间长的功能终端实现对智能终端的间接操作,有效地实现智能终端和功能终端之间的结合使用,利用功能终端实现对智能终端的部分功能同步,携带使用方便、低辐射且耐用,更加节能环保。In summary, the smart terminal, the function terminal, and the synchronous push method of the notification information provided by the embodiment of the present invention transmit and transmit the notification information to the function terminal on the smart terminal side, and the function terminal parses the data packet and passes the function. The terminal itself pushes, thereby realizing the function of synchronizing/replacement of the smart terminal for notification information on the function terminal. It is not difficult to understand that, in this manner, the embodiment of the present invention does not need to repeatedly operate the smart terminal, but fully utilizes a function terminal with small size, low power consumption, and long standby time to realize indirect operation on 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 some functions of the intelligent terminal, which is convenient to carry, low in radiation and durable, and more energy-saving and environmentally friendly.
为了让本发明更容易理解和实施,下面将结合最优的实施例对本发明作进一步的描述。请一并参阅图6到图9,图6是实现本发明通知信息的同步推送方法的系统一实施例的功能模块框图,图7是图6所示系统的智能终端中,通知信息的同步推送方法的具体实施例的流程示意图,图8是图6所示系统的功能终端中,通知信息的同步推送方法的具体实施例的流程示意图,图9是图6所示系统的功能终端中,通知信息的同步推送方法的又一具体实施例的流程示意图。In order to make the present invention easier to understand and implement, the present invention will be further described in conjunction with the preferred embodiments. Please refer to FIG. 6 to FIG. 9. FIG. 6 is a functional block diagram of a system for implementing the synchronous push method of the notification information of the present invention, and FIG. 7 is a synchronous push of the notification information in the intelligent terminal of the system shown in FIG. FIG. 8 is a schematic flowchart of a specific embodiment of a method for synchronously pushing notification information in a function terminal of the system shown in FIG. 6. FIG. 9 is a schematic diagram of a function terminal of the system shown in FIG. A schematic flowchart of still another embodiment of the synchronous push method of information.
其中,在图6和图7所揭示的智能终端中,为了实现通知信息的推送,本实施例需要对现有的BT应用进行设置处理,使得BT应用能够借助Android的框架(frameworks)层中的无障碍服务(Accessibility Service)来获取通知信息,以便完成信息传输。其具体可以包括如下实现流程:In the smart terminal disclosed in FIG. 6 and FIG. 7 , in order to implement the push of the notification information, the embodiment needs to perform setting processing on the existing BT application, so that the BT application can be implemented in the frame of the Android framework. Accessibility service Service) to get notification information to complete the information transmission. The specifics may include the following implementation processes:
开始;Start;
通知信息到来;Notification information arrives;
Notification Service extends Accessibility Service(通知服务延伸可访问性服务);Notification Service extends Accessibility Service (notification service extended accessibility service);
On Accessibility Event(),即调用可访问性事件;On Accessibility Event(), which invokes an accessibility event;
创建通知标头(Header)信息;Create a notification header (Header) information;
创建通知体(Body)信息;Create notification body information;
通知信息的字段信息打包成xml 缓存(Buffer)(可扩展标记语言缓冲数据包);The field information of the notification information is packaged into an xml buffer (Buffer) (Extensible Markup Language Buffer Packet);
BT(蓝牙)是否连接?在判断为是时,执行下一步,在判断为否时,返回并结束;Is BT (Bluetooth) connected? When the judgment is yes, the next step is performed, and when the judgment is no, the process returns to and ends;
发送xml Buffer,结束。Send xml Buffer and end.
而在功能终端侧,如图6、图8和图9所示,其具体可以包括如下实现流程:On the functional terminal side, as shown in FIG. 6, FIG. 8, and FIG. 9, the specific implementation may include the following implementation process:
开始;Start;
通知信息事件EVT_ID_SRV_BT_NOTI_NEW_MSG,即功能终端接收到智能终端发送过来的缓冲数据包时触发事件;The notification information event EVT_ID_SRV_BT_NOTI_NEW_MSG, that is, the function terminal triggers an event when receiving the buffered data packet sent by the smart terminal;
解析xml 缓存(Buffer),生成信息对应字段;Parsing the xml cache (Buffer), generating a corresponding field of information;
发送EVT_ID_SRV_BT_NOTI_REFRESH事件消息;Send an EVT_ID_SRV_BT_NOTI_REFRESH event message;
组织需要弹出消息框要显示的字段信息;The organization needs to pop up the field information to be displayed in the message box;
组织并保存需要的显示信息字段,即确定需要显示的通知信息的具体内容。Organize and save the required display information fields, that is, determine the specific content of the notification information that needs to be displayed.
同理,如果通知信息为多条,则还包括如下实现流程:Similarly, if the notification information is multiple, the following implementation process is also included:
开始;Start;
点击通知(Notification)菜单;Click on the Notification menu;
通知信息个数是否为0?在判断到为0时,列表显示为空并结束,在判断到不为0时,执行下一步;Is the number of notification messages 0? When it is judged to be 0, the list is displayed as empty and ends, and when it is judged that it is not 0, the next step is executed;
把各个通知信息的应用名称(App Name)赋值给列表菜单;Assigning the application name (App Name) of each notification information to the list menu;
显示通知列表,结束。The notification list is displayed and ends.
结合上述具体实施例不难看出,本发明实施例所提供的智能终端、功能终端及通知信息的同步推送方法,在智能终端侧通过将通知信息打包传输给功能终端,而功能终端对数据包进行解析并通过功能终端自身进行推送,从而实现了在功能终端上同步/替代智能终端进行通知信息的推送功能。不难理解的是,通过此种方式,本发明实施例无需反复地操作使用智能终端,而充分地利用体积小、耗电低、待机时间长的功能终端实现对智能终端的间接操作,有效地实现智能终端和功能终端之间的结合使用,利用功能终端实现对智能终端的部分功能同步,携带使用方便、低辐射且耐用,更加节能环保。It is not difficult to see that the smart terminal, the function terminal and the synchronous push method of the notification information provided by the embodiment of the present invention package and transmit the notification information to the function terminal on the smart terminal side, and the function terminal performs the data packet on the smart terminal side. It analyzes and pushes through the function terminal itself, thereby realizing the function of synchronizing/replacement of the smart terminal for notification information on the function terminal. It is not difficult to understand that, in this manner, the embodiment of the present invention does not need to repeatedly operate the smart terminal, but fully utilizes a function terminal with small size, low power consumption, and long standby time to realize indirect operation on 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 some functions of the intelligent terminal, which is convenient to carry, low in radiation and durable, and more energy-saving and environmentally friendly.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,例如各实施例之间技术特征的相互结合,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent flow transformation made by the description of the present invention and the contents of the drawings, for example, the mutual technical features between the embodiments. Combinations, or direct or indirect use in other related technical fields, are included within the scope of the patent protection of the present invention.

Claims (12)

  1. 一种通知信息的同步推送方法,其特征在于,所述同步推送方法包括:A synchronous push method for notification information, characterized in that the synchronous push method comprises:
    智能终端在接收到通知信息时,利用安卓框架中的可访问性服务的可访问性事件机制获取所述通知信息;When receiving the notification information, the smart terminal acquires the notification information by using an accessibility event mechanism of the accessibility service in the Android framework;
    将所述通知信息所包含的应用名称、发送者图标、主体、内容、标记文本、时间戳的字段信息处理打包成可扩展标记语言XML格式的缓冲数据包;The field information of the application name, the sender icon, the body, the content, the markup text, and the timestamp included in the notification information is processed into a buffered data packet in an XML format of the Extensible Markup Language;
    将打包的所述缓冲数据包通过无线方式传输给功能终端,以通过所述功能终端对所述缓冲数据包进行解析后同步推送所述通知信息。And transmitting the buffered data packet to the function terminal by using a wireless manner, so that the buffered data packet is parsed by the function terminal, and the notification information is synchronously pushed.
  2. 根据权利要求1所述的同步推送方法,其特征在于,所述将打包的所述缓冲数据包通过无线方式传输给功能终端的步骤,具体包括:将打包的所述缓冲数据包通过蓝牙串口传输协议传输给所述功能终端。The method according to claim 1, wherein the step of transmitting the packaged buffered data packet to the functional terminal by using a wireless method comprises: transmitting the packaged buffered data packet through a Bluetooth serial port. The protocol is transmitted to the functional terminal.
  3. 一种智能终端,其特征在于,所述智能终端包括:An intelligent terminal, where the smart terminal includes:
    获取模块,用于在接收到通知信息时,获取所述通知信息;An obtaining module, configured to acquire the notification information when receiving the notification information;
    数据打包模块,用于将所述获取模块获取的所述通知信息所包含的多个字段信息处理打包成预定格式的缓冲数据包;a data packaging module, configured to process the plurality of field information included in the notification information acquired by the obtaining module into a buffered data packet in a predetermined format;
    发送模块,用于将所述数据打包模块打包的所述缓冲数据包通过无线方式传输给功能终端,以通过所述功能终端对所述缓冲数据包进行解析后同步推送所述通知信息。The sending module is configured to wirelessly transmit the buffered data packet that is packaged by the data packing module to the function terminal, so that the buffered data packet is parsed by the function terminal, and the notification information is synchronously pushed.
  4. 根据权利要求3所述的智能终端,其特征在于:The intelligent terminal according to claim 3, characterized in that:
    所述获取模块,具体用于利用安卓框架中的可访问性服务的可访问性事件机制获取所述通知信息。The obtaining module is specifically configured to acquire the notification information by using an accessibility event mechanism of an accessibility service in an Android framework.
  5. 根据权利要求3所述的智能终端,其特征在于:The intelligent terminal according to claim 3, characterized in that:
    所述数据打包模块,具体用于将所述通知信息所包含的应用名称、发送者图标、主体、内容、标记文本、时间戳的字段信息处理打包成可扩展标记语言XML格式的缓冲数据包。The data packaging module is specifically configured to process the field information of the application name, the sender icon, the body, the content, the markup text, and the timestamp included in the notification information into a buffered data packet in an extensible markup language XML format.
  6. 根据权利要求3所述的智能终端,其特征在于:The intelligent terminal according to claim 3, characterized in that:
    所述发送模块,具体用于将打包的所述缓冲数据包通过蓝牙串口传输协议传输给所述功能终端。The sending module is specifically configured to transmit the packaged buffer data packet to the function terminal by using a Bluetooth serial port transmission protocol.
  7. 一种通知信息的同步推送方法,其特征在于,所述同步推送方法包括:A synchronous push method for notification information, characterized in that the synchronous push method comprises:
    功能终端通过无线方式接收智能终端发送过来的预定格式的缓冲数据包;The function terminal wirelessly receives the buffered data packet in a predetermined format sent by the smart terminal;
    根据所述预定格式对所述缓冲数据包进行解析以得到多个字段信息;Parsing the buffered data packet according to the predetermined format to obtain a plurality of field information;
    根据所述多个字段信息处理得到通知信息并同步推送所述通知信息。The notification information is obtained according to the plurality of field information processings and the notification information is pushed in synchronization.
  8. 根据权利要求7所述的同步推送方法,其特征在于:The synchronous push method according to claim 7, wherein:
    所述功能终端通过无线方式接收智能终端发送过来的预定格式的缓冲数据包的步骤,具体包括:The step of receiving, by the function terminal, the buffered data packet in a predetermined format sent by the smart terminal by using the wireless terminal, specifically includes:
    功能终端通过蓝牙串口传输协议接收智能终端发送过来的预定格式的缓冲数据包。The function terminal receives the buffered data packet in a predetermined format sent by the smart terminal through the Bluetooth serial port transmission protocol.
  9. 根据权利要求7所述的同步推送方法,其特征在于,所述根据所述多个字段信息处理得到通知信息并同步推送所述通知信息的步骤,还包括:The method according to claim 7, wherein the step of obtaining the notification information according to the plurality of field information processing and simultaneously pushing the notification information further comprises:
    在处理得到至少一条通知信息后,以菜单列表的方式显示至少一条通知信息;After processing at least one piece of notification information, displaying at least one piece of notification information in a menu list manner;
    获取用户对所述菜单列表中所显示的通知信息的操作动作;Obtaining an operation action of the user on the notification information displayed in the menu list;
    根据所述操作动作显示、忽略或删除对应的通知信息。The corresponding notification information is displayed, ignored or deleted according to the operation action.
  10. 根据权利要求8所述的同步推送方法,其特征在于,所述根据所述多个字段信息处理得到通知信息并同步推送所述通知信息的步骤,还包括:The method according to claim 8, wherein the step of obtaining the notification information according to the plurality of field information processing and simultaneously pushing the notification information further comprises:
    在处理得到至少一条通知信息后,以菜单列表的方式显示至少一条通知信息;After processing at least one piece of notification information, displaying at least one piece of notification information in a menu list manner;
    获取用户对所述菜单列表中所显示的通知信息的操作动作;Obtaining an operation action of the user on the notification information displayed in the menu list;
    根据所述操作动作显示、忽略或删除对应的通知信息。The corresponding notification information is displayed, ignored or deleted according to the operation action.
  11. 一种功能终端,其特征在于,所述功能终端包括:A functional terminal, characterized in that the functional terminal comprises:
    接收模块,用于通过无线方式接收智能终端发送过来的预定格式的缓冲数据包;a receiving module, configured to receive, by using a wireless manner, a buffered data packet of a predetermined format sent by the smart terminal;
    数据解析模块,用于根据所述预定格式对所述接收模块接收的所述缓冲数据包进行解析以得到多个字段信息;a data parsing module, configured to parse the buffered data packet received by the receiving module according to the predetermined format to obtain a plurality of field information;
    处理推送模块,用于根据所述数据解析模块解析得到的所述多个字段信息处理得到通知信息并同步推送所述通知信息。The processing push module is configured to process the plurality of field information obtained by the data parsing module to obtain notification information and simultaneously push the notification information.
  12. 根据权利要求11所述的功能终端,其特征在于,所述接收模块,具体用于通过蓝牙串口传输协议接收智能终端发送过来的预定格式的缓冲数据包;The function terminal according to claim 11, wherein the receiving module is specifically configured to receive, by using a Bluetooth serial port transmission protocol, a buffered data packet of a predetermined format sent by the smart terminal;
    所述功能终端,还包括:The functional terminal further includes:
    显示模块,用于在处理得到至少一条通知信息后,以菜单列表的方式显示至少一条通知信息;a display module, configured to display at least one piece of notification information in a menu list after processing at least one piece of notification information;
    动作获取模块,用于获取用户对所述菜单列表中所显示的通知信息的操作动作;An action obtaining module, configured to acquire an operation action of the user on the notification information displayed in the menu list;
    分析处理模块,用于根据所述动作获取模块获取的所述操作动作显示、忽略或删除对应的通知信息。The analysis processing module is configured to display, ignore or delete the corresponding notification information according to the operation action acquired by the action acquisition module.
PCT/CN2015/072228 2014-09-05 2015-02-04 Intelligent terminal, functional terminal and synchronous push method of notification information WO2016033939A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410453682.1 2014-09-05
CN201410453682.1A CN104301873A (en) 2014-09-05 2014-09-05 Intelligent terminal, functional terminal and notification information synchronous push method

Publications (1)

Publication Number Publication Date
WO2016033939A1 true WO2016033939A1 (en) 2016-03-10

Family

ID=52321395

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/072228 WO2016033939A1 (en) 2014-09-05 2015-02-04 Intelligent terminal, functional terminal and synchronous push method of notification information

Country Status (2)

Country Link
CN (1) CN104301873A (en)
WO (1) WO2016033939A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301873A (en) * 2014-09-05 2015-01-21 惠州Tcl移动通信有限公司 Intelligent terminal, functional terminal and notification information synchronous push method
CN104796458A (en) * 2015-03-20 2015-07-22 四川长虹电器股份有限公司 Information fusion method for Android system
CN106559449B (en) * 2015-09-28 2019-12-17 百度在线网络技术(北京)有限公司 Method and device for pushing notification to intelligent wearable device and displaying notification
CN105530380A (en) * 2015-12-15 2016-04-27 惠州Tcl移动通信有限公司 Intelligent terminal, functional terminal and method and system for pushing notification information
CN106657329A (en) * 2016-12-21 2017-05-10 北京奇虎科技有限公司 Mobile terminal as well as notification information control method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633039A (en) * 2004-12-13 2005-06-29 杨百涛 Method for communicating between handsets or between handset and fixed telephone terminal in local area
CN101005494A (en) * 2006-01-21 2007-07-25 宇龙计算机通信科技(深圳)有限公司 Coodinating method for mobile terminal data
CN101145807A (en) * 2007-10-09 2008-03-19 中兴通讯股份有限公司 A communication device for deaf and dumb persons
US8554855B1 (en) * 2011-06-14 2013-10-08 Urban Airship, Inc. Push notification delivery system
CN104301873A (en) * 2014-09-05 2015-01-21 惠州Tcl移动通信有限公司 Intelligent terminal, functional terminal and notification information synchronous push method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100060572A1 (en) * 2008-09-11 2010-03-11 Ely Tsern Display device for interfacing with a handheld computer device that dynamically generates a different user environment for the display device
CN203278949U (en) * 2013-06-09 2013-11-06 申宝兴 Split type smart mobile phone
CN203311163U (en) * 2013-06-18 2013-11-27 深圳市益威科电子有限公司 Intelligent Bluetooth watch

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633039A (en) * 2004-12-13 2005-06-29 杨百涛 Method for communicating between handsets or between handset and fixed telephone terminal in local area
CN101005494A (en) * 2006-01-21 2007-07-25 宇龙计算机通信科技(深圳)有限公司 Coodinating method for mobile terminal data
CN101145807A (en) * 2007-10-09 2008-03-19 中兴通讯股份有限公司 A communication device for deaf and dumb persons
US8554855B1 (en) * 2011-06-14 2013-10-08 Urban Airship, Inc. Push notification delivery system
CN104301873A (en) * 2014-09-05 2015-01-21 惠州Tcl移动通信有限公司 Intelligent terminal, functional terminal and notification information synchronous push method

Also Published As

Publication number Publication date
CN104301873A (en) 2015-01-21

Similar Documents

Publication Publication Date Title
WO2016033939A1 (en) Intelligent terminal, functional terminal and synchronous push method of notification information
WO2013013542A1 (en) Wireless communication device, webpage sharing system and method based on wireless communication device
DE69933285D1 (en) NETWORK AND INFORMATION DISPLAY BY OBJECTS
WO2014183454A1 (en) Method, terminal and computer storage medium for group sending message in instant communication
ATE331372T1 (en) MESSAGE DELIVERY SYSTEM
WO2015106595A1 (en) Internet of things control method, terminal and controlled electronic device
CN103202091A (en) Method and system of mapping displayport over a wireless interface
EP2989799A1 (en) Method and apparatus for transmitting and receiving signaling information in digital broadcasting system
WO2016090775A1 (en) Synchronous operation method and system for short message data
WO2017166764A1 (en) Bluetooth beacon-based arrival prompting method and arrival prompting device
WO2018010269A1 (en) Message processing method and device
CN105306418B (en) The method and system of multiple utility program shared communication connection
WO2015096003A1 (en) Dual-electrode portable detection device
WO2017092387A1 (en) Wearable device communication method and system
WO2011097886A1 (en) Method and system for transmitting widget message
WO2017173838A1 (en) Verification-based message display method and communication terminal
WO2016033940A1 (en) Intelligent terminal, functional terminal and method for synchronizing alarm clock information
ATE424086T1 (en) ßWAPß PROTOCOL TELEVISION
CN103634185A (en) Information exchange bus-based secondary safety protective synchronous trans-regional service method
WO2012057580A2 (en) Method and system for wireless video transmission via different interfaces
WO2017050098A1 (en) Short message processing method and user terminal
WO2014190476A1 (en) Electronic shelf label, electronic shelf label system and method for updating esl
CN102170438B (en) China mobile multimedia broadcasting (CMMB)-based rich media audio broadcasting front-end and system
WO2013113192A1 (en) Method and system for image transmission
WO2016110085A1 (en) Method and system for discriminatively processing short messages and method for discriminatively processing application lists

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: 15838648

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: 15838648

Country of ref document: EP

Kind code of ref document: A1