WO2012040975A1 - 一种实现移动终端锁屏和开屏的方法及移动终端 - Google Patents

一种实现移动终端锁屏和开屏的方法及移动终端 Download PDF

Info

Publication number
WO2012040975A1
WO2012040975A1 PCT/CN2010/079338 CN2010079338W WO2012040975A1 WO 2012040975 A1 WO2012040975 A1 WO 2012040975A1 CN 2010079338 W CN2010079338 W CN 2010079338W WO 2012040975 A1 WO2012040975 A1 WO 2012040975A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
screen
lock screen
module
state
Prior art date
Application number
PCT/CN2010/079338
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 中兴通讯股份有限公司
Publication of WO2012040975A1 publication Critical patent/WO2012040975A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and a mobile terminal for implementing a screen lock and a screen for a mobile terminal.
  • the method for locking a mobile terminal on the market is usually that the mobile terminal user customizes a time threshold. If the user does not use the mobile terminal within the time threshold, the mobile terminal automatically locks the screen.
  • the method of opening the screen is to open the screen of the mobile terminal by means of a button or a touch.
  • the present invention provides a method for realizing a lock screen and a screen for a mobile terminal, and a mobile terminal, which solves the problem of locking and opening a screen of a mobile terminal.
  • the present invention uses the following technical solutions: A method for implementing a lock screen and a screen for a mobile terminal, the method comprising:
  • Detecting an approaching distance of the object close to the mobile terminal comparing the detection result with a preset first threshold value; if the mobile terminal is open, if the proximity distance of the detected object is less than or equal to the first threshold value Then, the lock screen is activated; in the state where the mobile terminal is locked, if the proximity distance of the detected object is less than or equal to the first threshold, the opening is started.
  • the method further includes: in a state in which the mobile terminal is opened, if the proximity distance of the detected object is less than or equal to the first threshold, the proximity distance of the detected object is less than or equal to the first threshold a duration, if the duration is greater than a preset second threshold, the lock screen is activated, and if the duration is less than or equal to the preset second threshold, the lock screen is not activated; If the proximity distance of the detected object is less than or equal to the first threshold value, and the proximity distance of the detected object is less than or equal to the duration of the first threshold value, if the duration is greater than the preset The second threshold value is activated, and if the duration is less than or equal to the preset second threshold value, the screen is not activated.
  • the method further includes: setting a continuous N detection periods; in a state in which the mobile terminal is on, if the proximity distance of the detected objects in the N detection periods is less than or equal to the first threshold, Then, the lock screen is activated, otherwise the lock screen is not activated; if the proximity distance of the detected object in the N detection periods is less than or equal to the first threshold value, the mobile terminal is locked. Screen, otherwise it will not start the screen.
  • the method further includes: detecting, in a state in which the mobile terminal is on, determining whether the mobile terminal is in a voice call state, and if detecting that the mobile terminal is in a voice call state, starting the lock screen.
  • the method further includes: determining, according to the type of service that the mobile terminal is using, whether to allow the lock screen in a state in which the mobile terminal is opened, and if so, if the proximity distance of the detected object is less than or equal to the first threshold value, Start the lock screen, if not allowed, reject the lock screen.
  • a mobile terminal having a lock screen and an open screen function comprising a sensing module, a judging module, a judging module, a screen opening module and a lock screen module; wherein
  • the sensing module is configured to: detect a proximity distance of the object approaching the mobile terminal; the determining module is configured to: according to the proximity distance of the object detected by the sensing module, determine whether to activate the lock screen in a state where the mobile terminal is opened, If the lock screen is activated, the lock screen module is triggered; and when the mobile terminal locks the screen, it is determined whether the screen is activated, and if the screen is activated, the screen opening module is triggered;
  • the opening screen module is configured to: after receiving the triggering of the determining module, start the lock screen in a state where the mobile terminal locks the screen; the lock screen module is set to: after receiving the trigger of the determining module, locking the screen in the mobile terminal In the state, start the screen.
  • the determining module is further configured to: detect a duration in which the approaching distance of the object to the mobile terminal is less than or equal to a preset first threshold, and determine, according to the duration, that the mobile terminal is in a state of being opened The lock screen is activated, and in the state where the mobile terminal is locked, it is determined whether the screen is activated.
  • the determining module is further configured to: determine, according to the proximity distance of the detected object approaching the mobile terminal, or the duration, whether to issue an INT interrupt signal to trigger the lock screen module to start the lock screen in a state where the mobile terminal is opened, And triggering the open screen module to start the screen opening in the state of the mobile terminal lock screen.
  • the determining module is further configured to: obtain, from the sensing module, an approaching distance of the object detected by the sensing module to the mobile terminal, or the duration, and according to the proximity distance of the object to the mobile terminal, or The duration is judged whether the lock screen is activated in a state where the mobile terminal is opened, and the screen is started in a state where the mobile terminal locks the screen.
  • the sensing module includes a proximity sensing sensor.
  • the invention provides a method for realizing a lock screen and a screen for a mobile terminal, and a mobile terminal, by detecting an approach distance of an object approaching the mobile terminal, comparing it with a first threshold value, and in a state where the mobile terminal is opened, If the proximity distance of the detected object is less than or equal to the first threshold value, the lock screen is activated; if the proximity distance of the detected object is less than or equal to the first threshold value, the mobile terminal locks the screen, and then starts Open the screen.
  • the intelligent locking of the mobile terminal and the opening of the screen are realized, the energy consumption of the mobile terminal is reduced, the added value of the mobile terminal is improved, and the user experience is improved.
  • FIG. 1 is a flowchart of implementing a lock screen of a mobile terminal according to an embodiment of the present invention
  • FIG. 2 is a flowchart of implementing a screen opening of a mobile terminal according to another embodiment of the present invention.
  • the human body approaches the mobile by hand.
  • a terminal if detecting that a proximity distance of the finger approaching the mobile terminal is less than or equal to the first threshold, the mobile terminal starts a lock screen, and if detecting that the proximity distance of the finger approaching the mobile terminal is greater than the first threshold, the mobile terminal If the lock screen is not activated, the screen is still open; in the state of the screen lock of the mobile terminal, if the proximity distance of the detected object is less than or equal to the first threshold, the screen is started, for example, the screen is locked at the mobile terminal. In the state, the human body approaches the mobile terminal by hand.
  • the mobile terminal If the proximity distance of the finger to the mobile terminal is detected to be less than or equal to the first threshold, the mobile terminal starts to open the screen, and if the approaching distance of the finger to the mobile terminal is detected to be greater than the first A threshold value, the mobile terminal does not start to open the screen, and still maintains the lock screen state.
  • the first threshold value By setting the first threshold value, the intelligent locking screen and the opening screen of the mobile terminal are realized, the energy consumption of the mobile terminal is reduced, the added value of the mobile terminal is improved, and the user experience is improved.
  • the lock screen is activated, otherwise the lock screen is not activated; in the state where the mobile terminal is locked, the proximity distance of the detected object is less than or equal to the duration of the first threshold, that is, if the duration is detected to be greater than the preset second threshold, the start is started. Open screen, if it is detected that the duration is less than or equal to the preset second threshold, the screen is not activated.
  • the duration of detecting that the approaching distance of the object is less than or equal to the first threshold is very short, that is, when the object approaches the mobile terminal for a short time, the lock screen is not activated, but the screen is kept open.
  • the state of the lock screen is activated only when the approaching distance of the object is less than or equal to the first threshold value for a period of time that exceeds the preset second threshold value;
  • detecting that the approaching distance of the object is less than or equal to the first threshold The continuation time is very short, that is, when the object approaches the mobile terminal for a short time, the screen is not activated, but the state of the lock screen is maintained.
  • the continuation The screen is activated when the time exceeds the preset second threshold.
  • the invention is not limited to the duration in which the proximity distance of the detecting object is less than or equal to the first threshold value, and various technical solutions can also be derived on the basis of the method, for example, using intermittent detection mode: setting continuous N In the state in which the mobile terminal is on, if the proximity distance of the detected object in the N detection periods is less than or equal to the first threshold, the lock screen is activated, otherwise the lock screen is not activated; In the state of the terminal lock screen, if the proximity distance of the detected object in the N detection periods is less than or equal to the first threshold value, the screen is started, otherwise the screen is not activated.
  • the lock screen is activated when the mobile terminal is opened.
  • the screen is started.
  • the method further includes: detecting, in a state in which the mobile terminal is in a screen, whether the mobile terminal is in a voice call state, and if detecting that the mobile terminal is in a voice call state, starting a lock screen, for example, placing the mobile terminal in the ear of the mobile terminal user When a voice call is made, the lock screen is activated, which effectively saves energy consumption of the mobile terminal.
  • the lock screen is allowed according to the type of service the mobile terminal is using, and if so, the lock screen is activated, and if not allowed, the lock screen is rejected. For example, when a mobile terminal user makes a voice call, the screen can be locked because the lock screen has no effect on the call of the mobile terminal user, and when the mobile terminal user watches the image or text information, the screen cannot be locked, and then the screen can be rejected. Lock screen, the screen continues to display image or text information, taking into account the actual needs of mobile terminal users, according to the actual needs of mobile terminal users to achieve the lock screen function.
  • the invention also includes a mobile terminal having a lock screen and an open screen function, comprising a sensing module, a determining module, an opening screen module and a lock screen module, wherein the sensing module is configured to: detect an approaching distance of the object close to the mobile terminal; For: the state in which the mobile terminal is opened according to the approach distance of the object Next, determine whether to activate the lock screen, if the lock screen is activated, trigger the lock screen module, and in the state of the mobile terminal lock screen, determine whether to start the screen, if the screen is activated, the screen opening module is triggered; the lock screen module is set For: in the state of the mobile terminal lock screen, start the lock screen; and the open screen module is set to: In the state of the mobile terminal lock screen, start the screen.
  • the sensing module is further configured to: detect a duration that the proximity distance of the object approaching the mobile terminal is less than or equal to a preset first threshold, and the determining module is further configured to: according to the duration, the mobile terminal is opened , judging whether to start the lock screen, in the state of the mobile terminal lock screen, to determine whether to start the screen.
  • the determining module is further configured to: compare the proximity distance of the detected object to the mobile terminal with a preset first threshold value, and if the proximity distance of the detected object is less than or Equal to the first threshold, the INT interrupt signal is sent to trigger the lock screen module to start the lock screen; in the state of the mobile terminal lock screen, if the proximity distance of the detected object is less than or equal to the first threshold value, The INT interrupt signal triggers the open screen module to start the screen.
  • the determining module is further configured to: compare the duration that the detected object approaches the mobile terminal by the proximity distance less than or equal to the preset first threshold value, and compares with the preset second threshold value, and opens the screen in the mobile terminal.
  • the INT interrupt signal is sent to trigger the lock screen module to start the lock screen, otherwise the lock screen is not activated; if the mobile terminal locks the screen, if the detection If the duration of the arrival is greater than the preset second threshold, an INT interrupt signal is issued to trigger the opening of the screen to start the screen, otherwise the screen is not activated.
  • the determining module may obtain, from the sensing module, the proximity distance of the object detected by the sensing module to the mobile terminal, the detected duration, and compare the approach distance of the acquired object with a preset first threshold.
  • Determining whether to lock or open the screen In the state where the mobile terminal is opened, if the proximity distance of the acquired object is less than or equal to the first threshold, the lock screen is activated; if the mobile terminal is locked, if obtained If the approaching distance of the object is less than or equal to the first threshold, the screen is started; or the obtained duration is compared with the preset second threshold to determine whether to lock or open the screen: In the state of the screen, if the acquired duration is greater than the second threshold, the lock screen is activated; in the state where the mobile terminal is locked, if the acquired duration is greater than the second threshold, the screen is started.
  • the sensing module can be a proximity sensing sensor, the proximity sensing sensor uses an external light source, usually an infrared illuminator to illuminate, and the proximity sensing sensor has an integrated photodetector.
  • the proximity sensing sensor uses an external light source, usually an infrared illuminator to illuminate, and the proximity sensing sensor has an integrated photodetector.
  • the measurement takes place. The amount of light that is refracted, when refracted light is detected, indicates that an object is approaching the proximity sensor.
  • FIG. 1 is a flowchart of implementing a lock screen of a mobile terminal according to an embodiment of the present invention.
  • the mobile phone includes a baseband processor, an application layer, and the like.
  • the mobile phone is turned on, and the baseband processor configures the proximity sensor through the communication interface to ensure that the proximity sensor can work normally;
  • the proximity sensor is activated to enter a working mode
  • step 204 is performed. If the surrounding environment changes, it cannot trigger the proximity sensor to work, waiting for the environment to change;
  • the proximity sensing sensor detects and acquires the proximity distance of the human body to the mobile phone, and stores the obtained proximity distance of the human body close to the mobile phone to the proximity sensing sensor.
  • Register or memory
  • step 206 set a first threshold, if the proximity distance of the detected object in the five detection periods is less than or equal to the preset first threshold, perform step 206, if the first gate is greater than the preset Limit, then step 203;
  • the proximity sensor module sends an INT interrupt signal, and the baseband processor 10 port is triggered by the INT interrupt signal;
  • the mobile application layer determines whether there is a service running, if there is a task, step 208 is performed, otherwise, step 210 is performed;
  • the mobile application layer determines whether to allow the lock screen according to the type of the running service, if Step 209, if the lock screen is not allowed, step 210;
  • the phone lock screen enters the standby mode, and the proximity sensor enters the sleep mode.
  • FIG. 2 is a flowchart of implementing a mobile terminal to open a screen according to another embodiment of the present invention.
  • the mobile phone is in a lock screen state
  • step 303 If the ambient environment change can trigger the proximity sensing sensor, perform step 303, and if the surrounding environment changes, the proximity sensing sensor cannot be triggered, waiting for the environment to change;
  • the proximity sensor detects and acquires the proximity distance of the human body close to the mobile phone, and stores the obtained proximity distance of the human body close to the mobile phone to the register or the memory of the proximity sensing sensor itself;
  • step 304 Set a first threshold value, compare the obtained proximity distance of the human body close to the mobile phone with the first threshold value, and determine whether the detected proximity distance of the human body approaching the mobile phone is less than or equal to the first threshold value, If yes, go to step 305, if no, go to step 302;
  • the proximity sensor continues to detect that the proximity distance of the human body approaching the mobile phone is less than or equal to the duration of the first threshold value, and the acquisition is continuously stored in the register or the memory of the proximity sensing sensor itself;
  • the mobile application layer reads the duration of the proximity sensor storage through the communication interface.
  • step 307. Set a second threshold, the baseband processor compares the duration with the second threshold, and determines whether the duration is greater than a second threshold. If yes, step 308 is performed, and if no, Return to step 302.
  • the mobile application layer starts to open.
  • a program to instruct the associated hardware such as a read only memory, a magnetic disk, or an optical disk.
  • all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits.
  • each module/unit in the above embodiment can be used
  • the form of hardware implementation can also be implemented in the form of software function modules.
  • the invention is not limited to any specific form of combination of hardware and software.
  • the invention realizes the intelligentization of the lock screen and the opening screen of the mobile terminal, reduces the energy consumption of the mobile terminal, improves the added value of the mobile terminal, and improves the user experience.

Description

一种实现移动终端锁屏和开屏的方法及移动终端
技术领域 本发明涉及通讯领域, 尤其涉及一种实现移动终端锁屏和开屏的方法及 移动终端。
背景技术
目前市场上的移动终端锁屏的方法通常是移动终端用户自定义一时间门 限值, 如果在该时间门限值内用户未使用移动终端, 则移动终端自动锁屏。 开屏的方法就是通过按键, 或者触摸的方式实现移动终端开屏。 随着电子技 术的迅猛发展, 各种新功能、 新技术不断地应用到移动终端中, 移动终端的 功能越来越强大, 因此, 对能耗控制的要求越来越高, 移动终端的锁屏、 开 屏频率也非常高, 而移动终端现有的锁屏、 开屏方式不但时效性不高, 降低 能耗的效果也不佳, 无法满足用户的需求。
发明内容 本发明提供一种实现移动终端锁屏和开屏的方法及移动终端, 解决了移 动终端锁屏和开屏的问题。 为解决上述技术问题, 本发明釆用以下技术方案: 一种实现移动终端锁屏和开屏的方法, 该方法包括:
检测物体接近移动终端的接近距离; 将检测结果与预设的第一门限值进行比较; 在移动终端开屏的状态下, 如果检测到物体的接近距离小于或等于所述 第一门限值, 则启动锁屏; 在移动终端锁屏的状态下, 如果检测到物体的接近距离小于或等于所述 第一门限值, 则启动开屏。 该方法还包括: 在移动终端开屏的状态下, 如果检测到物体的接近距离小于或等于所述 第一门限值时, 同时检测物体的接近距离小于或等于所述第一门限值的持续 时间, 如果所述持续时间大于预设的第二门限值, 则启动锁屏, 如果所述持 续时间小于或等于预设的第二门限值, 不启动锁屏; 在移动终端锁屏的状态下, 如果检测到物体的接近距离小于或等于所述 第一门限值, 同时检测物体的接近距离小于或等于所述第一门限值的持续时 间, 如果所述持续时间大于预设的第二门限值, 则启动开屏, 如果所述持续 时间小于或等于预设的第二门限值, 不启动开屏。 该方法还包括: 设定连续的 N个检测周期; 在移动终端开屏的状态下,如果所述 N个检测周期内检测到的物体的接 近距离均小于或等于所述第一门限值, 则启动锁屏, 否则不启动锁屏; 在移动终端锁屏的状态下,如果所述 N个检测周期内检测到的物体的接 近距离均小于或等于所述第一门限值, 则启动开屏, 否则不启动开屏。 该方法还包括: 在移动终端开屏的状态下, 检测移动终端是否处于语音 通话状态, 如果检测到移动终端处于语音通话状态中, 则启动锁屏。 该方法还包括: 在移动终端开屏的状态下, 根据移动终端正在使用的业 务类型判断是否允许锁屏, 如果允许, 则如果检测到物体的接近距离小于或 等于所述第一门限值, 启动锁屏, 如果不允许, 则拒绝锁屏。 一种具有锁屏和开屏功能的移动终端, 包括感应模块, 判断模块, 判断 模块, 开屏模块和锁屏模块; 其中,
所述感应模块设置为: 检测物体接近移动终端的接近距离; 所述判断模块设置为:根据所述感应模块检测的物体的接近距离,在移动 终端开屏的状态下, 判断是否启动锁屏, 如果启动锁屏, 则触发锁屏模块; 以及在移动终端锁屏的状态下, 判断是否启动开屏, 如果启动开屏, 则触发 开屏模块; 所述开屏模块设置为: 接收到判断模块的触发后, 在移动终端锁屏的状 态下, 启动锁屏; 所述锁屏模块设置为: 接收到判断模块的触发后, 在移动终端锁屏的状 态下, 启动开屏。 所述判断模块还设置为: 检测所述物体接近移动终端的接近距离小于或 等于预设的第一门限值的持续时间, 根据所述持续时间, 在移动终端开屏的 状态下, 判断是否启动锁屏, 以及在移动终端锁屏的状态下, 判断是否启动 开屏。 所述判断模块还设置为: 根据所述检测到的物体接近移动终端的接近距 离、 或者所述持续时间判断是否发出 INT中断信号去触发锁屏模块在移动终 端开屏的状态下启动锁屏, 以及触发开屏模块在移动终端锁屏的状态下启动 开屏。 所述判断模块还设置为: 从所述感应模块中获取所述感应模块检测到的 物体接近移动终端的接近距离、 或者所述持续时间, 并根据所述物体接近移 动终端的接近距离、 或者所述持续时间判断是否在移动终端开屏的状态下启 动锁屏, 在移动终端锁屏的状态下启动开屏。 所述感应模块包括接近感应传感器。 本发明提供的一种实现移动终端锁屏和开屏的方法及移动终端, 通过检 测物体接近移动终端的接近距离, 将其与第一门限值进行比较, 在移动终端 开屏的状态下, 如果检测到物体的接近距离小于或等于该第一门限值, 则启 动锁屏; 在移动终端锁屏的状态下, 如果检测到物体的接近距离小于或等于 该第一门限值, 则启动开屏。 实现了移动终端锁屏和开屏的智能化, 降低了 移动终端的能耗, 提升了移动终端的附加值, 提升了用户感受。
附图概述 图 1为本发明实施例实现移动终端锁屏的流程图; 图 2为本发明另一实施例实现移动终端开屏的流程图。 本发明的较佳实施方式 下面通过具体实施方式结合附图对本发明作进一步详细说明。 需要说明 的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任 意组合。 在移动终端开屏的状态下, 如果检测到物体的接近距离小于或等于预设 的第一门限值, 则启动锁屏, 比如, 在移动终端开屏的状态下, 人体用手去 接近移动终端, 如果检测到手指接近移动终端的接近距离小于或等于该第一 门限值, 则移动终端启动锁屏, 如果检测到手指接近移动终端的接近距离大 于该第一门限值, 则移动终端不启动锁屏, 仍旧保持开屏状态; 在移动终端锁屏的状态下, 如果检测到物体的接近距离小于或等于该第 一门限值, 则启动开屏, 比如, 在移动终端锁屏的状态下, 人体用手去接近 移动终端, 如果检测到手指接近移动终端的接近距离小于或等于该第一门限 值, 移动终端启动开屏, 如果检测到手指接近移动终端的接近距离大于该第 一门限值, 则移动终端不启动开屏, 仍旧保持锁屏状态。 通过设定第一门限值实现了移动终端锁屏和开屏的智能化, 降低了移动 终端的能耗, 提升了移动终端的附加值, 提升了用户感受。 进一步, 在移动终端开屏的状态下, 检测物体的接近距离小于或等于第 一门限值的持续时间, 如果检测到该持续时间大于预设的第二门限值, 则启 动锁屏, 否则不启动锁屏; 在移动终端锁屏的状态下, 检测物体的接近距离小于或等于第一门限值 的持续时间, 即如果检测到该持续时间大于预设的第二门限值,则启动开屏, 如果检测到该持续时间小于或等于预设的第二门限值, 则不启动开屏。 比如, 在移动终端开屏的状态下, 检测到物体的接近距离小于或等于第 一门限值的持续时间非常短, 即物体短暂的接近移动终端时, 不启动锁屏, 而是保持开屏的状态, 只有当物体的接近距离小于或等于第一门限值的状态 能够持续一段时间, 该持续时间超过预设的第二门限值时, 才启动锁屏; 在 移动终端锁屏的状态下, 检测到物体的接近距离小于或等于第一门限值的持 续时间非常短, 即物体短暂的接近移动终端时, 不启动开屏, 而是保持锁屏 的状态, 只有当物体的接近距离小于或等于第一门限值的状态能够持续一段 时间, 该持续时间超过预设的第二门限值时, 才启动开屏。 通过设定第二门限值, 避免了物体接近移动终端的接近距离忽远忽近而 导致锁屏、 开屏的无效动作, 提升了移动终端的附加值, 提升了用户感受。 本发明不限制在检测物体的接近距离小于或等于第一门限值的持续时间 上, 还可以在此基础上衍生出多种技术方案, 例如釆用间歇式的检测方式: 设定连续的 N个检测周期; 在移动终端开屏的状态下,如果该 N个检测周期 内检测到的物体的接近距离均小于或等于第一门限值, 则启动锁屏, 否则不 启动锁屏; 在移动终端锁屏的状态下, 如果该 N个检测周期内检测到的物体 的接近距离均小于或等于第一门限值, 则启动开屏, 否则不启动开屏。 通过设定连续的 N个检测周期, 在移动终端开屏的状态下, 如果连续的 N 个检测周期内检测到的物体的接近距离没有出现大于该第一门限值的情 况, 则启动锁屏; 在移动终端锁屏的状态下, 如果该 N个检测周期内检测到 的物体的接近距离没有出现大于该第一门限值的情况, 则启动开屏。 进一步, 还包括在移动终端开屏的状态下, 检测移动终端是否处于语音 通话状态, 如果检测到移动终端处于语音通话状态中, 则启动锁屏, 比如, 在移动终端用户将移动终端放置耳旁进行语音通话的时候, 启动锁屏, 有效 节省了移动终端能耗。 进一步, 还包括根据移动终端正在使用的业务类型判断是否允许锁屏, 如果允许, 则启动锁屏, 如果不允许, 则拒绝锁屏。 例如, 移动终端用户在 进行语音通话时, 可以锁屏, 因为锁屏对移动终端用户的通话没有影响, 而 当移动终端用户在观看图像或文字信息时,不可以锁屏,这时便可拒绝锁屏, 屏幕继续显示图像或文字信息, 考虑了移动终端用户的实际需要, 根据移动 终端用户不同的实际需要实现锁屏功能。 本发明还包括一种具有锁屏和开屏功能的移动终端, 包括感应模块, 判 断模块, 开屏模块和锁屏模块, 该感应模块设置为: 检测物体接近移动终端 的接近距离; 判断模块设置为: 根据物体的接近距离在移动终端开屏的状态 下, 判断是否启动锁屏, 如果启动锁屏, 则触发锁屏模块, 以及在移动终端 锁屏的状态下, 判断是否启动开屏, 如果启动开屏, 则触发开屏模块; 锁屏 模块设置为: 在移动终端锁屏的状态下, 启动锁屏; 以及开屏模块设置为: 在移动终端锁屏的状态下, 启动开屏。 进一步, 感应模块还设置为: 检测上述物体接近移动终端的接近距离小 于或等于预设的第一门限值的持续时间, 判断模块还设置为: 根据该持续时 间在移动终端开屏的状态下,判断是否启动锁屏,在移动终端锁屏的状态下, 判断是否启动开屏。 进一步, 该判断模块还设置为: 将检测到的物体接近移动终端的接近距 离与预设的第一门限值进行比较, 在移动终端开屏的状态下, 如果检测到物 体的接近距离小于或等于该第一门限值, 则发出 INT中断信号去触发锁屏模 块启动锁屏; 在移动终端锁屏的状态下, 如果检测到物体的接近距离小于或 等于该第一门限值, 则发出 INT中断信号去触发开屏模块启动开屏。 或者判断模块还设置为: 将检测到的物体接近移动终端的接近距离小于 或等于预设的第一门限值的持续时间与预设的第二门限值进行比较, 在移动 终端开屏的状态下, 如果检测到的持续时间大于预设的第二门限值, 则发出 INT中断信号去触发锁屏模块启动锁屏, 否则不启动锁屏; 在移动终端锁屏 的状态下, 如果检测到的持续时间大于预设的第二门限值, 则发出 INT中断 信号去触发开屏模块启动开屏, 否则不启动开屏。 还可以是判断模块从该感应模块中获取感应模块检测到的物体接近移动 终端的接近距离、 检测到的持续时间, 并将获取的物体的接近距离与预设的 第一门限值进行比较, 判断是否锁屏或开屏: 在移动终端开屏的状态下, 如 果获取的物体的接近距离小于或等于该第一门限值, 则启动锁屏; 在移动终 端锁屏的状态下, 如果获取的物体的接近距离小于或等于该第一门限值, 则 启动开屏; 或将获取的持续时间与预设的第二门限值进行比较, 判断是否锁 屏或开屏: 在移动终端开屏的状态下, 如果获取的持续时间大于该第二门限 值, 则启动锁屏; 在移动终端锁屏的状态下, 如果获取的持续时间大于该第 二门限值, 则启动开屏。 该感应模块可以是接近感应传感器,接近感应传感器使用一个外部光源, 通常是红外线发光体来发光, 接近感应传感器有一个集成的光检测器, 当有 物体存在于发光源的传输路径时, 测量发生折射的光数量, 当有折射光被检 测时, 说明有物体接近了接近传感器。 接近感应传感器不仅具有检测物体是 否接近移动终端的功能, 还能通过一些特定的算法检测物体与移动终端的接 近距离和物体接近距离的持续时间, 利用接近感应传感器实现锁屏、 开屏不 仅可以降低移动终端的能耗, 还可以提升移动终端的附加值, 同时还拓展了 接近感应传感器的应用领域。 实施例一: 请参考图 1 , 图 1为本发明实施例实现移动终端锁屏的流程图, 其中, 本实施例以手机为例进行说明, 手机包括基带处理器、 以及应用层等:
201、 手机开机, 处于开屏状态,基带处理器通过通讯接口对接近感应传 感器进行配置, 以保证接近感应传感器能正常工作;
202、 接近感应传感器被启动, 进入工作模式;
203、如果周围环境变化能够触发接近感应传感器工作,则执行步骤 204。 如果周围环境变化不能够触发接近感应传感器工作, 等待环境变化;
204、设定连续的 5个检测周期, 在该 5个连续的检测周期内,接近感应 传感器检测并获取人体接近手机的接近距离, 将获取到的人体接近手机的接 近距离存储到接近感应传感器的寄存器或内存中;
205、设定第一门限值,如果该 5个检测周期内检测到的物体的接近距离 均小于或等于预设的第一门限值, 则执行步骤 206, 如果大于预设的第一门 限值, 则执行步骤 203;
206、 接近感应传感器模块发出一个 INT中断信号, 基带处理器 10端口 被 INT中断信号触发;
207、手机应用层判断是否有业务在运行,如果有任务,则执行步骤 208, 否则, 执行步骤 210;
208、手机应用层根据用正在运行的业务类型判断是否允许锁屏,如果允 许锁屏, 则执行步骤 209 , 如果不允许锁屏, 执行步骤 210;
209、 手机锁屏, 进入到待机模式, 接近感应传感器进入睡眠模式。
210、 退出锁屏功能。 实施例二: 请参考图 2 , 图 2为本发明另一实施例实现移动终端开屏的流程图, 本 实施例以手机为例进行说明:
301、 手机处于锁屏状态;
302、 如果周围环境变化能够触发接近感应传感器, 则执行步骤 303 , 如 果周围环境变化不能够触发接近感应传感器, 等待环境变化;
303、接近感应传感器检测并获取人体接近手机的接近距离,将获取到的 人体接近手机的接近距离存储到接近感应传感器自身的寄存器或内存中;
304、设定第一门限值,将获取到的人体接近手机的接近距离与第一门限 值进行比较, 判断检测到的人体接近手机的接近距离是否小于或等于该第一 门限值, 如果是, 则执行步骤 305 , 如果否, 则执行步骤 302;
305、接近感应传感器继续检测人体接近手机的接近距离小于或等于该第 一门限值的持续时间, 将获取到持续存储到接近感应传感器自身的寄存器或 内存中;
306、 手机应用层通过通讯接口读取接近感应传感器存储的持续时间;
307、设定第二门限值,基带处理器将该持续时间与第二门限值进行比较, 判断该持续时间是否大于第二门限值, 如果是, 则执行步骤 308 , 如果否, 则返回到步骤 302。
308、 手机应用层启动开屏。 本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 以上内容是结合具体的实施方式对本发明所作的进一步详细说明, 不能 认定本发明的具体实施只局限于这些说明。 对于本发明所属技术领域的普通 技术人员来说, 在不脱离本发明构思的前提下, 还可以做出若干简单推演或 替换, 都应当视为属于本发明的保护范围。
工业实用性 本发明实现了移动终端锁屏和开屏的智能化, 降低了移动终端的能耗, 提升了移动终端的附加值, 提升了用户感受。

Claims

权 利 要 求 书
1、 一种实现移动终端锁屏和开屏的方法, 该方法包括:
检测物体接近移动终端的接近距离; 将检测结果与预设的第一门限值进行比较; 在移动终端开屏的状态下, 如果检测到物体的接近距离小于或等于所述 第一门限值, 则启动锁屏; 在移动终端锁屏的状态下, 如果检测到物体的接近距离小于或等于所述 第一门限值, 则启动开屏。
2、 如权利要求 1所述的方法, 其还包括: 在移动终端开屏的状态下, 如果检测到物体的接近距离小于或等于所述 第一门限值时, 同时检测物体的接近距离小于或等于所述第一门限值的持续 时间, 如果所述持续时间大于预设的第二门限值, 则启动锁屏, 如果所述持 续时间小于或等于预设的第二门限值, 不启动锁屏; 在移动终端锁屏的状态下, 如果检测到物体的接近距离小于或等于所述 第一门限值, 同时检测物体的接近距离小于或等于所述第一门限值的持续时 间, 如果所述持续时间大于预设的第二门限值, 则启动开屏, 如果所述持续 时间小于或等于预设的第二门限值, 不启动开屏。
3、 如权利要求 1所述的方法, 其还包括: 设定连续的 N个检测周期; 在移动终端开屏的状态下,如果所述 N个检测周期内检测到的物体的接 近距离均小于或等于所述第一门限值, 则启动锁屏, 否则不启动锁屏; 在移动终端锁屏的状态下,如果所述 N个检测周期内检测到的物体的接 近距离均小于或等于所述第一门限值, 则启动开屏, 否则不启动开屏。
4、 如权利要求 1所述的方法, 其还包括: 在移动终端开屏的状态下, 检 测移动终端是否处于语音通话状态, 如果检测到移动终端处于语音通话状态 中, 则启动锁屏。
5、 如权利要求 1-4中任一项所述的方法, 其还包括: 在移动终端开屏的 状态下, 根据移动终端正在使用的业务类型判断是否允许锁屏, 如果允许, 则如果检测到物体的接近距离小于或等于所述第一门限值, 启动锁屏, 如果 不允许, 则拒绝锁屏。
6、 一种具有锁屏和开屏功能的移动终端, 包括感应模块, 判断模块, 判 断模块, 开屏模块和锁屏模块; 其中,
所述感应模块设置为: 检测物体接近移动终端的接近距离; 所述判断模块设置为:根据所述感应模块检测的物体的接近距离,在移动 终端开屏的状态下, 判断是否启动锁屏, 如果启动锁屏, 则触发锁屏模块; 以及在移动终端锁屏的状态下, 判断是否启动开屏, 如果启动开屏, 则触发 开屏模块; 所述开屏模块设置为: 接收到判断模块的触发后, 在移动终端锁屏的状 态下, 启动锁屏; 所述锁屏模块设置为: 接收到判断模块的触发后, 在移动终端锁屏的状 态下, 启动开屏。
7、 如权利要求 6所述的移动终端, 其中, 所述判断模块还设置为: 检测 所述物体接近移动终端的接近距离小于或等于预设的第一门限值的持续时 间, 根据所述持续时间, 在移动终端开屏的状态下, 判断是否启动锁屏, 以 及在移动终端锁屏的状态下, 判断是否启动开屏。
8、 如权利要求 6或 7所述的移动终端, 其中, 所述判断模块还设置为: 根据所述检测到的物体接近移动终端的接近距离、 或者所述持续时间判断是 否发出 INT中断信号去触发锁屏模块在移动终端开屏的状态下启动锁屏, 以 及触发开屏模块在移动终端锁屏的状态下启动开屏。
9、 如权利要求 6或 7所述的移动终端, 其中, 所述判断模块还设置为: 从所述感应模块中获取所述感应模块检测到的物体接近移动终端的接近距 离、 或者所述持续时间, 并根据所述物体接近移动终端的接近距离、 或者所 述持续时间判断是否在移动终端开屏的状态下启动锁屏, 在移动终端锁屏的 状态下启动开屏。
10、 如权利要求 8或 9所述的移动终端, 其中, 所述感应模块包括接近 感应传感器。
PCT/CN2010/079338 2010-09-29 2010-12-01 一种实现移动终端锁屏和开屏的方法及移动终端 WO2012040975A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010102968470A CN101951444A (zh) 2010-09-29 2010-09-29 一种实现移动终端锁屏和开屏的方法及移动终端
CN201010296847.0 2010-09-29

Publications (1)

Publication Number Publication Date
WO2012040975A1 true WO2012040975A1 (zh) 2012-04-05

Family

ID=43454801

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/079338 WO2012040975A1 (zh) 2010-09-29 2010-12-01 一种实现移动终端锁屏和开屏的方法及移动终端

Country Status (2)

Country Link
CN (1) CN101951444A (zh)
WO (1) WO2012040975A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024197A (zh) * 2012-12-28 2013-04-03 广东欧珀移动通信有限公司 可防止通话时误操作的触摸屏手机及其使用方法

Families Citing this family (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195689B (zh) * 2011-05-19 2014-07-30 惠州Tcl移动通信有限公司 具有省电功能的近距离通信终端
CN102231774B (zh) * 2011-06-20 2014-07-30 惠州Tcl移动通信有限公司 手机闹钟控制方法及其手机
CN103024135A (zh) * 2011-09-28 2013-04-03 浪潮乐金数字移动通信有限公司 移动终端解锁装置及其解锁方法
CN103123394B (zh) * 2011-11-21 2015-08-26 比亚迪股份有限公司 一种设置近距离传感器阈值的方法及系统
CN102520852A (zh) * 2011-11-29 2012-06-27 华为终端有限公司 一种移动设备屏幕状态的控制方法及相关移动设备
CN102662816B (zh) * 2012-03-21 2014-12-31 中兴通讯股份有限公司 锁屏时间调整方法、装置及电子终端
CN102694909A (zh) * 2012-05-07 2012-09-26 深圳桑菲消费通信有限公司 一种手机的智能锁屏系统和方法
CN103488959A (zh) * 2012-06-08 2014-01-01 浙江大学 用于电脑的隐私保护装置及方法
CN103167128A (zh) * 2012-08-07 2013-06-19 深圳市金立通信设备有限公司 基于近距离传感器实现手机自动睡眠的系统及方法
CN102855037B (zh) * 2012-08-07 2016-06-29 深圳天珑无线科技有限公司 一种电容屏移动终端及其屏幕控制方法、装置
CN102841684B (zh) * 2012-08-30 2015-12-16 小米科技有限责任公司 一种防止误操作的方法、装置和设备
CN102902478B (zh) * 2012-09-10 2015-12-16 小米科技有限责任公司 一种防止误触发的方法、装置及设备
CN102880402B (zh) * 2012-09-14 2017-11-24 广东欧珀移动通信有限公司 一种移动终端的解锁方法及解锁系统
CN102917124B (zh) * 2012-09-27 2014-11-26 东莞宇龙通信科技有限公司 动态调节距离传感器阈值的方法及移动终端
CN103781201A (zh) * 2012-10-25 2014-05-07 中兴通讯股份有限公司 一种控制方法、控制装置及终端
CN102968318A (zh) * 2012-11-06 2013-03-13 百度国际科技(深圳)有限公司 一种智能终端的软件启动方法及其软件启动装置
CN102984361B (zh) * 2012-11-14 2014-08-06 广东欧珀移动通信有限公司 一种接听和挂断通话的方法及移动通讯设备
CN103853315B (zh) * 2012-11-28 2018-03-23 联想(北京)有限公司 一种开启放大镜功能的方法及电子设备
US9549323B2 (en) 2012-12-03 2017-01-17 Samsung Electronics Co., Ltd. Method and mobile terminal for controlling screen lock
CN103873653A (zh) * 2012-12-12 2014-06-18 联想(北京)有限公司 控制显示单元显示的方法和电子设备
CN103024182B (zh) * 2012-12-14 2014-09-17 广东欧珀移动通信有限公司 一种由移动终端的拍摄界面进入相册界面的方法和装置
CN104065792A (zh) * 2013-03-18 2014-09-24 中兴通讯股份有限公司 终端控制方法、终端控制装置及终端
CN103401992B (zh) * 2013-07-11 2015-08-12 广东欧珀移动通信有限公司 结合触摸屏来处理手机通话过程中误操作的方法
CN103677565A (zh) * 2013-11-22 2014-03-26 小米科技有限责任公司 屏幕解锁方法、装置和终端
CN103793243B (zh) * 2013-11-22 2017-02-08 广州视源电子科技股份有限公司 移动设备的屏幕锁定/解锁方法、移动设备及保护外壳
CN103921744B (zh) * 2014-04-17 2016-05-11 观致汽车有限公司 一种屏幕解锁方法及其系统
CN104361273A (zh) * 2014-10-23 2015-02-18 上海天奕达电子科技有限公司 一种智能翻页方法及终端
CN107132951A (zh) * 2015-01-19 2017-09-05 青岛海信移动通信技术股份有限公司 一种触摸屏检测方法及终端
CN104754501B (zh) * 2015-04-21 2019-05-28 北京云迹科技有限公司 一种数据传输方法及装置
CN106303192B (zh) * 2015-05-25 2019-05-07 小米科技有限责任公司 终端控制方法及终端
KR20170098111A (ko) * 2016-02-19 2017-08-29 삼성전자주식회사 센서 데이터를 이용한 디스플레이 제어 방법 및 장치
CN105825099A (zh) * 2016-03-23 2016-08-03 惠州Tcl移动通信有限公司 一种感应解锁的方法、系统及移动终端
CN105635490A (zh) * 2016-03-25 2016-06-01 惠州Tcl移动通信有限公司 一种基于移动终端的接近检测控制方法及系统
CN106210336B (zh) * 2016-07-22 2019-11-29 北京小米移动软件有限公司 控制移动终端状态切换的方法及装置
CN106776092B (zh) * 2016-12-06 2020-06-02 Oppo广东移动通信有限公司 一种接近传感器的状态检测方法、装置及终端
CN107295176A (zh) * 2017-06-26 2017-10-24 深圳市靖洲科技有限公司 一种基于内置距离传感器的移动终端解锁方法和装置
CN108509226A (zh) * 2018-03-28 2018-09-07 无锡睿勤科技有限公司 电子设备的状态切换方法及电子设备
CN108513013B (zh) * 2018-04-02 2020-10-09 深圳市万普拉斯科技有限公司 模式控制方法、装置、用户终端及可读存储介质
US11483677B2 (en) 2018-06-07 2022-10-25 Huawei Technologies Co., Ltd. Information pushing method and terminal device
CN108924360B (zh) * 2018-07-10 2021-03-02 Oppo广东移动通信有限公司 显示方法、存储介质及电子设备
CN113781969B (zh) * 2021-09-27 2024-04-23 联想(北京)有限公司 背光调节方法、装置和电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917683A (zh) * 2005-08-15 2007-02-21 万威通讯科技有限公司 使用按键锁定的手持通信设备以及锁定其按键的方法
CN101515195A (zh) * 2009-03-09 2009-08-26 深圳华为通信技术有限公司 一种控制显示器件背光关灭的方法及装置
CN201479198U (zh) * 2009-03-23 2010-05-19 张渤 手机显示屏及按键的感应开关装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917683A (zh) * 2005-08-15 2007-02-21 万威通讯科技有限公司 使用按键锁定的手持通信设备以及锁定其按键的方法
CN101515195A (zh) * 2009-03-09 2009-08-26 深圳华为通信技术有限公司 一种控制显示器件背光关灭的方法及装置
CN201479198U (zh) * 2009-03-23 2010-05-19 张渤 手机显示屏及按键的感应开关装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024197A (zh) * 2012-12-28 2013-04-03 广东欧珀移动通信有限公司 可防止通话时误操作的触摸屏手机及其使用方法
CN103024197B (zh) * 2012-12-28 2014-07-16 广东欧珀移动通信有限公司 可防止通话时误操作的触摸屏手机及其使用方法

Also Published As

Publication number Publication date
CN101951444A (zh) 2011-01-19

Similar Documents

Publication Publication Date Title
WO2012040975A1 (zh) 一种实现移动终端锁屏和开屏的方法及移动终端
WO2019157804A1 (zh) 指纹解锁方法及装置
US10929631B2 (en) Fingerprint sensor with proximity detection, and corresponding devices, systems, and methods
US9245100B2 (en) Method and apparatus for unlocking a user portable wireless electronic communication device feature
US10241637B2 (en) Method for reducing power consumption in electronic devices
CN106462687B (zh) 触控装置及方法、电子设备
US9639261B2 (en) Apparatus and method for controlling a suspended state
KR101845877B1 (ko) Mcu를 웨이크업 시키기 위한 방법 및 디바이스
WO2018076506A1 (zh) 一种双屏终端点亮屏幕的方法及终端
US10885294B2 (en) Finger print sensor with passive proximity detection for power savings in an electronic device
CN105278655A (zh) 指纹传感器的控制方法及装置
KR20090069344A (ko) 해제 이미지 상에서의 제스처 수행에 의한 장치 해제
WO2014134930A1 (zh) 触摸屏解锁方法、触摸屏解锁系统及电子设备
US20150362979A1 (en) Touch Screen Terminal and Working Method Thereof
CN106790955A (zh) 终端控制方法及装置
JP2008227672A (ja) 携帯端末,省電力制御方法および省電力制御プログラム
KR20140140891A (ko) 터치스크린을 구비하는 전자 기기의 근접 센싱 기능 운용 방법 및 장치
WO2016045027A1 (zh) 屏幕灵敏度调整方法和移动终端
CN106354242A (zh) 一种模式切换方法及装置
US10248826B2 (en) Fingerprint sensor with proximity detection, and corresponding devices, systems, and methods
CN110413148B (zh) 防误触检测方法、装置、设备以及存储介质
CN105827792A (zh) 一种电子设备的屏幕解锁方法及电子设备
CN110691168B (zh) 移动终端的屏幕控制方法、装置及存储介质
CN107526522B (zh) 黑屏手势识别方法及装置,以及移动终端、存储介质
CN111078097A (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: 10857738

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

Country of ref document: EP

Kind code of ref document: A1