[go: up one dir, main page]

CN106845211A - Mobile terminal and its application start method and device - Google Patents

Mobile terminal and its application start method and device Download PDF

Info

Publication number
CN106845211A
CN106845211A CN201611167532.XA CN201611167532A CN106845211A CN 106845211 A CN106845211 A CN 106845211A CN 201611167532 A CN201611167532 A CN 201611167532A CN 106845211 A CN106845211 A CN 106845211A
Authority
CN
China
Prior art keywords
application
verification
locked
permission
open
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
CN201611167532.XA
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.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201611167532.XA priority Critical patent/CN106845211A/en
Publication of CN106845211A publication Critical patent/CN106845211A/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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本发明揭示了一种移动终端及其应用启动方法及装置,包括:接收到应用启动命令时,判断应用是否加锁;当应用被加锁时,对应用打开的权限进行验证;应用打开的权限验证通过时,启动应用。本发明中提供的移动终端及其应用启动方法及装置,在接收到应用启动命令时,应用还未启动之前对应用进行验证,验证通过时才可以启动应用,从底层对应用进行保护。

The present invention discloses a mobile terminal and its application startup method and device, including: when receiving an application startup command, judging whether the application is locked; when the application is locked, verifying the permission to open the application; When the verification is passed, start the application. The mobile terminal and its application starting method and device provided in the present invention verify the application before the application is started when receiving the application starting command, and the application can be started only when the verification is passed, and the application is protected from the bottom layer.

Description

移动终端及其应用启动方法及装置Mobile terminal and its application starting method and device

技术领域technical field

本发明涉及终端应用领域,特别涉及一种移动终端及其应用启动方法及装置。The present invention relates to the field of terminal applications, in particular to a mobile terminal and its application starting method and device.

背景技术Background technique

目前,对于加锁应用的保护通常是在应用启动之后覆盖一层验证界面,来实现对加锁应用的保护,只能从应用层进行保护,无法从底层进行保护;这么做无法从根本上保护加锁应用,因为加锁应用已经启动;且这种保护方式会存在延迟现象:加锁应用启动一段时间之后才出现验证界面,体验不友好。例如,启动被加锁的微信应用,通常是在微信应用启动之后覆盖一层验证界面,但是微信应用实际已经启动,不能从根本上进行保护。At present, the protection of locked applications is usually to cover a layer of verification interface after the application is started to realize the protection of locked applications, which can only be protected from the application layer, not from the bottom layer; this cannot be fundamentally protected Lock the application, because the locked application has already started; and there will be a delay in this protection method: the verification interface will appear after the locked application starts for a period of time, and the experience is not friendly. For example, when starting a locked WeChat application, a layer of verification interface is usually covered after the WeChat application is started, but the WeChat application has actually been started, so it cannot be fundamentally protected.

发明内容Contents of the invention

本发明的主要目的为提供一种移动终端及其应用启动方法及装置,在接收到应用启动命令时,应用还未启动之前对应用进行验证,验证通过时才可以启动应用,从底层对应用进行保护。The main purpose of the present invention is to provide a mobile terminal and its application startup method and device. When the application startup command is received, the application is verified before the application is started. Protect.

本发明提出一种应用启动方法,包括以下步骤:The present invention proposes an application startup method, comprising the following steps:

接收到应用启动命令时,判断应用是否加锁;When an application startup command is received, determine whether the application is locked;

当应用被加锁时,对应用打开的权限进行验证;When the application is locked, verify the permissions opened by the application;

应用打开的权限验证通过时,启动应用。When the permission verification of the application opening is passed, the application is started.

进一步地,所述接收到应用启动命令时,判断应用是否加锁的步骤包括:Further, when the application startup command is received, the step of judging whether the application is locked includes:

接收到应用启动命令时,通过应用的包名判断应用是否加锁。When an application start command is received, it is determined whether the application is locked by the package name of the application.

进一步地,所述接收到应用启动命令时,判断应用是否加锁的步骤之后还包括:Further, when the application start command is received, after the step of judging whether the application is locked, it also includes:

当应用未被加锁时,启动应用。When the application is unlocked, start the application.

进一步地,所述接收到应用启动命令时,判断应用是否加锁的步骤之前还包括:Further, when the application startup command is received, before the step of judging whether the application is locked, it also includes:

对应用进行加锁,并设置应用打开的权限。Lock the application and set the permission to open the application.

进一步地,所述对应用进行加锁,并设置应用打开的权限的步骤还包括:Further, the step of locking the application and setting the permission to open the application further includes:

在加锁的应用图标上显示加锁标志;所述加锁标志包括图形和/或文字。A lock sign is displayed on the locked application icon; the lock sign includes graphics and/or text.

进一步地,所述应用被加锁时,对应用打开的权限进行验证的步骤包括:Further, when the application is locked, the step of verifying the permission opened by the application includes:

启动验证界面、指纹验证和/或虹膜验证对应用打开的权限进行验证;所述验证界面包括密码和/或验证码。Start the verification interface, fingerprint verification and/or iris verification to verify the permission to open the application; the verification interface includes a password and/or a verification code.

进一步地,所述应用被加锁时,对应用打开的权限进行验证的步骤之后还包括:Further, when the application is locked, after the step of verifying the permission opened by the application, the step further includes:

应用打开的权限验证不通过时,禁止启动应用。When the verification of the permission to open the application fails, the application is prohibited from starting.

进一步地,所述应用打开的权限验证通过时,启动应用的步骤包括:Further, when the verification of the permission opened by the application is passed, the step of starting the application includes:

应用打开的权限验证通过时,传递Intent信息至应用安装包,通过应用安装包启动并打开应用。When the verification of the permission to open the application is passed, the Intent information is passed to the application installation package, and the application is started and opened through the application installation package.

进一步地,所述应用打开的权限验证通过时,启动应用的步骤之后还包括:Further, when the verification of the permission opened by the application is passed, the step of starting the application further includes:

根据应用的使用状态,对应用重新设置锁定。Reset the lock on the app according to the usage status of the app.

进一步地,所述根据应用的使用状态,对应用重新设置锁定的步骤包括:Further, the step of resetting the lock on the application according to the usage status of the application includes:

判断应用进入后台的时长,达到阈值时对应用进行锁定;所述阈值为预设的应用进入后台的时长阈值。Determine the duration of the application entering the background, and lock the application when the threshold is reached; the threshold is a preset threshold of the duration of the application entering the background.

进一步地,所述根据应用的使用状态,对应用重新设置锁定的步骤还包括:Further, the step of resetting the lock on the application according to the usage state of the application further includes:

锁屏后,对应用进行锁定。After locking the screen, lock the application.

进一步地,所述根据应用的使用状态,对应用重新设置锁定的步骤还包括:Further, the step of resetting the lock on the application according to the usage state of the application further includes:

设置重新锁定的应用名单,并对名单中的应用对应设置锁定条件。Set the list of re-locked applications, and set the corresponding locking conditions for the applications in the list.

本发明还提供了一种应用启动装置,包括:The present invention also provides an application launching device, including:

判断单元,接收到应用启动命令时,判断应用是否加锁;The judging unit, when receiving the application startup command, judges whether the application is locked;

验证单元,当应用被加锁时,对应用打开的权限进行验证;The verification unit, when the application is locked, verifies the permission opened by the application;

启动单元,应用打开的权限验证通过时,启动应用。The startup unit starts the application when the permission to open the application passes the verification.

进一步地,所述判断单元具体用于:Further, the judging unit is specifically used for:

接收到应用启动命令时,通过应用的包名判断应用是否加锁。When an application start command is received, it is determined whether the application is locked by the package name of the application.

进一步地,所述装置还包括:Further, the device also includes:

未加锁启动单元,当应用未被加锁时,启动应用。The unlocked start unit starts the application when the application is not locked.

进一步地,所述装置还包括:Further, the device also includes:

加锁单元,用于对应用进行加锁,并设置应用打开的权限。The locking unit is used to lock the application and set the permission to open the application.

进一步地,所述加锁单元还用于:Further, the locking unit is also used for:

在加锁的应用图标上显示加锁标志;所述加锁标志包括图形和/或文字。A lock sign is displayed on the locked application icon; the lock sign includes graphics and/or text.

进一步地,所述验证单元具体用于:Further, the verification unit is specifically used for:

启动验证界面、指纹验证和/或虹膜验证对应用打开的权限进行验证;所述验证界面包括密码和/或验证码。Start the verification interface, fingerprint verification and/or iris verification to verify the permission to open the application; the verification interface includes a password and/or a verification code.

进一步地,所述装置还包括:Further, the device also includes:

禁止启动单元,用于应用打开的权限验证不通过时,禁止启动应用。The prohibition start unit is used to prohibit the launch of the application when the permission verification for opening the application fails.

进一步地,所述启动单元具体用于:Further, the startup unit is specifically used for:

应用打开的权限验证通过时,传递Intent信息至应用安装包,通过应用安装包启动应用。When the verification of the permission to open the application is passed, the Intent information is passed to the application installation package, and the application is started through the application installation package.

进一步地,所述装置还包括:Further, the device also includes:

重新锁定单元,根据应用的使用状态,对应用重新设置锁定。Re-lock the unit, and reset the lock on the application according to the usage status of the application.

进一步地,所述重新锁定单元还用于:Further, the re-locking unit is also used for:

判断应用进入后台的时长,达到阈值时对应用进行锁定;所述阈值为预设的应用进入后台的时长阈值。Determine the duration of the application entering the background, and lock the application when the threshold is reached; the threshold is a preset threshold of the duration of the application entering the background.

进一步地,所述重新锁定单元还用于:Further, the re-locking unit is also used for:

锁屏后,对应用进行锁定。After locking the screen, lock the app.

进一步地,所述重新锁定单元还用于:Further, the re-locking unit is also used for:

设置重新锁定的应用名单,并对名单中的应用对应设置锁定条件。Set the list of re-locked applications, and set the corresponding locking conditions for the applications in the list.

本发明提供了一种移动终端,包括存储器以及处理器;The invention provides a mobile terminal, including a memory and a processor;

所述存储器用于存储支持上述应用启动装置执行上述任一项的应用启动方法的程序;The memory is used to store a program that supports the above-mentioned application starting device to execute any one of the above-mentioned application starting methods;

所述处理器被配置为用于执行所述存储器中存储的程序。The processor is configured to execute programs stored in the memory.

本发明提供了一种计算机存储介质,用于储存为上述应用启动装置所用的计算机软件指令,其包含用于执行上述方面为应用启动装置所设计的程序。The present invention provides a computer storage medium for storing computer software instructions used by the above-mentioned application launching device, which includes a program designed for the application launching device for executing the above aspect.

本发明中提供的移动终端及其应用启动方法及装置,具有以下有益效果:The mobile terminal and its application starting method and device provided in the present invention have the following beneficial effects:

本发明中提供的移动终端及其应用启动方法及装置,在接收到应用启动命令,应用还未启动之前对应用进行验证,应用打开的权限验证通过时才可以启动应用,验证不通过则禁止启动应用,从底层对加锁的应用进行保护,及时验证;应用开启后,根据应用的使用状态,对应用重新锁定,对打开的应用进行保护,保护用户隐私。The mobile terminal and its application startup method and device provided in the present invention verify the application before the application startup command is received, and the application can only be started when the verification of the permission to open the application is passed, and the startup is prohibited if the verification fails. The application protects the locked application from the bottom layer and verifies it in time; after the application is opened, the application is re-locked according to the usage status of the application, and the opened application is protected to protect user privacy.

附图说明Description of drawings

图1是本发明一实施例中应用启动方法步骤示意图;FIG. 1 is a schematic diagram of the steps of an application startup method in an embodiment of the present invention;

图2是本发明另一实施例中应用启动方法步骤示意图;Fig. 2 is a schematic diagram of steps of an application startup method in another embodiment of the present invention;

图3是本发明又一实施例中应用启动方法步骤示意图;Fig. 3 is a schematic diagram of steps of an application startup method in another embodiment of the present invention;

图4是本发明一实施例中应用启动装置结构示意图;Fig. 4 is a schematic structural diagram of an application launching device in an embodiment of the present invention;

图5是本发明另一实施例中应用启动装置结构示意图;Fig. 5 is a schematic structural diagram of an application launching device in another embodiment of the present invention;

图6是本发明一实施例中移动终端的结构框图。Fig. 6 is a structural block diagram of a mobile terminal in an embodiment of the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.

具体实施方式detailed description

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”“上述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件、单元、模块和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、单元、模块、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "the", "above" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements, units, modules and/or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, units, modules, components and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Additionally, "connected" or "coupled" as used herein may include wireless connection or wireless coupling. The expression "and/or" used herein includes all or any elements and all combinations of one or more associated listed items.

本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this invention belongs. It should also be understood that terms, such as those defined in commonly used dictionaries, should be understood to have meanings consistent with their meaning in the context of the prior art, and unless specifically defined as herein, are not intended to be idealized or overly Formal meaning to explain.

本发明实施例中提供的应用启动方法及装置主要应用于智能终端上对加锁应用的保护,防止应用在解锁之前被启动,从底层对应用进行保护;提高加锁应用的使用安全性。本发明实施例中的智能终端包括手机、平板、电脑等终端设备。本发明中的应用加锁指的是,设置使用/启动应用的权限限制,启动应用必须先验证打开应用的权限进行解锁,防止应用被随意打开,从而保障加锁应用内容的隐私安全性。The application starting method and device provided in the embodiments of the present invention are mainly applied to the protection of locked applications on smart terminals, preventing applications from being started before unlocking, protecting applications from the bottom layer, and improving the use security of locked applications. The smart terminal in the embodiment of the present invention includes terminal equipment such as a mobile phone, a tablet, and a computer. Application locking in the present invention refers to setting permission restrictions for using/starting an application. To start an application, the permission to open the application must first be verified to be unlocked, so as to prevent the application from being opened arbitrarily, thereby ensuring the privacy and security of the content of the locked application.

参照图1,为本发明一实施例中应用启动方法步骤示意图。Referring to FIG. 1 , it is a schematic diagram of steps of an application startup method in an embodiment of the present invention.

本发明一实施例种提出一种应用启动方法,包括以下步骤:An embodiment of the present invention proposes an application startup method, including the following steps:

步骤S1,接收到应用启动命令时,判断应用是否加锁;Step S1, when an application startup command is received, it is judged whether the application is locked;

步骤S2,当应用被加锁时,对应用打开的权限进行验证;Step S2, when the application is locked, verify the permission to open the application;

步骤S3,应用打开的权限验证通过时,启动应用。In step S3, when the verification of the permission to open the application passes, the application is started.

目前,对于加锁应用的保护通常是在应用启动之后覆盖一层验证界面,验证通过时才可以使用该应用,从而实现对加锁应用的保护;这种做法只能从应用层进行保护,无法从底层进行保护,因为加锁应用实际上已经启动,用户可以查看到应用中的部分内容,造成隐私泄露;这种保护方式还会存在延迟现象,加锁应用启动一段时间之后才出现验证界面,体验不友好。At present, the protection of locked applications is usually to cover a layer of verification interface after the application is started, and the application can be used only after the verification is passed, so as to realize the protection of locked applications; this method can only be protected from the application layer, and cannot Protect from the bottom layer, because the locked application has actually started, users can view part of the content in the application, resulting in privacy leaks; this protection method also has a delay phenomenon, the verification interface appears after a period of time after the locked application is started, Unfriendly experience.

在本实施例中,应用还未启动之前,当接收到某个应用启动的命令时,首先通过应用的包名判断该应用是否为加锁应用,如果该应用没有被加锁,则直接启动应用;如果该应用为加锁应用,则对应用的打开/启动权限进行验证,即验证是否有打开该应用的权限,该验证主要为验证想要使用该应用的用户权限,验证的方式主要包括弹出验证界面、指纹验证和/或虹膜验证对应用打开的权限进行验证;该验证界面包括密码和/或验证码,验证方式可以为其中一种,也可以为多种的组合;例如,可以弹出验证界面要求用户输入密码(该密码可以与智能终端的解锁密码相同,也可以是为应用加锁特别设定的密码)或短信验证码,或者要求用户同时输入验证码以及密码,也可以要求用户进行指纹识别或者虹膜识别等。验证方式无法穷举,可根据用户喜好、使用习惯等进行选择。In this embodiment, before the application is started, when a command to start an application is received, it is first judged whether the application is a locked application by the package name of the application, and if the application is not locked, the application is started directly ; If the application is a locked application, verify the opening/starting permission of the application, that is, verify whether there is permission to open the application. This verification is mainly to verify the user permission to use the application. The verification method mainly includes pop-up The verification interface, fingerprint verification and/or iris verification verify the permission to open the application; the verification interface includes passwords and/or verification codes, and the verification methods can be one of them or a combination of multiple types; for example, verification can be popped up The interface requires the user to enter a password (the password can be the same as the unlock password of the smart terminal, or it can be a password specially set for locking the application) or a SMS verification code, or requires the user to enter the verification code and password at the same time, or requires the user to perform Fingerprint recognition or iris recognition, etc. The verification methods cannot be exhaustive, and can be selected according to user preferences and usage habits.

只有当上述验证通过时,传递Intent信息至应用安装包,通过应用安装包启动并打开应用;若验证无法通过,或者没有进行验证操作则禁止打开该应用,用户便无法启动应用查看应用内容信息。本实施例中的方法可以在应用还未启动时便进行验证,从底层进行保护,区别于现有的启动打开应用之后才进行验证,可以更好的对用户的隐私安全性进行保护。Only when the above verification is passed, the Intent information is passed to the application installation package, and the application is started and opened through the application installation package; if the verification fails, or the verification operation is not performed, the application is prohibited from being opened, and the user cannot start the application to view the application content information. The method in this embodiment can perform verification before the application is started, and protect it from the bottom layer, which is different from the existing verification after the application is started and opened, and can better protect the privacy and security of the user.

具体地,用户需要启动手机、平板等智能终端上的某个应用,例如微信。用户可以通过点击或触摸屏幕上微信应用对应的图标,即可通过触摸屏发出应用启动的命令;智能终端接收到该命令,禁止立刻打开微信,而是先通过ActivityManagerService或者ApsManagerService判断该微信是否被加锁,若微信未被加锁,则即刻打开启动微信,用户便可以正常使用微信;若微信被加锁,则弹出验证界面或者要求用户进行指纹识别或虹膜识别,用户进行相应操作进行验证;当用户没有进行验证操作,或者验证时指纹不符、密码不对、或者验证码不对等错误造成验证不能通过时,则禁止启动该微信应用;若验证通过,则传递Intent信息至微信应用安装包,通过应用安装包启动并打开微信应用,用户便可以进入微信查看消息内容。本实施例中从底层对加锁应用进行保护,保证用户隐私安全。Specifically, the user needs to start an application, such as WeChat, on a smart terminal such as a mobile phone or a tablet. The user can click or touch the icon corresponding to the WeChat application on the screen to send the command to start the application through the touch screen; when the smart terminal receives the command, it is forbidden to open WeChat immediately, but first judges whether the WeChat is locked through the ActivityManagerService or ApsManagerService , if WeChat is not locked, open and start WeChat immediately, and the user can use WeChat normally; if WeChat is locked, a verification interface will pop up or require the user to perform fingerprint recognition or iris recognition, and the user will perform corresponding operations to verify; when the user If the verification operation is not performed, or the fingerprint does not match, the password is incorrect, or the verification code is not equal to the verification and the verification fails, the WeChat application is prohibited from starting; if the verification is passed, the Intent information is passed to the WeChat application installation package and installed through the application. The package starts and opens the WeChat application, and the user can enter WeChat to view the content of the message. In this embodiment, the locked application is protected from the bottom layer to ensure user privacy.

参照图2,在另一实施例中,上述步骤S1,接收到应用启动命令时,判断应用是否加锁的步骤之前还包括:Referring to Fig. 2, in another embodiment, in the above step S1, when the application startup command is received, before the step of judging whether the application is locked, it also includes:

步骤S0,对应用进行加锁,并设置应用打开的权限。Step S0, lock the application and set the permission to open the application.

智能终端上安装有多种应用软件,不少应用软件涉及用户的隐私,例如微信、短信、图库等。用户往往不希望自己的隐私被暴露,因此可以设置对应用进行加锁,防止隐私被暴露。具体地,用户可以获取系统权限从而对应用进行加锁,或者通过360手机助手设置加锁的应用,对应用加锁时还应该设置应用打开的权限,该权限主要为打开应用时的用户权限。例如,通常设置为通过验证的用户才可以打开应用,该验证主要包括弹出验证界面、指纹验证和/或虹膜验证对应用打开的权限进行验证;该验证界面包括密码和/或验证码,验证方式可以为其中一种,也可以为多种的组合;例如,可以弹出验证界面要求用户输入密码(该密码可以与智能终端的解锁密码相同,也可以是为应用加锁特别设定的密码)或短信验证码,或者要求用户同时输入验证码以及密码,也可以要求用户进行指纹识别或者虹膜识别等。A variety of application software is installed on the smart terminal, and many application software involve the user's privacy, such as WeChat, SMS, gallery, etc. Users often don't want their privacy to be exposed, so they can set the application to be locked to prevent privacy from being exposed. Specifically, the user can obtain system permissions to lock the application, or set the locked application through the 360 mobile assistant. When locking the application, the application opening permission should also be set, which is mainly the user permission when opening the application. For example, it is usually set to open the application only for users who have passed the verification. The verification mainly includes pop-up verification interface, fingerprint verification and/or iris verification to verify the permission to open the application; the verification interface includes password and/or verification code, and the verification method It can be one of them, or it can be a combination of multiple types; for example, a verification interface can pop up to ask the user to enter a password (the password can be the same as the unlock password of the smart terminal, or it can be a password specially set for locking the application) or SMS verification code, or require the user to enter the verification code and password at the same time, or require the user to perform fingerprint recognition or iris recognition.

在本实施例中,对应用进行加锁时,在加锁的应用图标上显示加锁标志;上述加锁标志包括图形和/或文字。In this embodiment, when the application is locked, a lock sign is displayed on the locked application icon; the lock sign includes graphics and/or text.

为了便于用户识别加锁的应用,在对应用加锁时,在加锁的应用图标上显示加锁标志,该加锁标志可以为图形、文字或者两者的组合;该图形可以为锁的图形,文字可以为中文或者英文。In order to facilitate the user to identify the locked application, when the application is locked, a lock symbol is displayed on the locked application icon. The lock symbol can be a graphic, a text or a combination of both; the graphic can be a lock graphic , the text can be Chinese or English.

例如,微信的隐私性内容较多,用户可以选择对微信应用进行加锁,加锁后,在微信图标上显示加锁标志。而对于其它隐私性不高的应用则可以选择不进行加锁,例如游戏、浏览器等。For example, WeChat has a lot of private content, and users can choose to lock the WeChat application. After locking, the lock symbol will be displayed on the WeChat icon. For other applications with low privacy, you can choose not to lock them, such as games and browsers.

在上述步骤S0之后,进行步骤S1、S2、S3,该步骤S1、S2、S3与上一实施例中相同,在此不进行赘述。After the above step S0, steps S1, S2, and S3 are performed. The steps S1, S2, and S3 are the same as those in the previous embodiment, and will not be repeated here.

参照图3,在又一实施例中的应用启动方法,包括以下步骤:Referring to Fig. 3, the application starting method in another embodiment includes the following steps:

步骤S1,接收到应用启动命令时,判断应用是否加锁;Step S1, when an application startup command is received, it is judged whether the application is locked;

步骤S2,当应用被加锁时,对应用打开的权限进行验证;Step S2, when the application is locked, verify the permission to open the application;

步骤S3,应用打开的权限验证通过时,启动应用;Step S3, start the application when the verification of the permission to open the application is passed;

步骤S4,根据应用的使用状态,对应用重新设置锁定。Step S4, resetting the lock on the application according to the usage state of the application.

在本实施例中,应用还未启动之前,当接收到某个应用启动的命令时,首先通过应用的包名判断该应用是否为加锁应用,如果该应用没有被加锁,则直接启动应用;如果该应用为加锁应用,则对应用的打开/启动权限进行验证,即验证是否有打开该应用的权限,该验证主要为验证想要使用该应用的用户权限,验证的方式主要包括弹出验证界面、指纹验证和/或虹膜验证对应用打开的权限进行验证;该验证界面包括密码和/或验证码,验证方式可以为其中一种,也可以为多种的组合;例如,可以弹出验证界面要求用户输入密码(该密码可以与智能终端的解锁密码相同,也可以是为应用加锁特别设定的密码)或短信验证码,或者要求用户同时输入验证码以及密码,也可以要求用户进行指纹识别或者虹膜识别等。验证方式无法穷举,可根据用户喜好、使用习惯等进行选择。In this embodiment, before the application is started, when a command to start an application is received, it is first judged whether the application is a locked application by the package name of the application, and if the application is not locked, the application is started directly ; If the application is a locked application, verify the opening/starting permission of the application, that is, verify whether there is permission to open the application. This verification is mainly to verify the user permission to use the application. The verification method mainly includes pop-up The verification interface, fingerprint verification and/or iris verification verify the permission to open the application; the verification interface includes passwords and/or verification codes, and the verification methods can be one of them or a combination of multiple types; for example, verification can be popped up The interface requires the user to enter a password (the password can be the same as the unlock password of the smart terminal, or it can be a password specially set for locking the application) or a SMS verification code, or requires the user to enter the verification code and password at the same time, or requires the user to perform Fingerprint recognition or iris recognition, etc. The verification methods cannot be exhaustive, and can be selected according to user preferences and usage habits.

只有当上述验证通过时,传递Intent信息至应用安装包,通过应用安装包启动并打开应用;若验证无法通过,或者没有进行验证操作则禁止打开该应用,用户便无法启动应用查看应用内容信息。本实施例中的方法可以在应用还未启动时便进行验证,从底层进行保护,区别于现有的启动应用之后才进行验证,可以更好的对用户的隐私安全性进行保护。Only when the above verification is passed, the Intent information is passed to the application installation package, and the application is started and opened through the application installation package; if the verification fails, or the verification operation is not performed, the application is prohibited from being opened, and the user cannot start the application to view the application content information. The method in this embodiment can perform verification before the application is started, and protect from the bottom layer, which is different from the existing verification after starting the application, which can better protect the user's privacy and security.

本实施例也可以包括上述步骤S0,在上述步骤S3之后,即当应用打开的权限验证通过时,启动应用之后,用户便可以查看应用信息内容,此时,其他人也可以使用该用户智能终端上的应用,为了保护此时应用上隐私信息的安全性,则可以使应用重新进入锁定状态,防止他人查看应用。在本实施例中,根据应用的使用状态,对应用重新设置锁定。上述应用的使用状态主要包括应用是否当前正在被使用、应用在后台使用以及智能终端处于锁屏状态等。This embodiment may also include the above-mentioned step S0. After the above-mentioned step S3, that is, when the verification of the permission to open the application is passed, the user can view the content of the application information after starting the application. At this time, other people can also use the user's smart terminal In order to protect the security of private information on the application at this time, the application can be re-entered into the locked state to prevent others from viewing the application. In this embodiment, the lock is reset for the application according to the usage status of the application. The usage status of the above application mainly includes whether the application is currently being used, the application is being used in the background, and the smart terminal is in a locked screen state.

具体地,通过判断应用进入后台的时长,达到阈值时对应用进行锁定;上述阈值为预设的应用进入后台的时长阈值。在本实施例中,该阈值也可以为0秒,可以理解的是,当阈值设置为0秒时,则判断应用进入后台时,则立即对应用进行锁定,之后,若要继续查看应用内容,则要重新进行验证,以此来保护应用的隐私安全性。而为了增强应用的使用便利性,通常不会将该阈值设置为0秒,例如可以将阈值设置为五分钟,即在应用进入后台五分钟后,才将应用重新锁定,如此,用户便无需每次打开应用都进行验证。Specifically, by judging the duration of the application entering the background, the application is locked when the threshold is reached; the threshold is a preset duration threshold for the application entering the background. In this embodiment, the threshold can also be 0 seconds. It can be understood that when the threshold is set to 0 seconds, when it is determined that the application enters the background, the application is immediately locked. After that, if you want to continue viewing the application content, It is necessary to re-authenticate to protect the privacy and security of the application. In order to enhance the convenience of using the application, the threshold is usually not set to 0 seconds. For example, the threshold can be set to five minutes, that is, the application will be locked again after five minutes after the application enters the background. Verification every time the app is opened.

具体地,还可以设置为智能终端锁屏后,便对应用进行重新锁定,当智能终端锁屏后,锁定应用,屏幕解锁后启动应用,需重新对应用进行解锁。Specifically, it can also be set so that after the screen of the smart terminal is locked, the application is re-locked. When the screen of the smart terminal is locked, the application is locked, and the application is started after the screen is unlocked, and the application needs to be unlocked again.

优选地,上述步骤S4,根据应用的使用状态,对应用重新设置锁定的步骤还包括:Preferably, in the above step S4, the step of resetting the lock on the application according to the usage state of the application further includes:

设置重新锁定的应用名单,并对名单中的应用对应设置锁定条件。Set the list of re-locked applications, and set the corresponding locking conditions for the applications in the list.

为了对不同的应用进行不同的锁定操作,可以设置一个重新锁定的应用名单,并对名单中的应用对应设置锁定条件。例如,在智能终端上设置一个重新锁定的应用名单中包括微信、图库、短信;由于微信的隐私内容信息较多,因此可以设置为当微信进入后台达到阈值时则进入锁定状态,而对于图库、短信则可以设置为当智能终端锁屏后才进入锁定状态。In order to perform different locking operations on different applications, a re-locked application list can be set, and corresponding locking conditions can be set for the applications in the list. For example, set a re-locked application list on the smart terminal to include WeChat, Gallery, and SMS; since WeChat has a lot of private content information, it can be set to enter the locked state when WeChat enters the background and reaches the threshold, while for Gallery, SMS can be set to enter the locked state only after the smart terminal locks the screen.

为了进一步对本发明中的技术方案进行阐述,本发明还提供了一种应用启动装置。In order to further illustrate the technical solution in the present invention, the present invention also provides an application launching device.

参照图4,本发明实施例中还提供了一种应用启动装置,包括:Referring to FIG. 4 , an application launching device is also provided in an embodiment of the present invention, including:

判断单元20,接收到应用启动命令时,判断应用是否加锁;The judging unit 20, when receiving the application startup command, judges whether the application is locked;

验证单元30,当应用被加锁时,对应用打开的权限进行验证;The verification unit 30, when the application is locked, verifies the permission opened by the application;

启动单元40,应用打开的权限验证通过时,启动应用。The starting unit 40 starts the application when the verification of the permission to open the application passes.

上述装置还包括未加锁启动单元,用于当应用未被加锁时,启动应用;禁止启动单元,用于应用打开的权限验证不通过时,禁止启动应用。The above device also includes an unlocked start unit, used to start the application when the application is not locked; a prohibit start unit, used to prohibit the start of the application when the permission verification for opening the application fails.

目前,对于加锁应用的保护通常是在应用启动之后覆盖一层验证界面,验证通过时才可以使用该应用,从而实现对加锁应用的保护;这种做法只能从应用层进行保护,无法从底层进行保护,因为加锁应用实际上已经启动,用户可以查看到应用中的部分内容,造成隐私泄露;这种保护方式还会存在延迟现象,加锁应用启动一段时间之后才出现验证界面,体验不友好。At present, the protection of locked applications is usually to cover a layer of verification interface after the application is started, and the application can be used only after the verification is passed, so as to realize the protection of locked applications; this method can only be protected from the application layer, and cannot Protect from the bottom layer, because the locked application has actually started, users can view part of the content in the application, resulting in privacy leaks; this protection method also has a delay phenomenon, the verification interface appears after a period of time after the locked application is started, Unfriendly experience.

在本实施例中,应用还未启动之前,当接收到某个应用启动的命令时,首先通过应用的包名判断该应用是否为加锁应用,如果该应用没有被加锁,则通过未加锁启动单元直接启动应用;如果该应用为加锁应用,则对应用的打开/启动权限进行验证,即验证是否有打开该应用的权限,该验证主要为验证想要使用该应用的用户权限,验证的方式主要包括弹出验证界面、指纹验证和/或虹膜验证对应用打开的权限进行验证;该验证界面包括密码和/或验证码,验证方式可以为其中一种,也可以为多种的组合;例如,可以弹出验证界面要求用户输入密码(该密码可以与智能终端的解锁密码相同,也可以是为应用加锁特别设定的密码)或短信验证码,或者要求用户同时输入验证码以及密码,也可以要求用户进行指纹识别或者虹膜识别等。验证方式无法穷举,可根据用户喜好、使用习惯等进行选择。In this embodiment, before the application is started, when a command to start an application is received, it is first judged whether the application is a locked application by the package name of the application. The lock start unit directly starts the application; if the application is a locked application, then verify the opening/starting permission of the application, that is, verify whether there is permission to open the application. This verification is mainly to verify the user permission who wants to use the application. The verification methods mainly include pop-up verification interface, fingerprint verification and/or iris verification to verify the permission to open the application; the verification interface includes password and/or verification code, and the verification method can be one of them or a combination of multiple ;For example, a verification interface can pop up to ask the user to enter a password (the password can be the same as the unlocking password of the smart terminal, or it can be a password specially set for locking the application) or a SMS verification code, or require the user to enter the verification code and password at the same time , and the user may also be required to perform fingerprint recognition or iris recognition. The verification methods cannot be exhaustive, and can be selected according to user preferences and usage habits.

只有当上述验证通过时,传递Intent信息至应用安装包,通过应用安装包启动并打开应用;若验证无法通过,或者没有进行验证操作则禁止打开该应用,用户便无法启动应用查看应用内容信息。本实施例中的方法可以在应用还未启动时便进行验证,从底层进行保护,区别于现有的启动应用之后才进行验证,可以更好的对用户的隐私安全性进行保护。Only when the above verification is passed, the Intent information is passed to the application installation package, and the application is started and opened through the application installation package; if the verification fails, or the verification operation is not performed, the application is prohibited from being opened, and the user cannot start the application to view the application content information. The method in this embodiment can perform verification before the application is started, and protect from the bottom layer, which is different from the existing verification after starting the application, which can better protect the user's privacy and security.

具体地,用户需要启动手机、平板等智能终端上的某个应用,例如微信。用户可以通过点击或触摸屏幕上微信应用对应的图标,即可通过触摸屏发出应用启动的命令;智能终端接收到该命令,禁止立刻打开微信,而是先通过ActivityManagerService或者ApsManagerService判断该微信是否被加锁,若微信未被加锁,则即刻打开启动微信,用户便可以正常使用微信;若微信被加锁,则弹出验证界面或者要求用户进行指纹识别或虹膜识别,用户进行相应操作进行验证;当用户没有进行验证操作,或者验证时指纹不符、密码不对、或者验证码不对等错误造成验证不能通过时,则禁止启动该微信应用;若验证通过,则传递Intent信息至微信应用安装包,通过应用安装包启动并打开微信应用,用户便可以进入微信查看消息内容。本实施例中从底层对加锁应用进行保护,保证用户隐私安全。Specifically, the user needs to start an application, such as WeChat, on a smart terminal such as a mobile phone or a tablet. The user can click or touch the icon corresponding to the WeChat application on the screen to send the command to start the application through the touch screen; when the smart terminal receives the command, it is forbidden to open WeChat immediately, but first judges whether the WeChat is locked through the ActivityManagerService or ApsManagerService , if WeChat is not locked, open and start WeChat immediately, and the user can use WeChat normally; if WeChat is locked, a verification interface will pop up or require the user to perform fingerprint recognition or iris recognition, and the user will perform corresponding operations to verify; when the user If the verification operation is not performed, or the fingerprint does not match, the password is incorrect, or the verification code is not equal to the verification and the verification fails, the WeChat application is prohibited from starting; if the verification is passed, the Intent information is passed to the WeChat application installation package and installed through the application. The package starts and opens the WeChat application, and the user can enter WeChat to view the content of the message. In this embodiment, the locked application is protected from the bottom layer to ensure user privacy.

参照图5,在又一实施例中,上述装置还包括:Referring to Fig. 5, in yet another embodiment, the above-mentioned device also includes:

加锁单元10,用于对应用进行加锁,并设置应用打开的权限。The locking unit 10 is configured to lock the application and set the permission to open the application.

智能终端上安装有多种应用软件,不少应用软件涉及用户的隐私,例如微信、短信、图库等。用户往往不希望自己的隐私被暴露,因此可以设置对应用进行加锁,防止隐私被暴露。具体地,用户可以获取系统权限从而对应用进行加锁,或者通过360手机助手设置加锁的应用,对应用加锁时还应该设置应用打开的权限,该权限主要为打开应用时的用户权限。例如,通常设置为通过验证的用户才可以打开应用,该验证主要包括弹出验证界面、指纹验证和/或虹膜验证对应用打开的权限进行验证;该验证界面包括密码和/或验证码,验证方式可以为其中一种,也可以为多种的组合;例如,可以弹出验证界面要求用户输入密码(该密码可以与智能终端的解锁密码相同,也可以是为应用加锁特别设定的密码)或短信验证码,或者要求用户同时输入验证码以及密码,也可以要求用户进行指纹识别或者虹膜识别等。A variety of application software is installed on the smart terminal, and many application software involve the user's privacy, such as WeChat, SMS, gallery, etc. Users often don't want their privacy to be exposed, so they can set the application to be locked to prevent privacy from being exposed. Specifically, the user can obtain system permissions to lock the application, or set the locked application through the 360 mobile assistant. When locking the application, the application opening permission should also be set, which is mainly the user permission when opening the application. For example, it is usually set to open the application only for users who have passed the verification. The verification mainly includes pop-up verification interface, fingerprint verification and/or iris verification to verify the permission to open the application; the verification interface includes password and/or verification code, and the verification method It can be one of them, or it can be a combination of multiple types; for example, a verification interface can pop up to ask the user to enter a password (the password can be the same as the unlock password of the smart terminal, or it can be a password specially set for locking the application) or SMS verification code, or require the user to enter the verification code and password at the same time, or require the user to perform fingerprint recognition or iris recognition.

在本实施例中,对应用进行加锁时,在加锁的应用图标上显示加锁标志;上述加锁标志包括图形和/或文字。In this embodiment, when the application is locked, a lock sign is displayed on the locked application icon; the lock sign includes graphics and/or text.

为了便于用户识别加锁的应用,在对应用加锁时,在加锁的应用图标上显示加锁标志,该加锁标志可以为图形、文字或者两者的组合;该图形可以为锁的图形,文字可以为中文或者英文。In order to facilitate the user to identify the locked application, when the application is locked, a lock symbol is displayed on the locked application icon. The lock symbol can be a graphic, a text or a combination of both; the graphic can be a lock graphic , the text can be Chinese or English.

例如,微信的隐私性内容较多,用户可以选择对微信应用进行加锁,加锁后,在微信图标上显示加锁标志。而对于其它隐私性不高的应用则可以选择不进行加锁,例如游戏、浏览器等。For example, WeChat has a lot of private content, and users can choose to lock the WeChat application. After locking, the lock symbol will be displayed on the WeChat icon. For other applications with low privacy, you can choose not to lock them, such as games and browsers.

进一步地,上述装置还包括:Further, the above-mentioned device also includes:

重新锁定单元50,根据应用的使用状态,对应用重新设置锁定。The re-locking unit 50 resets the lock on the application according to the usage state of the application.

当应用打开的权限验证通过时,启动并打开应用之后,用户便可以查看应用信息内容,此时,其他人也可以使用该用户智能终端上的应用,为了保护此时应用上隐私信息的安全性,则可以使应用重新进入锁定状态,防止他人查看应用。在本实施例中,根据应用的使用状态,对应用重新设置锁定。上述应用的使用状态主要包括应用是否当前正在被使用、应用在后台使用以及智能终端处于锁屏状态等。When the verification of the permission to open the application is passed, after starting and opening the application, the user can view the application information content. At this time, other people can also use the application on the user's smart terminal. In order to protect the security of the private information on the application , you can put the app back into the locked state, preventing others from viewing the app. In this embodiment, the lock is reset for the application according to the usage status of the application. The usage status of the above application mainly includes whether the application is currently being used, the application is being used in the background, and the smart terminal is in a locked screen state.

具体地,通过判断应用进入后台的时长,达到阈值时对应用进行锁定;上述阈值为预设的应用进入后台的时长阈值。在本实施例中,该阈值也可以为0秒,可以理解的是,当阈值设置为0秒时,则判断应用进入后台时,则立即对应用进行锁定,之后,若要继续查看应用内容,则要重新进行验证,以此来保护应用的隐私安全性。而为了增强应用的使用便利性,通常不会将该阈值设置为0秒,例如可以将阈值设置为五分钟,即在应用进入后台五分钟后,才将应用重新锁定,如此,用户便无需每次打开应用都进行验证。Specifically, by judging the duration of the application entering the background, the application is locked when the threshold is reached; the threshold is a preset duration threshold for the application entering the background. In this embodiment, the threshold can also be 0 seconds. It can be understood that when the threshold is set to 0 seconds, when it is determined that the application enters the background, the application is immediately locked. After that, if you want to continue viewing the application content, It is necessary to re-authenticate to protect the privacy and security of the application. In order to enhance the convenience of using the application, the threshold is usually not set to 0 seconds. For example, the threshold can be set to five minutes, that is, the application will be locked again after five minutes after the application enters the background. Verification every time the app is opened.

具体地,还可以设置为智能终端锁屏后,便对应用进行重新锁定,当智能终端锁屏后,锁定应用,屏幕解锁后启动应用,需重新对应用进行解锁。Specifically, it can also be set so that after the screen of the smart terminal is locked, the application is re-locked. When the screen of the smart terminal is locked, the application is locked, and the application is started after the screen is unlocked, and the application needs to be unlocked again.

优选地,上述重新锁定单元50,根据应用的使用状态,对应用重新设置锁定还包括:Preferably, the above-mentioned re-locking unit 50, according to the usage status of the application, re-setting the lock for the application further includes:

设置重新锁定的应用名单,并对名单中的应用对应设置锁定条件。Set the list of re-locked applications, and set the corresponding locking conditions for the applications in the list.

为了对不同的应用进行不同的锁定操作,可以设置一个重新锁定的应用名单,并对名单中的应用对应设置锁定条件。例如,在智能终端上设置一个重新锁定的应用名单中包括微信、图库、短信;由于微信的隐私内容信息较多,因此可以设置为当微信进入后台达到阈值时则进入锁定状态,而对于图库、短信则可以设置为当智能终端锁屏后才进入锁定状态。In order to perform different locking operations on different applications, a re-locked application list can be set, and corresponding locking conditions can be set for the applications in the list. For example, set a re-locked application list on the smart terminal to include WeChat, Gallery, and SMS; since WeChat has a lot of private content information, it can be set to enter the locked state when WeChat enters the background and reaches the threshold, while for Gallery, SMS can be set to enter the locked state only after the smart terminal locks the screen.

综上所述,为本发明实施例中提供的应用启动方法及装置,在接收到应用启动命令,应用还未启动之前对应用进行验证,应用打开的权限验证通过时才可以启动应用,验证不通过则禁止启动应用,从底层对加锁的应用进行保护,及时验证;应用开启后,根据应用的使用状态,对应用重新锁定,对打开的应用进行保护,保护用户隐私。To sum up, the application startup method and device provided in the embodiments of the present invention verify the application before the application starts after receiving the application startup command, and the application can only be started when the verification of the permission to open the application is passed. If passed, the application is prohibited from starting, and the locked application is protected from the bottom layer and verified in time; after the application is opened, the application is re-locked according to the usage status of the application, and the opened application is protected to protect user privacy.

本发明实施例还提供了一种移动终端,如图6所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Pointof Sales,销售终端)、车载电脑等任意终端设备,以终端为手机为例:The embodiment of the present invention also provides a mobile terminal, as shown in FIG. 6 , for the convenience of description, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. . The terminal can be any terminal device including mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, sales terminal), vehicle-mounted computer, etc. Taking the terminal as a mobile phone as an example:

图6示出的是与本发明实施例提供的移动终端相关的手机的部分结构的框图。参考图6,手机包括:射频(Radio Frequency,RF)电路110、存储器120、输入单元130、显示单元140、传感器150、音频电路160、无线保真(wireless-fidelity,Wi-Fi)模块170、处理器180、以及电源190等部件。本领域技术人员可以理解,图6中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 6 shows a block diagram of a partial structure of a mobile phone related to the mobile terminal provided by the embodiment of the present invention. 6, the mobile phone includes: a radio frequency (Radio Frequency, RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless-fidelity (wireless-fidelity, Wi-Fi) module 170, Processor 180, power supply 190 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 6 does not constitute a limitation to the mobile phone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.

下面结合图6对手机的各个构成部件进行具体的介绍:The following is a specific introduction to each component of the mobile phone in conjunction with Figure 6:

RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器180处理;另外,将设计上行的数据发送给基站。通常,RF电路110包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low NoiseAmplifier,LNA)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GlobalSystem of Mobile communication,GSM)、通用分组无线服务(General Packet RadioService,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 110 can be used for sending and receiving information or receiving and sending signals during a call. In particular, after receiving the downlink information of the base station, it is processed by the processor 180; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, the RF circuit 110 can also communicate with networks and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) , CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS), etc.

存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 120 . The memory 120 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

输入单元130可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元130可包括触控面板131以及其他输入设备132。触控面板131,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板131上或在触控面板131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板131。除了触控面板131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 130 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132 . The touch panel 131, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 131 or near the touch panel 131). operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 131 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch panel 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 131 , the input unit 130 may also include other input devices 132 . Specifically, other input devices 132 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元140可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元140可包括显示面板141,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板141。进一步的,触控面板131可覆盖显示面板141,当触控面板131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图6中,触控面板131与显示面板141是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板131与显示面板141集成而实现手机的输入和输出功能。The display unit 140 may be used to display information input by or provided to the user and various menus of the mobile phone. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED). Further, the touch panel 131 may cover the display panel 141, and when the touch panel 131 detects a touch operation on or near it, it transmits to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on the display panel 141 . Although in FIG. 6, the touch panel 131 and the display panel 141 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 131 and the display panel 141 can be integrated to form a mobile phone. Realize the input and output functions of the mobile phone.

手机还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在手机移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 141 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.

音频电路160、扬声器161,传声器162可提供用户与手机之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一手机,或者将音频数据输出至存储器120以便进一步处理。The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile phone. The audio circuit 160 can transmit the electrical signal converted from the received audio data to the loudspeaker 161, and the loudspeaker 161 converts it into an audio signal output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 180, and then sent to another mobile phone through the RF circuit 110, or the audio data is output to the memory 120 for further processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图6示出了WiFi模块170,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides users with wireless broadband Internet access. Although FIG. 6 shows the WiFi module 170, it can be understood that it is not an essential component of the mobile phone, and can be completely omitted as required without changing the essence of the invention.

处理器180是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理单元;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 120, and calling data stored in the memory 120, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 180 .

手机还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 190 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 180 through the power management system, so as to realize functions such as managing charging, discharging, and power consumption management through the power management system.

尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.

参照图6,在本发明实施例中,该移动终端所包括的处理器180还具有以下功能:Referring to FIG. 6, in the embodiment of the present invention, the processor 180 included in the mobile terminal also has the following functions:

接收到应用启动命令时,判断应用是否加锁;When an application startup command is received, determine whether the application is locked;

当应用被加锁时,对应用打开的权限进行验证;When the application is locked, verify the permissions opened by the application;

应用打开的权限验证通过时,启动应用。When the permission verification of the application opening is passed, the application is started.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的终端,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the terminals, devices and units described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

本领域技术人员可以理解,本发明包括涉及用于执行本申请中所述操作中的一项或多项的设备。这些设备可以为所需的目的而专门设计和制造,或者也可以包括通用计算机中的已知设备。这些设备具有存储在其内的计算机程序,这些计算机程序选择性地激活或重构。这样的计算机程序可以被存储在设备(例如,计算机)可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何类型的介质中,所述计算机可读介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM和磁光盘)、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随即存储器)、EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically Erasable ProgrammableRead-Only Memory,电可擦可编程只读存储器)、闪存、磁性卡片或光线卡片。也就是,可读介质包括由设备(例如,计算机)以能够读的形式存储或传输信息的任何介质。Those skilled in the art will appreciate that the present invention includes reference to apparatus for performing one or more of the operations described herein. These devices may be specially designed and fabricated for the required purposes, or they may include known devices found in general purpose computers. These devices have computer programs stored therein that are selectively activated or reconfigured. Such a computer program can be stored in a device (e.g., computer) readable medium, including but not limited to any type of medium suitable for storing electronic instructions and respectively coupled to a bus. Types of disks (including floppy disks, hard disks, CDs, CD-ROMs and magneto-optical disks), ROM (Read-Only Memory, read-only memory), RAM (Random Access Memory, random access memory), EPROM (Erasable Programmable Read-Only Memory, Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (eg, a computer).

本技术领域技术人员可以理解,可以用计算机程序指令来实现这些结构图和/或框图和/或流图中的每个框以及这些结构图和/或框图和/或流图中的框的组合。本技术领域技术人员可以理解,可以将这些计算机程序指令提供给通用计算机、专业计算机或其他可编程数据处理方法的处理器来实现,从而通过计算机或其他可编程数据处理方法的处理器来执行本发明公开的结构图和/或框图和/或流图的框或多个框中指定的方案。Those skilled in the art will understand that computer program instructions can be used to implement each block in these structural diagrams and/or block diagrams and/or flow diagrams and combinations of blocks in these structural diagrams and/or block diagrams and/or flow diagrams . Those skilled in the art can understand that these computer program instructions can be provided to general-purpose computers, professional computers, or processors of other programmable data processing methods for implementation, so that the computer or processors of other programmable data processing methods can execute the present invention. A scheme specified in a block or blocks of a structure diagram and/or a block diagram and/or a flow diagram of the invention disclosure.

本技术领域技术人员可以理解,本发明中已经讨论过的各种操作、方法、流程中的步骤、措施、方案可以被交替、更改、组合或删除。进一步地,具有本发明中已经讨论过的各种操作、方法、流程中的其他步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。进一步地,现有技术中的具有与本发明中公开的各种操作、方法、流程中的步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。Those skilled in the art can understand that the various operations, methods, and steps, measures, and solutions in the processes discussed in the present invention can be replaced, changed, combined, or deleted. Further, other steps, measures, and schemes in the various operations, methods, and processes that have been discussed in the present invention may also be replaced, changed, rearranged, decomposed, combined, or deleted. Further, steps, measures, and schemes in the prior art that have operations, methods, and processes disclosed in the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.

以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related All technical fields are equally included in the scope of patent protection of the present invention.

本发明实施例提供了:Embodiments of the invention provide:

A1、一种应用启动方法,包括以下步骤:A1. A method for starting an application, comprising the following steps:

接收到应用启动命令时,判断应用是否加锁;When an application startup command is received, determine whether the application is locked;

当应用被加锁时,对应用打开的权限进行验证;When the application is locked, verify the permissions opened by the application;

应用打开的权限验证通过时,启动应用。When the permission verification of the application opening is passed, the application is started.

A2、根据A1所述的应用启动方法,所述接收到应用启动命令时,判断应用是否加锁的步骤包括:A2. According to the application startup method described in A1, when the application startup command is received, the step of judging whether the application is locked includes:

接收到应用启动命令时,通过应用的包名判断应用是否加锁。When an application start command is received, it is determined whether the application is locked by the package name of the application.

A3、根据A1或A2所述的应用启动方法,所述接收到应用启动命令时,判断应用是否加锁的步骤之后还包括:A3. According to the application startup method described in A1 or A2, when the application startup command is received, after the step of determining whether the application is locked, it also includes:

当应用未被加锁时,启动应用。When the application is unlocked, start the application.

A4、根据A1或A2所述的应用启动方法,所述接收到应用启动命令时,判断应用是否加锁的步骤之前还包括:A4. According to the application startup method described in A1 or A2, when the application startup command is received, before the step of judging whether the application is locked, it also includes:

对应用进行加锁,并设置应用打开的权限。Lock the application and set the permission to open the application.

A5、根据A4所述的应用启动方法,所述对应用进行加锁,并设置应用打开的权限的步骤还包括:A5. According to the application startup method described in A4, the step of locking the application and setting the permission to open the application further includes:

在加锁的应用图标上显示加锁标志;所述加锁标志包括图形和/或文字。A lock sign is displayed on the locked application icon; the lock sign includes graphics and/or text.

A6、根据A1所述的应用启动方法,所述应用被加锁时,对应用打开的权限进行验证的步骤包括:A6. According to the application startup method described in A1, when the application is locked, the step of verifying the permission to open the application includes:

启动验证界面、指纹验证和/或虹膜验证对应用打开的权限进行验证;所述验证界面包括密码和/或验证码。Start the verification interface, fingerprint verification and/or iris verification to verify the permission to open the application; the verification interface includes a password and/or a verification code.

A7、根据A1或A6所述的应用启动方法,所述应用被加锁时,对应用打开的权限进行验证的步骤之后还包括:A7. According to the application startup method described in A1 or A6, when the application is locked, the step of verifying the permission to open the application further includes:

应用打开的权限验证不通过时,禁止启动应用。When the verification of the permission to open the application fails, the application is prohibited from starting.

A8、根据A1所述的应用启动方法,所述应用打开的权限验证通过时,启动应用的步骤包括:A8. According to the application startup method described in A1, when the verification of the permission to open the application passes, the steps of starting the application include:

应用打开的权限验证通过时,传递Intent信息至应用安装包,通过应用安装包启动应用。When the verification of the permission to open the application is passed, the Intent information is passed to the application installation package, and the application is started through the application installation package.

A9、根据A1或A8所述的应用启动方法,所述应用打开的权限验证通过时,启动应用的步骤之后还包括:A9. According to the application startup method described in A1 or A8, when the verification of the permission to open the application passes, the step of starting the application further includes:

根据应用的使用状态,对应用重新设置锁定。Reset the lock on the app according to the usage status of the app.

A10、根据A9所述的应用启动方法,所述根据应用的使用状态,对应用重新设置锁定的步骤包括:A10. According to the application startup method described in A9, the step of resetting the lock on the application according to the usage status of the application includes:

判断应用进入后台的时长,达到阈值时对应用进行锁定;所述阈值为预设的应用进入后台的时长阈值。Determine the duration of the application entering the background, and lock the application when the threshold is reached; the threshold is a preset threshold of the duration of the application entering the background.

A11、根据A9所述的应用启动方法,所述根据应用的使用状态,对应用重新设置锁定的步骤还包括:A11. According to the application startup method described in A9, the step of resetting the lock on the application according to the usage state of the application further includes:

锁屏后,对应用进行锁定。After locking the screen, lock the app.

A12、根据A9所述的应用启动方法,所述根据应用的使用状态,对应用重新设置锁定的步骤还包括:A12. According to the application startup method described in A9, the step of resetting the lock on the application according to the usage state of the application further includes:

设置重新锁定的应用名单,并对名单中的应用对应设置锁定条件。Set the list of re-locked applications, and set the corresponding locking conditions for the applications in the list.

B1、一种应用启动装置,包括:B1. An application launching device, comprising:

判断单元,接收到应用启动命令时,判断应用是否加锁;The judging unit, when receiving the application startup command, judges whether the application is locked;

验证单元,当应用被加锁时,对应用打开的权限进行验证;The verification unit, when the application is locked, verifies the permission opened by the application;

启动单元,应用打开的权限验证通过时,启动应用。The startup unit starts the application when the permission to open the application passes the verification.

B2、根据B1所述的应用启动装置,所述判断单元具体用于:B2. According to the application starting device described in B1, the judging unit is specifically used for:

接收到应用启动命令时,通过应用的包名判断应用是否加锁。When an application start command is received, it is determined whether the application is locked by the package name of the application.

B3、根据B1或B2所述的应用启动装置,所述装置还包括:B3. The application starting device according to B1 or B2, the device further comprising:

未加锁启动单元,当应用未被加锁时,启动应用。The unlocked start unit starts the application when the application is not locked.

B4、根据B1或B2所述的应用启动装置,所述装置还包括:B4. The application starting device according to B1 or B2, the device further comprising:

加锁单元,用于对应用进行加锁,并设置应用打开的权限。The locking unit is used to lock the application and set the permission to open the application.

B5、根据B4所述的应用启动装置,所述加锁单元还用于:B5. According to the application starting device described in B4, the locking unit is also used for:

在加锁的应用图标上显示加锁标志;所述加锁标志包括图形和/或文字。A lock sign is displayed on the locked application icon; the lock sign includes graphics and/or text.

B6、根据B1所述的应用启动装置,所述验证单元具体用于:B6. According to the application starting device described in B1, the verification unit is specifically used for:

启动验证界面、指纹验证和/或虹膜验证对应用打开的权限进行验证;所述验证界面包括密码和/或验证码。Start the verification interface, fingerprint verification and/or iris verification to verify the permission to open the application; the verification interface includes a password and/or a verification code.

B7、根据B1或B6所述的应用启动装置,所述装置还包括:B7. The application launching device according to B1 or B6, the device further comprising:

禁止启动单元,用于应用打开的权限验证不通过时,禁止启动应用。The prohibition start unit is used to prohibit the launch of the application when the permission verification for opening the application fails.

B8、根据B1所述的应用启动装置,所述启动单元具体用于:B8. According to the application starting device described in B1, the starting unit is specifically used for:

应用打开的权限验证通过时,传递Intent信息至应用安装包,通过应用安装包启动应用。When the verification of the permission to open the application is passed, the Intent information is passed to the application installation package, and the application is started through the application installation package.

B9、根据B1或B8所述的应用启动装置,所述装置还包括:B9. The application launching device according to B1 or B8, the device further comprising:

重新锁定单元,根据应用的使用状态,对应用重新设置锁定。Re-lock the unit, and reset the lock on the application according to the usage status of the application.

B10、根据B9所述的应用启动装置,所述重新锁定单元还用于:B10. According to the application starting device described in B9, the re-locking unit is further used for:

判断应用进入后台的时长,达到阈值时对应用进行锁定;所述阈值为预设的应用进入后台的时长阈值。Determine the duration of the application entering the background, and lock the application when the threshold is reached; the threshold is a preset threshold of the duration of the application entering the background.

B11、根据B9所述的应用启动装置,所述重新锁定单元还用于:B11. According to the application starting device described in B9, the re-locking unit is further used for:

锁屏后,对应用进行锁定。After locking the screen, lock the app.

B12、根据B9所述的应用启动装置,所述重新锁定单元还用于:B12. According to the application starting device described in B9, the re-locking unit is further used for:

设置重新锁定的应用名单,并对名单中的应用对应设置锁定条件。Set the list of re-locked applications, and set the corresponding locking conditions for the applications in the list.

C1、一种移动终端,包括存储器以及处理器;C1, a mobile terminal, including a memory and a processor;

所述存储器用于存储支持应用启动装置执行如A1至A12中任一项所述的应用启动方法的程序;The memory is used to store a program that supports the application launching device to execute the application launching method described in any one of A1 to A12;

所述处理器被配置为用于执行所述存储器中存储的程序。The processor is configured to execute programs stored in the memory.

Claims (10)

1.一种应用启动方法,其特征在于,包括以下步骤:1. A method for starting an application, comprising the following steps: 接收到应用启动命令时,判断应用是否加锁;When an application startup command is received, determine whether the application is locked; 当应用被加锁时,对应用打开的权限进行验证;When the application is locked, verify the permissions opened by the application; 应用打开的权限验证通过时,启动应用。When the permission verification of the application opening is passed, the application is started. 2.根据权利要求1所述的应用启动方法,其特征在于,所述接收到应用启动命令时,判断应用是否加锁的步骤包括:2. The application startup method according to claim 1, wherein when the application startup command is received, the step of judging whether the application is locked comprises: 接收到应用启动命令时,通过应用的包名判断应用是否加锁。When an application start command is received, it is determined whether the application is locked by the package name of the application. 3.根据权利要求1或2所述的应用启动方法,其特征在于,所述接收到应用启动命令时,判断应用是否加锁的步骤之后还包括:3. The application startup method according to claim 1 or 2, wherein, after receiving the application startup command, the step of determining whether the application is locked further includes: 当应用未被加锁时,启动应用。When the application is unlocked, start the application. 4.根据权利要求1或2所述的应用启动方法,其特征在于,所述接收到应用启动命令时,判断应用是否加锁的步骤之前还包括:4. The application startup method according to claim 1 or 2, wherein, before the step of judging whether the application is locked or not, when the application startup command is received, the method further includes: 对应用进行加锁,并设置应用打开的权限。Lock the application and set the permission to open the application. 5.根据权利要求4所述的应用启动方法,其特征在于,所述对应用进行加锁,并设置应用打开的权限的步骤还包括:5. The application startup method according to claim 4, wherein the step of locking the application and setting the permission to open the application further comprises: 在加锁的应用图标上显示加锁标志;所述加锁标志包括图形和/或文字。A lock sign is displayed on the locked application icon; the lock sign includes graphics and/or text. 6.根据权利要求1所述的应用启动方法,其特征在于,所述应用被加锁时,对应用打开的权限进行验证的步骤包括:6. The application startup method according to claim 1, wherein when the application is locked, the step of verifying the permission to open the application comprises: 启动验证界面、指纹验证和/或虹膜验证对应用打开的权限进行验证;所述验证界面包括密码和/或验证码。Start the verification interface, fingerprint verification and/or iris verification to verify the permission to open the application; the verification interface includes a password and/or a verification code. 7.根据权利要求1或6所述的应用启动方法,其特征在于,所述应用被加锁时,对应用打开的权限进行验证的步骤之后还包括:7. The method for starting an application according to claim 1 or 6, wherein when the application is locked, after the step of verifying the permission to open the application, the step further includes: 应用打开的权限验证不通过时,禁止启动应用。When the verification of the permission to open the application fails, the application is prohibited from starting. 8.根据权利要求1所述的应用启动方法,其特征在于,所述应用打开的权限验证通过时,启动应用的步骤包括:8. The method for starting an application according to claim 1, wherein when the permission verification for opening the application is passed, the step of starting the application comprises: 应用打开的权限验证通过时,传递Intent信息至应用安装包,通过应用安装包启动应用。When the verification of the permission to open the application is passed, the Intent information is passed to the application installation package, and the application is started through the application installation package. 9.一种应用启动装置,其特征在于,包括:9. An application launching device, comprising: 判断单元,接收到应用启动命令时,判断应用是否加锁;The judging unit, when receiving the application startup command, judges whether the application is locked; 验证单元,当应用被加锁时,对应用打开的权限进行验证;The verification unit, when the application is locked, verifies the permission opened by the application; 启动单元,应用打开的权限验证通过时,启动应用。The startup unit starts the application when the permission to open the application passes the verification. 10.一种移动终端,其特征在于,包括存储器以及处理器;10. A mobile terminal, comprising a memory and a processor; 所述存储器用于存储支持应用启动装置执行如权利要求1至8中任一项所述的应用启动方法的程序;The memory is used to store a program that supports the application launching device to execute the application launching method according to any one of claims 1 to 8; 所述处理器被配置为用于执行所述存储器中存储的程序。The processor is configured to execute programs stored in the memory.
CN201611167532.XA 2016-12-16 2016-12-16 Mobile terminal and its application start method and device Pending CN106845211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611167532.XA CN106845211A (en) 2016-12-16 2016-12-16 Mobile terminal and its application start method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611167532.XA CN106845211A (en) 2016-12-16 2016-12-16 Mobile terminal and its application start method and device

Publications (1)

Publication Number Publication Date
CN106845211A true CN106845211A (en) 2017-06-13

Family

ID=59140374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611167532.XA Pending CN106845211A (en) 2016-12-16 2016-12-16 Mobile terminal and its application start method and device

Country Status (1)

Country Link
CN (1) CN106845211A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107169337A (en) * 2017-06-27 2017-09-15 上海传英信息技术有限公司 management method, device and terminal
CN107846509A (en) * 2017-10-31 2018-03-27 努比亚技术有限公司 A kind of application display method, terminal device and storage medium
CN108737638A (en) * 2018-04-08 2018-11-02 Oppo广东移动通信有限公司 Application control method and device, mobile terminal and computer readable medium
CN109062634A (en) * 2018-10-30 2018-12-21 维沃移动通信有限公司 A kind of application starting method and mobile terminal
CN109240560A (en) * 2018-08-01 2019-01-18 Oppo广东移动通信有限公司 application program control method and electronic device
CN110262813A (en) * 2019-06-25 2019-09-20 上海连尚网络科技有限公司 Method and apparatus for installing an application
CN111279339A (en) * 2017-08-29 2020-06-12 深圳传音通讯有限公司 Application locking method, terminal equipment and computer readable medium
CN112905258A (en) * 2021-02-05 2021-06-04 杭州天宽科技有限公司 Mobile terminal application safety starting method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286190A (en) * 2007-04-13 2008-10-15 鸿富锦精密工业(深圳)有限公司 Electronic device and its fingerprint verification protection method
CN103336924A (en) * 2013-07-03 2013-10-02 上海斐讯数据通信技术有限公司 Starting lock for mobile terminal application program
CN104331648A (en) * 2014-11-24 2015-02-04 上海斐讯数据通信技术有限公司 Locking system, locking method, unlocking system and unlocking method for application
CN104573485A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Method and device for starting terminal application
US20150178517A1 (en) * 2010-06-25 2015-06-25 Blackberry Limited Security mechanism for increased personal data protection
CN105095746A (en) * 2015-07-02 2015-11-25 北京奇虎科技有限公司 Application program startup authentication method and device
CN105389484A (en) * 2015-12-23 2016-03-09 珠海格力电器股份有限公司 Permission control method and device for application program
CN105472147A (en) * 2015-11-23 2016-04-06 努比亚技术有限公司 Application lock processing method based on eye print identification and apparatus thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286190A (en) * 2007-04-13 2008-10-15 鸿富锦精密工业(深圳)有限公司 Electronic device and its fingerprint verification protection method
US20150178517A1 (en) * 2010-06-25 2015-06-25 Blackberry Limited Security mechanism for increased personal data protection
CN103336924A (en) * 2013-07-03 2013-10-02 上海斐讯数据通信技术有限公司 Starting lock for mobile terminal application program
CN104331648A (en) * 2014-11-24 2015-02-04 上海斐讯数据通信技术有限公司 Locking system, locking method, unlocking system and unlocking method for application
CN104573485A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Method and device for starting terminal application
CN105095746A (en) * 2015-07-02 2015-11-25 北京奇虎科技有限公司 Application program startup authentication method and device
CN105472147A (en) * 2015-11-23 2016-04-06 努比亚技术有限公司 Application lock processing method based on eye print identification and apparatus thereof
CN105389484A (en) * 2015-12-23 2016-03-09 珠海格力电器股份有限公司 Permission control method and device for application program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107169337A (en) * 2017-06-27 2017-09-15 上海传英信息技术有限公司 management method, device and terminal
CN111279339A (en) * 2017-08-29 2020-06-12 深圳传音通讯有限公司 Application locking method, terminal equipment and computer readable medium
CN111279339B (en) * 2017-08-29 2023-07-21 深圳传音通讯有限公司 Application locking method, terminal device and computer-readable medium
CN107846509A (en) * 2017-10-31 2018-03-27 努比亚技术有限公司 A kind of application display method, terminal device and storage medium
CN108737638A (en) * 2018-04-08 2018-11-02 Oppo广东移动通信有限公司 Application control method and device, mobile terminal and computer readable medium
CN109240560A (en) * 2018-08-01 2019-01-18 Oppo广东移动通信有限公司 application program control method and electronic device
CN109062634A (en) * 2018-10-30 2018-12-21 维沃移动通信有限公司 A kind of application starting method and mobile terminal
CN109062634B (en) * 2018-10-30 2022-09-13 维沃移动通信有限公司 Application starting method and mobile terminal
CN110262813A (en) * 2019-06-25 2019-09-20 上海连尚网络科技有限公司 Method and apparatus for installing an application
CN110262813B (en) * 2019-06-25 2020-11-17 上海连尚网络科技有限公司 Method and apparatus for installing applications
CN112905258A (en) * 2021-02-05 2021-06-04 杭州天宽科技有限公司 Mobile terminal application safety starting method

Similar Documents

Publication Publication Date Title
US10643000B2 (en) Access control method and terminal device
US11537408B2 (en) Method for managing application program use time offline, and terminal device
CN106845211A (en) Mobile terminal and its application start method and device
CN106803027A (en) Application function entrance starts method, device and mobile terminal
CN106778175B (en) Interface locking method and device and terminal equipment
CN112799750A (en) Terminal equipment information display method and terminal equipment
CN108875394B (en) Electronic device and application program control method
US11176228B2 (en) Application interface display method, apparatus, and terminal, and storage medium
CN108536783A (en) Data processing method and device, terminal and computer readable storage medium
CN110851031A (en) Display control method and electronic equipment
CN106599641A (en) A method, device and terminal for restricting terminal locking
CN107704168A (en) A kind of application program launching method and mobile terminal
CN108537058A (en) Multi-role using method and device of terminal, computer readable storage medium and terminal
TW201826158A (en) Method, Device and Terminal for Displaying Data
CN106878554A (en) Anti-theft method and device for mobile terminal and mobile terminal
CN106407771A (en) Message management method and device
CN106203143A (en) Method, device and the mobile terminal of a kind of application program locking
CN111124537B (en) Application starting method and electronic equipment
WO2019090702A1 (en) Terminal security protection method and device
CN108153460A (en) A kind of icon hiding method and terminal
CN106874751A (en) Input method, device and mobile terminal under system protection pattern
CN106940770A (en) A screen locking method, device and terminal
CN105843514A (en) Method and device for starting applications of mobile terminal
WO2019196655A1 (en) Mode switching method and apparatus, and computer-readable storage medium, and terminal
CN107948390A (en) The guard method of user data and mobile terminal

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170803

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170613