CN110262813B - Method and apparatus for installing applications - Google Patents
Method and apparatus for installing applications Download PDFInfo
- Publication number
- CN110262813B CN110262813B CN201910553974.5A CN201910553974A CN110262813B CN 110262813 B CN110262813 B CN 110262813B CN 201910553974 A CN201910553974 A CN 201910553974A CN 110262813 B CN110262813 B CN 110262813B
- Authority
- CN
- China
- Prior art keywords
- application
- password
- running
- input
- lock list
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000004044 response Effects 0.000 claims abstract description 34
- 238000009434 installation Methods 0.000 claims abstract description 18
- 238000012790 confirmation Methods 0.000 claims abstract description 17
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012544 monitoring process Methods 0.000 claims description 5
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
本申请实施例公开了用于安装应用的方法和装置。该方法的一具体实施方式包括:检测到存在通过第一应用下载且未安装的第二应用,其中,第一应用具备应用锁功能;响应于当前启动第三应用;确定第三应用是否是第一应用的应用锁列表中的应用;响应于确定第三应用是第一应用的应用锁列表中的应用,在运行第三应用之前和/或在退出第三应用之后提示安装第二应用;响应于检测到对安装第二应用的确认操作,安装第二应用。该实施方式在用户运行第一应用的应用锁列表中的应用之前和/或在退出第一应用的应用锁列表中的应用之后,提示用户安装第二应用,实现了在不中断用户使用应用的前提下提高第二应用的安装成功率。
The embodiments of the present application disclose a method and an apparatus for installing an application. A specific implementation of the method includes: detecting that there is a second application downloaded but not installed through the first application, wherein the first application has an application lock function; in response to currently starting the third application; determining whether the third application is the first application An application in the application lock list of an application; in response to determining that the third application is an application in the application lock list of the first application, prompt to install the second application before running the third application and/or after exiting the third application; in response After detecting the confirmation operation for installing the second application, the second application is installed. This embodiment prompts the user to install the second application before the user runs the application in the application lock list of the first application and/or after exiting the application in the application lock list of the first application, so that the user can use the application without interruption. On the premise, the installation success rate of the second application is improved.
Description
技术领域technical field
本申请实施例涉及计算机技术领域,具体涉及用于安装应用的方法和装置。The embodiments of the present application relate to the field of computer technologies, and in particular, to a method and apparatus for installing an application.
背景技术Background technique
目前,信息流类应用或应用市场类应用可以投放应用的下载链接。用户可以通过信息流类应用或应用市场类应用下载应用。然而,在很多情况下,用户下载了应用却未进行安装,严重影响信息流类应用和应用市场类应用的变现能力。为了解决这个问题,通常会在用户再次打开信息流类应用或应用市场类应用时,引导用户进行安装。然而,大多数信息流类应用或应用市场类应用的使用频率不高,导致很难通过在信息流类应用或应用市场类应用内做引导安装来解决这个问题。Currently, information flow apps or app market apps can place download links for apps. Users can download apps through information flow apps or app market apps. However, in many cases, users download applications but do not install them, which seriously affects the monetization ability of information flow applications and application market applications. In order to solve this problem, the user is usually guided to install when the user opens the information flow application or the application market application again. However, most of the information flow applications or application market applications are not used frequently, which makes it difficult to solve this problem by performing guided installation in the information flow applications or application market applications.
发明内容SUMMARY OF THE INVENTION
本申请实施例提出了用于安装应用的方法和装置。The embodiments of the present application propose a method and apparatus for installing an application.
第一方面,本申请实施例提供了一种用于安装应用的方法,包括:检测到存在通过第一应用下载且未安装的第二应用,其中,第一应用具备应用锁功能;响应于当前启动第三应用;确定第三应用是否是第一应用的应用锁列表中的应用;响应于确定第三应用是第一应用的应用锁列表中的应用,在运行第三应用之前和/或在退出第三应用之后提示安装第二应用;响应于检测到对安装第二应用的确认操作,安装第二应用。In a first aspect, an embodiment of the present application provides a method for installing an application, including: detecting that there is a second application downloaded but not installed through a first application, wherein the first application has an application lock function; launching the third application; determining whether the third application is an application in the application lock list of the first application; in response to determining that the third application is an application in the application lock list of the first application, before and/or at the time of running the third application After exiting the third application, the installation of the second application is prompted; in response to detecting a confirmation operation for installing the second application, the second application is installed.
在一些实施例中,该方法还包括:若在运行第三应用之前提示安装第二应用并安装,响应于第二应用安装完成,运行第三应用。In some embodiments, the method further includes: if prompted to install the second application and install it before running the third application, running the third application in response to the completion of the installation of the second application.
在一些实施例中,在退出第三应用之后提示安装第二应用,还包括:在运行第三应用之前提示输入第三应用的运行密码;响应于检测到对输入第三应用的运行密码的确认操作,获取输入的运行密码;确定输入的运行密码与第三应用的运行密码是否匹配;响应于输入的运行密码与第三应用的运行密码匹配,运行第三应用;响应于检测到第三应用的退出操作,提示安装第二应用。In some embodiments, prompting to install the second application after the third application is exited, further comprising: prompting to input a running password of the third application before running the third application; in response to detecting the confirmation of inputting the running password of the third application operation, obtain the input running password; determine whether the input running password matches the running password of the third application; run the third application in response to the input running password matching the running password of the third application; in response to detecting the third application The exit operation will prompt you to install the second application.
在一些实施例中,该方法还包括:响应于输入的运行密码与第三应用的运行密码不匹配,提示安装第二应用。In some embodiments, the method further includes: in response to the input running password not matching the running password of the third application, prompting to install the second application.
在一些实施例中,响应于当前启动第三应用,包括:响应于第一应用已开启栈顶权限,通过第一应用监听当前运行栈顶的应用;若监听到当前运行栈顶的应用,将当前运行栈顶的应用确定为当前启动的第三应用。In some embodiments, in response to currently starting the third application, the method includes: in response to the first application having enabled the stack top permission, monitoring the application currently running on the top of the stack through the first application; if monitoring the application currently running on the top of the stack, monitoring the The application currently running at the top of the stack is determined to be the third application currently started.
在一些实施例中,确定第三应用是否是第一应用的应用锁列表中的应用,包括:基于第三应用的标识在预先存储的第一应用的应用锁列表中进行查找,其中,第一应用的应用锁列表用于存储通过第一应用设置密码锁的应用的标识;若查找成功,确定第三应用是第一应用的应用锁列表中的应用;若查找失败,确定第三应用不是第一应用的应用锁列表中的应用。In some embodiments, determining whether the third application is an application in the application lock list of the first application includes: searching in a pre-stored application lock list of the first application based on the identifier of the third application, wherein the first application The application lock list of the application is used to store the identifier of the application for which the password lock is set by the first application; if the search is successful, it is determined that the third application is an application in the application lock list of the first application; if the search fails, it is determined that the third application is not the first application. An app in the app's app lock list.
在一些实施例中,确定第三应用是否是第一应用的应用锁列表中的应用,包括:将第三应用的标识发送至第一应用的服务器;接收第一应用的服务器反馈的查找结果,其中,查找结果是基于第三应用的标识在第一应用的应用锁列表中进行查找的结果;基于查找结果,确定第三应用是否是第一应用的应用锁列表中的应用。In some embodiments, determining whether the third application is an application in the application lock list of the first application includes: sending an identifier of the third application to a server of the first application; receiving a search result fed back by the server of the first application, The search result is a search result in the application lock list of the first application based on the identifier of the third application; based on the search result, it is determined whether the third application is an application in the application lock list of the first application.
在一些实施例中,提示安装第二应用,包括:通过第一应用的弹窗提示安装第二应用;以及提示输入第三应用的运行密码,包括:通过第一应用的弹窗提示输入第三应用的运行密码。In some embodiments, prompting to install the second application includes: prompting to install the second application through a pop-up window of the first application; and prompting to enter a running password of the third application includes: prompting to enter the third application through a pop-up window of the first application The password to run the application.
在一些实施例中,确定输入的运行密码与第三应用的运行密码是否匹配,包括:将输入的运行密码与预先存储的第三应用的运行密码进行比对;若比对一致,确定输入的运行密码与第三应用的运行密码匹配;若比对不一致,确定输入的运行密码与第三应用的运行密码不匹配。In some embodiments, determining whether the input running password matches that of the third application includes: comparing the input running password with the pre-stored running password of the third application; if the comparison is consistent, determining that the input running password matches the running password of the third application. The running password matches the running password of the third application; if the comparison is inconsistent, it is determined that the input running password does not match the running password of the third application.
在一些实施例中,确定输入的运行密码与第三应用的运行密码是否匹配,包括:将输入的运行密码发送至第三应用的服务器;接收第三应用的服务器反馈的比对结果,其中,比对结果是输入的运行密码与预先存储的第三应用的运行密码进行比对的结果;基于比对结果,确定输入的运行密码与第三应用的运行密码是否匹配。In some embodiments, determining whether the input running password matches the running password of the third application includes: sending the input running password to the server of the third application; receiving a comparison result fed back by the server of the third application, wherein, The comparison result is a result of comparing the input running password with the pre-stored running password of the third application; based on the comparison result, it is determined whether the input running password matches the running password of the third application.
第二方面,本申请实施例提供了一种用于安装应用的装置,包括:检测单元,被配置成检测到存在通过第一应用下载且未安装的第二应用,其中,第一应用具备应用锁功能;启动单元,被配置成响应于当前启动第三应用;确定单元,被配置成确定第三应用是否是第一应用的应用锁列表中的应用;提示单元,被配置成响应于确定第三应用是第一应用的应用锁列表中的应用,在运行第三应用之前和/或在退出第三应用之后提示安装第二应用;安装单元,被配置成响应于检测到对安装第二应用的确认操作,安装第二应用。In a second aspect, an embodiment of the present application provides an apparatus for installing an application, including: a detection unit configured to detect the existence of a second application downloaded through a first application but not installed, wherein the first application has an application a lock function; an activation unit configured to respond to currently launching a third application; a determination unit configured to determine whether the third application is an application in an application lock list of the first application; a prompt unit configured to respond to determining the first application The three applications are applications in the application lock list of the first application, and prompt to install the second application before running the third application and/or after exiting the third application; the installation unit is configured to install the second application in response to detecting , install the second application.
在一些实施例中,该装置还包括:运行单元,被配置成若在运行第三应用之前提示安装第二应用并安装,响应于第二应用安装完成,运行第三应用。In some embodiments, the apparatus further includes: a running unit configured to run the third application in response to the completion of the installation of the second application if prompted to install the second application and install it before running the third application.
在一些实施例中,提示单元包括:第一提示子单元,被配置成在运行第三应用之前提示输入第三应用的运行密码;获取子单元,被配置成响应于检测到对输入第三应用的运行密码的确认操作,获取输入的运行密码;确定子单元,被配置成确定输入的运行密码与第三应用的运行密码是否匹配;运行子单元,被配置成响应于输入的运行密码与第三应用的运行密码匹配,运行第三应用;第二提示子单元,被配置成响应于检测到第三应用的退出操作,提示安装第二应用。In some embodiments, the prompting unit includes: a first prompting subunit configured to prompt input of a running password of the third application before running the third application; and an obtaining subunit configured to respond to the detection of inputting the third application The confirming operation of the running password, obtains the input running password; the determining subunit is configured to determine whether the input running password matches the running password of the third application; the running subunit is configured to respond to the input running password and the first running password. The running passwords of the three applications are matched, and the third application is run; the second prompting subunit is configured to prompt to install the second application in response to detecting the exit operation of the third application.
在一些实施例中,提示单元还包括:第三提示子单元,被配置成响应于输入的运行密码与第三应用的运行密码不匹配,提示安装第二应用。In some embodiments, the prompting unit further includes: a third prompting subunit, configured to prompt to install the second application in response to the inputted running password not matching the running password of the third application.
在一些实施例中,启动单元进一步被配置成:响应于第一应用已开启栈顶权限,通过第一应用监听当前运行栈顶的应用;若监听到当前运行栈顶的应用,将当前运行栈顶的应用确定为当前启动的第三应用。In some embodiments, the startup unit is further configured to: in response to the first application having enabled the stack top permission, monitor the application currently running on the top of the stack through the first application; The top application is determined to be the currently activated third application.
在一些实施例中,确定单元进一步被配置成:基于第三应用的标识在预先存储的第一应用的应用锁列表中进行查找,其中,第一应用的应用锁列表用于存储通过第一应用设置密码锁的应用的标识;若查找成功,确定第三应用是第一应用的应用锁列表中的应用;若查找失败,确定第三应用不是第一应用的应用锁列表中的应用。In some embodiments, the determining unit is further configured to: search in a pre-stored application lock list of the first application based on the identifier of the third application, wherein the application lock list of the first application is used for storing Set the identifier of the password-locked application; if the search is successful, it is determined that the third application is an application in the application lock list of the first application; if the search fails, it is determined that the third application is not an application in the application lock list of the first application.
在一些实施例中,确定单元进一步被配置成:将第三应用的标识发送至第一应用的服务器;接收第一应用的服务器反馈的查找结果,其中,查找结果是基于第三应用的标识在第一应用的应用锁列表中进行查找的结果;基于查找结果,确定第三应用是否是第一应用的应用锁列表中的应用。In some embodiments, the determining unit is further configured to: send the identification of the third application to the server of the first application; receive a search result fed back by the server of the first application, wherein the search result is based on the identification of the third application in The search result in the application lock list of the first application; based on the search result, it is determined whether the third application is an application in the application lock list of the first application.
在一些实施例中,第一提示子单元进一步被配置成:通过第一应用的弹窗提示安装第二应用;以及第二提示子单元进一步被配置成:通过第一应用的弹窗提示输入第三应用的运行密码。In some embodiments, the first prompting subunit is further configured to: prompt the installation of the second application through a pop-up window of the first application; and the second prompting subunit is further configured to: prompt the input of the first application through a pop-up window of the first application 3. The running password of the application.
在一些实施例中,确定子单元进一步被配置成:将输入的运行密码与预先存储的第三应用的运行密码进行比对;若比对一致,确定输入的运行密码与第三应用的运行密码匹配;若比对不一致,确定输入的运行密码与第三应用的运行密码不匹配。In some embodiments, the determining subunit is further configured to: compare the input running password with the pre-stored running password of the third application; if the comparison is consistent, determine the input running password and the running password of the third application Match; if the comparison is inconsistent, it is determined that the input running password does not match the running password of the third application.
在一些实施例中,确定子单元进一步被配置成:将输入的运行密码发送至第三应用的服务器;接收第三应用的服务器反馈的比对结果,其中,比对结果是输入的运行密码与预先存储的第三应用的运行密码进行比对的结果;基于比对结果,确定输入的运行密码与第三应用的运行密码是否匹配。In some embodiments, the determining subunit is further configured to: send the input running password to the server of the third application; receive a comparison result fed back by the server of the third application, wherein the comparison result is that the input running password is the same as the The result of comparing the pre-stored operating password of the third application; based on the comparison result, it is determined whether the input operating password matches the operating password of the third application.
第三方面,本申请实施例提供了一种终端设备,该终端设备包括:一个或多个处理器;存储装置,其上存储有一个或多个程序;当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如第一方面中任一实现方式描述的方法。In a third aspect, an embodiment of the present application provides a terminal device, the terminal device includes: one or more processors; a storage device on which one or more programs are stored; when one or more programs are stored by one or more The multiple processors execute such that the one or more processors implement a method as described in any one of the implementations of the first aspect.
第四方面,本申请实施例提供了一种计算机可读介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面中任一实现方式描述的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable medium on which a computer program is stored, and when the computer program is executed by a processor, implements the method described in any implementation manner of the first aspect.
本申请实施例提供的用于安装应用的方法和装置,在检测到存在通过第一应用下载且未安装的第二应用,且当前启动第三应用的情况下,确定第三应用是否是第一应用的应用锁列表中的应用;在确定第三应用是第一应用的应用锁列表中的应用的情况下,在运行第三应用之前和/或在退出第三应用之后提示安装第二应用;在检测到对安装第二应用的确认操作的情况下,安装第二应用。在用户运行第一应用的应用锁列表中的应用之前和/或在退出第一应用的应用锁列表中的应用之后,提示用户安装第二应用,实现了在不中断用户使用应用的前提下提高第二应用的安装成功率。The method and device for installing an application provided by the embodiments of the present application determine whether the third application is the first application when it is detected that there is a second application downloaded through the first application but not installed, and the third application is currently started. An application in the application lock list of the application; in the case of determining that the third application is an application in the application lock list of the first application, prompt to install the second application before running the third application and/or after exiting the third application; In a case where a confirmation operation to install the second application is detected, the second application is installed. Before the user runs the application in the application lock list of the first application and/or after exiting the application in the application lock list of the first application, the user is prompted to install the second application, so as to realize the improvement without interrupting the user's use of the application. The installation success rate of the second application.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1是本申请可以应用于其中的示例性系统架构;FIG. 1 is an exemplary system architecture to which the present application may be applied;
图2是根据本申请的用于安装应用的方法的一个实施例的流程图;Figure 2 is a flowchart of one embodiment of a method for installing an application according to the present application;
图3是根据本申请的用于安装应用的方法的又一个实施例的流程图;3 is a flowchart of yet another embodiment of a method for installing an application according to the present application;
图4A是第一弹窗消息的示意图;4A is a schematic diagram of a first pop-up window message;
图4B是密码输入界面的示意图;4B is a schematic diagram of a password input interface;
图4C是第二弹窗消息的示意图;4C is a schematic diagram of a second pop-up window message;
图5是适于用来实现本申请实施例的终端设备的计算机系统的结构示意图。FIG. 5 is a schematic structural diagram of a computer system suitable for implementing a terminal device according to an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the related invention, but not to limit the invention. In addition, it should be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
图1示出了可以应用本申请的用于安装应用的方法的实施例的示例性系统架构100。FIG. 1 illustrates an
如图1所示,系统架构100中可以包括设备101、102、103、104和网络105。网络105用以在设备101和设备102、103、104之间提供通信链路的介质。网络105可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the
设备101、102、103、104可以是支持网络连接从而提供各种网络服务的硬件设备或软件。当设备为硬件时,其可以是各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机、台式计算机和服务器等等。这时,作为硬件设备,其可以实现成多个设备组成的分布式设备群,也可以实现成单个设备。当设备为软件时,可以安装在上述所列举的电子设备中。这时,作为软件,其可以实现成例如用来提供分布式服务的多个软件或软件模块,也可以实现成单个软件或软件模块。在此不做具体限定。The
在实践中,设备可以通过安装相应的客户端应用或服务端应用来提供相应的网络服务。设备在安装了客户端应用之后,其可以在网络通信中体现为客户端。相应地,在安装了服务端应用之后,其可以在网络通信中体现为服务端。In practice, the device can provide corresponding network services by installing a corresponding client application or server application. After the client application is installed on the device, it can be embodied as a client in network communication. Correspondingly, after the server application is installed, it can be embodied as a server in network communication.
作为示例,在图1中,设备101体现为客户端,而设备102、103、104体现为服务端。具体地,设备101可以是安装有第一应用和第三应用的客户端。并且,设备101通过第一应用已下载第二应用。设备102可以是第一应用的服务器。设备103可以是第二应用的服务器。设备104可以是第三应用的服务器。其中,第一应用可以包括但不限于信息流类应用和应用市场类应用等等,用于投放第二应用。第二应用可以是任意应用,既可以是前台应用又可以是后台应用。第三应用可以是第一应用的应用锁列表中的应用。通常,第一应用的应用锁列表中的应用是前台应用。As an example, in FIG. 1, the
需要说明的是,本申请实施例所提供的用于安装应用的方法可以由设备101执行。It should be noted that, the method for installing an application provided by the embodiment of the present application may be executed by the
应该理解,图1中的网络和设备的数目仅仅是示意性的。根据实现需要,可以具有任意数目的网络和设备。It should be understood that the number of networks and devices in Figure 1 is merely illustrative. There can be any number of networks and devices depending on the implementation needs.
继续参考图2,其示出了根据本申请的用于安装应用的方法的一个实施例的流程200。该用于安装应用的方法,包括以下步骤:With continued reference to FIG. 2 , a
步骤201,检测到存在通过第一应用下载且未安装的第二应用。
在本实施例中,终端设备(例如图1所示的设备101)可以检测是否存在通过第一应用下载且未安装的第二应用。其中,第一应用可以是已被安装在终端设备上的应用。第二应用可以是已被下载但尚未被安装的应用。第一应用可以包括但不限于信息流类应用和应用市场类应用等等,用于投放第二应用。例如,若第一应用是信息流类应用,第二应用可以被投放在第一应用的信息流页面上,这样,用户可以从第一应用的信息流页面上下载第二应用。又例如,第一应用是应用市场类应用,用户可以在第一应用的搜索页面上搜索第二应用并下载。此外,第一应用可以具备应用锁功能,用户可以把终端设备上安装的任意前台应用添加到第一应用的应用锁列表中,并设置运行密码。这样,当用户想要启动第一应用的应用锁列表中的应用时,会要求用户输入所启动应用的运行密码或执行其他任务,以运行所启动的应用。其中,运行密码可以包括但不限于字符串密码、指纹密码、手势密码和人脸图像密码等等。第二应用可以是任意应用,既可以是前台应用又可以是后台应用。前台应用是指使用操作的应用,其在运行过程中会和用户之间存在交互操作。后台应用是指管理前台操作的应用,其在运行过程中不会和用户存在交互上的关系。In this embodiment, the terminal device (for example, the
步骤202,响应于当前启动第三应用。
在本实施例中,终端设备可以监听当前启动的第三应用。其中,第三应用可以是已被安装在终端设备上的应用。并且,第三应用可以是第一应用的应用锁列表中的应用。In this embodiment, the terminal device may monitor the currently activated third application. Wherein, the third application may be an application that has been installed on the terminal device. And, the third application may be an application in the application lock list of the first application.
在本实施例的一些可选的实现方式中,若具备应用锁功能的第一应用想要监听当前启动的第三应用,就需要第一应用开启栈顶权限。在第一应用已开启栈顶权限的情况下,终端设备可以通过第一应用监听当前运行栈顶的应用。如果监听到当前运行栈顶的应用,那么当前运行栈顶的应用就是当前启动的第三应用。通常,在早期的安卓(Android)版本当中,第一应用可以通过使用ActivityManager.getRunningTasks方法来获取当前运行栈顶的应用。在Android 5.1及以上的版本当中,第一应用可以采用usageStatsManager.queryUsageStats方法来获取当前运行栈顶的应用。In some optional implementation manners of this embodiment, if the first application with the application lock function wants to monitor the currently started third application, the first application needs to enable the stack top permission. In the case that the first application has enabled the stack top permission, the terminal device can monitor the currently running application on the top of the stack through the first application. If the currently running application on the top of the stack is monitored, then the currently running application on the top of the stack is the currently started third application. Generally, in earlier Android (Android) versions, the first application can obtain the application currently running on top of the stack by using the ActivityManager.getRunningTasks method. In Android 5.1 and above, the first application can use the usageStatsManager.queryUsageStats method to obtain the application currently running on the top of the stack.
步骤203,确定第三应用是否是第一应用的应用锁列表中的应用。Step 203: Determine whether the third application is an application in the application lock list of the first application.
在本实施例中,终端设备可以确定第三应用是否是第一应用的应用锁列表中的应用。在第三应用是第一应用的应用锁列表中的应用的情况下,继续执行步骤204;反之,继续监听当前启动的第三应用。In this embodiment, the terminal device may determine whether the third application is an application in the application lock list of the first application. If the third application is an application in the application lock list of the first application, continue to perform
在本实施例的一些可选的实现方式中,终端设备可以预先存储第一应用的应用锁列表。这样,终端设备可以基于第三应用的标识在预先存储的第一应用的应用锁列表中进行查找;若查找成功,终端设备可以确定第三应用是第一应用的应用锁列表中的应用;若查找失败,终端设备可以确定第三应用不是第一应用的应用锁列表中的应用。其中,第一应用的应用锁列表可以用于存储通过第一应用设置密码锁的应用的标识。这样,终端设备可以将第三应用的标识逐一与第一应用的应用锁列表中存储的应用的标识比对,若第一应用的应用锁列表中存储有第三应用的标识,则终端设备可以确定第三应用是第一应用的应用锁列表中的应用;反之,则终端设备可以确定第三应用不是第一应用的应用锁列表中的应用。In some optional implementation manners of this embodiment, the terminal device may pre-store an application lock list of the first application. In this way, the terminal device can search in the pre-stored application lock list of the first application based on the identifier of the third application; if the search is successful, the terminal device can determine that the third application is an application in the application lock list of the first application; If the search fails, the terminal device may determine that the third application is not an application in the application lock list of the first application. Wherein, the application lock list of the first application may be used to store the identifier of the application for which the password lock is set by the first application. In this way, the terminal device can compare the identifiers of the third applications with the identifiers of the applications stored in the application lock list of the first application one by one. If the identifiers of the third applications are stored in the application lock list of the first application, the terminal device can It is determined that the third application is an application in the application lock list of the first application; otherwise, the terminal device may determine that the third application is not an application in the application lock list of the first application.
在本实施例的一些可选的实现方式中,第一应用的服务器(例如图1所示的设备102)可以预先存储第一应用的应用锁列表。这样,终端设备可以将第三应用的标识发送至第一应用的服务器。第一应用的服务器可以基于第三应用的标识在预先存储的第一应用的应用锁列表中进行查找;若查找成功,第一应用的服务器可以生成表示第三应用是第一应用的应用锁列表中的应用的查找结果;若查找失败,第一应用的服务器可以生成表示第三应用不是第一应用的应用锁列表中的应用的查找结果。随后,第一应用的服务器可以将查找结果反馈至终端设备。这样,终端设备可以接收第一应用的服务器反馈的查找结果,并基于查找结果,确定第三应用是否是第一应用的应用锁列表中的应用。其中,查找结果可以是第一应用的服务器基于第三应用的标识在第一应用的应用锁列表中进行查找的结果。In some optional implementations of this embodiment, the server of the first application (for example, the
步骤204,在运行第三应用之前和/或在退出第三应用之后提示安装第二应用。
在本实施例中,在第三应用是第一应用的应用锁列表中的应用的情况下,终端设备可以在运行第三应用之前和/或在退出第三应用之后提示安装第二应用。这里,提示方式可以包括但不限于文字提示、图片提示、语音提示和视频提示等方式。In this embodiment, when the third application is an application in the application lock list of the first application, the terminal device may prompt to install the second application before running the third application and/or after exiting the third application. Here, the prompting methods may include but are not limited to text prompting, picture prompting, voice prompting, and video prompting.
在本实施例的一些可选的实现方式中,终端设备可以通过第一应用的弹窗提示安装第二应用。通常,弹窗中不仅可以包括用于提示安装第二应用的文字,还可以包括用于选择安装第二应用的按键。In some optional implementations of this embodiment, the terminal device may prompt to install the second application through a pop-up window of the first application. Generally, the pop-up window may include not only text for prompting installation of the second application, but also a button for selecting to install the second application.
步骤205,响应于检测到对安装第二应用的确认操作,安装第二应用。
在本实施例中,终端设备可以检测对安装第二应用的确认操作。在检测到对安装第二应用的确认操作的情况下,终端设备可以安装第二应用。通常,当终端设备检测到用户点击弹窗上的用于选择安装第二应用的按键时,可以认为检测到了对安装第二应用的确认操作。In this embodiment, the terminal device can detect a confirmation operation for installing the second application. In the case of detecting a confirmation operation for installing the second application, the terminal device may install the second application. Generally, when the terminal device detects that the user clicks a button on the pop-up window for selecting to install the second application, it can be considered that a confirmation operation for installing the second application has been detected.
在本实施例的一些可选的实现方式中,若终端设备在运行第三应用之前提示安装第二应用并安装,在第二应用安装完成的情况下,终端设备可以运行第三应用。In some optional implementations of this embodiment, if the terminal device prompts to install and install the second application before running the third application, the terminal device can run the third application when the second application is installed.
需要说明的是,本实施例对步骤201和步骤202的执行顺序不进行限定。即,终端设备可以首先检测是否存在通过第一应用下载且未安装的第二应用,在检测到存在通过第一应用下载且未安装的第二应用之后,再监听当前启动的第三应用。终端设备也可以首先监听当前启动的第三应用,在监听到当前启动第三应用之后,再检测是否存在通过第一应用下载且未安装的第二应用。终端设备还可以同时检测是否存在通过第一应用下载且未安装的第二应用和监听当前启动的第三应用。应当理解的是,无论何种执行顺序,均在本申请要求专利保护的范围之内。It should be noted that this embodiment does not limit the execution order of
本申请实施例提供的用于安装应用的方法,在检测到存在通过第一应用下载且未安装的第二应用且当前启动第三应用的情况下,确定第三应用是否是第一应用的应用锁列表中的应用;在确定第三应用是第一应用的应用锁列表中的应用的情况下,在运行第三应用之前和/或在退出第三应用之后提示安装第二应用;在检测到对安装第二应用的确认操作的情况下,安装第二应用。在用户运行第一应用的应用锁列表中的应用之前和/或在退出第一应用的应用锁列表中的应用之后,提示用户安装第二应用,实现了在不中断用户使用应用的前提下提高第二应用的安装成功率。In the method for installing an application provided by the embodiment of the present application, when it is detected that there is a second application downloaded but not installed through the first application and the third application is currently started, it is determined whether the third application is an application of the first application an application in the lock list; if it is determined that the third application is an application in the application lock list of the first application, prompt to install the second application before running the third application and/or after exiting the third application; upon detecting In the case of a confirmation operation for installing the second application, the second application is installed. Before the user runs the application in the application lock list of the first application and/or after exiting the application in the application lock list of the first application, the user is prompted to install the second application, so as to realize the improvement without interrupting the user's use of the application. The installation success rate of the second application.
继续参考图3,其示出了是根据本申请的用于安装应用的方法的又一个实施例的流程300。该用于安装应用的方法,包括以下步骤:Continuing to refer to FIG. 3 , shown is a
步骤301,检测到存在通过第一应用下载且未安装的第二应用。
步骤302,响应于当前启动第三应用。
步骤303,确定第三应用是否是第一应用的应用锁列表中的应用。Step 303: Determine whether the third application is an application in the application lock list of the first application.
在本实施例中,步骤301-303的具体操作已在图2所示的实施例中步骤201-203中进行了详细的介绍,在此不再赘述。In this embodiment, the specific operations of steps 301-303 have been described in detail in steps 201-203 in the embodiment shown in FIG. 2, and are not repeated here.
步骤304,响应于确定第三应用是第一应用的应用锁列表中的应用,在运行第三应用之前提示安装第二应用或输入第三应用的运行密码。
在本实施例中,在确定第三应用是第一应用的应用锁列表中的应用的情况下,终端设备(例如图1所示的设备101)可以在运行第三应用之前提示安装第二应用或输入第三应用的运行密码。这里,提示方式可以包括但不限于文字提示、图片提示、语音提示和视频提示等方式。In this embodiment, when it is determined that the third application is an application in the application lock list of the first application, the terminal device (for example, the
在本实施例的一些可选的实现方式中,终端设备可以通过第一应用的弹窗提示安装第二应用或输入第三应用的运行密码。通常,弹窗中不仅可以包括用于提示安装第二应用或输入第三应用的运行密码的文字,还可以包括用于选择安装第二应用的按键和用于选择输入第三应用的运行密码的按键。In some optional implementations of this embodiment, the terminal device may prompt to install the second application or input the running password of the third application through a pop-up window of the first application. Usually, the pop-up window may not only include text for prompting to install the second application or input the running password of the third application, but also may include a button for selecting to install the second application and a button for selecting and inputting the running password of the third application. button.
步骤305,响应于检测到对安装第二应用的确认操作,安装第二应用。
在本实施例中,步骤305的具体操作已在图2所示的实施例中步骤205中进行了详细的介绍,在此不再赘述。In this embodiment, the specific operation of
步骤306,响应于检测到对输入第三应用的运行密码的确认操作,获取输入的运行密码。
在本实施例中,终端设备可以检测对输入第三应用的运行密码的确认操作。在检测到对输入第三应用的运行密码的确认操作的情况下,终端设备可以获取输入的运行密码,并继续执行步骤307。In this embodiment, the terminal device may detect a confirmation operation for inputting the running password of the third application. In the case of detecting a confirmation operation for inputting the running password of the third application, the terminal device may acquire the input running password, and continue to perform
通常,当终端设备检测到用户点击弹窗上的用于选择输入第三应用的运行密码的按键时,可以认为检测到了对输入第三应用的运行密码的确认操作。此时,终端设备的屏幕上可以展示密码输入界面。当检测到用户在密码输入界面输入运行密码时,可以获取输入的运行密码。Generally, when the terminal device detects that the user clicks a button on the pop-up window for selecting and inputting the running password of the third application, it may be considered that a confirmation operation for inputting the running password of the third application has been detected. At this time, a password input interface may be displayed on the screen of the terminal device. When it is detected that the user enters the running password on the password input interface, the entered running password can be obtained.
步骤307,确定输入的运行密码与第三应用的运行密码是否匹配。Step 307: Determine whether the input running password matches the running password of the third application.
在本实施例中,终端设备可以确定输入的运行密码与第三应用的运行密码是否匹配。在输入的运行密码与第三应用的运行密码不匹配的情况下,继续执行步骤308;反之,继续执行步骤309。In this embodiment, the terminal device may determine whether the input running password matches the running password of the third application. In the case that the input running password does not match the running password of the third application, go to step 308; otherwise, go to step 309.
在本实施例的一些可选的实现方式中,终端设备可以预先存储第三应用的运行密码。这样,终端设备可以将输入的运行密码与预先存储的第三应用的运行密码进行比对;若比对一致,终端设备可以确定输入的运行密码与第三应用的运行密码匹配;若比对不一致,终端设备可以确定输入的运行密码与第三应用的运行密码不匹配。In some optional implementation manners of this embodiment, the terminal device may pre-store the running password of the third application. In this way, the terminal device can compare the input running password with the pre-stored running password of the third application; if the comparison is consistent, the terminal device can determine that the input running password matches the running password of the third application; if the comparison is inconsistent , the terminal device can determine that the input running password does not match the running password of the third application.
在本实施例的一些可选的实现方式中,第三应用的服务器(例如图1所示的设备104)可以预先存储第三应用的运行密码。这样,终端设备可以将输入的运行密码发送至第三应用的服务器。第三应用的服务器可以将输入的运行密码与预先存储的第三应用的运行密码进行比对;若比对一致,第三应用的服务器可以生成表示输入的运行密码与预先存储的第三应用的运行密码一致的比对结果;若比对不一致,第三应用的服务器可以生成表示输入的运行密码与预先存储的第三应用的运行密码不一致的比对结果。随后,第三应用的服务器可以将比对结果反馈至终端设备。这样,终端设备可以接收第三应用的服务器反馈的比对结果,并基于比对结果,确定输入的运行密码与第三应用的运行密码是否匹配。其中,比对结果可以是输入的运行密码与预先存储的第三应用的运行密码进行比对的结果。In some optional implementations of this embodiment, the server of the third application (for example, the
步骤308,提示安装第二应用。
在本实施例中,在输入的运行密码与第三应用的运行密码不匹配的情况下,终端设备可以提示安装第二应用,并返回执行步骤305。这里,提示方式可以包括但不限于文字提示、图片提示、语音提示和视频提示等方式。In this embodiment, in the case that the input running password does not match the running password of the third application, the terminal device may prompt to install the second application, and return to step 305 . Here, the prompting methods may include but are not limited to text prompting, picture prompting, voice prompting, and video prompting.
在本实施例的一些可选的实现方式中,终端设备可以通过第一应用的弹窗提示安装第二应用。通常,弹窗中不仅可以包括用于提示安装第二应用的文字,还可以包括用于选择安装第二应用的按键。In some optional implementations of this embodiment, the terminal device may prompt to install the second application through a pop-up window of the first application. Generally, the pop-up window may include not only text for prompting installation of the second application, but also a button for selecting to install the second application.
步骤309,运行第三应用。
在本实施例中,在输入的运行密码与第三应用的运行密码匹配的情况下,终端设备可以运行第三应用。In this embodiment, the terminal device can run the third application under the condition that the input running password matches the running password of the third application.
步骤310,响应于检测到第三应用的退出操作,提示安装第二应用。
在本实施例中,终端设备可以检测第三应用的退出操作。在检测到第三应用的退出操作的情况下,终端设备可以提示安装第二应用,并返回执行步骤305。这里,提示方式可以包括但不限于文字提示、图片提示、语音提示和视频提示等方式。In this embodiment, the terminal device can detect the exit operation of the third application. In the case of detecting the exit operation of the third application, the terminal device may prompt to install the second application, and return to step 305 . Here, the prompting methods may include but are not limited to text prompting, picture prompting, voice prompting, and video prompting.
在本实施例的一些可选的实现方式中,终端设备可以通过第一应用的弹窗提示安装第二应用。通常,弹窗中不仅可以包括用于提示安装第二应用的文字,还可以包括用于选择安装第二应用的按键。In some optional implementations of this embodiment, the terminal device may prompt to install the second application through a pop-up window of the first application. Generally, the pop-up window may include not only text for prompting installation of the second application, but also a button for selecting to install the second application.
本申请实施例还提供了用于安装应用的方法的一个应用场景。在该应用场景中,用户的手机上安装有社交类应用和邮箱类应用。其中,社交类应用具备应用锁功能。用户将邮箱类应用添加到社交类应用的应用锁列表中,并设置了指纹密码。同时,社交类应用还设置有信息流页面。信息流页面不仅显示信息流,还显示投放其上的应用的下载链接。用户运行社交类应用,打开信息流页面进行浏览。当用户浏览到信息流页面上的无线接入点连接类应用的下载链接时,点击无线接入点连接类应用的下载链接进行下载。但是,在无线接入点连接类应用下载完成之后,用户并未对其进行安装。这时,由于社交类应用已开启栈顶权限,用户的手机可以通过第一应用监听当前运行栈顶的应用。此时,若用户打开邮箱类应用,第一应用监听到当前运行栈顶的应用是邮箱类应用。由于邮箱类应用是社交类应用的应用锁列表中的应用,用户的手机可以显示社交类应用的第一弹窗消息,具体如图4A所示,其用于提示安装无线接入点连接类应用或输入邮箱类应用的指纹密码。当用户点击第一弹窗消息中的输入第三应用的指纹密码的按键时,用户的手机上可以显示密码输入界面,具体如图4B所示,其用于提示用户输入邮箱类应用的指纹密码。在用户输入邮箱类应用的指纹密码之后,用户的手机运行邮箱类应用。当用户点击邮箱类应用的退出按键时,用户的手机可以显示社交类应用的第二弹窗消息,具体如图4C所示,其用于提示安装无线接入点连接类应用。当用户点击第二弹窗消息中的安装无线接入点连接类应用的按键时,用户的手机安装无线接入点连接类应用。The embodiment of the present application also provides an application scenario of the method for installing an application. In this application scenario, a social application and an email application are installed on the user's mobile phone. Among them, social applications have an application lock function. The user adds the mailbox app to the app lock list of the social app, and sets a fingerprint password. At the same time, social applications are also provided with information flow pages. The stream page not only shows the stream, but also the download links for the apps that are served on it. The user runs a social application and opens the information flow page for browsing. When the user browses to the download link of the wireless access point connection type application on the information flow page, clicks the download link of the wireless access point connection type application to download. However, after the wireless access point connection application is downloaded, the user does not install it. At this time, since the social application has enabled the stack top permission, the user's mobile phone can monitor the currently running stack top application through the first application. At this time, if the user opens the mailbox application, the first application monitors that the application at the top of the current running stack is the mailbox application. Since the mailbox application is an application in the application lock list of the social application, the user's mobile phone can display the first pop-up message of the social application, as shown in FIG. 4A , which is used to prompt the installation of the wireless access point connection application Or enter the fingerprint password of the mailbox application. When the user clicks the button for inputting the fingerprint password of the third application in the first pop-up message, the user's mobile phone may display a password input interface, as shown in FIG. 4B , which is used to prompt the user to input the fingerprint password of the mailbox application . After the user inputs the fingerprint password of the mailbox application, the user's mobile phone runs the mailbox application. When the user clicks the exit button of the mailbox application, the user's mobile phone may display a second pop-up message of the social application, as shown in FIG. 4C , which is used to prompt the installation of the wireless access point connection application. When the user clicks the button for installing the wireless access point connection type application in the second pop-up message, the user's mobile phone installs the wireless access point connection type application.
从图3中可以看出,与图2对应的实施例相比,本实施例中的用于安装应用的方法的流程300突出了提示用户安装第二应用的步骤。由此,本实施例描述的方案不仅可以在用户启动第一应用的应用锁列表中的应用时,提示用户安装第二应用,还可以在用户退出第一应用的应用锁列表中的应用时,提示用户安装第二应用,实现了在不中断用户使用应用的前提下提高第二应用的安装成功率。As can be seen from FIG. 3 , compared with the embodiment corresponding to FIG. 2 , the
下面参考图5,其示出了适于用来实现本申请实施例的终端设备(例如图1所示的设备101)的计算机系统500的结构示意图。图5示出的终端设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring next to FIG. 5 , it shows a schematic structural diagram of a
如图5所示,计算机系统500包括中央处理单元(CPU)501,其可以根据存储在只读存储器(ROM)502中的程序或者从存储部分508加载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有系统500操作所需的各种程序和数据。CPU 501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。As shown in FIG. 5, a
以下部件连接至I/O接口505:包括键盘、鼠标等的输入部分506;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分505;包括硬盘等的存储部分508;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分509。通信部分509经由诸如因特网的网络执行通信处理。驱动器510也根据需要连接至I/O接口505。可拆卸介质511,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器510上,以便于从其上读出的计算机程序根据需要被安装入存储部分508。The following components are connected to the I/O interface 505: an
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分509从网络上被下载和安装,和/或从可拆卸介质511被安装。在该计算机程序被中央处理单元(CPU)501执行时,执行本申请的方法中限定的上述功能。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the
需要说明的是,本申请所述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium described in this application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this application, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请的操作的计算机程序代码,所述程序设计语言包括面向目标的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或电子设备上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present application may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional Procedural programming language - such as "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or electronic device. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括检测单元、启动单元、确定单元、提示单元和安装单元。其中,这些单元的名称在种情况下并不构成对该单元本身的限定,例如,检测单元还可以被描述为“检测到存在通过第一应用下载且未安装的第二应用的单元”。The units involved in the embodiments of the present application may be implemented in a software manner, and may also be implemented in a hardware manner. The described unit can also be provided in the processor, for example, it can be described as: a processor includes a detection unit, an activation unit, a determination unit, a prompt unit and an installation unit. Wherein, the names of these units do not constitute a limitation of the unit itself, for example, the detection unit may also be described as "a unit that detects the existence of a second application downloaded but not installed through the first application".
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的终端设备中所包含的;也可以是单独存在,而未装配入该终端设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该终端设备执行时,使得该终端设备:检测到存在通过第一应用下载且未安装的第二应用,其中,第一应用具备应用锁功能;响应于当前启动第三应用;确定第三应用是否是第一应用的应用锁列表中的应用;响应于确定第三应用是第一应用的应用锁列表中的应用,在运行第三应用之前和/或在退出第三应用之后提示安装第二应用;;响应于检测到对安装第二应用的确认操作,安装第二应用。As another aspect, the present application also provides a computer-readable medium. The computer-readable medium may be included in the terminal device described in the above-mentioned embodiments; it may also exist independently without being assembled into the terminal device. middle. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the terminal device, the terminal device: detects that there is a second application downloaded and not installed through the first application, wherein, The first application has an application lock function; in response to currently starting the third application; determining whether the third application is an application in the application lock list of the first application; in response to determining that the third application is an application in the application lock list of the first application , prompting to install the second application before running the third application and/or after exiting the third application; and installing the second application in response to detecting a confirmation operation for installing the second application.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above technical features, and should also cover the above technical features or Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above-mentioned features with the technical features disclosed in this application (but not limited to) with similar functions.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910553974.5A CN110262813B (en) | 2019-06-25 | 2019-06-25 | Method and apparatus for installing applications |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910553974.5A CN110262813B (en) | 2019-06-25 | 2019-06-25 | Method and apparatus for installing applications |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110262813A CN110262813A (en) | 2019-09-20 |
CN110262813B true CN110262813B (en) | 2020-11-17 |
Family
ID=67921253
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910553974.5A Active CN110262813B (en) | 2019-06-25 | 2019-06-25 | Method and apparatus for installing applications |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110262813B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113885755A (en) * | 2021-09-30 | 2022-01-04 | 北京达佳互联信息技术有限公司 | Application processing prompting method and device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9436968B1 (en) * | 2012-12-05 | 2016-09-06 | Parallels IP Holdings GmbH | System and method for application license management in virtual environments |
CN106445594A (en) * | 2016-09-23 | 2017-02-22 | 海信集团有限公司 | Method and device for installing system applications and terminal device |
CN106845211A (en) * | 2016-12-16 | 2017-06-13 | 北京奇虎科技有限公司 | Mobile terminal and its application start method and device |
CN107577955A (en) * | 2017-08-23 | 2018-01-12 | 北京国信云服科技有限公司 | A kind of Android system application Hook method and application lock |
CN107861666A (en) * | 2017-11-24 | 2018-03-30 | 北京小米移动软件有限公司 | desktop application installation method and device |
CN108846272A (en) * | 2018-07-13 | 2018-11-20 | 厦门美图移动科技有限公司 | Application security management method and device and electronic equipment |
CN109522710A (en) * | 2018-10-18 | 2019-03-26 | 深圳市沃特沃德股份有限公司 | Using the method and device of unlock |
CN109766103A (en) * | 2019-01-16 | 2019-05-17 | 上海连尚网络科技有限公司 | Method and apparatus for processing information |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103402195B (en) * | 2013-07-29 | 2017-09-26 | 广州供电局有限公司 | The application processing method and enterprise-level mobile solution platform of enterprise-level mobile terminal |
US10142309B2 (en) * | 2014-12-19 | 2018-11-27 | Dropbox, Inc. | No password user account access |
EP3346637B1 (en) * | 2015-08-31 | 2019-10-23 | Samsung Electronics Co., Ltd. | Method and device for downloading profile in communication system |
CN105446782A (en) * | 2015-12-24 | 2016-03-30 | 深圳市金立通信设备有限公司 | Management method of terminal application and terminal |
-
2019
- 2019-06-25 CN CN201910553974.5A patent/CN110262813B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9436968B1 (en) * | 2012-12-05 | 2016-09-06 | Parallels IP Holdings GmbH | System and method for application license management in virtual environments |
CN106445594A (en) * | 2016-09-23 | 2017-02-22 | 海信集团有限公司 | Method and device for installing system applications and terminal device |
CN106845211A (en) * | 2016-12-16 | 2017-06-13 | 北京奇虎科技有限公司 | Mobile terminal and its application start method and device |
CN107577955A (en) * | 2017-08-23 | 2018-01-12 | 北京国信云服科技有限公司 | A kind of Android system application Hook method and application lock |
CN107861666A (en) * | 2017-11-24 | 2018-03-30 | 北京小米移动软件有限公司 | desktop application installation method and device |
CN108846272A (en) * | 2018-07-13 | 2018-11-20 | 厦门美图移动科技有限公司 | Application security management method and device and electronic equipment |
CN109522710A (en) * | 2018-10-18 | 2019-03-26 | 深圳市沃特沃德股份有限公司 | Using the method and device of unlock |
CN109766103A (en) * | 2019-01-16 | 2019-05-17 | 上海连尚网络科技有限公司 | Method and apparatus for processing information |
Also Published As
Publication number | Publication date |
---|---|
CN110262813A (en) | 2019-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111666546B (en) | Application login method and device | |
US9848072B2 (en) | Electronic device monitoring method and apparatus | |
US9021507B2 (en) | Dynamic use of data across multiple programs | |
WO2020238320A1 (en) | Method and device for generating emoticon | |
WO2021068634A1 (en) | Page jump method and apparatus, electronic device and computer-readable storage medium | |
US11374925B2 (en) | Method and system for authenticating customers on call | |
US20160294835A1 (en) | Initiating a Secure Action Via Physical Manipulation | |
WO2021197161A1 (en) | Icon updating method and apparatus, and electronic device | |
CN113630253A (en) | Login method, device, computer system and readable storage medium | |
CN110865846B (en) | Application management method, device, terminal, system and storage medium | |
CN112905971B (en) | Method and device for processing information | |
US11625252B2 (en) | Selecting applications based on features of a file | |
CN110262813B (en) | Method and apparatus for installing applications | |
US20210182851A1 (en) | Transaction Validation Service | |
CN114840379A (en) | Log generation method, device, server and storage medium | |
CN109388917B (en) | Hardware equipment authentication method, device, equipment and storage medium | |
CN112395194A (en) | Method and device for accessing test platform | |
US12101313B2 (en) | Multi-platform authentication | |
CN110602700A (en) | Seed key processing method and device and electronic equipment | |
CN113660100B (en) | Method, system and electronic equipment for generating soft token seed | |
US11552958B2 (en) | Geo-aware capture with reduced personal information disclosure | |
CN109543398B (en) | Application program account migration method and device and electronic equipment | |
CN108471635B (en) | Method and apparatus for connecting wireless access points | |
CN107256170B (en) | Method and device for activating input method setting items of terminal equipment | |
CN111988829A (en) | Access method and device of wireless local area network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 201306 N2025 room 24, 2 New Town Road, mud town, Pudong New Area, Shanghai Patentee after: Shanghai Lianshang Network Technology Group Co.,Ltd. Country or region after: China Address before: 201306 N2025 room 24, 2 New Town Road, mud town, Pudong New Area, Shanghai Patentee before: SHANGHAI LIANSHANG NETWORK TECHNOLOGY Co.,Ltd. Country or region before: China |