WO2017054341A1 - 向智能可穿戴设备推送通知以及展示通知的方法和装置 - Google Patents

向智能可穿戴设备推送通知以及展示通知的方法和装置 Download PDF

Info

Publication number
WO2017054341A1
WO2017054341A1 PCT/CN2015/098715 CN2015098715W WO2017054341A1 WO 2017054341 A1 WO2017054341 A1 WO 2017054341A1 CN 2015098715 W CN2015098715 W CN 2015098715W WO 2017054341 A1 WO2017054341 A1 WO 2017054341A1
Authority
WO
WIPO (PCT)
Prior art keywords
notification
content
unit
content format
format group
Prior art date
Application number
PCT/CN2015/098715
Other languages
English (en)
French (fr)
Inventor
韩超
杨亮
Original Assignee
百度在线网络技术(北京)有限公司
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 百度在线网络技术(北京)有限公司 filed Critical 百度在线网络技术(北京)有限公司
Publication of WO2017054341A1 publication Critical patent/WO2017054341A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • the present invention relates to network technologies, and in particular, to a method for pushing a notification to a smart wearable device, a method for a smart wearable device to display a notification, a device for pushing a notification to a smart wearable device, and a device for displaying a notification by a smart wearable device.
  • the smart wearable device refers to a wearable device based on an intelligent operating system, and the smart operating system herein may be an Android operating system, a Windows operating system, or an IOS operating system.
  • Smart wearable devices usually need to be used with user devices (such as mobile user devices).
  • Android Wear devices usually need to be connected with Android mobile user devices (which can be called Android user-based mobile user devices or Android-based mobile user devices).
  • Android mobile user devices which can be called Android user-based mobile user devices or Android-based mobile user devices.
  • the Android Wear watch and the Android mobile smart phone establish a wireless connection through Bluetooth technology, and the notification generated by the APP in the Android mobile smart phone is synchronously pushed to the Android Wear watch through the wireless connection. This allows users to view notifications through their Android Wear watch.
  • the inventor has found that the existing smart wearable device presents a notification form to the user in a single form, which needs to be further enriched.
  • a method for pushing a notification to a smart wearable device mainly includes the steps of: acquiring push request information; determining content of each unit in the notification according to the push request information, and each The unit corresponding to the content format group containing a plurality of content formats; forming notification notification information according to the content of each unit and the content format group corresponding to each unit; and transmitting the notification push information to the smart wearable device.
  • a method for displaying a notification by a smart wearable device includes the steps of: acquiring notification push information; displaying, according to the notification push information, contents of each unit and corresponding to each unit A notification formed by a content format group containing multiple content formats.
  • an apparatus for pushing a notification to a smart wearable device includes: an acquisition module adapted to acquire push request information; and a determination module adapted to determine according to the push request information The content of each unit in the notification and the content format group corresponding to each unit corresponding to the plurality of content formats; the forming module is adapted to form the notification push information according to the content of each unit and the content format group corresponding to each unit; the sending module, Suitable for transmitting the notification push information to the smart wearable device.
  • an apparatus for displaying a notification by a smart wearable device includes: an acquisition information module adapted to acquire notification push information; and a notification display module adapted to push information according to the notification A notification formed by the content of each unit and the content format group including a plurality of content formats corresponding to each unit is displayed.
  • the present invention forms a notification by combining content of each unit in the notification with each content format in the content format group by using a content format group including a plurality of content formats. Pushing the information, so that when the notification is displayed to the user, the content of the different units in the notification can be displayed in different content formats; thus, the technical solution provided by the present invention can make the display of the notification more diverse, at a certain To a large extent, the form in which smart wearable devices display notifications to users.
  • FIG. 1 is a flowchart of a method for pushing a notification to a smart wearable device according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic diagram of pushing a notification to an Android Wear device according to Embodiment 2 of the present invention
  • FIG. 3 is a flowchart of a method for displaying a notification by a smart wearable device according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic diagram of a specific example of the displayed notification according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic diagram of an apparatus for pushing a notification to a smart wearable device according to Embodiment 4 of the present invention.
  • FIG. 6 is a schematic diagram of an apparatus for displaying notifications by a smart wearable device according to Embodiment 5 of the present invention.
  • user equipment as used in the context may also be referred to as “user terminal equipment” or “network terminal equipment” or the like, and means that predetermined processing procedures such as numerical calculation and/or logical calculation may be performed by running a predetermined program or instruction.
  • An intelligent electronic device which may include a processor and a memory, the processor executing a pre-stored pre-stored instruction in the memory to perform a predetermined process, or performing a predetermined process by hardware such as an ASIC, an FPGA, a DSP, or the like, or The combination is implemented.
  • User equipment includes, but is not limited to, smart mobile phones and tablets, etc., wherein the user equipment can operate separately to implement the present invention, and can also access the network and implement the present invention by interworking with other devices in the network.
  • the network where the user equipment is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
  • the user equipment, the network, and the like are only examples, and other existing or future user equipments or networks may be applicable to the present invention, and should also be included in the scope of the present disclosure. Included here.
  • Embodiment 1 A method of pushing a notification to a smart wearable device.
  • FIG. 1 is a flowchart of a method for pushing a notification to a smart wearable device according to the embodiment, and the method shown in FIG. 1 mainly includes step S100, step S110, step S120, and step S130.
  • the method described in this embodiment is performed in a user equipment based on an intelligent operating system, and the method as described in this embodiment may be executed in a notification presentation system in a user equipment based on an intelligent operating system.
  • the smart operating system in this embodiment may be an Android operating system, a Windows operating system, or an IOS operating system.
  • the push request information in this embodiment is usually generated by a software program in the user equipment.
  • a software program in the user equipment For example, an APP (Application) installed in the user equipment needs to notify the user when there is new information, and needs to be smart wearable.
  • Push notification information is generated when the device pushes a notification.
  • the push request information in this embodiment generally includes: notification content and content format group identification information, etc.; the notification content generally refers to information that the user equipment wants to be known by the user; wherein the content format group identification information can generally represent a content. Format group (or a set of content formats).
  • the content format group corresponding to the content format group identification information in the push request information of the embodiment generally includes a plurality of content formats; of course, the embodiment does not exclude that the content format group corresponding to the content format group identification information includes only one content.
  • the possibility of formatting In a case where the content format group corresponding to the content format group identification information in the push request information includes a plurality of content formats, the plurality of content formats have a predetermined arrangement and combination manner, for example, the plurality of content formats have a predetermined left and right arrangement order. Wait.
  • This embodiment does not limit the number of content formats included in a content format group, the specific expression form of the content format, and the like.
  • the plurality of content formats included in the content format group corresponding to the content format group identification information in the push request information of the embodiment are used to cooperate with the content of each unit to display the notification when the notification content is displayed. That is, when the notification content is presented to the user, each content format in the content format group provides a corresponding display background for the content of each unit of the notification.
  • the content format group identification information in the push request information of the embodiment is generally preset in the user equipment, and the content format group identification information set for different applications may be different.
  • the content format group identification information in the push request information may be referred to as the current content format group identification information of the application, and the application current content format group identification information may be set by the application based on the default setting manner, or may be the application according to the user.
  • Set the operation that is, the user can set the presentation form of the notification of an application in the user equipment. If the user does not set it himself, the notification form of the application may be the application default setting. of.
  • the push request information can be obtained by means of an interface call, that is, when the corresponding API (Application Programming Interface) is invoked, the push request information can be provided as an interface parameter to the API, thereby obtaining the push request information.
  • an interface call that is, when the corresponding API (Application Programming Interface) is invoked, the push request information can be provided as an interface parameter to the API, thereby obtaining the push request information.
  • the notification content is determined according to the new information, and the current content format group identification information of the APP is obtained, and then the determined notification content is obtained. And obtaining the current content format group identification information of the APP as an interface parameter of the API provided by the notification service, and calling the API, so that the notification service obtains the push request information.
  • the existing API (such as the API provided by the notification service) is used to obtain the push request information, and the interface parameters of the existing API cannot effectively represent the content format group identification information in this embodiment.
  • Embodiments may utilize the extended interface parameters of the API (such as increasing the number of interface parameter values or adding interface parameters, etc.) to represent the content format group identification information. This embodiment does not limit the specific implementation manner of extending the interface parameters of the API.
  • S110 Determine, according to the push request information, content of each unit in the notification and a content format group corresponding to each unit and including a plurality of content formats.
  • the notification content of one notification may be It can be divided into a plurality of units, that is, the notification content of one notification may include a plurality of units or one notification may include a plurality of units; the unit in this embodiment may also be referred to as a notification unit or a content unit or the like.
  • the notification content of a notification is not divided into multiple units.
  • the notification content of one notification includes one unit, that is, one notification includes one unit.
  • the user equipment in this embodiment is preset with a plurality of content format groups, and each content format group has one content format group identification information, and one content format group may include one content format, and may also include multiple content formats. .
  • the plurality of content formats may have a predetermined arrangement combination, such as a plurality of content formats in the content format group having a predetermined left and right arrangement order, and the like.
  • a predetermined arrangement combination such as a plurality of content formats in the content format group having a predetermined left and right arrangement order, and the like.
  • At least one of the plurality of content format groups preset in the user equipment of the embodiment includes a plurality of content formats, such as at least one content format group including a plurality of predetermined arrangement combinations. Content format.
  • each content format group identification information and each content format group is usually set in advance, so that the corresponding relationship can be locally stored according to the content format group identification information in the push request information.
  • a lookup is performed to determine a content format group corresponding to the content format group identification information in the push request information.
  • the content format group corresponding to the content format group identification information in the push request information may be determined in another manner, and the content format group identification information in the push request information is calculated by using a predetermined algorithm, and the calculation result is obtained according to the calculation result. Determining a content format group corresponding to the content format group identification information in the push request information.
  • the implementation does not limit the specific implementation manner of determining the content format group corresponding to the content format group identification information in the push request information.
  • the notification content in the push request information includes content of multiple units (ie, the notification includes multiple units), and the content format group corresponding to the content format group identification information in the push request information includes a predetermined arrangement combination.
  • the content format adopted by each unit may be determined according to the arrangement order of the units and the arrangement and combination of the multiple content formats.
  • the present implementation For example, the content format adopted by each unit may be determined according to the order in which the units are arranged and the order in which the plurality of content formats are stored in the content format group. Of course, this embodiment may also be used for each unit from the content format according to the order of the units. The content formats are randomly selected to determine the content format adopted by each unit.
  • the content of each unit determined above and the content format adopted by each unit are organized to form notification push information having a specific data structure.
  • the content of each unit and the content format adopted by each unit may be organized according to a predetermined data structure preset in the user equipment, thereby forming notification push information having the predetermined data structure; for example, by using pictures, text, and content.
  • the format or the like is organized such that a picture, a text, a content format, and the like form a data stream (which may be referred to as a notification stream) having a predetermined data structure, which is a notification push information.
  • This embodiment does not limit the specific manifestation of the predetermined data structure and the specific implementation process of forming the notification push information.
  • the smart wearable device ie, the smart operating system-based wearable device
  • the smart operating system-based wearable device may be an Android operating system-based wearable electronic device, a Windows operating system-based wearable device, or an IOS operating system-based Wear equipment, etc.
  • the notification push information may be sent to the smart wearable device by using a wireless connection between the user equipment and the smart wearable device.
  • the synchronization module in the user equipment may send the notification push information to the smart wearable device.
  • the notification push information is transmitted to the smart wearable device via a wireless connection established using Bluetooth technology or the like.
  • Embodiment 2 Method for pushing notification to smart wearable device
  • This embodiment uses the Android mobile smart phone to push notifications to the Android Wear watch as an example and the present invention will be described with reference to FIG. 2 .
  • the Android mobile smart phone of this embodiment can be benefited from the Android Wear watch.
  • Information is exchanged using a wireless connection established via Bluetooth technology.
  • a plurality of content format group identification information is preset in the Android mobile smart phone, and each content format group identification information corresponds to one content format group, wherein some content format groups include one content format, and some other content format groups A plurality of content formats having a predetermined arrangement combination are included; the correspondence between the content format group identification information and the content format group is stored in the Android mobile smart phone; in addition, each of the Android mobile smart phones of the embodiment may generate a notification.
  • the APPs are all set with the current content format group identification information of the application.
  • the APP in the Android mobile smart phone generates a notification (ie, new information that needs to be known to the user), and the notification may be a normal notification (ie, a general type of notification) or a compatible notification (ie, a compatible type of notification). ).
  • the APP uses the notification content of the notification and the current content format group identification information of the APP as an interface parameter of an API provided by the ordinary notification service, and invokes the API; in the case that the APP generates a compatibility notification, The APP calls the notification content of the notification and the current content format group identification information of the APP as interface parameters of the API provided by the compatible notification service and invokes the API.
  • the normal notification service or the compatible notification service After receiving the notification content and the current content format group identification information of the APP through the API call, the normal notification service or the compatible notification service determines the correspondence between the content format group identification information and the content format group stored locally in the Android mobile smart phone. a content format group corresponding to the current content format group identification information of the APP, and determining a content format corresponding to the content of each unit in the notification content according to a predetermined arrangement combination manner of the plurality of content formats included in the content format group; The notification service or compatible notification service forms a displayable notification and is provided to the notification flow management.
  • the notification flow management uses the predetermined data structure acquired from the notification bridge service to cause the notification to form a data flow (ie, a notification flow) having a predetermined data structure, and notifies the bridge service to listen to the notification flow, and listens to the notification.
  • the flow management acquires the notification flow from the notification flow management when forming the notification flow with the predetermined data structure, and provides the obtained notification flow to the synchronization module, and the notification flow is sent by the synchronization module to the Android Wear watch through the wireless connection.
  • Embodiment 3 A method for displaying a notification by a smart wearable device.
  • FIG. 3 is a flowchart of a method for displaying a notification by the smart wearable device according to the embodiment, and the method shown in FIG. 3 mainly includes step S300 and step S310.
  • the method described in this embodiment is performed in a smart wearable device (and a smart operating system-based wearable device), and the method as described in this embodiment can be executed in a notification display system in the smart wearable device.
  • the smart wearable device of this embodiment may be an Android operating system-based wearable device, a Windows operating system-based wearable device, or an IOS operating system-based wearable device.
  • S300 acquires notification push information.
  • the notification push information in this embodiment is from the user equipment, and the notification push information is sent by the user equipment to the smart wearable device through a wireless connection.
  • the notification push information has a predetermined data structure, and both the user device and the smart wearable device support the predetermined data structure.
  • the notification push information is mainly used to form a notification display screen at the smart wearable device.
  • the notification push information in the embodiment has a predetermined data structure, and the notification push information can be effectively identified according to the predetermined data structure, so that the notification push information can form a notification display screen including a plurality of units, and the notification display
  • the content format of each unit in the picture is determined by a predetermined arrangement combination of a plurality of content formats included in the content format group.
  • the notification push information is transmitted to the notification flow management via the synchronization module and the notification bridge service; the notification flow management is based on the notification bridge service
  • the obtained predetermined data structure performs format conversion processing on the received notification push information, and provides the format conversion processed data to an ordinary notification service or a compatible notification service; after that, the ordinary notification service or the compatible notification service receives according to the reception
  • the resulting data forms a notification display that can be swiped left and right and presented to the user.
  • FIG. 4 A specific example of the notification display screen displayed to the user in this embodiment is shown in FIG.
  • Each row in FIG. 4 represents a notification, and actions1, actions2, and actions3 respectively represent a unit in the notification.
  • a notification may include only one unit, and may also include multiple units.
  • the content format adopted by the different units is determined by a predetermined arrangement combination of the plurality of content formats in the content format group corresponding to the current content format identifier of the application to which the notification belongs. of.
  • Each of the notifications in Figure 4 can be dragged left and right to show different units in the notification or to return to the home page of the smart wearable device; sliding up and down can realize the switching display of different notifications.
  • Embodiment 4 A device for pushing a notification to a smart wearable device.
  • FIG. 5 is a schematic diagram of an apparatus for pushing a notification to a smart wearable device according to the embodiment.
  • the device in this embodiment may be configured in a user equipment based on an intelligent operating system, and the method as described in this embodiment may be set in a notification display system in a user equipment based on an intelligent operating system.
  • the smart operating system in this embodiment may be an Android operating system, a Windows operating system, or an IOS operating system.
  • the apparatus for pushing a notification to the smart wearable device includes: an obtaining module 500, a determining module 510, a forming module 520, and a sending module 530.
  • the obtaining module 500 is mainly adapted to obtain push request information.
  • the push request information in this embodiment is usually generated by a software program in the user equipment. For example, when an APP installed in the user equipment needs to notify the user of new information and needs to push a notification to the smart wearable device, Push request information will be generated.
  • the push request information in this embodiment generally includes: notification content and content format group identification information, etc.; the notification content generally refers to information that the user equipment wants to be known by the user; wherein the content format group identification information can generally represent a content. Format group (or a set of content formats).
  • the content format group corresponding to the content format group identification information in the push request information of the embodiment generally includes a plurality of content formats; of course, the embodiment does not exclude that the content format group corresponding to the content format group identification information includes only one content.
  • Push request In the case where the content format group corresponding to the content format group identification information in the information includes a plurality of content formats, the plurality of content formats have a predetermined arrangement and combination manner, for example, the plurality of content formats have a predetermined left and right arrangement order.
  • This embodiment does not limit the number of content formats included in a content format group, the specific expression form of the content format, and the like.
  • the plurality of content formats included in the content format group corresponding to the content format group identification information in the push request information of the embodiment are used to cooperate with the content of each unit to display the notification when the notification content is displayed. That is, when the notification content is presented to the user, each content format in the content format group provides a corresponding display background for the content of each unit of the notification.
  • the content format group identification information in the push request information of the embodiment is generally preset in the user equipment, and the content format group identification information set for different applications may be different.
  • the content format group identification information in the push request information may be referred to as the current content format group identification information of the application, and the application current content format group identification information may be set by the application based on the default setting manner, or may be the application according to the user.
  • Set the operation that is, the user can set the presentation form of the notification of an application in the user equipment. If the user does not set it himself, the notification form of the application may be the application default setting. of.
  • the obtaining module 500 can obtain the push request information by means of an interface call, that is, when the corresponding API is invoked, the push request information can be provided as an interface parameter to the API, so that the obtaining module 500 obtains the push request information.
  • the notification content is determined according to the new information, and the current content format group identification information of the APP is obtained, and then the determined notification content is obtained. And obtaining the current content format group identification information of the APP as an interface parameter of the API provided by the notification service, and calling the API, so that the obtaining module 500 located in the notification service acquires the push request information.
  • the acquisition module 500 uses the existing API (such as the API provided by the notification service) to obtain the push request information, and the interface parameters of the existing API cannot effectively represent the content format group identification information in this embodiment
  • the embodiment may use the extended interface parameters of the API to represent the content format group identification information, so that the obtaining module 500 obtains the content format group. Identification information.
  • This embodiment does not limit the specific implementation manner of extending the interface parameters of the API.
  • the determining module 510 is mainly adapted to determine, according to the push request information, content of each unit in the notification and a content format group corresponding to each unit and including a plurality of content formats.
  • the notification content of one notification may be divided into multiple units, that is, the notification content of one notification may include multiple units or one notification may include multiple units;
  • the unit in this embodiment may also be referred to as a notification unit or a content unit or the like.
  • the notification content of a notification is not divided into multiple units.
  • the notification content of one notification includes one unit, that is, one notification includes one unit.
  • the user equipment in this embodiment is preset with a plurality of content format groups, and each content format group has one content format group identification information, and one content format group may include one content format, and may also include multiple content formats. .
  • the plurality of content formats have a predetermined arrangement combination, such as a plurality of content formats in the content format group having a predetermined left and right arrangement order, and the like.
  • At least one of the plurality of content format groups preset in the user equipment of the embodiment includes a plurality of content formats, such as at least one content format group including a plurality of predetermined arrangement combinations. Content format.
  • the correspondence between each content format group identification information and each content format group is usually set in advance, so that the determining module 510 can locally store the corresponding relationship according to the content format group identification information in the push request information.
  • a lookup is performed to determine a content format group corresponding to the content format group identification information in the push request information.
  • the determining module 510 may determine the content format group corresponding to the content format group identification information in the push request information by using another method, for example, the determining module 510 calculates the content format group identification information in the push request information by using a predetermined algorithm, and And determining, according to the calculation result, a content format group corresponding to the content format group identification information in the push request information.
  • the implementation does not limit the specific implementation manner of the content format group corresponding to the content format group identification information in the push request information.
  • the determining module 510 can include a first module (not shown) and a second a module (not shown); the first module is mainly configured to search for a content format group corresponding to the content format group identification letter in the push request information in the correspondence information between the content format group identification information and the content format group stored in advance
  • the second module is mainly adapted to determine a content format group corresponding to each unit in the notification according to the search result.
  • the forming module 520 is mainly adapted to form notification push information according to the content of each unit and the content format group corresponding to each unit.
  • the forming module 520 may include: a third module (not shown) and a fourth module (not shown); wherein the third module is mainly adapted to include multiple content formats according to each unit The content format group determines the content format corresponding to each unit; the fourth module is mainly adapted to form the notification push information according to the predetermined data structure by the content of each unit and the content format respectively adopted by each unit.
  • the notification content in the push request information includes content of multiple units (that is, the notification includes multiple units), and the content format group corresponding to the content format group identification information in the push request information includes a predetermined arrangement and combination manner.
  • the forming module 520 (such as the third module) may determine the content format adopted by each unit according to the arrangement order of the units and the arrangement and combination of the plurality of content formats. The module is formed when the content of the notification in the push request information includes the content of the plurality of units, and the content format group corresponding to the content format group identification information in the push request information does not have a predetermined arrangement and combination manner.
  • the forming module 520 may also be The order of the cells is randomly selected from the content format for each unit to determine the content format adopted by each unit.
  • the forming module 520 (such as the fourth module) organizes the content of each unit determined above and the content format adopted by each unit to form notification push information having a specific data structure.
  • the forming module 520 (such as the fourth module) may organize the content of each unit and the content format adopted by each unit according to a predetermined data structure preset in the user equipment, thereby forming notification push information having the predetermined data structure; for example, forming Module 520 (such as the fourth module) organizes pictures, texts, and content formats to make pictures,
  • the text, the content format, and the like form a data stream (which may be referred to as a notification stream) having a predetermined data structure, which is the notification push information.
  • This embodiment does not limit the specific expression of the predetermined data structure and the specific implementation process of the forming module 520 (such as the fourth module) to form the notification push information.
  • the sending module 530 is primarily adapted to send notification push information to the smart wearable device.
  • the smart wearable device ie, the smart operating system-based wearable device
  • the smart operating system-based wearable device may be an Android operating system-based wearable electronic device, a Windows operating system-based wearable device, or an IOS operating system-based Wear equipment, etc.
  • the sending module 530 can send the notification push information to the smart wearable device by using a wireless connection between the user equipment and the smart wearable device; for example, the sending module 530 can send the notification push information to the smart wearable device by using the synchronization module in the user equipment, The notification push information is transmitted to the smart wearable device via a wireless connection established using Bluetooth technology or the like.
  • Embodiment 5 A device for displaying notification by a smart wearable device.
  • FIG. 6 is a schematic diagram of an apparatus for displaying a notification by a smart wearable device according to an embodiment of the present invention.
  • the device described in this embodiment may be disposed in a smart wearable device (and a smart operating system-based wearable device), and the device as described in this embodiment may be disposed in a notification display system in the smart wearable device.
  • the smart wearable device of this embodiment may be an Android operating system-based wearable device, a Windows operating system-based wearable device, or an IOS operating system-based wearable device.
  • the device for displaying notifications by the smart wearable device mainly includes: an acquisition information module 600 and a notification display module 610.
  • the acquisition information module 600 is mainly adapted to obtain notification push information.
  • the notification push information acquired by the acquisition information module 600 is from the user equipment, and the notification push information is sent by the user equipment to the smart wearable device through a wireless connection.
  • the notification push information acquired by the acquisition information module 600 has a predetermined data structure, and both the user equipment and the smart wearable device support the predetermined data structure.
  • Obtaining information module 600 The received notification push information is mainly used to form a notification display screen at the smart wearable device.
  • the notification display module 610 is mainly adapted to display the notification formed by the content of each unit and the content format group including the plurality of content formats corresponding to each unit according to the notification push information.
  • the notification push information acquired by the acquisition information module 600 has a predetermined data structure, and the notification display module 610 can effectively identify the notification push information according to the predetermined data structure, so that the notification display module 610 can make the notification push information formation include multiple
  • the notification display screen of the unit, the content format of each unit in the notification display screen is determined by a predetermined arrangement combination of a plurality of content formats included in the content format group.
  • the acquisition information module 600 obtains the notification push information, and the acquisition information module 600 provides the notification push information to the notification display module 610;
  • the display module 610 performs format conversion processing on the received notification push information according to the predetermined data structure stored in advance, and causes the format conversion processed data to form a notification display screen that can slide left and right, and the notification display module 610 displays the notification to the user.
  • the present invention can be implemented in software and/or a combination of software and hardware.
  • the various devices of the present invention can be implemented using an application specific integrated circuit (ASIC) or any other similar hardware device.
  • the software program of the present invention may be executed by a processor to implement the steps or functions described above.
  • the software programs (including related data structures) of the present invention can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like.
  • some of the steps or functions of the present invention may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.

Abstract

本发明提供了一种向智能可穿戴设备推送通知以及展示通知的方法和装置,其中的向智能可穿戴设备推送通知的方法包括:获取推送请求信息;根据所述推送请求信息确定通知中各单元的内容以及各单元对应的包含有多个内容格式的内容格式组;根据所述各单元的内容和各单元对应的内容格式组形成通知推送信息;向智能可穿戴设备发送所述通知推送信息。本发明提供的技术方案能够使通知的展示画面更多样化,在一定程度上丰富了智能可穿戴设备向用户展示通知的形式。

Description

向智能可穿戴设备推送通知以及展示通知的方法和装置
相关申请的交叉引用
本申请请求于2015年9月28日提交的申请号为201510627970.9的中国专利申请的优先权,该中国专利申请的内容以引用方式被完整包含于此。
技术领域
本发明涉及网络技术,尤其是涉及一种向智能可穿戴设备推送通知的方法、智能可穿戴设备展示通知的方法、向智能可穿戴设备推送通知的装置以及智能可穿戴设备展示通知的装置。
背景技术
智能可穿戴设备是指基于智能操作系统的可穿戴设备,这里的智能操作系统可以为安卓(Android)操作系统、Windows操作系统或者IOS操作系统等。
智能可穿戴设备通常需要与用户设备(如移动用户设备)配合使用,如Android Wear设备通常需要与Android移动用户设备(可以称为基于Android操作系统的移动用户设备或基于Android的移动用户设备等)配合使用;一个更具体的例子,Android Wear手表与Android移动智能电话之间通过蓝牙技术建立无线连接,Android移动智能电话中的APP产生的通知会通过该无线连接被同步推送到Android Wear手表中,从而用户可以通过其Android Wear手表查看通知。
发明人在实现本发明过程中发现,现有的智能可穿戴设备向用户展示通知的形式较单一,有待于进一步丰富。
发明内容
本发明的目的是提供一种向智能可穿戴设备推送通知以及展示通知 的方法和装置。
根据本发明的其中一个方面,提供一种向智能可穿戴设备推送通知的方法,且所述方法主要包括以下步骤:获取推送请求信息;根据所述推送请求信息确定通知中各单元的内容以及各单元对应的包含有多个内容格式的内容格式组;根据所述各单元的内容和各单元对应的内容格式组形成通知推送信息;向智能可穿戴设备发送所述通知推送信息。
根据本发明的其中另一个方面,提供一种智能可穿戴设备展示通知的方法,且所述方法包括以下步骤:获取通知推送信息;根据所述通知推送信息展示由各单元的内容以及各单元对应的包含有多个内容格式的内容格式组所形成的通知。
根据本发明的其中再一个方面,提供一种向智能可穿戴设备推送通知的装置,且所述装置包括:获取模块,适于获取推送请求信息;确定模块,适于根据所述推送请求信息确定通知中各单元的内容以及各单元对应的包含有多个内容格式的内容格式组;形成模块,适于根据所述各单元的内容和各单元对应的内容格式组形成通知推送信息;发送模块,适于向智能可穿戴设备发送所述通知推送信息。
根据本发明的其中再一个方面,提供一种智能可穿戴设备展示通知的装置,且所述装置包括:获取信息模块,适于获取通知推送信息;通知展示模块,适于根据所述通知推送信息展示由各单元的内容以及各单元对应的包含有多个内容格式的内容格式组所形成的通知。
与现有技术相比,本发明具有以下优点:本发明通过利用包含有多个内容格式的内容格式组,使通知中各单元的内容可以与内容格式组中的各内容格式相组合而形成通知推送信息,这样,在向用户展示通知时,通知中的不同单元的内容可以采用不同的内容格式展现;由此可知,本发明提供的技术方案能够使通知的展示画面更多样化,在一定程度上丰富了智能可穿戴设备向用户展示通知的形式。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:
图1为本发明实施例一的向智能可穿戴设备推送通知的方法流程图;
图2为本发明实施例二的向Android Wear设备推送通知的示意图;
图3为本发明实施例三的智能可穿戴设备展示通知的方法流程图;
图4为本发明实施例三的所展现的通知的一个具体例子示意图;
图5为本发明实施例四的向智能可穿戴设备推送通知的装置示意图;
图6为本发明实施例五的智能可穿戴设备展示通知的装置示意图。
附图中相同或相似的附图标记代表相同或相似的部件。
具体实施方式
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或者方法。虽然流程图将各项操作描述成顺序的处理,但是,其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的执行顺序可以被重新安排。当其操作执行完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
在上下文中所称的“用户设备”也可以称为“用户终端设备”或者“网络终端设备”等,是指可以通过运行预定程序或指令来执行数值计算和/或逻辑计算等预定处理过程的智能电子设备,其可以包括处理器以及存储器,由处理器执行在存储器中预存储的存续指令来执行预定处理过程,或者是由ASIC、FPGA、DSP等硬件执行预定处理过程,或者是由上述二者组合来实现。
用户设备包括但不限于智能移动电话以及平板电脑等,其中,所述用户设备可以单独运行来实现本发明,也可接入网络并通过与网络中的其他设备的交互操作来实现本发明。其中,所述用户设备所处的网络包括但不限于互联网、广域网、城域网、局域网、VPN网络等。
需要说明的是,所述用户设备以及网络等仅为举例,其他现有的或今后可能出现的用户设备或网络如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。
下述文中所讨论的方法(其中一些通过流程图示出)可以通过硬件、软件、固件、中间件、微代码、硬件描述语言或者其任意组合来实施。当用软件、固件、中间件或微代码来实施时,用以实施必要任务的程序代码或代码段可以被存储在机器或计算机可读介质(比如存储介质)中。(一个或多个)处理器可以实施必要的任务。
这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本发明的示例性实施例的目的。但是,本发明可以通过许多替换形式来具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。
应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一单元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。
应当理解的是,当一个单元被称为“连接”或者“耦合”到另一个单元时,其可以直接连接或者耦合到所述另一单元,或者可以存在中间单元。与此相对,当一个单元被称为“直接连接”或“直接耦合”到另一单元时,则不存在中间单元。应当按照类似的方式来解释被用于描述单元之间的关系的其他词语(例如“处于...之间”相比于“直接处于...之间”,“与...邻近”相比于“与...直接邻近”等等)。
这里所使用的术语仅仅是为了描述具体实施例而不意图限制示例性实施例。除非上下文明确地另有所指,否则这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。
还应当提到的是,在一些替换实现方式中,所提到的功能/动作可按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或有时可以按照相反的顺序来执行。
下面结合附图对本发明作进一步详细描述。
实施例一、向智能可穿戴设备推送通知的方法。
图1为本实施例的向智能可穿戴设备推送通知的方法的流程图,且图1所示的方法主要包括步骤S100、步骤S110、步骤S120以及步骤S130。本实施例所记载的方法是在基于智能操作系统的用户设备中执行的,如本实施例所记载的方法可以在基于智能操作系统的用户设备中的通知展示系统中执行。本实施例中的智能操作系统可以为Android操作系统、Windows操作系统或者IOS操作系统等。
下面对图1中的各步骤分别进行说明。
S100、获取推送请求信息。
具体的,本实施例中的推送请求信息通常是由用户设备中的软件程序产生的,如用户设备中安装的APP(Application,应用)在有新的信息需要通知用户,且需要向智能可穿戴设备推送通知时,会产生推送请求信息。
本实施例中的推送请求信息通常包括:通知内容以及内容格式组标识信息等;其中的通知内容通常是指用户设备希望用户获知的信息;其中的内容格式组标识信息通常可以唯一表示出一个内容格式组(或者一组内容格式)。
本实施例的推送请求信息中的内容格式组标识信息所对应的内容格式组通常包括多个内容格式;当然,本实施例并不排除内容格式组标识信息所对应的内容格式组仅包括一个内容格式的可能性。在推送请求信息中的内容格式组标识信息所对应的内容格式组中包含有多个内容格式的情况下,该多个内容格式具有预定排列组合方式,如多个内容格式具有预定的左右排列顺序等。本实施例不限制一个内容格式组所包含的内容格式的数量以及内容格式的具体表现形式等。
本实施例的推送请求信息中的内容格式组标识信息所对应的内容格式组中所包含的多个内容格式主要用于在显示通知内容时,与各单元的内容进行配合以实现通知的展示,也就是说,在向用户呈现通知内容时,内容格式组中的各个内容格式为通知的各个单元的内容提供相应的显示背景。
本实施例的推送请求信息中的内容格式组标识信息通常是预先设置于用户设备中的,且针对不同应用设置的内容格式组标识信息可以不相同。推送请求信息中的内容格式组标识信息可以称为应用当前的内容格式组标识信息,且应用当前的内容格式组标识信息可以是应用基于缺省设置方式而设置的,也可以是应用根据用户的设置操作而设置的,也就是说,用户可以自行设置其用户设备中的某个应用的通知的展现形式,在用户没有进行自行设置的情况下,应用的通知的展现形式可以是应用缺省设置的。
本实施例可以通过接口调用的方式来获取推送请求信息,即在调用相应的API(Application Programming Interface,应用编程接口)时,可以将推送请求信息作为接口参数提供给API,从而获取到推送请求信息。
一个具体的例子,用户设备中的APP在有新的信息需要通知用户时,根据该新的信息确定通知内容,并获取该APP当前的内容格式组标识信息,然后,将上述确定出的通知内容以及获取到的APP当前的内容格式组标识信息作为通知服务提供的API的接口参数并调用该API,从而使通知服务获取到推送请求信息。
在本实施例利用现有的API(如通知服务提供的API)来获取推送请求信息,且现有的API的接口参数不能有效表示出本实施例中的内容格式组标识信息的情况下,本实施例可以利用该API的扩展的接口参数(如增加接口参数的取值数量或者增加接口参数等)来表示内容格式组标识信息。本实施例不限制对API的接口参数进行扩展的具体实现方式。
S110、根据推送请求信息确定通知中各单元的内容以及各单元对应的包含有多个内容格式的内容格式组。
具体的,由于通知的显示画面有限等因素,一个通知的通知内容可 能会被划分为多个单元,也就是说,一个通知的通知内容可以包括多个单元或者说一个通知可以包括多个单元;本实施例中的单元也可以称为通知单元或者内容单元等。当然,在有些情况下,一个通知的通知内容并不会被划分成多个单元,此时,一个通知的通知内容包括一个单元,也即一个通知包括一个单元。
本实施例的用户设备中预先设置有多个内容格式组,且每一个内容格式组具有一个内容格式组标识信息,一个内容格式组中可以包含有一个内容格式,也可以包含有多个内容格式。在一个内容格式组中包含有多个内容格式的情况下,多个内容格式可以具有预定排列组合方式,如内容格式组中的多个内容格式具有预定的左右排列顺序等。当然,在本实施例中,一个内容格式组中包含的多个内容格式并不具有预定排列组合方式也是完全可以的。
在本实施例的用户设备中预先设置的多个内容格式组中,至少有一个内容格式组中包含有多个内容格式,如至少有一个内容格式组中包含有具有预定排列组合方式的多个内容格式。
本实施例的用户设备中通常预先设置有各内容格式组标识信息与各内容格式组之间的对应关系,从而本实施例可以根据推送请求信息中的内容格式组标识信息在本地存储的对应关系中进行查找,以确定推送请求信息中的内容格式组标识信息所对应的内容格式组。当然,本实施例也可以采用其他方式确定推送请求信息中的内容格式组标识信息所对应的内容格式组,如采用预定算法对推送请求信息中的内容格式组标识信息进行计算,并根据计算结果确定推送请求信息中的内容格式组标识信息所对应的内容格式组。本实施不限制确定推送请求信息中的内容格式组标识信息所对应的内容格式组的具体实现方式。
S120、根据各单元的内容和各单元对应的内容格式组形成通知推送信息。
具体的,在推送请求信息中的通知内容包含有多个单元的内容(即通知包含有多个单元),且推送请求信息中的内容格式组标识信息对应的内容格式组包含有具有预定排列组合方式的多个内容格式的情况 下,本实施例可以根据单元的排列顺序以及多个内容格式的排列组合方式确定出各单元分别采用的内容格式。在推送请求信息中的通知内容包含有多个单元的内容,且推送请求信息中的内容格式组标识信息对应的内容格式组包含的多个内容格式不具有预定排列组合方式的情况下,本实施例可以根据单元的排列顺序以及多个内容格式在内容格式组中的存放顺序确定出各单元分别采用的内容格式,当然,本实施例也可以根据单元的排列顺序从内容格式中为每一个单元均随机选取内容格式,以确定出各单元分别采用的内容格式。
本实施例对上述确定出的各单元的内容以及各单元分别采用的内容格式进行组织,以形成具有特定数据结构的通知推送信息。本实施例可以根据用户设备中预先设置的预定数据结构对各单元的内容以及各单元分别采用的内容格式进行组织,从而形成具有该预定数据结构的通知推送信息;例如通过对图片、文字以及内容格式等进行组织,使图片、文字以及内容格式等形成具有预定数据结构的数据流(可以称为通知流),该数据流即为通知推送信息。本实施例不限制预定数据结构的具体表现形式以及形成通知推送信息的具体实现过程。
S130、向智能可穿戴设备发送通知推送信息。
具体的,本实施例中的智能可穿戴设备(即基于智能操作系统的可穿戴设备)可以为基于Android操作系统的可穿戴电子设备、基于Windows操作系统的可穿戴设备或者基于IOS操作系统的可穿戴设备等。
本实施例可以利用用户设备与智能可穿戴设备之间的无线连接将通知推送信息发送给智能可穿戴设备;例如本实施例可以利用用户设备中的同步模块向智能可穿戴设备发送通知推送信息,该通知推送信息经由利用蓝牙技术等建立的无线连接传输至智能可穿戴设备。
实施例二、向智能可穿戴设备推送通知的方法
本实施例以Android移动智能电话向Android Wear手表推送通知为例并结合图2对本发明进行说明。
本实施例的Android移动智能电话与Android Wear手表之间可以利 用通过蓝牙技术建立的无线连接进行信息交互。
Android移动智能电话中预先设置有多个内容格式组标识信息,且每一个内容格式组标识信息均对应一个内容格式组,其中一些内容格式组中包含有一个内容格式,而另一些内容格式组中包含有具有预定排列组合方式的多个内容格式;Android移动智能电话中存储有内容格式组标识信息与内容格式组的对应关系;另外,本实施例的Android移动智能电话中的每一个可以产生通知的APP均设置有应用当前的内容格式组标识信息。
图2中,Android移动智能电话中的APP产生通知(即需要使用户获知的新的信息),该通知可以为普通通知(即普通类型的通知),也可以为兼容通知(即兼容类型的通知)。在APP产生普通通知的情况下,APP将该通知的通知内容以及APP当前的内容格式组标识信息作为普通的通知服务提供的API的接口参数并调用该API;在APP产生兼容通知的情况下,APP将该通知的通知内容以及APP当前的内容格式组标识信息作为兼容的通知服务提供的API的接口参数并调用该API。
普通的通知服务或者兼容的通知服务在通过API调用接收到通知内容以及APP当前的内容格式组标识信息后,根据Android移动智能电话中本地存储的内容格式组标识信息与内容格式组的对应关系确定APP当前的内容格式组标识信息所对应的内容格式组,并根据内容格式组所包含的多个内容格式所具有的预定排列组合方式确定通知内容中的各单元的内容所对应的内容格式;普通的通知服务或者兼容的通知服务形成可显示的通知,并提供给通知流管理。
通知流管理在接收到通知后,利用其从通知桥接服务处获取的预定数据结构使通知形成具有预定数据结构的数据流(即通知流),通知桥接服务对通知流进行监听,在监听到通知流管理形成了具有预定数据结构的通知流时从通知流管理处获取通知流,并将获取到的通知流提供给同步模块,通知流由同步模块通过无线连接向Android Wear手表发送。
实施例三、智能可穿戴设备展示通知的方法。
图3为本实施例的智能可穿戴设备展示通知的方法流程图,且图3所示的方法主要包括步骤S300以及步骤S310。本实施例所记载的方法是在智能可穿戴设备(及基于智能操作系统的可穿戴设备)中执行的,如本实施例所记载的方法可以在智能可穿戴设备中的通知展示系统中执行。
本实施例的智能可穿戴设备可以为基于Android操作系统的可穿戴设备、基于Windows操作系统的可穿戴设备或者基于IOS操作系统的可穿戴设备等。
下面对图3中的各步骤分别进行说明。
图3中,S300、获取通知推送信息。
具体的,本实施例中的通知推送信息来自用户设备,如该通知推送信息是用户设备通过无线连接向智能可穿戴设备发送来的。该通知推送信息具有预定数据结构,且用户设备和智能可穿戴设备均支持该预定数据结构。该通知推送信息主要用于在智能可穿戴设备处形成通知显示画面。
S310、根据通知推送信息展示由各单元的内容以及各单元对应的包含有多个内容格式的内容格式组所形成的通知。
具体的,本实施例中的通知推送信息具有预定数据结构,可以根据该预定数据结构对通知推送信息进行有效识别,从而可以使通知推送信息形成包含有多个单元的通知展示画面,该通知展示画面中的各单元的内容格式是由内容格式组所包含的多个内容格式的预定排列组合方式确定的。
一个具体的例子,在Android Wear手表接收到Android移动智能电话发送来的通知推送信息之后,该通知推送信息经由同步模块和通知桥接服务传输给通知流管理;通知流管理根据其从通知桥接服务处获得的预定数据结构对接收到的通知推送信息进行格式转换处理,并将格式转换处理后的数据提供给普通的通知服务或者兼容的通知服务;之后,普通的通知服务或者兼容的通知服务根据接收到的数据形成可以左右滑动的通知展示画面,并向用户展示。
本实施例向用户展示的通知展示画面的一个具体例子如图4所示。图4中的每一行表示一条通知,actions1、actions2以及actions3分别表示通知中的一个单元,从图4可知,一条通知可以仅包括一个单元,也可以包括多个单元。在一条通知包括多个单元的情况下,不同单元所采用的内容格式是由该通知所属应用的当前内容格式标识符所对应的内容格式组中的多个内容格式所具有的预定排列组合方式决定的。
图4中的每一条通知都可以左右拖动,以展现该通知中的不同单元或者返回智能可穿戴设备的首页;上下滑动则可以实现不同通知的切换展示。
实施例四、向智能可穿戴设备推送通知的装置。
图5为本实施例的向智能可穿戴设备推送通知的装置示意图。本实施例的装置可以设置于基于智能操作系统的用户设备中,如本实施例所记载的方法可以设置于基于智能操作系统的用户设备中的通知展示系统中。本实施例中的智能操作系统可以为Android操作系统、Windows操作系统或者IOS操作系统等。
下面对图5中的各个模块所执行的操作分别进行说明。
图5中,向智能可穿戴设备推送通知的装置包括:获取模块500、确定模块510、形成模块520以及发送模块530。
获取模块500主要适于获取推送请求信息。
具体的,本实施例中的推送请求信息通常是由用户设备中的软件程序产生的,如用户设备中安装的APP在有新的信息需要通知用户,且需要向智能可穿戴设备推送通知时,会产生推送请求信息。
本实施例中的推送请求信息通常包括:通知内容以及内容格式组标识信息等;其中的通知内容通常是指用户设备希望用户获知的信息;其中的内容格式组标识信息通常可以唯一表示出一个内容格式组(或者一组内容格式)。
本实施例的推送请求信息中的内容格式组标识信息所对应的内容格式组通常包括多个内容格式;当然,本实施例并不排除内容格式组标识信息所对应的内容格式组仅包括一个内容格式的可能性。在推送请求 信息中的内容格式组标识信息所对应的内容格式组中包含有多个内容格式的情况下,该多个内容格式具有预定排列组合方式,如多个内容格式具有预定的左右排列顺序等。本实施例不限制一个内容格式组所包含的内容格式的数量以及内容格式的具体表现形式等。
本实施例的推送请求信息中的内容格式组标识信息所对应的内容格式组中所包含的多个内容格式主要用于在显示通知内容时,与各单元的内容进行配合以实现通知的展示,也就是说,在向用户呈现通知内容时,内容格式组中的各个内容格式为通知的各个单元的内容提供相应的显示背景。
本实施例的推送请求信息中的内容格式组标识信息通常是预先设置于用户设备中的,且针对不同应用设置的内容格式组标识信息可以不相同。推送请求信息中的内容格式组标识信息可以称为应用当前的内容格式组标识信息,且应用当前的内容格式组标识信息可以是应用基于缺省设置方式而设置的,也可以是应用根据用户的设置操作而设置的,也就是说,用户可以自行设置其用户设备中的某个应用的通知的展现形式,在用户没有进行自行设置的情况下,应用的通知的展现形式可以是应用缺省设置的。
获取模块500可以通过接口调用的方式来获取推送请求信息,即在调用相应的API时,可以将推送请求信息作为接口参数提供给API,从而使获取模块500获取到推送请求信息。
一个具体的例子,用户设备中的APP在有新的信息需要通知用户时,根据该新的信息确定通知内容,并获取该APP当前的内容格式组标识信息,然后,将上述确定出的通知内容以及获取到的APP当前的内容格式组标识信息作为通知服务提供的API的接口参数并调用该API,从而使位于通知服务中的获取模块500获取到推送请求信息。
在获取模块500利用现有的API(如通知服务提供的API)来获取推送请求信息,且现有的API的接口参数不能有效表示出本实施例中的内容格式组标识信息的情况下,本实施例可以利用该API的扩展的接口参数来表示内容格式组标识信息,以使获取模块500获取到内容格式组 标识信息。本实施例不限制对API的接口参数进行扩展的具体实现方式。
确定模块510主要适于根据推送请求信息确定通知中各单元的内容以及各单元对应的包含有多个内容格式的内容格式组。
具体的,由于通知的显示画面有限等因素,一个通知的通知内容可能会被划分为多个单元,也就是说,一个通知的通知内容可以包括多个单元或者说一个通知可以包括多个单元;本实施例中的单元也可以称为通知单元或者内容单元等。当然,在有些情况下,一个通知的通知内容并不会被划分成多个单元,此时,一个通知的通知内容包括一个单元,也即一个通知包括一个单元。
本实施例的用户设备中预先设置有多个内容格式组,且每一个内容格式组具有一个内容格式组标识信息,一个内容格式组中可以包含有一个内容格式,也可以包含有多个内容格式。在一个内容格式组中包含有多个内容格式的情况下,多个内容格式具有预定排列组合方式,如内容格式组中的多个内容格式具有预定的左右排列顺序等。
在本实施例的用户设备中预先设置的多个内容格式组中,至少有一个内容格式组中包含有多个内容格式,如至少有一个内容格式组中包含有具有预定排列组合方式的多个内容格式。
本实施例的用户设备中通常预先设置有各内容格式组标识信息与各内容格式组之间的对应关系,从而确定模块510可以根据推送请求信息中的内容格式组标识信息在本地存储的对应关系中进行查找,以确定推送请求信息中的内容格式组标识信息所对应的内容格式组。当然,确定模块510也可以采用其他方式确定推送请求信息中的内容格式组标识信息所对应的内容格式组,如确定模块510采用预定算法对推送请求信息中的内容格式组标识信息进行计算,并根据计算结果确定推送请求信息中的内容格式组标识信息所对应的内容格式组。本实施不限制确定模块510确定推送请求信息中的内容格式组标识信息所对应的内容格式组的具体实现方式。
作为示例,确定模块510可以包括第一模块(图中未示出)和第二 模块(图中未示出);第一模块主要适于在预先存储的内容格式组标识信息与内容格式组的对应关系信息中查找推送请求信息中的内容格式组标识信所对应的内容格式组;第二模块主要适于根据查找结果确定通知中各单元对应的内容格式组。
形成模块520主要适于根据各单元的内容和各单元对应的内容格式组形成通知推送信息。
作为示例,形成模块520可以包括:第三模块(图中未示出)和第四模块(图中未示出);其中的第三模块主要适于根据各单元对应的包含有多个内容格式的内容格式组确定各单元分别对应的内容格式;其中的第四模块主要适于将各单元的内容以及各单元分别采用的内容格式根据预定数据结构形成通知推送信息。
具体的,在推送请求信息中的通知内容包含多个单元的内容(即通知包含有多个单元),且推送请求信息中的内容格式组标识信息对应的内容格式组包含有具有预定排列组合方式的多个内容格式的情况下,形成模块520(如第三模块)可以根据单元的排列顺序以及多个内容格式的排列组合方式确定出各单元分别采用的内容格式。在推送请求信息中的通知内容包含有多个单元的内容,且推送请求信息中的内容格式组标识信息对应的内容格式组包含的多个内容格式不具有预定排列组合方式的情况下,形成模块520(如第三模块)可以根据单元的排列顺序以及多个内容格式在内容格式组中的存放顺序确定出各单元分别采用的内容格式,当然,形成模块520(如第三模块)也可以根据单元的排列顺序从内容格式中为每一个单元均随机选取内容格式,以确定出各单元分别采用的内容格式。
形成模块520(如第四模块)对上述确定出的各单元的内容及各单元分别采用的内容格式进行组织,以形成具有特定数据结构的通知推送信息。形成模块520(如第四模块)可以根据用户设备中预先设置的预定数据结构对各单元的内容以及各单元分别采用的内容格式进行组织,从而形成具有该预定数据结构的通知推送信息;例如形成模块520(如第四模块)通过对图片、文字以及内容格式等进行组织,使图片、 文字以及内容格式等形成具有预定数据结构的数据流(可以称为通知流),该数据流即为通知推送信息。本实施例不限制预定数据结构的具体表现形式以及形成模块520(如第四模块)形成通知推送信息的具体实现过程。
发送模块530主要适于向智能可穿戴设备发送通知推送信息。
具体的,本实施例中的智能可穿戴设备(即基于智能操作系统的可穿戴设备)可以为基于Android操作系统的可穿戴电子设备、基于Windows操作系统的可穿戴设备或者基于IOS操作系统的可穿戴设备等。
发送模块530可以利用用户设备与智能可穿戴设备之间的无线连接将通知推送信息发送给智能可穿戴设备;例如发送模块530可以利用用户设备中的同步模块向智能可穿戴设备发送通知推送信息,该通知推送信息经由利用蓝牙技术等建立的无线连接传输至智能可穿戴设备。
实施例五、智能可穿戴设备展示通知的装置。
图6为本实施例的智能可穿戴设备展示通知的装置示意图。本实施例所记载的装置可以设置于智能可穿戴设备(及基于智能操作系统的可穿戴设备)中,如本实施例所记载的装置可以设置于智能可穿戴设备中的通知展示系统中。
本实施例的智能可穿戴设备可以为基于Android操作系统的可穿戴设备、基于Windows操作系统的可穿戴设备或者基于IOS操作系统的可穿戴设备等。
下面对图6中的各模块所执行的操作分别进行说明。
图6中,智能可穿戴设备展示通知的装置主要包括:获取信息模块600以及通知展示模块610。
获取信息模块600主要适于获取通知推送信息。
具体的,获取信息模块600获取到的通知推送信息来自用户设备,如该通知推送信息是用户设备通过无线连接向智能可穿戴设备发送来的。获取信息模块600获取到的通知推送信息具有预定数据结构,且用户设备和智能可穿戴设备均支持该预定数据结构。获取信息模块600获 取到的通知推送信息主要用于在智能可穿戴设备处形成通知显示画面。
通知展示模块610主要适于根据通知推送信息展示由各单元的内容以及各单元对应的包含有多个内容格式的内容格式组所形成的通知。
具体的,获取信息模块600获取的通知推送信息具有预定数据结构,通知展示模块610可以根据该预定数据结构对通知推送信息进行有效识别,从而通知展示模块610可以使通知推送信息形成包含有多个单元的通知展示画面,该通知展示画面中的各单元的内容格式是由内容格式组所包含的多个内容格式的预定排列组合方式确定的。
一个具体的例子,在Android Wear手表接收到Android移动智能电话发送来的通知推送信息之后,获取信息模块600获取到该通知推送信息,获取信息模块600将通知推送信息提供给通知展示模块610;通知展示模块610根据其预先存储的预定数据结构对接收到的通知推送信息进行格式转换处理,并使格式转换处理后的数据形成可以左右滑动的通知展示画面,通知展示模块610向用户展示通知。
需要注意的是,本发明可以在软件和/或者软件与硬件的组合体中被实施,例如,本发明的各个装置可采用专用集成电路(ASIC)或者任何其他类似硬件设备来实现。在一个实施例中,本发明的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本发明的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器、磁或者光驱动器或软磁盘及类似设备。另外,本发明的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。
对于本领域技术人员而言,显然,本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一方面来看,均应该将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明来限定,因此,旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应该将权利要求中的 任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一以及第二等词语用来表示名称,而并不表示任何特定顺序。
虽然前面特别示出并且描述了示例性实施例,但是本领域技术人员将会理解的是,在不背离权利要求书的精神和范围的情况下,在其形式和细节方面可以有所变化。这里所寻求的保护在所附权利要求书中做了阐述。

Claims (19)

  1. 一种向智能可穿戴设备推送通知的方法,其中,该方法包括以下步骤:
    获取推送请求信息;
    根据所述推送请求信息确定通知中各单元的内容以及各单元对应的包含有多个内容格式的内容格式组;
    根据所述各单元的内容和各单元对应的内容格式组形成通知推送信息;
    向智能可穿戴设备发送所述通知推送信息。
  2. 根据权利要求1所述的方法,其中,所述获取推送请求信息包括:
    根据被调用的通知服务的应用程序编程接口的接口参数获取推送请求信息。
  3. 根据权利要求1所述的方法,其中,所述推送请求信息包括:通知内容以及内容格式组标识信息。
  4. 根据权利要求3所述的方法,其中,所述根据所述推送请求信息确定通知中各单元的内容以及各单元对应的包含有多个内容格式的内容格式组包括:
    在预先存储的内容格式组标识信息与内容格式组的对应关系信息中查找所述推送请求信息中的内容格式组标识信所对应的内容格式组;
    根据所述查找结果确定通知中各单元对应的内容格式组。
  5. 根据权利要求1至4中任一权利要求所述的方法,其中,所述内容格式组包括:具有预定排列组合方式的多个内容格式。
  6. 根据权利要求1至4中任一权利要求所述的方法,其中,所述根据所述各单元的内容和各单元对应的内容格式组形成通知推送信息包括:
    根据所述各单元对应的包含有多个内容格式的内容格式组确定各单元分别对应的内容格式;
    将所述各单元的内容以及各单元分别采用的内容格式根据预定数据结构形成通知推送信息。
  7. 一种智能可穿戴设备展示通知的方法,其中,该方法包括以下步骤:
    获取通知推送信息;
    根据所述通知推送信息展示由各单元的内容以及各单元对应的包含有多个内容格式的内容格式组所形成的通知。
  8. 根据权利要求7所述的方法,其中,所述根据所述通知推送信息展示由各单元的内容以及各单元对应的包含有多个内容格式的内容格式组所形成的通知包括:
    根据所述通知推送信息的预定数据结构将通知推送信息形成包含有多个单元的通知展示画面,且所述通知展示画面中的各单元的内容格式由所述内容格式组所包含的多个内容格式的预定排列组合方式确定。
  9. 一种向智能可穿戴设备推送通知的装置,其中,该装置包括:
    获取模块,适于获取推送请求信息;
    确定模块,适于根据所述推送请求信息确定通知中各单元的内容以及各单元对应的包含有多个内容格式的内容格式组;
    形成模块,适于根据所述各单元的内容和各单元对应的内容格式组形成通知推送信息;
    发送模块,适于向智能可穿戴设备发送所述通知推送信息。
  10. 根据权利要求9所述的装置,其中,所述获取模块具体适于:
    根据被调用的通知服务的应用程序编程接口的接口参数获取推送请求信息。
  11. 根据权利要求9所述的装置,其中,所述推送请求信息包括:通知内容以及内容格式组标识信息。
  12. 根据权利要求11所述的装置,其中,所述确定模块包括:
    第一模块,适于在预先存储的内容格式组标识信息与内容格式组的对应关系信息中查找所述推送请求信息中的内容格式组标识信所对应 的内容格式组;
    第二模块,适于根据所述查找结果确定通知中各单元对应的内容格式组。
  13. 根据权利要求9至12中任一权利要求所述的装置,其中,所述内容格式组包括:具有预定排列组合方式的多个内容格式。
  14. 根据权利要求9至12中任一权利要求所述的装置,其中,所述形成模块具体适于:
    第三模块,适于根据所述各单元对应的包含有多个内容格式的内容格式组确定各单元分别对应的内容格式;
    第四模块,适于将所述各单元的内容以及各单元分别采用的内容格式根据预定数据结构形成通知推送信息。
  15. 一种智能可穿戴设备展示通知的装置,其中,该装置包括:
    获取信息模块,适于获取通知推送信息;
    通知展示模块,适于根据所述通知推送信息展示由各单元的内容以及各单元对应的包含有多个内容格式的内容格式组所形成的通知。
  16. 根据权利要求15所述的装置,其中,所述通知展示模块具体适于:
    根据所述通知推送信息的预定数据结构将通知推送信息形成包含有多个单元的通知展示画面,且所述通知展示画面中的各单元的内容格式由所述内容格式组所包含的多个内容格式的预定排列组合方式确定。
  17. 一种计算机可读存储介质,所述计算机可读存储介质包括计算机指令,当所述计算机指令被执行时,如权利要求1至8中任一项所述的方法被执行。
  18. 一种计算机程序产品,当所述计算机程序产品被执行时,如权利要求1至8中任一项所述的方法被执行。
  19. 一种计算机设备,所述计算机设备包括存储器和处理器,所述存储器中存储有计算机指令,所述处理器被配置来通过执行所述计算机指令以执行如权利要求1至8中任一项所述的方法。
PCT/CN2015/098715 2015-09-28 2015-12-24 向智能可穿戴设备推送通知以及展示通知的方法和装置 WO2017054341A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510627970.9A CN106559449B (zh) 2015-09-28 2015-09-28 向智能可穿戴设备推送通知以及展示通知的方法和装置
CN201510627970.9 2015-09-28

Publications (1)

Publication Number Publication Date
WO2017054341A1 true WO2017054341A1 (zh) 2017-04-06

Family

ID=58415770

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/098715 WO2017054341A1 (zh) 2015-09-28 2015-12-24 向智能可穿戴设备推送通知以及展示通知的方法和装置

Country Status (2)

Country Link
CN (1) CN106559449B (zh)
WO (1) WO2017054341A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107633383A (zh) * 2017-09-13 2018-01-26 青岛真时科技有限公司 一种聚合待办事项的方法、装置、系统和移动终端

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015006617A1 (en) * 2013-07-11 2015-01-15 Al-Nasser Khalid Smart watch
CN104301873A (zh) * 2014-09-05 2015-01-21 惠州Tcl移动通信有限公司 智能终端、功能终端及通知信息的同步推送方法
CN104598183A (zh) * 2014-12-31 2015-05-06 青岛歌尔声学科技有限公司 一种头戴显示设备及该设备获知智能设备信息的方法
CN104808999A (zh) * 2015-05-20 2015-07-29 百度在线网络技术(北京)有限公司 通知推送方法和装置
CN104869560A (zh) * 2014-02-26 2015-08-26 宇龙计算机通信科技(深圳)有限公司 消息通知方法、消息通知装置、移动设备和消息通知系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI241824B (en) * 2003-10-31 2005-10-11 Benq Corp Mobile phone and related method for displaying text message with various background images
CN101034996A (zh) * 2006-03-09 2007-09-12 腾讯科技(深圳)有限公司 即时消息推送方法及其系统
CN103970861B (zh) * 2014-05-07 2017-11-17 华为技术有限公司 信息呈现方法和设备
WO2016000099A1 (zh) * 2014-06-10 2016-01-07 华为技术有限公司 一种提示通信事件的方法、装置及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015006617A1 (en) * 2013-07-11 2015-01-15 Al-Nasser Khalid Smart watch
CN104869560A (zh) * 2014-02-26 2015-08-26 宇龙计算机通信科技(深圳)有限公司 消息通知方法、消息通知装置、移动设备和消息通知系统
CN104301873A (zh) * 2014-09-05 2015-01-21 惠州Tcl移动通信有限公司 智能终端、功能终端及通知信息的同步推送方法
CN104598183A (zh) * 2014-12-31 2015-05-06 青岛歌尔声学科技有限公司 一种头戴显示设备及该设备获知智能设备信息的方法
CN104808999A (zh) * 2015-05-20 2015-07-29 百度在线网络技术(北京)有限公司 通知推送方法和装置

Also Published As

Publication number Publication date
CN106559449B (zh) 2019-12-17
CN106559449A (zh) 2017-04-05

Similar Documents

Publication Publication Date Title
US20220038414A1 (en) Systems and methods for chat with audio and video elements
JP6228676B2 (ja) 接続状態プロンプティング方法および装置
CN109710370B (zh) 会话列表显示方法、装置和电子设备
US10110549B2 (en) Method, server and electronic devices of synchronizing notification messages for electronic devices
WO2016078254A1 (zh) 一种显示方法及终端、存储介质
JP2018515871A (ja) グループ管理方法および端末、および記憶媒体
US10455542B2 (en) Method of synchronizing notification messages for electronic devices and electronic devices
KR102338240B1 (ko) 오디오 및 비주얼 콘텐츠 관리 시스템
EP2978170A2 (en) Method, device, terminal and server for pushing message through web application
CN109688051B (zh) 会话列表显示方法、装置和电子设备
US10860280B2 (en) Display method and device
WO2015065955A1 (en) Bandwidth reduction system and method
US10685642B2 (en) Information processing method
JP7448672B2 (ja) 情報処理方法、システム、装置、電子機器及び記憶媒体
CN113329240A (zh) 投屏的方法及装置
EP3015965A1 (en) Method and apparatus for prompting device connection
CN103838531A (zh) 一种信息处理及显示方法、移动终端
EP4123472A1 (en) Information sharing method, apparatus, electronic device, and storage medium
EP3151574A1 (en) System and method for maintaining connection channel in multi-device interworking service
WO2017071356A1 (zh) 一种基于客户端的网络数据同步的方法、装置以及系统
US9673923B2 (en) Methods and apparatuses for emergency notifications to the hearing impaired
EP4236328A1 (en) Video sharing method and apparatus, electronic device, and storage medium
US9326306B2 (en) Interactive remote windows between applications operating within heterogeneous operating systems on mobile and stationary devices
WO2017054341A1 (zh) 向智能可穿戴设备推送通知以及展示通知的方法和装置
WO2015168408A1 (en) Method and system for message conversation view customization

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

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

Country of ref document: EP

Kind code of ref document: A1