WO2017028198A1 - Terminal sleep and wake-up system - Google Patents

Terminal sleep and wake-up system Download PDF

Info

Publication number
WO2017028198A1
WO2017028198A1 PCT/CN2015/087332 CN2015087332W WO2017028198A1 WO 2017028198 A1 WO2017028198 A1 WO 2017028198A1 CN 2015087332 W CN2015087332 W CN 2015087332W WO 2017028198 A1 WO2017028198 A1 WO 2017028198A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
detection data
placement mode
placement
sleep
Prior art date
Application number
PCT/CN2015/087332
Other languages
French (fr)
Chinese (zh)
Inventor
陈苑锋
钟光华
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580030227.3A priority Critical patent/CN106462335A/en
Priority to PCT/CN2015/087332 priority patent/WO2017028198A1/en
Publication of WO2017028198A1 publication Critical patent/WO2017028198A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/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/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a sleep wake-up system, method and device for a terminal.
  • the sleep wake-up of such a terminal uses a physical button wake-up scheme. As shown in FIG. 1 , when the terminal is in a sleep state, if the physical button B of the terminal is pressed, the core part of the terminal is SOC (System on The CPU (Central Processing Unit) in the Chip (system on chip) receives an interrupt signal, triggering the terminal to end the sleep state.
  • SOC System on The CPU (Central Processing Unit) in the Chip (system on chip)
  • the physical button wake-up scheme is prone to false wake-up, and the frequent use of physical buttons for a long time may cause wear and tear problems, that is, the reliability of the existing scheme is low.
  • the embodiment of the invention provides a sleep wake-up system, method and device for a terminal, which have high reliability.
  • a sleep wake-up system for a terminal which is characterized by comprising a sensor module, a touch module and a processing module, wherein:
  • the sensor module is configured to detect a preset parameter capable of characterizing a terminal placement mode, and output corresponding first detection data;
  • the touch module is configured to detect a screen capture action on the touch screen of the terminal, and output corresponding second detection data;
  • the processing module is configured to control whether the terminal continues according to the first detection data output by the sensor module and the second detection data output by the touch module when the terminal is in a sleep state. Continue to sleep.
  • the processing module is specifically configured to: when the first detection data output by the sensor module is characterized by a terminal placement mode that is not a non-use state placement mode, When the screen capture action indicated by the second detection data output by the touch module matches the preset action, the terminal is controlled not to continue to be in a sleep state; otherwise, the terminal is controlled to continue to be in a sleep state.
  • the processing module is further configured to: when the first detection data is output by the sensor module When the placement mode is not the non-use state placement mode, the touch module is controlled not to be in a low power consumption state, and the second detection data can be output; when the first detection data output by the sensor module is characterized by the terminal placement mode being in a non-use state When the mode is placed, the touch module is controlled to be in a low power consumption state, and the second detection data is not output.
  • the non-use state placement mode includes a pocket placement mode, a desktop placement Mode, travel placement mode.
  • the sensor module includes an acceleration sensor, and the preset parameters include an acceleration of the terminal; and/or
  • the sensor module includes a magnetic field sensor, and the preset parameters include a magnetic field in which the terminal is placed; and/or
  • the sensor module includes a tilt sensor, the preset parameter includes an inclination angle of the terminal; and/or
  • the sensor module includes an ambient light sensor, and the preset parameters include brightness of a terminal placement environment;
  • the sensor module includes a distance sensor, and the preset parameter includes a distance between the terminal touch screen and the front item.
  • the processing module is integrated in a system on a chip of the terminal.
  • a second aspect provides a sleep wake-up method for a terminal, which is characterized by:
  • first detection data is detection data capable of characterizing a preset parameter of a terminal placement mode
  • the second detection data is detection data corresponding to a screen capture action on the touch screen of the terminal
  • controlling whether the terminal continues to be in a dormant state according to the first detection data and the second detection data includes:
  • the terminal placement mode characterized by the first detection data is not the non-use state placement mode, and the screen capture action represented by the second detection data matches the preset action, the terminal is controlled to not continue to be in a sleep state; otherwise And controlling the terminal to continue to sleep.
  • the method before acquiring the second detection data, the method further includes:
  • the non-use state placement mode includes a pocket placement mode, a desktop placement Mode, travel placement mode.
  • the preset parameters include at least one of an acceleration of the terminal, a magnetic field of the terminal placement environment, a tilt angle of the terminal, a brightness of the terminal placement environment, and a distance between the terminal touch screen and the front item.
  • a third aspect provides a sleep wake-up device for a terminal, which is characterized by comprising:
  • a first acquiring unit configured to acquire first detection data, where the first detection data is detection data that can represent a preset parameter of a terminal placement mode;
  • a second acquiring unit configured to acquire second detection data, where the second detection data is detection data corresponding to a screenping action on the touch screen of the terminal;
  • a control unit configured to control, according to the first detection data and the second detection data, whether the terminal continues to be in a sleep state when the terminal is in a sleep state.
  • control unit is configured to: when the terminal placement mode characterized by the first detection data is not a non-use state placement mode, and the second detection data When the characterized screening action and the preset action match, the terminal is controlled not to continue to be in a sleep state; otherwise, the terminal is controlled to continue to be in a sleep state.
  • control unit is further configured to: before the second acquiring unit acquires the second detection data, Determining that the terminal placement mode characterized by the first detection data is not a non-use state placement mode.
  • the non-use state placement mode includes a pocket placement mode, a desktop placement Mode, travel placement mode.
  • the preset parameters include at least one of an acceleration of the terminal, a magnetic field of the terminal placement environment, a tilt angle of the terminal, a brightness of the terminal placement environment, and a distance between the terminal touch screen and the front item.
  • the sleep wake-up system of the terminal provided by the first aspect or the sleep wake-up method of the terminal provided by the second aspect, or the sleep wake-up device of the terminal provided by the third aspect, comprehensively determining whether to wake up the terminal according to the terminal placement mode and the screen swipe action
  • the number of occurrences of false wake-ups can be reduced, and physical buttons are not required, and reliability is high.
  • FIG. 1 is a schematic diagram of a sleep wakeup scheme of a terminal in the prior art
  • FIG. 2 is a schematic structural diagram of a sleep wake-up system of a terminal according to an embodiment of the present disclosure
  • FIG. 3 is a second schematic structural diagram of a sleep wake-up system of a terminal according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of an SOC of a terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of processing of a processing module in a sleep wake-up system of a terminal according to an embodiment of the present disclosure
  • FIG. 6 is a schematic flowchart of a sleep wakeup method of a terminal according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of a sleep wake-up device of a terminal according to an embodiment of the present invention.
  • the present invention provides a dormant wake-up system, method, and apparatus for a terminal, and a preferred embodiment of the present invention will be described below with reference to the accompanying drawings.
  • the preferred embodiments described herein are for illustrative purposes only and are not intended to limit the invention. And in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
  • the embodiment of the present invention provides a sleep wake-up system for a terminal, which can be applied to various terminals such as a mobile phone and a tablet computer.
  • the system as shown in FIG. 2, can include a sensor module 201, a touch module 202, and a processing module 200, where:
  • the sensor module 201 is configured to detect a preset parameter that can represent a terminal placement mode, and output corresponding first detection data.
  • the touch module 202 is configured to detect a screen capture action on the touch screen of the terminal, and output corresponding second detection data.
  • the processing module 200 is configured to output according to the sensor module 201 when the terminal is in a sleep state.
  • the first detection data and the second detection data output by the touch module 202 control whether the terminal continues to be in a sleep state.
  • the processing module 200 reads the first detection data output by the sensor module 201 and the second detection data output by the touch module 202; when the terminal placement mode represented by the first detection data output by the sensor module 201 is not the non-use state placement mode, When the screen capture action indicated by the second detection data output by the touch module 202 matches the preset action, the control terminal does not continue to be in the sleep state; otherwise, the control terminal continues to be in the sleep state.
  • the sleep wake-up system of the terminal provided by the embodiment of the present invention is a system independent of the terminal CPU.
  • the terminal CPU does not work, but the sleep wake-up system works all the time, and comprehensively judges whether according to the terminal placement mode and the screen-drawing action.
  • the wake-up signal is sent to the CPU to wake up the terminal and end the sleep state. Compared with the prior art, the number of occurrences of false wake-up can be reduced, and the physical button is not needed, and the reliability is high.
  • the sensor module 201 may include, but is not limited to, at least one of an acceleration sensor, a magnetic field sensor, a tilt sensor, an ambient light sensor, and a distance sensor.
  • the preset parameters include an acceleration of the terminal.
  • the preset parameters include a magnetic field of the terminal placement environment.
  • the preset parameters include an inclination angle of the terminal.
  • the preset parameters include the brightness of the terminal placement environment.
  • the preset parameters include a distance between the terminal touch screen and the front item.
  • the processing module 200 is further configured to: when the terminal placement mode represented by the first detection data output by the sensor module 201 is not in the non-use state placement mode, control the touch module 202 not to be in a low power consumption state, and can output The second detection data; when the terminal placement mode represented by the first detection data output by the sensor module 201 is the non-use state placement mode, the touch module 202 is controlled to be in a low power consumption state, and the second detection data is not output.
  • the processing module 200 does not need to read the output of the touch module 202.
  • the second detection data can therefore not control the touch module 202 to exit the low power state, and the system power consumption can be reduced by reducing the power consumption of the trigger module 202.
  • the above non-use state placement mode refers to a placement mode when the terminal is not normally used by the user.
  • the common placement positions of the terminal when the user is not normally used by the user are: the bag, the desktop, and the traveling user's hand, respectively corresponding to the pocket placement mode, the desktop placement mode, and the travel placement mode.
  • the non-use state placement mode may specifically include, but is not limited to, at least one of a pocket placement mode, a desktop placement mode, and a travel placement mode.
  • the terminal placement mode is a pocket placement mode, and the determination is whether the placement position of the terminal is in the bag; if the sleep wake-up system shown in FIG. 3 is adopted, the detection data output by the ambient light sensor and the distance sensor can be mainly combined with other The detection data output by the sensor determines whether the placement position of the terminal is in the bag.
  • the terminal placement mode is the desktop placement mode, and the determination is whether the placement position of the terminal is on the desktop; if the sleep wake-up system shown in FIG. 3 is adopted, the detection data output by the acceleration sensor may be combined with the detection data output by other sensors. Determine whether the placement position of the terminal is in the bag.
  • the terminal placement mode is the traveling placement mode, and the determination is whether the placement position of the terminal is in the hand of the traveling user; if the sleep wake-up system shown in FIG. 3 is adopted, the detection data outputted by the acceleration sensor may be combined with the detection of the output of other sensors. The data determines whether the placement position of the terminal is in the bag.
  • the processing module 200 may be located outside the SOC of the terminal. Preferably, as shown in FIG. 4, the processing module 200 may be integrated into the SOC of the terminal to ensure the response speed.
  • 4 is a schematic diagram of a SOC, which mainly includes a CPU, a modem, a DDRC (Double Date Rate DRAM controller) of a DRAM (Dynamic Random Access Memory), and a processing module 200. .
  • the processing module 200 that has been working can use the low-power ARM processor as the core processing unit, and the power consumption is low; and the processing module 200 can have a built-in SRAM (Static Dynamic Random Access Memory). Programs running on ARM processors can be stored directly on SRAM, eliminating the need for external memory, improving processing efficiency and saving power.
  • SRAM Static Dynamic Random Access Memory
  • processing module 200 can be implemented by using other processor chips, which is not exemplified herein.
  • processing module 200 Because the processing module 200 is always in operation, it can be powered independently. In actual implementation, technologies such as memory segmentation shutdown can be used to reduce power consumption.
  • the specific processing flow of the processing module 200 in the sleep wake-up system provided by the embodiment of the present invention may be as shown in FIG. 5, and includes the following steps:
  • Step 501 Read first detection data output by the sensor module 201.
  • Step 502 Determine whether the terminal placement mode represented by the first detection data output by the sensor module 201 is a non-use state placement mode.
  • Step 503 Control the touch module 202 to be in a low power consumption state, and not output the second detection data.
  • Step 504 Control the touch module 202 not to be in a low power consumption state, and output second detection data.
  • Step 505 Read second detection data output by the touch module 202.
  • Step 506 Determine whether the screen capture action and the preset action represented by the second detection data output by the touch module 202 match.
  • the wake-up signal is sent to the terminal CPU, that is, the terminal is woken up;
  • the wake-up signal is not sent to the terminal CPU, that is, the terminal is not woken up.
  • the sleep wake-up system of the terminal provided by the embodiment of the present invention has high reliability and low power consumption.
  • the embodiment of the present invention further provides a sleep waking method for a terminal.
  • the method may include the following steps:
  • Step 601 Acquire first detection data, where the first detection data is detection data that can represent a preset parameter of a terminal placement mode;
  • Step 602 Acquire second detection data, where the second detection data is detection data corresponding to a screen capture action on the touch screen of the terminal;
  • Step 603 When the terminal is in the sleep state, control whether the terminal continues to be in the sleep state according to the first detection data and the second detection data.
  • the step 603 is to control whether the terminal continues to be in a dormant state according to the first detection data and the second detection data, and specifically includes:
  • the control terminal When the terminal placement mode represented by the first detection data is not in the non-use state placement mode, and the screen capture action represented by the second detection data matches the preset action, the control terminal does not continue to be in the sleep state; otherwise, the control terminal continues Is in a dormant state.
  • the method before acquiring the second detection data in step 602, the method further includes:
  • the embodiment of the present invention further provides a sleep wake-up device for the terminal.
  • a sleep wake-up device for the terminal.
  • the following may specifically include the following units:
  • the first acquiring unit 701 is configured to acquire first detection data, where the first detection data is capable of being characterized Detection data of preset parameters of the terminal placement mode;
  • the second acquiring unit 702 is configured to acquire second detection data, where the second detection data is detection data corresponding to a screenping action on the touch screen of the terminal;
  • the control unit 700 is configured to control whether the terminal continues to be in a sleep state according to the first detection data and the second detection data when the terminal is in a sleep state.
  • the control unit 700 is configured to: when the terminal placement mode represented by the first detection data is not in the non-use state placement mode, and the screen capture action represented by the second detection data matches the preset action, the control terminal does not continue In the sleep state; otherwise, the control terminal continues to sleep.
  • control unit 700 is further configured to: before the second acquiring unit 702 acquires the second detection data, determine that the terminal placement mode characterized by the first detection data is not the non-use state placement mode.
  • the non-use state placement mode may include, but is not limited to, at least one of a pocket placement mode, a desktop placement mode, and a travel placement mode.
  • the foregoing preset parameters may include, but are not limited to, at least one of acceleration of the terminal, a magnetic field of the terminal placement environment, a tilt angle of the terminal, a brightness of the terminal placement environment, and a distance between the terminal touch screen and the front item.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

A terminal sleep and wake-up system, method and device, comprising a sensor module, a touch module and a processing module, wherein: the sensor module (201) is for detecting a preset parameter capable of characterizing a terminal placement mode, and outputting corresponding first detection data; the touch module (202) is for detecting a screen drawing action on a terminal touchscreen, and outputting corresponding second detection data; and the processing module (200) is for controlling, when the terminal is in a sleep state, whether or not the terminal continues in the sleep state, according to the first detection data output by the sensor module and the second detection data output by the touch module. The system, method and device have high reliability.

Description

一种终端的休眠唤醒系统、方法及装置Sleep wake-up system, method and device for terminal 技术领域Technical field
本发明涉及终端技术领域,特别涉及一种终端的休眠唤醒系统、方法及装置。The present invention relates to the field of terminal technologies, and in particular, to a sleep wake-up system, method and device for a terminal.
背景技术Background technique
随着科技的发展,手机、平板电脑等各种各样的终端已经成为人们生活工作不可或缺的一部分,这类终端开机时通常有两种状态:耗电量较低的休眠状态和耗电量较高的工作状态。现有技术中这类终端的休眠唤醒,多采用物理按键唤醒的方案,如图1所示,在终端处于休眠状态时,若终端的物理按键B按下,终端的核心部分即SOC(System on Chip,片上系统)中的CPU(Central Processing Unit,中央处理器)接收到中断信号,触发终端结束休眠状态。With the development of technology, various terminals such as mobile phones and tablet computers have become an indispensable part of people's life work. These terminals usually have two states when they are turned on: sleep state with low power consumption and power consumption. A higher amount of work. In the prior art, the sleep wake-up of such a terminal uses a physical button wake-up scheme. As shown in FIG. 1 , when the terminal is in a sleep state, if the physical button B of the terminal is pressed, the core part of the terminal is SOC (System on The CPU (Central Processing Unit) in the Chip (system on chip) receives an interrupt signal, triggering the terminal to end the sleep state.
然而,物理按键唤醒的方案很容易出现误唤醒,并且,长时间频繁使用物理按键会出现磨损失灵的问题,即现有方案的可靠性较低。However, the physical button wake-up scheme is prone to false wake-up, and the frequent use of physical buttons for a long time may cause wear and tear problems, that is, the reliability of the existing scheme is low.
发明内容Summary of the invention
本发明实施例提供一种终端的休眠唤醒系统、方法及装置,可靠性较高。The embodiment of the invention provides a sleep wake-up system, method and device for a terminal, which have high reliability.
第一方面,提供一种终端的休眠唤醒系统,其特征在于,包括传感器模块、触摸模块和处理模块,其中:In a first aspect, a sleep wake-up system for a terminal is provided, which is characterized by comprising a sensor module, a touch module and a processing module, wherein:
所述传感器模块,用于检测能够表征终端放置模式的预设参数,并输出对应的第一检测数据;The sensor module is configured to detect a preset parameter capable of characterizing a terminal placement mode, and output corresponding first detection data;
所述触摸模块,用于检测终端触摸屏上的划屏动作,并输出对应的第二检测数据;The touch module is configured to detect a screen capture action on the touch screen of the terminal, and output corresponding second detection data;
所述处理模块,用于在终端处于休眠状态时,根据所述传感器模块输出的第一检测数据、所述触摸模块输出的第二检测数据,控制所述终端是否继 续处于休眠状态。The processing module is configured to control whether the terminal continues according to the first detection data output by the sensor module and the second detection data output by the touch module when the terminal is in a sleep state. Continue to sleep.
结合第一方面,在第一种可能的实现方式中,所述处理模块,具体用于当所述传感器模块输出的第一检测数据表征的终端放置模式不为非使用状态放置模式,并且所述触摸模块输出的第二检测数据表征的划屏动作和预设动作匹配时,控制所述终端不继续处于休眠状态;否则,控制所述终端继续处于休眠状态。With reference to the first aspect, in a first possible implementation, the processing module is specifically configured to: when the first detection data output by the sensor module is characterized by a terminal placement mode that is not a non-use state placement mode, When the screen capture action indicated by the second detection data output by the touch module matches the preset action, the terminal is controlled not to continue to be in a sleep state; otherwise, the terminal is controlled to continue to be in a sleep state.
结合第一方面,或者第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述处理模块,还用于当所述传感器模块输出的第一检测数据表征的终端放置模式不为非使用状态放置模式时,控制所述触摸模块不处于低功耗状态,能够输出第二检测数据;当所述传感器模块输出的第一检测数据表征的终端放置模式为非使用状态放置模式时,控制所述触摸模块处于低功耗状态,不输出第二检测数据。With reference to the first aspect, or the first possible implementation manner of the first aspect, in a second possible implementation, the processing module is further configured to: when the first detection data is output by the sensor module When the placement mode is not the non-use state placement mode, the touch module is controlled not to be in a low power consumption state, and the second detection data can be output; when the first detection data output by the sensor module is characterized by the terminal placement mode being in a non-use state When the mode is placed, the touch module is controlled to be in a low power consumption state, and the second detection data is not output.
结合第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,在第三种可能的实现方式中,所述非使用状态放置模式包括口袋放置模式、桌面放置模式、行进放置模式。In conjunction with the first possible implementation of the first aspect, or the second possible implementation of the first aspect, in a third possible implementation, the non-use state placement mode includes a pocket placement mode, a desktop placement Mode, travel placement mode.
结合第一方面,第一方面的第一种可能的实现方式,第一方面的第二种可能的实现方式,或者第一方面的第三种可能的实现方式,在第四种可能的实现方式中,所述传感器模块包括加速度传感器,所述预设参数包括终端的加速度;和/或With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in the fourth possible implementation manner The sensor module includes an acceleration sensor, and the preset parameters include an acceleration of the terminal; and/or
所述传感器模块包括磁场传感器,所述预设参数包括终端放置环境的磁场;和/或The sensor module includes a magnetic field sensor, and the preset parameters include a magnetic field in which the terminal is placed; and/or
所述传感器模块包括倾角传感器,所述预设参数包括终端的倾斜角度;和/或The sensor module includes a tilt sensor, the preset parameter includes an inclination angle of the terminal; and/or
所述传感器模块包括环境光传感器,所述预设参数包括终端放置环境的亮度;The sensor module includes an ambient light sensor, and the preset parameters include brightness of a terminal placement environment;
所述传感器模块包括距离传感器,所述预设参数包括终端触摸屏与前方物品之间的距离。 The sensor module includes a distance sensor, and the preset parameter includes a distance between the terminal touch screen and the front item.
结合第一方面,第一方面的第一种可能的实现方式,第一方面的第二种可能的实现方式,第一方面的第三种可能的实现方式,或者第一方面的第四种可能的实现方式,在第五种可能的实现方式中,所述处理模块集成于所述终端的片上系统中。With reference to the first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, the third possible implementation of the first aspect, or the fourth possible aspect of the first aspect In a fifth possible implementation manner, the processing module is integrated in a system on a chip of the terminal.
第二方面,提供一种终端的休眠唤醒方法,其特征在于,包括:A second aspect provides a sleep wake-up method for a terminal, which is characterized by:
获取第一检测数据,所述第一检测数据为能够表征终端放置模式的预设参数的检测数据;Obtaining first detection data, where the first detection data is detection data capable of characterizing a preset parameter of a terminal placement mode;
获取第二检测数据,所述第二检测数据为终端触摸屏上的划屏动作对应的检测数据;Obtaining second detection data, where the second detection data is detection data corresponding to a screen capture action on the touch screen of the terminal;
在终端处于休眠状态时,根据所述第一检测数据、所述第二检测数据,控制所述终端是否继续处于休眠状态。When the terminal is in the sleep state, according to the first detection data and the second detection data, whether the terminal continues to be in a sleep state is controlled.
结合第二方面,在第一种可能的实现方式中,根据所述第一检测数据、所述第二检测数据,控制所述终端是否继续处于休眠状态,包括:With reference to the second aspect, in a first possible implementation manner, controlling whether the terminal continues to be in a dormant state according to the first detection data and the second detection data includes:
当所述第一检测数据表征的终端放置模式不为非使用状态放置模式,并且所述第二检测数据表征的划屏动作和预设动作匹配时,控制所述终端不继续处于休眠状态;否则,控制所述终端继续处于休眠状态。When the terminal placement mode characterized by the first detection data is not the non-use state placement mode, and the screen capture action represented by the second detection data matches the preset action, the terminal is controlled to not continue to be in a sleep state; otherwise And controlling the terminal to continue to sleep.
结合第二方面,或者第二方面的第一种可能的实现方式,在第二种可能的实现方式中,在获取第二检测数据之前,还包括:With reference to the second aspect, or the first possible implementation manner of the second aspect, in the second possible implementation manner, before acquiring the second detection data, the method further includes:
确定所述第一检测数据表征的终端放置模式不为非使用状态放置模式。Determining that the terminal placement mode characterized by the first detection data is not a non-use state placement mode.
结合第二方面的第一种可能的实现方式,或者第二方面的第二种可能的实现方式,在第三种可能的实现方式中,所述非使用状态放置模式包括口袋放置模式、桌面放置模式、行进放置模式。In conjunction with the first possible implementation of the second aspect, or the second possible implementation of the second aspect, in a third possible implementation, the non-use state placement mode includes a pocket placement mode, a desktop placement Mode, travel placement mode.
结合第二方面,第二方面的第一种可能的实现方式,第二方面的第二种可能的实现方式,或者第二方面的第三种可能的实现方式,在第四种可能的实现方式中,所述预设参数包括终端的加速度、终端放置环境的磁场、终端的倾斜角度、终端放置环境的亮度、终端触摸屏与前方物品之间的距离中的至少一种。 With reference to the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, in the fourth possible implementation manner The preset parameters include at least one of an acceleration of the terminal, a magnetic field of the terminal placement environment, a tilt angle of the terminal, a brightness of the terminal placement environment, and a distance between the terminal touch screen and the front item.
第三方面,提供一种终端的休眠唤醒装置,其特征在于,包括:A third aspect provides a sleep wake-up device for a terminal, which is characterized by comprising:
第一获取单元,用于获取第一检测数据,所述第一检测数据为能够表征终端放置模式的预设参数的检测数据;a first acquiring unit, configured to acquire first detection data, where the first detection data is detection data that can represent a preset parameter of a terminal placement mode;
第二获取单元,用于获取第二检测数据,所述第二检测数据为终端触摸屏上的划屏动作对应的检测数据;a second acquiring unit, configured to acquire second detection data, where the second detection data is detection data corresponding to a screenping action on the touch screen of the terminal;
控制单元,用于在终端处于休眠状态时,根据所述第一检测数据、所述第二检测数据,控制所述终端是否继续处于休眠状态。And a control unit, configured to control, according to the first detection data and the second detection data, whether the terminal continues to be in a sleep state when the terminal is in a sleep state.
结合第三方面,在第一种可能的实现方式中,所述控制单元,具体用于当所述第一检测数据表征的终端放置模式不为非使用状态放置模式,并且所述第二检测数据表征的划屏动作和预设动作匹配时,控制所述终端不继续处于休眠状态;否则,控制所述终端继续处于休眠状态。With reference to the third aspect, in a first possible implementation, the control unit is configured to: when the terminal placement mode characterized by the first detection data is not a non-use state placement mode, and the second detection data When the characterized screening action and the preset action match, the terminal is controlled not to continue to be in a sleep state; otherwise, the terminal is controlled to continue to be in a sleep state.
结合第三方面,或者第三方面的第一种可能的实现方式,在第二种可能的实现方式中,所述控制单元,还用于在所述第二获取单元获取第二检测数据之前,确定所述第一检测数据表征的终端放置模式不为非使用状态放置模式。With reference to the third aspect, or the first possible implementation manner of the third aspect, in a second possible implementation, the control unit is further configured to: before the second acquiring unit acquires the second detection data, Determining that the terminal placement mode characterized by the first detection data is not a non-use state placement mode.
结合第三方面的第一种可能的实现方式,或者第三方面的第二种可能的实现方式,在第三种可能的实现方式中,所述非使用状态放置模式包括口袋放置模式、桌面放置模式、行进放置模式。In conjunction with the first possible implementation of the third aspect, or the second possible implementation of the third aspect, in a third possible implementation, the non-use state placement mode includes a pocket placement mode, a desktop placement Mode, travel placement mode.
结合第三方面,第三方面的第一种可能的实现方式,第三方面的第二种可能的实现方式,或者第三方面的第三种可能的实现方式,在第四种可能的实现方式中,所述预设参数包括终端的加速度、终端放置环境的磁场、终端的倾斜角度、终端放置环境的亮度、终端触摸屏与前方物品之间的距离中的至少一种。With reference to the third aspect, the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, or the third possible implementation manner of the third aspect, in the fourth possible implementation manner The preset parameters include at least one of an acceleration of the terminal, a magnetic field of the terminal placement environment, a tilt angle of the terminal, a brightness of the terminal placement environment, and a distance between the terminal touch screen and the front item.
根据第一方面提供的终端的休眠唤醒系统,或者第二方面提供的终端的休眠唤醒方法,或者第三方面提供的终端的休眠唤醒装置,根据终端放置模式和划屏动作来综合判断是否唤醒终端、结束休眠状态,相比于现有技术,能够减少误唤醒的出现次数,并且无需物理按键,可靠性较高。 According to the sleep wake-up system of the terminal provided by the first aspect, or the sleep wake-up method of the terminal provided by the second aspect, or the sleep wake-up device of the terminal provided by the third aspect, comprehensively determining whether to wake up the terminal according to the terminal placement mode and the screen swipe action By ending the sleep state, compared with the prior art, the number of occurrences of false wake-ups can be reduced, and physical buttons are not required, and reliability is high.
附图说明DRAWINGS
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The drawings are intended to provide a further understanding of the invention, and are intended to be a In the drawing:
图1为现有技术中终端的休眠唤醒方案的示意图;1 is a schematic diagram of a sleep wakeup scheme of a terminal in the prior art;
图2为本发明实施例提供的终端的休眠唤醒系统的结构示意图之一;FIG. 2 is a schematic structural diagram of a sleep wake-up system of a terminal according to an embodiment of the present disclosure;
图3为本发明实施例提供的终端的休眠唤醒系统的结构示意图之二;FIG. 3 is a second schematic structural diagram of a sleep wake-up system of a terminal according to an embodiment of the present disclosure;
图4为本发明实施例提供的终端的SOC的结构示意图;4 is a schematic structural diagram of an SOC of a terminal according to an embodiment of the present invention;
图5为本发明实施例提供的终端的休眠唤醒系统中处理模块的处理流程示意图;FIG. 5 is a schematic flowchart of processing of a processing module in a sleep wake-up system of a terminal according to an embodiment of the present disclosure;
图6为本发明实施例提供的终端的休眠唤醒方法的流程示意图;FIG. 6 is a schematic flowchart of a sleep wakeup method of a terminal according to an embodiment of the present invention;
图7为本发明实施例提供的终端的休眠唤醒装置的流程示意图。FIG. 7 is a schematic flowchart of a sleep wake-up device of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
为了给出可靠性较高的终端休眠唤醒的实现方案,本发明实施例提供了一种终端的休眠唤醒系统、方法及装置,以下结合说明书附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present invention provides a dormant wake-up system, method, and apparatus for a terminal, and a preferred embodiment of the present invention will be described below with reference to the accompanying drawings. The preferred embodiments described herein are for illustrative purposes only and are not intended to limit the invention. And in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
本发明实施例提供一种终端的休眠唤醒系统,可以应用于手机、平板电脑等各种终端,该系统如图2所示,可以包括传感器模块201、触摸模块202和处理模块200,其中:The embodiment of the present invention provides a sleep wake-up system for a terminal, which can be applied to various terminals such as a mobile phone and a tablet computer. The system, as shown in FIG. 2, can include a sensor module 201, a touch module 202, and a processing module 200, where:
传感器模块201,用于检测能够表征终端放置模式的预设参数,并输出对应的第一检测数据;The sensor module 201 is configured to detect a preset parameter that can represent a terminal placement mode, and output corresponding first detection data.
触摸模块202,用于检测终端触摸屏上的划屏动作,并输出对应的第二检测数据;The touch module 202 is configured to detect a screen capture action on the touch screen of the terminal, and output corresponding second detection data.
处理模块200,用于在终端处于休眠状态时,根据传感器模块201输出的 第一检测数据、触摸模块202输出的第二检测数据,控制终端是否继续处于休眠状态。The processing module 200 is configured to output according to the sensor module 201 when the terminal is in a sleep state. The first detection data and the second detection data output by the touch module 202 control whether the terminal continues to be in a sleep state.
即处理模块200读取传感器模块201输出的第一检测数据,以及触摸模块202输出的第二检测数据;当传感器模块201输出的第一检测数据表征的终端放置模式不为非使用状态放置模式,并且触摸模块202输出的第二检测数据表征的划屏动作和预设动作匹配时,控制终端不继续处于休眠状态;否则,控制终端继续处于休眠状态。That is, the processing module 200 reads the first detection data output by the sensor module 201 and the second detection data output by the touch module 202; when the terminal placement mode represented by the first detection data output by the sensor module 201 is not the non-use state placement mode, When the screen capture action indicated by the second detection data output by the touch module 202 matches the preset action, the control terminal does not continue to be in the sleep state; otherwise, the control terminal continues to be in the sleep state.
本发明实施例提供的终端的休眠唤醒系统是一个独立于终端CPU的系统,在终端休眠时,终端CPU不工作,但该休眠唤醒系统一直工作,根据终端放置模式和划屏动作来综合判断是否向CPU发送唤醒信号,以唤醒终端、结束休眠状态,相比于现有技术,能够减少误唤醒的出现次数,并且无需物理按键,可靠性较高。The sleep wake-up system of the terminal provided by the embodiment of the present invention is a system independent of the terminal CPU. When the terminal sleeps, the terminal CPU does not work, but the sleep wake-up system works all the time, and comprehensively judges whether according to the terminal placement mode and the screen-drawing action. The wake-up signal is sent to the CPU to wake up the terminal and end the sleep state. Compared with the prior art, the number of occurrences of false wake-up can be reduced, and the physical button is not needed, and the reliability is high.
实际实施时,如图3所示,传感器模块201可以但不限于包括加速度传感器、磁场传感器、倾角传感器、环境光传感器、距离传感器中的至少一种。In actual implementation, as shown in FIG. 3 , the sensor module 201 may include, but is not limited to, at least one of an acceleration sensor, a magnetic field sensor, a tilt sensor, an ambient light sensor, and a distance sensor.
当传感器模块201具体包括加速计ACC等加速度传感器时,上述预设参数包括终端的加速度。When the sensor module 201 specifically includes an acceleration sensor such as an accelerometer ACC, the preset parameters include an acceleration of the terminal.
当传感器模块201具体包括磁力计MAG等磁场传感器时,上述预设参数包括终端放置环境的磁场。When the sensor module 201 specifically includes a magnetic field sensor such as a magnetometer MAG, the preset parameters include a magnetic field of the terminal placement environment.
当传感器模块201具体包括陀螺仪GYO等倾角传感器时,上述预设参数包括终端的倾斜角度。When the sensor module 201 specifically includes a tilt sensor such as a gyroscope GYO, the preset parameters include an inclination angle of the terminal.
当传感器模块201具体包括环境光传感器时,上述预设参数包括终端放置环境的亮度。When the sensor module 201 specifically includes an ambient light sensor, the preset parameters include the brightness of the terminal placement environment.
当传感器模块201具体包括接近开关PS等距离传感器时,上述预设参数包括终端触摸屏与前方物品之间的距离。When the sensor module 201 specifically includes a proximity sensor PS and the like, the preset parameters include a distance between the terminal touch screen and the front item.
需要说明的是,图3中所示的各种传感器以及上述各种预设参数仅为示例,并不用于限定本发明,其它能够表征终端放置模式的参数均可以作为本发明实施例中的预设参数,设置相应的传感器进行检测。 It should be noted that the various sensors shown in FIG. 3 and the foregoing various preset parameters are merely examples, and are not intended to limit the present invention. Other parameters capable of characterizing the terminal placement mode may be used as pre-invention in the embodiments of the present invention. Set the parameters and set the corresponding sensor for detection.
由于触摸模块202在不输出检测数据时功耗较低,处于低功耗状态;而在输出检测数据时功耗较高。因此,较佳的,处理模块200,还用于当传感器模块201输出的第一检测数据表征的终端放置模式不为非使用状态放置模式时,控制触摸模块202不处于低功耗状态,能够输出第二检测数据;当传感器模块201输出的第一检测数据表征的终端放置模式为非使用状态放置模式时,控制触摸模块202处于低功耗状态,不输出第二检测数据。Since the touch module 202 consumes less power when the detection data is not output, it is in a low power consumption state; and when the detection data is output, the power consumption is high. Therefore, the processing module 200 is further configured to: when the terminal placement mode represented by the first detection data output by the sensor module 201 is not in the non-use state placement mode, control the touch module 202 not to be in a low power consumption state, and can output The second detection data; when the terminal placement mode represented by the first detection data output by the sensor module 201 is the non-use state placement mode, the touch module 202 is controlled to be in a low power consumption state, and the second detection data is not output.
当传感器模块201输出的第一检测数据表征的终端放置模式为非使用状态放置模式时,终端触摸屏上的划屏动作为用户的误动作,此时,处理模块200无需读取触摸模块202输出的第二检测数据,因此可以不控制触摸模块202退出低功耗状态,通过降低触发模块202的功耗可以降低系统功耗。When the terminal placement mode represented by the first detection data output by the sensor module 201 is the non-use state placement mode, the screen capture action on the touch screen of the terminal is a user's malfunction. At this time, the processing module 200 does not need to read the output of the touch module 202. The second detection data can therefore not control the touch module 202 to exit the low power state, and the system power consumption can be reduced by reducing the power consumption of the trigger module 202.
上述非使用状态放置模式指终端未被用户正常手持使用时的放置模式。通常,终端未被用户正常手持使用时常见的放置位置有:包袋、桌面和行进用户手中,分别对应口袋放置模式、桌面放置模式和行进放置模式。在本发明实施例中,上述非使用状态放置模式具体可以但不限于包括口袋放置模式、桌面放置模式、行进放置模式中的至少一种。The above non-use state placement mode refers to a placement mode when the terminal is not normally used by the user. Generally, the common placement positions of the terminal when the user is not normally used by the user are: the bag, the desktop, and the traveling user's hand, respectively corresponding to the pocket placement mode, the desktop placement mode, and the travel placement mode. In the embodiment of the present invention, the non-use state placement mode may specifically include, but is not limited to, at least one of a pocket placement mode, a desktop placement mode, and a travel placement mode.
判断终端放置模式是否为口袋放置模式,实质为判断终端的放置位置是否为包袋中;若采用图3所示的休眠唤醒系统,主要可以根据环境光传感器、距离传感器输出的检测数据,结合其它传感器输出的检测数据判断终端的放置位置是否为包袋中。It is judged whether the terminal placement mode is a pocket placement mode, and the determination is whether the placement position of the terminal is in the bag; if the sleep wake-up system shown in FIG. 3 is adopted, the detection data output by the ambient light sensor and the distance sensor can be mainly combined with other The detection data output by the sensor determines whether the placement position of the terminal is in the bag.
判断终端放置模式是否为桌面放置模式,实质为判断终端的放置位置是否为桌面上;若采用图3所示的休眠唤醒系统,主要可以根据加速度传感器输出的检测数据,结合其它传感器输出的检测数据判断终端的放置位置是否为包袋中。It is judged whether the terminal placement mode is the desktop placement mode, and the determination is whether the placement position of the terminal is on the desktop; if the sleep wake-up system shown in FIG. 3 is adopted, the detection data output by the acceleration sensor may be combined with the detection data output by other sensors. Determine whether the placement position of the terminal is in the bag.
判断终端放置模式是否为行进放置模式,实质为判断终端的放置位置是否为行进用户手中;若采用图3所示的休眠唤醒系统,主要可以根据加速度传感器输出的检测数据,结合其它传感器输出的检测数据判断终端的放置位置是否为包袋中。 It is judged whether the terminal placement mode is the traveling placement mode, and the determination is whether the placement position of the terminal is in the hand of the traveling user; if the sleep wake-up system shown in FIG. 3 is adopted, the detection data outputted by the acceleration sensor may be combined with the detection of the output of other sensors. The data determines whether the placement position of the terminal is in the bag.
进一步的,处理模块200可以位于终端的SOC外部,较佳的,如图4所示,处理模块200可以集成于终端的SOC中,能够保证响应速度。图4为SOC的示意图,主要包括CPU、调制解调器、外接DRAM(Dynamic Random Access Memory,即动态随机存取存储器)的DDRC(Double Date Rate DRAM controller,双速率动态随机存储器控制器),以及处理模块200。Further, the processing module 200 may be located outside the SOC of the terminal. Preferably, as shown in FIG. 4, the processing module 200 may be integrated into the SOC of the terminal to ensure the response speed. 4 is a schematic diagram of a SOC, which mainly includes a CPU, a modem, a DDRC (Double Date Rate DRAM controller) of a DRAM (Dynamic Random Access Memory), and a processing module 200. .
实际实施时,一直工作的处理模块200可以采用低功耗的ARM处理器作为核心的处理单元,功耗较低;同时处理模块200可以内置SRAM(Static Dynamic Random Access Memory,静态随机存储器),使得ARM处理器上运行的程序可以直接存储在SRAM上,不需要外部存储器,能够提高处理效率,节省功耗。In actual implementation, the processing module 200 that has been working can use the low-power ARM processor as the core processing unit, and the power consumption is low; and the processing module 200 can have a built-in SRAM (Static Dynamic Random Access Memory). Programs running on ARM processors can be stored directly on SRAM, eliminating the need for external memory, improving processing efficiency and saving power.
当然,处理模块200可以采用其它的处理器芯片实现,在此不再举例。Of course, the processing module 200 can be implemented by using other processor chips, which is not exemplified herein.
因为处理模块200一直处于工作状态,因此可以独立供电。实际实施时可以采用内存分段关闭等技术来降低耗电量。Because the processing module 200 is always in operation, it can be powered independently. In actual implementation, technologies such as memory segmentation shutdown can be used to reduce power consumption.
综上,对于处于休眠状态的终端,在终端触摸屏存在划动动作时,本发明实施例提供的休眠唤醒系统中的处理模块200的具体处理流程可以如图5所示,包括如下步骤:In summary, for the terminal in the dormant state, when the touch screen of the terminal has a swipe action, the specific processing flow of the processing module 200 in the sleep wake-up system provided by the embodiment of the present invention may be as shown in FIG. 5, and includes the following steps:
步骤501、读取传感器模块201输出的第一检测数据。Step 501: Read first detection data output by the sensor module 201.
步骤502、判断传感器模块201输出的第一检测数据表征的终端放置模式是否为非使用状态放置模式。Step 502: Determine whether the terminal placement mode represented by the first detection data output by the sensor module 201 is a non-use state placement mode.
当传感器模块201输出的第一检测数据表征的终端放置模式为非使用状态放置模式时,进入步骤503;When the terminal detection mode indicated by the first detection data output by the sensor module 201 is the non-use state placement mode, proceed to step 503;
当传感器模块201输出的第一检测数据表征的终端放置模式不为非使用状态放置模式时,进入步骤504。When the terminal placement mode represented by the first detection data output by the sensor module 201 is not the non-use state placement mode, the process proceeds to step 504.
步骤503、控制触摸模块202处于低功耗状态,不输出第二检测数据。Step 503: Control the touch module 202 to be in a low power consumption state, and not output the second detection data.
至此本次处理流程结束,不向终端CPU发送唤醒信号,即不唤醒终端。At this point, the processing flow ends, and no wake-up signal is sent to the terminal CPU, that is, the terminal is not woken up.
步骤504、控制触摸模块202不处于低功耗状态,输出第二检测数据。Step 504: Control the touch module 202 not to be in a low power consumption state, and output second detection data.
步骤505、读取触摸模块202输出的第二检测数据。 Step 505: Read second detection data output by the touch module 202.
步骤506、判断触摸模块202输出的第二检测数据表征的划屏动作和预设动作是否匹配。Step 506: Determine whether the screen capture action and the preset action represented by the second detection data output by the touch module 202 match.
当触摸模块202输出的第二检测数据表征的划屏动作和预设动作匹配时,向终端CPU发送唤醒信号,即唤醒终端;When the screen capture action represented by the second detection data output by the touch module 202 matches the preset action, the wake-up signal is sent to the terminal CPU, that is, the terminal is woken up;
当触摸模块202输出的第二检测数据表征的划屏动作和预设动作不匹配时,不向终端CPU发送唤醒信号,即不唤醒终端。When the screen capture action represented by the second detection data output by the touch module 202 does not match the preset action, the wake-up signal is not sent to the terminal CPU, that is, the terminal is not woken up.
可见,采用本发明实施例提供的终端的休眠唤醒系统,可靠性较高,并且功耗较低。It can be seen that the sleep wake-up system of the terminal provided by the embodiment of the present invention has high reliability and low power consumption.
基于同一发明构思,本发明实施例还提供了一种终端的休眠唤醒方法,如图6所示,具体可以包括如下步骤:Based on the same inventive concept, the embodiment of the present invention further provides a sleep waking method for a terminal. As shown in FIG. 6, the method may include the following steps:
步骤601、获取第一检测数据,该第一检测数据为能够表征终端放置模式的预设参数的检测数据;Step 601: Acquire first detection data, where the first detection data is detection data that can represent a preset parameter of a terminal placement mode;
步骤602、获取第二检测数据,该第二检测数据为终端触摸屏上的划屏动作对应的检测数据;Step 602: Acquire second detection data, where the second detection data is detection data corresponding to a screen capture action on the touch screen of the terminal;
步骤603、在终端处于休眠状态时,根据该第一检测数据、该第二检测数据,控制终端是否继续处于休眠状态。Step 603: When the terminal is in the sleep state, control whether the terminal continues to be in the sleep state according to the first detection data and the second detection data.
其中,步骤603根据该第一检测数据、该第二检测数据,控制终端是否继续处于休眠状态,具体包括:The step 603 is to control whether the terminal continues to be in a dormant state according to the first detection data and the second detection data, and specifically includes:
当该第一检测数据表征的终端放置模式不为非使用状态放置模式,并且该第二检测数据表征的划屏动作和预设动作匹配时,控制终端不继续处于休眠状态;否则,控制终端继续处于休眠状态。When the terminal placement mode represented by the first detection data is not in the non-use state placement mode, and the screen capture action represented by the second detection data matches the preset action, the control terminal does not continue to be in the sleep state; otherwise, the control terminal continues Is in a dormant state.
较佳的,在步骤602获取第二检测数据之前,还包括:Preferably, before acquiring the second detection data in step 602, the method further includes:
确定该第一检测数据表征的终端放置模式不为非使用状态放置模式。Determining that the terminal placement mode characterized by the first detection data is not a non-use state placement mode.
具体实施方式可以参考前述系统实施例,在此不再详述。For specific implementations, reference may be made to the foregoing system embodiments, and details are not described herein.
基于同一发明构思,对应于上述终端的休眠唤醒方法,本发明实施例还提供了一种终端的休眠唤醒装置,如图7所示,具体可以包括如下单元:Based on the same inventive concept, corresponding to the sleep wake-up method of the foregoing terminal, the embodiment of the present invention further provides a sleep wake-up device for the terminal. As shown in FIG. 7 , the following may specifically include the following units:
第一获取单元701,用于获取第一检测数据,该第一检测数据为能够表征 终端放置模式的预设参数的检测数据;The first acquiring unit 701 is configured to acquire first detection data, where the first detection data is capable of being characterized Detection data of preset parameters of the terminal placement mode;
第二获取单元702,用于获取第二检测数据,该第二检测数据为终端触摸屏上的划屏动作对应的检测数据;The second acquiring unit 702 is configured to acquire second detection data, where the second detection data is detection data corresponding to a screenping action on the touch screen of the terminal;
控制单元700,用于在终端处于休眠状态时,根据该第一检测数据、该第二检测数据,控制终端是否继续处于休眠状态。The control unit 700 is configured to control whether the terminal continues to be in a sleep state according to the first detection data and the second detection data when the terminal is in a sleep state.
其中,控制单元700,具体用于当该第一检测数据表征的终端放置模式不为非使用状态放置模式,并且该第二检测数据表征的划屏动作和预设动作匹配时,控制终端不继续处于休眠状态;否则,控制终端继续处于休眠状态。The control unit 700 is configured to: when the terminal placement mode represented by the first detection data is not in the non-use state placement mode, and the screen capture action represented by the second detection data matches the preset action, the control terminal does not continue In the sleep state; otherwise, the control terminal continues to sleep.
较佳的,控制单元700,还用于在第二获取单元702获取第二检测数据之前,确定该第一检测数据表征的终端放置模式不为非使用状态放置模式。Preferably, the control unit 700 is further configured to: before the second acquiring unit 702 acquires the second detection data, determine that the terminal placement mode characterized by the first detection data is not the non-use state placement mode.
在本发明实施例中,上述非使用状态放置模式可以但不限于包括口袋放置模式、桌面放置模式、行进放置模式中的至少一种。In the embodiment of the present invention, the non-use state placement mode may include, but is not limited to, at least one of a pocket placement mode, a desktop placement mode, and a travel placement mode.
实际实施时,上述预设参数可以但不限于包括终端的加速度、终端放置环境的磁场、终端的倾斜角度、终端放置环境的亮度、终端触摸屏与前方物品之间的距离中的至少一种。In actual implementation, the foregoing preset parameters may include, but are not limited to, at least one of acceleration of the terminal, a magnetic field of the terminal placement environment, a tilt angle of the terminal, a brightness of the terminal placement environment, and a distance between the terminal touch screen and the front item.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的 装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. To implement the functions specified in one or more blocks of a flow or a flow and/or block diagram of a flowchart Device.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While the preferred embodiment of the invention has been described, it will be understood that Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 It is apparent that those skilled in the art can make various modifications and variations to the embodiments of the invention without departing from the spirit and scope of the embodiments of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the embodiments of the invention.

Claims (16)

  1. 一种终端的休眠唤醒系统,其特征在于,包括传感器模块、触摸模块和处理模块,其中:A sleep wake-up system for a terminal, comprising: a sensor module, a touch module and a processing module, wherein:
    所述传感器模块,用于检测能够表征终端放置模式的预设参数,并输出对应的第一检测数据;The sensor module is configured to detect a preset parameter capable of characterizing a terminal placement mode, and output corresponding first detection data;
    所述触摸模块,用于检测终端触摸屏上的划屏动作,并输出对应的第二检测数据;The touch module is configured to detect a screen capture action on the touch screen of the terminal, and output corresponding second detection data;
    所述处理模块,用于在终端处于休眠状态时,根据所述传感器模块输出的第一检测数据、所述触摸模块输出的第二检测数据,控制所述终端是否继续处于休眠状态。The processing module is configured to control whether the terminal continues to be in a sleep state according to the first detection data output by the sensor module and the second detection data output by the touch module when the terminal is in a sleep state.
  2. 如权利要求1所述的系统,其特征在于,所述处理模块,具体用于当所述传感器模块输出的第一检测数据表征的终端放置模式不为非使用状态放置模式,并且所述触摸模块输出的第二检测数据表征的划屏动作和预设动作匹配时,控制所述终端不继续处于休眠状态;否则,控制所述终端继续处于休眠状态。The system of claim 1, wherein the processing module is configured to: when the first detection data output by the sensor module is characterized by a terminal placement mode that is not a non-use state placement mode, and the touch module When the output of the second detection data is matched by the screen capture action and the preset action, the terminal is controlled to not continue to be in a sleep state; otherwise, the terminal is controlled to continue to be in a sleep state.
  3. 如权利要求1或2所述的系统,其特征在于,所述处理模块,还用于当所述传感器模块输出的第一检测数据表征的终端放置模式不为非使用状态放置模式时,控制所述触摸模块不处于低功耗状态,能够输出第二检测数据;当所述传感器模块输出的第一检测数据表征的终端放置模式为非使用状态放置模式时,控制所述触摸模块处于低功耗状态,不输出第二检测数据。The system according to claim 1 or 2, wherein the processing module is further configured to: when the terminal placement mode represented by the first detection data output by the sensor module is not in a non-use state placement mode, The touch module is not in a low power consumption state, and is capable of outputting second detection data; when the terminal placement mode represented by the first detection data output by the sensor module is a non-use state placement mode, controlling the touch module to be in low power consumption Status, no second detection data is output.
  4. 如权利要求2或3所述的系统,其特征在于,所述非使用状态放置模式包括口袋放置模式、桌面放置模式、行进放置模式。The system of claim 2 or 3, wherein the non-use state placement mode comprises a pocket placement mode, a desktop placement mode, a travel placement mode.
  5. 如权利要求1-4任一所述的系统,其特征在于,A system according to any one of claims 1 to 4, wherein
    所述传感器模块包括加速度传感器,所述预设参数包括终端的加速度;和/或The sensor module includes an acceleration sensor, and the preset parameters include an acceleration of the terminal; and/or
    所述传感器模块包括磁场传感器,所述预设参数包括终端放置环境的磁 场;和/或The sensor module includes a magnetic field sensor, and the preset parameters include a magnetic field of the terminal placement environment Field; and/or
    所述传感器模块包括倾角传感器,所述预设参数包括终端的倾斜角度;和/或The sensor module includes a tilt sensor, the preset parameter includes an inclination angle of the terminal; and/or
    所述传感器模块包括环境光传感器,所述预设参数包括终端放置环境的亮度;The sensor module includes an ambient light sensor, and the preset parameters include brightness of a terminal placement environment;
    所述传感器模块包括距离传感器,所述预设参数包括终端触摸屏与前方物品之间的距离。The sensor module includes a distance sensor, and the preset parameter includes a distance between the terminal touch screen and the front item.
  6. 如权利要求1-5任一所述的系统,其特征在于,所述处理模块集成于所述终端的片上系统中。A system according to any of claims 1-5, wherein said processing module is integrated in a system on a chip of said terminal.
  7. 一种终端的休眠唤醒方法,其特征在于,包括:A sleep wake-up method for a terminal, comprising:
    获取第一检测数据,所述第一检测数据为能够表征终端放置模式的预设参数的检测数据;Obtaining first detection data, where the first detection data is detection data capable of characterizing a preset parameter of a terminal placement mode;
    获取第二检测数据,所述第二检测数据为终端触摸屏上的划屏动作对应的检测数据;Obtaining second detection data, where the second detection data is detection data corresponding to a screen capture action on the touch screen of the terminal;
    在终端处于休眠状态时,根据所述第一检测数据、所述第二检测数据,控制所述终端是否继续处于休眠状态。When the terminal is in the sleep state, according to the first detection data and the second detection data, whether the terminal continues to be in a sleep state is controlled.
  8. 如权利要求7所述的方法,其特征在于,根据所述第一检测数据、所述第二检测数据,控制所述终端是否继续处于休眠状态,包括:The method of claim 7, wherein controlling whether the terminal continues to be in a sleep state according to the first detection data and the second detection data comprises:
    当所述第一检测数据表征的终端放置模式不为非使用状态放置模式,并且所述第二检测数据表征的划屏动作和预设动作匹配时,控制所述终端不继续处于休眠状态;否则,控制所述终端继续处于休眠状态。When the terminal placement mode characterized by the first detection data is not the non-use state placement mode, and the screen capture action represented by the second detection data matches the preset action, the terminal is controlled to not continue to be in a sleep state; otherwise And controlling the terminal to continue to sleep.
  9. 如权利要求7或8所述的方法,其特征在于,在获取第二检测数据之前,还包括:The method according to claim 7 or 8, wherein before acquiring the second detection data, the method further comprises:
    确定所述第一检测数据表征的终端放置模式不为非使用状态放置模式。Determining that the terminal placement mode characterized by the first detection data is not a non-use state placement mode.
  10. 如权利要求8或9所述的方法,其特征在于,所述非使用状态放置模式包括口袋放置模式、桌面放置模式、行进放置模式。The method of claim 8 or 9, wherein the non-use state placement mode comprises a pocket placement mode, a desktop placement mode, a travel placement mode.
  11. 如权利要求7-10任一所述的方法,其特征在于,所述预设参数包括 终端的加速度、终端放置环境的磁场、终端的倾斜角度、终端放置环境的亮度、终端触摸屏与前方物品之间的距离中的至少一种。The method of any of claims 7-10, wherein the preset parameters comprise At least one of acceleration of the terminal, a magnetic field of the terminal placement environment, a tilt angle of the terminal, a brightness of the terminal placement environment, and a distance between the terminal touch screen and the front item.
  12. 一种终端的休眠唤醒装置,其特征在于,包括:A sleep wake-up device for a terminal, comprising:
    第一获取单元,用于获取第一检测数据,所述第一检测数据为能够表征终端放置模式的预设参数的检测数据;a first acquiring unit, configured to acquire first detection data, where the first detection data is detection data that can represent a preset parameter of a terminal placement mode;
    第二获取单元,用于获取第二检测数据,所述第二检测数据为终端触摸屏上的划屏动作对应的检测数据;a second acquiring unit, configured to acquire second detection data, where the second detection data is detection data corresponding to a screenping action on the touch screen of the terminal;
    控制单元,用于在终端处于休眠状态时,根据所述第一检测数据、所述第二检测数据,控制所述终端是否继续处于休眠状态。And a control unit, configured to control, according to the first detection data and the second detection data, whether the terminal continues to be in a sleep state when the terminal is in a sleep state.
  13. 如权利要求12所述的装置,其特征在于,所述控制单元,具体用于当所述第一检测数据表征的终端放置模式不为非使用状态放置模式,并且所述第二检测数据表征的划屏动作和预设动作匹配时,控制所述终端不继续处于休眠状态;否则,控制所述终端继续处于休眠状态。The device according to claim 12, wherein the control unit is configured to: when the terminal placement mode characterized by the first detection data is not a non-use state placement mode, and the second detection data is characterized When the screen capture action and the preset action match, the terminal is controlled to not continue to be in a sleep state; otherwise, the terminal is controlled to continue to be in a sleep state.
  14. 如权利要求12或13所述的装置,其特征在于,所述控制单元,还用于在所述第二获取单元获取第二检测数据之前,确定所述第一检测数据表征的终端放置模式不为非使用状态放置模式。The device according to claim 12 or 13, wherein the control unit is further configured to: before the second obtaining unit acquires the second detection data, determine that the terminal placement mode characterized by the first detection data is not Place the mode for non-use status.
  15. 如权利要求13或14所述的装置,其特征在于,所述非使用状态放置模式包括口袋放置模式、桌面放置模式、行进放置模式。The apparatus according to claim 13 or 14, wherein the non-use state placement mode comprises a pocket placement mode, a desktop placement mode, and a travel placement mode.
  16. 如权利要求12-15任一所述的装置,其特征在于,所述预设参数包括终端的加速度、终端放置环境的磁场、终端的倾斜角度、终端放置环境的亮度、终端触摸屏与前方物品之间的距离中的至少一种。 The device according to any one of claims 12-15, wherein the preset parameters include an acceleration of the terminal, a magnetic field of the terminal placement environment, a tilt angle of the terminal, a brightness of the terminal placement environment, a touch screen of the terminal, and a front object. At least one of the distances between.
PCT/CN2015/087332 2015-08-18 2015-08-18 Terminal sleep and wake-up system WO2017028198A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580030227.3A CN106462335A (en) 2015-08-18 2015-08-18 Dormancy awakening system, method and device for terminal
PCT/CN2015/087332 WO2017028198A1 (en) 2015-08-18 2015-08-18 Terminal sleep and wake-up system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/087332 WO2017028198A1 (en) 2015-08-18 2015-08-18 Terminal sleep and wake-up system

Publications (1)

Publication Number Publication Date
WO2017028198A1 true WO2017028198A1 (en) 2017-02-23

Family

ID=58050810

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/087332 WO2017028198A1 (en) 2015-08-18 2015-08-18 Terminal sleep and wake-up system

Country Status (2)

Country Link
CN (1) CN106462335A (en)
WO (1) WO2017028198A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115903627A (en) * 2022-12-28 2023-04-04 长兴精石科技有限公司 Intelligent controller and intelligent control system thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112147933B (en) * 2020-09-25 2023-05-23 联想(北京)有限公司 Sensor control method and electronic equipment
CN112351482A (en) * 2020-10-29 2021-02-09 深圳Tcl新技术有限公司 Method and device for automatically controlling terminal dormancy and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520852A (en) * 2011-11-29 2012-06-27 华为终端有限公司 Control method of mobile equipment screen status and associated mobile equipment
CN103019796A (en) * 2012-12-28 2013-04-03 深圳市汇顶科技股份有限公司 Wakening method and system for touch terminal and touch terminal
CN104007882A (en) * 2014-05-27 2014-08-27 广东欧珀移动通信有限公司 High-accuracy screen touch response method and device
CN104123081A (en) * 2013-04-23 2014-10-29 神讯电脑(昆山)有限公司 Electronic device and sleep awakening method thereof
CN104636065A (en) * 2014-12-31 2015-05-20 小米科技有限责任公司 Method and device for awakening terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520852A (en) * 2011-11-29 2012-06-27 华为终端有限公司 Control method of mobile equipment screen status and associated mobile equipment
CN103019796A (en) * 2012-12-28 2013-04-03 深圳市汇顶科技股份有限公司 Wakening method and system for touch terminal and touch terminal
CN104123081A (en) * 2013-04-23 2014-10-29 神讯电脑(昆山)有限公司 Electronic device and sleep awakening method thereof
CN104007882A (en) * 2014-05-27 2014-08-27 广东欧珀移动通信有限公司 High-accuracy screen touch response method and device
CN104636065A (en) * 2014-12-31 2015-05-20 小米科技有限责任公司 Method and device for awakening terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115903627A (en) * 2022-12-28 2023-04-04 长兴精石科技有限公司 Intelligent controller and intelligent control system thereof

Also Published As

Publication number Publication date
CN106462335A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
US10915160B2 (en) System on a chip with fast wake from sleep
US8230246B1 (en) Activating a computer device based on the detecting result from a single touch sensor if the battery level is high
US10488230B2 (en) System on a chip with always-on processor
EP2703945B1 (en) An apparatus and method for waking up a processor
US9513703B2 (en) Gesture-based waking and control system for wearable devices
CN110083219B (en) Button-less display activation
US9104417B2 (en) Electronic apparatus capable of being waked up through detecting motions
US9720701B2 (en) Providing support for device states
US9329676B2 (en) Control method and electronic device
US20160098076A1 (en) Intelligent device wakeup
US20150347287A1 (en) System on a Chip with Always-On Processor Which Reconfigures SOC and Supports Memory-Only Communication Mode
WO2019183786A1 (en) Method and electronic device for displaying indication information
US20150362980A1 (en) Always-On Processor as a Coprocessor
US11579710B2 (en) Double-tap event detection device, system and method
TW201523443A (en) System and method for waking up an operating system of an electronic device
WO2017028198A1 (en) Terminal sleep and wake-up system
TW201520755A (en) Power saving method and sensor management system implementing the same
TW201616277A (en) Portable electronic device and method for waking-up portable electronic device thereof
JP2010040028A (en) Information processor, power saving program, and power saving method
KR102417186B1 (en) Method for operating a notebook computer
TWI699710B (en) Method for quickly unlocking fingerprint in sleep state and information processing device
TW201640315A (en) A displaying method, a system and an electronic device of a waking-up interface and a sleeping interface
TW201407473A (en) Operation system wake-up module and method thereof

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

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

Country of ref document: EP

Kind code of ref document: A1