[go: up one dir, main page]

CN106611112A - Application program safe processing method, device and equipment - Google Patents

Application program safe processing method, device and equipment Download PDF

Info

Publication number
CN106611112A
CN106611112A CN201611153398.8A CN201611153398A CN106611112A CN 106611112 A CN106611112 A CN 106611112A CN 201611153398 A CN201611153398 A CN 201611153398A CN 106611112 A CN106611112 A CN 106611112A
Authority
CN
China
Prior art keywords
password
application
application program
interface
module
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
CN201611153398.8A
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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611153398.8A priority Critical patent/CN106611112A/en
Publication of CN106611112A publication Critical patent/CN106611112A/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/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • 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/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • 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
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2131Lost password, e.g. recovery of lost or forgotten passwords

Landscapes

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

Abstract

本公开是关于一种应用程序安全处理方法、装置及设备。该方法包括:检测到应用程序的应用锁开关被开启后,显示所述应用程序的密码设置界面;获取在所述密码设置界面为所述应用程序输入的密码,将所述应用程序的特征信息作为标识关键字存储所述密码。本公开的方案,可以为开启应用锁开关的每个应用程序单独设置不同的密码,满足用户的个性化需求。

The present disclosure relates to an application program security processing method, device and equipment. The method includes: after detecting that the application lock switch of the application program is turned on, displaying the password setting interface of the application program; acquiring the password input for the application program in the password setting interface, and storing the feature information of the application program The password is stored as an identification key. According to the solution disclosed in the present disclosure, different passwords can be individually set for each application program that turns on the application lock switch, so as to meet the personalized needs of users.

Description

应用程序安全处理方法、装置及设备Application security processing method, device and equipment

技术领域technical field

本公开涉及软件应用技术领域,尤其涉及应用程序安全处理方法、装置及设备。The present disclosure relates to the field of software application technology, and in particular to a method, device and equipment for securely processing application programs.

背景技术Background technique

目前移动终端可以安装各种应用程序,如果有些应用程序不希望其他用户随意打开,可以设置应用锁,例如可以在应用程序列表中滑动右侧的应用锁开关即可为选择的应用程序加锁或解锁。但是目前相关技术中,通过应用锁为选择的应用程序加锁时,只支持给所有加锁的应用程序设置一个统一密码。At present, various applications can be installed on mobile terminals. If some applications do not want other users to open them at will, you can set an application lock. For example, you can slide the application lock switch on the right in the application list to lock the selected application or unlock. However, in the current related technology, when locking selected application programs through the application lock, it only supports setting a unified password for all locked application programs.

发明内容Contents of the invention

为克服相关技术中存在的问题,本公开提供了应用程序安全处理方法、装置及设备。In order to overcome the problems existing in related technologies, the present disclosure provides an application program security processing method, device and equipment.

根据本公开实施例的第一方面,提供一种应用程序安全处理方法,包括:According to a first aspect of an embodiment of the present disclosure, a method for processing application security is provided, including:

检测到应用程序的应用锁开关被开启后,显示所述应用程序的密码设置界面;After detecting that the application lock switch of the application is turned on, display the password setting interface of the application;

获取在所述密码设置界面为所述应用程序输入的密码,将所述应用程序的特征信息作为标识关键字存储所述密码。Obtaining the password input for the application program on the password setting interface, and storing the password using the feature information of the application program as an identification key.

可选的,所述将所述应用程序的特征信息作为标识关键字存储所述密码,包括:将所述应用程序的包名作为标识关键字存储所述密码。Optionally, storing the password using the characteristic information of the application program as an identification key includes: storing the password using a package name of the application program as an identification key.

可选的,所述获取在所述密码设置界面为所述应用程序输入的密码,包括:Optionally, the acquiring the password entered for the application program on the password setting interface includes:

获取在所述密码设置界面为所述应用程序输入的图形密码或数字密码,其中所述图形密码为绘制的图形密码或从候选图形中选择的图形密码。Obtaining a graphic password or a digital password input for the application on the password setting interface, wherein the graphic password is a drawn graphic password or a graphic password selected from candidate graphics.

可选的,所述存储所述密码时采用设定加密算法进行加密存储。Optionally, when storing the password, a set encryption algorithm is used for encrypted storage.

可选的,所述方法还包括:Optionally, the method also includes:

获取为所述应用程序输入密码时绑定的用户账号。Obtain the user account bound when entering the password for the application.

可选的,所述方法还包括:Optionally, the method also includes:

在接收到修改密码指令后,显示所述应用程序的密码修改界面;After receiving the password modification instruction, displaying the password modification interface of the application program;

获取在所述密码修改界面为所述应用程序修改的密码并存储。The password modified for the application program on the password modification interface is obtained and stored.

可选的,所述方法还包括:Optionally, the method also includes:

在接收到重置密码指令后,如果判断出所述应用程序已经绑定用户账号且所述用户账号验证成功,显示所述应用程序的密码重置界面;After receiving the reset password instruction, if it is determined that the application has been bound to the user account and the user account is verified successfully, displaying the password reset interface of the application;

获取在所述密码重置界面为所述应用程序重置的密码并存储。The password reset for the application program on the password reset interface is acquired and stored.

根据本公开实施例的第二方面,提供一种应用程序安全处理方法,包括:According to a second aspect of an embodiment of the present disclosure, a method for processing application security is provided, including:

对已经开启应用锁开关的应用程序进行解锁时,获取所述应用程序的特征信息;Obtain feature information of the application when unlocking the application for which the application lock switch has been turned on;

在根据所述特征信息查询到所述应用程序设置了密码时,校验为所述应用程序设置的单独密码。When it is found that a password is set for the application program according to the feature information, the separate password set for the application program is verified.

可选的,所述方法还包括:Optionally, the method also includes:

在根据所述特征信息查询到所述应用程序未设置密码时,校验为所述应用程序设置的统一密码。When it is found that no password is set for the application program according to the characteristic information, the unified password set for the application program is verified.

可选的,所述获取所述应用程序的特征信息包括:获取所述应用程序的包名信息。Optionally, the obtaining the feature information of the application program includes: obtaining package name information of the application program.

根据本公开实施例的第三方面,提供一种应用程序安全处理装置,包括:According to a third aspect of the embodiments of the present disclosure, an application program security processing device is provided, including:

第一显示模块,用于检测到应用程序的应用锁开关被开启后,显示所述应用程序的密码设置界面;The first display module is used to display the password setting interface of the application program after detecting that the application lock switch of the application program is turned on;

密码设置模块,用于获取在所述第一显示模块显示的密码设置界面为所述应用程序输入的密码,将所述应用程序的特征信息作为标识关键字存储所述密码。The password setting module is configured to obtain the password input for the application program on the password setting interface displayed by the first display module, and store the password using the characteristic information of the application program as an identification key.

可选的,所述密码设置模块将所述应用程序的包名作为标识关键字存储所述密码。Optionally, the password setting module uses the package name of the application program as an identification key to store the password.

可选的,所述装置还包括:Optionally, the device also includes:

绑定模块,用于在为所述应用程序输入密码时绑定用户账号。A binding module, configured to bind a user account when entering a password for the application.

可选的,所述装置还包括:Optionally, the device also includes:

第二显示模块,用于在接收到修改密码指令后,显示所述应用程序的密码修改界面;The second display module is configured to display the password modification interface of the application program after receiving the password modification instruction;

密码修改模块,用于获取在所述第二显示模块显示的密码修改界面为所述应用程序修改的密码并存储。A password modifying module, configured to obtain and store the password modified for the application program on the password modifying interface displayed on the second display module.

可选的,所述装置还包括:Optionally, the device also includes:

第三显示模块,用于在接收到重置密码指令后,如果判断出所述应用程序已经绑定所述绑定模块绑定的用户账号且所述用户账号验证成功,显示所述应用程序的密码重置界面;The third display module is configured to display the application program if it is determined that the application program has been bound to the user account bound by the binding module and the user account verification is successful after receiving the password reset instruction. Password reset interface;

密码重置模块,用于获取在所述第三显示模块显示的密码重置界面为所述应用程序重置的密码并存储。A password reset module, configured to obtain and store the password reset for the application on the password reset interface displayed on the third display module.

根据本公开实施例的第四方面,提供一种应用程序安全处理装置,包括:According to a fourth aspect of the embodiments of the present disclosure, an application program security processing device is provided, including:

特征获取模块,用于对已经开启应用锁开关的应用程序进行解锁时,获取所述应用程序的特征信息;A feature acquisition module, configured to acquire feature information of the application when unlocking the application that has turned on the application lock switch;

校验模块,用于在根据所述特征获取模块获取的特征信息查询到所述应用程序设置了密码时,校验为所述应用程序设置的单独密码。A verification module, configured to verify the individual password set for the application program when it is found that a password is set for the application program according to the feature information acquired by the feature acquisition module.

可选的,所述装置还包括:Optionally, the device also includes:

第二校验模块,用于在根据所述特征获取模块获取的特征信息查询到所述应用程序未设置密码时,校验为所述应用程序设置的统一密码。The second verification module is configured to verify the unified password set for the application program when it is found that the application program has no password set according to the feature information acquired by the feature acquisition module.

根据本公开实施例的第五方面,提供一种移动终端设备,包括:According to a fifth aspect of an embodiment of the present disclosure, a mobile terminal device is provided, including:

处理器和用于存储处理器可执行指令的存储器;processor and memory for storing processor-executable instructions;

其中,所述处理器被配置为:Wherein, the processor is configured as:

检测到应用程序的应用锁开关被开启后,显示所述应用程序的密码设置界面;After detecting that the application lock switch of the application is turned on, display the password setting interface of the application;

获取在所述密码设置界面为所述应用程序输入的密码,将所述应用程序的特征信息作为标识关键字存储所述密码。Obtaining the password input for the application program on the password setting interface, and storing the password using the feature information of the application program as an identification key.

根据本公开实施例的第六方面,提供一种移动终端设备,包括:According to a sixth aspect of the embodiments of the present disclosure, a mobile terminal device is provided, including:

处理器和用于存储处理器可执行指令的存储器;processor and memory for storing processor-executable instructions;

其中,所述处理器被配置为:Wherein, the processor is configured as:

对已经开启应用锁开关的应用程序进行解锁时,获取所述应用程序的特征信息;Obtain feature information of the application when unlocking the application for which the application lock switch has been turned on;

在根据所述特征信息查询到所述应用程序设置了密码时,校验为所述应用程序设置的单独密码。When it is found that a password is set for the application program according to the feature information, the separate password set for the application program is verified.

本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

本公开在检测到应用程序的应用锁开关被开启后,会向用户显示所述应用程序的密码设置界面,可以由用户在所述密码设置界面为所述应用程序设置密码,然后将所述应用程序的特征信息作为标识关键字存储所述输入的密码,这样就实现了可以为开启应用锁开关的每个应用程序单独设置不同的密码,而不再是统一密码,满足用户的个性化需求,而且特征信息可以唯一标识应用程序,因此以特征信息作为标识关键字存储所述输入的密码也可以更好区分密码与应用程序的对应关系。In this disclosure, after detecting that the application lock switch of the application program is turned on, the password setting interface of the application program will be displayed to the user, and the user can set a password for the application program on the password setting interface, and then the application program will be locked. The characteristic information of the program is used as an identification keyword to store the input password, so that different passwords can be set separately for each application program that turns on the application lock switch, instead of a unified password, to meet the individual needs of users. Moreover, the characteristic information can uniquely identify the application program, so storing the input password by using the characteristic information as an identification key can also better distinguish the corresponding relationship between the password and the application program.

本公开还可以在为所述应用程序输入密码时让用户绑定用户账号。The present disclosure can also allow the user to bind the user account when entering the password for the application.

本公开还可以提供密码修改功能,在接收到修改密码指令后,显示所述应用程序的密码修改界面,然后获取在所述密码修改界面为所述应用程序修改的密码并存储。The present disclosure may also provide a password modification function. After receiving a password modification instruction, display the password modification interface of the application program, and then acquire and store the password modified for the application program in the password modification interface.

本公开在忘记密码时还提供密码重置功能,在接收到重置密码指令后,如果判断出所述应用程序已经绑定用户账号且所述用户账号验证成功,显示所述应用程序的密码重置界面,然后获取在所述密码重置界面为所述应用程序重置的密码并存储。This disclosure also provides a password reset function when the password is forgotten. After receiving the password reset instruction, if it is determined that the application has been bound to the user account and the user account is successfully verified, the password reset function of the application is displayed. configuration interface, and then obtain and store the password reset for the application on the password reset interface.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是本公开根据一示例性实施例示出的一种应用程序安全处理方法的流程图。Fig. 1 is a flowchart of a method for processing application program security according to an exemplary embodiment of the present disclosure.

图2是本公开根据一示例性实施例示出的一种应用程序安全处理方法的另一流程图。Fig. 2 is another flowchart of an application program security processing method according to an exemplary embodiment of the present disclosure.

图3是本公开根据一示例性实施例示出的一种应用程序安全处理方法的另一流程图。Fig. 3 is another flowchart of an application program security processing method according to an exemplary embodiment of the present disclosure.

图4是本公开根据一示例性实施例示出的一种应用程序安全处理方法的另一流程图。Fig. 4 is another flowchart of an application program security processing method according to an exemplary embodiment of the present disclosure.

图5是本公开根据一示例性实施例示出的一种应用程序安全处理装置的框图。Fig. 5 is a block diagram of an application program security processing device according to an exemplary embodiment of the present disclosure.

图6是本公开根据一示例性实施例示出的一种应用程序安全处理装置的另一框图。Fig. 6 is another block diagram of an application program security processing device according to an exemplary embodiment of the present disclosure.

图7是本公开根据一示例性实施例示出的一种应用程序安全处理装置的另一框图。Fig. 7 is another block diagram of an application program security processing device according to an exemplary embodiment of the present disclosure.

图8是本公开根据一示例性实施例示出的一种应用程序安全处理装置的另一框图。Fig. 8 is another block diagram of an application program security processing device according to an exemplary embodiment of the present disclosure.

图9是本公开根据一示例性实施例示出的一种移动终端设备的一结构框图。Fig. 9 is a structural block diagram of a mobile terminal device according to an exemplary embodiment of the present disclosure.

图10是本公开根据一示例性实施例示出的一种设备的一结构框图。Fig. 10 is a structural block diagram of a device according to an exemplary embodiment of the present disclosure.

具体实施方式detailed description

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present disclosure is for the purpose of describing particular embodiments only, and is not intended to limit the present disclosure. As used in this disclosure and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present disclosure, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination."

本公开提供了一种应用程序安全处理方法,可以为开启应用锁开关的每个应用程序单独设置不同的密码,满足用户的个性化需求。The present disclosure provides an application program security processing method, which can individually set a different password for each application program that turns on the application lock switch, so as to meet the personalized needs of users.

图1是本公开根据一示例性实施例示出的一种应用程序安全处理方法的流程图。Fig. 1 is a flowchart of a method for processing application program security according to an exemplary embodiment of the present disclosure.

如图1所示,该方法可以应用于移动终端中,包括以下步骤:As shown in Figure 1, the method can be applied to a mobile terminal, including the following steps:

在步骤101中,检测到应用程序的应用锁开关被开启后,显示所述应用程序的密码设置界面。In step 101, after it is detected that the application lock switch of the application is turned on, the password setting interface of the application is displayed.

在步骤102中,获取在所述密码设置界面为所述应用程序输入的密码,将所述应用程序的特征信息作为标识关键字存储所述密码。In step 102, the password entered for the application on the password setting interface is obtained, and the characteristic information of the application is used as an identification key to store the password.

所述应用程序的特征信息,例如可以是应用程序的包名但不局限于此。应用程序的包名可用于唯一标识应用程序。The characteristic information of the application program may be, for example, the package name of the application program but is not limited thereto. An application's package name can be used to uniquely identify the application.

所述为所述应用程序输入的密码,例如可以是图形密码或数字密码,其中所述图形密码可以为绘制的图形密码或从候选图形中选择的图形密码。The password input for the application program may be, for example, a graphic password or a digital password, wherein the graphic password may be a drawn graphic password or a graphic password selected from candidate graphics.

由该实施例可见,本公开在检测到应用程序的应用锁开关被开启后,会向用户显示所述应用程序的密码设置界面,可以由用户在所述密码设置界面为所述应用程序设置密码,然后将所述应用程序的特征信息作为标识关键字存储所述输入的密码,这样就实现了可以为开启应用锁开关的每个应用程序单独设置不同的密码,而不再是统一密码,满足用户的个性化需求,而且特征信息可以唯一标识应用程序,因此以特征信息作为标识关键字存储所述输入的密码也可以更好区分密码与应用程序的对应关系。It can be seen from this embodiment that after detecting that the application lock switch of the application is turned on, the present disclosure will display the password setting interface of the application to the user, and the user can set a password for the application on the password setting interface , and then use the feature information of the application program as an identification key to store the input password, so that a different password can be set separately for each application program that turns on the application lock switch, instead of a unified password, satisfying According to the individual needs of the user, and the characteristic information can uniquely identify the application program, so storing the input password by using the characteristic information as an identification key can also better distinguish the corresponding relationship between the password and the application program.

图2是本公开根据一示例性实施例示出的一种应用程序安全处理方法的另一流程图。Fig. 2 is another flowchart of an application program security processing method according to an exemplary embodiment of the present disclosure.

如图2所示,该方法可以应用于移动终端中,包括以下步骤:As shown in Figure 2, the method can be applied to a mobile terminal, including the following steps:

在步骤201中,检测应用程序的应用锁开关的状态。In step 201, the state of the application lock switch of the application program is detected.

在步骤202中,检测到应用程序的应用锁开关被开启后,显示所述应用程序的密码设置界面。In step 202, after it is detected that the application lock switch of the application is turned on, the password setting interface of the application is displayed.

本公开在检测到开启某个应用程序的应用锁开关的时候,显示所述应用程序的密码设置界面,该界面中提供单独密码设置按钮。例如用户在应用锁设置列表中,点击其中一个条目跳转到当前点击应用程序的密码设置界面,该密码设置界面提供设置密码的按钮。In the present disclosure, when an application lock switch of an application is detected to be turned on, a password setting interface of the application is displayed, and an individual password setting button is provided in the interface. For example, in the application lock setting list, the user clicks one of the items to jump to the password setting interface of the currently clicked application, and the password setting interface provides a button for setting a password.

在步骤203中,获取在所述密码设置界面为所述应用程序输入的密码和获取绑定的用户账号。In step 203, the password input for the application program on the password setting interface and the bound user account are acquired.

该步骤可以获取在所述密码设置界面为所述应用程序输入的图形密码或数字密码,其中所述图形密码为绘制的图形密码或从候选图形中选择的图形密码。This step may acquire a graphic password or a digital password input for the application program on the password setting interface, wherein the graphic password is a drawn graphic password or a graphic password selected from candidate graphics.

该步骤获取用户为应用程序设置的单独密码,另外在设置单独密码时还可以绑定当前登陆的用户账号,可用于后续重置当前已经设置的单独密码时使用。需说明的是,除了采用绑定用户账号的方式外,也可以采用设置问题和答案的方式用于后续的密码重置。This step obtains the individual password set by the user for the application. In addition, when setting the individual password, it can also be bound to the currently logged-in user account, which can be used for subsequent reset of the currently set individual password. It should be noted that, in addition to the method of binding the user account, it is also possible to use the method of setting questions and answers for subsequent password resets.

在步骤204中,将所述应用程序的包名作为标识关键字存储所述密码。In step 204, the password is stored using the package name of the application program as an identification key.

当用户给某个应用程序设置单独密码时,本公开以应用程序的包名(packagename)作为标识关键字KEY存储密码,应用程序的包名可以唯一标识应用程序。另外为了安全,密码可以采用设定算法进行加密,例如采用SHA-1(Secure Hash Algorithm-1,安全散列算法第1版本)算法加密存储。When a user sets an individual password for an application program, the present disclosure uses the package name (packagename) of the application program as an identification keyword KEY to store the password, and the package name of the application program can uniquely identify the application program. In addition, for safety, the password can be encrypted using a set algorithm, such as SHA-1 (Secure Hash Algorithm-1, Secure Hash Algorithm Version 1) algorithm for encrypted storage.

在步骤205中,在接收到修改密码指令后,显示所述应用程序的密码修改界面,获取在所述密码修改界面为所述应用程序修改的密码并存储。In step 205, after receiving the password modification instruction, display the password modification interface of the application program, obtain and store the password modified for the application program in the password modification interface.

本公开在应用程序单独密码设置中,还可以提供密码修改,用户可以修改某个应用程序的单独密码,即在接收到修改密码指令后,显示所述应用程序的密码修改界面,获取在所述密码修改界面为所述应用程序修改的密码并存储。This disclosure can also provide password modification in the application program individual password setting, and the user can modify the individual password of a certain application program, that is, after receiving the password modification instruction, the password modification interface of the application program is displayed, and the user can obtain the password modification interface in the application program. The password modification interface is the password modified by the application program and stored.

在步骤206中,在接收到重置密码指令后,如果判断出所述应用程序已经绑定用户账号且所述用户账号验证成功,显示所述应用程序的密码重置界面,获取在所述密码重置界面为所述应用程序重置的密码并存储。In step 206, after receiving the reset password instruction, if it is determined that the application has been bound to the user account and the user account verification is successful, the password reset interface of the application is displayed, and the password reset interface obtained in the password is obtained. The reset interface resets the password for the application and stores it.

本公开还提供单独密码忘记后的重置功能,为用户在解锁页面提供忘记密码按钮,检测到用户点击忘记密码时,先判断是否已经绑定用户账号,如果已绑定用户账号,则弹出用户账号验证页面,在用户账号验证成功后,进入到单独密码重置界面,获取在所述密码重置界面为所述应用程序重置的单独密码并存储。如果判断出未绑定用户账号,提示用户未绑定用户账号不能重置密码。This disclosure also provides a reset function after the individual password is forgotten, and provides the user with a forgotten password button on the unlock page. When it is detected that the user clicks the forgotten password, it first determines whether the user account has been bound. On the account verification page, after the user account verification is successful, enter the individual password reset interface, obtain and store the individual password reset for the application program on the password reset interface. If it is determined that the user account is not bound, the user is prompted that the password cannot be reset for the unbound user account.

需说明的是,上述步骤205和206没有必然的顺序关系。It should be noted that the above-mentioned steps 205 and 206 do not necessarily have a sequence relationship.

从该实施例可以发现,本公开除了可以为开启应用锁开关的每个应用程序单独设置不同的密码,满足用户的个性化需求之外,还可以提供密码修改功能,在接收到修改密码指令后,显示所述应用程序的密码修改界面,然后获取在所述密码修改界面为所述应用程序修改的密码并存储。本公开在忘记密码时还提供密码重置功能,在接收到重置密码指令后,如果判断出所述应用程序已经绑定用户账号且所述用户账号验证成功,显示所述应用程序的密码重置界面,然后获取在所述密码重置界面为所述应用程序重置的密码并存储。It can be found from this embodiment that, in addition to setting a different password for each application program that turns on the application lock switch to meet the individual needs of users, this disclosure can also provide a password modification function. After receiving the password modification instruction , displaying the password modification interface of the application program, and then acquiring and storing the password modified for the application program on the password modification interface. This disclosure also provides a password reset function when the password is forgotten. After receiving the password reset instruction, if it is determined that the application has been bound to the user account and the user account is successfully verified, the password reset function of the application is displayed. configuration interface, and then obtain and store the password reset for the application on the password reset interface.

图3是本公开根据一示例性实施例示出的一种应用程序安全处理方法的另一流程图。Fig. 3 is another flowchart of an application program security processing method according to an exemplary embodiment of the present disclosure.

如图3所示,该方法可以应用于移动终端中,包括以下步骤:As shown in Figure 3, the method can be applied to a mobile terminal, including the following steps:

在步骤301中,对已经开启应用锁开关的应用程序进行解锁时,获取所述应用程序的特征信息。In step 301, when unlocking an application program whose application lock switch has been turned on, the characteristic information of the application program is acquired.

所述应用程序的特征信息,例如可以是应用程序的包名但不局限于此。应用程序的包名可用于唯一标识应用程序。The feature information of the application program may be, for example, the package name of the application program but is not limited thereto. An application's package name can be used to uniquely identify the application.

在步骤302中,在根据所述特征信息查询到所述应用程序设置了密码时,校验为所述应用程序设置的单独密码。In step 302, when it is found that a password is set for the application program according to the feature information, the separate password set for the application program is verified.

从该实施例可以发现,本公开为用户实现可以为开启应用锁开关的每个应用程序单独设置不同的密码的功能后,在对已经开启应用锁开关的应用程序进行解锁时,可以获取所述应用程序的特征信息,然后可以根据所述特征信息查询所述应用程序是否设置了密码,如果设置了密码,则校验所述应用程序设置的单独密码,从而保护了应用程序安全。It can be found from this embodiment that after the present disclosure realizes the function of setting a different password for each application program that has turned on the application lock switch, the user can obtain the password when unlocking the application program that has turned on the application lock switch. According to the feature information of the application program, it can be inquired whether the application program has set a password according to the feature information, and if a password is set, then verify the separate password set by the application program, thereby protecting the security of the application program.

图4是本公开根据一示例性实施例示出的一种应用程序安全处理方法的另一流程图。Fig. 4 is another flowchart of an application program security processing method according to an exemplary embodiment of the present disclosure.

如图4所示,该方法可以应用于移动终端中,包括以下步骤:As shown in Figure 4, the method can be applied to a mobile terminal, including the following steps:

在步骤401中,对已经开启应用锁开关的应用程序进行解锁时,获取所述应用程序的包名信息。In step 401, when unlocking an application program whose application lock switch has been turned on, the package name information of the application program is obtained.

在步骤402中,在根据所述应用程序的包名信息查询到所述应用程序设置了密码时,校验为所述应用程序设置的单独密码。In step 402, when it is found that a password is set for the application program according to the package name information of the application program, the separate password set for the application program is verified.

本公开在解锁应用程序时,首先判断当前应用程序是否已经设置了单独密码。可以从解锁应用程序中获取到包名信息,根据包名信息可以查询存储的密码是否存在来判断是否已经设置单独密码,如果查到密码存在,表示已经设置单独密码,那么就校验单独密码,否则转入步骤403校验统一密码。In the disclosure, when unlocking an application program, firstly, it is determined whether a separate password has been set for the current application program. The package name information can be obtained from the unlocking application. According to the package name information, you can query whether the stored password exists to determine whether a separate password has been set. If the password exists, it means that a separate password has been set, and then verify the separate password. Otherwise, go to step 403 to verify the unified password.

在步骤403中,在根据所述特征信息查询到所述应用程序未设置密码时,校验为所述应用程序设置的统一密码。In step 403, when it is found that no password is set for the application program according to the feature information, the unified password set for the application program is verified.

需说明的是,上述步骤402和403没有必然的顺序关系。It should be noted that the above steps 402 and 403 do not necessarily have a sequence relationship.

与前述应用功能实现方法实施例相对应,本公开还提供了一种应用程序安全处理装置及相应的实施例。Corresponding to the aforementioned embodiments of the method for implementing application functions, the present disclosure also provides an application program security processing device and corresponding embodiments.

图5是本公开根据一示例性实施例示出的一种应用程序安全处理装置的框图。Fig. 5 is a block diagram of an application program security processing device according to an exemplary embodiment of the present disclosure.

该装置可以是位于移动终端中。参照图5,在一种应用程序安全处理装置中可以包括:第一显示模块51、密码设置模块52。The device may be located in a mobile terminal. Referring to FIG. 5 , an application security processing device may include: a first display module 51 and a password setting module 52 .

第一显示模块51,用于检测到应用程序的应用锁开关被开启后,显示所述应用程序的密码设置界面。The first display module 51 is configured to display the password setting interface of the application after detecting that the application lock switch of the application is turned on.

密码设置模块52,用于获取在所述第一显示模块51显示的密码设置界面为所述应用程序输入的密码,将所述应用程序的特征信息作为标识关键字存储所述密码。The password setting module 52 is configured to obtain the password input for the application program on the password setting interface displayed by the first display module 51, and store the password using the feature information of the application program as an identification key.

其中,所述应用程序的特征信息,例如可以是应用程序的包名但不局限于此。应用程序的包名可用于唯一标识应用程序。Wherein, the characteristic information of the application program may be, for example, the package name of the application program but is not limited thereto. An application's package name can be used to uniquely identify the application.

由该实施例可见,本公开在检测到应用程序的应用锁开关被开启后,会向用户显示所述应用程序的密码设置界面,可以由用户在所述密码设置界面为所述应用程序设置密码,然后将所述应用程序的特征信息作为标识关键字存储所述输入的密码,这样就实现了可以为开启应用锁开关的每个应用程序单独设置不同的密码,而不再是统一密码,满足用户的个性化需求,而且特征信息可以唯一标识应用程序,因此以特征信息作为标识关键字存储所述输入的密码也可以更好区分密码与应用程序的对应关系。It can be seen from this embodiment that after detecting that the application lock switch of the application is turned on, the present disclosure will display the password setting interface of the application to the user, and the user can set a password for the application on the password setting interface , and then use the feature information of the application program as an identification key to store the input password, so that a different password can be set separately for each application program that turns on the application lock switch, instead of a unified password, satisfying According to the individual needs of the user, and the characteristic information can uniquely identify the application program, so storing the input password by using the characteristic information as an identification key can also better distinguish the corresponding relationship between the password and the application program.

图6是本公开根据一示例性实施例示出的一种应用程序安全处理装置的另一框图。Fig. 6 is another block diagram of an application program security processing device according to an exemplary embodiment of the present disclosure.

参照图6,在一种应用程序安全处理装置中可以包括:第一显示模块51、密码设置模块52、绑定模块53、第二显示模块54、密码修改模块55、第三显示模块56、密码重置模块57。Referring to Fig. 6, an application security processing device may include: a first display module 51, a password setting module 52, a binding module 53, a second display module 54, a password modification module 55, a third display module 56, a password Reset module 57.

第一显示模块51、密码设置模块52的功能可以参见图5描述。The functions of the first display module 51 and the password setting module 52 can be described with reference to FIG. 5 .

其中,密码设置模块52存储密码时可以采用设定算法进行加密,例如采用SHA-1(Secure Hash Algorithm-1,安全散列算法第一版本)算法加密存储。Wherein, the password setting module 52 may use a set algorithm for encryption when storing the password, for example, use SHA-1 (Secure Hash Algorithm-1, the first version of Secure Hash Algorithm) algorithm for encrypted storage.

其中,所述密码设置模块52将所述应用程序的包名作为标识关键字存储所述密码。应用程序的包名可用于唯一标识应用程序。Wherein, the password setting module 52 uses the package name of the application program as an identification key to store the password. An application's package name can be used to uniquely identify the application.

绑定模块53,用于在为所述应用程序输入密码时绑定用户账号,可用于后续密码重置时进行验证。The binding module 53 is configured to bind the user account when entering the password for the application program, and can be used for verification when the subsequent password is reset.

第二显示模块54,用于在接收到修改密码指令后,显示所述应用程序的密码修改界面。The second display module 54 is configured to display the password modification interface of the application program after receiving the password modification instruction.

密码修改模块55,用于获取在所述第二显示模块54显示的密码修改界面为所述应用程序修改的密码并存储。The password modification module 55 is configured to obtain and store the password modified for the application program on the password modification interface displayed on the second display module 54 .

第三显示模块56,用于在接收到重置密码指令后,如果判断出所述应用程序已经绑定所述绑定模块53绑定的用户账号且所述用户账号验证成功,显示所述应用程序的密码重置界面。The third display module 56 is configured to display the application program if it is determined that the application program has been bound to the user account bound by the binding module 53 and the user account verification is successful after receiving the reset password instruction. The program's password reset interface.

密码重置模块57,用于获取在所述第三显示模块56显示的密码重置界面为所述应用程序重置的密码并存储。The password reset module 57 is configured to acquire and store the password reset for the application on the password reset interface displayed on the third display module 56 .

图7是本公开根据一示例性实施例示出的一种应用程序安全处理装置的另一框图。Fig. 7 is another block diagram of an application program security processing device according to an exemplary embodiment of the present disclosure.

该装置可以是位于移动终端中。参照图7,在一种应用程序安全处理装置中可以包括:特征获取模块71、第一校验模块72。The device may be located in a mobile terminal. Referring to FIG. 7 , an application program security processing apparatus may include: a feature acquisition module 71 and a first verification module 72 .

特征获取模块71,用于对已经开启应用锁开关的应用程序进行解锁时,获取所述应用程序的特征信息。The feature acquisition module 71 is configured to acquire feature information of the application program when unlocking the application program whose application lock switch has been turned on.

第一校验模块72,用于在根据所述特征获取模块71获取的特征信息查询到所述应用程序设置了密码时,校验为所述应用程序设置的单独密码。The first verification module 72 is configured to verify the separate password set for the application program when it is found that the application program has a password set according to the feature information acquired by the feature acquisition module 71 .

所述应用程序的特征信息,例如可以是应用程序的包名但不局限于此。The characteristic information of the application program may be, for example, the package name of the application program but is not limited thereto.

从该实施例可以发现,本公开为用户实现可以为开启应用锁开关的每个应用程序单独设置不同的密码的功能后,在对已经开启应用锁开关的应用程序进行解锁时,可以获取所述应用程序的特征信息,然后可以根据所述特征信息查询所述应用程序是否设置了密码,如果设置了密码,则校验所述应用程序设置的单独密码,从而保护了应用程序安全。It can be found from this embodiment that after the present disclosure realizes the function of setting a different password for each application program that has turned on the application lock switch, the user can obtain the password when unlocking the application program that has turned on the application lock switch. According to the feature information of the application program, it can be inquired whether the application program has set a password according to the feature information, and if a password is set, then verify the separate password set by the application program, thereby protecting the security of the application program.

图8是本公开根据一示例性实施例示出的一种应用程序安全处理装置的另一框图。Fig. 8 is another block diagram of an application program security processing device according to an exemplary embodiment of the present disclosure.

该装置可以是位于移动终端中。参照图8,在一种应用程序安全处理装置中可以包括:特征获取模块71、第一校验模块72、第二校验模块73。The device may be located in a mobile terminal. Referring to FIG. 8 , an application program security processing apparatus may include: a feature acquisition module 71 , a first verification module 72 , and a second verification module 73 .

特征获取模块71,用于对已经开启应用锁开关的应用程序进行解锁时,获取所述应用程序的特征信息。The feature acquisition module 71 is configured to acquire feature information of the application program when unlocking the application program whose application lock switch has been turned on.

第一校验模块72,用于在根据所述特征获取模块71获取的特征信息查询到所述应用程序设置了密码时,校验为所述应用程序设置的单独密码。The first verification module 72 is configured to verify the separate password set for the application program when it is found that the application program has a password set according to the feature information acquired by the feature acquisition module 71 .

第二校验模块73,用于在根据所述特征获取模块71获取的特征信息查询到所述应用程序未设置密码时,校验为所述应用程序设置的统一密码。The second verification module 73 is configured to verify the unified password set for the application program when it is found that the application program has no password set according to the feature information acquired by the feature acquisition module 71 .

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the device embodiment, since it basically corresponds to the method embodiment, for related parts, please refer to the part description of the method embodiment. The device embodiments described above are only illustrative, and the modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place , or can also be distributed to multiple network modules. Part or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. It can be understood and implemented by those skilled in the art without creative effort.

图9是本公开根据一示例性实施例示出的一种移动终端设备的一结构框图。Fig. 9 is a structural block diagram of a mobile terminal device according to an exemplary embodiment of the present disclosure.

参照图9,在移动终端设备中可以包括:处理器901和用于存储处理器901可执行指令的存储器902;Referring to FIG. 9, the mobile terminal device may include: a processor 901 and a memory 902 for storing instructions executable by the processor 901;

其中,处理器901被配置为:Wherein, the processor 901 is configured as:

检测到应用程序的应用锁开关被开启后,显示所述应用程序的密码设置界面;After detecting that the application lock switch of the application is turned on, display the password setting interface of the application;

获取在所述密码设置界面为所述应用程序输入的密码,将所述应用程序的特征信息作为标识关键字存储所述密码。Obtaining the password input for the application program on the password setting interface, and storing the password using the feature information of the application program as an identification key.

或者,所述处理器901被配置为:Alternatively, the processor 901 is configured to:

对已经开启应用锁开关的应用程序进行解锁时,获取所述应用程序的特征信息;Obtain feature information of the application when unlocking the application for which the application lock switch has been turned on;

在根据所述特征信息查询到所述应用程序设置了密码时,校验为所述应用程序设置的单独密码。When it is found that a password is set for the application program according to the feature information, the separate password set for the application program is verified.

还需说明的是,存储器902存储的其他程序,具体参见前面方法流程中的描述,此处不再赘述,处理器901还用于执行存储器902存储的其他程序。It should also be noted that for other programs stored in the memory 902 , refer to the description in the preceding method flow for details, and details are not repeated here. The processor 901 is also configured to execute other programs stored in the memory 902 .

图10是本公开根据一示例性实施例示出的一种设备的一结构框图。Fig. 10 is a structural block diagram of a device according to an exemplary embodiment of the present disclosure.

参照图10,例如,设备1000可以是具有路由功能的移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Referring to FIG. 10, for example, the device 1000 may be a mobile phone with a routing function, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

设备1000包括以下一个或多个组件:处理组件1002,存储器1004,电源组件1006,多媒体组件1008,音频组件1010,输入/输出(I/O)的接口1012,传感器组件1014,以及通信组件10110。Device 1000 includes one or more of the following components: processing component 1002, memory 1004, power supply component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communication component 10110.

处理组件1002通常控制设备1000的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1002可以包括一个或多个处理器1020来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1002可以包括一个或多个模块,便于处理组件1002和其他组件之间的交互。例如,处理组件1002可以包括多媒体模块,以方便多媒体组件1008和处理组件1002之间的交互。Processing component 1002 generally controls the overall operations of device 1000, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, processing component 1002 may include a multimedia module to facilitate interaction between multimedia component 1008 and processing component 1002 .

存储器1004被配置为存储各种类型的数据以支持在设备1000的操作。这些数据的示例包括用于在设备1000上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1004可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1004 is configured to store various types of data to support operations at the device 1000 . Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1004 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件1006为设备1000的各种组件提供电力。电源组件1006可以包括电源管理系统,一个或多个电源,及其他与为设备1000生成、管理和分配电力相关联的组件。The power supply component 1006 provides power to various components of the device 1000 . Power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1000 .

多媒体组件1008包括在设备1000和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1008包括一个前置摄像头和/或后置摄像头。当设备1000处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or a swipe action, but also detect duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 1008 includes a front camera and/or a rear camera. When the device 1000 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件1010被配置为输出和/或输入音频信号。例如,音频组件1010包括一个麦克风(MIC),当设备1000处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1004或经由通信组件10110发送。在一些实施例中,音频组件1010还包括一个扬声器,用于输出音频信号。The audio component 1010 is configured to output and/or input audio signals. For example, the audio component 1010 includes a microphone (MIC), which is configured to receive external audio signals when the device 1000 is in operation modes, such as call mode, recording mode and voice recognition mode. The received audio signal may be further stored in the memory 1004 or sent via the communication component 10110 . In some embodiments, the audio component 1010 also includes a speaker for outputting audio signals.

I/O接口1012为处理组件1002和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1012 provides an interface between the processing component 1002 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件1014包括一个或多个传感器,用于为设备1000提供各个方面的状态评估。例如,传感器组件1014可以检测到设备1000的打开/关闭状态,组件的相对定位,例如组件为设备1000的显示器和小键盘,传感器组件1014还可以检测设备1000或设备1000一个组件的位置改变,用户与设备1000接触的存在或不存在,设备1000方位或加速/减速和设备1000的温度变化。传感器组件1014可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1014还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1014还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1014 includes one or more sensors for providing status assessments of various aspects of device 1000 . For example, the sensor component 1014 can detect the open/closed state of the device 1000, the relative positioning of components, such as the display and the keypad of the device 1000, the sensor component 1014 can also detect the position change of the device 1000 or a component of the device 1000, and the user The presence or absence of contact with the device 1000, the device 1000 orientation or acceleration/deceleration and the temperature change of the device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件1016被配置为便于设备1000和其他设备之间有线或无线方式的通信。设备1000可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1016经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件1016还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 1016 is configured to facilitate wired or wireless communications between device 1000 and other devices. The device 1000 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,设备1000可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, device 1000 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1004,上述指令可由设备1000的处理器1020执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1004 including instructions, which can be executed by the processor 1020 of the device 1000 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

一种非临时性计算机可读存储介质,当存储介质中的指令由设备的处理器执行时,使得设备能够执行一种应用程序安全处理方法,方法包括:A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of the device, the device can execute an application security processing method, the method comprising:

检测到应用程序的应用锁开关被开启后,显示所述应用程序的密码设置界面;After detecting that the application lock switch of the application is turned on, display the password setting interface of the application;

获取在所述密码设置界面为所述应用程序输入的密码,将所述应用程序的特征信息作为标识关键字存储所述密码。Obtaining the password input for the application program on the password setting interface, and storing the password using the feature information of the application program as an identification key.

一种非临时性计算机可读存储介质,当存储介质中的指令由设备的处理器执行时,使得设备能够执行一种应用程序安全处理方法,方法包括:A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of the device, the device can execute an application security processing method, the method comprising:

对已经开启应用锁开关的应用程序进行解锁时,获取所述应用程序的特征信息;Obtain feature information of the application when unlocking the application for which the application lock switch has been turned on;

在根据所述特征信息查询到所述应用程序设置了密码时,校验为所述应用程序设置的单独密码。When it is found that a password is set for the application program according to the feature information, the separate password set for the application program is verified.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any modification, use or adaptation of the present disclosure. These modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1.一种应用程序安全处理方法,其特征在于,包括:1. A method for processing application security, characterized in that, comprising: 检测到应用程序的应用锁开关被开启后,显示所述应用程序的密码设置界面;After detecting that the application lock switch of the application is turned on, display the password setting interface of the application; 获取在所述密码设置界面为所述应用程序输入的密码,将所述应用程序的特征信息作为标识关键字存储所述密码。Obtaining the password input for the application program on the password setting interface, and storing the password using the feature information of the application program as an identification key. 2.根据权利要求1所述的方法,其特征在于,所述将所述应用程序的特征信息作为标识关键字存储所述密码,包括:2. The method according to claim 1, wherein storing the password using the characteristic information of the application program as an identification key comprises: 将所述应用程序的包名作为标识关键字存储所述密码。The password is stored using the package name of the application program as an identification key. 3.根据权利要求1所述的方法,其特征在于,所述获取在所述密码设置界面为所述应用程序输入的密码,包括:3. The method according to claim 1, wherein the obtaining the password input for the application program on the password setting interface comprises: 获取在所述密码设置界面为所述应用程序输入的图形密码或数字密码,其中所述图形密码为绘制的图形密码或从候选图形中选择的图形密码。Obtaining a graphic password or a digital password input for the application on the password setting interface, wherein the graphic password is a drawn graphic password or a graphic password selected from candidate graphics. 4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, wherein the method further comprises: 在接收到修改密码指令后,显示所述应用程序的密码修改界面;After receiving the password modification instruction, displaying the password modification interface of the application program; 获取在所述密码修改界面为所述应用程序修改的密码并存储;或者,Obtain and store the password modified for the application program on the password modification interface; or, 在接收到重置密码指令后,如果判断出所述应用程序已经绑定用户账号且所述用户账号验证成功,显示所述应用程序的密码重置界面;After receiving the reset password instruction, if it is determined that the application has been bound to the user account and the user account is verified successfully, displaying the password reset interface of the application; 获取在所述密码重置界面为所述应用程序重置的密码并存储。The password reset for the application program on the password reset interface is acquired and stored. 5.一种应用程序安全处理方法,其特征在于,包括:5. A method for processing application security, comprising: 对已经开启应用锁开关的应用程序进行解锁时,获取所述应用程序的特征信息;Obtain feature information of the application when unlocking the application for which the application lock switch has been turned on; 在根据所述特征信息查询到所述应用程序设置了密码时,校验为所述应用程序设置的单独密码。When it is found that a password is set for the application program according to the feature information, the separate password set for the application program is verified. 6.根据权利要求5所述的方法,其特征在于,所述方法还包括:6. The method according to claim 5, further comprising: 在根据所述特征信息查询到所述应用程序未设置密码时,校验为所述应用程序设置的统一密码。When it is found that no password is set for the application program according to the characteristic information, the unified password set for the application program is verified. 7.一种应用程序安全处理装置,其特征在于,包括:7. An application security processing device, characterized in that it comprises: 第一显示模块,用于检测到应用程序的应用锁开关被开启后,显示所述应用程序的密码设置界面;The first display module is used to display the password setting interface of the application program after detecting that the application lock switch of the application program is turned on; 密码设置模块,用于获取在所述第一显示模块显示的密码设置界面为所述应用程序输入的密码,将所述应用程序的特征信息作为标识关键字存储所述密码。The password setting module is configured to obtain the password input for the application program on the password setting interface displayed by the first display module, and store the password using the characteristic information of the application program as an identification key. 8.根据权利要求7所述的装置,其特征在于,所述装置还包括:8. The device according to claim 7, further comprising: 第二显示模块,用于在接收到修改密码指令后,显示所述应用程序的密码修改界面;The second display module is configured to display the password modification interface of the application program after receiving the password modification instruction; 密码修改模块,用于获取在所述第二显示模块显示的密码修改界面为所述应用程序修改的密码并存储;或者,A password modification module, configured to obtain and store the password modified for the application program on the password modification interface displayed on the second display module; or, 所述装置还包括:The device also includes: 第三显示模块,用于在接收到重置密码指令后,如果判断出所述应用程序已经绑定用户账号且所述用户账号验证成功,显示所述应用程序的密码重置界面;The third display module is used to display the password reset interface of the application program if it is determined that the application program has been bound to the user account and the user account verification is successful after receiving the password reset instruction; 密码重置模块,用于获取在所述第三显示模块显示的密码重置界面为所述应用程序重置的密码并存储。A password reset module, configured to obtain and store the password reset for the application on the password reset interface displayed on the third display module. 9.一种应用程序安全处理装置,其特征在于,包括:9. An application security processing device, comprising: 特征获取模块,用于对已经开启应用锁开关的应用程序进行解锁时,获取所述应用程序的特征信息;A feature acquisition module, configured to acquire feature information of the application when unlocking the application that has turned on the application lock switch; 校验模块,用于在根据所述特征获取模块获取的特征信息查询到所述应用程序设置了密码时,校验为所述应用程序设置的单独密码。A verification module, configured to verify the individual password set for the application program when it is found that a password is set for the application program according to the feature information acquired by the feature acquisition module. 10.一种移动终端设备,其特征在于,包括:10. A mobile terminal device, characterized in that it comprises: 处理器和用于存储处理器可执行指令的存储器;processor and memory for storing processor-executable instructions; 其中,所述处理器被配置为:Wherein, the processor is configured as: 检测到应用程序的应用锁开关被开启后,显示所述应用程序的密码设置界面;After detecting that the application lock switch of the application is turned on, display the password setting interface of the application; 获取在所述密码设置界面为所述应用程序输入的密码,将所述应用程序的特征信息作为标识关键字存储所述密码;或者,Obtaining the password input for the application program on the password setting interface, and storing the password using the characteristic information of the application program as an identification keyword; or, 所述处理器被配置为:The processor is configured to: 对已经开启应用锁开关的应用程序进行解锁时,获取所述应用程序的特征信息;Obtain feature information of the application when unlocking the application for which the application lock switch has been turned on; 在根据所述特征信息查询到所述应用程序设置了密码时,校验为所述应用程序设置的单独密码。When it is found that a password is set for the application program according to the feature information, the separate password set for the application program is verified.
CN201611153398.8A 2016-12-14 2016-12-14 Application program safe processing method, device and equipment Pending CN106611112A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611153398.8A CN106611112A (en) 2016-12-14 2016-12-14 Application program safe processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611153398.8A CN106611112A (en) 2016-12-14 2016-12-14 Application program safe processing method, device and equipment

Publications (1)

Publication Number Publication Date
CN106611112A true CN106611112A (en) 2017-05-03

Family

ID=58636423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611153398.8A Pending CN106611112A (en) 2016-12-14 2016-12-14 Application program safe processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN106611112A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763888A (en) * 2018-05-31 2018-11-06 平安医疗科技有限公司 Files on each of customers processing method, device, computer equipment and storage medium
CN108846272A (en) * 2018-07-13 2018-11-20 厦门美图移动科技有限公司 Application security management method and device and electronic equipment
CN110910533A (en) * 2018-08-27 2020-03-24 深圳市艾维普思科技有限公司 Password setting method and system of electronic cigarette, storage medium and electronic cigarette
CN113163049A (en) * 2021-05-07 2021-07-23 唐彦 Tool for realizing any application icon lock based on iOS platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087334A (en) * 2006-06-08 2007-12-12 北京恒基伟业投资发展有限公司 Multi-user management method of mobile phone information
CN102346831A (en) * 2011-10-31 2012-02-08 广东欧珀移动通信有限公司 Handheld device privacy encryption protection method for Android operating system
CN104268453A (en) * 2014-09-24 2015-01-07 可牛网络技术(北京)有限公司 Method and device for application program safety management for terminal equipment, and terminal
EP3016013A1 (en) * 2013-06-25 2016-05-04 Fujitsu Limited Information processing device, terminal device, information processing program, and information processing method
CN106156561A (en) * 2016-06-28 2016-11-23 北京小米移动软件有限公司 Application locking method, application unlocking method and a device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087334A (en) * 2006-06-08 2007-12-12 北京恒基伟业投资发展有限公司 Multi-user management method of mobile phone information
CN102346831A (en) * 2011-10-31 2012-02-08 广东欧珀移动通信有限公司 Handheld device privacy encryption protection method for Android operating system
EP3016013A1 (en) * 2013-06-25 2016-05-04 Fujitsu Limited Information processing device, terminal device, information processing program, and information processing method
CN104268453A (en) * 2014-09-24 2015-01-07 可牛网络技术(北京)有限公司 Method and device for application program safety management for terminal equipment, and terminal
CN106156561A (en) * 2016-06-28 2016-11-23 北京小米移动软件有限公司 Application locking method, application unlocking method and a device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763888A (en) * 2018-05-31 2018-11-06 平安医疗科技有限公司 Files on each of customers processing method, device, computer equipment and storage medium
CN108763888B (en) * 2018-05-31 2022-06-07 平安医疗科技有限公司 User profile processing method and device, computer equipment and storage medium
CN108846272A (en) * 2018-07-13 2018-11-20 厦门美图移动科技有限公司 Application security management method and device and electronic equipment
CN110910533A (en) * 2018-08-27 2020-03-24 深圳市艾维普思科技有限公司 Password setting method and system of electronic cigarette, storage medium and electronic cigarette
CN113163049A (en) * 2021-05-07 2021-07-23 唐彦 Tool for realizing any application icon lock based on iOS platform

Similar Documents

Publication Publication Date Title
US10425403B2 (en) Method and device for accessing smart camera
CN104765552A (en) Authority management method and device
CN105656948A (en) Account login method and device
WO2017031888A1 (en) Fingerprint recognition method and device
CN104376273A (en) Data access control method and device
CN106156561B (en) Application locking method, application unlocking method and device
CN106547216B (en) The method and device of intelligent scene trigger condition is set
WO2016155231A1 (en) Network access method and device
CN106446648A (en) Terminal control method and device
CN106909827A (en) Using account management method and device
CN106056010A (en) Method and apparatus for processing messages by terminal, and terminal
WO2018000710A1 (en) Method and device for displaying wifi signal icon and mobile terminal
CN106682463A (en) Unlocking method and device
CN106557679A (en) Terminal control method and device
CN107491681B (en) Fingerprint information processing method and device
CN106446653A (en) Application authority management method and device and electronic equipment
CN105677513A (en) Method and device for restoring backup data
CN106611112A (en) Application program safe processing method, device and equipment
CN106789070A (en) The decryption method of data, device and terminal
CN106600768A (en) Intelligent door lock authentication method, device and terminal
CN106022114A (en) A display method and device for an application lock unlocking interface
CN106250743B (en) Account switching method and device
CN106385470A (en) Information push method and device
CN105975283A (en) Starting method and device for operating system
CN106331337B (en) Method and device for starting terminal peripherals

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170503