WO2015058574A1 - 实现扩展应用程序的推送通知的方法及装置 - Google Patents

实现扩展应用程序的推送通知的方法及装置 Download PDF

Info

Publication number
WO2015058574A1
WO2015058574A1 PCT/CN2014/083906 CN2014083906W WO2015058574A1 WO 2015058574 A1 WO2015058574 A1 WO 2015058574A1 CN 2014083906 W CN2014083906 W CN 2014083906W WO 2015058574 A1 WO2015058574 A1 WO 2015058574A1
Authority
WO
WIPO (PCT)
Prior art keywords
push
application
push notification
extended application
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2014/083906
Other languages
English (en)
French (fr)
Inventor
陈磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Publication of WO2015058574A1 publication Critical patent/WO2015058574A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/75Indicating network or usage conditions on the user display

Definitions

  • the present invention relates to the field of network technologies, and in particular, to a method and apparatus for implementing push notification of an extended application. Background technique
  • Push Notification also known as remote notification, is a feature introduced in the operating system and is a way to inform users of new messages when the application (Application, App) is not started or is not running in the foreground.
  • the notification is sent by the remote server (provider, Provider) and then pushed to the terminal's program via Apple's Push Notification Service (APNS).
  • APNS Apple's Push Notification Service
  • the SSL (Secure Socket Layer) certificate must be obtained through the iOS Developer Program Portal. Each certificate is limited to one program, using the bundle ID of the application (the identifier of the application) as the identifier.
  • the remote server is the provider of an application
  • APNS is the Apple Push Server.
  • the implementation process of push notification mainly includes three stages.
  • the Provider packages the message to be sent and the identity of the destination terminal (for example: iphone) and sends it to APNS.
  • APNS searches for the iphone with the corresponding identifier in the iphone list of the registered push service, and sends a message to the i phone.
  • i phone passes the sent message to the corresponding application and pops up the push notification according to the settings.
  • both the Provider and the APNS and between the APNS and the terminal need to be connected through a certificate.
  • iOS system is a closed source system, not open source. User permissions are low, and the system is closed by "Jailbreak" to unlock the iOS system. You can modify the system files, install plugins, and install some extension applications that are not available in the App Store. For example, installing software outside the App Store, replacing the theme of the theme, running the shell program, or even unlocking the operator's restrictions on the terminal network (commonly known as "unlocking").
  • the present invention has been made in order to provide a method and apparatus for implementing push notification of an extended application that overcomes the above problems or at least partially solves the above problems.
  • a method of implementing a push notification of an extended application the extended application being an application that needs to be installed in an environment that has overcome system installation restrictions imposed by an operating system by using system rights
  • the method includes: intercepting an identifier list of an application registered with a push notification on an operating system, adding an identifier of the extended application to the identifier list; setting a push notification parameter about the extended application; acquiring an application push state interface of the operating system
  • the application push state interface is used, the identifier list is read to obtain the identifier of the extended application, and the push notification parameter of the extended application is read; according to the identifier of the extended application read and the push notification parameter , Display push notifications about the extended application on the terminal.
  • an apparatus for implementing a push notification of an extended application the extended application being an application that needs to be installed in an environment in which a system authority has been used to overcome a program installation restriction imposed by an operating system
  • the device includes: a list modification unit, configured to intercept an identifier list of an application for which a push notification is registered on an operating system, and add an identifier of the extended application to the identifier list; and a parameter setting unit, configured to set The push notification parameter of the extended application; the interface reading unit, configured to acquire an application push state interface of the operating system, and use the application push state interface to read the list modification unit to obtain the identifier of the extended application And reading the parameter setting unit to obtain a push notification parameter of the extended application; a push display unit, configured to: according to the identifier of the extended application and the push notification parameter read by the interface reading unit, at the terminal Showing push on the extended application Know.
  • the embodiment of the present invention intercepts and modifies the application identifier list about the push function and the data about the push, the extension application is added to the application identifier list with the push function, and the push about the extended application is set. parameter.
  • the embodiment of the present invention implements the push notification function on the extended application after jailbreak through the hook mechanism.
  • the extended application can display the push notification function as well as the application downloaded from the App Store, and can also provide the user with an interface for modifying the push parameter.
  • the push notification on the extended application implemented by the embodiment of the present invention is consistent with the push notification effect of the other application.
  • the present invention is based on the implementation of the original push function of the system, that is, there is no extra Increase the system load, so it will not interfere with the normal operation of the system.
  • the present invention can be implemented only by intercepting and modifying the data structure related to the push at the terminal, the modification on the network side is not involved, so the implementation is simple.
  • FIG. 1 is a schematic diagram showing a prior art message push implementation
  • FIG. 1 is a flow chart showing a method for implementing push notification of an extended application according to an embodiment of the present invention
  • FIG. 3 is a view of the present invention.
  • Figure 4 shows a block diagram of an intelligent electronic device for performing the method according to the invention
  • Figure 5 shows a schematic diagram of a storage unit for holding or carrying program code implementing the method according to the invention.
  • the present invention provides a method for implementing a push notification of an extended application, which is different from the certificate obtained between the system server and the application server, that is, the data structure of the push is intercepted and modified only locally at the terminal, that is, Push notifications can be implemented on an extension application (also known as a jailbreak application, jailbroken software, or jailbreak plugin).
  • an extended application refers to an application that needs to be installed in an environment in which the system authority has been used to overcome the program installation restrictions imposed by the operating system.
  • FIG. 2 a flowchart of a method for implementing push notification of an extended application according to an embodiment of the present invention. The method embodiment includes the following steps:
  • S201 intercepting an identifier list of an application for which a push notification is registered on the operating system, and adding an identifier of the extended application to the identifier list;
  • S203 Obtain an application push state interface of the operating system, use an application push status interface, read the identifier list to obtain an identifier of the extended application, and read a push notification parameter of the extended application;
  • S204 Display a push notification about the extended application on the terminal according to the identifier of the read extended application and the push notification parameter.
  • a hook hook or hook
  • the hook mechanism allows an application to intercept messages or specific events that process an operating system.
  • a hook is actually a program segment that processes a message and hooks it into the system through a system call.
  • the hook program first captures the message before it reaches the destination window, that is, the hook function first gains control. At this time, the hook function can process (change) the message, or continue to deliver the message without processing, and can also force the knot. The delivery of bundle messages.
  • the hook mechanism is used to obtain a unique identifier list of all the third-party software that registers the push service of the operating system, and then the identifier of the extended application to be opened for the push notification is added to the list; To expand the application type information about the push information; and, by using the hook mechanism, set the parameter data of the extended application push function.
  • the hook mechanism is used to obtain the application push state interface of the operating system, and then the customized push information about the extended application is read, and the system environment for displaying the extended application push notification is reached, and when the push notification needs to be popped up, based on the generated
  • the data structure conforming to the underlying standard of the system and the values of the parameters given are popped up using the underlying interface of the system.
  • other features of the push such as click notifications to open the application, push notification banners, automatic messages, etc., are consistent with the system's native effects.
  • the following uses the 360 mobile guard as an extended application as an example:
  • the display type includes sound, mark, Pop-up windows, etc.
  • setting the push notification parameters regarding the extended application includes setting the type information of the notification and setting the content data of the notification.
  • the push notification effect of the iOS system can be simulated in the extended application, including sound, mark, vibration, pop-up prompt, and display in the notification center.
  • the content data refers to the prompt text when the push notification is popped up, such as "receive new analog push notification", and the prompt sound that is sent at the same time.
  • the push style can be a banner or a reminder.
  • the type information as an example of the 360 mobile guard as an extended application, it can be seen in the mobile phone "Settings - Notifications - 360 Mobile Guardian". This setting specifically involves:
  • the sound switch whether the sound is emitted at the same time when the push message is received.
  • the specific sound has a system default sound, which can also be applied to the push content setting.
  • the user is allowed to set various parameters regarding the push notification in the system notification setting. Specifically, when the user modifies the push notification setting parameter for an extended application, the latest state data is saved to the customization file to retain the state of the latest setting after the user is restarted.
  • steps S201-S202 can be performed in advance at the bottom of the system without performing the pop-up notification every time.
  • Steps S203-S204 are executed in real time each time a push notification needs to be displayed.
  • the embodiment of the present invention determines that a push notification needs to be displayed at least in the following scenarios:
  • the embodiment of the present invention adds an extended application to an application identifier having a push function by intercepting and modifying messages and events related to the push function (including a push-enabled application identification list and a data structure regarding push h) In the list, and set up the push data structure for the extended application.
  • the embodiment of the present invention implements a push notification function of an extended application by using a hook mechanism.
  • the extended application can display the push notification function as well as the application downloaded from App S tore, and can also provide the user with an interface for modifying the push parameter.
  • the push notification on the extended application implemented by the embodiment of the present invention is consistent with the push notification effect of the other application.
  • the present invention also provides an apparatus for implementing push notification of an extended application.
  • the device can be implemented in hardware, software, or a combination of hardware and software.
  • the device may be located on one side of the terminal or may be a device combined with the network side. In the case of being located on the side of the terminal, it may refer to a device inside the terminal, or may be referred to as the terminal itself, as long as the terminal includes the function of the device.
  • the apparatus includes a list modification unit 301, a parameter setting unit 302, an interface reading unit 303, and a push display unit 304.
  • the list ⁇ ⁇ ' tampering unit 301 is configured to intercept the identification list of the application for which the push notification is registered on the operating system, and add the identifier of the extended application to the identification list.
  • the list modification unit 301 can implement the interception of the identifier list by using a hook mechanism.
  • the hook mechanism allows an application to intercept messages or specific events that process the operating system.
  • the list modification unit 301 uses the hook mechanism to obtain a unique identifier list of all the third-party software registered by the operating system, and then adds the identifier of the extended application to which the push notification is to be added to the list.
  • the parameter setting unit 302 is configured to set a push notification parameter about the extended application.
  • the parameter setting unit 302 may use the hook mechanism to obtain type information about the push information of the extended application; and, by using the hook mechanism, set parameter data of the extended application push function.
  • the push notification effect of the iOS system can be simulated in the extended application, including sound, mark, vibration, pop-up prompt, and display in the notification center.
  • the interface reading unit 303 is connected to the list modifying unit 301, the parameter setting unit 302, and the push display unit 304.
  • the interface reading unit 303 is configured to acquire an application push state interface of the operating system, and use the application push state interface, the read list modification unit 301 to obtain the identifier of the extended application, and read the parameter setting unit 302 to obtain the push of the extended application. Notification parameters.
  • the hook mechanism can be used to obtain the application push state interface of the operating system, and then the customized push information about the extended application is read, and the system environment for displaying the extended application push notification is reached, and when the push notification needs to be popped up, Based on the generated data structure conforming to the underlying standard of the system and the values of the parameters given, the push notification is popped up using the underlying interface of the system.
  • the push display unit 304 is configured to display a push notification about the extended application on the terminal according to the identifier of the extended application read by the interface reading unit 303 and the push notification parameter. Further, in the device embodiment of the present invention, as with the original push notification of the system, the user is allowed to set various parameters regarding the push notification in the system notification setting. Specifically, when the user modifies the push notification setting parameter for an extended application, the latest state data is saved to the customization file to retain the state of the latest setting after the user is turned off and restarted. At this time, the parameter setting unit 302 is further configured to receive and save state data about the push notification of the extended application input by the user; the push display unit 304 displays the latest state data read by the interface reading unit 303 after the terminal restarts. Push notifications.
  • the interface reading unit 303 can be read to read the identification and push notification parameters of the extended application and the push push display unit 304 displays the push notification under the following conditions (1) to (3): (1) When the extended application returns to the background, the delay function reaches the preset time point; (2) in the background of the operating system, when the polling system server status meets the push condition; (3) in the background of the operating system, create a socket Socke t communication, when the received message needs to be given a reminder according to the preset rules.
  • the embodiment of the present invention adds the extended application to the application identification list with the push function by intercepting and modifying the messages and events related to the push function (including the push-enabled application identification list and the data structure regarding the push h). , and set the push data structure for the extended application.
  • the embodiment of the present invention implements a push notification function of an extended application by using a hook mechanism.
  • the extended application can display the push notification function as well as the application downloaded from App S tore, and can also provide the user with an interface for modifying the push parameter.
  • the push notification on the extended application implemented by the embodiment of the present invention is consistent with the push notification effect of the other application.
  • the present invention is based on the implementation of the original push function of the system, that is, without additional system load, it does not interfere with the normal operation of the system. Moreover, since the present invention can be implemented only by intercepting and modifying the data structure of the push at the terminal, it is not necessary to involve network side changes, and thus the implementation is simple.
  • modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed may be employed in any combination. Or combine all the processes or units of the device.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a device or device program e.g., a computer program and a computer program product
  • the program of the present invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • FIG. 4 illustrates an intelligent electronic device that can implement a method of implementing push notification of an extended application in accordance with the present invention.
  • the intelligent electronic device conventionally includes a processor 410 and a computer program product or computer readable medium in the form of a memory 420.
  • the memory 420 can be, for example, a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM. Class of electronic memory.
  • Memory 420 has a memory space 430 for program code 431 for performing any of the method steps described above.
  • storage space 430 for program code may include various program code 431 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are typically portable or fixed storage units as described with reference to FIG.
  • the storage unit may have a storage segment or a storage space similar to the storage 420 in the smart electronic device of FIG.
  • the program code can be, for example, a program 431, ie, code that can be read by a processor, such as 410, which, when executed by the intelligent electronic device, causes the intelligent electronic device to perform various steps in the methods described above.
  • a processor such as 410
  • any reference signs placed between parentheses shall not be construed as a limitation.
  • the word “comprising” does not exclude the presence of the elements or steps that are not in the claims.
  • the word “a” or “an” preceding a component does not exclude the presence of a plurality of such elements.
  • the invention can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item.
  • the use of the words first, second, and third does not indicate any order. These words can be interpreted as names.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种实现扩展应用程序的推送通知的方法及装置。其中扩展应用程序是指需要在已利用系统权限克服操作系统施加的程序安装限制的环境下安装的应用程序,该方法包括:拦截操作系统上注册了推送通知的应用程序的标识列表,将扩展应用程序的标识添加到标识列表中;设置关于扩展应用程序的推送通知参数;获取操作系统的应用程序推送状态接口,读取扩展应用程序的标识及推送通知参数;根据读取的扩展应用程序的标识及推送通知参数,在终端上显示关于扩展应用程序的推送通知。本发明将扩展应用程序添加到具有push功能的应用程序标识列表中,并设置了有关扩展应用程序的push参数,在越狱后的扩展应用程序上实现了推送通知功能。

Description

实现扩展应用程序的推送通知的方法及装置 技术领域
本发明涉及网络技术领域,具体涉及一种实现扩展应用程序的推送通知的 方法及装置。 背景技术
推送通知 (Push Notification) , 也称为远程通知, 是在操作系统中引 入的功能, 是当应用程序 (Application, App)没有启动或不在前台运行时, 告知用户有新消息的一种途径。
为了方便, 本文以苹果公司的 iOS 操作系统为例进行说明。
一般而言, 当要显示消息或下载数据时, 通知是由远程服务器(程序的提 供者, Provider ) 发送, 然后通过苹果的推送通知服务 ( Apple Push Notification Service, APNS )推送到终端的程序上。在实现推送通知过程中, 必须通过 iOS Developer Program Portal (开发者帳户入口 )获得 SSL ( Secure socket layer )证书。 每个证书仅限用于一个程序, 使用程序的 bundle ID (应 用程序的标识符)作为标识。
参见图 1, 为现有技术中推送通知实现示意图。 图 1中, 远程服务器 (Provider)是作为某个应用程序的提供者, APNS是苹果推送服务器(Apple Push Server )。推送通知的实现过程主要包括三个阶段。 第一阶段, Provider 把要发送的消息及目的终端(例如: iphone)的标识打包, 发送给 APNS。 第二 阶段, APNS在自身已注册推送服务的 iphone列表中,查找有相应标识的 iphone, 并把消息发送到该 i phone。 第三阶段, i phone把发来的消息传递给相应的应用 程序, 并且按照设定弹出推送通知。
在实现推送通知的过程中, 无论是 Provider和 APNS 之间还是 APNS和终端 之间, 都需要通过证书进行连接。
众所周知, iOS系统为闭源系统, 非开源。 用户权限很低, 通过 "越狱" 来打开系统封闭的大门, 解除 iOS系统的限制, 可以随意的修改系统文件, 安 装插件, 以及安装一些 App Store (应用程序商店) 中没有的扩展应用程序。 例如安装 App Store以外的软件, 更换外观主题, 运行 shell程序, 甚至可以解 开运营商对于终端网络的限制 (即俗称的 "解锁" ) 。
然而,现有 iOS 系统推送通知的实现方式不能应用在越狱的扩展应用程序 上。 这是因为, 如前所述的, 推送通知过程中的消息必须经过苹果服务器的确 认及处理, 并且,应用程序的提供者 Provider与苹果服务器之间必须基于证书 进行连接。对于越狱的扩展应用程序,其对于苹果服务器是非法的,其 Provider 与苹果服务器之间由于没有合法证书而无法连接。 因此, 如何在越狱的扩展应 用程序上实现推送通知功能, 是待解决的一个技术课题。 发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地 解决上述问题的实现扩展应用程序的推送通知的方法及装置。
依据本发明的一个方面, 提供了一种实现扩展应用程序的推送通知的方 法,所述扩展应用程序是指需要在已利用系统权限克服操作系统施加的程序安 装限制的环境下安装的应用程序, 该方法包括: 拦截操作系统上注册了推送通 知的应用程序的标识列表,将扩展应用程序的标识添加到标识列表中; 设置关 于扩展应用程序的推送通知参数; 获取操作系统的应用程序推送状态接口,在 需要显示推送通知时, 利用应用程序推送状态接口,读取标识列表得到扩展应 用程序的标识, 并读取扩展应用程序的推送通知参数; 根据读取的扩展应用程 序的标识及推送通知参数, 在终端上显示关于扩展应用程序的推送通知。
根据本发明另一方面, 还提供一种实现扩展应用程序的推送通知的装置, 所述扩展应用程序是指需要在已利用系统权限克服操作系统施加的程序安装 限制的环境下安装的应用程序, 该装置包括: 列表修改单元, 用于拦截操作系 统上注册了推送通知的应用程序的标识列表,将所述扩展应用程序的标识添加 到所述标识列表中; 参数设置单元, 用于设置关于所述扩展应用程序的推送通 知参数; 接口读取单元, 用于获取操作系统的应用程序推送状态接口, 利用所 述应用程序推送状态接口,读取所述列表修改单元得到所述扩展应用程序的标 识, 并读取所述参数设置单元得到所述扩展应用程序的推送通知参数; 推送显 示单元,用于根据所述接口读取单元读取的所述扩展应用程序的标识及推送通 知参数, 在终端上显示关于所述扩展应用程序的推送通知。
可见,由于本发明实施例通过拦截并修改有关 push功能的应用程序标识列 表及关于 push的数据,将扩展应用程序添加到具有 push功能的应用程序标识列 表中,并设置了有关扩展应用程序的 push参数。简言之,本发明实施例通过 hook 机制, 在越狱后的扩展应用程序上实现了推送通知功能。
对于终端及用户而言,通过上述修改和设置,扩展应用程序和从 App Store 下载的应用程序一样, 都可以展现推送通知功能, 并且也可向用户提供修改 push参数的界面。对于用户而言, 通过本发明实施例实现的扩展应用程序上的 推送通知与别的应用程序的推送通知效果一致。
此外, 由于本发明是基于系统原有推送功能的实现方式,也就是没有额外 增加系统负担, 因此不会干扰系统的正常运行。 而且, 由于本发明仅通过在终 端对有关 push的数据结构进行拦截和修改即可实现, 可不涉及网络侧的改动, 因此实现简单。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术 手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、 特征和优点能够更明显易懂, 以下特举本发明的具体实施方式。 附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领 域普通技术人员将变得清楚明了。 附图仅用于示出优选实施方式的目的, 而并 不认为是对本发明的限制。 而且在整个附图中, 用相同的参考符号表示相同的 部件。 在附图中: 图 1示出了现有技术消息推送实现示意图; 图 1 示出了根据本发明一个实施例的实现扩展应用程序的推送通知的方 法流程图; 图 3 示出了根据本发明一个实施例的实现扩展应用程序的推送通知的装 置示意图;
图 4示出了用于执行根据本发明的方法的智能电子设备的框图; 以及 图 5示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单 元示意图。 具体实施方式 下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了 本公开的示例性实施例, 然而应当理解, 可以以各种形式实现本公开而不应被 这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本 公开, 并且能够将本公开的范围完整的传达给本领域的技术人员。 如前所述的,在现有推送通知实现过程中, 消息必须经过苹果服务器的确 认及处理, 并且, 应用程序的提供者 Provider与苹果服务器之间必须基于证 书进行连接。对于越狱的应用程序,其对于苹果服务器是非法的, 其 Provider 因此, 本发明提供一种实现扩展应用程序的推送通知的方法,通过与获取 系统服务器与应用程序服务器之间证书不同的思路, 即仅在终端本地对有关 push 的数据结构进行拦截和修改, 即可在扩展应用程序 (也可称为越狱应用 程序、 越狱软件或越狱插件)上实现推送通知功能。 本发明中, 扩展应用程序 是指,需要在已利用系统权限克服操作系统施加的程序安装限制的环境下安装 的应用程序。 请参见图 2, 为根据本发明一个实施例的实现扩展应用程序的推送通知 的方法流程图。 该方法实施例包括以下步骤:
S201 : 拦截操作系统上注册了推送通知的应用程序的标识列表,将扩展应 用程序的标识添加到标识列表中;
S202 : 设置关于扩展应用程序的推送通知参数;
S203: 获取操作系统的应用程序推送状态接口, 利用应用程序推送状态接 口,读取标识列表得到扩展应用程序的标识, 并读取扩展应用程序的推送通知 参数;
S204 : 根据读取的扩展应用程序的标识及推送通知参数,在终端上显示关 于扩展应用程序的推送通知。 可见, 本发明提供的方法实施例中, 通过拦截并修改操作系统有关推送通 知的设置, 从而实现了在扩展应用程序中模拟展现操作系统的推送通知效果。 具体的, 本发明实施例通过拦截并修改有关 pus h功能的应用程序标识列表及 关于 push的数据,将扩展应用程序添加到具有 push功能的应用程序标识列表 中, 并设置了有关扩展应用程序的 push参数。 本发明实施例中, 可釆用 hook (挂钩或钩子)机制实现拦截标识列表及 获取并设置推送通知参数。 本领域技术人员了解, hook 机制允许应用程序截 获处理操作系统的消息或特定事件。钩子实际上是一个处理消息的程序段,通 过系统调用, 把它挂入系统。 每当特定的消息发出, 在没有到达目的窗口前, 钩子程序就先捕获该消息, 亦即钩子函数先得到控制权。 这时钩子函数即可以 加工处理(改变)该消息, 也可以不作处理而继续传递该消息, 还可以强制结 束消息的传递。
在本发明实施例中, 利用 hook机制, 获取操作系统所有注册 push服务的 第三方软件的唯一标识列表,然后将待开启推送通知的扩展应用程序的标识添 加到该列表中; 利用 hook机制, 获取到扩展应用程序关于 push信息的类型信 息; 以及, 利用 hook机制, 设置扩展应用程序 push功能的参数数据。
此外, 利用 hook机制获取操作系统的应用程序推送状态接口, 继而读取 自定义的有关扩展应用程序的 push信息, 达到展现扩展应用程序推送通知的 系统环境,在需要弹出推送通知时,基于生成的符合系统底层标准的数据结构 及赋予的各项参数值,使用系统底层接口弹出推送通知。其中,对于 iOS系统, 可利用系统接口 SBRemoteNot if ica t ionServer , 自行调用 iOS的推送通知底 层接口, 弹出推送通知窗口。 由于釆用的是系统底层协议, 推送的其他特性如 点击通知打开应用程序, 推送通知横幅, 自动消息等与系统原生效果一致。
关于 hook机制在本发明中的应用, 以下以 360手机卫士作为扩展应用程 序为例进行说明:
1 )需要 hook ios系统的读取 push应用列表的程序段, 在转交给其他程 序段处理之前, 把 360手机卫士应用加入到 push应用列表中。
2 )需要 hook设置应用 push参数的程序段, 将用户对 360手机卫士设 置的 push展示类型, 记录下来, 而且以后再关机重启时, 会使用之前设置的 显示类型, 该显示类型包括声音, 标记, 弹窗等。
3 )需要 hook iOS系统启动的程序段, 记录下系统的一些特殊对象, 在 后来的程序段中修改这些对象的数据。
如上已经提到的,设置关于扩展应用程序的推送通知参数包括设置通知的 类型信息和设置通知的内容数据。 具体地, 以 iOS系统为例, 可在扩展应用程 序中模拟展现 iOS系统的推送通知效果, 包括声音, 标记, 震动, 弹窗提示, 以及在通知中心展示等。 关于内容数据, 是指弹出推送通知时的提示文字, 如 "收到新的模拟 push通知" , 和同时发出的提示音。 具体的, push样式可为横幅, 也可以为 提醒。 关于类型信息, 仍以 360 手机卫士作为扩展应用程序为例, 可以在手机 "设置——通知—— 360手机卫士" 中看到。 该设置具体涉及:
1 )是否在通知中心中显示。
2 )在通知中心中显示的最大条数。
3 )提醒样式, 不提醒、 横幅和弹窗三种。
4 )应用程序图标标记,在手机屏幕中软件图标右上角是否显示数字标记。
5 )声音开关, 是否在收到 push消息时同时发出声音。 具体声音有系统 默认声音, 也可以应用在 push内容中设定。
6 )在锁定的屏幕显示开关, 锁屏时收到 pus h消息是否直接显示在屏幕 上, 还是在解锁屏幕后, 再弹出提示。
使用越狱版手机卫士的通话录音功能, 在第一次使用通话录音结束的时 候, 提示用户, 录音文件已经保存在 "通话录音"功能中, 可以打开卫士查 看。
在本发明实施例中, 与系统原有推送通知一样, 允许用户在系统通知设置 中设置关于推送通知的各项参数。具体地, 当用户修改关于某个扩展应用程序 的推送通知设置参数时,将最新状态数据保存到自定义文件中, 以便在用户关 机重启后保留最新设置的状态。
其中, 本领域技术人员可以理解, 步骤 S201-S202预先在系统底层执行即 可, 而无需在每次弹出推送通知都执行。 而步骤 S203-S204是在每次需要显示 推送通知时是实时执行的。 本发明实施例至少可在以下场景时, 确定需要显示推送通知:
( 1 ) 当应用程序退到系统后台时, 通过保留延时函数, 当到达特定时间 点或者在下载数据完成时, 弹出推送通知。
( 2 )在系统后台, 釆用向服务器轮询机制, 每隔一段时间 (例如: 5秒) 向服务器查询一次状态, 当查询的状态符合特定条件时, 弹出推送通知。
( 3 )在系统后台, 创建一个 socke t (套接字)通信, , 当收到的消息根 据预置规则需要给予用户提醒时, 弹出推送通知。 本发明方法实施例具体至少以下技术效果:
( 1 )由于本发明实施例通过拦截并修改有关 push功能的消息和事件(包 括启用 push的应用程序标识列表及关于 pus h的数据结构 ),将扩展应用程序 添加到具有 push功能的应用程序标识列表中, 并设置了有关扩展应用程序的 push数据结构。 简言之, 本发明实施例通过 hook机制, 实现扩展应用程序的 了推送通知功能。
( 2 )对于终端及用户而言,通过上述修改和设置,扩展应用程序和从 App S tore下载的应用程序一样, 都可以展现推送通知功能, 并且也可向用户提供 修改 push参数的界面。 ( 3 )对于用户而言, 通过本发明实施例实现的扩展应用程序上的推送通 知与别的应用程序的推送通知效果一致。
( 4 ) 由于本发明是基于系统原有推送功能的实现方式, 也就是没有额外 增加系统负担, 因此不会干扰系统的正常运行。
可实现, 可不涉及网络侧的改动, 因此实现简单。
与上述方法实施例相对应,本发明还提供一种实现扩展应用程序的推送通 知的装置。本领域技术人员可以理解的是,该装置可以是又硬件,软件,或者, 软硬件结合方式实现。该装置可以位于终端一侧,也可以是与网络侧结合的设 备。 在位于终端一侧的情况下, 它可以是指终端内部的一个设备, 也可以指终 端本身, 只要终端包含此装置功能即可。
参见图 3, 为本发明装置实施例的结构示意图。 该装置包括列表修改单元 301 , 参数设置单元 302, 接口读取单元 303, 以及, 推送显示单元 304 。
下面对各单元的功能及它们之间的连接关系作详细介绍。 列表^ ί'爹改单元 301, 用于拦截操作系统上注册了推送通知的应用程序的标 识列表, 将扩展应用程序的标识添加到标识列表中。
具体地, 列表修改单元 301可釆用 hook机制实现标识列表的拦截。 如前 所述, hook机制允许应用程序截获处理操作系统的消息或特定事件。 在本发 明中, 列表修改单元 301利用 hook机制, 获取操作系统所有注册 push服务的 第三方软件的唯一标识列表,然后将待开启推送通知的扩展应用程序的标识添 加到该列表中。
参数设置单元 302, 用于设置关于扩展应用程序的推送通知参数。 本发明实施例中, 参数设置单元 302可利用 hook机制, 获取到扩展应用 程序关于 push信息的类型信息; 以及, 利用 hook机制, 设置扩展应用程序 push功能的参数数据。 具体地, 以 iOS 系统为例, 可在扩展应用程序中模拟 展现 iOS系统的推送通知效果, 包括声音、 标记、 震动、 弹窗提示以及在通知 中心展示等。
接口读取单元 303, 与列表修改单元 301, 参数设置单元 302及推送显示 单元 304连接。接口读取单元 303用于获取操作系统的应用程序推送状态接口, 利用应用程序推送状态接口, 读取列表修改单元 301 得到扩展应用程序的标 识, 并读取参数设置单元 302得到扩展应用程序的推送通知参数。 本发明中, 可利用 hook机制获取操作系统的应用程序推送状态接口, 继 而读取自定义的有关扩展应用程序的 push信息, 达到展现扩展应用程序推送 通知的系统环境,在需要弹出推送通知时,基于生成的符合系统底层标准的数 据结构及赋予的各项参数值, 使用系统底层接口弹出推送通知。
推送显示单元 304, 用于根据接口读取单元 303读取的扩展应用程序的标 识及推送通知参数, 在终端上显示关于扩展应用程序的推送通知。 此外, 在本发明装置实施例中, 与系统原有推送通知一样, 允许用户在系 统通知设置中设置关于推送通知的各项参数。具体地, 当用户修改关于某个扩 展应用程序的推送通知设置参数时,将最新状态数据保存到自定义文件中, 以 便在用户关机重启后保留最新设置的状态。此时, 参数设置单元 302还用于接 收并保存用户输入的有关所述扩展应用程序的推送通知的状态数据;推送显示 单元 304在终端重启后根据接口读取单元 303读取的最新状态数据显示推送通 知。
此外, 可在以下 ( 1 ) _ ( 3 )条件下启动接口读取单元 303读取扩展应用 程序的标识和推送通知参数以及启动推送显示单元 304 显示所述推送通知: ( 1 )扩展应用程序退到后台时, 延时函数到达预设时间点; ( 2 )在操作系统 后台, 轮询系统服务器状态符合推送条件时; ( 3 )在操作系统后台, 创建套 接字 socke t通信, 当接收到的消息根据预置规则需要给予用户提醒时。
可见,由于本发明实施例通过拦截并修改有关 push功能的消息和事件(包 括启用 push的应用程序标识列表及关于 pus h的数据结构 ),将扩展应用程序 添加到具有 push功能的应用程序标识列表中, 并设置了有关扩展应用程序的 push数据结构。 简言之, 本发明实施例通过 hook机制, 实现扩展应用程序的 了推送通知功能。
对于终端及用户而言,通过上述修改和设置,扩展应用程序和从 App S tore 下载的应用程序一样, 都可以展现推送通知功能, 并且也可向用户提供修改 push 参数的界面。 对于用户而言, 通过本发明实施例实现的扩展应用程序上 的推送通知与别的应用程序的推送通知效果一致。
此外, 由于本发明是基于系统原有推送功能的实现方式,也就是没有额外 增加系统负担, 因此不会干扰系统的正常运行。 而且, 由于本发明仅通过在终 端对有关 push的数据结构进行拦截和修改即可实现,可不涉及网络侧的改动, 因此实现简单。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有 相关。 各种通用系统也可以与基于在此的示教一起使用。 根据上面的描述, 构 造这类系统所要求的结构是显而易见的。此外, 本发明也不针对任何特定编程 语言。 应当明白, 可以利用各种编程语言实现在此描述的本发明的内容, 并且 上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中, 说明了大量具体细节。 然而, 能够理解, 本发 明的实施例可以在没有这些具体细节的情况下实践。在一些实例中, 并未详细 示出公知的方法、 结构和技术, 以便不模糊对本说明书的理解。
类似地,应当理解, 为了精简本公开并帮助理解各个发明方面中的一个或 多个,在上面对本发明的示例性实施例的描述中, 本发明的各个特征有时被一 起分组到单个实施例、 图、 或者对其的描述中。 然而, 并不应将该公开的方法 解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确 记载的特征更多的特征。 更确切地说, 如下面的权利要求书所反映的那样, 发 明方面在于少于前面公开的单个实施例的所有特征。 因此, 遵循具体实施方式 的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为 本发明的单独实施例。 本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适 应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实 施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它 们分成多个子模块或子单元或子组件。 除了这样的特征和 /或过程或者单元中 的至少一些是相互排斥之外, 可以釆用任何组合对本说明书(包括伴随的权利 要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所 有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、 摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征 来代替。
此外, 本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它 实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意 味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求 书中, 所要求保护的实施例的任意之一都可以以任意的组合方式来使用。 本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器 上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解, 可以在实践中使用微处理器或者数字信号处理器 (DSP ) 来实现根据本发明实 施例的实现扩展应用程序的推送通知的装置中的一些或者全部部件的一些或 者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全 部的设备或者装置程序(例如, 计算机程序和计算机程序产品)。 这样的实现 本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号 的形式。 这样的信号可以从因特网网站上下载得到, 或者在载体信号上提供, 或者以任何其他形式提供。
例如, 图 4示出了可以实现根据本发明的实现扩展应用程序的推送通知 的方法的智能电子设备。 该智能电子设备传统上包括处理器 410和以存储器 420形式的计算机程序产品或者计算机可读介质。 存储器 420可以是诸如闪 存、 EEPROM (电可擦除可编程只读存储器) 、 EPROM、 硬盘或者 ROM之 类的电子存储器。存储器 420具有用于执行上述方法中的任何方法步骤的程 序代码 431的存储空间 430。 例如, 用于程序代码的存储空间 430可以包括分 别用于实现上面的方法中的各种步骤的各个程序代码 431。这些程序代码可 以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算 机程序产品中。 这些计算机程序产品包括诸如硬盘, 紧致盘 (CD ) 、 存储 卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图 5 所述的便携式或者固定存储单元。该存储单元可以具有与图 4的智能电子设 备中 存储^ 420类似布置的存储段或者存储空间 ^等。程序代码可以例如 的程序 431,, 即可以由例如诸如 410之类的处理器读取的代码, 这些代码当 由智能电子设备运行时, 导致该智能电子设备执行上面所描述的方法中的 各个步骤。 应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并 且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施 例。在权利要求中, 不应将位于括号之间的任何参考符号构造成对权利要求的 限制。 单词 "包含" 不排除存在未列在权利要求中的元件或步骤。 位于元件之 前的单词 "一" 或 "一个" 不排除存在多个这样的元件。 本发明可以借助于包 括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干 装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体 体现。 单词第一、 第二、 以及第三等的使用不表示任何顺序。 可将这些单词解 释为名称。

Claims

权 利 要 求
1、 一种实现扩展应用程序的推送通知的方法, 所述扩展应用程序是指需 要在已利用系统权限克服操作系统施加的程序安装限制的环境下安装的应用 程序, 其特征在于, 包括:
拦截操作系统上注册了推送通知的应用程序的标识列表,将所述扩展应用 程序的标识添加到所述标识列表中;
设置关于所述扩展应用程序的推送通知参数;
获取操作系统的应用程序推送状态接口,在需要显示推送通知时, 利用所 述应用程序推送状态接口, 读取所述标识列表得到所述扩展应用程序的标识, 并读取所述扩展应用程序的推送通知参数;
根据读取的所述扩展应用程序的标识及推送通知参数,在终端上显示关于 所述扩展应用程序的推送通知。
2、 如权利要求 1所述的方法, 其特征在于,
釆用 hook机制拦截操作系统上注册推送通知的应用程序的标识列表,得到 关于扩展应用程序的推送通知参数, 以及, 获取操作系统的应用程序推送状态 接口。
3、 如权利要求 1所述的方法, 其特征在于, 所述设置关于扩展应用程序的 推送通知参数包括:
设置关于所述扩展应用程序的推送通知的类型信息;
设置关于所述扩展应用程序的推送通知的内容数据。
4、如权利要求 3所述的方法,其特征在于,所述类型信息包括声音,震动, 和 /或, 标记。
5、 如权利要求 1、 1、 3或 4所述的方法, 其特征在于, 还包括:
接收用户输入的有关所述扩展应用程序的推送通知的状态数据;
保存所述状态数据;
在终端重启后根据最新状态数据显示推送通知。
6、 如权利要求 1至 5任一项所述的方法, 其特征在于, 在以下条件时, 确 定所述需要显示推送通知:
所述扩展应用程序退到后台时, 延时函数达到预设时间点; 或, 在操作系统后台, 轮询系统服务器状态符合推送条件时; 或,
在操作系统后台,创建套接字 socke t通信, 当接收到的消息根据预置规则 需要给予用户提醒时。
7、 一种实现扩展应用程序的推送通知的装置, 所述扩展应用程序是指需 要在已利用系统权限克服操作系统施加的程序安装限制的环境下安装的应用 程序, 其特征在于, 包括:
列表^ ί'爹改单元,用于拦截操作系统上注册了推送通知的应用程序的标识列 表, 将所述扩展应用程序的标识添加到所述标识列表中;
参数设置单元, 用于设置关于所述扩展应用程序的推送通知参数; 接口读取单元, 用于获取操作系统的应用程序推送状态接口, 利用所述应 用程序推送状态接口, 读取所述列表修改单元得到所述扩展应用程序的标识, 并读取所述参数设置单元得到所述扩展应用程序的推送通知参数;
推送显示单元,用于根据所述接口读取单元读取的所述扩展应用程序的标 识及推送通知参数, 在终端上显示关于所述扩展应用程序的推送通知。
8、 如权利要求 7所述的装置, 其特征在于,
所述列表修改单元釆用 hook机制拦截操作系统上注册推送通知的应用程 序的标识列表; 所述参数设置单元釆用 hook机制得到推送通知参数; 所述接口 读取单元通过 hook机制得到应用程序推送状态接口。
9、 如权利要求 7所述的装置, 其特征在于, 所述参数设置单元设置关于所 述扩展应用程序的推送通知的类型信息及内容数据。
10、 如权利要求 9所述的装置, 其特征在于, 所述参数设置单元设置的类 型信息包括声音, 震动, 和 /或, 标记。
11、 如权利要求 7-9任一项所述的装置, 其特征在于, 所述参数设置单元 还用于接收并保存用户输入的有关所述扩展应用程序的推送通知的状态数据; 所述推送显示单元在终端重启后根据接口读取单元最新状态数据显示推送通 知。
12、 如权利要求 7至 11任一项所述的装置, 其特征在于, 在以下条件下启 动所述接口读取单元读取所述扩展应用程序的标识和推送通知参数以及启动 所述推送显示单元显示所述推送通知:
所述扩展应用程序退到后台时, 延时函数到达预设时间点; 或, 在操作系统后台, 轮询系统服务器状态符合推送条件时; 或,
在操作系统后台,创建套接字 socke t通信, 当接收到的消息根据预置规则 需要给予用户提醒时。
1 3、 一种计算机程序, 包括计算机可读代码, 当智能电子设备运行所述计 算机可读代码运行时, 导致权利要求 1-6中的任一项权利要求所述的方法被执 行。
14、 一种计算机可读介质, 其中存储了如权利要求 1 3所述的计算机程序。
PCT/CN2014/083906 2013-10-23 2014-08-07 实现扩展应用程序的推送通知的方法及装置 Ceased WO2015058574A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310505295.3 2013-10-23
CN201310505295.3A CN103595766B (zh) 2013-10-23 2013-10-23 实现扩展应用程序的推送通知的方法及装置

Publications (1)

Publication Number Publication Date
WO2015058574A1 true WO2015058574A1 (zh) 2015-04-30

Family

ID=50085746

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/083906 Ceased WO2015058574A1 (zh) 2013-10-23 2014-08-07 实现扩展应用程序的推送通知的方法及装置

Country Status (2)

Country Link
CN (1) CN103595766B (zh)
WO (1) WO2015058574A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083945A (zh) * 2020-09-14 2020-12-15 腾讯科技(深圳)有限公司 Npm安装包的更新提示方法、装置、电子设备及存储介质
CN113485903A (zh) * 2021-07-09 2021-10-08 郑州阿帕斯数云信息科技有限公司 一种基于hook的参数统计方法和装置
CN115004667A (zh) * 2020-04-24 2022-09-02 深圳市欢太科技有限公司 信息推送方法、装置、电子设备及计算机可读介质
WO2022223035A1 (zh) * 2021-04-23 2022-10-27 山东英信计算机技术有限公司 一种消息推送的方法、装置、设备及可读介质

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595766B (zh) * 2013-10-23 2016-10-19 北京奇虎科技有限公司 实现扩展应用程序的推送通知的方法及装置
CN105095749B (zh) * 2014-05-22 2018-03-27 北京奇虎科技有限公司 状态栏通知的接管方法及装置
CN104123162B (zh) * 2014-07-29 2017-06-16 北京奇虎科技有限公司 控制应用程序自启的方法及装置
US10187855B2 (en) 2014-11-28 2019-01-22 Huawei Technologies Co., Ltd. Message processing method and apparatus
CN104834534A (zh) * 2015-06-09 2015-08-12 北京奇虎科技有限公司 扩展应用程序功能的方法、装置及系统
CN105430435B (zh) * 2015-11-25 2019-04-09 传线网络科技(上海)有限公司 一种ios系统中推送视频文件下载的方法及系统
CN109814954B (zh) * 2017-11-21 2021-08-24 腾讯科技(深圳)有限公司 推送消息接收方法、装置、存储介质和计算机设备
CN108401020A (zh) * 2018-02-12 2018-08-14 湖南快乐阳光互动娱乐传媒有限公司 一种智能终端消息推送系统及方法
CN108694311B (zh) * 2018-03-02 2019-03-01 深圳市图高智能有限公司 手机推送信息智能化管理系统
CN108319929B (zh) * 2018-03-02 2018-12-11 广东财经大学 手机推送信息智能化管理系统及方法
CN109508127B (zh) * 2018-10-24 2022-04-01 深圳传音通讯有限公司 一种智能终端的锁屏信息展示方法及该智能终端
US20200394084A1 (en) * 2019-06-13 2020-12-17 Citrix Systems, Inc. Systems and methods for controlling delivery of notifications on a per user basis
CN111045835A (zh) * 2019-10-24 2020-04-21 京东数字科技控股有限公司 一种信息推送方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011126509A1 (en) * 2010-04-07 2011-10-13 Apple Inc. Apparatus and method for establishing and utilizing backup communication channels
US20120210415A1 (en) * 2011-02-11 2012-08-16 Visto Corporation Method, apparatus and system for provisioning a push notification session
CN103001926A (zh) * 2011-09-09 2013-03-27 华为技术有限公司 一种订阅通知的方法、装置和系统
CN103309666A (zh) * 2013-06-09 2013-09-18 北京奇虎科技有限公司 一种软件运行控制方法和装置
CN103595766A (zh) * 2013-10-23 2014-02-19 北京奇虎科技有限公司 实现扩展应用程序的推送通知的方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3432512B1 (en) * 2006-02-22 2020-11-25 BlackBerry Limited Apparatus, and associated method, for facilitating delivery and processing of push content
US20070276863A1 (en) * 2006-05-02 2007-11-29 Research In Motion Limited Plug in registration method and apparatus for push content delivery
US8359016B2 (en) * 2010-11-19 2013-01-22 Mobile Iron, Inc. Management of mobile applications
CN102387215B (zh) * 2011-11-11 2015-01-21 广东威创视讯科技股份有限公司 基于关系对象的信息分享方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011126509A1 (en) * 2010-04-07 2011-10-13 Apple Inc. Apparatus and method for establishing and utilizing backup communication channels
US20120210415A1 (en) * 2011-02-11 2012-08-16 Visto Corporation Method, apparatus and system for provisioning a push notification session
CN103001926A (zh) * 2011-09-09 2013-03-27 华为技术有限公司 一种订阅通知的方法、装置和系统
CN103309666A (zh) * 2013-06-09 2013-09-18 北京奇虎科技有限公司 一种软件运行控制方法和装置
CN103595766A (zh) * 2013-10-23 2014-02-19 北京奇虎科技有限公司 实现扩展应用程序的推送通知的方法及装置

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115004667A (zh) * 2020-04-24 2022-09-02 深圳市欢太科技有限公司 信息推送方法、装置、电子设备及计算机可读介质
CN115004667B (zh) * 2020-04-24 2024-04-02 深圳市欢太科技有限公司 信息推送方法、装置、电子设备及计算机可读介质
CN112083945A (zh) * 2020-09-14 2020-12-15 腾讯科技(深圳)有限公司 Npm安装包的更新提示方法、装置、电子设备及存储介质
WO2022223035A1 (zh) * 2021-04-23 2022-10-27 山东英信计算机技术有限公司 一种消息推送的方法、装置、设备及可读介质
CN113485903A (zh) * 2021-07-09 2021-10-08 郑州阿帕斯数云信息科技有限公司 一种基于hook的参数统计方法和装置

Also Published As

Publication number Publication date
CN103595766B (zh) 2016-10-19
CN103595766A (zh) 2014-02-19

Similar Documents

Publication Publication Date Title
CN103595766B (zh) 实现扩展应用程序的推送通知的方法及装置
US11902268B2 (en) Secure gateway onboarding via mobile devices for internet of things device management
CN104376263B (zh) 应用程序行为拦截的方法和装置
CN104462961B (zh) 移动终端及其隐私权限优化方法
CN104462952B (zh) 一种禁止应用自启动的方法及装置
AU2014235181B9 (en) Certificate based profile confirmation
US8200962B1 (en) Web browser extensions
CN104021017B (zh) 启动项的处理方法和装置
CN105335184B (zh) 应用安装的方法和装置
WO2013097666A1 (zh) 基于沙箱技术浏览网页的方法及装置
CN103713904A (zh) 在移动终端工作区内安装应用的方法、相关装置和系统
CN103793248B (zh) 一种应用程序升级的方法及装置
WO2017071207A1 (zh) 一种应用安装方法、相关装置及应用安装系统
WO2011088714A1 (zh) 应用程序运行方法、装置及系统
CN105095788B (zh) 隐私数据保护的方法、装置及系统
WO2015109668A1 (zh) 应用程序管理方法、装置、终端及计算机存储介质
CN104462997A (zh) 一种保护移动终端上工作数据的方法、装置和系统
CN105528251A (zh) 应用通知信息的处理方法、装置及移动终端
CN110084035B (zh) 用于在发生拒绝时建议响应指南的电子设备和方法
US11503074B2 (en) Device enrollment in a management service
KR102124330B1 (ko) 어플리케이션 업데이트 방법 및 이를 지원하는 단말
US12445444B2 (en) Whitelist-authenticated image and interactive service
CN106934272A (zh) 一种应用信息的校验方法和装置
CN107220082A (zh) 应用程序的安装方法、装置和设备
CN106506163B (zh) Rom包处理方法及装置

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

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

Country of ref document: EP

Kind code of ref document: A1