WO2017143716A1 - 待机状态控制方法及移动终端 - Google Patents

待机状态控制方法及移动终端 Download PDF

Info

Publication number
WO2017143716A1
WO2017143716A1 PCT/CN2016/088590 CN2016088590W WO2017143716A1 WO 2017143716 A1 WO2017143716 A1 WO 2017143716A1 CN 2016088590 W CN2016088590 W CN 2016088590W WO 2017143716 A1 WO2017143716 A1 WO 2017143716A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
screen
acceleration
front camera
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/088590
Other languages
English (en)
French (fr)
Inventor
马勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Le Holdings Beijing Co Ltd
LeCloud Computing Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
LeCloud Computing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Le Holdings Beijing Co Ltd, LeCloud Computing Co Ltd filed Critical Le Holdings Beijing Co Ltd
Priority to US15/243,939 priority Critical patent/US20170242471A1/en
Publication of WO2017143716A1 publication Critical patent/WO2017143716A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a three-dimensional [3D] space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality

Definitions

  • the present invention relates to the field of terminal control technologies, and in particular to a standby state control method and a mobile terminal.
  • the mobile terminal usually needs to control the mobile terminal to enter a standby state (or a sleep state) when the user does not use the mobile terminal, and re-awake it when needed to save the mobile.
  • the power of the terminal is a standby state (or a sleep state) when the user does not use the mobile terminal.
  • the standby mode management method in the prior art mainly adopts: pressing a standby button or a virtual standby button to implement standby, or setting a timeout period in advance, and entering a standby state without any operation within a preset timeout period; When the mobile terminal is woken up, the wake-up button or the virtual wake-up button is pressed to wake up.
  • the main problem of this standby mode management scheme is that its operation process is mainly based on the manual operation of the user, and the degree of intelligence is not high enough.
  • an object of the present invention is to provide a standby state control method and a mobile terminal capable of realizing control of a standby state without manual operation by a user.
  • the standby state control method provided by the present invention based on the above object is applied to a mobile terminal, and the shifting The mobile terminal has an acceleration sensor and a front camera, and the method includes:
  • the step of continuously acquiring the acceleration data generated by the acceleration sensor further includes:
  • the front camera is turned on
  • the normal working state is exited and the standby state is entered.
  • the step of turning on the front camera further includes:
  • a prompt message is sent to remind the user to look at the front camera.
  • the step of determining whether the user is looking at the screen according to the image acquired by the front camera comprises:
  • the step of determining whether the user is looking at the screen according to the image collected by the front camera further includes:
  • the step of determining whether the user is looking at the screen according to the image collected by the front camera includes:
  • the step of determining whether a pre-boot action occurs according to the acceleration data comprises:
  • the step of determining whether a pre-boot action occurs according to the acceleration data includes:
  • an acceleration change it is determined whether an average value of the vertical components of the acceleration acquired during the preset acceleration calculation period after the acceleration change is greater than a preset vertical component threshold and a direction of the vertical component of the last moment is upward;
  • the preset vertical component threshold is greater than the direction of the vertical component of the last time, it is determined that the pre-boot action occurs.
  • the present invention also provides a standby state control mobile terminal having an acceleration sensor and a front camera, including:
  • An acceleration data acquisition module configured to continuously acquire acceleration data generated by the acceleration sensor when in a standby state
  • a pre-boot action determining module configured to determine, according to the acceleration data, whether a pre-opening maneuver occurs Work
  • a camera startup module configured to turn on the front camera if the pre-booting action occurs
  • a user status determining module configured to determine, according to the image captured by the front camera, whether the user is looking at the screen
  • the state switching module if the user is looking at the screen, is used to exit the standby state and enter the normal working state.
  • the mobile terminal further includes:
  • a state judging module configured to determine a current state
  • the camera startup module is also used to open the front camera
  • the user state determining module is configured to determine, according to the image collected by the front camera, whether the user is looking at the screen;
  • the status monitoring and timing module if the user does not look at the screen, is used to continuously monitor the state of the user not looking at the screen and start timing;
  • the standby time limit determining module is configured to determine whether the timing duration reaches a preset standby time limit
  • the state switching module is also used to exit the normal working state and enter the standby state.
  • the mobile terminal further includes a prompting module for issuing prompt information for reminding the user to look at the front camera.
  • the user status determination module is specifically configured to:
  • the user status determining module is specifically configured to:
  • the pre-boot action determination module is specifically configured to:
  • the pre-boot action determination module is specifically configured to:
  • If an acceleration change occurs determine whether an average value of the vertical components of the acceleration acquired during the preset acceleration calculation period after the acceleration change is greater than a preset vertical component threshold and whether the direction of the vertical component at the last moment is upward;
  • the pre-boot action is determined to occur.
  • the standby state control method and the mobile terminal determine whether a pre-boot action occurs in a standby state, and if a pre-boot action occurs, the front camera is turned on and an image is captured, and the user is determined by the image content. Whether the screen of the mobile terminal is being watched, thereby determining that the user needs to use the mobile terminal at this time, and then automatically switching the mobile terminal to the normal working state, so that the user can start using the mobile terminal without manually booting, which facilitates the operation of the user and improves the operation. user experience.
  • FIG. 1 is a schematic flow chart of an embodiment of a standby state control method provided by the present invention
  • FIG. 2 is a schematic flow chart of another embodiment of a standby state control method provided by the present invention.
  • FIG. 3 is a schematic structural diagram of a module of an embodiment of a standby state control apparatus according to the present invention.
  • FIG. 4 is a schematic diagram showing a screen display of a mobile terminal after a prompt information is sent in a standby state control method and apparatus according to the present invention
  • FIG. 5 is a schematic structural diagram of a standby state control mobile terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart diagram of an embodiment of a standby state control method according to the present invention.
  • the standby state control method is applied to a mobile terminal, wherein the mobile terminal has an acceleration sensor and a front camera; the acceleration sensor is configured to detect that the mobile terminal moves and generates physical data (such as speed and acceleration) , displacement, etc.) can be converted into acceleration data or transmitted to the processor of the mobile terminal by calculating the sensor of the acceleration data or a device similar to the sensor, such as a gyroscope, a gravity sensor, a vibration sensor, an accelerometer, etc.;
  • the method includes the following steps:
  • Step 101 continuously acquire acceleration data generated by the acceleration sensor when in a standby state; that is, when the mobile terminal is in a standby state, turn on monitoring of the acceleration sensor;
  • Step 102 Determine, according to the acceleration data, whether a pre-boot action occurs
  • the pre-boot action refers to that the mobile terminal has a preset motion under the operation of the user.
  • the action usually indicates that the user needs to use the mobile terminal, for example, is picked up by the user;
  • the pre-boot action may be determined in advance by setting in the mobile terminal, when the acceleration data changes or presents a certain When a trend is changed, it is determined that a pre-boot action occurs;
  • Step 103 If the pre-booting action occurs, the front camera is turned on, and an image is acquired by using the front camera;
  • Step 104 Determine, according to the image collected by the front camera, whether the user is looking at the screen;
  • the method for determining whether the user is looking at the screen may be that the face image in the image is recognized by the face recognition technology, and if the complete face image can be recognized, it is determined that the user is looking at the screen; or by recognizing the face image Whether there is an image of the user's eyes or an image of both eyes, and if so, it is determined that the user is looking at the screen; of course, the design can be performed according to actual needs, instead of the above two methods;
  • Step 105 If it is determined that the user is looking at the screen, the standby state is exited and the normal working state is entered. At this time, the user can normally use the mobile terminal.
  • the standby state control method determines whether a pre-boot action occurs in a standby state, and if a pre-boot action occurs, turns on the front camera and collects an image, and determines whether the user is watching through the image content.
  • the screen of the mobile terminal determines that the user needs to use the mobile terminal at this time, and then the mobile terminal automatically switches to the normal working state, so that the user can start using the mobile terminal without manually booting, which facilitates the operation of the user and improves the user experience.
  • the step 101 of continuously acquiring the acceleration data generated by the acceleration sensor may further include the following steps:
  • Determining the current state of the mobile terminal for example, determining whether it is a normal working state or a standby state
  • the front camera is turned on
  • the preset standby time limit may be the default duration of the system, or may be the duration of the user-defined setting; the method for determining whether the user is looking at the screen may adopt the manner in the foregoing embodiment, and details are not described herein again.
  • the step 103 of turning on the front camera further includes the following steps:
  • a prompt message prompting the user to look at the front camera is issued; as shown in FIG. 4, a display schematic diagram of the mobile terminal screen 400 after the prompt information 401 is issued.
  • the prompt information 401 when it is required to further determine whether the user is looking at the screen through the front camera, the user is reminded to watch the camera to turn on the mobile phone, thereby guiding the user's operation and improving the user experience.
  • the step 104 of determining whether the user is looking at the screen according to the image collected by the front camera may specifically include the following steps:
  • Determining whether there is an eye image in the image captured by the front camera here, the image captured by the front camera is first subjected to face recognition, the face image is extracted therefrom, and the eye image is extracted from the face image; however, If the eye image can be extracted directly from the image captured by the front camera, the step of face recognition can be skipped;
  • the current state of use of the user can be more accurately inferred.
  • the step of determining, according to the image captured by the front camera, whether the user is looking at the screen before:
  • the step 104 of determining whether the user is looking at the screen according to the image collected by the front camera may specifically include:
  • the preset acquisition time is the default or custom preset acquisition time
  • the preset last time period is the last time period of the preset acquisition time
  • the data of the two may be arbitrarily set according to actual needs, for example, the preset acquisition time is 0.5. Seconds or 1 second, the preset last time period is 0.3 seconds or 0.5 seconds, etc.
  • This setting method mainly considers that the front camera automatically turns on when the user picks up the mobile terminal, and the user has not started to look at the initial moment. The screen, therefore, the image captured during the last time period of the preset is more indicative of whether the user is looking at the screen.
  • the eye image in addition to directly determining whether there is an eye diagram in the image captured by the camera, the eye image can be used to judge the distance between the eyes and the screen, the focus of the line of sight, etc., thereby more accurately determining the state of use of the user.
  • the step 102 of determining whether a pre-boot action occurs according to the acceleration data may further include the following steps:
  • the preset vertical component threshold may be a default or a customized acceleration value, which may be performed according to actual needs.
  • the user may be carrying mobile terminal motion (walking, running, etc.), and the user does not need to use the mobile terminal, so this part of the data needs to be eliminated.
  • the step 102 of determining whether a pre-boot action occurs according to the acceleration data may further include the following steps:
  • the preset acceleration calculation The time period may be a default or a custom period of time, for example, 5 seconds; the preset vertical component threshold may be a default or a custom acceleration value, which may be set according to actual needs;
  • the pre-boot action is determined to occur.
  • FIG. 2 it is a schematic flowchart of another embodiment of the standby state control method provided by the present invention.
  • the standby state control method includes the following steps:
  • Step 201 Determine a current state of the mobile terminal, for example, determine whether it is a normal working state, or a standby state;
  • Step 202 If it is in a normal working state, turn on the front camera;
  • Step 203 Determine, according to the image collected by the front camera, whether the user is looking at the screen;
  • Step 204 If the user is looking at the screen, continue to maintain a normal working state
  • Step 205 If the user does not look at the screen, continuously monitor the state that the user does not look at the screen and start timing;
  • Step 206 Determine whether the timing duration reaches a preset standby time limit
  • Step 207 If the preset standby time limit is reached, the normal working state is exited and the standby state is entered;
  • Step 208 If the user is watching the screen when the preset standby time limit is not reached, the normal working state is continued;
  • Step 209 If it is in a standby state, continuously collect acceleration data generated by the acceleration sensor;
  • Step 210 Determine, according to the acceleration data, whether a pre-boot action occurs
  • Step 211 If the pre-booting action does not occur, continue to collect acceleration data generated by the acceleration sensor;
  • Step 212 If the pre-booting action occurs, the front camera is turned on;
  • Step 213 Send a prompt message prompting the user to look at the front camera
  • Step 214 Determine, according to the image collected by the front camera, whether the user is watching the screen. screen;
  • Step 215 If the user is looking at the screen, the standby state is exited and the normal working state is entered.
  • Step 216 If the user does not look at the screen, turn off the front camera and continue to collect acceleration data generated by the acceleration sensor.
  • the standby state control method provided by the present invention automatically enters the standby state when it is determined that the user is not in use by determining whether the user leaves the screen in the normal working state, thereby facilitating the operation of the user and saving the operation.
  • the power of the mobile terminal improves the user experience; at the same time, by determining whether the pre-boot action occurs in the standby state, if the pre-boot action occurs, the front camera is turned on and the image is captured, and the image content is used to determine whether the user is looking at the screen of the mobile terminal. Therefore, it is determined that the user needs to use the mobile terminal at this time, and then the mobile terminal is automatically switched to the normal working state, so that the user can start using the mobile terminal without manually booting, which facilitates the operation of the user and improves the user experience.
  • FIG. 3 provides the present invention. Schematic diagram of the module structure of the standby state control device embodiment.
  • the standby state control mobile terminal 30 includes:
  • the acceleration data acquisition module 301 is configured to continuously acquire acceleration data generated by the acceleration sensor when in a standby state; that is, when the mobile terminal is in a standby state, turn on monitoring of the acceleration sensor;
  • the pre-boot action determining module 302 is configured to determine, according to the acceleration data, whether a pre-boot action occurs;
  • the pre-boot action refers to that the mobile terminal performs a preset action under the operation of the user, and the action usually indicates that the user needs to use the mobile terminal, for example, is picked up by the user;
  • the method for judging may be pre-set in the mobile terminal, and when the acceleration data shows a certain change or exhibits a certain change trend, it is determined that the pre-boot action occurs;
  • the camera startup module 303 is configured to: when the pre-booting action occurs, to open the front camera, and use the front camera to collect an image;
  • the user status determining module 304 is configured to determine, according to the image collected by the front camera, whether the user is looking at the screen;
  • the method for determining whether the user is looking at the screen may be that the face image in the image is recognized by the face recognition technology, and if the complete face image can be recognized, it is determined that the user is looking at the screen; or by recognizing the face image Whether there is an image of the user's eyes or an image of both eyes, and if so, it is determined that the user is looking at the screen; of course, the design can be performed according to actual needs, instead of the above two methods;
  • the state switching module 305 if the user is looking at the screen, is used to exit the standby state and enter the normal working state, at this time, the user can normally use the mobile terminal.
  • the standby state control mobile terminal determines whether the pre-booting action occurs in the standby state, and if the pre-booting action occurs, the front camera is turned on and the image is collected, and the image content is used to determine whether the user is Looking at the screen of the mobile terminal, thereby determining that the user needs to use the mobile terminal at this time, and then automatically switching the mobile terminal to the normal working state, so that the user can start using the mobile terminal without manually booting, which facilitates the user's operation and improves the user experience. .
  • the mobile terminal further includes:
  • the state determining module 306 is configured to determine a current state, for example, determining whether it is a normal working state or a standby state;
  • the camera activation module 303 is also used to turn on the front camera if it is in a normal working state
  • the user status determining module 304 is configured to determine, according to the image collected by the front camera, whether the user is looking at the screen;
  • the status monitoring and timing module 307 is configured to continuously monitor the status of the user not looking at the screen and start timing if the user does not look at the screen;
  • the standby time limit determining module 308 is configured to determine whether the timing duration reaches a preset standby time limit
  • the state switching module 305 is also used to exit the normal working state and enter the standby state.
  • the preset standby time limit may be the default duration of the system, or may be the duration of the user-defined setting; the method for determining whether the user is looking at the screen may adopt the manner in the foregoing embodiment, and details are not described herein again.
  • the mobile terminal further includes a prompting module 309 for issuing prompt information for reminding the user to look at the front camera.
  • a prompting module 309 for issuing prompt information for reminding the user to look at the front camera.
  • FIG. 4 is a schematic diagram showing the display of the mobile terminal screen 400 after the prompt information 401 is sent.
  • the prompt information 401 when it is required to further determine whether the user is looking at the screen through the front camera, the user is reminded to watch the camera to turn on the mobile phone, thereby guiding the user's operation and improving the user experience.
  • the user status determining module 304 is specifically configured to:
  • Determining whether there is an eye image in the image captured by the front camera here, the image captured by the front camera is first subjected to face recognition, the face image is extracted therefrom, and the eye image is extracted from the face image; however, If the eye image can be extracted directly from the image captured by the front camera, the step of face recognition can be skipped;
  • the current state of use of the user can be more accurately inferred.
  • the user status determining module 304 is specifically configured to:
  • the preset acquisition time is the default or custom preset acquisition time
  • the preset last time period is the last time period of the preset acquisition time
  • the data of the two may be arbitrarily set according to actual needs, for example, the preset acquisition time is 0.5. Seconds or 1 second, the preset last time period is 0.3 seconds or 0.5 seconds, etc.
  • This setting method mainly considers that the front camera automatically turns on when the user picks up the mobile terminal, and the user has not started to look at the initial moment. The screen, therefore, the image captured during the last time period of the preset is more indicative of whether the user is looking at the screen.
  • the eye and the screen distance, the line of sight focus, and the like can be determined by the eye image, thereby more accurately determining the user's use state.
  • the pre-boot action determining module 302 is specifically configured to:
  • a vertical component of the acceleration generated at a time when the acceleration change occurs is greater than a preset vertical component threshold;
  • the preset vertical component threshold may be a default or a custom
  • the acceleration value of the sense can be set according to actual needs;
  • the user may be carrying mobile terminal motion (walking, running, etc.), and the user does not need to use the mobile terminal, so this part of the data needs to be eliminated.
  • the pre-boot action determining module 302 is specifically configured to:
  • the preset acceleration calculation period It may be a default or a custom period of time, for example 5 seconds; the preset vertical component threshold may be a default or a custom acceleration value, which may be set according to actual needs;
  • the pre-boot action is determined to occur.
  • FIG. 5 is a schematic structural diagram of a standby state control mobile terminal according to an embodiment of the present invention.
  • the standby state control mobile terminal 30 further includes an acceleration sensor 31, a front camera 32, a memory 33, a processor 34, and a bus system 35.
  • the processor 34 and the memory 33 are connected by a bus system 35 for storing instructions for executing instructions stored in the memory 33, and for continuously collecting the Acceleration
  • the acceleration data generated by the sensor determines whether a pre-boot action occurs according to the acceleration data. If the pre-boot action occurs, the front camera is turned on, and according to the image collected by the front camera, whether the user is Look at the screen, if the user is looking at the screen, exit the standby state and enter the normal working state.
  • the memory 33 of the standby state control mobile terminal 30 may be a non-transitory computer readable storage medium for storing computer-executable instructions, when executed by one or more processors, for example, may cause the processor 34 to perform the above
  • the steps of the method embodiment are, for example, steps 101 to 105 as described in FIG. 1, or steps 201 to 216 as described in FIG.
  • the computer executable instructions may also be stored and/or transferred in any non-transitory computer readable storage medium for use by or in connection with an instruction execution system, apparatus, or device, where the instructions are executed.
  • a system, apparatus, or device such as a computer-based system, a system containing a processor, or other system that can obtain instructions from, and execute instructions from, an instruction execution system, apparatus, or device.
  • a "non-transitory computer readable storage medium" can be any medium that tangibly contains or stores computer-executable instructions, which can be used by an instruction execution system, device, or system Or use in conjunction with an instruction execution system, device, or device.
  • Non-volatile computer readable storage media may include, but are not limited to, magnetic, optical, and/or semiconductor storage devices. Examples of such storage devices include magnetic disks, CD-ROM based on CD, DVD or Blu-ray technology, and persistent solid-state memories (such as flash memory, solid state drives, etc.).
  • the modules 301 to 309 may be computer software program modules stored in the memory 33.
  • the processor 34 calls the modules 301 to 309 described in the above embodiments from the memory 33 and executes, To complete the functions of the modules 301 to 309 described in the above embodiments.
  • the processor 34 may be a central processing unit ("CPU").
  • the processor 34 can also be other general purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs), or Other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • FPGAs off-the-shelf programmable gate arrays
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the bus system 35 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 35 in the figure.
  • the standby state control mobile terminal is not limited to the components and configurations of FIG. 5, and may include other or additional components in various configurations.
  • each step of the above method or each unit of the device may be completed by an integrated logic circuit of hardware in the processor 34 or an instruction in the form of software.
  • the units of the steps or apparatus of the method disclosed in the embodiments of the present application may be directly embodied as hardware processor execution completion. Or complete with a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 33, and the processor 34 reads the information in the memory 33 and, in conjunction with its hardware, performs the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the standby state control mobile terminal determines whether the pre-booting action occurs in the standby state, and if the pre-booting action occurs, the front camera is turned on and the image is collected, and the image content is used to determine whether the user is looking at the screen of the mobile terminal. Therefore, it is determined that the user needs to use the mobile terminal at this time, and then the mobile terminal is automatically switched to the normal working state, so that the user can start using the mobile terminal without manually booting, which facilitates the operation of the user and improves the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

一种待机状态控制方法及移动终端,所述移动终端具有加速度传感器和前置摄像头,所述方法包括:在处于待机状态时,持续采集所述加速度传感器产生的加速度数据(101);根据所述加速度数据,判断是否发生预开机动作(102);若发生所述预开机动作,则开启所述前置摄像头(103);根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕(104);若用户正在注视屏幕,则退出待机状态并进入正常工作状态(105)。该待机状态控制方法及移动终端,在不借助于用户的手动操作的情况下,也能实现待机状态的控制。

Description

待机状态控制方法及移动终端
本申请要求于2016年02月24日提交中国专利局,申请号为2016100999221,发明名称为“一种待机状态控制方法及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
【技术领域】
本发明涉及终端控制技术领域,特别是指一种待机状态控制方法及移动终端。
【背景技术】
随着科技和经济的持续发展,电子技术领域的各种类型的移动终端,如智能手机、平板电脑等,已经得到空前普及,并且还在持续地创新与发展。
移动终端作为移动型设备,出于续航能力的考虑,在用户不使用移动终端时,通常需要控制移动终端进入待机状态(或称休眠状态),在需要使用时再重新将其唤醒,以节省移动终端的电能。
但是,现有技术中的待机模式管理方法主要采用的是:按下待机按键或虚拟待机按键实现待机,或者,预先设置超时时间,在预设的超时时间内没有任何操作则进入待机状态;需要唤醒移动终端时,则按下唤醒按键或虚拟唤醒按键,从而实现唤醒。这种待机模式管理方案的主要问题在于,其操作过程主要借助于用户的手动操作,智能化程度不够高。
【发明内容】
有鉴于此,本发明的目的在于提出一种待机状态控制方法及移动终端,在不借助于用户的手动操作的情况下,也能实现待机状态的控制。
基于上述目的本发明提供的待机状态控制方法,应用于移动终端,所述移 动终端具有加速度传感器和前置摄像头,所述方法包括:
在处于待机状态时,持续采集所述加速度传感器产生的加速度数据;
根据所述加速度数据,判断是否发生预开机动作;
若发生所述预开机动作,则开启所述前置摄像头;
根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕;
若用户正在注视屏幕,则退出待机状态并进入正常工作状态。
在一些实施方式中,所述持续采集所述加速度传感器产生的加速度数据的步骤之前还包括:
判断当前所处状态;
若处于正常工作状态,则开启所述前置摄像头;
根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕;
若用户未注视屏幕,则持续监测用户未注视屏幕的状态并开始计时;
判断计时时长是否达到预设待机时限;
若达到预设待机时限,则退出正常工作状态并进入待机状态。
在一些实施方式中,所述开启所述前置摄像头的步骤之后还包括:
发出提醒用户注视所述前置摄像头的提示信息。
在一些实施方式中,所述根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕的步骤包括:
判断所述前置摄像头采集的图像中是否有眼睛图像;
若有眼睛图像,则判定用户正在注视屏幕;
若没有眼睛图像,则判定用户未注视屏幕;
或者,
所述根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕的步骤之前还包括:
在预设采集时间内,利用所述前置摄像头采集图像;
所述根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕的步骤包括:
判断所述预设采集时间的预设最后时段内采集的图像中是否持续出现眼睛图像;
若持续出现眼睛图像,则判定用户正在注视屏幕;
若没有持续出现眼睛图像,则判定用户未注视屏幕。
在一些实施方式中,所述根据所述加速度数据,判断是否发生预开机动作的步骤包括:
根据所述加速度数据,判断是否发生加速度变化;
若发生加速度变化,则判断发生加速度变化的时刻所产生的加速度的垂直分量是否大于预设垂直分量阈值;
若大于所述预设垂直分量阈值,则判定发生所述预开机动作;
或者,
所述根据所述加速度数据,判断是否发生预开机动作的步骤包括:
根据所述加速度数据,判断是否发生加速度变化;
若发生加速度变化,判断发生加速度变化后的预设加速度计算时段内采集的加速度的垂直分量的平均值是否大于预设垂直分量阈值且最后时刻的垂直分量的方向向上;
若大于所述预设垂直分量阈值且最后时刻的垂直分量的方向是否向上,则判定发生所述预开机动作。
本发明还提供了一种待机状态控制移动终端,具有加速度传感器和前置摄像头,包括:
加速度数据采集模块,用于在处于待机状态时,持续采集所述加速度传感器产生的加速度数据;
预开机动作判断模块,用于根据所述加速度数据,判断是否发生预开机动 作;
摄像头启动模块,若发生所述预开机动作,用于开启所述前置摄像头;
用户状态判断模块,用于根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕;
状态切换模块,若用户正在注视屏幕,用于退出待机状态并进入正常工作状态。
在一些实施方式中,所述移动终端还包括:
状态判断模块,用于判断当前所处状态;
若处于正常工作状态,所述摄像头启动模块,也用于开启所述前置摄像头;
所述用户状态判断模块,用于根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕;
状态监测与计时模块,若用户未注视屏幕,用于持续监测用户未注视屏幕的状态并开始计时;
待机时限判断模块,用于判断计时时长是否达到预设待机时限;
若达到预设待机时限,所述状态切换模块,也用于退出正常工作状态并进入待机状态。
在一些实施方式中,所述移动终端还包括提示模块,用于发出提醒用户注视所述前置摄像头的提示信息。
在一些实施方式中,所述用户状态判断模块,具体用于:
判断所述前置摄像头采集的图像中是否有眼睛图像;
若有眼睛图像,则判定用户正在注视屏幕;
若没有眼睛图像,则判定用户未注视屏幕;
或者,
所述用户状态判断模块,具体用于:
在预设采集时间内,利用所述前置摄像头采集图像;
判断所述预设采集时间的预设最后时段内采集的图像中是否持续出现眼睛图像;
若持续出现眼睛图像,则判定用户正在注视屏幕;
若没有持续出现眼睛图像,则判定用户未注视屏幕。
在一些实施方式中,所述预开机动作判断模块,具体用于:
根据所述加速度数据,判断是否发生加速度变化;
若发生加速度变化,则判断发生加速度变化的时刻所产生的加速度的垂直分量是否大于预设垂直分量阈值;
若大于所述预设垂直分量阈值,则判定发生所述预开机动作;
或者,
所述预开机动作判断模块,具体用于:
根据所述加速度数据,判断是否发生加速度变化;
若发生加速度变化,判断发生加速度变化后的预设加速度计算时段内采集的加速度的垂直分量的平均值是否大于预设垂直分量阈值且最后时刻的垂直分量的方向是否向上;
若大于所述预设垂直分量阈值且最后时刻的垂直分量的方向向上,则判定发生所述预开机动作。
从上面所述可以看出,本发明提供的待机状态控制方法及移动终端,通过在待机状态判断是否发生预开机动作,若发生预开机动作则开启前置摄像头并采集图像,通过图像内容判定用户是否正在注视移动终端的屏幕,从而判定用户此时需要使用移动终端,接着使移动终端自动切换为正常工作状态,使得用户不通过手动开机即可开始使用移动终端,方便了用户的操作,提升了用户体验。
【附图说明】
图1为本发明提供的待机状态控制方法的一个实施例的流程示意图;
图2为本发明提供的待机状态控制方法的另一个实施例的流程示意图;
图3为本发明提供的待机状态控制装置实施例的模块结构示意图;
图4为本发明提供的待机状态控制方法及装置实施例中提示信息发出后的移动终端屏幕显示示意图;
图5是本发明实施例提供的待机状态控制移动终端的结构示意图。
【具体实施方式】
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明进一步详细说明。
需要说明的是,本发明实施例中所有使用“第一”和“第二”的表述均是为了区分两个相同名称非相同的实体或者非相同的参量,可见“第一”“第二”仅为了表述的方便,不应理解为对本发明实施例的限定,后续实施例对此不再一一说明。
本发明的第一个方面,提供了一种在不借助于用户的手动操作的情况下,也能实现待机状态的控制的待机状态控制方法。如图1所示,图1为本发明提供的待机状态控制方法的一个实施例的流程示意图。
所述待机状态控制方法,应用于移动终端,所述移动终端具有加速度传感器和前置摄像头;所述加速度传感器是,可以检测到移动终端发生移动并将该移动产生的物理数据(如速度、加速度、位移等)转换成加速度数据或传递到移动终端的处理器后可以通过计算得到加速度数据的传感器或与传感器类似的设备,例如陀螺仪、重力传感器、振动传感器、加速度计等等;
所述方法包括以下步骤:
步骤101:在处于待机状态时,持续采集所述加速度传感器产生的加速度数据;亦即,在移动终端处于待机状态时,开启对加速度传感器的监测;
步骤102:根据所述加速度数据,判断是否发生预开机动作;
其中,所述预开机动作是指所述移动终端在用户的操作下发生了预设的动 作,而这种动作通常情况下表明用户需要使用移动终端,例如被用户拿起;所述预开机动作的判断方法可以是,在移动终端中预先设置,当加速度数据出现某种变化或呈现某种变化趋势时,认定为发生预开机动作;
步骤103:若发生所述预开机动作,则开启所述前置摄像头,利用该前置摄像头采集图像;
步骤104:根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕;
其中,用户是否正在注视屏幕的判断方法可以是,通过人脸识别技术,识别图像中的人脸图像,若能够识别完整的人脸图像,则判定用户正在注视屏幕;或者通过识别人脸图像中是否具有用户的眼睛的图像或者双眼的图像,若有,则判定用户正在注视屏幕;当然也可根据实际需求来进行设计,而不采用前述两种方法;
步骤105:若判定用户正在注视屏幕,则退出待机状态并进入正常工作状态,此时,用户即可正常使用移动终端。
从上述实施例可以看出,本发明提供的待机状态控制方法,通过在待机状态判断是否发生预开机动作,若发生预开机动作则开启前置摄像头并采集图像,通过图像内容判定用户是否正在注视移动终端的屏幕,从而判定用户此时需要使用移动终端,接着使移动终端自动切换为正常工作状态,使得用户不通过手动开机即可开始使用移动终端,方便了用户的操作,提升了用户体验。
进一步的,在一些可选实施方式中,所述持续采集所述加速度传感器产生的加速度数据的步骤101之前还可包括以下步骤:
判断移动终端当前所处状态,例如,判断是正常工作状态,亦或是待机状态;
若处于正常工作状态,则开启所述前置摄像头;
根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕;
若用户未注视屏幕,则持续监测用户未注视屏幕的状态并开始计时;
判断计时时长是否达到预设待机时限;
若达到预设待机时限,则退出正常工作状态并进入待机状态;
若在未达到预设待机时限时,又监测到用户正在注视屏幕,则进行保持正常工作状态。
其中,所述预设待机时限可以是系统默认的时长,也可以是用户自定义设置的时长;用户是否正在注视屏幕的判断方法可以采用上述实施例中的方式,在此不再赘述。
这样,通过判断用户是否注视屏幕来得出用户是否正在使用移动终端,使得移动终端在不被用户使用,例如搁置于桌面,且在用户不使用移动终端的时长达到预设待机时限时,自动进入待机状态,而无需用户手动进行待机控制,一方面简化了用户操作,另一方面节约了移动终端的电量。
较佳的,在一些可选实施方式中,所述开启所述前置摄像头的步骤103之后还包括以下步骤:
发出提醒用户注视所述前置摄像头的提示信息;如图4所示,提示信息401发出后的移动终端屏幕400的显示示意图。
通过设置提示信息401,使得当需要进一步通过前置摄像头判定用户是否在注视屏幕时,提醒用户注视摄像头可开启手机,从而引导用户的操作,提升用户体验。
可选的,在一些实施方式中,所述根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕的步骤104具体可包括以下步骤:
判断所述前置摄像头采集的图像中是否有眼睛图像;这里,需先对前置摄像头采集的图像进行人脸识别,从中提取出人脸图像,再从人脸图像中提取眼睛图像;但是,若能够直接从前置摄像头采集的图像中提取出眼睛图像,则可跳过人脸识别的步骤;
若有眼睛图像,则判定用户正在注视屏幕;
若没有眼睛图像,则判定用户未注视屏幕;
通过判断前置摄像头采集的图像中是否有眼睛图像来判断用户是否在注视屏幕,从而能够更加准确的推断出用户当前的使用状态。
可选的,在另一些实施方式中,所述根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕的步骤104之前还包括:
在预设采集时间内,利用所述前置摄像头采集图像;
所述根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕的步骤104具体可包括:
判断所述预设采集时间的预设最后时段内采集的图像中是否持续出现眼睛图像;这里,同样的,需先对前置摄像头采集的图像进行人脸识别,从中提取出人脸图像,再从人脸图像中提取眼睛图像;但是,若能够直接从前置摄像头采集的图像中提取出眼睛图像,则可跳过人脸识别的步骤;
若持续出现眼睛图像,则判定用户正在注视屏幕;
若没有持续出现眼睛图像,则判定用户未注视屏幕。
其中,预设采集时间为默认的或自定义的预设采集时间,预设最后时段是预设采集时间的最后时段,二者的数据可根据实际需要任意设置,例如,预设采集时间是0.5秒或1秒,预设最后时段是0.3秒或0.5秒等,这种设置方式主要是考虑到用户在拿起移动终端时前置摄像头即自动开启,这时在起初的时刻用户还没开始注视屏幕,因此,在预设最后时段采集的图像更能说明用户是否在注视屏幕。
通过判断在预设采集时间的预设最后时段前置内摄像头采集的图像中是否有眼睛图像来判断用户是否在注视屏幕,从而能够更加准确的推断出用户当前的使用状态。
此外,在上述实施例中,除了直接判断摄像头采集的图像中是否有眼睛图 像外,还可通过眼睛图像来判断眼睛与屏幕距离、视线焦点等,从而更加准确地判断出用户的使用状态。
进一步的,在一些可选实施方式中,所述根据所述加速度数据,判断是否发生预开机动作的步骤102还可具体包括以下步骤:
根据所述加速度数据,判断是否发生加速度变化;
若发生加速度变化,则判断发生加速度变化的时刻所产生的加速度的垂直分量是否大于预设垂直分量阈值;所述预设垂直分量阈值可以是默认的或自定义的加速度值,可根据实际需要进行设置;
若大于所述预设垂直分量阈值,则判定发生所述预开机动作;
通过判断加速度变化的垂直分量,推断出用户是正在拿起移动终端,从而预测用户需要开启移动终端,接着开启摄像头进一步准确判断。
在一些时候,用户可能正携带着移动终端运动(走路、跑步等等),这时用户并不需要使用移动终端,因此需要剔除这部分数据。
因此,在另一些可选实施方式中,所述根据所述加速度数据,判断是否发生预开机动作的步骤102还可具体包括以下步骤:
根据所述加速度数据,判断是否发生加速度变化;
若发生加速度变化,判断发生加速度变化后的预设加速度计算时段内采集的加速度的垂直分量的平均值是否大于预设垂直分量阈值且最后时刻的垂直分量的方向是否向上;所述预设加速度计算时段可以是默认的或自定义的一段时长,例如5秒;所述预设垂直分量阈值可以是默认的或自定义的加速度值,可根据实际需要进行设置;
若大于所述预设垂直分量阈值且最后时刻的垂直分量的方向向上,则判定发生所述预开机动作。
通过判断发生加速度变化后的预设加速度计算时段内采集的加速度的垂直分量的平均值是否大于预设垂直分量阈值且最后时刻的垂直分量的方向是否向 上,能够更加准确地推断出用户是正在拿起移动终端而不是正在走路,从而预测用户需要移动终端,接着开启摄像头进一步准确判断。
下面介绍所述待机状态控制方法的另一个实施例,如图2所示,为本发明提供的待机状态控制方法的另一个实施例的流程示意图。
所述待机状态控制方法,包括以下步骤:
步骤201:判断移动终端当前所处状态,例如,判断是正常工作状态,亦或是待机状态;
步骤202:若处于正常工作状态,则开启所述前置摄像头;
步骤203:根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕;
步骤204:若用户正在注视屏幕,则继续保持正常工作状态;
步骤205:若用户未注视屏幕,则持续监测用户未注视屏幕的状态并开始计时;
步骤206:判断计时时长是否达到预设待机时限;
步骤207:若达到预设待机时限,则退出正常工作状态并进入待机状态;
步骤208:若在未达到预设待机时限时,又监测到用户正在注视屏幕,则继续保持正常工作状态;
步骤209:若处于待机状态,则持续采集所述加速度传感器产生的加速度数据;
步骤210:根据所述加速度数据,判断是否发生预开机动作;
步骤211:若未发生所述预开机动作,则继续采集所述加速度传感器产生的加速度数据;
步骤212:若发生所述预开机动作,则开启所述前置摄像头;
步骤213:发出提醒用户注视所述前置摄像头的提示信息;
步骤214:根据所述前置摄像头采集的图像,判断用户是否正在注视屏 幕;
步骤215:若用户正在注视屏幕,则退出待机状态并进入正常工作状态。
步骤216:若用户未注视屏幕,则关闭前置摄像头并继续采集所述加速度传感器产生的加速度数据。
从上述实施例可以看出,本发明提供的待机状态控制方法,通过在正常工作状态判定用户是否离开屏幕跟前,从而在确定用户未使用时,自动进入待机状态,方便了用户的操作,节省了移动终端的电量,提升了用户体验;同时,通过在待机状态判断是否发生预开机动作,若发生预开机动作则开启前置摄像头并采集图像,通过图像内容判定用户是否正在注视移动终端的屏幕,从而判定用户此时需要使用移动终端,接着使移动终端自动切换为正常工作状态,使得用户不通过手动开机即可开始使用移动终端,方便了用户的操作,提升了用户体验。
本发明的第二个方面,提供了一种在不借助于用户的手动操作的情况下,也能实现待机状态的控制的待机状态控制移动终端,如图3所示,图3为本发明提供的待机状态控制装置实施例的模块结构示意图。
所述待机状态控制移动终端30包括:
加速度数据采集模块301,用于在处于待机状态时,持续采集所述加速度传感器产生的加速度数据;亦即,在移动终端处于待机状态时,开启对加速度传感器的监测;
预开机动作判断模块302,用于根据所述加速度数据,判断是否发生预开机动作;
其中,所述预开机动作是指所述移动终端在用户的操作下发生了预设的动作,而这种动作通常情况下表明用户需要使用移动终端,例如被用户拿起;所述预开机动作的判断方法可以是,在移动终端中预先设置,当加速度数据出现某种变化或呈现某种变化趋势时,认定为发生预开机动作;
摄像头启动模块303,若发生所述预开机动作,用于开启所述前置摄像头,利用该前置摄像头采集图像;
用户状态判断模块304,用于根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕;
其中,用户是否正在注视屏幕的判断方法可以是,通过人脸识别技术,识别图像中的人脸图像,若能够识别完整的人脸图像,则判定用户正在注视屏幕;或者通过识别人脸图像中是否具有用户的眼睛的图像或者双眼的图像,若有,则判定用户正在注视屏幕;当然也可根据实际需求来进行设计,而不采用前述两种方法;
状态切换模块305,若用户正在注视屏幕,用于退出待机状态并进入正常工作状态,此时,用户即可正常使用移动终端。
从上述实施例可以看出,本发明提供的待机状态控制移动终端,通过在待机状态判断是否发生预开机动作,若发生预开机动作则开启前置摄像头并采集图像,通过图像内容判定用户是否正在注视移动终端的屏幕,从而判定用户此时需要使用移动终端,接着使移动终端自动切换为正常工作状态,使得用户不通过手动开机即可开始使用移动终端,方便了用户的操作,提升了用户体验。
进一步的,在一些可选实施方式中,所述移动终端还包括:
状态判断模块306,用于判断当前所处状态,例如,判断是正常工作状态,亦或是待机状态;
若处于正常工作状态,所述摄像头启动模块303,也用于开启所述前置摄像头;
所述用户状态判断模块304,用于根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕;
状态监测与计时模块307,若用户未注视屏幕,用于持续监测用户未注视屏幕的状态并开始计时;
待机时限判断模块308,用于判断计时时长是否达到预设待机时限;
若达到预设待机时限,所述状态切换模块305,也用于退出正常工作状态并进入待机状态。
其中,所述预设待机时限可以是系统默认的时长,也可以是用户自定义设置的时长;用户是否正在注视屏幕的判断方法可以采用上述实施例中的方式,在此不再赘述。
这样,通过判断用户是否注视屏幕来得出用户是否正在使用移动终端,使得移动终端在不被用户使用,例如搁置于桌面,且在用户不使用移动终端的时长达到预设待机时限时,自动进入待机状态,而无需用户手动进行待机控制,一方面简化了用户操作,另一方面节约了移动终端的电量。
较佳的,在一些可选实施方式中,所述移动终端还包括提示模块309,用于发出提醒用户注视所述前置摄像头的提示信息。如图4所示,图4为提示信息401发出后的移动终端屏幕400的显示示意图。
通过设置提示信息401,使得当需要进一步通过前置摄像头判定用户是否在注视屏幕时,提醒用户注视摄像头可开启手机,从而引导用户的操作,提升用户体验。
可选的,在一些实施方式中,所述用户状态判断模块304,具体用于:
判断所述前置摄像头采集的图像中是否有眼睛图像;这里,需先对前置摄像头采集的图像进行人脸识别,从中提取出人脸图像,再从人脸图像中提取眼睛图像;但是,若能够直接从前置摄像头采集的图像中提取出眼睛图像,则可跳过人脸识别的步骤;
若有眼睛图像,则判定用户正在注视屏幕;
若没有眼睛图像,则判定用户未注视屏幕;
通过判断前置摄像头采集的图像中是否有眼睛图像来判断用户是否在注视屏幕,从而能够更加准确的推断出用户当前的使用状态。
可选的,在另一些实施方式中,所述用户状态判断模块304,具体用于:
在预设采集时间内,利用所述前置摄像头采集图像;
判断所述预设采集时间的预设最后时段内采集的图像中是否持续出现眼睛图像;这里,同样的,需先对前置摄像头采集的图像进行人脸识别,从中提取出人脸图像,再从人脸图像中提取眼睛图像;但是,若能够直接从前置摄像头采集的图像中提取出眼睛图像,则可跳过人脸识别的步骤;
若持续出现眼睛图像,则判定用户正在注视屏幕;
若没有持续出现眼睛图像,则判定用户未注视屏幕。
其中,预设采集时间为默认的或自定义的预设采集时间,预设最后时段是预设采集时间的最后时段,二者的数据可根据实际需要任意设置,例如,预设采集时间是0.5秒或1秒,预设最后时段是0.3秒或0.5秒等,这种设置方式主要是考虑到用户在拿起移动终端时前置摄像头即自动开启,这时在起初的时刻用户还没开始注视屏幕,因此,在预设最后时段采集的图像更能说明用户是否在注视屏幕。
通过判断在预设采集时间的预设最后时段前置内摄像头采集的图像中是否有眼睛图像来判断用户是否在注视屏幕,从而能够更加准确的推断出用户当前的使用状态。
此外,在上述实施例中,除了直接判断摄像头采集的图像中是否有眼睛图像外,还可通过眼睛图像来判断眼睛与屏幕距离、视线焦点等,从而更加准确地判断出用户的使用状态。
进一步的,在一些可选实施方式中,所述预开机动作判断模块302,具体用于:
根据所述加速度数据,判断是否发生加速度变化;
若发生加速度变化,则判断发生加速度变化的时刻所产生的加速度的垂直分量是否大于预设垂直分量阈值;所述预设垂直分量阈值可以是默认的或自定 义的加速度值,可根据实际需要进行设置;
若大于所述预设垂直分量阈值,则判定发生所述预开机动作;
通过判断加速度变化的垂直分量,推断出用户是正在拿起移动终端,从而预测用户需要开启移动终端,接着开启摄像头进一步准确判断。
在一些时候,用户可能正携带着移动终端运动(走路、跑步等等),这时用户并不需要使用移动终端,因此需要剔除这部分数据。
因此,在另一些可选实施方式中,所述预开机动作判断模块302,具体用于:
根据所述加速度数据,判断是否发生加速度变化;
若发生加速度变化,判断发生加速度变化后的预设加速度计算时段内采集的加速度的垂直分量的平均值是否大于预设垂直分量阈值且最后时刻的垂直分量的方向向上;所述预设加速度计算时段可以是默认的或自定义的一段时长,例如5秒;所述预设垂直分量阈值可以是默认的或自定义的加速度值,可根据实际需要进行设置;
若大于所述预设垂直分量阈值且最后时刻的垂直分量的方向向上,则判定发生所述预开机动作。
通过判断发生加速度变化后的预设加速度计算时段内采集的加速度的垂直分量的平均值是否大于预设垂直分量阈值且最后时刻的垂直分量的方向是否向上,能够更加准确地推断出用户是正在拿起移动终端而不是正在走路,从而预测用户需要移动终端,接着开启摄像头进一步准确判断。
请参考图5,图5是本发明实施例提供的待机状态控制移动终端的结构示意图。如图5所示,该待机状态控制移动终端30还包括加速度传感器31、前置摄像头32、存储器33、处理器34以及总线系统35。其中,处理器34和存储器33通过总线系统35连接,该存储器33用于存储指令,该处理器34用于执行该存储器33存储的指令,并且用于:在处于待机状态时,持续采集所述加速度传 感器产生的加速度数据,根据所述加速度数据,判断是否发生预开机动作,若发生所述预开机动作,则开启所述前置摄像头,根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕,若用户正在注视屏幕,则退出待机状态并进入正常工作状态。
待机状态控制移动终端30的存储器33可以是非易失性计算机可读存储介质,以用于存储计算机可执行指令,该指令当由一个或多个处理器执行时,例如可以使得处理器34执行以上方法实施例的步骤,比如,如图1描述的步骤101至步骤105,或者如图2描述的步骤201至步骤216。
计算机可执行指令也可以在任何非易失性计算机可读存储介质内存储和/或传输,以便由指令执行系统、装置或设备使用,或者结合指令执行系统、装置或设备使用,其中该指令执行系统、装置或设备诸如基于计算机的系统、包含处理器的系统或可以从指令执行系统、装置或设备获取指令并执行该指令的其他系统。出于本文档的目的,“非易失性计算机可读存储介质”可以是有形地包含或存储计算机可执行指令的任何介质,该计算机可执行指令可以用于由指令执行系统、设备或系统使用或者结合指令执行系统、装置或设备使用。非易失性计算机可读存着介质可以包括但不限于磁的、光的和/或半导体存储装置。这些存储装置的示例包括磁盘、基于CD、DVD或蓝光技术的光盘以及持久性固态存储器(诸如,闪存、固态驱动器等)。
在一些实施例中,所述模块301至模块309可以是计算机软件程序模块,存储于存储器33,工作时,处理器34从存储器33调用各个上述实施例所描述的模块301至模块309并且执行,以完成上述实施例所描述的模块301至模块309的功能。
应当理解,在本申请实施例中,该处理器34可以是中央处理单元(Central Processing Unit,简称为“CPU”)。该处理器34还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者 其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该总线系统35除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线系统35。
在本发明实施例中,待机状态控制移动终端不限于图5的部件和配置,还可以包括以多种配置形式的其他或附加部件。
在实现过程中,上述方法的各步骤或装置的各单元可以通过处理器34中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤或装置的各单元可以直接体现为硬件处理器执行完成。或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器33,处理器34读取存储器33中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
本发明实施例提供的待机状态控制移动终端,通过在待机状态判断是否发生预开机动作,若发生预开机动作则开启前置摄像头并采集图像,通过图像内容判定用户是否正在注视移动终端的屏幕,从而判定用户此时需要使用移动终端,接着使移动终端自动切换为正常工作状态,使得用户不通过手动开机即可开始使用移动终端,方便了用户的操作,提升了用户体验。
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本公开的范围(包括权利要求)被限于这些例子;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,并存在如上所述的本发明的不同方面的许多其它变化,为了简明它们没有在细节中提供。因此,凡在本发明的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (10)

  1. 一种待机状态控制方法,其特征在于,应用于移动终端,所述移动终端具有加速度传感器和前置摄像头,所述方法包括:
    在处于待机状态时,持续采集所述加速度传感器产生的加速度数据;
    根据所述加速度数据,判断是否发生预开机动作;
    若发生所述预开机动作,则开启所述前置摄像头;
    根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕;
    若用户正在注视屏幕,则退出待机状态并进入正常工作状态。
  2. 根据权利要求1所述的方法,其特征在于,所述持续采集所述加速度传感器产生的加速度数据的步骤之前还包括:
    判断当前所处状态;
    若处于正常工作状态,则开启所述前置摄像头;
    根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕;
    若用户未注视屏幕,则持续监测用户未注视屏幕的状态并开始计时;
    判断计时时长是否达到预设待机时限;
    若达到预设待机时限,则退出正常工作状态并进入待机状态。
  3. 根据权利要求1所述的方法,其特征在于,所述开启所述前置摄像头的步骤之后还包括:
    发出提醒用户注视所述前置摄像头的提示信息。
  4. 根据权利要求1-3任意一项所述的方法,其特征在于,所述根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕的步骤包括:
    判断所述前置摄像头采集的图像中是否有眼睛图像;
    若有眼睛图像,则判定用户正在注视屏幕;
    若没有眼睛图像,则判定用户未注视屏幕;
    或者,
    所述根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕的步骤之前还包括:
    在预设采集时间内,利用所述前置摄像头采集图像;
    所述根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕的步骤包括:
    判断所述预设采集时间的预设最后时段内采集的图像中是否持续出现眼睛图像;
    若持续出现眼睛图像,则判定用户正在注视屏幕;
    若没有持续出现眼睛图像,则判定用户未注视屏幕。
  5. 根据权利要求1-3任意一项所述的方法,其特征在于,所述根据所述加速度数据,判断是否发生预开机动作的步骤包括:
    根据所述加速度数据,判断是否发生加速度变化;
    若发生加速度变化,则判断发生加速度变化的时刻所产生的加速度的垂直分量是否大于预设垂直分量阈值;
    若大于所述预设垂直分量阈值,则判定发生所述预开机动作;
    或者,
    所述根据所述加速度数据,判断是否发生预开机动作的步骤包括:
    根据所述加速度数据,判断是否发生加速度变化;
    若发生加速度变化,判断发生加速度变化后的预设加速度计算时段内采集的加速度的垂直分量的平均值是否大于预设垂直分量阈值且最后时刻的垂直分量的方向向上;
    若大于所述预设垂直分量阈值且最后时刻的垂直分量的方向是否向上,则判定发生所述预开机动作。
  6. 一种待机状态控制移动终端,其特征在于,具有加速度传感器和前置摄 像头,包括:
    加速度数据采集模块,用于在处于待机状态时,持续采集所述加速度传感器产生的加速度数据;
    预开机动作判断模块,用于根据所述加速度数据,判断是否发生预开机动作;
    摄像头启动模块,若发生所述预开机动作,用于开启所述前置摄像头;
    用户状态判断模块,用于根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕;
    状态切换模块,若用户正在注视屏幕,用于退出待机状态并进入正常工作状态。
  7. 根据权利要求6所述的移动终端,其特征在于,所述移动终端还包括:
    状态判断模块,用于判断当前所处状态;
    若处于正常工作状态,所述摄像头启动模块还用于开启所述前置摄像头;
    所述用户状态判断模块,用于根据所述前置摄像头采集的图像,判断用户是否正在注视屏幕;
    状态监测与计时模块,若用户未注视屏幕,用于持续监测用户未注视屏幕的状态并开始计时;
    待机时限判断模块,用于判断计时时长是否达到预设待机时限;
    若达到预设待机时限,所述状态切换模块还用于退出正常工作状态并进入待机状态。
  8. 根据权利要求6所述的移动终端,其特征在于,还包括提示模块,用于发出提醒用户注视所述前置摄像头的提示信息。
  9. 根据权利要求6-8任意一项所述的移动终端,其特征在于,所述用户状态判断模块,具体用于:
    判断所述前置摄像头采集的图像中是否有眼睛图像;
    若有眼睛图像,则判定用户正在注视屏幕;
    若没有眼睛图像,则判定用户未注视屏幕;
    或者,
    所述用户状态判断模块,具体用于:
    在预设采集时间内,利用所述前置摄像头采集图像;
    判断所述预设采集时间的预设最后时段内采集的图像中是否持续出现眼睛图像;
    若持续出现眼睛图像,则判定用户正在注视屏幕;
    若没有持续出现眼睛图像,则判定用户未注视屏幕。
  10. 根据权利要求6-8任意一项所述的移动终端,其特征在于,所述预开机动作判断模块,具体用于:
    根据所述加速度数据,判断是否发生加速度变化;
    若发生加速度变化,则判断发生加速度变化的时刻所产生的加速度的垂直分量是否大于预设垂直分量阈值;
    若大于所述预设垂直分量阈值,则判定发生所述预开机动作;
    或者,
    所述预开机动作判断模块,具体用于:
    根据所述加速度数据,判断是否发生加速度变化;
    若发生加速度变化,判断发生加速度变化后的预设加速度计算时段内采集的加速度的垂直分量的平均值是否大于预设垂直分量阈值且最后时刻的垂直分量的方向是否向上;
    若大于所述预设垂直分量阈值且最后时刻的垂直分量的方向向上,则判定发生所述预开机动作。
PCT/CN2016/088590 2016-02-24 2016-07-05 待机状态控制方法及移动终端 Ceased WO2017143716A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/243,939 US20170242471A1 (en) 2016-02-24 2016-08-22 Method for controlling standby state and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610099922.1 2016-02-24
CN201610099922.1A CN105824439A (zh) 2016-02-24 2016-02-24 待机状态控制方法及移动终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/243,939 Continuation US20170242471A1 (en) 2016-02-24 2016-08-22 Method for controlling standby state and electronic device

Publications (1)

Publication Number Publication Date
WO2017143716A1 true WO2017143716A1 (zh) 2017-08-31

Family

ID=56988081

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088590 Ceased WO2017143716A1 (zh) 2016-02-24 2016-07-05 待机状态控制方法及移动终端

Country Status (2)

Country Link
CN (1) CN105824439A (zh)
WO (1) WO2017143716A1 (zh)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419129A (zh) * 2018-03-29 2018-08-17 深圳市赛亿科技开发有限公司 电视机及其开机控制方法、计算机可读存储介质
CN111694434A (zh) * 2020-06-15 2020-09-22 掌阅科技股份有限公司 电子书评论信息的交互展示方法、电子设备及存储介质
CN112351230A (zh) * 2020-10-22 2021-02-09 深圳Tcl新技术有限公司 智能屏幕、智能屏幕自动切换显示帧率方法及存储介质
CN112685144A (zh) * 2019-10-18 2021-04-20 杭州海康威视数字技术股份有限公司 人员到场认证装置及用于人员到场认证的系统和控制方法
CN113596250A (zh) * 2021-06-30 2021-11-02 荣耀终端有限公司 一种终端设备的免打扰模式控制方法及装置
WO2022241123A1 (en) * 2021-05-14 2022-11-17 Snap Inc. Reducing startup time of augmented reality experience
CN119861986A (zh) * 2023-10-13 2025-04-22 荣耀终端股份有限公司 一种图像显示方法、装置、设备、介质及产品

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371515A (zh) * 2016-09-05 2017-02-01 乐视控股(北京)有限公司 屏幕状态控制方法及装置
CN108008804A (zh) * 2016-10-28 2018-05-08 腾讯科技(深圳)有限公司 智能设备的屏幕控制方法及装置
CN106940597A (zh) * 2017-03-14 2017-07-11 维沃移动通信有限公司 一种相机启动控制方法及移动终端
CN107115100A (zh) * 2017-04-28 2017-09-01 苏州商信宝信息科技有限公司 一种用于医疗健康检测的智能镜面装置及其检测方法
CN107341006B (zh) * 2017-06-21 2020-04-21 Oppo广东移动通信有限公司 锁屏壁纸推荐方法及相关产品
CN107340868B (zh) * 2017-07-05 2020-12-18 北京奇艺世纪科技有限公司 一种数据处理方法、装置及vr设备
CN109862181B (zh) * 2019-01-22 2021-06-18 平安科技(深圳)有限公司 呼叫接听控制方法、装置及计算机可读存储介质
CN112312182B (zh) * 2020-10-23 2022-06-17 珠海格力电器股份有限公司 影音设备的控制方法及控制装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186793A (zh) * 2013-03-26 2013-07-03 北京小米科技有限责任公司 一种移动终端屏幕锁定解除方法及装置
CN103677267A (zh) * 2013-12-09 2014-03-26 惠州Tcl移动通信有限公司 移动终端及其唤醒方法、装置
CN104158980A (zh) * 2014-08-28 2014-11-19 西安交通大学 一种基于人眼运动特征的智能设备解锁方法
CN104284004A (zh) * 2013-07-02 2015-01-14 华为终端有限公司 一种屏幕解锁方法及移动终端
CN104598024A (zh) * 2014-12-26 2015-05-06 美新半导体(无锡)有限公司 一种手势识别算法在智能设备中的应用
EP2882174A2 (en) * 2013-12-05 2015-06-10 Samsung Electronics Co., Ltd Device unlocking by motion detection with paired device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186793A (zh) * 2013-03-26 2013-07-03 北京小米科技有限责任公司 一种移动终端屏幕锁定解除方法及装置
CN104284004A (zh) * 2013-07-02 2015-01-14 华为终端有限公司 一种屏幕解锁方法及移动终端
EP2882174A2 (en) * 2013-12-05 2015-06-10 Samsung Electronics Co., Ltd Device unlocking by motion detection with paired device
CN103677267A (zh) * 2013-12-09 2014-03-26 惠州Tcl移动通信有限公司 移动终端及其唤醒方法、装置
CN104158980A (zh) * 2014-08-28 2014-11-19 西安交通大学 一种基于人眼运动特征的智能设备解锁方法
CN104598024A (zh) * 2014-12-26 2015-05-06 美新半导体(无锡)有限公司 一种手势识别算法在智能设备中的应用

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419129A (zh) * 2018-03-29 2018-08-17 深圳市赛亿科技开发有限公司 电视机及其开机控制方法、计算机可读存储介质
CN112685144A (zh) * 2019-10-18 2021-04-20 杭州海康威视数字技术股份有限公司 人员到场认证装置及用于人员到场认证的系统和控制方法
CN112685144B (zh) * 2019-10-18 2023-09-15 杭州海康威视数字技术股份有限公司 人员到场认证装置及用于人员到场认证的系统和控制方法
CN111694434A (zh) * 2020-06-15 2020-09-22 掌阅科技股份有限公司 电子书评论信息的交互展示方法、电子设备及存储介质
CN112351230A (zh) * 2020-10-22 2021-02-09 深圳Tcl新技术有限公司 智能屏幕、智能屏幕自动切换显示帧率方法及存储介质
WO2022241123A1 (en) * 2021-05-14 2022-11-17 Snap Inc. Reducing startup time of augmented reality experience
US11681361B2 (en) 2021-05-14 2023-06-20 Snap Inc. Reducing startup time of augmented reality experience
US12008155B2 (en) 2021-05-14 2024-06-11 Snap Inc. Reducing startup time of augmented reality experience
US12260016B2 (en) 2021-05-14 2025-03-25 Snap Inc. Reducing startup time of augmented reality experience
CN113596250A (zh) * 2021-06-30 2021-11-02 荣耀终端有限公司 一种终端设备的免打扰模式控制方法及装置
CN119861986A (zh) * 2023-10-13 2025-04-22 荣耀终端股份有限公司 一种图像显示方法、装置、设备、介质及产品

Also Published As

Publication number Publication date
CN105824439A (zh) 2016-08-03

Similar Documents

Publication Publication Date Title
WO2017143716A1 (zh) 待机状态控制方法及移动终端
CN103019917B (zh) 移动终端监测用眼过度的方法、系统和移动终端
CN103576834B (zh) 省电控制方法及支持省电控制方法的电子设备
CN106843786B (zh) 显示屏的开启方法、显示屏的开启装置和终端
CN104246650B (zh) 节能的方法和设备
EP2579126A1 (en) Method for controlling state of mobile terminal and mobile terminal
US10080194B2 (en) Method, device, and computer-readable storage medium for awaking electronic equipment
JP6355735B2 (ja) 省エネルギーモードを開始するための方法及び装置
CN101639800A (zh) 一种显示屏显示方法及终端
WO2017129082A1 (zh) 一种终端控制方法及终端
WO2016150163A1 (zh) 模组唤醒方法及装置
CN103135762A (zh) 用于基于眼睛跟踪操作用户功能的方法及其移动装置
CN104281799A (zh) 选择性地致能脸部解锁功能的电子装置及方法
CN103037103A (zh) 一种移动设备启动相机的方法
CN104965703A (zh) 一种控制移动终端亮屏的方法及移动终端
CN107374765A (zh) 电动牙刷控制方法、装置、电动牙刷及存储介质
CN105159726A (zh) 一种快速启动拍照的方法及装置
CN105809139A (zh) 眼球信息的采集方法及装置
US20170242471A1 (en) Method for controlling standby state and electronic device
US12293014B2 (en) Information processing apparatus and control method
CN104346482B (zh) 一种采集方法及电子设备
CN107808081B (zh) 一种提醒方法及相关设备
WO2016145580A1 (zh) 一种电子设备、拍照方法及拍照装置
US10904378B2 (en) Immediate-mode camera for portable personal electronic devices
JP2013182217A (ja) 電子機器、電子機器の制御方法、制御プログラム及び記録媒体

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16891168

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16891168

Country of ref document: EP

Kind code of ref document: A1