WO2018014516A1 - 用于终端屏幕解锁的方法与装置 - Google Patents

用于终端屏幕解锁的方法与装置 Download PDF

Info

Publication number
WO2018014516A1
WO2018014516A1 PCT/CN2017/000040 CN2017000040W WO2018014516A1 WO 2018014516 A1 WO2018014516 A1 WO 2018014516A1 CN 2017000040 W CN2017000040 W CN 2017000040W WO 2018014516 A1 WO2018014516 A1 WO 2018014516A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
illumination
state
intensity
illumination information
Prior art date
Application number
PCT/CN2017/000040
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 KR1020187029329A priority Critical patent/KR102133197B1/ko
Priority to JP2018554078A priority patent/JP6719587B2/ja
Publication of WO2018014516A1 publication Critical patent/WO2018014516A1/zh
Priority to US16/160,931 priority patent/US10810287B2/en

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/74Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information operating in dual or compartmented mode, i.e. at least one secure mode
    • 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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/0304Detection arrangements using opto-electronic means
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Definitions

  • the present invention relates to the field of smart terminal technologies, and in particular, to the field of smart terminal application technologies, and in particular, to a method and apparatus for unlocking a terminal screen.
  • the finger is inconvenient to operate on the terminal screen.
  • the success rate of using face recognition unlocking is relatively low.
  • the purpose of the present application is to propose an improved method and apparatus for terminal screen unlocking to solve the technical problems mentioned in the background section above.
  • the present application provides a method for unlocking a screen of a terminal, the method comprising: determining a current screen state of the terminal as a state to be unlocked; acquiring illumination information of an environment in which the terminal is located within a predetermined time period, The illumination information includes an illumination intensity and a duration of the illumination intensity; determining whether the illumination information satisfies a predetermined condition; When the illumination information satisfies the predetermined condition, the current screen state of the terminal is switched to the unlock success state.
  • the present application provides an apparatus for unlocking a screen of a terminal, the apparatus comprising: a determining unit configured to determine a current screen state of the terminal to be unlocked; and an acquiring unit configured to acquire a predetermined time
  • the determining unit is configured to determine whether the illumination information satisfies a predetermined condition;
  • the execution unit is configured to use If the illumination information satisfies a predetermined condition, the current screen state of the terminal is switched to an unlocking success state.
  • the method and device for unlocking a terminal screen determines the current screen state of the terminal to be unlocked; and then obtains illumination information of the environment in which the terminal is located within a predetermined time period, where the illumination information includes the light intensity and the location Determining the duration of the illumination intensity; then determining whether the illumination information satisfies a predetermined condition; if the illumination information satisfies a predetermined condition, switching the current screen state of the terminal to an unlocked success state.
  • FIG. 1 is a flow chart of one embodiment of a method for terminal screen unlocking in accordance with the present application
  • FIG. 2 is a schematic flowchart of a method for terminal screen unlocking according to the present application
  • FIG. 3 is a flow chart of still another embodiment of a method for terminal screen unlocking according to the present application.
  • FIG. 4 is a schematic structural diagram of an embodiment of an apparatus for unlocking a terminal screen according to the present application.
  • FIG. 5 is a schematic structural diagram of a computer system suitable for implementing the terminal device of the embodiment of the present application.
  • the method for unlocking a terminal screen includes the following steps:
  • Step 101 Determine that the current screen state of the terminal is a state to be unlocked.
  • the terminal may be various electronic devices having a display screen, including but not limited to a smart phone, a tablet computer, an e-book reader, a laptop portable computer, a desktop computer, and the like.
  • the terminal status may include, for example, an unlocking success state and an unlocking state.
  • the state to be unlocked may be a screen lock state
  • the screen lock state may be a black screen state, that is, a screen lock in a state where the screen is not lit, or a screen lock under the lighting screen.
  • the terminal first determines that the current state of the terminal is the state to be unlocked. For example, it is possible to know whether the current state of the terminal is the state to be unlocked by the amount of power consumption of the current screen of the terminal. For example, when the power consumption of the current screen is less than a certain value, it may be determined that the current screen state of the terminal is the state to be unlocked.
  • the terminal system in response to the first operation of the terminal by the user, may determine whether the current state is an unlocked state, for example, by calling an underlying function.
  • the first operation may be, for example, a user's pressing operation on the power button of the terminal.
  • the first operation may also be, for example, a speech input by the user to the terminal through the terminal audio input device, in which a few notes, or a plurality of notes, or the like may be included.
  • the underlying function can be, for example, a lock screen/descreen function provided by the system.
  • the system can call the lock screen/solve function provided by the system, and judge the current screen according to the return value of the lock screen/unlock function.
  • the terminal can use the inKeyguardRestrictedInputMode function in the KeyguardManager class to determine whether the terminal screen is to be unlocked by the return value of the function.
  • the flag return value obtained by using the inKeyguardRestrictedInputMode function is a predetermined return value "true"
  • it is determined that the current state of the terminal screen is the state to be unlocked.
  • the inKeyguardRestrictedInputMode method is a well-known technology that is widely used at present, and is not described here, and is not described here.
  • Step 102 Acquire illumination information of an environment in which the terminal is located within a predetermined time period.
  • the light information of the environment may be collected by a light sensor, which may include, for example, the intensity of the light and the duration of the light intensity.
  • the terminal first registers a listener that listens for a light sensor parameter change event in the system running therein.
  • the operating system running on the terminal is an Android (Android) operating system
  • the kernel of the Android operating system monitors the light sensor parameter during the running of the system.
  • the system When the parameter of the light sensor is detected to change, the system generates a broadcast message indicating that the sensor parameter has changed.
  • the registered listener receives the above broadcast message.
  • the kernel of the operating system issues a broadcast message whose light sensor parameters change.
  • the listener can receive a broadcast message indicating that the parameter of the terminal light sensor changes in real time, and when receiving the broadcast message that the light sensor changes, the listener can obtain the environment where the light sensor detects the terminal.
  • Light intensity Specifically, the listener can obtain the light intensity of the environment in which the light sensor detects the light sensor by calling an application programming interface (API) of the light sensor provided by the operating system running on the terminal. The listener passes the acquired light intensity to the terminal.
  • API application programming interface
  • the light sensor can detect the duration of different light intensities, and the listener can also obtain the duration of each light intensity through the API and pass the duration to the terminal.
  • the illumination intensity of the environment in which the terminal is located may change multiple times within a predetermined period of time.
  • the terminal can obtain the plurality of light intensities and the duration of each light intensity in the predetermined time period through the listener.
  • the predetermined time period may be, for example, 10 seconds.
  • the predetermined time period can be set according to actual needs, which is not limited herein.
  • Step 103 Determine whether the illumination information satisfies a predetermined condition.
  • the predetermined condition may be a preset change rule of the user in the terminal.
  • the variation may include, for example, two-dimensional values representing changes in relative intensity of the illumination and respective durations, such as alternating "0", "1" values.
  • "1" may be, for example, a light intensity greater than a predetermined threshold.
  • “0” may be, for example, that the illumination intensity is less than a preset threshold.
  • the threshold can be set according to the actual use environment, which is not limited here.
  • the change rule may also be a change rule reflected by a plurality of light intensity set by a user stored in advance.
  • the variation law of the illumination intensity is calculated. Similarly, when the variation law of the illumination intensity is statistically The light intensity greater than a predetermined threshold is regarded as "1", and the light intensity less than a preset threshold is regarded as "0". Then, it is judged whether the change rule of the intensity of the light intensity is consistent with the change rule preset by the user. When the variation law of the illumination intensity calculated according to the plurality of illumination intensities and durations of the respective illumination intensities in the predetermined time period is consistent with the change rule preset by the user, the illumination information satisfies the predetermined condition. Otherwise the predetermined conditions are not met.
  • Step 104 If the illumination information meets the predetermined condition, the current screen state of the terminal is switched to the unlocking success state.
  • the current unlocked state of the screen is switched to the unlocking success state for the user to use the terminal screen.
  • the current screen state of the terminal is saved as the to-be-unlocked state.
  • the method for unlocking the screen of the terminal includes determining the current screen state of the terminal as the state to be unlocked, and then acquiring the illumination information of the environment in which the terminal is located within a predetermined time period, where the illumination information includes the illumination intensity and the illumination. The duration of the intensity. Then, it is judged whether the illumination information satisfies the predetermined condition, and if the illumination information satisfies the predetermined condition, the current screen state of the terminal is switched to the unlock success state.
  • the method provided in this embodiment can implement intelligent unlocking of the terminal by changing the illumination intensity of the environment in which the terminal is located, without manual operation by the user, and enriching the user experience.
  • FIG. 2 is a schematic flowchart of a method for unlocking a terminal according to the present application.
  • the terminal in step 201, is in a screen lock state including a lock state when the screen is lit and a lock state when the screen is not lit.
  • a listener that has been registered to the system can monitor the change of the light sensor parameters by monitoring the broadcast of the light sensor parameter changes from the kernel, thereby obtaining the illumination information of the environment in which the terminal is located, and the illumination information includes the duration of the light intensity and the light intensity. Time, the listener passes the acquired illumination information to the relevant application in the terminal.
  • Step 203 Determine whether the change rule of the light intensity in the predetermined time period matches the preset change rule.
  • Step 204 When the change rule of the light intensity in the predetermined time period matches the preset change rule, the current screen state of the terminal is switched to the unlock success state, otherwise, the current screen state of the terminal is kept as the unlocked state.
  • the method for unlocking a terminal screen includes the following steps:
  • Step 301 Determine that the current screen state of the terminal is a state to be unlocked.
  • the terminal system in response to the first operation of the terminal by the user, may determine whether the current state is an unlocked state, for example, by calling an underlying function.
  • the first operation may be, for example, a user's pressing operation on the power button of the terminal.
  • the first operation may also be, for example, a speech input by the user to the terminal through the terminal audio input device, in which a few notes, or a plurality of notes, or the like may be included.
  • the underlying function can be, for example, a lock screen/descreen function provided by the system. System can call The lock screen/resolution function provided by the system determines whether the current screen is to be unlocked according to the return value of the lock screen/unlock function.
  • the terminal can use the inKeyguardRestrictedInputMode function in the KeyguardManager class to determine whether the terminal screen is to be unlocked by the return value of the function. For example, when the flag return value obtained by using the inKeyguardRestrictedInputMode function is a predetermined return value "true", it indicates that the terminal screen is in an unlocked state. There are two states to be unlocked: a, the screen is not lit, the terminal screen is in an unlocked state; b, the screen is lit, and the terminal screen is in an unlocked state. When the return value of the flag obtained by this method is "false", it indicates that the terminal screen is in the unlocking success state.
  • Step 302 Acquire illumination information of an environment in which the terminal is located within a predetermined time period.
  • the light information of the environment in which the terminal is located may be collected by a light sensor disposed in the terminal.
  • the above illumination information may include the illumination intensity and the duration of the illumination intensity.
  • the system running on the terminal monitors the parameter change of the light sensor.
  • the system issues a broadcast message to the listener registered in the system in advance.
  • the listener obtains the light intensity detected by the light sensor through an application programming interface (API) of the light sensor provided by the operating system.
  • API application programming interface
  • the illumination information may also include the duration of the illumination intensity.
  • the duration of each illumination intensity can be acquired, for example, by a light sensor.
  • step 303 it is determined whether the illumination intensity is greater than an intensity threshold.
  • the intensity threshold and the intensity threshold set by the user may be pre-stored in the terminal.
  • the terminal first compares the illumination intensity acquired in step 302 with the intensity threshold. When the illumination intensity is greater than the intensity threshold, step 304 is performed. Otherwise, it is determined that the illumination information does not satisfy the preset condition, and the current state of the terminal screen is maintained as the to-be-unlocked state.
  • Step 304 When the light intensity is greater than the intensity threshold, determine whether the duration of the light intensity is greater than a time threshold.
  • the time threshold set by the user may be pre-stored in the terminal. For the light intensity whose value is greater than the intensity threshold, it is determined whether the duration of the light intensity is greater than a time threshold set by the user.
  • the time threshold can be, for example, 10 milliseconds.
  • Step 305 When the duration of the illumination intensity greater than the intensity threshold is greater than the time threshold, the current screen state of the terminal is switched to the unlock success state.
  • the present application provides an embodiment of an apparatus for unlocking a terminal screen
  • the device can be specifically applied to various terminals.
  • the terminal screen unlocking apparatus 400 of the present embodiment includes: a determining unit 401, an obtaining unit 402, a determining unit 403, and an executing unit 404.
  • the determining unit 401 is configured to determine that the current screen state of the terminal is the to-be-unlocked state;
  • the obtaining unit 402 is configured to obtain the illumination information of the environment where the terminal is located in the predetermined time period, where the illumination information includes the duration of the illumination intensity and the illumination intensity;
  • the unit 403 is configured to determine whether the illumination information meets the predetermined condition;
  • the execution unit 404 is configured to switch the current screen state of the terminal to the unlock success state if the illumination information satisfies the predetermined condition.
  • the determining unit 401 can learn whether the current state of the terminal is the to-be-unlocked state, for example, by the amount of power consumption of the current screen of the terminal.
  • the determining unit 401 in response to the first operation of the terminal by the user, invokes a system lock screen/unlock function, and determines whether the current screen state is determined according to a return value of the system lock screen/unlock function.
  • a system lock screen/unlock function determines whether the current screen state is determined according to a return value of the system lock screen/unlock function.
  • the terminal can use the inKeyguardRestrictedInputMode function in the KeyguardManager class to determine whether the terminal screen is to be unlocked by the return value of the function.
  • the flag return value obtained by using the inKeyguardRestrictedInputMode function is a predetermined return value "true", it indicates that the terminal screen is in an unlocked state.
  • the first operation may be, for example, a user's pressing operation on the power button of the terminal.
  • the first operation may also be a speech input by the user to the first operation through the terminal audio input device, in which a single note, or a plurality of notes, may be included.
  • the obtaining unit 402 first registers a listener that monitors the light sensor parameter change event in the system.
  • the operating system running on the terminal is an Android (Android) operating system.
  • the Android operating system runs during the operation of the Android operating system.
  • a sensor such as a light sensor parameter, is monitored in the kernel, and when a sensor parameter change is detected, a broadcast message is generated indicating that the sensor parameter has changed.
  • the listener can receive a broadcast message indicating that the parameter of the terminal light sensor changes in real time, and when receiving the broadcast message that the light sensor changes, the listener can invoke the application of the light sensor provided by the operating system running the terminal.
  • An application programming interface (API) that acquires the illumination intensity of the environment in which the terminal is detected by the light sensor. The listener passes the acquired light intensity to the acquisition unit 402.
  • the light sensor can also detect the duration of the ambient light of different illumination intensities, and the listener can also obtain the duration of the environment of each illumination intensity through the API, and transmit the duration to the acquisition unit 402.
  • the acquiring unit 402 may acquire the illumination intensity of the environment in the predetermined time period by using the listener.
  • the ambient light intensity may vary from multiple times during the predetermined time period.
  • the acquiring unit 402 can acquire, by the listener, a plurality of light intensities and durations of the respective light intensities in the predetermined time period.
  • the predetermined time period may be, for example, 10 seconds.
  • the predetermined time period can be set according to actual needs, which is not limited herein.
  • the changing rule of the light intensity may be pre-stored in the device 400 for unlocking the terminal screen.
  • the variation law may be, for example, a two-dimensional value indicating a change in the relative intensity of the illumination, for example, an alternating change of "0" and "1" values.
  • "1" may be, for example, a value of the light intensity greater than a predetermined threshold.
  • “0” may be, for example, that the value of the light intensity is smaller than a preset threshold.
  • the threshold can be set according to the actual use environment, which is not limited here.
  • the apparatus 400 for unlocking the terminal screen further includes a statistical unit (not shown).
  • the statistic unit is configured to be configured according to the plurality of illumination intensities acquired by the obtaining unit 402 in the predetermined time period and the duration of each illumination intensity.
  • the law of change in light intensity When the variation law of the illumination intensity is counted, the illumination intensity greater than a preset threshold may be regarded as "1", and the illumination intensity smaller than the preset threshold may be regarded as "0".
  • the determining unit 403 further determines whether the variation law of the intensity of the light intensity counted by the statistical unit is consistent with the change rule preset by the user.
  • the determination unit 403 determines that the illumination information satisfies the predetermined condition. Otherwise, the judging unit 403 judges that the illumination information does not satisfy the predetermined condition.
  • the determining unit 403 determines whether each illumination intensity is greater than a strength threshold set by the user, and the intensity threshold is pre-stored in the device 400 for terminal screen unlocking. When a certain light intensity is greater than the intensity threshold set by the user, the determining unit 403 continues to determine whether the duration of the light intensity is greater than a time threshold.
  • the time threshold can be, for example, 10 milliseconds.
  • FIG. 5 there is shown a block diagram of a computer system 500 suitable for use in implementing the terminal of the embodiments of the present application.
  • computer system 500 includes a central processing unit (CPU) 501 that can be loaded into a program in random access memory (RAM) 503 according to a program stored in read only memory (ROM) 502 or from storage portion 508. And perform various appropriate actions and processes.
  • RAM random access memory
  • ROM read only memory
  • RAM 503 various programs and data required for the operation of the system 500 are also stored.
  • the CPU 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504.
  • An input/output (I/O) interface 505 is also coupled to bus 504.
  • the following components are connected to the I/O interface 505: an input portion 506 including a keyboard or the like; an output portion 507 including a liquid crystal display (LCD) or the like, a speaker, etc.; a storage portion 508 including a hard disk or the like; and including, for example, a LAN card, a modem, and the like
  • the communication section 509 performs communication processing via a network such as the Internet.
  • Driver 510 is also coupled to I/O interface 505 as needed.
  • Removable medium 511, various A magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like is mounted on the drive 510 as needed so that a computer program read therefrom is installed into the storage portion 508 as needed.
  • an embodiment of the present disclosure includes a computer program product comprising a computer program tangibly embodied on a machine readable medium, the computer program comprising program code for executing the method illustrated in the flowchart.
  • the computer program can be downloaded and installed from the network via the communication portion 509, and/or installed from the removable medium 511.
  • CPU central processing unit
  • each block of the flowchart or block diagrams can represent a module, a program segment, or a portion of code that includes one or more logic for implementing the specified.
  • Functional executable instructions can also occur in a different order than that illustrated in the drawings. For example, two successively represented blocks may in fact be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or operation. Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments of the present application may be implemented by software or by hardware.
  • the described unit may also be provided in the processor, for example, as a processor including a determining unit, an obtaining unit, a determining unit, and an executing unit.
  • the name of these units does not constitute a limitation on the unit itself in some cases.
  • the determining unit may also be described as “a unit that determines that the terminal screen is in a state to be unlocked”.
  • the present application further provides a non-volatile computer storage medium, which may be a non-volatile computer storage medium included in the apparatus described in the foregoing embodiments; Can exist separately, not assembled into the terminal Volatile computer storage media.
  • the non-volatile computer storage medium stores one or more programs, when the one or more programs are executed by one device, causing the device to: determine that the current screen state of the terminal is in an unlocked state; and acquire the predetermined time period
  • the illumination information of the environment in which the terminal is located, the illumination information includes the duration of the illumination intensity and the illumination intensity; determines whether the illumination information satisfies the predetermined condition; and if the illumination information satisfies the predetermined condition, switches the current screen state of the terminal to the unlocked success state.

Landscapes

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

Abstract

一种用于终端屏幕解锁的方法与装置,所述方法包括:确定所述终端当前屏幕状态为待解锁状态(101);获取预定时间段内所述终端所处环境的光照信息,所述光照信息包括光照强度及所述光照强度的持续时间(102);判断所述光照信息是否满足预定条件(103);若所述光照信息满足预定条件,则将所述终端当前屏幕状态切换为解锁成功状态(104)。所述方法实现了在不需要人手操作终端屏幕的前提下,实现较高精度的终端屏幕解锁。

Description

用于终端屏幕解锁的方法与装置
相关申请的交叉引用
本申请要求于2016年7月19日提交的中国专利申请号为“201610569859.3”的优先权,其全部内容作为整体并入本申请中。
技术领域
本申请涉及智能终端技术领域,具体涉及智能终端应用技术领域,尤其涉及用于终端屏幕解锁的方法与装置。
背景技术
目前智能终端已经成为人们日常生活的一部分,很多用户利用屏幕锁定来达到保护隐私、防止误操作和省电的目的。用户在需要使用智能终端时,需要对屏幕进行解锁。
现有的对终端的屏幕进行解锁的方案有滑动解锁、输入文字密码解锁、人脸识别解锁、指纹解锁或者是点阵绘图解锁等等。在这些解锁方式中,比如滑动解锁、输入文字密码解锁、指纹解锁或者点阵绘图解锁需要人手动对终端屏幕进行操作。
然而,例如当环境温度比较低时,手指不方便对终端屏幕操作。同时使用人脸识别解锁的成功率比较低。
发明内容
本申请的目的在于提出一种改进的用于终端屏幕解锁的方法与装置,来解决以上背景技术部分提到的技术问题。
第一方面,本申请提供了一种用于终端屏幕解锁的方法,所述方法包括:确定所述终端当前屏幕状态为待解锁状态;获取预定时间段内所述终端所处环境的光照信息,所述光照信息包括光照强度及所述光照强度的持续时间;判断所述光照信息是否满足预定条件;若所述 光照信息满足预定条件,则将所述终端当前屏幕状态切换为解锁成功状态。
第二方面,本申请提供了一种用于终端屏幕解锁的装置,所述装置包括:确定单元,配置用于确定所述终端当前屏幕状态为待解锁状态;获取单元,配置用于获取预定时间段内所述终端所处环境的光照信息,所述光照信息包括光照强度及所述光照强度的持续时间;判断单元,配置用于判断所述光照信息是否满足预定条件;执行单元,配置用于若所述光照信息满足预定条件,则将所述终端当前屏幕状态切换为解锁成功状态。
本申请提供的用于终端屏幕解锁的方法与装置,通过确定终端当前屏幕状态为待解锁状态;然后获取预定时间段内所述终端所处环境的光照信息,所述光照信息包括光照强度及所述光照强度的持续时间;接着判断所述光照信息是否满足预定条件;若所述光照信息满足预定条件,则将所述终端当前屏幕状态切换为解锁成功状态。从而实现了在不需要或者人手较少地操作屏幕的前提下,实现较高精度的屏幕解锁,并丰富了用户体验。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:
图1是根据本申请的用于终端屏幕解锁的方法的一个实施例的流程图;
图2是根据本申请的用于终端屏幕解锁的方法的原理性流程图;
图3是根据本申请的用于终端屏幕解锁的方法的又一个实施例的流程图;
图4是根据本申请的用于终端屏幕解锁的装置的一个实施例的结构示意图;
图5是适于用来实现本申请实施例的终端设备的计算机系统的结构示意图。
具体实施方式
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。
请参考图1,示出了根据本申请的用于终端屏幕解锁的方法的一个实施例的流程100。所述的用于终端屏幕解锁的方法,包括以下步骤:
步骤101,确定终端当前屏幕状态为待解锁状态。
在本实施例中,终端可以是具有显示屏的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、膝上型便携计算机和台式计算机等等。
在本实施例中,终端状态例如可以包括解锁成功状态和待解锁状态。其中,待解锁状态可以为屏幕锁定状态,该屏幕锁定状态可以为黑屏状态即屏幕未点亮状态下的屏幕锁定,也可以为点亮屏幕下的屏幕锁定。
在本实施例中,终端首先确定终端当前屏幕的状态为待解锁状态。例如可以通过终端当前屏幕的耗电量的多少来获知终端当前的状态是否为待解锁状态。例如当前屏幕的耗电量少于一定数值时,则可以确定终端当前屏幕状态为待解锁状态。
在本实施例的一些可选实现方式中,响应于用户对所述终端的第一操作,终端系统例如可以通过调用底层函数来确定当前状态是否为待解锁状态。此处,第一操作例如可以为用户对终端的电源键的按压操作。或者,第一操作例如还可以为用户通过终端音频输入设备输入到终端的一段语音,在该段语音中可以包括几个音符,或者多个音符,等等。底层函数例如可以为系统提供的锁屏/解屏函数。系统可以调用系统提供的锁屏/解屏函数,并根据锁屏/解锁函数的返回值判断当前屏 幕是否为待解锁状态。例如,当终端上的系统为安卓(Android)系统时,终端可以使用KeyguardManager类中的inKeyguardRestrictedInputMode函数,通过该函数的返回值来判端终端屏幕是否为待解锁状态。当使用inKeyguardRestrictedInputMode函数获取的flag返回值为预定返回值“true”时,确定终端屏幕当前状态为待解锁状态。待解锁状态有两种:a、屏幕未点亮,终端屏幕为待解锁状态;b、屏幕已点亮,终端屏幕为待解锁状态。使用该方法获取的flag返回值为“false”时,确定终端屏幕当前状态为解锁成功状态。上述,inKeyguardRestrictedInputMode方法是目前广泛应用的公知技术,在此不赘述,此处不赘述。
步骤102,获取预定时间段内所述终端所处环境的光照信息。
目前,大多数的智能移动终端上安装有多种传感器,并且由各种传感器探测移动终端的相应信息。例如可以由光线传感器来采集环境的光照信息,上述光照信息例如可以包括光照强度以及光照强度的持续时间。
在本实施例的一些可选实现方式中,终端首先在运行在其中的系统中注册监听光线传感器参数变化事件的监听器。以终端运行的操作系统为安卓(Android)操作系统为例,当在系统中注册了监听光线传感器参数变化事件的监听器后,在系统的运行过程中,安卓操作系统的内核会监听光线传感器参数,当监听到光线传感器参数发生变化时,则系统会产生一个指示传感器参数发生变化的广播消息。已注册的监听器接收上述广播消息。在本实施例中,由于环境光线强弱变化时,会引起终端的光线传感器参数发生变化,相应地,操作系统的内核会发出光线传感器参数发生变化的广播消息。因此,在本实施例中,监听器可以实时接收指示终端光线传感器参数发生变化的广播消息,当接收到光线传感器发生变化的广播消息时,监听器可以获取所述光线传感器探测到终端所处环境的光照强度。具体地,监听器可以通过调用终端运行的操作系统提供的光线传感器的应用程序编程接口(Application Programming Interface,API),获取光线传感器探测到终端所处环境的光照强度。监听器将获取到的光照强度传递给终端。
另外,光线传感器还可以探测不同光照强度的持续时间,监听器还可以通过API获取每个光照强度的持续时间,并将这些持续时间传递给终端。
在本实施例的一些可选实现方式中,在预定时间段内,终端所处环境的光照强度可以发生多次变化。终端可以通过监听器获取该预定时间段内的多个光照强度以及各光照强度的持续时间。此处,预定时间段例如可以为10秒。另外,预定时间段可以根据实际需要进行设定,此处不做限定。
步骤103,判断光照信息是否满足预定条件。
在本实施例的一些可选实现方式中,上述预定条件可以是用户在终端中预先设定的变化规律。该变化规律例如可以包括表示光照相对强弱变化的二维数值及各自的持续时间,例如交替变化的“0”、“1”数值。此处的“1”例如可以为光照强度大于预先设定的阈值。此处的“0”例如可以为光照强度小于预先设定的阈值。阈值可以根据实际使用环境进行设定,此处不做限定。另外,该变化规律也可以是预先存储在其中的用户设定的多个光照强度所反映出的变化规律。
在本实施例中,首先,根据步骤102中在预定时间段内获取的多个光照强度及各光照强度的持续时间统计出光照强度的变化规律,同样,在统计光照强度的变化规律时,可以将大于预先设定的阈值的光照强度视为“1”,而将小于预先设定的阈值的光照强度视为“0”。然后再判断该光强强度的变化规律是否与用户预先设定的变化规律是否一致。当根据预定时间段内获取的多个光照强度及各光照强度的持续时间统计出的光照强度的变化规律与用户预设的变化规律一致时,则光照信息满足预定条件。否则不满足预定条件。
步骤104,若所述光照信息满足预定条件,则将终端当前屏幕状态切换为解锁成功状态。
当终端判断光照信息满足预定条件时,将屏幕当前的待解锁状态切换为解锁成功状态,以供用户使用终端屏幕。
当终端光照信息不满足预定条件时,保存终端当前屏幕状态为待解锁状态。
本实施例提供的用于终端屏幕解锁的方法通过确定终端当前屏幕状态为待解锁状态,然后获取预定时间段内所述终端所处环境的光照信息,所述光照信息包括光照强度及所述光照强度的持续时间。接着判断光照信息是否满足预定条件,若光照信息满足预定条件,则将终端当前屏幕状态切换为解锁成功状态。本实施例提供的方法,通过终端所处环境的光照强度的变化就可以实现终端的智能解锁,无需用户手动操作,同时丰富了用户体验。
继续参见图2,图2是根据本申请的终端解锁方法的原理性流程图。如图2所示,在步骤201中,终端处于屏幕锁定状态,该屏幕锁定状态包括在屏幕点亮时的锁定状态和屏幕未点亮时的锁定状态。步骤202,监听光线传感器参数的变化,获取光照信息。例如已注册到系统的监听器可以通过监听来自内核的发布的光线传感器参数变化的广播来监听光线传感器参数的变化,从而获取终端所处环境的光照信息,光照信息包括光照强度及光照强度的持续时间,监听器将获取到的光照信息传递给终端中的相关应用。步骤203,判断预定时间段内光照强度的变化规律与预设的变化规律是否匹配。步骤204,当预定时间段内光照强度的变化规律与预设的变化规律相匹配的时候,将终端当前屏幕状态切换为解锁成功状态,否则,保持终端当前屏幕状态为待解锁状态。
继续参考图3,其示出了根据本申请的用于终端屏幕解锁的方法的又一个实施例的流程300。所述的用于终端屏幕解锁的方法,包括以下步骤:
步骤301,确定终端当前屏幕状态为待解锁状态。
在本实施例的一些可选实现方式中,响应于用户对所述终端的第一操作,终端系统例如可以通过调用底层函数来确定当前状态是否为待解锁状态。此处,第一操作例如可以为用户对终端的电源键的按压操作。或者,第一操作例如还可以为用户通过终端音频输入设备输入到终端的一段语音,在该段语音中可以包括几个音符,或者多个音符,等等。底层函数例如可以为系统提供的锁屏/解屏函数。系统可以调用 系统提供的锁屏/解屏函数,并根据锁屏/解锁函数的返回值判断当前屏幕是否为待解锁状态。例如,当终端上的系统为安卓(Android)系统时,终端可以使用KeyguardManager类中的inKeyguardRestrictedInputMode函数,通过函数的返回值来判端终端屏幕是否为待解锁状态。例如使用inKeyguardRestrictedInputMode函数获取的flag返回值为预定返回值“true”时,表示终端屏幕为待解锁状态。待解锁状态有两种:a、屏幕未点亮,终端屏幕为待解锁状态;b、屏幕已点亮,终端屏幕为待解锁状态。使用该方法获取的flag返回值为“false”时,表示终端屏幕为解锁成功状态。
步骤302,获取预定时间段内终端所处环境的光照信息。
在本实施例中,可以由设置在终端中的光线传感器来采集终端所处环境的光照信息。上述光照信息可以包括光照强度及该光照强度的持续时间。
在本实施例中,运行于终端上的系统监听光线传感器的参数变化,当由参数变化时,系统向预先在系统中注册的监听器发布广播消息。监听器通过操作系统提供的光线传感器的应用程序编程接口(Application Programming Interface,API),获取光线传感器探测到的光照强度。
在本实施例中,光照信息还可以包括光照强度的持续时间。其中,每个光照强度的持续时间例如可以由光线传感器来采集。
步骤303,判断光照强度是否大于强度阈值。
在本实施例中,终端中可以预先存储有用户设置的强度阈值,强度阈值。终端首先对在步骤302中获取的光照强度与强度阈值进行比对,当光照强度大于强度阈值时,执行步骤304。否则,判断光照信息不满足预设条件,保持终端屏幕的当前状态为待解锁状态。
步骤304,当光照强度大于强度阈值时,判断光照强度的持续时间是否大于时间阈值。
在本实施例中,终端中可以预先存储有用户设置的时间阈值。对于数值大于强度阈值的光照强度,判断该光照强度的持续时间是否大于用户设置的时间阈值。此处,时间阈值例如可以为10毫秒。当大于 强度阈值的光照强度的持续时间大于时间阈值时,判断光照信息满足预设条件,否则判断光照信息不满足预设条件。
步骤305,当大于强度阈值的光照强度的持续时间大于时间阈值时,将所述终端当前屏幕状态切换为解锁成功状态。
进一步参考图4,作为对图1所示方法的实现,本申请提供了一种用于终端屏幕解锁的装置的一个实施例,该装置实施例与图1所示的方法实施例相对应,该装置具体可以应用于各种终端中。
如图4所示,本实施例用于终端屏幕解锁装置400包括:确定单元401、获取单元402、判断单元403与执行单元404。其中,确定单元401配置用于确定终端当前屏幕状态为待解锁状态;获取单元402配置用于获取预定时间段内终端所处环境的光照信息,光照信息包括光照强度及光照强度的持续时间;判断单元403配置用于判断光照信息是否满足预定条件;执行单元404配置用于若光照信息满足预定条件,则将终端当前屏幕状态切换为解锁成功状态。
在本实施例中,确定单元401例如可以通过终端当前屏幕的耗电量的多少来获知终端当前的状态是否为待解锁状态。
在本实施例的一些可选实现方式中,响应于用户对终端的第一操作,确定单元401调用系统锁屏/解锁函数,并根据系统锁屏/解锁函数的返回值判断当前屏幕状态是否为待解锁状态。例如,当终端上的系统为安卓(Android)系统时,终端可以使用KeyguardManager类中的inKeyguardRestrictedInputMode函数,通过函数的返回值来判端终端屏幕是否为待解锁状态。例如使用inKeyguardRestrictedInputMode函数获取的flag返回值为预定返回值“true”时,表示终端屏幕为待解锁状态。待解锁状态有两种:a、屏幕未点亮,终端屏幕为待解锁状态;b、屏幕已点亮,终端屏幕为待解锁状态。使用该方法获取的flag返回值为“false”时,表示终端屏幕为解锁成功状态。此处,第一操作例如可以为用户对终端的电源键的按压操作。在一些应用场景中,第一操作还可以是用户通过终端音频输入装置输入到第一操作的一段语音,在该段语音中可以包括单个音符,或者多个音符。
在本实施例中,获取单元402首先在系统中注册监听光线传感器参数变化事件的监听器。以终端运行的操作系统为安卓(Android)操作系统为例,当获取单元402在系统的中注册了监听光线传感器参数变化事件的监听器后,在Android操作系统的运行过程中,Android操作系统的内核中会监听传感器例如光线传感器参数,当监听到传感器参数发生变化时,则会产生一个指示传感器参数发生变化的广播消息。在本实施例中,监听器可以实时接收指示终端光线传感器参数发生变化的广播消息,当接收到光线传感器发生变化的广播消息时,监听器可以通过调用终端运行的操作系统提供的光线传感器的应用程序编程接口(Application Programming Interface,API),获取光线传感器探测到的终端所处环境的光照强度。监听器将获取到的光照强度传递给获取单元402。
另外,光线传感器还可以探测不同光照强度的环境光的持续时间,监听器还可以通过API获取每个光照强度的环境的持续时间,并将这些持续时间传递给获取单元402。
在本实施例的一些可选实现方式中,获取单元402可以通过监听器获取预定时间段内环境的光照强度。在该预定时间段内,环境的光照强度可以发生多次变化。获取单元402终端可以通过监听器获取该预定时间段内的多个光照强度以及各光照强度的持续时间。此处,预定时间段例如可以为10秒。另外,预定时间段可以根据实际需要进行设定,此处不做限定。
在本实施例的一些可选实现方式中,用于终端屏幕解锁的装置400中可以预先存储有光照强度的变化规律。该变化规律例如可以是表示光照相对强弱变化的二维数值,例如交替变化“0”、“1”数值。此处的“1”例如可以为光照强度的数值大于预先设定的阈值。此处的“0”例如可以为光照强度的数值小于预先设定的阈值。阈值可以根据实际使用环境进行设定,此处不做限定。
本实施例的一些可选实现方式中,用于终端屏幕解锁的装置400还包括统计单元(图中未示出)。统计单元配置用于根据获取单元402在预定时间段内获取的多个光照强度及各光照强度的持续时间统计出 光照强度的变化规律。在统计光照强度的变化规律时,可以将大于预先设定的阈值的光照强度视为“1”,而将小于预先设定的阈值的光照强度视为“0”。然后判断单元403再判断由统计单元统计出的光强强度的变化规律是否与用户预先设定的变化规律是否一致。当根据预定时间段内获取的多个光照强度及各光照强度的持续时间统计出的光照强度的变化规律与用户预先设定的变化规律一致时,则判断单元403判断光照信息满足预定条件。否则,判断单元403判断光照信息不满足预定条件。
在本实施例的一些可选实现方式中,判断单元403分别判断各光照强度是否大于用户设置的强度阈值,该强度阈值预先存储于用于终端屏幕解锁的装置400中。当某一光照强度大于用户设置的强度阈值时,则判断单元403继续判断该光照强度的持续时间是否大于时间阈值。时间阈值例如可以为10毫秒。当任意一个光照强度大于强度阈值,且该光照强度的持续时间大于时间阈值时,则判定单元403判断包含该光照强度及其持续时间的光照信息满足预定条件,否则,判断单元403判断光照信息不满足预定条件。
下面参考图5,其示出了适于用来实现本申请实施例的终端的计算机系统500的结构示意图。
如图5所示,计算机系统500包括中央处理单元(CPU)501,其可以根据存储在只读存储器(ROM)502中的程序或者从存储部分508加载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有系统500操作所需的各种程序和数据。CPU 501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。
以下部件连接至I/O接口505:包括键盘等的输入部分506;包括诸如液晶显示器(LCD)等以及扬声器等的输出部分507;包括硬盘等的存储部分508;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分509。通信部分509经由诸如因特网的网络执行通信处理。驱动器510也根据需要连接至I/O接口505。可拆卸介质511,诸 如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器510上,以便于从其上读出的计算机程序根据需要被安装入存储部分508。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括有形地包含在机器可读介质上的计算机程序,所述计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分509从网络上被下载和安装,和/或从可拆卸介质511被安装。在该计算机程序被中央处理单元(CPU)501执行时,执行本申请的方法中限定的上述功能。
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,所述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括确定单元、获取单元、判断单元以及执行单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,确定单元还可以被描述为“确定终端屏幕为待解锁状态的单元”。
作为另一方面,本申请还提供了一种非易失性计算机存储介质,该非易失性计算机存储介质可以是上述实施例中所述装置中所包含的非易失性计算机存储介质;也可以是单独存在,未装配入终端中的非 易失性计算机存储介质。上述非易失性计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备:确定终端当前屏幕状态为待解锁状态;获取预定时间段内终端所处环境的光照信息,光照信息包括光照强度及光照强度的持续时间;判断光照信息是否满足预定条件;若光照信息满足预定条件,则将终端当前屏幕状态切换为解锁成功状态。
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离所述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。

Claims (10)

  1. 一种用于终端屏幕解锁的方法,其特征在于,所述方法包括:
    确定所述终端当前屏幕状态为待解锁状态;
    获取预定时间段内所述终端所处环境的光照信息,所述光照信息包括光照强度及所述光照强度的持续时间;
    判断所述光照信息是否满足预定条件;
    若所述光照信息满足预定条件,则将所述终端当前屏幕状态切换为解锁成功状态。
  2. 根据权利要求1所述的方法,其特征在于,
    根据所述光照信息统计光照强度的变化规律,所述判断所述光照信息是否满足预定条件,包括:
    判断所述光照强度的变化规律是否满足预定的变化规律:
    若所述光照强度的变化规律与预定的变化规律一致,则判断所述光照信息满足预定条件。
  3. 根据权利要求1所述的方法,其特征在于,所述判断所述光照信息是否满足预定条件包括:
    判断所述光照强度是否大于强度阈值;
    当所述光照强度大于强度阈值时,判断所述光照强度的持续时间是否大于时间阈值;
    当大于强度阈值的光照强度的持续时间大于时间阈值时,则判断所述光照信息满足预定条件。
  4. 根据权利要求1所述的方法,其特征在于,所述确定终端当前状态为待解锁状态,包括:
    响应于用户对所述终端的第一操作,调用系统锁屏/解锁函数;
    当所述系统锁屏/解锁函数的返回值为预定返回值时,确定当前屏幕状态为待解锁状态;
    其中,所述第一操作包括用户对电源键的按压操作。
  5. 一种用于终端屏幕解锁的装置,其特征在于,所述装置包括:
    确定单元,配置用于确定所述终端当前屏幕状态为待解锁状态;
    获取单元,配置用于获取预定时间段内所述终端所处环境的光照信息,所述光照信息包括光照强度及所述光照强度的持续时间;
    判断单元,配置用于判断所述光照信息是否满足预定条件;
    执行单元,配置用于若所述光照信息满足预定条件,则将所述终端当前屏幕状态切换为解锁成功状态。
  6. 根据权利要求5所述的装置,其特征在于,所述装置还包括统计单元,所述统计单元配置用于根据所述光照信息统计光照强度的变化规律;
    所述判断单元进一步配置用于判断所述光照强度的变化规律是否满足预定的变化规律;
    若所述光照强度的变化规律与预定的变化规律一致,则判断所述光照信息满足预定条件。
  7. 根据权利要求5所述的装置,其特征在于,所述判断单元进一步配置用于:
    判断所述光照强度是否大于强度阈值;
    当所述光照强度大于强度阈值时,判断所述光照强度的持续时间是否大于时间阈值;
    当大于强度阈值的光照强度的持续时间大于时间阈值时,则判断所述光照信息满足预定条件。
  8. 根据权利要求5所述的装置,其特征在于,所述确定单元进一步配置用于:
    响应于用户对所述终端的第一操作,调用系统锁屏/解锁函数;
    当所述系统锁屏/解锁函数的返回值为预定返回值时,确定当前屏 幕状态为待解锁状态;
    其中,所述第一操作包括用户对电源键的按压操作。
  9. 一种设备,包括:
    处理器;和
    存储器,
    所述存储器中存储有能够被所述处理器执行的计算机可读指令,在所述计算机可读指令被执行时,所述处理器执行用于终端屏幕解锁的方法,所述方法包括:
    确定所述终端当前屏幕状态为待解锁状态;
    获取预定时间段内所述终端所处环境的光照信息,所述光照信息包括光照强度及所述光照强度的持续时间;
    判断所述光照信息是否满足预定条件;
    若所述光照信息满足预定条件,则将所述终端当前屏幕状态切换为解锁成功状态。
  10. 一种非易失性计算机存储介质,所述计算机存储介质存储有能够被处理器执行的计算机可读指令,当所述计算机可读指令被处理器执行时,所述处理器执行用于终端屏幕解锁的方法,所述方法包括:
    确定所述终端当前屏幕状态为待解锁状态;
    获取预定时间段内所述终端所处环境的光照信息,所述光照信息包括光照强度及所述光照强度的持续时间;
    判断所述光照信息是否满足预定条件;
    若所述光照信息满足预定条件,则将所述终端当前屏幕状态切换为解锁成功状态。
PCT/CN2017/000040 2016-07-19 2017-01-03 用于终端屏幕解锁的方法与装置 WO2018014516A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020187029329A KR102133197B1 (ko) 2016-07-19 2017-01-03 단말기 화면 잠금 해제 방법 및 장치
JP2018554078A JP6719587B2 (ja) 2016-07-19 2017-01-03 端末画面のロックを解除する方法及び装置
US16/160,931 US10810287B2 (en) 2016-07-19 2018-10-15 Method and apparatus for unlocking terminal screen

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610569859.3A CN105956437A (zh) 2016-07-19 2016-07-19 用于终端屏幕解锁的方法与装置
CN201610569859.3 2016-07-19

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/160,931 Continuation US10810287B2 (en) 2016-07-19 2018-10-15 Method and apparatus for unlocking terminal screen

Publications (1)

Publication Number Publication Date
WO2018014516A1 true WO2018014516A1 (zh) 2018-01-25

Family

ID=56900947

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/000040 WO2018014516A1 (zh) 2016-07-19 2017-01-03 用于终端屏幕解锁的方法与装置

Country Status (5)

Country Link
US (1) US10810287B2 (zh)
JP (1) JP6719587B2 (zh)
KR (1) KR102133197B1 (zh)
CN (1) CN105956437A (zh)
WO (1) WO2018014516A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956437A (zh) * 2016-07-19 2016-09-21 百度在线网络技术(北京)有限公司 用于终端屏幕解锁的方法与装置
WO2018177766A1 (en) * 2017-03-28 2018-10-04 Philips Lighting Holding B.V. Apparatus for a luminaire and a method of operating a luminaire
CN111182340B (zh) * 2019-12-31 2022-12-30 茂佳科技(广东)有限公司 终端的控制方法、终端、设备及计算机可读存储介质
CN113221092B (zh) * 2021-05-26 2024-05-31 德明通讯(上海)股份有限公司 一种基于信任环境的屏幕解锁方法、终端

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567935A (zh) * 2009-01-22 2009-10-28 宇龙计算机通信科技(深圳)有限公司 一种移动终端显示屏控制的方法
CN102340590A (zh) * 2010-07-27 2012-02-01 上海闻泰电子科技有限公司 一种用于手机的感光加解锁装置及其实现方法
CN103581443A (zh) * 2013-11-14 2014-02-12 惠州Tcl移动通信有限公司 一种基于传感器的智能终端自动唤醒方法及系统
CN103593115A (zh) * 2013-11-27 2014-02-19 青岛尚慧信息技术有限公司 电子设备及其功能调用系统和方法
US20160011661A1 (en) * 2014-07-11 2016-01-14 Kabushiki Kaisha Toshiba Electronic device, method, and computer program product
CN105956437A (zh) * 2016-07-19 2016-09-21 百度在线网络技术(北京)有限公司 用于终端屏幕解锁的方法与装置

Family Cites Families (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4721976A (en) * 1986-07-24 1988-01-26 Canon Kabushiki Kaisha AE lock device for camera
US5594238A (en) * 1995-02-17 1997-01-14 Albert J. Endruschat Touchless switch which discriminates between motion intended to toggle the switch and other forms of motion
US7894177B2 (en) * 2005-12-29 2011-02-22 Apple Inc. Light activated hold switch
US20070161410A1 (en) * 2006-01-11 2007-07-12 Inventec Corporation Mobile phone capable of controlling keyboard lock and method therefor
US8462322B2 (en) * 2008-10-08 2013-06-11 International Business Machines Corporation Prismatic lock and key security
CN101893994A (zh) * 2010-07-14 2010-11-24 中兴通讯股份有限公司 智能锁屏的方法及终端
US8665212B2 (en) * 2011-07-08 2014-03-04 Blackberry Limited Systems and methods for locking an electronic device
US10154564B2 (en) * 2011-08-31 2018-12-11 Chia-Teh Chen App based free setting method for setting operating parameter of security light
TW201322051A (zh) 2011-11-18 2013-06-01 Asustek Comp Inc 螢幕鎖定解除方法
US8872618B2 (en) * 2012-04-09 2014-10-28 Nai-Chien Chang Unlocking method for electronic device
CN102868821A (zh) * 2012-09-20 2013-01-09 广东欧珀移动通信有限公司 一种移动终端的屏幕激活及解锁方法
US9294864B2 (en) * 2012-10-30 2016-03-22 Verizon Patent And Licensing Inc. Methods and systems for detecting and preventing unintended dialing by a phone device
CN103049195B (zh) * 2012-12-31 2015-12-23 广东欧珀移动通信有限公司 一种移动终端解锁方法及装置
US20170187866A1 (en) * 2015-10-17 2017-06-29 Eric Qing Li Automatic Volume Control Based on Context and Location
US20150011195A1 (en) * 2013-07-03 2015-01-08 Eric Li Automatic volume control based on context and location
US20150015688A1 (en) * 2013-07-09 2015-01-15 HTC Corportion Facial unlock mechanism using light level determining module
US10281987B1 (en) * 2013-08-09 2019-05-07 Leap Motion, Inc. Systems and methods of free-space gestural interaction
US9520045B2 (en) * 2014-09-02 2016-12-13 Apple Inc. Establishment and detection of breakage of wireless leash between devices
WO2016037313A1 (zh) * 2014-09-09 2016-03-17 华为技术有限公司 蓝光调整方法、装置及终端
CN109901770B (zh) * 2014-12-30 2022-10-11 华为终端有限公司 一种图形用户界面的显示方法及移动终端
CN104834908B (zh) * 2015-05-07 2018-09-07 惠州Tcl移动通信有限公司 一种移动终端基于眼纹识别的图像曝光方法及曝光系统
US9801013B2 (en) * 2015-11-06 2017-10-24 Leeo, Inc. Electronic-device association based on location duration
CN105809003B (zh) * 2016-03-10 2018-03-27 广东欧珀移动通信有限公司 一种指纹识别的终端屏幕解锁方法及终端
CN109417844B (zh) * 2016-05-24 2021-03-12 昕诺飞控股有限公司 基于开关的照明控制
CN107426802B (zh) * 2016-05-24 2020-06-26 华为终端有限公司 一种终端管理方法以及装置
KR20180084397A (ko) * 2017-01-17 2018-07-25 삼성전자주식회사 홍채를 인식하기 위한 전자 장치 및 그의 동작 방법

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567935A (zh) * 2009-01-22 2009-10-28 宇龙计算机通信科技(深圳)有限公司 一种移动终端显示屏控制的方法
CN102340590A (zh) * 2010-07-27 2012-02-01 上海闻泰电子科技有限公司 一种用于手机的感光加解锁装置及其实现方法
CN103581443A (zh) * 2013-11-14 2014-02-12 惠州Tcl移动通信有限公司 一种基于传感器的智能终端自动唤醒方法及系统
CN103593115A (zh) * 2013-11-27 2014-02-19 青岛尚慧信息技术有限公司 电子设备及其功能调用系统和方法
US20160011661A1 (en) * 2014-07-11 2016-01-14 Kabushiki Kaisha Toshiba Electronic device, method, and computer program product
CN105956437A (zh) * 2016-07-19 2016-09-21 百度在线网络技术(北京)有限公司 用于终端屏幕解锁的方法与装置

Also Published As

Publication number Publication date
JP2019523466A (ja) 2019-08-22
CN105956437A (zh) 2016-09-21
US10810287B2 (en) 2020-10-20
US20190050544A1 (en) 2019-02-14
KR20180122681A (ko) 2018-11-13
JP6719587B2 (ja) 2020-07-08
KR102133197B1 (ko) 2020-07-13

Similar Documents

Publication Publication Date Title
WO2018014516A1 (zh) 用于终端屏幕解锁的方法与装置
US10129044B2 (en) Method and apparatus for controlling smart device
TWI698800B (zh) 資訊圖像顯示方法及裝置
WO2017156964A1 (zh) 一种终端解锁的方法及终端
WO2017118332A1 (zh) 一种应用中功能的调用方法及装置
US9245100B2 (en) Method and apparatus for unlocking a user portable wireless electronic communication device feature
EP2960823A1 (en) Method, device and system for managing authority
WO2019190619A1 (en) Recognizing users with mobile application access patterns learned from dynamic data
US9360953B2 (en) Method and system for unlocking a device having a touch screen
CN103870181A (zh) 一种手持设备的控制方法、控制装置及手持设备
CN106940787B (zh) 指纹识别方法、装置及设备
WO2017118317A1 (zh) 一种信息图像显示、条形码支付方法及装置
CN108898807B (zh) 隐蔽报警方法、装置、终端及存储介质
CN115810356A (zh) 语音控制方法、装置、存储介质以及电子设备
WO2016082498A1 (zh) 一种终端设备控制方法及装置
WO2022057093A1 (zh) 可穿戴设备及其屏幕唤醒方法、可读存储介质
CN109426712A (zh) 指纹解锁方法、装置及电子设备
CN113808584A (zh) 语音唤醒方法、装置、电子设备及存储介质
CN112698806A (zh) 参数调整方法、装置、电子设备和可读存储介质
WO2015054501A2 (en) Safety system utilizing personal area network communication protocols between other devices
CN110889101A (zh) 终端功能控制方法、装置及可读存储介质
WO2018006615A1 (zh) 数据信息的显示方法和装置
CN112788603B (zh) 验证码转发方法、装置、设备及介质
CN117615440B (zh) 模式切换方法及相关装置
WO2017012206A1 (zh) 一种终端及终端的操作方法、存储介质

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 20187029329

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2018554078

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 17830166

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

Country of ref document: EP

Kind code of ref document: A1