WO2020057256A1 - 基于安卓系统的智能终端解锁方法、装置及智能终端 - Google Patents

基于安卓系统的智能终端解锁方法、装置及智能终端 Download PDF

Info

Publication number
WO2020057256A1
WO2020057256A1 PCT/CN2019/097815 CN2019097815W WO2020057256A1 WO 2020057256 A1 WO2020057256 A1 WO 2020057256A1 CN 2019097815 W CN2019097815 W CN 2019097815W WO 2020057256 A1 WO2020057256 A1 WO 2020057256A1
Authority
WO
WIPO (PCT)
Prior art keywords
unlocking
smart terminal
lock screen
party application
stack
Prior art date
Application number
PCT/CN2019/097815
Other languages
English (en)
French (fr)
Inventor
卢良
Original Assignee
珠海格力电器股份有限公司
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 珠海格力电器股份有限公司 filed Critical 珠海格力电器股份有限公司
Priority to US17/052,734 priority Critical patent/US11836231B2/en
Publication of WO2020057256A1 publication Critical patent/WO2020057256A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present application relates to the field of terminal lock screens, and in particular, to a method and device for unlocking a smart terminal based on an Android system, and a smart terminal.
  • the terminal In order to prevent the user from accidentally touching the terminal, the terminal usually has a lock screen function capable of displaying a single and fixed lock screen interface, thereby ensuring the safety of the user. Users can unlock the screen in various ways, such as passwords, patterns, fingerprints, etc. Among them, fingerprint unlocking has become a common function of smart mobile terminals. At the same time, the native interface often does not look particularly beautiful. In order to obtain a richer visual and functional experience, users often install some interface optimization types of applications, such as the lock screen application and the lock screen that comes with music software. Features, etc.
  • the present application provides a method and device for unlocking a smart terminal based on the Android system, and a smart terminal.
  • a method for unlocking a smart terminal based on an Android system including:
  • the smart terminal receives the user's system unlock operation, collects the unlock information, and determines whether the system is allowed to unlock based on the unlock information;
  • the system unlock information is a fingerprint.
  • the smart terminal obtains the running top-level task stack through the Activity manager, and determines whether it is a lock screen program of a third-party application according to the information of the top-level task stack.
  • closing the lock screen program of the third-party application includes: calling a system function, removing the activity at the top of the stack in the task stack, and closing the lock screen program of the third-party application.
  • the called system function uses a process provided by Android to remove a specific stack according to a stack id.
  • closing the lock screen of the third-party application includes actively removing the activity on the top of the running top-level task stack by actively sending the HOME key value to the Activity manager.
  • an Android terminal-based smart terminal unlocking device including:
  • a receiving module configured to receive a user's operation of the unlocking system, collect unlocking information, and determine whether to allow unlocking based on the unlocking information
  • a judging module for judging whether a lock screen program with a third-party application is running when the system is unlocked
  • An unlocking module is used to unlock the system.
  • the determining module includes:
  • An authentication unit is used to determine whether the top-level task stack obtained by the obtaining unit is a lock screen program of a third-party application.
  • the removing module includes a verification unit for verifying whether the top-level task stack obtained by the obtaining unit is not empty.
  • the removing module includes: a function calling unit, which is used to call a function to remove the activity at the top of the stack in the task stack.
  • the removing module includes:
  • the monitoring unit is used to monitor the HOME key and obtain the key value of the HOME key
  • the sending unit is configured to actively send the HOME key key value obtained by the monitoring unit to the Activity manager, and remove the Activity at the top of the stack in the task stack.
  • an interface conversion module is further included, which allows the unlocked interface in the bright screen state to be unlocked in the closed screen state through the interface conversion module if the screen of the smart terminal is in the bright screen state when the system is unlocked.
  • an intelligent terminal including:
  • the smart terminal is provided with a device for unlocking the system according to the foregoing embodiment.
  • the smart terminal receives the user ’s system unlock operation, collects the unlock information, and determines whether the system is allowed to unlock based on the unlock information. If the system is allowed to unlock, determine whether a lock screen program with a third-party application is running. If there is a lock screen program with a third-party application, Then close the lock screen program of the third-party application and unlock the system to enter the system interface; if there is no lock screen program of the third-party application, directly unlock the system to directly enter the system interface.
  • the installed application has a lock screen program, the user only needs to unlock once to enter the system desktop. The operation is simple and can quickly enter the desktop, which effectively improves the user's fluency and ensures the user experience.
  • Fig. 1 is a flow chart showing a method for unlocking a smart terminal based on an Android system according to an exemplary embodiment
  • Fig. 2 is a schematic diagram showing an Android system-based smart terminal unlocking device according to an exemplary embodiment
  • Fig. 3 is a schematic diagram showing a device for unlocking a smart terminal based on an Android system according to an exemplary embodiment.
  • the embodiment of the present application discloses a method for unlocking a smart terminal based on the Android system. As shown in FIG. 1, a flowchart of the method includes:
  • the smart terminal receives the operation of the user's unlocking system, and collects unlocking information
  • the smart terminal When the smart terminal is in the locked state, when the smart terminal detects the unlocking system operation triggered by the user, it collects information about the user's unlocking system operation;
  • the program for unlocking the system by the smart terminal is a fingerprint unlocking program, collecting information on the operation of the user to unlock the system is the fingerprint information of the user's unlocking operation;
  • the program of the smart terminal unlocking system is a face image unlocking program, collecting information of the operation of the user unlocking the system is the face image information of the user unlocking operation;
  • S102 Determine whether to allow unlocking according to the unlocking information
  • the smart terminal matches the collected unlocking information with a preset unlock password to determine whether the unlocking is allowed. If the matching fails, the unlocking is not allowed, then execute S103; if the matching is successful, the unlocking is allowed, and execute S104;
  • the smart terminal fails to match the collected unlocking information with a preset unlock password. If it determines that unlocking is not allowed, the unlocking operation is not performed.
  • S104 Determine whether a lock screen program with a third-party application is running
  • the smart terminal successfully matches the unlock information collected with a preset unlock password, determines that the unlock is allowed, and then calls the interface of the operating system, which obtains the information of the running top-level task stack to determine whether there is a running Lock screen program of a third-party application; if a lock screen program of a third-party application is running, execute S105; if there is no lock screen program of a third-party application, execute S106;
  • the smart terminal successfully matches the unlock information collected with the preset unlock password, determines that it is allowed to unlock, and then calls the operating system interface to obtain the information of the running top-level task stack according to the interface to determine that a third-party application lock is running.
  • the embodiment of the present application discloses an Android-based intelligent terminal unlocking device and a smart terminal.
  • the smart terminal is provided with the Android-based intelligent terminal unlocking device.
  • a schematic diagram of the device is shown in FIG. Judgment module 2, removal module 3, interface conversion module 4 and unlocking module 5;
  • the receiving module 1 is configured to receive the operation of the user's unlocking system, collect the unlocking information, and determine whether to allow the unlocking based on the unlocking information; when the receiving module 1 detects the operation of the unlocking system triggered by the user, collect the information of the user's unlocking system operation;
  • the receiving module 1 collects fingerprint information of a user's fingerprint unlocking operation
  • the receiving module 1 collects face image information of the user's face image unlocking operation
  • the determination module 2 is used to determine whether a lock screen program with a third-party application is running when the system is unlocked.
  • the determination module 2 includes: an obtaining unit 21 for obtaining a currently running top-level task stack; an identification unit 22 for For determining whether the top-level task stack obtained by the obtaining unit 21 is a lock screen program of a third-party application;
  • the obtaining unit 21 After obtaining the currently running top-level task stack, the obtaining unit 21 sends the obtained top-level task stack information to the evaluation unit 22, and the identification unit 22 determines whether it is a lock screen program of a third-party application according to the top-level task stack information; Task stack information includes the ID of the top task stack;
  • the removal module 3 is used to close the lock screen program of the third-party application when it is determined that there is a lock screen program of the third application; the removal module 3 includes a verification unit 31 for verifying the top layer obtained by the acquisition unit 21 Whether the task stack is not empty; a function call unit 32, which is used to call a function to remove the Activity at the top of the stack in the task stack;
  • the verification unit 31 verifies whether the top-level task stack obtained by the obtaining unit 21 is not empty. If not, the function calling unit 32 removes the The activity at the top of the stack in the task stack;
  • the interface conversion module 4 allows the unlocked interface in the bright screen state to be unlocked in the closed screen state through the interface conversion module 4 if the screen of the smart terminal is in the bright screen state when the system is unlocked;
  • the unlocking module 5 is configured to unlock the system lock screen interface; the unlocking module 5 unlocks the system according to the unlocking information collected by the receiving module 1.
  • the embodiment of the present application discloses an Android-based intelligent terminal unlocking device and a smart terminal.
  • the smart terminal is provided with the Android-based intelligent terminal unlocking device.
  • a schematic diagram of the device is shown in FIG. Judgment module 2, removal module 3, interface conversion module 4 and unlocking module 5;
  • the receiving module 1 is configured to receive the operation of the user's unlocking system, collect the unlocking information, and determine whether to allow the unlocking based on the unlocking information; when the receiving module 1 detects the operation of the unlocking system triggered by the user, collect the information of the user's unlocking system operation;
  • the receiving module 1 collects fingerprint information of a user's fingerprint unlocking operation
  • the receiving module 1 collects face image information of the user's face image unlocking operation
  • the determination module 2 is used to determine whether a lock screen program with a third-party application is running when the system is unlocked.
  • the determination module 2 includes: an obtaining unit 21 for obtaining a currently running top-level task stack; an identification unit 22 for For determining whether the top-level task stack obtained by the obtaining unit 21 is a lock screen program of a third-party application;
  • the obtaining unit 21 After obtaining the currently running top-level task stack, the obtaining unit 21 sends the obtained top-level task stack information to the evaluation unit 22, and the identification unit 22 determines whether it is a lock screen program of a third-party application according to the top-level task stack information; Task stack information includes the ID of the top task stack;
  • the removal module 3 is used to close the lock screen program of the third-party application when it is determined that there is a lock screen program of the third application.
  • the removal module 3 includes a monitoring unit 33 for monitoring the HOME key and obtaining HOME.
  • the key value of the key; the sending unit 34 is configured to actively send the HOME key key value obtained by the monitoring unit 33 to the Activity manager;
  • the authentication unit 22 is the lock screen program of the third-party application according to the top-level task stack obtained by the obtaining unit 21, the monitoring unit 33 obtains the key value of the HOME key, and the sending unit 34 actively sends the HOME key value obtained by the monitoring unit 33 to the Activity manager To remove the Activity at the top of the stack in the task stack;
  • the interface conversion module 4 allows the unlocked interface in the bright screen state to be unlocked in the closed screen state through the interface conversion module 4 if the screen of the smart terminal is in the bright screen state when the system is unlocked;
  • the unlocking module 5 is configured to unlock the system lock screen interface; the unlocking module 5 unlocks the system according to the unlocking information collected by the receiving module 1.
  • Any process or method description in a flowchart or otherwise described herein can be understood as a module, fragment, or portion of code that includes one or more executable instructions for implementing a particular logical function or step of a process
  • the scope of the alternative implementations of this application includes additional implementations, in which the functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved, which It should be understood by those skilled in the art to which the embodiments of the present application belong.
  • each part of the application may be implemented by hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it may be implemented using any one or a combination of the following techniques known in the art: Discrete logic circuits, application-specific integrated circuits with suitable combinational logic gate circuits, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
  • a person of ordinary skill in the art can understand that all or part of the steps carried by the methods in the foregoing embodiments can be implemented by a program instructing related hardware.
  • the program can be stored in a computer-readable storage medium.
  • the program is When executed, one or a combination of the steps of the method embodiment is included.
  • each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist separately physically, or two or more units may be integrated into one module.
  • the above integrated modules may be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
  • the aforementioned storage medium may be a read-only memory, a magnetic disk, or an optical disk.

Landscapes

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

Abstract

本申请涉及一种基于安卓系统的智能终端解锁方法、装置及智能终端。智能终端接收用户的系统解锁操作,采集解锁信息,根据解锁信息判断是否允许系统解锁;在若允许系统解锁,判断是否运行有第三方应用的锁屏程序;若有第三方应用的锁屏程序,则关闭第三方应用的锁屏程序,进行系统解锁,以进入系统界面;若没有第三方应用的锁屏程序,则直接进行系统解锁,以直接进入系统界面。对于安装的应用带有锁屏程序时,用户只需要进行一次解锁操作便能进入系统桌面的情况,操作简单,能快速进入桌面,有效提高了用户使用的流畅度,保障了用户使用体验。

Description

基于安卓系统的智能终端解锁方法、装置及智能终端
相关申请
本申请要求2018年09月18日申请的,申请号为201811088880.7,名称为“基于安卓系统的智能终端解锁方法、装置及智能终端”的中国专利申请的优先权,在此将其全文引入作为参考。
技术领域
本申请涉及终端锁屏领域,具体涉及基于安卓系统的智能终端解锁方法、装置及智能终端。
背景技术
随着科学技术飞速的发展,各种终端不断的丰富并方便了大众生活。为了避免用户对终端的误触操作,终端通常具有能够显示单一且固定不变的锁屏界面的锁屏功能,从而保证用户的使用安全。用户可通过多种方式解锁屏幕如密码、图案、指纹等,其中指纹解锁已经成为智能移动终端常见功能。同时,原生的界面往往看起来都不是特别美观,用户为了获得更丰富的视觉及功能的体验,往往都会安装一些界面优化类型的应用程序,例如,锁屏应用程序、音乐软件自带的锁屏功能等。由于操作系统本身已经配置了锁屏功能及相应的锁屏界面,当用户安装锁屏应用程序后,会出现需要进行两次解锁才能进入系统桌面的情况,用户操作过于复杂,不能快速进入桌面,影响用户使用的流畅度。
发明内容
为至少在一定程度上克服相关技术中存在的问题,本申请提供基于安卓系统的智能终端解锁方法、装置及智能终端。
根据本申请实施例的第一方面,提供一种基于安卓系统的智能终端解锁方法,包括:
智能终端接收用户的系统解锁操作,采集解锁信息,根据解锁信息判断是否允许系统解锁;
在若允许系统解锁,判断是否运行有第三方应用的锁屏程序;
若有第三方应用的锁屏程序,则关闭第三方应用的锁屏程序,进行系统解锁,以进入系统界面;
若没有第三方应用的锁屏程序,则直接进行系统解锁,以直接进入系统界面。
在其中一个实施例中,所述系统解锁信息为指纹。
在其中一个实施例中,智能终端通过Activity管理器获取正在运行的顶层任务栈,根据所述顶层任务栈的信息,判断是否为第三方应用的锁屏程序。
在其中一个实施例中,关闭第三方应用的锁屏程序包括:调用系统函数,移除所述任务栈中栈顶的Activity,关闭第三方应用的锁屏程序。
在其中一个实施例中,所述调用的系统函数使用Android提供的根据堆栈id去除具体堆栈的流程。
在其中一个实施例中,关闭第三方应用的锁屏程序包括,通过主动发送HOME键键值至Activity管理器,移除正在运行的顶层任务栈中栈顶的Activity。
根据本申请实施例的第二方面,提供一种基于安卓系统的智能终端解锁装置,包括:
接收模块,用于接收用户的解锁系统的操作,采集解锁信息,根据解锁信息判断是否允许解锁;
判断模块,允许系统解锁时,用于判断是否运行有第三方应用的锁屏程序;
移除模块,判断有第三应用的锁屏程序时,用于关闭第三方应用的锁屏程序;
解锁模块,用于对系统进行解锁。
在其中一个实施例中,所述判断模块包括:
获取单元,用于获取当前正在运行的顶层任务栈;
鉴定单元,用于判断获取单元获取的顶层任务栈是否为第三方应用的锁屏程序。
在其中一个实施例中,所述移除模块包括验证单元,用于验证获取单元获取的顶层任务栈是否非空。
在其中一个实施例中,所述移除模块包括:函数调用单元,用于调用函数移除所述任务栈中栈顶的Activity。
在其中一个实施例中,所述移除模块包括:
监听单元,用于监听HOME键,并获取HOME键的键值;
发送单元,用于主动发送监听单元获取的HOME键键值至Activity管理器,移除所述任务栈中栈顶的Activity。
在其中一个实施例中,还包括接口转换模块,允许系统解锁时若智能终端屏幕为亮屏状态,通过接口转换模块将亮屏状态下的解锁接口转换为息屏状态下的解锁接口。
根据本申请实施例的第三方面,提供一种智能终端,包括:
所述智能终端上设有上述实施例所述的解锁系统的装置。
本申请的实施例提供的技术方案可以包括以下有益效果:
智能终端接收用户的系统解锁操作,采集解锁信息,根据解锁信息判断是否允许系统解锁;在若允许系统解锁,判断是否运行有第三方应用的锁屏程序;若有第三方应用的锁屏程序,则关闭第三方应用的锁屏程序,进行系统解锁,以进入系统界面;若没有第三方应用的锁屏程序,则直接进行系统解锁,以直接进入系统界面。对于安装的应用带有锁屏程序时,用户只需要进行一次解锁操作便能进入系统桌面的情况,操作简单,能快速进入桌面,有效提高了用户使用的流畅度,保障了用户使用体验。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。
图1是根据一示例性实施例示出的一种基于安卓系统的智能终端解锁方法的流程图;
图2是根据一示例性实施例示出的一种基于安卓系统的智能终端解锁装置的示意图;
图3是根据一示例性实施例示出的一种基于安卓系统的智能终端解锁装置的示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请的一部分实施例,而不是全部的实施例。
本申请实施例公开了基于安卓系统的智能终端解锁方法,该方法的流程图如图1所示,包括:
S101:智能终端接收用户的解锁系统的操作,采集解锁信息;
智能终端在锁定状态下,智能终端检测到用户触发的解锁系统操作时,采集用户解锁系统的操作的信息;
若智能终端解锁系统的程序为指纹解锁程序,则采集用户解锁系统的操作的信息为用户解锁操作的指纹信息;
若智能终端解锁系统的程序为人脸图像解锁程序,则采集用户解锁系统的操作的信息为用户解锁操作的人脸图像信息;
S102:根据解锁信息判断是否允许解锁;
智能终端将采集到的解锁信息与预先设定的解锁密码进行匹配,判断是否允许解锁, 若匹配失败,则不允许解锁,则执行S103;若匹配成功,则允许解锁,执行S104;
S103:不执行解锁操作;
智能终端将采集到的解锁信息与预先设定的解锁密码匹配失败,判断不允许解锁,则不执行解锁操作;
S104:判断是否运行有第三方应用的锁屏程序;
智能终端将采集到的解锁信息与预先设定的解锁密码匹配成功,判断为允许解锁,再通过调用操作系统的接口,所述接口获取正在运行的顶层任务栈的信息,用于判断是否运行有第三方应用的锁屏程序;若运行有第三方应用的锁屏程序,则执行S105;若未运行有第三方应用的锁屏程序,则执行S106;
S105:关闭第三方应用的锁屏程序;
智能终端将采集到的解锁信息与预先设定的解锁密码匹配成功,判断为允许解锁,再通过调用操作系统的接口,根据接口获取正在运行的顶层任务栈的信息判断运行有第三方应用的锁屏程序;
根据所述接口获取正在运行的顶层任务栈的信息,通过调用系统函数,所述任务栈中栈顶的Activity,关闭第三方应用的锁屏程序;调用的系统函数使用Android提供的根据堆栈id去除具体堆栈的流程;
通过主动发送HOME键键值至Activity管理器,移除正在运行的顶层任务栈中栈顶的Activity,关闭第三方应用的锁屏程序;
S106:进行系统解锁,进入系统界面;
若智能终端的屏幕为息屏状态,则进行息屏状态下的系统解锁,直接进入系统界面;
若智能终端的屏幕为亮屏状态,则改用息屏状态解锁的接口,在息屏状态下的系统解锁,将原来原生的锁屏界面的动画消除,直接进入系统界面。
具体实施例一
本申请实施例公开了基于安卓系统的智能终端解锁装置及智能终端,该智能终端上设有上述基于安卓系统的智能终端解锁装置,该装置的示意图如图2所示,包括:接收模块1、判断模块2、移除模块3、接口转换模块4及解锁模块5;
所述接收模块1,用于接收用户的解锁系统的操作,采集解锁信息,根据解锁信息判断是否允许解锁;接收模块1检测到用户触发的解锁系统操作时,采集用户解锁系统的操作的信息;
若解锁系统的程序为指纹解锁程序,则接收模块1采集用户指纹解锁操作的指纹信息;
若解锁系统的解锁系统的程序为人脸图像解锁程序,则接收模块1采集用户人脸图像 解锁操作的人脸图像信息;
所述判断模块2,允许系统解锁时,用于判断是否运行有第三方应用的锁屏程序;判断模块2包括:获取单元21,用于获取当前正在运行的顶层任务栈;鉴定单元22,用于判断获取单元21获取的顶层任务栈是否为第三方应用的锁屏程序;
获取单元21获取当前正在运行的顶层任务栈后,将获取的顶层任务栈信息发送给鉴定单元22,鉴定单元22根据所述顶层任务栈信息判断是否为第三方应用的锁屏程序;获取的顶层任务栈信息包括顶层任务栈的ID;
所述移除模块3,判断有第三应用的锁屏程序时,用于关闭第三方应用的锁屏程序;所述移除模块3包括:验证单元31,用于验证获取单元21获取的顶层任务栈是否非空;函数调用单元32,用于调用函数移除所述任务栈中栈顶的Activity;
鉴定单元22根据获取单元21获取的顶层任务栈为第三方应用的锁屏程序后,验证单元31再验证获取单元21获取的顶层任务栈是否非空,若非空,函数调用单元32的移除所述任务栈中栈顶的Activity;
所述接口转换模块4,允许系统解锁时若智能终端屏幕为亮屏状态,通过接口转换模块4将亮屏状态下的解锁接口转换为息屏状态下的解锁接口;
所述解锁模块5,用于对系统锁屏界面进行解锁;解锁模块5根据接收模块1采集的解锁信息对系统进行解锁。
具体实施例二
本申请实施例公开了基于安卓系统的智能终端解锁装置及智能终端,该智能终端上设有上述基于安卓系统的智能终端解锁装置,该装置的示意图如图3所示,包括:接收模块1、判断模块2、移除模块3、接口转换模块4和解锁模块5;
所述接收模块1,用于接收用户的解锁系统的操作,采集解锁信息,根据解锁信息判断是否允许解锁;接收模块1检测到用户触发的解锁系统操作时,采集用户解锁系统的操作的信息;
若解锁系统的程序为指纹解锁程序,则接收模块1采集用户指纹解锁操作的指纹信息;
若解锁系统的解锁系统的程序为人脸图像解锁程序,则接收模块1采集用户人脸图像解锁操作的人脸图像信息;
所述判断模块2,允许系统解锁时,用于判断是否运行有第三方应用的锁屏程序;判断模块2包括:获取单元21,用于获取当前正在运行的顶层任务栈;鉴定单元22,用于判断获取单元21获取的顶层任务栈是否为第三方应用的锁屏程序;
获取单元21获取当前正在运行的顶层任务栈后,将获取的顶层任务栈信息发送给鉴 定单元22,鉴定单元22根据所述顶层任务栈信息判断是否为第三方应用的锁屏程序;获取的顶层任务栈信息包括顶层任务栈的ID;
所述移除模块3,判断有第三应用的锁屏程序时,用于关闭第三方应用的锁屏程序;所述移除模块3包括:监听单元33,用于监听HOME键,并获取HOME键的键值;发送单元34,用于主动发送监听单元33获取的HOME键键值至Activity管理器;
鉴定单元22根据获取单元21获取的顶层任务栈为第三方应用的锁屏程序后,监听单元33获取HOME键的键值,发送单元34主动发送监听单元33获取的HOME键键值至Activity管理器,移除所述任务栈中栈顶的Activity;
所述接口转换模块4,允许系统解锁时若智能终端屏幕为亮屏状态,通过接口转换模块4将亮屏状态下的解锁接口转换为息屏状态下的解锁接口;
所述解锁模块5,用于对系统锁屏界面进行解锁;解锁模块5根据接收模块1采集的解锁信息对系统进行解锁。
可以理解,本申请是通过一些实施例进行描述的,本领域技术人员知悉的,在不脱离本申请的精神和范围的情况下,可以对这些特征和实施例进行各种改变或等效替换。另外,在本申请的教导下,可以对这些特征和实施例进行修改以适应具体的情况及材料而不会脱离本申请的精神和范围。因此,本申请不受此处所公开的具体实施例的限制,所有落入本申请的权利要求范围内的实施例都属于本申请所保护的范围内。
可以理解的是,上述各实施例中相同或相似部分可以相互参考,在一些实施例中未详细说明的内容可以参见其他实施例中相同或相似的内容。
需要说明的是,在本申请的描述中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本申请的描述中,除非另有说明,“多个”的含义是指至少两个。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的可选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路 的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (13)

  1. 一种基于安卓系统的智能终端解锁方法,其特征在于,包括:
    智能终端接收用户的系统解锁操作,采集解锁信息,根据解锁信息判断是否允许系统解锁;
    在若允许系统解锁,判断是否运行有第三方应用的锁屏程序;
    若有第三方应用的锁屏程序,则关闭第三方应用的锁屏程序,进行系统解锁,以进入系统界面;
    若没有第三方应用的锁屏程序,则直接进行系统解锁,以直接进入系统界面。
  2. 根据权利要求1所述的基于安卓系统的智能终端解锁方法,其特征在于,所述系统解锁信息为指纹。
  3. 根据权利要求1所述的基于安卓系统的智能终端解锁方法,其特征在于,智能终端通过Activity管理器获取正在运行的顶层任务栈,根据所述顶层任务栈的信息,判断是否为第三方应用的锁屏程序。
  4. 根据权利要求3所述的基于安卓系统的智能终端解锁方法,其特征在于,关闭第三方应用的锁屏程序包括:调用系统函数,移除所述任务栈中栈顶的Activity,关闭第三方应用的锁屏程序。
  5. 根据权利要求4所述的基于安卓系统的智能终端解锁方法,其特征在于,所述调用的系统函数使用Android提供的根据堆栈id去除具体堆栈的流程。
  6. 根据权利要求3所述的基于安卓系统的智能终端解锁方法,其特征在于,关闭第三方应用的锁屏程序包括,通过主动发送HOME键键值至Activity管理器,移除正在运行的顶层任务栈中栈顶的Activity。
  7. 基于安卓系统的智能终端解锁装置,其特征在于,包括:
    接收模块,用于接收用户的解锁系统的操作,采集解锁信息,根据解锁信息判断是否允许解锁;
    判断模块,允许系统解锁时,用于判断是否运行有第三方应用的锁屏程序;
    移除模块,判断有第三应用的锁屏程序时,用于关闭第三方应用的锁屏程序;
    解锁模块,用于对系统进行解锁。
  8. 根据权利要求7所述的基于安卓系统的智能终端解锁装置,其特征在于,所述判断模块包括:
    获取单元,用于获取当前正在运行的顶层任务栈;
    鉴定单元,用于判断获取单元获取的顶层任务栈是否为第三方应用的锁屏程序。
  9. 根据权利要求8所述的基于安卓系统的智能终端解锁装置,其特征在于,所述移除模块包括验证单元,用于验证获取单元获取的顶层任务栈是否非空。
  10. 根据权利要求8或9所述的基于安卓系统的智能终端解锁装置,其特征在于,所述移除模块包括:函数调用单元,用于调用函数移除所述任务栈中栈顶的Activity。
  11. 根据权利要求8所述的基于安卓系统的智能终端解锁装置,其特征在于,所述移除模块包括:
    监听单元,用于监听HOME键,并获取HOME键的键值;
    发送单元,用于主动发送监听单元获取的HOME键键值至Activity管理器,移除所述任务栈中栈顶的Activity。
  12. 根据权利要求7所述的基于安卓系统的智能终端解锁装置,其特征在于,还包括接口转换模块,允许系统解锁时若智能终端屏幕为亮屏状态,通过接口转换模块将亮屏状态下的解锁接口转换为息屏状态下的解锁接口。
  13. 智能终端,其特征在于:所述智能终端上设有权利要求7-12任一所述的解锁系统的装置。
PCT/CN2019/097815 2018-09-18 2019-07-26 基于安卓系统的智能终端解锁方法、装置及智能终端 WO2020057256A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/052,734 US11836231B2 (en) 2018-09-18 2019-07-26 Android system-based smart terminal unlocking method and device, and smart terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811088880.7A CN110908740A (zh) 2018-09-18 2018-09-18 基于安卓系统的智能终端解锁方法、装置及智能终端
CN201811088880.7 2018-09-18

Publications (1)

Publication Number Publication Date
WO2020057256A1 true WO2020057256A1 (zh) 2020-03-26

Family

ID=69813138

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/097815 WO2020057256A1 (zh) 2018-09-18 2019-07-26 基于安卓系统的智能终端解锁方法、装置及智能终端

Country Status (3)

Country Link
US (1) US11836231B2 (zh)
CN (1) CN110908740A (zh)
WO (1) WO2020057256A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114020338A (zh) * 2021-10-29 2022-02-08 郑州阿帕斯数云信息科技有限公司 第三方锁屏服务的调用方法及装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114611118A (zh) * 2022-05-12 2022-06-10 麒麟软件有限公司 基于Linux系统的安卓多窗口应用锁屏的方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090264159A1 (en) * 2008-04-17 2009-10-22 Htc Corporation Method for unlocking screen, mobile electronic device using the same and storage medium thereof
CN104536836A (zh) * 2015-01-16 2015-04-22 宇龙计算机通信科技(深圳)有限公司 基于双系统的同步解锁方法及系统
CN105389503A (zh) * 2014-08-18 2016-03-09 北京壹人壹本信息科技有限公司 一种反锁屏的方法、系统及移动终端
CN106648316A (zh) * 2016-12-13 2017-05-10 深圳市金立通信设备有限公司 一种解锁方法及终端
CN108008998A (zh) * 2017-12-26 2018-05-08 北京金山安全软件有限公司 一种信息显示方法、装置及电子设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004606A (zh) * 2010-10-29 2011-04-06 北京播思软件技术有限公司 一种手持终端的锁屏方法及装置
CN102750093B (zh) * 2012-06-11 2016-03-30 惠州Tcl移动通信有限公司 一种屏幕解锁的方法、系统及触摸屏终端
CN105653301B (zh) * 2014-11-13 2019-02-26 比亚迪股份有限公司 移动终端的锁屏控制方法和装置
CN105302435A (zh) * 2015-09-22 2016-02-03 上海斐讯数据通信技术有限公司 一种智能终端屏幕解锁的方法及系统
CN105117138B (zh) * 2015-09-28 2018-09-11 北京金山安全软件有限公司 屏蔽操作系统锁屏的方法、装置及移动终端
CN106980454B (zh) * 2017-03-30 2020-12-04 北京小米移动软件有限公司 解锁方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090264159A1 (en) * 2008-04-17 2009-10-22 Htc Corporation Method for unlocking screen, mobile electronic device using the same and storage medium thereof
CN105389503A (zh) * 2014-08-18 2016-03-09 北京壹人壹本信息科技有限公司 一种反锁屏的方法、系统及移动终端
CN104536836A (zh) * 2015-01-16 2015-04-22 宇龙计算机通信科技(深圳)有限公司 基于双系统的同步解锁方法及系统
CN106648316A (zh) * 2016-12-13 2017-05-10 深圳市金立通信设备有限公司 一种解锁方法及终端
CN108008998A (zh) * 2017-12-26 2018-05-08 北京金山安全软件有限公司 一种信息显示方法、装置及电子设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114020338A (zh) * 2021-10-29 2022-02-08 郑州阿帕斯数云信息科技有限公司 第三方锁屏服务的调用方法及装置

Also Published As

Publication number Publication date
US20210232668A1 (en) 2021-07-29
CN110908740A (zh) 2020-03-24
US11836231B2 (en) 2023-12-05

Similar Documents

Publication Publication Date Title
US11637824B2 (en) Multi-factor authentication devices
TWI628944B (zh) 用於在一行動器件之一嵌入式通用積體電路卡上啟用一電子用戶識別碼模組之方法及相關之非暫時性電腦可讀儲存媒體
JP2005084991A (ja) 端末利用者監視システム
CN105825131B (zh) 一种基于uefi的计算机安全启动防护方法
CN107851159B (zh) 控制配置数据储存器
WO2020057256A1 (zh) 基于安卓系统的智能终端解锁方法、装置及智能终端
WO2020024686A1 (zh) 基于人脸识别的差异化应用加载方法、装置和终端设备
WO2017084569A1 (zh) 在智能终端中获取登陆凭证的方法、智能终端以及操作系统
CN108090331A (zh) 一种解锁方法及设备
JP2019008369A (ja) 情報処理装置、認証システム、認証方法およびプログラム
WO2020133500A1 (zh) 终端设备的解锁方法、设备和存储介质
CN105653918B (zh) 安全操作方法、安全操作装置和终端
CN107911820B (zh) 私密系统数据文件管理方法及终端设备
CN109670296A (zh) 一种移除iOS备份密码的方法和装置
WO2016180234A1 (zh) 一种安全环境构建方法和装置
KR101716690B1 (ko) 데이터 무단 엑세스 차단 방법 및 그 기능이 구비된 컴퓨팅 장치
WO2018000234A1 (zh) 一种基于双指纹控制智能门禁的方法及系统
US20230334185A1 (en) Monitoring file sharing commands between network equipment to identify adverse conditions
WO2016011884A1 (zh) 一种网络耗尽性资源的使用方法及装置
CN108563934B (zh) 一种指纹解锁的方法及装置
WO2017202156A1 (zh) 身份验证方法和装置
US20200311234A1 (en) Electronic device security
WO2018006319A1 (zh) 一种报警的方法及系统
US20240250943A1 (en) Use of multifactor authentication in assessing suspicious activity
WO2018000264A1 (zh) 一种通过移动终端和双指纹管理智能门禁的方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19862437

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19862437

Country of ref document: EP

Kind code of ref document: A1