WO2018227472A1 - 一种屏幕唤醒方法、装置及终端设备 - Google Patents

一种屏幕唤醒方法、装置及终端设备 Download PDF

Info

Publication number
WO2018227472A1
WO2018227472A1 PCT/CN2017/088439 CN2017088439W WO2018227472A1 WO 2018227472 A1 WO2018227472 A1 WO 2018227472A1 CN 2017088439 W CN2017088439 W CN 2017088439W WO 2018227472 A1 WO2018227472 A1 WO 2018227472A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
wake
processor
instruction
touch operation
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.)
Ceased
Application number
PCT/CN2017/088439
Other languages
English (en)
French (fr)
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.)
Shenzhen Goodix Technology Co Ltd
Original Assignee
Shenzhen Goodix Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Goodix Technology Co Ltd filed Critical Shenzhen Goodix Technology Co Ltd
Priority to PCT/CN2017/088439 priority Critical patent/WO2018227472A1/zh
Priority to CN201780000476.7A priority patent/CN107454955A/zh
Publication of WO2018227472A1 publication Critical patent/WO2018227472A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Definitions

  • the embodiments of the present invention relate to the field of touch technologies, and in particular, to a screen wake-up method, device, and terminal device.
  • the fingerprint recognition technology is a technology that collects a fingerprint image of a human body through a fingerprint sensor, and then compares it with existing fingerprint information in the system, and realizes identity recognition by judging whether it is correct or not.
  • Fingerprint recognition unlocking technology is an important part of fingerprint recognition technology. Among them, dark screen unlocking is one of the most common technologies.
  • the terminal device there may be two cases where the terminal device is in a dark screen, one is that the terminal device is in a standby state, and the other is that the terminal device is in a deep sleep state.
  • the terminal device when the terminal device is powered on but does not perform any substantial work, the terminal device may be considered to be in a standby state; after the standby state continues for a period of time, the terminal device will enter a more low power consumption mode, and at this time, the terminal device may be considered as a terminal device.
  • In deep sleep state In both states, the terminal device will be dark.
  • the bright screen of the terminal device and the subsequent fingerprint unlocking process are triggered.
  • the terminal device In a deep sleep state, when the terminal device receives a touch operation, it needs to wait for the operating system to wake up the processor before performing subsequent operations.
  • the touch operation causes a process of waking up the processor for a relatively long time, and accordingly, the unlocking time when the terminal device is in the deep sleep state is also longer. Therefore, how to shorten the wake-up time of the processor as much as possible while the terminal device is in the deep sleep state, and improving the processing efficiency of the touch operation has become an urgent problem to be solved.
  • the embodiment of the invention provides a method, a device and a terminal device for waking up the screen, so as to solve the problem of how to shorten the wake-up time of the processor when the existing terminal device is in a deep sleep state.
  • a screen wake-up method including: determining whether a terminal device is currently in a deep sleep state when acquiring an interrupt instruction triggered by a fingerprint sensor being touched; if in a deep sleep state, Then, a wake-up instruction is sent to the processor of the terminal device to wake up the processor.
  • a screen wake-up device including: a determining module, configured to determine, when an interrupt command triggered by the fingerprint sensor being touched, whether the terminal device is currently in a deep sleep state;
  • the wake-up module is configured to send a wake-up instruction to the processor of the terminal device to wake up the processor if in a deep sleep state.
  • a terminal device includes: a fingerprint sensor and a control unit, the fingerprint sensor is electrically connected to the control unit; the fingerprint sensor is configured to receive a touch operation, and Collecting fingerprint information of the touch operation; the control unit is configured to perform, according to the touch operation and the collected fingerprint information received by the fingerprint sensor, a screen wake-up method corresponding to the first aspect operating.
  • the interrupt instruction triggered by the fingerprint sensor being touched when the interrupt instruction triggered by the fingerprint sensor being touched is obtained, it is determined whether the terminal device is currently in a deep sleep state, and if in the deep sleep state, the wake-up is sent to the processor of the terminal device.
  • the instruction wakes up the processor and wakes up the display screen of the terminal device.
  • the wakeup instruction is actively initiated to the processor, and the wakeup command does not need to reach the operating system HAL layer, It is necessary to wait for the wakeup processing of the processor by the operating system HAL layer, which saves the waiting time of the processor wakeup, improves the processing efficiency of the touch operation, and improves the processor wakeup efficiency.
  • Figure 1 is a flow chart of a typical screen wake-up method
  • FIG. 2 is a flow chart of steps of a screen wake-up method according to Embodiment 1 of the present invention.
  • FIG. 3 is a flow chart of steps of a screen wake-up method according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic diagram of a screen wake-up method in the embodiment shown in FIG. 3;
  • FIG. 5 is a structural block diagram of a screen wake-up device according to Embodiment 3 of the present invention.
  • FIG. 6 is a structural block diagram of a screen wake-up device according to Embodiment 4 of the present invention.
  • FIG. 7 is a schematic structural diagram of a terminal device according to Embodiment 5 of the present invention.
  • FIG. 1 is a flowchart of a typical screen wake-up method. It can be seen from FIG. 1 that after the user touches the fingerprint sensor, the fingerprint sensor triggers an interrupt according to the user's touch operation, generates an interrupt instruction, and reports the interrupt instruction to the operating system HAL layer; when the operating system HAL layer receives the interrupt instruction, it determines the current The state of the terminal device, when it is determined that the current terminal device is in the deep sleep state, the processing of the terminal device is awake by the operating system HAL layer.
  • the instruction triggered by the touch operation reaches the operating system HAL layer, and the process of the operating system HAL layer processing the instruction and then waking up the processor takes a relatively long time, correspondingly, when The unlocking time of the terminal device when it is in the deep sleep state is also longer.
  • the embodiment of the invention provides a screen wake-up method, device and terminal device, so as to shorten the wake-up time of the terminal device in a deep sleep state.
  • FIG. 2 a flow chart of steps of a screen wake-up method according to Embodiment 1 of the present invention is shown.
  • Step 101 When acquiring an interrupt instruction triggered by the fingerprint sensor being touched, determine whether the terminal device is currently in a deep sleep state.
  • the user's operation of the fingerprint sensor usually triggers an interrupt command, for example, a finger press operation or a finger lift operation on the fingerprint sensor.
  • the interrupt instruction triggered by the fingerprint sensor being touched is mainly an interrupt instruction triggered when the user performs a finger press operation.
  • the interrupt instruction is obtained, it is further determined whether the terminal device is currently in a deep sleep state.
  • the fingerprint sensor is a key device for implementing fingerprint acquisition.
  • the fingerprint sensor includes but is not limited to an optical fingerprint sensor, a semiconductor fingerprint sensor, and a thermal fingerprint sensor. , ultrasonic fingerprint sensor, pressure sensitive fingerprint sensor, etc.
  • the terminal device in the embodiment of the present invention may be any suitable terminal device, including but not limited to: a mobile phone, a tablet computer, a desktop computer, and the like.
  • Step 102 If in the deep sleep state, send a wake-up instruction to the processor of the terminal device to wake up the processor.
  • the fingerprint sensor triggers an interrupt according to the user's touch operation, generates an interrupt instruction, and reports the interrupt instruction to the operating system HAL layer; the operating system HAL layer receives the interrupt.
  • the state of the current terminal device is determined.
  • the processor of the terminal device is woken up by the operating system HAL layer.
  • the fingerprint sensor triggers an interrupt according to the touch operation of the user, and determines whether the terminal device is in a deep sleep state while generating the interrupt instruction; when the judgment result is that the terminal device is in the deep sleep state. That is, the wake-up instruction is sent to the processor of the terminal device, and the processor of the terminal device is awake according to the wake-up instruction; when the interrupt instruction is reported to the operating system HAL layer, the processor of the terminal device is already in the awake state.
  • the wake-up instruction does not need to reach the operating system HAL layer, and no longer needs to wait for the operating system HAL layer to wake up the processor, which saves the waiting time of the processor wake-up.
  • the screen wake-up method when the interrupt instruction triggered by the fingerprint sensor being touched is obtained, it is determined whether the terminal device is currently in a deep sleep state, and if it is in the deep sleep state, the wake-up is sent to the processor of the terminal device.
  • the instruction wakes up the processor and wakes up the display screen of the terminal device.
  • the wakeup instruction is actively initiated to the processor, and the wakeup command does not need to reach the operating system HAL layer, It is necessary to wait for the wakeup processing of the processor by the operating system HAL layer, which saves the waiting time of the processor wakeup, improves the processing efficiency of the touch operation, and improves the processor wakeup efficiency.
  • the screen wake-up method of this embodiment can be implemented by any suitable device or device having a data processing function, such as a terminal device or the like.
  • FIG. 3 a flow chart of steps of a screen wake-up method according to Embodiment 2 of the present invention is shown.
  • Step 201 When acquiring an interrupt instruction triggered by the fingerprint sensor being touched, it is determined whether the terminal device is currently in a deep sleep state.
  • the interrupt instruction triggered by the fingerprint sensor being touched is mainly an interrupt instruction triggered when the user performs a finger press operation.
  • the interrupt instruction is obtained, it is further determined whether the terminal device is currently in a deep sleep state.
  • the Android system when the terminal device in the deep sleep state wakes up the processor, the Android system is taken as an example, and the wake-up instruction is from the uppermost layer of the Android system (such as a Java application), and the framework written in Java, C++, and C language. Layer, JNI (Java Native Interface) layer, HAL layer finally reaches the bottom layer of the Android system (Kernel layer). After this series of operations, it is finally determined by the HAL layer whether the terminal device is currently in a deep sleep state, and then performs subsequent wake-up processing.
  • the Android system is taken as an example, and the wake-up instruction is from the uppermost layer of the Android system (such as a Java application), and the framework written in Java, C++, and C language. Layer, JNI (Java Native Interface) layer, HAL layer finally reaches the bottom layer of the Android system (Kernel layer). After this series of operations, it is finally determined by the HAL layer whether the terminal device is currently in a deep sleep state, and then performs subsequent wake-up processing.
  • the driver layer when the interrupt instruction triggered by the fingerprint sensor is touched, the driver layer is sent to the driver layer, and the driver layer determines whether the terminal device is currently in a deep sleep state, and then performs subsequent wake-up processing. . It can be seen that the solution of the embodiment of the present invention is different from the foregoing manner, and the efficiency of the wake-up processing is improved, and the waiting for the wake-up processing is shortened, whether the specific execution subject of the current state judgment of the terminal device or the timing of the wake-up processing is performed. time.
  • Step 202 If the terminal device is in the deep sleep state, determine whether the wake-up switch for indicating whether to wake up the processor is in an open state.
  • the wake-up switch is an indication switch for controlling whether to wake up the processor, and is used to indicate whether to wake up the processor. If the wake-up switch is in an open state, it indicates that the processor of the current terminal device is in a deep sleep state, and the processor needs to be woken up. Therefore, the open state may indicate a wake-up operation to the processor; if the wake-up switch is in a closed state, the current terminal device is indicated. The processor is awake and does not need to wake up the processor, so the off state can indicate that the processor is not woken up.
  • the setting of the wake-up switch is as follows, and will not be described in detail here.
  • Step 203 If the wake-up switch is in an open state, send a wake-up instruction to the processor of the terminal device.
  • the wake-up switch can pass the HAL of the terminal device.
  • the layer sends a wake-up instruction to the processor of the terminal device.
  • the HAL layer is an interface layer between the operating system kernel and the hardware device of the terminal device, which can abstract the hardware device for use by the developer and shield the complex implementation of the hardware device. Sending a wake-up instruction to the processor through the HAL layer simplifies the complex implementation of the wake-up operation and reduces the burden on the developer.
  • FIG. 4 A process of waking up the processor by the solution of the embodiment is shown in FIG. 4 .
  • the fingerprint sensor triggers an interrupt according to the touch operation of the user, and determines the interrupt instruction.
  • the terminal device is in a deep sleep state; when it is determined that the terminal device is in the deep sleep state, the wake-up instruction is initiated to the processor of the terminal device, and the processor of the terminal device is awake according to the wake-up instruction; when the interrupt instruction is reported to the operating system HAL layer, The processor of the terminal device is already in the awake state.
  • the wakeup of the processor of the terminal device is realized. Further, based on the wake-up processor, those skilled in the art can also perform the following settings of optional operations.
  • Step 204 Identify the fingerprint information collected when the fingerprint sensor is touched, and unlock the terminal device according to the recognition result.
  • fingerprint identification is performed according to the fingerprint information collected by the fingerprint sensor.
  • the processor may compare the fingerprint data collected by the fingerprint sensor with the fingerprint data stored in the terminal device, and unlock the terminal device when the comparison result is consistent; and when the comparison result is inconsistent, the processor may be The personnel are appropriately set according to the actual situation, for example, the prompt error occurs, and the processor of the terminal device enters the deep sleep state again.
  • Step 205 Determine the type of the touch operation corresponding to the interrupt instruction.
  • the interrupt instruction sent by the driver layer of the terminal device may be received through the HAL layer of the terminal device, and the type of the touch operation is determined according to the interrupt instruction by the HAL layer.
  • the HAL layer determines the type of touch operation based on the received interrupt instruction.
  • the types of touch operations include: a lifting operation and a pressing operation.
  • Step 206 Set the state of the wake-up switch according to the type of the touch operation.
  • the state of the wake-up switch is set to the off state; if the type of the touch operation is the lift operation, the state of the wake-up switch is set to the open state.
  • the touch layer operation can be sent to the driver layer through the HAL layer of the terminal device.
  • a setting instruction corresponding to the type of the setting; the wake-up switch is set to the state indicated by the setting instruction by the driving layer of the terminal device.
  • the set command is 1, indicating that the wake-up switch is set to the open state; when the type of the touch operation is pressed, the set command is 0, indicating that the wake-up switch is set to the off state.
  • the state of the wake-up switch can be set and adjusted by the HAL layer of the operating system and the driver layer.
  • the HAL layer is an interface layer between the operating system kernel and the hardware device, which can abstract the hardware device. Used by developers to shield the complex implementation of hardware devices; the driver layer can provide a way to control hardware devices.
  • the setting of the wake-up switch can be implemented simply and efficiently through the HAL layer and the drive layer.
  • the screen wake-up method when the interrupt instruction triggered by the fingerprint sensor being touched is obtained, it is determined whether the terminal device is currently in a deep sleep state, and if in the deep sleep state, the wake-up command is sent to the processor of the terminal device. , wake up the processor, and then wake up the display screen of the terminal device.
  • the wakeup instruction is actively initiated to the processor, and the wakeup instruction does not need to reach the operating system HAL layer, and no longer It is necessary to wait for the WAL processing of the processor by the operating system HAL layer, which saves the waiting time of the processor wakeup, improves the processing efficiency of the touch operation, and improves the processor wakeup efficiency.
  • the screen wake-up method of this embodiment can be implemented by any suitable device or device having a data processing function, such as a terminal device or the like.
  • FIG. 5 a block diagram of a screen wake-up device according to a third embodiment of the present invention is shown.
  • the determining module 301 is configured to determine, when the interrupt instruction triggered by the fingerprint sensor is touched, whether the terminal device is currently in a deep sleep state;
  • the wake-up module 302 is configured to send a wake-up instruction to the processor of the terminal device to wake up the processor if in a deep sleep state.
  • the screen wake-up device determines whether the terminal device is currently in a deep sleep state when acquiring an interrupt instruction triggered by the fingerprint sensor being touched, and if the device is in a deep sleep state, sends a wake-up to the processor of the terminal device.
  • the instruction wakes up the processor and wakes up the display screen of the terminal device.
  • the wakeup instruction is actively initiated to the processor, and the wakeup command does not need to reach the operating system HAL layer, It is necessary to wait for the wakeup processing of the processor by the operating system HAL layer, which saves the waiting time of the processor wakeup, improves the processing efficiency of the touch operation, and improves the processor wakeup efficiency.
  • FIG. 6 a block diagram of a screen wake-up apparatus according to Embodiment 4 of the present invention is shown.
  • the determining module 401 is configured to determine, when the interrupt instruction triggered by the fingerprint sensor is touched, whether the terminal device is currently in a deep sleep state;
  • the wake-up module 402 is configured to send a wake-up instruction to the processor of the terminal device to wake up the processor if in a deep sleep state.
  • the wake-up module 402 includes:
  • the switch determining sub-module 4021 is configured to determine, if the terminal device is in a deep sleep state, whether the wake-up switch for indicating whether to wake up the processor is in an open state;
  • the executing sub-module 4022 is configured to send a wake-up instruction to the processor of the terminal device if the wake-up switch is in an open state.
  • the device further comprises:
  • the identification module 403 is configured to identify, after the wake-up module wakes up the processor, fingerprint information collected when the fingerprint sensor is touched, and unlock the terminal device according to the recognition result.
  • the device further comprises:
  • a type determining module 404 configured to determine a type of a touch operation corresponding to the interrupt instruction after unlocking the terminal device according to the recognition result
  • the setting module 405 is configured to set a state of the wake-up switch according to the type of the touch operation.
  • the setting module 405 includes:
  • a first setting sub-module 4051 configured to set a state of the wake-up switch to a closed state if the type of the touch operation is a press operation
  • the second setting sub-module 4052 is configured to set the state of the wake-up switch to an open state if the type of the touch operation is a lifting operation.
  • the determining module 401 is configured to determine, by the driving layer of the terminal device, whether the terminal device is currently in a deep sleep state; and/or the waking module 402 is configured to pass the hardware of the terminal device.
  • the abstraction layer sends a wake-up instruction to the processor of the terminal device.
  • the type determining module 404 is configured to receive, by using a hardware abstraction layer of the terminal device, the interrupt instruction sent by a driving layer of the terminal device, and determine, according to the interrupt instruction, by the hardware abstraction layer.
  • the setting module 405 is configured to send, by the hardware abstraction layer of the terminal device, a setting instruction corresponding to the type of the touch operation to the driving layer; and the driving layer of the terminal device The wake-up switch is set to a state indicated by the setting instruction.
  • the screen wake-up device determines whether the terminal device is currently in a deep sleep state when acquiring an interrupt instruction triggered by the fingerprint sensor being touched, and if the device is in a deep sleep state, sends a wake-up to the processor of the terminal device.
  • the instruction wakes up the processor and wakes up the display screen of the terminal device.
  • the wakeup instruction is actively initiated to the processor, and the wakeup command does not need to reach the operating system HAL layer, It is necessary to wait for the wakeup processing of the processor by the operating system HAL layer, which saves the waiting time of the processor wakeup, improves the processing efficiency of the touch operation, and improves the processor wakeup efficiency.
  • FIG. 7 a schematic structural diagram of a terminal device according to Embodiment 5 of the present invention is shown.
  • the terminal device provided by the embodiment of the present invention includes: a fingerprint sensor 501 and a control unit 502, and the fingerprint sensor 501 is electrically connected to the control unit 502.
  • the fingerprint sensor 501 is configured to receive a touch operation and collect fingerprint information of the touch operation.
  • the control unit 502 generates an interrupt instruction according to the touch operation received by the fingerprint sensor and the collected fingerprint information, and the control unit 502 controls to send to the processor according to the interrupt instruction. The timing of the wake-up instruction.
  • the control unit 502 when the fingerprint sensor 501 receives a user touch operation, the control unit 502 operates according to the touch operation.
  • the control unit 502 determines whether the interrupt device is currently in the deep sleep state. If the result of the control unit 502 is that the terminal device is in the deep sleep state, the control unit 502 sends a wake-up command to the processor of the terminal device to wake up the processor. .
  • the terminal device determines whether the terminal device is currently in a deep sleep state when acquiring an interrupt instruction triggered by the fingerprint sensor being touched, and if the terminal device is in the deep sleep state, sending a wake-up command to the processor of the terminal device. , wake up the processor, and then wake up the display screen of the terminal device.
  • the wakeup instruction is actively initiated to the processor, and the wakeup command does not need to reach the operating system HAL layer, It is necessary to wait for the wakeup processing of the processor by the operating system HAL layer, which saves the waiting time of the processor wakeup, improves the processing efficiency of the touch operation, and improves the processor wakeup efficiency.
  • the device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separate, and the components displayed as modules may or may not be physical modules, ie may be located A place, or it can be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
  • a machine-readable medium includes read only memory (ROM), random access memory (RAM), magnetic disk storage media, optical storage media, flash storage media, electrical, optical, acoustic, or other forms of propagation signals (eg, carrier waves) , an infrared signal, a digital signal, etc., etc., the computer software product comprising instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the various embodiments or portions of the embodiments described Methods.
  • ROM read only memory
  • RAM random access memory
  • magnetic disk storage media e.g., magnetic disks, magnetic disk storage media, optical storage media, flash storage media, electrical, optical, acoustic, or other forms of propagation signals (eg, carrier waves) , an infrared signal, a digital signal, etc., etc.
  • the computer software product comprising instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the various embodiments or portions of the embodiment

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Power Sources (AREA)
  • User Interface Of Digital Computer (AREA)
  • Image Input (AREA)
  • Collating Specific Patterns (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

一种屏幕唤醒方法,包括:在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态(101);若处于深度休眠状态,则向所述终端设备的处理器发送唤醒指令,唤醒所述处理器(102)。上述方法一旦收到中断指令且判断终端设备处于深度休眠状态时,即向处理器主动发起唤醒指令,唤醒指令无需到达操作系统HAL层,不再需要等待操作系统HAL层对处理器的唤醒处理,节省了处理器唤醒的等待时间,提高了对触摸操作的处理效率,也提高了处理器唤醒效率。

Description

一种屏幕唤醒方法、装置及终端设备 技术领域
本发明实施例涉及触控技术领域,尤其涉及一种屏幕唤醒方法、装置及终端设备。
背景技术
指纹识别技术是一种通过指纹传感器采集到人体的指纹图像,然后与系统里的已有指纹信息进行比对,通过判断正确与否以实现身份识别的技术。
依据人体指纹的唯一性和使用便捷性,指纹识别技术已经大量应用于多个领域的设备上。指纹识别解锁技术是指纹识别技术的重要组成部分,其中,暗屏解锁是其中最为常见的技术之一。
对于终端设备来说,可能有两种情况会使终端设备暗屏,一种为终端设备处于待机状态,一种为终端设备处于深度休眠状态。其中,当终端设备开机但不进行任何实质性工作时,可以认为终端设备会处于待机状态;待机状态持续一段时间后,终端设备将进入更加低功耗省电模式,此时,可以认为终端设备处于深度休眠状态。在这两种状态下,终端设备都会暗屏。
当用户对暗屏的终端设备的指纹传感器进行触摸操作时,会触发终端设备的亮屏及后续的指纹解锁过程。目前,对于处于深度休眠状态的终端设备,当终端设备接收到触摸操作时,需要等待操作系统唤醒处理器后,才能进行后续操作。
然而,对于处于深度休眠状态的终端设备,触摸操作引发唤醒处理器的过程需要相当长的时间,相应地,当终端设备处于深度休眠状态时的解锁时间也更长。因此,如何在终端设备处于深度休眠状态下,尽可能缩短处理器的唤醒时间,提高对触摸操作的处理效率成为亟待解决的一个问题。
发明内容
本发明实施例提供一种屏幕唤醒方法、装置及终端设备,以解决现有终端设备处于深度休眠状态时,如何缩短处理器唤醒时间的问题。
根据本发明实施例的第一方面,提供了一种屏幕唤醒方法,包括:在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态;若处于深度休眠状态,则向所述终端设备的处理器发送唤醒指令,唤醒所述处理器。
根据本发明实施例的第二方面,还提供了一种屏幕唤醒装置,包括:判断模块,用于在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态;唤醒模块,用于若处于深度休眠状态,则向所述终端设备的处理器发送唤醒指令,唤醒所述处理器。
根据本发明实施例的第三方面,还提供了一种终端设备,包括:指纹传感器和控制单元,所述指纹传感器与所述控制单元电连接;所述指纹传感器,用于接收触摸操作,并采集所述触摸操作的指纹信息;所述控制单元,用于依据所述指纹传感器接收的所述触摸操作和采集的所述指纹信息,执行如第一方面中所述的屏幕唤醒方法所对应的操作。
根据本发明实施例提供的屏幕唤醒方案,在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态,若处于深度休眠状态,则向终端设备的处理器发送唤醒指令,唤醒处理器,进而唤醒终端设备的显示屏幕。与现有技术相比,本发明实施例提供的方案中,一旦收到中断指令且判断终端设备处于深度休眠状态时,即向处理器主动发起唤醒指令,唤醒指令无需到达操作系统HAL层,不再需要等待操作系统HAL层对处理器的唤醒处理,节省了处理器唤醒的等待时间,提高了对触摸操作的处理效率,也提高了处理器唤醒效率。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为一种典型的屏幕唤醒方法的流程图;
图2为本发明实施例一的一种屏幕唤醒方法的步骤流程图;
图3为本发明实施例二的一种屏幕唤醒方法的步骤流程图;
图4为图3所示实施例中的一种屏幕唤醒方法的示意图;
图5为本发明实施例三的一种屏幕唤醒装置的结构框图;
图6为本发明实施例四的一种屏幕唤醒装置的结构框图;
图7为本发明实施例五的一种终端设备的结构示意图。
具体实施方式
为使得本发明实施例的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明实施例一部分实施例,而非全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明实施例保护的范围。
请参阅图1,其为一种典型的屏幕唤醒方法的流程图。从图1中可见当用户触摸指纹传感器后,指纹传感器依据用户的触摸操作触发中断,生成中断指令,将该中断指令上报至操作系统HAL层;操作系统HAL层接收到该中断指令时,判断当前终端设备的状态,当确定当前终端设备处于深度休眠状态时,由操作系统HAL层唤醒终端设备的处理。然而,对于处于深度休眠状态的终端设备,触摸操作引发的指令到达操作系统HAL层,以及操作系统HAL层对该指令进行处理后再唤醒处理器的过程均需要相当长的时间,相应地,当终端设备处于深度休眠状态时的解锁时间也更长。
本发明实施例提供一种屏幕唤醒方法、装置及终端设备,以缩短终端设备处于深度休眠状态的唤醒时间。
实施例一
参照图2,示出了本发明实施例一的一种屏幕唤醒方法的步骤流程图。
本实施例的屏幕唤醒方法包括以下步骤:
步骤101:在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态。
用户对指纹传感器的操作通常会触发中断指令,例如,对指纹传感器进行手指按下操作或者手指抬起操作等。本发明实施例中,指纹传感器被触摸所触发的中断指令主要是用户进行手指按下操作时触发的中断指令。当获取到该中断指令时,会进一步判断终端设备当前是否处于深度休眠状态。
本发明实施例中,指纹传感器是实现指纹采集的关键器件。其中,指纹传感器包括但不限于光学指纹传感器、半导体指纹传感器、热敏式指纹传感 器、超声波指纹传感器、压感式指纹传感器等。
此外,本发明实施例中的终端设备可以是任意适当的终端设备,包括但不限于:手机、平板电脑、台式电脑等。
步骤102:若处于深度休眠状态,则向终端设备的处理器发送唤醒指令,唤醒处理器。
一种典型的处理器唤醒方式中,当用户触摸指纹传感器后,指纹传感器依据用户的触摸操作触发中断,生成中断指令,将该中断指令上报至操作系统HAL层;操作系统HAL层接收到该中断指令时,判断当前终端设备的状态,当确定当前终端设备处于深度休眠状态时,由操作系统HAL层唤醒终端设备的处理器。而对于本发明实施例,当用户触摸指纹传感器后,指纹传感器依据用户的触摸操作触发中断,在生成中断指令的同时判断终端设备是否处于深度休眠状态;当判断结果为终端设备处于深度休眠状态时,即向终端设备的处理器发起唤醒指令,依据唤醒指令唤醒终端设备的处理器;当中断指令上报到操作系统HAL层时,终端设备的处理器已经处于唤醒状态。
可见,相比现有技术中对处理器的唤醒过程,唤醒指令无需到达操作系统HAL层,不再需要等待操作系统HAL层对处理器的唤醒处理,节省了处理器唤醒的等待时间。
根据本发明实施例提供的屏幕唤醒方法,在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态,若处于深度休眠状态,则向终端设备的处理器发送唤醒指令,唤醒处理器,进而唤醒终端设备的显示屏幕。与现有技术相比,本发明实施例提供的方案中,一旦收到中断指令且判断终端设备处于深度休眠状态时,即向处理器主动发起唤醒指令,唤醒指令无需到达操作系统HAL层,不再需要等待操作系统HAL层对处理器的唤醒处理,节省了处理器唤醒的等待时间,提高了对触摸操作的处理效率,也提高了处理器唤醒效率。
本实施例的屏幕唤醒方法可以由任意适当的具有数据处理功能的装置或设备实现,如终端设备等。
实施例二
参照图3,示出了本发明实施例二的一种屏幕唤醒方法的步骤流程图。
本实施例的屏幕唤醒方法包括以下步骤:
步骤201:在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态。
如前所述,本发明实施例中,指纹传感器被触摸所触发的中断指令主要是用户进行手指按下操作时触发的中断指令。当获取到该中断指令时,进一步判断终端设备当前是否处于深度休眠状态。
在一种可行方式中,在获取到指纹传感器被触摸所触发的中断指令时,通过终端设备的驱动层判断终端设备当前是否处于深度休眠状态。
一般来说,处于深度休眠状态的终端设备在进行处理器唤醒时,以Android系统为例,唤醒指令从Android系统的最上层(如Java的应用程序),经过Java、C++和C语言写的Framework层、JNI(Java Native Interface)层、HAL层最后到达Android系统的最底层(Kernel层)。经过这一系列的操作,最终由HAL层判断终端设备当前是否处于深度休眠状态,进而进行后续的唤醒处理。与上述方式不同,本发明实施例中,在获取到指纹传感器被触摸所触发的中断指令时,即向驱动层发送,由驱动层判断终端设备当前是否处于深度休眠状态,进而进行后续的唤醒处理。可见,不论是进行终端设备当前状态判断的具体执行主体,还是进行唤醒处理的时机,本发明实施例的方案均与上述方式不同,也由此提高了唤醒处理的效率,缩短了唤醒处理的等待时间。
步骤202:若终端设备处于深度休眠状态,判断用于指示是否唤醒处理器的唤醒开关是否处于打开状态。
其中,唤醒开关是用来控制是否唤醒处理器的指示开关,用于指示是否唤醒处理器。若唤醒开关处于打开状态,则表示当前终端设备的处理器处于深度休眠状态,需要唤醒处理器,因此,打开状态可以指示对处理器进行唤醒操作;若唤醒开关处于关闭状态,则表示当前终端设备的处理器处于唤醒状态,不需要对处理器进行唤醒,因此,关闭状态可以指示不对处理器进行唤醒操作。对唤醒开关的设置如下文所述,在此不再详述。
步骤203:若唤醒开关处于打开状态,则向终端设备的处理器发送唤醒指令。
在一种可行方式中,若唤醒开关处于打开状态,可以通过终端设备的HAL 层向终端设备的处理器发送唤醒指令。HAL层是位于终端设备的操作系统内核与硬件设备之间的接口层,其可以将硬件设备抽象化后供开发人员使用,屏蔽了硬件设备的复杂实现。通过HAL层向处理器发送唤醒指令,简化了唤醒操作的复杂实现,减轻了开发人员的负担。
一种通过本实施例的方案唤醒处理器的过程示意如图4所示,从图4中可见,当用户触摸指纹传感器后,指纹传感器依据用户的触摸操作触发中断,在生成中断指令的同时判断终端设备是否处于深度休眠状态;当确定终端设备处于深度休眠状态时,即向终端设备的处理器发起唤醒指令,依据唤醒指令唤醒终端设备的处理器;当中断指令上报到操作系统HAL层时,终端设备的处理器已经处于唤醒状态。
通过上述过程,实现了终端设备的处理器的唤醒。进一步地,基于唤醒后的处理器,本领域技术人员还可以进行以下可选操作的设置。
步骤204:对指纹传感器被触摸时采集的指纹信息进行识别,并根据识别结果对终端设备解锁。
当处理器处于唤醒状态后,依据指纹传感器采集的指纹信息进行指纹识别。例如,处理器可以将指纹传感器采集的指纹数据与终端设备内存储的指纹数据进行比对,当比对结果一致时,对终端设备进行解锁;而当比对结果不一致时,则可以由本领域技术人员根据实际情况适当设置,如,提示出错、终端设备的处理器再次进入深度休眠状态等。
步骤205:确定中断指令对应的触摸操作的类型。
需要说明的是,本步骤与步骤204的执行不分先后顺序,也可以并行执行,还可以择一执行。
在一种可行方式中,可以通过终端设备的HAL层接收终端设备的驱动层发送的中断指令,并通过HAL层根据中断指令确定触摸操作的类型。HAL层依据接收的中断指令对触摸操作的类型进行确定。其中,触摸操作的类型包括:抬起操作和按下操作。
步骤206:依据触摸操作的类型设置唤醒开关的状态。
包括:若触摸操作的类型为按下操作时,将唤醒开关的状态设置为关闭状态;若触摸操作的类型为抬起操作时,将唤醒开关的状态设置为打开状态。
在一种可行方式中,可以通过终端设备的HAL层向驱动层发送与触摸操 作的类型对应的设置指令;通过终端设备的驱动层将唤醒开关设置为所述设置指令所指示的状态。
例如:当触摸操作的类型为抬起时,设置指令为1,指示将唤醒开关设置为打开状态;当触摸操作的类型为按下时,设置指令为0,指示将唤醒开关设置为关闭状态。
本实施例中,唤醒开关的状态可以由操作系统的HAL层以及驱动层配合进行设置和调整,HAL层是位于操作系统内核与硬件设备之间的接口层,其可以将硬件设备抽象化后供开发人员使用,屏蔽了硬件设备的复杂实现;驱动层可以提供控制硬件设备的途径。通过HAL层和驱动层,可以简单有效地实现唤醒开关的设置。
通过本实施例的上述屏幕唤醒方案,当对处于深度休眠状态的终端设备中进行解锁时,通过检测,可以节省50-100ms的时间。
根据本实施例提供的屏幕唤醒方法,在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态,若处于深度休眠状态,则向终端设备的处理器发送唤醒指令,唤醒处理器,进而唤醒终端设备的显示屏幕。与现有技术相比,本实施例提供的方案中,一旦收到中断指令且判断终端设备处于深度休眠状态时,即向处理器主动发起唤醒指令,唤醒指令无需到达操作系统HAL层,不再需要等待操作系统HAL层对处理器的唤醒处理,节省了处理器唤醒的等待时间,提高了对触摸操作的处理效率,也提高了处理器唤醒效率。
本实施例的屏幕唤醒方法可以由任意适当的具有数据处理功能的装置或设备实现,如终端设备等。
实施例三
参照图5,示出本发明实施例三的一种屏幕唤醒装置的结构框图。
本发明实施例提供的屏幕唤醒装置包括:
判断模块301,用于在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态;
唤醒模块302,用于若处于深度休眠状态,则向所述终端设备的处理器发送唤醒指令,唤醒所述处理器。
根据本发明实施例提供的屏幕唤醒装置,在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态,若处于深度休眠状态,则向终端设备的处理器发送唤醒指令,唤醒处理器,进而唤醒终端设备的显示屏幕。与现有技术相比,本发明实施例提供的方案中,一旦收到中断指令且判断终端设备处于深度休眠状态时,即向处理器主动发起唤醒指令,唤醒指令无需到达操作系统HAL层,不再需要等待操作系统HAL层对处理器的唤醒处理,节省了处理器唤醒的等待时间,提高了对触摸操作的处理效率,也提高了处理器唤醒效率。
实施例四
参照图6,示出本发明实施例四的一种屏幕唤醒装置的结构框图。
本发明实施例提供的屏幕唤醒装置包括:
判断模块401,用于在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态;
唤醒模块402,用于若处于深度休眠状态,则向所述终端设备的处理器发送唤醒指令,唤醒所述处理器。
优选地,所述唤醒模块402包括:
开关判断子模块4021,用于若所述终端设备处于深度休眠状态,则判断用于指示是否唤醒所述处理器的唤醒开关是否处于打开状态;
执行子模块4022,用于若所述唤醒开关处于打开状态,则向所述终端设备的处理器发送唤醒指令。
优选地,所述装置还包括:
识别模块403,用于在所述唤醒模块唤醒所述处理器之后,对所述指纹传感器被触摸时采集的指纹信息进行识别,并根据识别结果对所述终端设备解锁。
优选地,所述装置还包括:
类型确定模块404,用于在根据识别结果对所述终端设备解锁之后,确定所述中断指令对应的触摸操作的类型;
设置模块405,用于依据所述触摸操作的类型设置所述唤醒开关的状态。
优选地,所述设置模块405包括:
第一设置子模块4051,用于若所述触摸操作的类型为按下操作时,将所述唤醒开关的状态设置为关闭状态;
第二设置子模块4052,用于若所述触摸操作的类型为抬起操作时,将所述唤醒开关的状态设置为打开状态。
优选地,所述判断模块401,用于通过所述终端设备的驱动层判断所述终端设备当前是否处于深度休眠状态;和/或,所述唤醒模块402,用于通过所述终端设备的硬件抽象层向所述终端设备的处理器发送唤醒指令。
优选地,所述类型确定模块404,用于通过所述终端设备的硬件抽象层接收所述终端设备的驱动层发送的所述中断指令,并通过所述硬件抽象层根据所述中断指令确定所述触摸操作的类型;所述设置模块405,用于通过所述终端设备的硬件抽象层向所述驱动层发送与所述触摸操作的类型对应的设置指令;通过所述终端设备的驱动层将所述唤醒开关设置为所述设置指令所指示的状态。
根据本发明实施例提供的屏幕唤醒装置,在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态,若处于深度休眠状态,则向终端设备的处理器发送唤醒指令,唤醒处理器,进而唤醒终端设备的显示屏幕。与现有技术相比,本发明实施例提供的方案中,一旦收到中断指令且判断终端设备处于深度休眠状态时,即向处理器主动发起唤醒指令,唤醒指令无需到达操作系统HAL层,不再需要等待操作系统HAL层对处理器的唤醒处理,节省了处理器唤醒的等待时间,提高了对触摸操作的处理效率,也提高了处理器唤醒效率。
实施例五
参照图7,示出了本发明实施例五的一种终端设备的结构示意图。
本发明实施例提供的终端设备包括:指纹传感器501和控制单元502,指纹传感器501与控制单元502电连接。
指纹传感器501,用于接收触摸操作,并采集触摸操作的指纹信息;控制单元502依据指纹传感器接收的触摸操作和采集的指纹信息,生成中断指令,控制单元502依据中断指令,控制向处理器发送唤醒指令的时机。
例如:当指纹传感器501接收用户触摸操作,控制单元502依据触摸操 作生成中断指令;控制单元502判断中断设备当前是否处于深度休眠状态,若控制单元502判断的结果为终端设备处于深度休眠状态,则控制单元502向终端设备的处理器发送唤醒指令,唤醒处理器。
根据本发明实施例提供的终端设备,在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态,若处于深度休眠状态,则向终端设备的处理器发送唤醒指令,唤醒处理器,进而唤醒终端设备的显示屏幕。与现有技术相比,本发明实施例提供的方案中,一旦收到中断指令且判断终端设备处于深度休眠状态时,即向处理器主动发起唤醒指令,唤醒指令无需到达操作系统HAL层,不再需要等待操作系统HAL层对处理器的唤醒处理,节省了处理器唤醒的等待时间,提高了对触摸操作的处理效率,也提高了处理器唤醒效率。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,所述计算机可读记录介质包括用于以计算机(例如计算机)可读的形式存储或传送信息的任何机制。例如,机器可读介质包括只读存储器(ROM)、随机存取存储器(RAM)、磁盘存储介质、光存储介质、闪速存储介质、电、光、声或其他形式的传播信号(例如,载波、红外信号、数字信号等)等,该计算机软件产品包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本发明实施例的技术方案,而非对其限制;尽管参照前述实施例对本发明实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案 进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (15)

  1. 一种屏幕唤醒方法,其特征在于,所述方法包括:
    在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态;
    若处于深度休眠状态,则向所述终端设备的处理器发送唤醒指令,唤醒所述处理器。
  2. 根据权利要求1所述的方法,其特征在于,在所述向所述终端设备的处理器发送唤醒指令的步骤之前,所述方法还包括:
    判断用于指示是否唤醒所述处理器的唤醒开关是否处于打开状态;
    若所述唤醒开关处于打开状态,则执行所述向所述终端设备的处理器发送唤醒指令的步骤。
  3. 根据权利要求2所述的方法,其特征在于,在所述唤醒所述处理器的步骤之后,所述方法还包括:
    对所述指纹传感器被触摸时采集的指纹信息进行识别,并根据识别结果对所述终端设备解锁。
  4. 根据权利要求3所述的方法,其特征在于,在所述根据识别结果对所述终端设备解锁的步骤之后,所述方法还包括:
    确定所述中断指令对应的触摸操作的类型;
    依据所述触摸操作的类型设置所述唤醒开关的状态。
  5. 根据权利要求4所述的方法,其特征在于,所述依据所述触摸操作的类型设置所述唤醒开关的状态的步骤,包括:
    若所述触摸操作的类型为按下操作时,将所述唤醒开关的状态设置为关闭状态;
    若所述触摸操作的类型为抬起操作时,将所述唤醒开关的状态设置为打开状态。
  6. 根据权利要求1所述的方法,其特征在于,
    所述判断终端设备当前是否处于深度休眠状态的步骤包括:通过所述终端设备的驱动层判断所述终端设备当前是否处于深度休眠状态;
    和/或,
    所述向所述终端设备的处理器发送唤醒指令的步骤包括:通过所述终端 设备的硬件抽象层向所述终端设备的处理器发送唤醒指令。
  7. 根据权利要求4所述的方法,其特征在于,所述确定所述中断指令对应的触摸操作的类型;依据所述触摸操作的类型设置所述唤醒开关的状态的步骤包括:
    通过所述终端设备的硬件抽象层接收所述终端设备的驱动层发送的所述中断指令,并通过所述硬件抽象层根据所述中断指令确定所述触摸操作的类型;
    通过所述终端设备的硬件抽象层向所述驱动层发送与所述触摸操作的类型对应的设置指令;
    通过所述终端设备的驱动层将所述唤醒开关设置为所述设置指令所指示的状态。
  8. 一种屏幕唤醒装置,其特征在于,所述装置包括:
    判断模块,用于在获取到指纹传感器被触摸所触发的中断指令时,判断终端设备当前是否处于深度休眠状态;
    唤醒模块,用于若处于深度休眠状态,则向所述终端设备的处理器发送唤醒指令,唤醒所述处理器。
  9. 根据权利要求8所述的装置,其特征在于,所述唤醒模块包括:
    开关判断子模块,用于若所述终端设备处于深度休眠状态,则判断用于指示是否唤醒所述处理器的唤醒开关是否处于打开状态;
    执行子模块,用于若所述唤醒开关处于打开状态,则向所述终端设备的处理器发送唤醒指令。
  10. 根据权利要求9所述的装置,其特征在于,所述装置还包括:
    识别模块,用于在所述唤醒模块唤醒所述处理器之后,对所述指纹传感器被触摸时采集的指纹信息进行识别,并根据识别结果对所述终端设备解锁。
  11. 根据权利要求10所述的装置,其特征在于,所述装置还包括:
    类型确定模块,用于在根据识别结果对所述终端设备解锁之后,确定所述中断指令对应的触摸操作的类型;
    设置模块,用于依据所述触摸操作的类型设置所述唤醒开关的状态。
  12. 根据权利要求11所述的装置,其特征在于,所述设置模块包括:
    第一设置子模块,用于若所述触摸操作的类型为按下操作时,将所述唤 醒开关的状态设置为关闭状态;
    第二设置子模块,用于若所述触摸操作的类型为抬起操作时,将所述唤醒开关的状态设置为打开状态。
  13. 根据权利要求8所述的装置,其特征在于,
    所述判断模块,用于通过所述终端设备的驱动层判断所述终端设备当前是否处于深度休眠状态;
    和/或,
    所述唤醒模块,用于通过所述终端设备的硬件抽象层向所述终端设备的处理器发送唤醒指令。
  14. 根据权利要求11所述的装置,其特征在于,
    所述类型确定模块,用于通过所述终端设备的硬件抽象层接收所述终端设备的驱动层发送的所述中断指令,并通过所述硬件抽象层根据所述中断指令确定所述触摸操作的类型;
    所述设置模块,用于通过所述终端设备的硬件抽象层向所述驱动层发送与所述触摸操作的类型对应的设置指令;通过所述终端设备的驱动层将所述唤醒开关设置为所述设置指令所指示的状态。
  15. 一种终端设备,包括:指纹传感器和控制单元,所述指纹传感器与所述控制单元电连接;
    所述指纹传感器,用于接收触摸操作,并采集所述触摸操作的指纹信息;
    所述控制单元,用于依据所述指纹传感器接收的所述触摸操作和采集的所述指纹信息,执行所述权利要求1-14任一项屏幕唤醒方法所对应的操作。
PCT/CN2017/088439 2017-06-15 2017-06-15 一种屏幕唤醒方法、装置及终端设备 Ceased WO2018227472A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/088439 WO2018227472A1 (zh) 2017-06-15 2017-06-15 一种屏幕唤醒方法、装置及终端设备
CN201780000476.7A CN107454955A (zh) 2017-06-15 2017-06-15 一种屏幕唤醒方法、装置及终端设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/088439 WO2018227472A1 (zh) 2017-06-15 2017-06-15 一种屏幕唤醒方法、装置及终端设备

Publications (1)

Publication Number Publication Date
WO2018227472A1 true WO2018227472A1 (zh) 2018-12-20

Family

ID=60497658

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/088439 Ceased WO2018227472A1 (zh) 2017-06-15 2017-06-15 一种屏幕唤醒方法、装置及终端设备

Country Status (2)

Country Link
CN (1) CN107454955A (zh)
WO (1) WO2018227472A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3547187B1 (en) * 2018-02-01 2021-08-04 Shenzhen Goodix Technology Co., Ltd. Fingerprint login method, micro-control unit, fingerprint power supply assembly, and electronic terminal
CN110348191B (zh) * 2018-04-04 2022-10-25 敦泰电子有限公司 指纹解锁方法、装置、系统以及电子设备
CN109522058B (zh) * 2018-11-27 2023-03-24 北京小米移动软件有限公司 唤醒方法、装置、终端及存储介质
CN110209428B (zh) * 2018-12-28 2023-08-29 深圳市泰衡诺科技有限公司 一种终端屏幕唤醒方法、装置、终端及存储介质
CN110347439A (zh) * 2019-07-22 2019-10-18 Oppo广东移动通信有限公司 处理器唤醒方法、装置、终端及存储介质
CN111045738B (zh) * 2019-11-29 2023-12-29 RealMe重庆移动通信有限公司 电子设备控制方法、装置、电子设备及存储介质
CN110989820A (zh) * 2019-11-29 2020-04-10 上海庆科信息技术有限公司 处理器功耗的控制方法、装置、处理器及电子装置
CN115426513B (zh) * 2022-08-29 2024-08-20 深圳创维-Rgb电子有限公司 显示设备控制方法、装置、遥控器及存储介质
WO2024174052A1 (en) * 2023-02-20 2024-08-29 Qualcomm Incorporated Hardware wake for display panel

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446451A (zh) * 2015-02-13 2016-03-30 比亚迪股份有限公司 指纹识别装置、移动终端和指纹识别装置的唤醒方法
CN105759939A (zh) * 2016-02-19 2016-07-13 山东超越数控电子有限公司 一种基于ReWorks系统的手持机实现屏幕关闭与唤醒的方法
CN105808122A (zh) * 2016-03-14 2016-07-27 广东欧珀移动通信有限公司 一种解锁控制方法及终端设备
CN105843499A (zh) * 2015-09-29 2016-08-10 维沃移动通信有限公司 一种切换显示状态的方法和终端
CN106484186A (zh) * 2016-10-21 2017-03-08 上海与德信息技术有限公司 一种系统唤醒方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024183A (zh) * 2012-12-14 2013-04-03 广东欧珀移动通信有限公司 一种唤醒手机的方法及其系统
CN105550640B (zh) * 2015-12-07 2019-07-26 联想(北京)有限公司 一种信息处理方法及电子设备
CN106126998A (zh) * 2016-06-15 2016-11-16 深圳市万普拉斯科技有限公司 熄屏指纹解锁方法及终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446451A (zh) * 2015-02-13 2016-03-30 比亚迪股份有限公司 指纹识别装置、移动终端和指纹识别装置的唤醒方法
CN105843499A (zh) * 2015-09-29 2016-08-10 维沃移动通信有限公司 一种切换显示状态的方法和终端
CN105759939A (zh) * 2016-02-19 2016-07-13 山东超越数控电子有限公司 一种基于ReWorks系统的手持机实现屏幕关闭与唤醒的方法
CN105808122A (zh) * 2016-03-14 2016-07-27 广东欧珀移动通信有限公司 一种解锁控制方法及终端设备
CN106484186A (zh) * 2016-10-21 2017-03-08 上海与德信息技术有限公司 一种系统唤醒方法及装置

Also Published As

Publication number Publication date
CN107454955A (zh) 2017-12-08

Similar Documents

Publication Publication Date Title
WO2018227472A1 (zh) 一种屏幕唤醒方法、装置及终端设备
US9396380B2 (en) Finger print sensor and auxiliary processor integration in an electronic device
EP3627809B1 (en) Method and device for reducing power consumption of mobile terminal, storage medium and mobile terminal
KR102483832B1 (ko) 생체 정보 기반 인증을 이용한 전자 장치들 간 연결 방법 및 장치
US10616762B2 (en) Method for controlling according to state and electronic device thereof
CN110096253B (zh) 利用相同的音频输入的设备唤醒和说话者验证
KR101716834B1 (ko) 이중 저전력 프로세서 구성의 디바이스 잠금을 위한 비활성 타임아웃의 연장
CN108496156B (zh) 操作系统的唤醒方法、装置及系统
WO2018018988A1 (zh) 基于显示屏的指纹采集控制方法、装置及电子设备
KR20180089093A (ko) 전자 장치 및 전자 장치의 지문 인식 방법
US20190324640A1 (en) Electronic device for providing user interface according to electronic device usage environment and method therefor
CN107105073A (zh) 电子装置、辅助设备及使用该辅助设备的信息显示方法
CN108351715B (zh) 应用于人体触摸的常驻传感器设备
EP4280032B1 (en) Screen control method for electronic device, computer-readable medium and electronic device
WO2014117500A1 (zh) 触摸屏终端及其工作方法
US11216543B2 (en) One-button power-on processing method and terminal thereof
EP4571734A1 (en) Method for waking up application program, and electronic device
WO2018165942A1 (zh) 终端设备和识别指纹的方法
CN115202505A (zh) 电子设备启动控制方法、装置、电子设备和扫描笔
CN109521940A (zh) 移动终端装置、操作方法和存储介质
CN107526522A (zh) 黑屏手势识别方法及装置,以及移动终端、存储介质
CN113377223B (zh) 一种触控方法、系统、电子产品和存储介质
CN109313561B (zh) 一种系统装载的方法及装置
CN110457075B (zh) 通信终端的关机方法及装置、存储介质、通信终端
CN108650384B (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: 17913366

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: 17913366

Country of ref document: EP

Kind code of ref document: A1