WO2013060084A1 - 锁定终端的处理方法及装置 - Google Patents

锁定终端的处理方法及装置 Download PDF

Info

Publication number
WO2013060084A1
WO2013060084A1 PCT/CN2011/085163 CN2011085163W WO2013060084A1 WO 2013060084 A1 WO2013060084 A1 WO 2013060084A1 CN 2011085163 W CN2011085163 W CN 2011085163W WO 2013060084 A1 WO2013060084 A1 WO 2013060084A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
state
module
locked state
locked
Prior art date
Application number
PCT/CN2011/085163
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 WO2013060084A1 publication Critical patent/WO2013060084A1/zh

Links

Classifications

    • 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
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for processing a locked terminal.
  • screen locking such as automatic lock screen according to standby time, or user manual key lock screen, in order to avoid misoperation and privacy protection. Due to the frequent lock screen, each end user needs to perform the unlock operation frequently. Although various terminals have put a lot of effort into simplifying the user unlocking operation, it is undeniable that the unlocking operation itself is a burden on the user.
  • the existing terminal automatic lock screen is based on the standby time, does not distinguish the position state of the terminal, and has some unnecessary lock screen scenes.
  • the automatic lock screen time of a normal mobile phone is 5 seconds to 20 seconds, then if the user puts the mobile phone flat on the desktop, check the content of the mobile phone at intervals, or listen to the short message after listening to the short message prompt tone. You will find that if you have locked the screen, you must first unlock it each time.
  • the automatic lock screen at this time is actually unnecessary. In view of the unnecessary terminal lock screen scenario in the related art, the terminal frequently locks and unlocks the terminal, and an effective solution has not been proposed yet.
  • the present invention provides a method and apparatus for processing a locked terminal to solve at least the above problems, in view of the problem that an unnecessary terminal lock screen scene exists in the life, resulting in unnecessary frequent automatic screen lock and unlocking of the terminal.
  • a method for processing a locked terminal comprising: detecting whether a terminal standby time reaches a locked state time; if yes, determining whether the terminal is in a stationary state; if in a stationary state, disabling the terminal Enter the locked state; if not in the static state, set the terminal to enter the locked state.
  • the method further includes: after detecting that the terminal is in a motion state, determining whether the backlight of the terminal is turned on; if the backlight is turned off, setting the terminal to enter a locked state.
  • the method further includes: setting the terminal to be in a sleep mode.
  • whether the terminal is in a stationary state can be judged by an acceleration sensor or a gyroscope.
  • the locked state comprises: a lock screen or a lock keyboard.
  • a processing apparatus for locking a terminal comprising: a detecting module configured to detect whether a standby time of the terminal reaches a locked state time; and a state determining module configured to detect that the detection result of the module is When the terminal is determined to be in a static state, the first processing module is configured to determine that the terminal is in a static state when the terminal determines that the terminal is in a static state; the second processing module is configured to determine that the state determination module is the terminal. When not in the quiescent state, set the terminal to enter the locked state.
  • the device further includes: a monitoring module, configured to: after the first processing module prohibits the terminal from entering the locked state, detecting whether the terminal is in a motion state; and the backlight determining module is configured to be a monitoring result of the monitoring module And determining whether the backlight of the terminal is turned on.
  • the third processing module is configured to set the terminal to enter a locked state when the determination result of the backlight determining module is that the backlight is turned off.
  • the device further includes: a sleep mode setting module, configured to set the terminal to be in a sleep mode after the first processing module prohibits the terminal from entering a locked state.
  • the state determination module may determine whether the terminal is in a stationary state by using an acceleration sensor or a gyroscope.
  • the terminal may be a mobile terminal.
  • the terminal when the terminal reaches the locked state time, it does not directly enter the locked state, but first determines whether the terminal is in a stationary state, and in the case of being in a static state, prohibits the terminal from entering the locked state, thereby reducing the locking.
  • the number of times of the terminal solves the problem that the terminal lock screen is unnecessarily locked in the related art, which causes the terminal to frequently lock and unlock the terminal. This method prevents the user from frequently performing the unlocking operation and improves the user experience.
  • FIG. 1 is a flowchart of a processing method of a locked terminal according to an embodiment of the present invention
  • 2 is a block diagram showing the structure of a processing apparatus for locking a terminal according to an embodiment of the present invention
  • FIG. 3 is a block diagram showing a specific structure of a processing apparatus for locking a terminal according to an embodiment of the present invention
  • FIG. 4 is a diagram of processing of a locked terminal according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a method for automatically locking a screen of a terminal according to an embodiment of the present invention.
  • FIG. 6 is a specific flowchart of a method for automatically locking a screen according to an embodiment of the present invention.
  • the terminal in the embodiment of the present invention may be a mobile terminal, a mobile terminal such as an MP4, and the like, and the device automatically enters a locked state when the user does not operate, and the locked state may be a lock screen or a lock keyboard to prevent the function of the device. Perform a misoperation.
  • this way of automatically entering the locked state sometimes makes the user's operation complicated, for example: When the user frequently checks the information in the mobile phone at a certain time, it needs to unlock the mobile phone every time.
  • an embodiment of the present invention provides a processing method and apparatus for locking a terminal. The details will be described below by way of examples. In the following embodiments, a method for processing a locked terminal, as shown in FIG.
  • Step S102 detecting terminal standby time Whether the locked state time is reached; if yes, step S104 is performed; if no, step S110 is performed; the locked state time refers to the time when the set terminal automatically enters the locked state; step S104, determining whether the terminal is in a stationary state; Step S106 is performed, otherwise, step S108 is performed; Step S106, the terminal is prohibited from entering the locked state; Step S108, the terminal is set to enter the locked state; Step S110, the standby is continued.
  • the terminal When the terminal reaches the locked state time, it does not directly enter the locked state, but first determines whether the terminal is in a stationary state, and in the case of being in a static state, prohibits the terminal from entering the locked state, thereby reducing the number of times the terminal is locked.
  • the problem that the terminal lock screen is unnecessary in the related art is caused, and the terminal frequently locks and unlocks the terminal. This method prevents the user from frequently performing the unlocking operation and improves the user experience.
  • the terminal switches from the stationary state to the motion state again, the user may operate the terminal (for example, the user views the content in the mobile phone) or does not operate (for example, the user picks up the terminal placed on the desktop and then Putting into the trouser pocket), because the above method is used, the terminal does not enter the locked state at this time.
  • the method further includes: monitoring the terminal after being in motion , to determine whether the backlight of the terminal is turned on; if the backlight is turned off, the terminal is set to enter the locked state, if the backlight is turned on, the user operates the terminal, and the terminal is restored to the original operation mode, that is, the user can manually lock the screen or Automatically lock the screen after waiting for the lock screen timer to expire. It can be seen from the above that after the terminal is in a state of motion for a period of time, it is necessary to confirm whether the user is operating the terminal by determining the backlight.
  • the backlight is turned off, the user is not When the terminal is operated, only the terminal is moved, so the automatic lock screen operation is adopted; if the backlight is turned on, the user is performing normal operation on the terminal, and the terminal will be restored to the original operation mode.
  • the user can manually lock the screen or wait for the lock screen timer to automatically lock the screen after the time has elapsed. In this way, it is possible to prevent the user from putting the terminal into the trouser pocket or the like and causing an erroneous operation.
  • the terminal enters the lock screen state, it will enter the sleep mode to reduce the power consumption. When the method is in effect, the lock screen operation is not performed, and the sleep operation is not affected.
  • the apparatus for determining whether the terminal is in a stationary state in the embodiment includes, but is not limited to, an acceleration sensor or a gyroscope. Other physical devices can replace the above-mentioned acceleration sensor or gyroscope as long as it can determine whether the object is stationary or moving. At present, more and more terminals have built-in acceleration sensors.
  • the hardware requirements of this embodiment are not high, and the development work of the terminal manufacturers is also small. Only a small amount of modification of the terminal software can be compatible with the existing terminals.
  • the above locked state may include: a lock screen or a lock keyboard.
  • the embodiment further provides a processing device for locking the terminal, which is used to implement the above embodiment.
  • 2 is a structural block diagram of a processing apparatus for locking a terminal according to an embodiment of the present invention, as shown in FIG.
  • the device includes: a detection module 20, a state determination module 22, a first processing module 24, and a second processing module 26. The structure will be described below.
  • the detecting module 20 is configured to detect whether the terminal standby time reaches the locked state time; the state determining module 22 is connected to the detecting module 20, and is configured to determine whether the terminal is in a static state when the detection result of the detecting module 20 is YES; The module 24 is connected to the state judging module 22, and is configured to prohibit the terminal from entering the locked state when the judgment result of the state judging module 22 is that the terminal is in a static state; the second processing module 26 is connected to the state judging module 22, and is set to the state. When the judgment result of the determination module 22 is that the terminal is not in the stationary state, the terminal is set to enter the locked state.
  • FIG. 3 is a block diagram showing a specific structure of a processing device for locking a terminal according to an embodiment of the present invention.
  • the device includes: a monitoring module 30 and a backlight determining module 32, in addition to the modules in FIG. And a third processing module 34.
  • the monitoring module 30 is connected to the first processing module 24, and is configured to monitor whether the terminal is in a moving state after the first processing module 24 prohibits the terminal from entering the locked state.
  • the backlight determining module 32 is connected to the monitoring module 30 and configured to be in the monitoring module. When the monitoring result of 30 is YES, it is judged whether the backlight of the terminal is turned on; the third processing module 34 is connected to the backlight judging module 32, and is set to set the terminal to enter the locked state when the judgment result of the backlight judging module 32 is that the backlight is turned off.
  • the apparatus further includes: a sleep mode setting module 40, connected To the first processing module 24, the terminal is set to be in the sleep mode after the first processing module 24 prohibits the terminal from entering the locked state.
  • the state determination module 22 of the preferred embodiment determines whether the terminal is in a stationary state, including but not limited to an acceleration sensor or a gyroscope. Other physical devices can replace the above-mentioned acceleration sensor or gyroscope as long as it can determine whether the object is stationary or moving. At present, more and more terminals have built-in acceleration sensors.
  • FIG. 5 is a flowchart of a method for automatically locking a screen according to an embodiment of the present invention. As shown in FIG. 5, the method includes the following steps: Step S502: No The user enters the standby state. Step S504, detecting that the terminal standby time reaches the lock screen state time. When the mobile terminal and other terminals work in the waiting state, it is called standby.
  • the standby time refers to the continuous use time of the battery in the standby state of the terminal. It can also be interpreted as the terminal is fully charged. In the standby state without talking or shutting down, the battery depends on itself. The amount of time that can be maintained until the low battery warning occurs. The current consumed during standby is relatively small, and has little to do with the network. Depending on the model, the power consumption ranges from a few milliamps to tens of milliamps.
  • the standby time depends on the capacity of the battery and the current consumption of the mobile phone.
  • Step S506 it is judged whether the terminal is in a stationary state; if yes, step S508 is performed, and if no, step S510 is performed.
  • the acceleration value of the three-dimensional space X/Y/Z of the current terminal can be obtained in real time. If the terminal is at rest, it will only be affected by the acceleration of gravity, then the sum of the acceleration vectors on the three axes is lg, and g represents 9.8 m/s 2 .
  • Step S508 the terminal is prohibited from entering the lock screen state. After the terminal is disabled from entering the locked state, the terminal can be set to be in the sleep mode. In this way, the power consumption can be reduced.
  • the lock screen operation is not performed when the terminal is in the static state, and the sleep operation is not affected.
  • the difference between the standby state and the sleep state is that the standby is to save the data in the current running state in the memory, the machine only supplies power to the memory, and the components such as the hard disk and the screen stop supplying power. Since the data is stored in a fast memory, it is faster to enter the wait state and wake up.
  • the sleep state saves the currently running data on the hard disk, and the whole machine will stop power supply completely. Because the data is stored in the hard disk, and the hard disk speed is lower than the memory, the sleep state and the wake-up speed are relatively slow. The time to automatically enter the standby state and the sleep state can be set according to the user's needs.
  • Step S510 setting the terminal to enter a lock screen state. If the terminal has locked the screen, for example, the user performs a lock screen operation on the mobile phone, and then puts the mobile phone on the table, the mobile phone is in a static state and is in a locked state.
  • This embodiment does not take the initiative even when the terminal is in a stationary state. Unlock to match the user's willingness to operate.
  • the embodiment further provides a specific The method for automatically locking the screen of the terminal, see FIG. 6, on the basis of FIG.
  • Step S602 monitoring whether the terminal is still in a stationary state; if the terminal is in motion, that is, the terminal is in a stationary state Switching to the motion state (for example, the user picks up the terminal placed on the desktop), step S606 is performed, otherwise, step S604 is performed. Step S604, the terminal is prohibited from entering the locked state. Step S606, determining whether the backlight of the terminal is turned on; if the backlight of the terminal is turned on, the process goes to step S608, and if the backlight is not turned on, the process goes to step S610.
  • the backlit display refers to whether the display on the body can be backlit when the user uses the electronic device to display the content more clearly.
  • step S608 the terminal returns to the original operation mode. In this mode, the user can perform manual lock screen or automatically lock the screen after the lock screen timer expires.
  • Step S610 setting the terminal to enter a lock screen state. After the terminal is prohibited from entering the locked state, the terminal is set to sleep mode. After the terminal enters the lock screen state, it will enter the sleep mode to reduce the power consumption.
  • the terminal When it detects that the terminal is at rest, the terminal is prohibited from entering the lock. The status is fixed, and the terminal is in a static state, indicating that the user does not operate the mobile phone, so the terminal can be set to enter the sleep mode.
  • the above method can reduce the consumption of electricity.
  • the lock screen processing method in the above embodiment is only for the automatic lock screen processing, and the manual lock screen operation of the user is still performed according to the original processing mode, that is, after the terminal receives the manual lock screen operation instruction of the terminal, Perform lock screen processing. Of course, this kind of processing is suitable for the form of a lock keyboard.
  • the above embodiment can effectively distinguish unnecessary terminal lock (such as lock screen or lock keyboard) scene, and when the terminal automatically locks the judgment, the terminal in the stationary state is not locked, The number of locks is reduced, which effectively reduces the interference of frequent unlocking operations on the user's use of the terminal, improves the user experience, and does not increase the terminal's misoperation.
  • the method does not need to modify the hardware of the terminal, can be implemented by software, has low development cost, and maintains the interests of the terminal manufacturer.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the computing device may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种锁定终端的处理方法及装置。其中,该方法包括:检测终端待机时间是否达到锁定状态时间;如果是,判断该终端是否处于静止状态;如果处于静止状态,禁止该终端进入锁定状态;如果未处于静止状态,设置该终端进入锁定状态。通过本发明,采用在终端达到锁定状态时间时,不是直接进入锁定状态,而是先进行终端是否处于静止状态的判断,并在处于静止状态的情况下,禁止终端进入锁定状态,进而减少了锁定终端的次数,解决了相关技术中存在不必要的终端锁屏场景,导致终端频繁锁屏和解锁的问题,该方式使用户不需要频繁地进行解锁操作,提升了用户的体验。

Description

锁定终端的处理方法及装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种锁定终端的处理方法及装置。 背景技术 目前人们日常生活中的大多数移动终端, 比如手机、 MP4等, 为了避免误操作和 保护隐私, 一般都支持屏幕锁定, 如根据待机时间进行自动锁屏, 或者用户手动按键 锁屏等。 由于锁屏的频繁, 导致每个终端用户需要经常进行解锁操作。 尽管各种终端 在简化用户解锁操作上都下了大量的功夫, 但是不可否认解锁操作本身就是用户的一 个负担。 现有的终端自动锁屏基于待机时间, 不区分终端所处的位置状态, 存在一些不必 要的锁屏场景。 比如一般手机的自动锁屏时间是 5秒到 20秒,那么如果用户把手机平 放在桌面上, 每隔一段时间来查看手机中的内容, 或者听到短消息提示音后去查看短 消息, 就会发现如果已经锁屏, 那么必须每次首先进行解锁操作。但从生活常识可知, 放在裤袋中不断运动的手机容易出现误操作, 而水平放置并处于静止状态的手机是不 可能出现误操作的, 所以此时的自动锁屏其实是不必要的。 针对相关技术中存在不必要的终端锁屏场景, 导致终端频繁锁屏和解锁的问题, 目前尚未提出有效的解决方案。 发明内容 针对生活中存在不必要的终端锁屏场景, 导致终端不必要的频繁自动锁屏和解锁 的问题, 本发明提供了一种锁定终端的处理方法及装置, 以至少解决上述问题。 根据本发明的一个方面, 提供了一种锁定终端的处理方法, 该方法包括: 检测终 端待机时间是否达到锁定状态时间; 如果是, 判断该终端是否处于静止状态; 如果处 于静止状态, 禁止该终端进入锁定状态; 如果未处于静止状态, 设置该终端进入锁定 状态。 优选地, 禁止上述终端进入锁定状态之后还包括: 监测到该终端处于运动状态之 后, 判断该终端的背光是否打开; 如果背光已关闭, 设置该终端进入锁定状态。 优选地, 禁止上述终端进入锁定状态之后还包括: 设置该终端处于休眠模式。 优选地, 可以通过加速度传感器或陀螺仪判断终端是否处于静止状态。 优选地, 锁定状态包括: 锁屏或锁键盘。 根据本发明的另一方面, 提供了一种锁定终端的处理装置, 该装置包括: 检测模 块, 设置为检测终端待机时间是否达到锁定状态时间; 状态判断模块, 设置为检测模 块的检测结果为是时, 判断终端是否处于静止状态; 第一处理模块, 设置为状态判断 模块的判断结果为终端处于静止状态时, 禁止终端进入锁定状态; 第二处理模块, 设 置为状态判断模块的判断结果为终端未处于静止状态时, 设置终端进入锁定状态。 优选地, 上述装置还包括: 监测模块, 设置为上述第一处理模块禁止上述终端进 入锁定状态之后, 监测到该终端是否处于运动状态; 背光判断模块, 设置为上述监测 模块的监测结果为是时, 判断该终端的背光是否打开; 第三处理模块, 设置为上述背 光判断模块的判断结果为背光已关闭时, 设置该终端进入锁定状态。 优选地, 上述装置还包括: 休眠模式设置模块, 设置为上述第一处理模块禁止上 述终端进入锁定状态之后, 设置该终端处于休眠模式。 优选地, 上述状态判断模块可以通过加速度传感器或陀螺仪判断该终端是否处于 静止状态。 优选地, 上述终端可以为移动终端。 通过本发明, 采用在终端达到锁定状态时间时, 不是直接进入锁定状态, 而是先 进行终端是否处于静止状态的判断, 并在处于静止状态的情况下, 禁止终端进入锁定 状态, 进而减少了锁定终端的次数, 解决了相关技术中存在不必要的终端锁屏场景, 导致终端频繁锁屏和解锁的问题, 该方式使用户不需要频繁地进行解锁操作, 提升了 用户的体验。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的锁定终端的处理方法的流程图; 图 2是根据本发明实施例的锁定终端的处理装置的结构框图; 图 3是根据本发明实施例的锁定终端的处理装置的具体结构框图; 图 4是根据本发明实施例的锁定终端的处理装置的另一个具体结构框图; 图 5是根据本发明实施例的终端自动锁屏的方法流程图; 图 6是根据本发明实施例的终端自动锁屏的方法的具体流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 本发明实施例中的终端可以是手机、 MP4等移动终端, 这些设备在用户不操作的 情况下, 会自动进入锁定状态, 该锁定状态可以是锁屏或锁键盘等, 以防止对设备的 功能进行误操作。 然而这种自动进入锁定状态的方式有时也会使用户的操作繁琐化, 例如: 用户在某段时间会频繁查看手机中的信息时, 需要每次对手机进行解锁操作。 基于此, 本发明实施例提供了一种锁定终端的处理方法和装置。 下面通过实施例进行 详细说明。 在以下实施例中, 提供了一种锁定终端的处理方法, 如图 1所示的锁定终端的处 理方法流程图, 该方法包括以下步骤 (步骤 S102-步骤 S108 ): 步骤 S102,检测终端待机时间是否达到锁定状态时间;如果是,则执行步骤 S104; 如果否, 执行步骤 S110; 该锁定状态时间指设定的终端自动进入锁定状态的时间; 步骤 S104, 判断终端是否处于静止状态; 如果是, 执行步骤 S106, 否则, 执行 步骤 S108; 步骤 S106, 禁止终端进入锁定状态; 步骤 S108, 设置终端进入锁定状态; 步骤 S110, 继续待机。 通过在终端达到锁定状态时间时, 不是直接进入锁定状态, 而是先进行终端是否 处于静止状态的判断, 并在处于静止状态的情况下, 禁止终端进入锁定状态, 进而减 少了锁定终端的次数, 解决了相关技术中存在不必要的终端锁屏场景, 导致终端频繁 锁屏和解锁的问题, 该方式使用户不需要频繁地进行解锁操作, 提升了用户的体验。 在此之后, 如果终端从静止状态再次切换到运动状态, 此时用户可能对终端进行 操作 (例如, 用户查看手机中的内容) 或不进行操作 (例如, 用户把置于桌面的终端 拿起然后放入裤袋), 因采用上述方法, 此时终端未进入锁定状态, 为了防止这种情况 下, 发生误操作, 禁止上述终端进入锁定状态之后, 该方法还包括: 监测到终端处于 运动状态之后, 判断终端的背光是否打开; 如果背光已关闭, 设置终端进入锁定状态, 如果背光打开, 说明用户对终端进行了操作, 设置终端恢复到原有的操作方式, 即用 户可以自行进行手动锁屏或者等待锁屏定时器到时后进行自动锁屏。 由上述方式可以看出, 在终端静止一段时间后, 发现终端处于运动状态时, 则需 要通过判断背光的方式再次确认用户是否对该终端正在进行操作,如果背光已经关闭, 则说明用户此时未对终端进行操作, 仅是对终端进行了位置移动, 因此采取自动锁屏 操作; 如果背光打开, 则说明用户正在对终端进行正常操作, 此时终端将恢复到原有 的操作方式, 该方式下, 用户可以自行进行手动锁屏或者等待锁屏定时器到时后进行 自动锁屏。 通过这种方式, 可以避免用户将终端放入裤袋等动作而导致误操作。 一般终端进入锁屏状态后会进入休眠模式以减少电量的消耗, 本方法生效时仅仅 是不进行锁屏操作, 不会影响休眠操作。 基于此, 当检测到终端处于静止状态时, 禁 止终端进入锁定状态, 终端处于静止状态说明用户未对手机进行操作, 因此可以设置 终端进入休眠模式。 这种方式保证了在减少锁定状态次数的基础上, 还可以进一步达 到减少电量消耗的目的。 本实施例判断终端是否处于静止状态的装置包括但不限于加速度传感器或陀螺仪 等。 其它一些物理装置, 只要能判断物体是否静止和运动, 都可以替代上述的加速度 传感器或者陀螺仪。 目前越来越多的终端都已经内置加速度传感器, 本实施例硬件条 件要求不高, 对终端生产厂家的开发工作影响也很小, 只需少量修改终端软件, 能与 现有终端兼容。 上述锁定状态可以包括: 锁屏或锁键盘。 对应于上述方法, 本实施例还提供了一种锁定终端的处理装置, 该装置用于实现 上述实施例。 图 2是根据本发明实施例的锁定终端的处理装置的结构框图, 如图 2所 示, 该装置包括: 检测模块 20、 状态判断模块 22、 第一处理模块 24和第二处理模块 26。 下面对该结构进行说明。 检测模块 20, 设置为检测终端待机时间是否达到锁定状态时间; 状态判断模块 22,连接至检测模块 20, 设置为在检测模块 20的检测结果为是时, 判断终端是否处于静止状态; 第一处理模块 24, 连接至状态判断模块 22, 设置为在状态判断模块 22的判断结 果为终端处于静止状态时, 禁止终端进入锁定状态; 第二处理模块 26, 连接至状态判断模块 22, 设置为在状态判断模块 22的判断结 果为终端未处于静止状态时, 设置终端进入锁定状态。 通过上述装置, 在检测模块 20检测到终端待机时间达到锁定状态时间的前提下, 根据状态判断模块 22对终端是否处于静止状态的判断结果, 由第一处理模块 24或第 二处理模块 26对终端的锁定状态进行设置, 并在处于静止状态的情况下, 禁止终端进 入锁定状态, 进而减少了锁定终端的次数, 解决了相关技术中存在不必要的终端锁屏 场景, 导致终端频繁锁屏和解锁的问题, 该方式使用户不需要频繁地进行解锁操作, 提升了用户的体验。 图 3是根据本发明实施例的锁定终端的处理装置的具体结构框图, 如图 3所示, 该装置除了包括上述图 2中的各个模块之外, 还包括: 监测模块 30、背光判断模块 32 和第三处理模块 34。 下面对该结构进行说明。 监测模块 30, 连接至第一处理模块 24, 设置为在第一处理模块 24禁止终端进入 锁定状态之后, 监测终端是否处于运动状态; 背光判断模块 32,连接至监测模块 30, 设置为在监测模块 30的监测结果为是时, 判断终端的背光是否打开; 第三处理模块 34, 连接至背光判断模块 32, 设置为在背光判断模块 32的判断结 果为背光已关闭时, 设置终端进入锁定状态。 图 4是根据本发明实施例的锁定终端的处理装置的另一个具体结构框图, 如图 4 所示除了包括上述图 3中的各个模块之外, 该装置还包括: 休眠模式设置模块 40, 连 接至第一处理模块 24, 设置为在第一处理模块 24禁止终端进入锁定状态之后, 设置 终端处于休眠模式。 本优选实施例的状态判断模块 22 判断终端是否处于静止状态的装置包括但不限 于加速度传感器或陀螺仪等。 其它一些物理装置, 只要能判断物体是否静止和运动, 都可以替代上述的加速度传感器或者陀螺仪。 目前越来越多的终端都已经内置加速度 传感器, 本实施例硬件条件要求不高, 对终端生产厂家的开发工作影响也很小, 只需 少量修改终端软件。 优选地, 上述终端为移动终端。 下面结合优选实施例和附图对上述实施例的实现过程进行详细说明。 实施例一 本实施例以锁屏为例进行说明, 图 5是根据本发明实施例的终端自动锁屏的方法 流程图, 如图 5所示, 该方法包括如下步骤: 步骤 S502, 终端上无用户操作而进入待机状态。 步骤 S504, 检测终端待机时间达到锁屏状态时间。 手机等终端工作在等待状态时称为待机, 待机时间是指电池在终端待机状态下的 连续使用时间, 也可以解释为终端完全充满电量, 在不通话、 不关机的待机状态下, 电池靠自身消耗一直到出现低电量警告之间所能维持的时间。 待机时消耗的电流比较 小, 与网络几乎无关, 根据机型不同, 消耗电量几毫安到几十毫安不等。 待机时间取 决于电池的容量及手机消耗电流的大小, 其待机时间的算法为: 手机等终端的电池容 量 /待机时的工作电流 =待机时间。 步骤 S506, 判断终端是否处于静止状态; 如果是, 执行步骤 S508, 如果否, 执 行步骤 S510。 本实施例可以通过加速度传感器或陀螺仪判断终端是否处于静止状态。 对于内置 加速度传感器或者陀螺仪的终端, 可以实时获取当前终端所处三维空间 X/Y/Z的加速 度值。 如果终端处于静止状态, 将只受到重力加速度的影响, 那么三个轴上的加速度 矢量和为 lg, g代表 9.8m/s2。 考虑到任何加速度传感器都存在一定的固有测量误差, 如果三个轴的加速度矢量和在 lg的测试误差范围内变化,则可以认为此时终端处于静 止状态。 比如静止平放在水平桌面上的终端就是一个例子, 其一个轴的加速度为 lg, 另外两个轴加速度为 0。 通过以上传感器判断物体是否静止可以参考相关技术实现, 这里不再赘述。 步骤 S508, 禁止终端进入锁屏状态。 禁止终端进入锁定状态之后, 可以设置终端处于休眠模式, 这样, 可以减少电量 的消耗, 采用本实施例的方法, 仅仅是在终端处于静止状态时不进行锁屏操作, 不会 影响休眠操作。 待机状态与休眠状态的区别是待机是将当前处于运行状态的数据保存 在内存中, 机器只对内存供电, 而硬盘、 屏幕等部件则停止供电。 由于数据存储在速 度快的内存中, 因此进入等待状态和唤醒的速度比较快。 休眠状态是将当前处于运行 状态的数据保存在硬盘中, 整机将完全停止供电, 因为数据存储在硬盘中, 而硬盘速 度比内存要低, 所以进入休眠状态和唤醒的速度都相对较慢。 自动进入待机状态和休 眠状态的时间可以根据用户需要自行设定。 上述方法可以减少电量的消耗。 步骤 S510, 设置终端进入锁屏状态。 如果终端已经锁屏, 比如用户对手机进行锁 屏操作, 然后把手机置于桌上, 此时手机处于静止状态, 并且是锁定状态, 本实施例 即使在终端处于静止状态时, 也不会主动解锁, 以符合用户的操作意愿。 对于采用上述方法的终端, 当终端一直处于静止状态时, 该终端将一直不会被锁 屏; 当终端位置发生移动, 处于运动状态时, 为了防止误操作, 本实施例还提供了一 种具体的终端自动锁屏的方法, 参见图 6, 在图 5的基础上, 该方法还包括以下步骤: 步骤 S602, 监测终端是否依旧处于静止状态; 如果监测到终端处于运动状态, 即 终端从静止状态切换到运动状态(例如,用户把置于桌面的终端拿起),执行步骤 S606, 否则, 执行步骤 S604。 步骤 S604, 禁止终端进入锁定状态。 步骤 S606, 判断终端的背光是否打开; 如果终端的背光打开, 则进入步骤 S608, 如果背光未打开, 则进入步骤 S610。 背光显示是指当使用者使用电子设备时, 机身上的显示屏能否发出背光, 以便更 清晰地显示内容。大部分的电子设备只要有显示屏, 就有背光显示。背光关闭状态下, 电流也能进入, 但保持低耗状态, 信号可以进入, 可以通过点击屏幕或键盘发送激活 信号, 将显示屏退出低耗状态, 进入正常模式, 此时背光打开。 步骤 S608, 终端恢复到原有的操作方式, 该方式下, 用户可以自行进行手动锁屏 或者等锁屏定时器到时后进行自动锁屏。 步骤 S610, 设置终端进入锁屏状态。 禁止终端进入锁定状态之后, 设置终端处于休眠模式。 一般终端进入锁屏状态后 会进入休眠模式以减少电量的消耗, 当检测到终端处于静止状态时, 禁止终端进入锁 定状态, 终端处于静止状态说明用户未对手机进行操作, 因此可以设置终端进入休眠 模式。 上述方法可以减少电量的消耗。 以上实施例中的锁屏处理方法, 仅是针对自动锁屏方式进行的处理, 对于用户的 手动锁屏操作, 依旧按照原有处理方式进行, 即终端接收到终端的手动锁屏操作指令 后, 进行锁屏处理。 当然, 这种处理适用于锁键盘的形式。 从以上的描述中可以看出, 上述实施例能够有效分辨出不必要的终端锁定 (例如 锁屏或锁键盘) 场景, 在终端自动锁定判断时, 使处于静止状态的终端不进行锁定操 作, 以减少锁定的次数, 有效减少频繁解锁操作对用户使用终端的干扰, 提升用户体 验, 同时也不会增加终端的误操作。 另外, 该方法不需要对终端的硬件进行改动, 可 以通过软件实现, 开发成本低, 维护了终端厂商的利益。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种锁定终端的处理方法, 包括:
检测终端待机时间是否达到锁定状态时间;
如果是, 判断所述终端是否处于静止状态;
如果处于静止状态, 禁止所述终端进入锁定状态;
如果未处于静止状态, 设置所述终端进入锁定状态。
2. 根据权利要求 1所述的方法, 其中, 禁止所述终端进入锁定状态之后, 所述方 法还包括:
监测到所述终端处于运动状态之后, 判断所述终端的背光是否打开; 如果所述背光已关闭, 设置所述终端进入锁定状态。
3. 根据权利要求 1所述的方法, 其中, 禁止所述终端进入锁定状态之后, 所述方 法还包括: 设置所述终端处于休眠模式。
4. 根据权利要求 1所述的方法, 其中, 通过加速度传感器或陀螺仪判断所述终端 是否处于静止状态。
5. 根据权利要求 1所述的方法, 其中, 所述锁定状态包括: 锁屏或锁键盘。
6. 一种锁定终端的处理装置, 包括:
检测模块, 设置为检测终端待机时间是否达到锁定状态时间; 状态判断模块, 设置为所述检测模块的检测结果为是时, 判断所述终端是 否处于静止状态;
第一处理模块, 设置为所述状态判断模块的判断结果为所述终端处于静止 状态时, 禁止所述终端进入锁定状态;
第二处理模块, 设置为所述状态判断模块的判断结果为所述终端未处于静 止状态时, 设置所述终端进入锁定状态。
7. 根据权利要求 6所述的装置, 其中, 所述装置还包括: 监测模块, 设置为所述第一处理模块禁止所述终端进入锁定状态之后, 监 测到所述终端是否处于运动状态;
背光判断模块, 设置为所述监测模块的监测结果为是时, 判断所述终端的 背光是否打开;
第三处理模块,设置为所述背光判断模块的判断结果为所述背光已关闭时, 设置所述终端进入锁定状态。
8. 根据权利要求 6所述的装置, 其中, 所述装置还包括: 休眠模式设置模块, 设 置为所述第一处理模块禁止所述终端进入锁定状态之后, 设置所述终端处于休 眠模式。
9. 根据权利要求 6所述的装置, 其中, 所述状态判断模块通过加速度传感器或陀 螺仪判断所述终端是否处于静止状态。
10. 根据权利要求 6所述的装置, 其中, 所述终端为移动终端。
PCT/CN2011/085163 2011-10-25 2011-12-31 锁定终端的处理方法及装置 WO2013060084A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110327366.6 2011-10-25
CN201110327366.6A CN102394974B (zh) 2011-10-25 2011-10-25 锁定终端的处理方法及装置

Publications (1)

Publication Number Publication Date
WO2013060084A1 true WO2013060084A1 (zh) 2013-05-02

Family

ID=45862178

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/085163 WO2013060084A1 (zh) 2011-10-25 2011-12-31 锁定终端的处理方法及装置

Country Status (2)

Country Link
CN (1) CN102394974B (zh)
WO (1) WO2013060084A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11056076B2 (en) * 2017-03-15 2021-07-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for controlling screen backlight and terminal

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593163A (zh) * 2012-08-13 2014-02-19 宏达国际电子股份有限公司 自动操作方法与便携式装置
JP6250187B2 (ja) * 2014-09-29 2017-12-20 シャープ株式会社 携帯端末、携帯端末の制御方法、および制御プログラム
CN104376239B (zh) * 2014-11-26 2019-02-12 小米科技有限责任公司 终端的解锁方法和装置
CN105404382A (zh) * 2015-11-30 2016-03-16 小米科技有限责任公司 省电模式设置方法及装置
CN107643871A (zh) * 2017-10-13 2018-01-30 广东欧珀移动通信有限公司 屏幕显示控制方法、装置、存储介质及移动终端
CN108007433A (zh) * 2017-11-13 2018-05-08 青岛海信移动通信技术股份有限公司 一种终端确定倾斜角的方法及终端
CN108470120B (zh) * 2018-03-28 2021-06-29 北京小米移动软件有限公司 锁屏控制方法、装置及可读存储介质
CN109151159A (zh) * 2018-06-15 2019-01-04 Oppo广东移动通信有限公司 终端控制方法、装置以及移动终端
CN109194834B (zh) * 2018-09-27 2021-07-13 重庆辉烨物联科技有限公司 手机节电方法、装置、设备及存储介质
CN113205673A (zh) * 2021-04-23 2021-08-03 珠海格力电器股份有限公司 遥控装置的控制方法和装置、遥控装置和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1704292A (zh) * 2004-05-31 2005-12-07 乐金电子(惠州)有限公司 利用通讯网的车辆启动锁定控制装置和方法
WO2008084091A2 (en) * 2007-01-12 2008-07-17 Nokia Corporation Mobile communication terminal comprising a motion sensor for locking and unlocking the user interface
CN101931705A (zh) * 2010-08-31 2010-12-29 中兴通讯股份有限公司 一种锁定移动终端输入模块的方法及移动终端
CN101945166A (zh) * 2010-08-31 2011-01-12 中兴通讯股份有限公司 一种移动终端及其锁定方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827160B (zh) * 2009-12-29 2015-04-08 华为终端有限公司 加解锁控制方法、装置和移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1704292A (zh) * 2004-05-31 2005-12-07 乐金电子(惠州)有限公司 利用通讯网的车辆启动锁定控制装置和方法
WO2008084091A2 (en) * 2007-01-12 2008-07-17 Nokia Corporation Mobile communication terminal comprising a motion sensor for locking and unlocking the user interface
CN101931705A (zh) * 2010-08-31 2010-12-29 中兴通讯股份有限公司 一种锁定移动终端输入模块的方法及移动终端
CN101945166A (zh) * 2010-08-31 2011-01-12 中兴通讯股份有限公司 一种移动终端及其锁定方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11056076B2 (en) * 2017-03-15 2021-07-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for controlling screen backlight and terminal

Also Published As

Publication number Publication date
CN102394974B (zh) 2016-03-30
CN102394974A (zh) 2012-03-28

Similar Documents

Publication Publication Date Title
WO2013060084A1 (zh) 锁定终端的处理方法及装置
JP6247366B2 (ja) 低電力近距離無線通信認証
JP5387257B2 (ja) 携帯端末装置、その制御方法、およびコンピュータプログラム
KR101941510B1 (ko) 전력 소모를 줄이기 위한 방법 및 그 전자 장치
US9507399B2 (en) Accelerometer-controlled master power switch for electronic devices
US11720160B2 (en) Preventing false wake events from a low-power state
US20110221667A1 (en) Apparatus and method for switching screen in mobile terminal
US20140135063A1 (en) Notebook computer and cell phone assembly
WO2012025029A1 (zh) 一种信息处理设备及其控制方法
KR20110137190A (ko) 이동통신 단말기의 전원 관리 방법 및 이를 이용하는 이동통신 단말기
US20140189397A1 (en) State control device, state control method and program
EP2866215A1 (en) Touch screen terminal and alarm method thereof
CN105159675A (zh) 电子设备、电子设备的唤醒方法及装置
KR20120138311A (ko) 휴대 단말기에서 배터리를 교체하는 장치 및 방법
CN106874077A (zh) 进程运行方法及装置
CN103365419A (zh) 一种触发闹钟控制指令的方法和装置
EP2903246B1 (en) Voice recognition function realizing method and device
KR20170013851A (ko) Mcu를 웨이크업 시키기 위한 방법 및 디바이스
US20150113301A1 (en) Charging method and mobile electronic device
CN105807891A (zh) 屏幕控制方法、装置及电子设备
US20170097722A1 (en) Mobile electronic device, method of controlling mobile electronic device, and recording medium
US9996186B2 (en) Portable device and method for defining restricted area within touch panel
US20170097723A1 (en) Mobile electronic device, method of controlling mobile electronic device, and recording medium
CN110543333A (zh) 针对处理器的休眠处理方法、装置、移动终端和存储介质
CN101984641B (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: 11874614

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

Country of ref document: EP

Kind code of ref document: A1