[go: up one dir, main page]

CN106022103A - Method and device for preventing application from being launched by pushing platform components - Google Patents

Method and device for preventing application from being launched by pushing platform components Download PDF

Info

Publication number
CN106022103A
CN106022103A CN201610334114.9A CN201610334114A CN106022103A CN 106022103 A CN106022103 A CN 106022103A CN 201610334114 A CN201610334114 A CN 201610334114A CN 106022103 A CN106022103 A CN 106022103A
Authority
CN
China
Prior art keywords
application
request
startup
starts
type
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.)
Pending
Application number
CN201610334114.9A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610334114.9A priority Critical patent/CN106022103A/en
Publication of CN106022103A publication Critical patent/CN106022103A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a method for preventing application from being started through a push platform component, which comprises the following steps: detecting an application starting request through a starting management service of an operating system, and acquiring an application corresponding to the application starting request and a carried starting type; when the starting type is matched with a preset third-party pushing platform starting type, acquiring component information corresponding to the application and the starting type; and when the acquired component information contains the component name existing in a preset blacklist of the third-party pushing platform, refusing to respond to the application starting request. In addition, the embodiment of the invention also discloses a device for preventing the application from being started through the push platform component. By adopting the method and the device, the background of the three-party pushing platform can be effectively prevented from starting the application, and the safety of the terminal and the user data is improved.

Description

阻止通过推送平台组件启动应用的方法及装置Method and device for preventing application from being launched by pushing platform components

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种阻止通过推送平台组件启动应用的方法及装置。The present invention relates to the field of computer technology, in particular to a method and device for preventing applications from being launched through push platform components.

背景技术Background technique

随着互联网技术的兴起,越来越多的互联网企业、电商平台将应用程序作为盈利的主战场之一,目前各种系统平台上的应用越来越多,用户在终端上安装的应用程序也越来越多。目前,智能系统己经是用户群最大的智能终端操作系统平台,智能终端是目前许多用户最常用最重要的电子设备,用户经常会安装各种第三方应用,但是这些第三方应用经常会在后台偷偷启动,在后台偷偷地进行各种对用户有影响的行为,并且消耗用户的流量与终端的电量,这些三方应用有一种比较隐蔽特殊的方式来进行后台自启动,就是通过实现各种三方推送平台SDK的方式来实现,现有的智能系统对这种情况没有限制,也没有有效的识别方法,很多三方应用都会通过实现各种三方推送平台SDK来实现相互启动,关联启动,后台自启动,这样在用户不知情的情况下,会被一些流氓应用所利用,造成耗电耗流量,还有各种损失,不利于用户的操作体验与安全。With the rise of Internet technology, more and more Internet companies and e-commerce platforms regard applications as one of the main battlefields for profit. At present, there are more and more applications on various system platforms, and the applications installed by users on terminals And more and more. At present, the smart system is already the operating system platform for smart terminals with the largest user base. Smart terminals are the most commonly used and most important electronic devices for many users. Users often install various third-party applications, but these third-party applications often run in the background. Secretly start, secretly perform various behaviors that affect the user in the background, and consume the user's traffic and terminal power. These three-party applications have a relatively hidden and special way to self-start in the background, that is, by implementing various three-party push The existing intelligent system has no restrictions on this situation, and there is no effective identification method. Many third-party applications will implement various third-party push platform SDKs to achieve mutual startup, associated startup, and background self-starting. In this way, without the user's knowledge, it will be used by some rogue applications, resulting in power consumption, traffic consumption, and various losses, which is not conducive to the user's operating experience and safety.

三方推送平台SDK是指市场上一些公司提供给其它三方APK应用,用于推送消息,统计数据,推送配置信息等功能的JAR包或公共服务包,这种三方三方推送平台SDK一般都有公布给其它三方APK应用的标准接口与实现接入标准。其它三方APK应用通过实现三方推送平台SDK的接入标准,并实现SDK的标准接口,就可以使用这些三方推送平台SDK来进行推送消息,统计数据,推送配置信息等功能。实现了三方推送平台SDK的应用是指在自己的APK应用中使用了这些三方推送平台SDK公共服务包的应用。The three-party push platform SDK refers to the JAR package or public service package provided by some companies in the market to other three-party APK applications to push messages, statistical data, push configuration information and other functions. This kind of three-party three-party push platform SDK is generally published to The standard interface and implementation access standard of other three-party APK applications. Other third-party APK applications can use these third-party push platform SDKs to push messages, statistics, push configuration information, etc. by implementing the access standards of the three-party push platform SDK and implementing the standard interface of the SDK. An application that implements the three-party push platform SDK refers to an application that uses these three-party push platform SDK public service packages in its own APK application.

申请人经研究发现,上述实现了三方推送平台SDK的应用对android系统来说,会有下面一些不良作用:After research, the applicant found that the above-mentioned application that implements the three-party push platform SDK will have the following adverse effects on the android system:

1、实现了三方推送平台SDK的应用可能会通过推送平台SDK实现的服务,去启动其它不相关的三方应用,实现它的非法目的,会耗电耗流量,并且不安全;1. Applications that implement the third-party push platform SDK may launch other unrelated third-party applications through the services implemented by the push platform SDK to achieve its illegal purpose, which will consume power and traffic, and is not safe;

2、实现了三方推送平台SDK的应用可能会通过推送平台SDK实现的服务,在实现同一个三方推送平台的各种应用间可能会相互启动,后台自启动,关联启动,达到它们常驻,不被系统回收的目的,会耗电耗流量,并且不安全;2. The application that implements the three-party push platform SDK may use the services implemented by the push platform SDK. Various applications that implement the same three-party push platform may start each other, and the background will start automatically and be associated with each other to achieve their permanent residence. The purpose of being recycled by the system will consume power and flow, and is not safe;

3、实现了三方推送平台SDK的应用可能会通过推送平台SDK实现的服务,推送大量信息,弹出界面,状态栏通知,锁屏通知等,骚扰用户,会耗电耗流量,并且不安全;3. The application that implements the three-party push platform SDK may push a large amount of information, pop-up interface, status bar notification, lock screen notification, etc. through the service realized by the push platform SDK, which will harass users, consume power and traffic, and be unsafe;

4、其它非法目的,导致系统不安全。4. Other illegal purposes, resulting in system insecurity.

综上所述,现有技术中三方应用通过实现各种三方推送平台SDK来实现相互启动、关联启动、后台自启动等非法启动的方案存在安全性不足的问题。To sum up, in the prior art, three-party applications implement various three-party push platform SDKs to realize mutual activation, associated activation, background self-activation and other illegal activation schemes, and there is a problem of insufficient security.

发明内容Contents of the invention

基于此,为解决传统技术中三方应用通过实现各种三方推送平台SDK来实现相互启动、关联启动、后台自启动等非法启动的方案存在安全性不足的技术问题,特提出了一种阻止通过推送平台组件启动应用的方法。Based on this, in order to solve the technical problem of insufficient security in the traditional technology that the three-party application implements various three-party push platform SDKs to realize mutual start, associated start, background self-start, etc. The method by which the platform component starts the application.

一种阻止通过推送平台组件启动应用的方法,包括:A method of preventing app launches via push platform components, including:

通过操作系统的启动管理服务检测应用启动请求,获取所述应用启动请求对应的应用以及携带的启动类型;Detecting the application startup request through the startup management service of the operating system, and obtaining the application corresponding to the application startup request and the startup type carried;

在所述启动类型与预设的第三方推送平台启动类型匹配时,获取所述应用与所述启动类型对应的组件信息;When the startup type matches a preset third-party push platform startup type, acquire component information corresponding to the application and the startup type;

在所述获取的组件信息中包含存在于预设的第三方推送平台黑名单的组件名称时,拒绝响应所述应用启动请求。Refusing to respond to the application startup request when the acquired component information includes a component name that exists in the preset blacklist of the third-party push platform.

可选的,在其中一个实施例中,所述预设的第三方推送平台黑名单存储于本地或云服务器上。Optionally, in one of the embodiments, the preset third-party push platform blacklist is stored locally or on a cloud server.

可选的,在其中一个实施例中,所述拒绝响应所述应用启动请求的步骤之后还包括:Optionally, in one of the embodiments, after the step of refusing to respond to the application startup request, the step further includes:

获取所述应用启动请求对应的调用者应用;Obtain the caller application corresponding to the application start request;

获取所述调用者应用创建的与所述应用启动请求对应的中间对象,回收所述中间对象。Acquire the intermediate object created by the caller application and corresponding to the application start request, and recycle the intermediate object.

可选的,在其中一个实施例中,所述获取所述应用启动请求对应的应用以及携带的启动类型的步骤还包括:Optionally, in one of the embodiments, the step of obtaining the application corresponding to the application start request and the carried start type further includes:

通过startProcessLocked函数获取hostingType参数,根据所述hostingType参数确定所述启动类型。The hostingType parameter is obtained through the startProcessLocked function, and the startup type is determined according to the hostingType parameter.

可选的,在其中一个实施例中,所述拒绝响应所述应用启动请求的步骤之后还包括:Optionally, in one of the embodiments, after the step of refusing to respond to the application startup request, the step further includes:

通过展示弹出窗或在通知栏提示用户已将所述应用启动请求屏蔽;Prompting the user that the application launch request has been blocked by displaying a pop-up window or in the notification bar;

接收输入的强制启动指令,重新响应所述已拒绝的应用启动请求。Receiving an input forced start instruction, and re-responding to the rejected application start request.

可选的,在其中一个实施例中,所述获取所述应用启动请求对应的应用以及携带的启动类型的步骤之后还包括:Optionally, in one of the embodiments, after the step of acquiring the application corresponding to the application launch request and the carried launch type, it further includes:

将所述应用启动请求对应的应用以及携带的启动类型上传至安全服务器,由所述安全服务器判断所述启动类型是否与第三方推送平台启动类型匹配,并接收所述安全服务器返回的判断结果。Upload the application corresponding to the application start request and the carried start type to the security server, and the security server judges whether the start type matches the start type of the third-party push platform, and receives the judgment result returned by the security server.

此外,为解决传统技术中三方应用通过实现各种三方推送平台SDK来实现相互启动、关联启动、后台自启动等非法启动的方案存在安全性不足的技术问题,还提出了一种阻止通过推送平台组件启动应用的装置。In addition, in order to solve the technical problem of insufficient security in the traditional technology that the three-party application implements various three-party push platform SDKs to realize mutual start, associated start, background self-start, etc. The device by which the component starts the application.

一种阻止通过推送平台组件启动应用的装置,包括:A means of preventing application launch via push platform components, comprising:

应用启动请求检测模块,用于通过操作系统的启动管理服务检测应用启动请求,获取所述应用启动请求对应的应用以及携带的启动类型;The application start request detection module is configured to detect the application start request through the start management service of the operating system, and acquire the application corresponding to the application start request and the carried start type;

组件信息获取模块,用于在所述启动类型与预设的第三方推送平台启动类型匹配时,获取所述应用与所述启动类型对应的组件信息;A component information acquisition module, configured to acquire component information corresponding to the application and the startup type when the startup type matches a preset third-party push platform startup type;

拒绝响应模块,用于在所述获取的组件信息中包含存在于预设的第三方推送平台黑名单的组件名称时,拒绝响应所述应用启动请求。A rejection response module, configured to refuse to respond to the application startup request when the obtained component information includes a component name that exists in a preset third-party push platform blacklist.

可选的,在其中一个实施例中,所述预设的第三方推送平台黑名单存储于本地或云服务器上。Optionally, in one of the embodiments, the preset third-party push platform blacklist is stored locally or on a cloud server.

可选的,在其中一个实施例中,所述装置还包括中间对象回收模块,用于获取所述应用启动请求对应的调用者应用;获取所述调用者应用创建的与所述应用启动请求对应的中间对象,回收所述中间对象。Optionally, in one of the embodiments, the device further includes an intermediate object recycling module, configured to obtain the caller application corresponding to the application startup request; The intermediate object, recycling the intermediate object.

可选的,在其中一个实施例中,所述应用启动请求检测模块还用于通过startProcessLocked函数获取hostingType参数,根据所述hostingType参数确定所述启动类型。Optionally, in one of the embodiments, the application startup request detection module is further configured to obtain a hostingType parameter through a startProcessLocked function, and determine the startup type according to the hostingType parameter.

可选的,在其中一个实施例中,所述装置还包括消息通知模块和强制启动模块,其中:Optionally, in one of the embodiments, the device further includes a message notification module and a forced startup module, wherein:

所述消息通知模块用于通过展示弹出窗或在通知栏提示用户已将所述应用启动请求屏蔽;The message notification module is used to prompt the user that the application startup request has been blocked by displaying a pop-up window or in the notification bar;

所述强制启动模块用于接收输入的强制启动指令,重新响应所述已拒绝的应用启动请求。The forced start module is configured to receive an input forced start instruction, and re-respond to the rejected application start request.

可选的,在其中一个实施例中,所述装置还包括服务器判断模块,用于将所述应用启动请求对应的应用以及携带的启动类型上传至安全服务器,由所述安全服务器判断所述启动类型是否与第三方推送平台启动类型匹配,并接收所述安全服务器返回的判断结果。Optionally, in one of the embodiments, the device further includes a server judging module, configured to upload the application corresponding to the application startup request and the startup type carried to the security server, and the security server judges the startup Whether the type matches the startup type of the third-party push platform, and the judgment result returned by the security server is received.

实施本发明实施例,将具有如下有益效果:Implementing the embodiment of the present invention will have the following beneficial effects:

采用了上述阻止通过推送平台组件启动应用的方法和装置之后,在终端的操作系统的启动管理服务检测到应用启动请求时,根据应用启动请求确定对应的启动类型(即启动请求方式),并在启动类型表示该应用启动请求可能是第三方推送平台发起时,对应用启动请求包含的组件信息进行判断,根据组件信息确定是否响应该应用启动请求,若否,则拒绝响应应用启动请求。也就是说,阻止了第三方推送平台相关的后台启动应用,减少了后台应用在用户不知觉的情况下的非法启动,给用户提供了一个安全的使用环境,提高了终端和用户资料的安全性,并且,提高了系统资源的有效利用率,增加了终端的续航时间和移动数据流量的有效利用率,提升了用户体验。After adopting the above-mentioned method and device for preventing an application from being launched by a push platform component, when the startup management service of the operating system of the terminal detects an application startup request, determine the corresponding startup type (that is, the startup request method) according to the application startup request, and The launch type indicates that the application launch request may be initiated by a third-party push platform, judge the component information contained in the application launch request, and determine whether to respond to the application launch request according to the component information, and if not, refuse to respond to the application launch request. That is to say, it prevents the third-party push platform-related background startup applications, reduces the illegal startup of background applications without the user's awareness, provides users with a safe environment, and improves the security of terminals and user data. , and improve the effective utilization of system resources, increase the battery life of the terminal and the effective utilization of mobile data traffic, and improve user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

其中:in:

图1为一个实施例中一种阻止通过推送平台组件启动应用的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for preventing an application from being started by a push platform component in an embodiment;

图2为一个实施例中一种阻止通过推送平台组件启动应用的.装置的结构示意图;FIG. 2 is a schematic structural diagram of a device that prevents the application from being launched through a push platform component in an embodiment;

图3为一个实施例中运行前述阻止通过推送平台组件启动应用的方法的计算机设备的结构示意图。Fig. 3 is a schematic structural diagram of a computer device running the aforementioned method for preventing an application from being launched through a push platform component in an embodiment.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

为解决传统技术中三方应用通过实现各种三方推送平台SDK来实现相互启动、关联启动、后台自启动等非法启动的方案存在安全性不足的技术问题,在本实施例中,特提出了一种阻止通过推送平台组件启动应用的方法,该方法的实现可依赖于计算机程序,该计算机程序可运行于基于冯诺依曼体系的计算机系统之上,该计算机程序可以是安卓平台等系统下的第三方应用程序的禁止启动程序。该计算机系统可以是运行上述计算机程序的例如智能手机、平板电脑、个人电脑等终端设备。In order to solve the technical problem of lack of security in the traditional technology that three-party applications implement various three-party push platform SDKs to achieve mutual startup, associated startup, background self-starting and other illegal startup solutions, in this embodiment, a special method is proposed. A method for preventing applications from being launched by pushing platform components, the implementation of the method may depend on a computer program that can run on a computer system based on the Von Neumann system, and the computer program may be the first application under a system such as the Android platform. Disabled launcher for third-party applications. The computer system may be a terminal device such as a smart phone, a tablet computer, or a personal computer running the above computer program.

具体的,如图1所示,上述阻止通过推送平台组件启动应用的方法包括如下步骤S102-步骤S106:Specifically, as shown in FIG. 1 , the above-mentioned method for preventing an application from being launched through a push platform component includes the following steps S102-step S106:

步骤S102:通过操作系统的启动管理服务检测应用启动请求,获取所述应用启动请求对应的应用以及携带的启动类型。Step S102: Detect the application start request through the start management service of the operating system, and obtain the application corresponding to the application start request and the carried start type.

启动管理服务(ActivityManagerService,简称AmS),为Android上层系统最核心的模块之一,其主要完成管理应用进程的生命周期以及进程的启动Activity,服务Service,广播Broadcast和存储Provider等。The Startup Management Service (ActivityManagerService, referred to as AmS), is one of the core modules of the Android upper system. It mainly completes the management of the life cycle of the application process and the startup Activity of the process, the service Service, the broadcast Broadcast and the storage Provider, etc.

在终端的操作系统中,启动管理服务提供的主要功能之一就是统一调度各应用程序的启动。具体的,启动一个应用程序的方式有以下几种:第一,在应用程序中调用startActivity启动指定的Activity;第二,在Home程序中单击一个应用图标,启动新的Activity;第三,按“Back”键,结束当前Activity,返回到上一个Activity;第四,长按“Home”键,显示出当前正在运行的程序列表,从中选择一个启动。对于上述4中启动方式来讲,其对应的主体处理流程都是按照第一中启动方式运行的,只是后面三种方式在前端消息处理上存在差异。In the operating system of the terminal, one of the main functions provided by the startup management service is to uniformly schedule startup of various application programs. Specifically, there are several ways to start an application: first, call startActivity in the application to start the specified Activity; second, click an application icon in the Home program to start a new Activity; third, press "Back" key to end the current activity and return to the previous activity; fourthly, press and hold the "Home" key to display the list of currently running programs, and select one to start. For the above-mentioned 4 start-up methods, the corresponding main processing flow runs according to the first start-up method, but there are differences in the front-end message processing of the latter three methods.

在本实施例中,用户主动的去打开一个应用程序,或者终端中的某个应用程序去打开另外一个应用程序,都会触发对应的应用启动请求,从而启动管理服务(ActivityManagerService)会检测到该应用启动请求,并针对该应用启动请求做相应的进一步的处理。In this embodiment, if the user actively opens an application, or an application in the terminal opens another application, a corresponding application start request will be triggered, so that the start management service (ActivityManagerService) will detect the application. Start the request, and perform corresponding further processing on the application start request.

应用启动请求至少包含了需要启动的应用,即应用启动请求对应的应用,在本实施例中,在应用启动请求中还携带有对应的启动类型。在本实施例中,启动类型包括以下4种方式:The application start request includes at least the application to be started, that is, the application corresponding to the application start request. In this embodiment, the application start request also carries a corresponding start type. In this embodiment, the startup types include the following four methods:

第一,通过activity启动;First, start through activity;

第二,通过Service启动;Second, start through Service;

第三,通过broadcast receiver启动;Third, start through the broadcast receiver;

第四,通过Content Provider启动。Fourth, start through Content Provider.

在本实施例中,上述获取所述应用启动请求对应的应用以及携带的启动类型的步骤还包括:通过startProcessLocked函数获取hostingType参数,根据所述hostingType参数确定所述启动类型。In this embodiment, the step of obtaining the application corresponding to the application startup request and the carried startup type further includes: obtaining a hostingType parameter through a startProcessLocked function, and determining the startup type according to the hostingType parameter.

具体的,当启动管理服务检测到应用启动请求时,入口都在startProcessLocked函数中,通过启动管理服务可以获取将要启动的应用的应用信息,包括但不限于应用名称、包名、进程信息、组件信息等,在startProcessLocked函数的传入参数中,包括了hostingType参数,即启动类型参数,标识了应用是通过哪种启动方式被启动的。也就是说,通过hostingType参数可以确定应用启动请求对应的应用的启动类型、Specifically, when the startup management service detects an application startup request, the entry is in the startProcessLocked function, and the application information of the application to be started can be obtained through the startup management service, including but not limited to the application name, package name, process information, and component information etc. In the incoming parameters of the startProcessLocked function, the hostingType parameter is included, that is, the startup type parameter, which identifies the startup method through which the application is started. That is to say, the hostingType parameter can be used to determine the startup type of the application corresponding to the application startup request,

步骤S104:在所述启动类型与预设的第三方推送平台启动类型匹配时,获取所述应用与所述启动类型对应的组件信息。Step S104: When the startup type matches the preset startup type of the third-party push platform, obtain component information of the application corresponding to the startup type.

一般来讲,若用户是通过在Home程序中单击一个应用图标来启动新的应用程序,在此种情况下,应用程序的启动是用户的主动行为,而不可能是第三方推送平台的行为。又或者,在应用程序A中启动应用程序B,也就是说,应用程序B是通过应用程序A启动的,在此种情况下,应用程序的启动可能是用户的主动行为,例如,在淘宝应用中进行付款时调用支付宝应用进行付款,也可能不是用户的主动行为,例如,后台启动应用程序B的情况。Generally speaking, if the user starts a new application by clicking an application icon in the Home program, in this case, the launching of the application is the active behavior of the user, not the behavior of the third-party push platform . Or, start application B in application A, that is to say, application B is started through application A, in this case, the start of the application may be the user's active behavior, for example, in the Taobao application Calling the Alipay application to make payment in the payment may not be the user's active behavior, for example, the case of starting application B in the background.

在本实施例中,第三方推送平台启动一个应用程序,并不能通过所有的启动类型启动应用程序,因此,在本实施例中,预设与第三方推送平台对应的第三方推送平台启动类型,并将步骤S102中获取到的启动类型与第三方推送平台对应的启动类型进行比对,若匹配,则说明应用启动请求可能是通过第三方推送平台触发的,需要对其进行进一步的判断;反之,应用程序的启动被判定为与第三方推送平台无关,予以响应。In this embodiment, the third-party push platform starts an application program, and the application program cannot be started through all startup types. Therefore, in this embodiment, the third-party push platform startup type corresponding to the third-party push platform is preset, And compare the startup type obtained in step S102 with the startup type corresponding to the third-party push platform, if they match, it means that the application startup request may be triggered by the third-party push platform, and further judgment is needed; otherwise , the launch of the application is judged to be irrelevant to the third-party push platform, and a response is given.

进一步地,在本实施例中,在所述启动类型与预设的第三方推送平台启动类型匹配时,获取所述应用与所述启动类型对应的组件信息,上述组件信息包括了详细的组件名称,例如广播组件broadcast、服务组件service、数据存取组件contentprovider和界面组件activity等Android组件。Further, in this embodiment, when the startup type matches the preset startup type of the third-party push platform, the component information corresponding to the application and the startup type is obtained, and the component information includes detailed component names , such as broadcast component broadcast, service component service, data access component contentprovider and interface component activity and other Android components.

需要说明的是,在本实施例中,在上述判断所述启动类型与预设的第三方推送平台启动类型是否匹配时,使用的方法均是终端在本地进行判断的,在一个实施例中,上述判断所述启动类型与预设的第三方推送平台启动类型是否匹配的过程,还可以是由服务器统一进行判断,并将相应的判断结果返回给终端。It should be noted that, in this embodiment, when judging whether the startup type matches the preset startup type of the third-party push platform, the method used is to judge locally by the terminal. In one embodiment, The above process of judging whether the startup type matches the preset startup type of the third-party push platform can also be judged uniformly by the server, and the corresponding judgment result is returned to the terminal.

具体的,所述获取所述应用启动请求对应的应用以及携带的启动类型的步骤之后还包括:将所述应用启动请求对应的应用以及携带的启动类型上传至安全服务器,由所述安全服务器判断所述启动类型是否与第三方推送平台启动类型匹配,并接收所述安全服务器返回的判断结果。Specifically, after the step of obtaining the application corresponding to the application startup request and the carried startup type, the step further includes: uploading the application corresponding to the application startup request and the carried startup type to a security server, and the security server judges Whether the startup type matches the startup type of the third-party push platform, and receive a judgment result returned by the security server.

终端在获取到应用启动请求对应的应用以及携带的启动类型之后,将获取到应用启动请求携带的启动类型上传到服务器,需要说明的是,在本实施例中,终端上传给安全服务器的信息包括但不限于启动类型,还可以包括了应用启动请求对应的应用,即需要启动的目标应用的应用信息。After acquiring the application corresponding to the application launch request and the carried launch type, the terminal uploads the acquired launch type carried by the application launch request to the server. It should be noted that, in this embodiment, the information uploaded by the terminal to the security server includes But not limited to the startup type, it may also include the application corresponding to the application startup request, that is, the application information of the target application to be started.

安全服务器可以根据获取到应用启动请求携带的启动类型对其进行判断,例如,根据应用启动请求对应的应用的不同进行判断,判断其是否与第三方推送平台匹配。例如,在安全服务器中存储有第三方推送平台黑名单,在安全服务器接收到获取到应用启动请求携带的启动类型之后,根据第三方推动平台黑名单对获取到应用启动请求携带的启动类型进行判断,并将判断结果返回给上传获取到应用启动请求携带的启动类型的终端。The security server can judge it according to the startup type carried in the obtained application startup request, for example, judge according to the application corresponding to the application startup request, and judge whether it matches the third-party push platform. For example, a third-party push platform blacklist is stored in the security server, and after the security server receives the startup type carried in the application startup request, it judges the startup type carried in the application startup request according to the third-party push platform blacklist , and return the judgment result to the terminal that uploaded and obtained the startup type carried in the application startup request.

步骤S106:在所述获取的组件信息中包含存在于预设的第三方推送平台黑名单的组件名称时,拒绝响应所述应用启动请求。Step S106: When the acquired component information includes a component name that exists in the preset third-party push platform blacklist, refuse to respond to the application start request.

第三方推送平台黑名单为预先设置的或者预先存储的黑名单列表,在该黑名单列表中包含了预先被标记为第三方推送平台黑名单的组件名称。在本实施例中,在获取到与应用启动请求对应的组件信息之后,在预设的第三方推送平台黑名单中查找与获取到的组件信息一致的组件名称,若查找到,则说明组件信息中包含了被标记为第三方推送平台黑名单的组件,步骤S102中检测到的应用启动请求为第三方推送平台或者实现了三方推送平台SDK的应用发起的,应拒绝响应对应的应用启动请求。The third-party push platform blacklist is a pre-set or pre-stored blacklist, and the blacklist includes component names that are pre-marked as the third-party push platform blacklist. In this embodiment, after obtaining the component information corresponding to the application startup request, search for the component name consistent with the obtained component information in the preset blacklist of the third-party push platform, and if found, explain the component information contains components marked as the blacklist of the third-party push platform, and the application launch request detected in step S102 is initiated by the third-party push platform or an application that implements the third-party push platform SDK, and should refuse to respond to the corresponding application launch request.

需要说明的是,在本实施例中,上述第三方推送平台黑名单可以是以本地文件方式在终端本地存储的黑名单文件,终端在需要查看该第三方推送平台黑名单时,通过访问对应的存储地址查看该名单。在其他实施例中,上述第三方推送平台黑名单还可以是以数据库方式存储的黑名单文件。另外,在一个实施例中,上述第三方推送平台黑名单还可以是存储在云服务器中的文件,终端在需要访问第三方推送平台黑名单时,通过向云端服务器发起访问请求来进行访问。It should be noted that, in this embodiment, the above-mentioned third-party push platform blacklist may be a blacklist file stored locally in the terminal in the form of a local file. When the terminal needs to view the third-party push platform blacklist, it can access the corresponding See the list for storage addresses. In other embodiments, the above-mentioned third-party push platform blacklist may also be a blacklist file stored in a database. In addition, in an embodiment, the above-mentioned third-party push platform blacklist may also be a file stored in the cloud server. When the terminal needs to access the third-party push platform blacklist, it initiates an access request to the cloud server to access.

在本实施例中,操作系统在启动某一个应用程序的过程中,可能需要调用或者启动或者生成某些进程或者组件才能触发该应用程序的启动指令,而在该应用程序的应用启动请求被拒绝响应之后,这些进程或者组件或者其他中间对象就被闲置了,也就是说,存在不需要的中间对象占用了终端的内存或存储空间。在此种情况下,需要对上述中间对象进行处理。In this embodiment, in the process of starting an application, the operating system may need to call or start or generate certain processes or components to trigger the start instruction of the application, but the application start request of the application is rejected After the response, these processes or components or other intermediate objects are idle, that is, there are unnecessary intermediate objects occupying the memory or storage space of the terminal. In this case, the above-mentioned intermediate objects need to be processed.

具体的,在拒绝响应所述应用启动请求的步骤之后还包括:获取所述应用启动请求对应的调用者应用;获取所述调用者应用创建的与所述应用启动请求对应的中间对象,回收所述中间对象。Specifically, after the step of refusing to respond to the application startup request, it further includes: acquiring the caller application corresponding to the application startup request; acquiring the intermediate object created by the caller application and corresponding to the application startup request, and reclaiming the Describe the intermediate object.

在实施例中,根据需要启动的目标应用的应用信息可以获取到对应的调用者信息,也就是向启动管理服务请求启动目标应用的请求者信息,包括包名、进程信息、组件信息等相关信息。需要说明的是,在本实施例中,可以通过ActivityManagerService.Java类来获取调用者信息,具体的,获取对应的caller参数,根据获取到的caller参数的具体值,获取对应的应用程序的包名、进程信息、组件信息等相关信息。In an embodiment, the corresponding caller information can be obtained according to the application information of the target application that needs to be started, that is, the requester information that requests the startup management service to start the target application, including package name, process information, component information and other related information . It should be noted that in this embodiment, the caller information can be obtained through the ActivityManagerService.Java class, specifically, the corresponding caller parameter is obtained, and the package name of the corresponding application is obtained according to the specific value of the obtained caller parameter , process information, component information and other related information.

在应用启动请求被拒绝响应之后,根据该应用启动请求,获取与该应用启动请求对应的中间对象,即获取调用者信息对应的应用创建的与应用启动请求对应的中间对应并进行回收。例如,第三方推送平台在非法启动应用程序A时,为支持A应用的运行,需要创建与A应用对应的进程或者组件,在A应用的应用启动请求被拒绝之后,回收已创建的与A应用对应的进程或者组件。After the application start request is rejected, according to the application start request, the intermediate object corresponding to the application start request is obtained, that is, the intermediate object created by the application corresponding to the caller information and corresponding to the application start request is obtained and recycled. For example, when the third-party push platform illegally launches application A, in order to support the operation of application A, it needs to create a process or component corresponding to application A. After the application start request of application A is rejected, the created application A is recycled. The corresponding process or component.

在某些情况下,被拒绝响应的应用启动请求也可能是用户需要启动的,在此种情况下,应当提供一种再次启动对应的应用程序的机制。具体的,在上述拒绝响应所述应用启动请求的步骤之后还包括:通过展示弹出窗或在通知栏提示用户已将所述应用启动请求屏蔽;接收输入的强制启动指令,重新响应所述已拒绝的应用启动请求。In some cases, the rejected application start request may also be started by the user. In this case, a mechanism for re-starting the corresponding application should be provided. Specifically, after the above step of refusing to respond to the application launch request, it also includes: prompting the user that the application launch request has been blocked by displaying a pop-up window or in the notification bar; app launch request for .

在拒绝响应应用启动请求之后,生成已拒绝响应应用启动请求的提示消息,并在终端的显示界面上,通过展示弹出窗展示上述提示消息,以提示用户已将应用启动请求屏蔽;或者,在通知栏中显示相应的提示消息,以提示用户已将应用启动请求屏蔽。After refusing to respond to the application launch request, generate a prompt message that the application launch request has been refused to respond, and display the above prompt message through a pop-up window on the display interface of the terminal to remind the user that the application launch request has been blocked; or, in the notification A corresponding prompt message is displayed in the bar to remind the user that the application launch request has been blocked.

用户在接收到上述已拒绝响应应用启动请求的提示消息之后,如果依旧需要启动该应用程序,则可以通过设置在终端上的强制启动控件,并通过该强制启动空间输入针对已拒绝的响应应用请求对应的应用程序的强制启动指令,终端在接收到用户输入的强制启动指令之后,重新响应该应用启动请求,即启动操作系统的启动关系服务检测到的应用启动请求对应的目标应用程序。If the user still needs to start the application after receiving the above-mentioned prompt message that the response to the application launch request has been rejected, the user can enter the rejected response application request through the forced launch control set on the terminal and through the forced launch space. Corresponding to the mandatory startup instruction of the application program, after receiving the mandatory startup instruction input by the user, the terminal re-responds to the application startup request, that is, starts the target application program corresponding to the application startup request detected by the startup relationship service of the operating system.

此外,为解决传统技术中三方应用通过实现各种三方推送平台SDK来实现相互启动、关联启动、后台自启动等非法启动的方案存在安全性不足的技术问题,在一个实施例中,如图2所示,还提出了一种阻止通过推送平台组件启动应用的装置,包括:应用启动请求检测模块102、调用者信息确定模块104、判断模块106以及拒绝响应模块108,其中:In addition, in order to solve the technical problem of insufficient security in the scheme of three-party applications in the traditional technology that implements various three-party push platform SDKs to realize mutual start, associated start, background self-start and other illegal starts, in one embodiment, as shown in Figure 2 As shown, there is also proposed a device for preventing an application from being launched by a push platform component, including: an application launch request detection module 102, a caller information determination module 104, a judging module 106, and a rejection response module 108, wherein:

应用启动请求检测模块102,用于通过操作系统的启动管理服务检测应用启动请求,获取所述应用启动请求对应的应用以及携带的启动类型;The application startup request detection module 102 is configured to detect the application startup request through the startup management service of the operating system, and obtain the application corresponding to the application startup request and the startup type carried;

组件信息获取模块104,用于在所述启动类型与预设的第三方推送平台启动类型匹配时,获取所述应用与所述启动类型对应的组件信息;A component information acquiring module 104, configured to acquire component information corresponding to the application and the startup type when the startup type matches a preset third-party push platform startup type;

拒绝响应模块106,用于在所述获取的组件信息中包含存在于预设的第三方推送平台黑名单的组件名称时,拒绝响应所述应用启动请求。The rejection response module 106 is configured to refuse to respond to the application startup request when the acquired component information includes a component name that exists in a preset third-party push platform blacklist.

可选的,在一个实施例中,所述预设的第三方推送平台黑名单存储于本地或云服务器上。Optionally, in one embodiment, the preset third-party push platform blacklist is stored locally or on a cloud server.

可选的,在一个实施例中,如图2所示,上述装置还包括中间对象回收模块108,用于获取所述应用启动请求对应的调用者应用;获取所述调用者应用创建的与所述应用启动请求对应的中间对象,回收所述中间对象。Optionally, in one embodiment, as shown in FIG. 2 , the above-mentioned device further includes an intermediate object recycling module 108, configured to obtain the caller application corresponding to the application startup request; The intermediate object corresponding to the application startup request is collected, and the intermediate object is recovered.

可选的,在一个实施例中,应用启动请求检测模块102还用于通过startProcessLocked函数获取hostingType参数,根据所述hostingType参数确定所述启动类型。Optionally, in one embodiment, the application startup request detection module 102 is further configured to obtain a hostingType parameter through a startProcessLocked function, and determine the startup type according to the hostingType parameter.

可选的,在一个实施例中,如图2所示,上述装置还包括消息通知模块110和强制启动模块112,其中:所述消息通知模块110用于通过展示弹出窗或在通知栏提示用户已将所述应用启动请求屏蔽;所述强制启动模块112用于接收输入的强制启动指令,重新响应所述已拒绝的应用启动请求。Optionally, in one embodiment, as shown in FIG. 2 , the above device further includes a message notification module 110 and a forced start module 112, wherein: the message notification module 110 is used to prompt the user by displaying a pop-up window or in the notification bar The application start request has been blocked; the forced start module 112 is configured to receive the input forced start instruction, and re-respond to the rejected application start request.

可选的,在一个实施例中,如图2所示,上述装置还包括服务器判断模块114,用于将所述应用启动请求对应的应用以及携带的启动类型上传至安全服务器,由所述安全服务器判断所述启动类型是否与第三方推送平台启动类型匹配,并接收所述安全服务器返回的判断结果。Optionally, in one embodiment, as shown in FIG. 2 , the above device further includes a server judging module 114, configured to upload the application corresponding to the application start request and the carried start type to the security server, and the security The server judges whether the startup type matches the startup type of the third-party push platform, and receives the judging result returned by the security server.

实施本发明实施例,将具有如下有益效果:Implementing the embodiment of the present invention will have the following beneficial effects:

采用了上述阻止通过推送平台组件启动应用的方法和装置之后,在终端的操作系统的启动管理服务检测到应用启动请求时,根据应用启动请求确定对应的启动类型(即启动请求方式),并在启动类型表示该应用启动请求可能是第三方推送平台发起时,对应用启动请求包含的组件信息进行判断,根据组件信息确定是否响应该应用启动请求,若否,则拒绝响应应用启动请求。也就是说,阻止了第三方推送平台相关的后台启动应用,减少了后台应用在用户不知觉的情况下的非法启动,给用户提供了一个安全的使用环境,提高了终端和用户资料的安全性,并且,提高了系统资源的有效利用率,增加了终端的续航时间和移动数据流量的有效利用率,提升了用户体验。After adopting the above-mentioned method and device for preventing an application from being launched by a push platform component, when the startup management service of the operating system of the terminal detects an application startup request, determine the corresponding startup type (that is, the startup request method) according to the application startup request, and The launch type indicates that the application launch request may be initiated by a third-party push platform, judge the component information contained in the application launch request, and determine whether to respond to the application launch request according to the component information, and if not, refuse to respond to the application launch request. That is to say, it prevents the third-party push platform-related background startup applications, reduces the illegal startup of background applications without the user's awareness, provides users with a safe environment, and improves the security of terminals and user data. , and improve the effective utilization of system resources, increase the battery life of the terminal and the effective utilization of mobile data traffic, and improve user experience.

在一个实施例中,如图3所示,图3展示了一种运行上述阻止通过推送平台组件启动应用的方法的基于冯诺依曼体系的计算机系统的终端。该计算机系统可以是智能手机、平板电脑、掌上电脑、笔记本电脑或个人电脑等终端设备。具体的,可包括通过系统总线连接的外部输入接口1001、处理器1002、存储器1003和输出接口1004。其中,外部输入接口1001可选的可至少包括网络接口10012。存储器1003可包括外存储器10032(例如硬盘、光盘或软盘等)和内存储器10034。输出接口1004可至少包括显示屏10042等设备。In one embodiment, as shown in FIG. 3 , FIG. 3 shows a terminal of a computer system based on von Neumann architecture running the above-mentioned method for preventing an application from being launched through a push platform component. The computer system can be a terminal device such as a smart phone, a tablet computer, a palmtop computer, a notebook computer or a personal computer. Specifically, it may include an external input interface 1001, a processor 1002, a memory 1003, and an output interface 1004 connected through a system bus. Wherein, the external input interface 1001 may optionally include at least a network interface 10012 . The memory 1003 may include an external memory 10032 (such as a hard disk, an optical disk, or a floppy disk, etc.) and an internal memory 10034 . The output interface 1004 may at least include devices such as a display screen 10042 .

在本实施例中,本方法的运行基于计算机程序,该计算机程序的程序文件存储于前述基于冯诺依曼体系的计算机系统的外存储器10032中,在运行时被加载到内存储器10034中,然后被编译为机器码之后传递至处理器1002中执行,从而使得基于冯诺依曼体系的计算机系统中形成逻辑上的应用启动请求检测模块102、组件信息获取模块104、拒绝响应模块106、中间对象回收模块108、消息通知模块110、强制启动模块112以及服务器判断模块114。且在上述阻止通过推送平台组件启动应用的方法执行过程中,输入的参数均通过外部输入接口1001接收,并传递至存储器1003中缓存,然后输入到处理器1002中进行处理,处理的结果数据或缓存于存储器1003中进行后续地处理,或被传递至输出接口1004进行输出。In this embodiment, the operation of this method is based on a computer program, and the program file of the computer program is stored in the external memory 10032 of the aforementioned computer system based on the Von Neumann architecture, and is loaded into the internal memory 10034 during operation, and then After being compiled into machine code, it is delivered to the processor 1002 for execution, so that a logical application start request detection module 102, component information acquisition module 104, rejection response module 106, and intermediate object are formed in the computer system based on the von Neumann architecture. Recycling module 108 , message notification module 110 , forced startup module 112 and server judging module 114 . In addition, during the execution of the above-mentioned method for preventing the application from being launched through the push platform component, the input parameters are all received through the external input interface 1001, passed to the memory 1003 for buffering, and then input to the processor 1002 for processing, and the processed result data or The cache is stored in the memory 1003 for subsequent processing, or transmitted to the output interface 1004 for output.

本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.

本发明实施例终端中的单元可以根据实际需要进行合并、划分和删减。The units in the terminal in the embodiment of the present invention can be combined, divided and deleted according to actual needs.

应当理解,在本发明实施例中,所称处理器可以是中央处理单元(CentralProcessing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific IntegratedCircuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that in the embodiment of the present invention, the so-called processor may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), dedicated Integrated Circuit (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-onlyMemory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read OnlyMemory,EPROM)、一次可编程只读存储器(One-time Programmable Read-OnlyMemory,OTPROM)、电子抹除式可复写只读存储器(Electrically-ErasableProgrammable Read-Only Memory,EEPROM)、只读光盘(Compact DiscRead-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes read-only Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), Programmable Read-Only Memory (Programmable Read-onlyMemory, PROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read OnlyMemory, EPROM) , One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (12)

1. one kind stops by pushing the method that platform assembly starts application, it is characterised in that including:
Manage service detection application by the startup of operating system and start request, obtain described application and start request Corresponding application and the startup type carried;
When described startup type pushes platform startup type matching with the third party preset, obtain described application The module information corresponding with described startup type;
The module information of described acquisition comprises and is present in default third party and pushes the assembly of platform blacklist During title, refusal responds described application and starts request.
Prevention the most according to claim 1 is by pushing the method that platform assembly starts application, its feature Being, described default third party pushes platform blacklist and is stored on this locality or Cloud Server.
Prevention the most according to claim 1 is by pushing the method that platform assembly starts application, its feature Being, described refusal responds after described application starts the step asked and also includes:
Obtain described application and start the caller application that request is corresponding;
Obtain the medium object corresponding with described application startup request that the application of described caller creates, reclaim institute State medium object.
Prevention the most according to claim 1 is by pushing the method that platform assembly starts application, its feature Being, the described application of described acquisition starts the step of the application asking correspondence and the startup type carried and also wraps Include:
HostingType parameter is obtained, according to described hostingType by startProcessLocked function Type is started described in parameter determination.
Prevention the most according to claim 1 is by pushing the method that platform assembly starts application, its feature Being, described refusal responds after described application starts the step asked and also includes:
By showing pop-out or informing prompting user, described application having been started request shielding;
Receiving the force start instruction of input, the application again refused described in response starts request.
Prevention the most according to claim 1 is by pushing the method that platform assembly starts application, its feature It is, after the described application of described acquisition starts the step of the application asking correspondence and the startup type carried Also include:
The application that described application starts request correspondence and the startup type carried are uploaded to security server, Judged whether described startup type pushes platform with third party and start type matching by described security server, and Receive the judged result that described security server returns.
7. one kind stops the device starting application by pushing platform assembly, it is characterised in that including:
Application starts request detection module, starts for managing service detection application by the startup of operating system Request, obtains described application and starts application corresponding to request and the startup type carried;
Module information acquisition module, starts class for pushing platform in described startup type with the third party preset During type coupling, obtain the module information that described application is corresponding with described startup type;
Refusal respond module, is present in default third party pushes away for comprising in the module information of described acquisition When sending the component Name of platform blacklist, refusal responds described application and starts request.
Prevention the most according to claim 7 starts the device of application, its feature by pushing platform assembly Being, described default third party pushes platform blacklist and is stored on this locality or Cloud Server.
Prevention the most according to claim 7 starts the device of application, its feature by pushing platform assembly Being, described device also includes medium object recycling module, starts request correspondence for obtaining described application Caller is applied;Obtain the medium object corresponding with described application startup request that the application of described caller creates, Reclaim described medium object.
Prevention the most according to claim 7 starts the device of application by pushing platform assembly, and it is special Levying and be, described application is started request detection module and is additionally operable to be obtained by startProcessLocked function HostingType parameter, according to starting type described in described hostingType parameter determination.
11. preventions according to claim 7 start the device of application by pushing platform assembly, and it is special Levying and be, described device also includes message notification module and force start module, wherein:
Described message notification module is for by showing pop-out or informing prompting user by described application Start request shielding;
Described force start module, for receiving the force start instruction of input, has been refused described in response again Application starts request.
12. preventions according to claim 7 start the device of application by pushing platform assembly, and it is special Levying and be, described device also includes server judge module, for described application starts corresponding the answering of request With and the startup type carried be uploaded to security server, described security server judge described startup class Whether type pushes platform with third party starts type matching, and receives the judgement knot that described security server returns Really.
CN201610334114.9A 2016-05-18 2016-05-18 Method and device for preventing application from being launched by pushing platform components Pending CN106022103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610334114.9A CN106022103A (en) 2016-05-18 2016-05-18 Method and device for preventing application from being launched by pushing platform components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610334114.9A CN106022103A (en) 2016-05-18 2016-05-18 Method and device for preventing application from being launched by pushing platform components

Publications (1)

Publication Number Publication Date
CN106022103A true CN106022103A (en) 2016-10-12

Family

ID=57095778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610334114.9A Pending CN106022103A (en) 2016-05-18 2016-05-18 Method and device for preventing application from being launched by pushing platform components

Country Status (1)

Country Link
CN (1) CN106022103A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648029A (en) * 2016-12-28 2017-05-10 努比亚技术有限公司 Push service-based power consumption control method and mobile terminal
CN107343311A (en) * 2017-06-19 2017-11-10 北京小米移动软件有限公司 Push control method and device
CN111610849A (en) * 2020-04-14 2020-09-01 上海卓易科技股份有限公司 A method and device for preventing association startup between applications
CN111831357A (en) * 2020-07-10 2020-10-27 上海传英信息技术有限公司 Background application management method, device and computer-readable storage medium
CN112732356A (en) * 2021-01-11 2021-04-30 江西中瑞防雷技术有限公司 Data monitoring management system of intelligent platform system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309740A (en) * 2013-06-05 2013-09-18 腾讯科技(深圳)有限公司 Program starting method, device and equipment
CN104268476A (en) * 2014-09-30 2015-01-07 北京奇虎科技有限公司 Application running method
CN104462980A (en) * 2014-12-30 2015-03-25 北京奇虎科技有限公司 Authority management method, device and system of application programs and mobile terminal
US9230098B2 (en) * 2005-12-28 2016-01-05 Websense, Inc. Real time lockdown
CN105278931A (en) * 2014-06-19 2016-01-27 腾讯科技(深圳)有限公司 Android system application program backstage self-start forbidden method and terminal
CN105491539A (en) * 2014-09-18 2016-04-13 博雅网络游戏开发(深圳)有限公司 Message push management method and device
CN105512549A (en) * 2015-12-02 2016-04-20 珠海市君天电子科技有限公司 Application program intercepting method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9230098B2 (en) * 2005-12-28 2016-01-05 Websense, Inc. Real time lockdown
CN103309740A (en) * 2013-06-05 2013-09-18 腾讯科技(深圳)有限公司 Program starting method, device and equipment
CN105278931A (en) * 2014-06-19 2016-01-27 腾讯科技(深圳)有限公司 Android system application program backstage self-start forbidden method and terminal
CN105491539A (en) * 2014-09-18 2016-04-13 博雅网络游戏开发(深圳)有限公司 Message push management method and device
CN104268476A (en) * 2014-09-30 2015-01-07 北京奇虎科技有限公司 Application running method
CN104462980A (en) * 2014-12-30 2015-03-25 北京奇虎科技有限公司 Authority management method, device and system of application programs and mobile terminal
CN105512549A (en) * 2015-12-02 2016-04-20 珠海市君天电子科技有限公司 Application program intercepting method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648029A (en) * 2016-12-28 2017-05-10 努比亚技术有限公司 Push service-based power consumption control method and mobile terminal
CN106648029B (en) * 2016-12-28 2019-10-08 努比亚技术有限公司 A kind of power consumption management-control method and mobile terminal based on Push Service
CN107343311A (en) * 2017-06-19 2017-11-10 北京小米移动软件有限公司 Push control method and device
CN111610849A (en) * 2020-04-14 2020-09-01 上海卓易科技股份有限公司 A method and device for preventing association startup between applications
CN111831357A (en) * 2020-07-10 2020-10-27 上海传英信息技术有限公司 Background application management method, device and computer-readable storage medium
CN112732356A (en) * 2021-01-11 2021-04-30 江西中瑞防雷技术有限公司 Data monitoring management system of intelligent platform system

Similar Documents

Publication Publication Date Title
CN106022103A (en) Method and device for preventing application from being launched by pushing platform components
US8626125B2 (en) Apparatus and method for securing mobile terminal
CN104376263B (en) The method and apparatus that application behavior intercepts
CN106227585B (en) Application program starting method, device and equipment
CN104317373B (en) Method and device for cooling a mobile terminal
CN105975320B (en) Method and device for forbidding installation of third-party application and terminal
CN104520866A (en) Privacy protection method and terminal equipment
JP6770588B2 (en) Methods and terminals for enhancing information security
CN105159771A (en) Method and apparatus for processing inter-application chain type start
CN106537344A (en) Method and device for application call management
CN107943270B (en) Application service control method and device, storage medium and mobile terminal
CN105740021A (en) Application program installation method and device
CN106487793A (en) application installation method and device
CN106022102A (en) Method and device for preventing three-party push platform from starting application in the background
US9628939B2 (en) Data calling method and device
CN105550205A (en) A contact information processing method and device thereof
CN106022104A (en) Method and device for preventing push platform application from starting
CN106022110A (en) Method and device for identifying push platform applications
CN106022108A (en) A synchronization management method and terminal equipment
WO2021022434A1 (en) Application monitoring method and apparatus, storage medium, and electronic device
CN108572866B (en) Application management method, application management device and mobile terminal
CN106714181B (en) Method and device for connecting WiFi hotspot
CN104937602B (en) Privacy protection method and electronic equipment
CN108037989B (en) SDK component identification method and device
CN107920383B (en) Wireless hotspot connection method, mobile terminal and computer-readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161012