CN113946203B - Gesture switching-on and switching-off method of portable equipment and portable equipment - Google Patents
Gesture switching-on and switching-off method of portable equipment and portable equipment Download PDFInfo
- Publication number
- CN113946203B CN113946203B CN202010686850.7A CN202010686850A CN113946203B CN 113946203 B CN113946203 B CN 113946203B CN 202010686850 A CN202010686850 A CN 202010686850A CN 113946203 B CN113946203 B CN 113946203B
- Authority
- CN
- China
- Prior art keywords
- keyboard
- gesture
- power
- sensing signal
- indicator light
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Power Sources (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及信息技术领域,尤其涉及的是一种便携式设备的手势开关机方法及便携式设备。The present invention relates to the field of information technology, and in particular to a gesture power on/off method for a portable device and the portable device.
背景技术Background technique
现有的便携式设备,比如便携式电脑,主要通过设置物理按键来触发开机或关机。然而物理按键并没有统一标准,不同的电脑厂商生产的便携式电脑的物理按键在形状和位置上千差万别,给用户带来不同的体感。有的便携式电脑的物理按键甚至设置在相对隐晦的地方,用户使用不便,甚至在用户第一次开机时造成极大的困扰。进一步地,物理按键容易因为不确定因素被长时间按下或者产生误触发,进而导致机器不能正常开机,造成数据丢失或信息泄露。Existing portable devices, such as portable computers, mainly trigger power on or off by setting physical buttons. However, there is no unified standard for physical buttons. The physical buttons of portable computers produced by different computer manufacturers vary greatly in shape and position, giving users different physical sensations. The physical buttons of some portable computers are even set in relatively obscure places, which is inconvenient for users to use and even causes great trouble when users turn on the computer for the first time. Furthermore, physical buttons are easily pressed for a long time or triggered by mistake due to uncertain factors, which can cause the machine to fail to start normally, resulting in data loss or information leakage.
发明内容Summary of the invention
本发明提供一种便携式设备的手势开关机方法及便携式设备,以解决现有便携式设备以物理按键进行开关机存在的误触发、使用不便的问题。The present invention provides a gesture power on/off method for a portable device and the portable device, so as to solve the problems of false triggering and inconvenience in use of the existing portable device when the physical keys are used to power it on and off.
一种便携式设备的手势开机方法,包括:A gesture startup method for a portable device, comprising:
所述便携式设备包括主板控制器、触控模块、键盘微控制器、键盘指示灯;The portable device includes a mainboard controller, a touch control module, a keyboard microcontroller, and a keyboard indicator light;
所述主板控制器检测便携式设备的开机/关机状态;The mainboard controller detects the power-on/power-off status of the portable device;
所述触控模块检测用户在所述便携式设备的键盘上的手势操作,根据所述手势操作产生手势感应信号,将所述手势感应信号发送至所述键盘微控制器和所述主板控制器;The touch control module detects a user's gesture operation on the keyboard of the portable device, generates a gesture sensing signal according to the gesture operation, and sends the gesture sensing signal to the keyboard microcontroller and the mainboard controller;
所述键盘微控制器根据所述手势感应信号控制键盘指示灯的工作状态;以及The keyboard microcontroller controls the working state of the keyboard indicator light according to the gesture sensing signal; and
所述主板控制器在所述手势感应信号满足预设条件时,根据所述开机/关机状态,执行关机/开机操作。When the gesture sensing signal meets a preset condition, the mainboard controller performs a shutdown/power-on operation according to the power-on/power-off state.
可选地,所述触控模块上包括N个触控芯片;Optionally, the touch control module includes N touch control chips;
所述N个触控芯片按照预设顺序检测用户在所述便携式设备的键盘上的手势操作;The N touch chips detect gesture operations of the user on the keyboard of the portable device in a preset order;
每一触控芯片在检测到手势操作时产生对应的手势感应信号,将所述手势感应信号发送至所述键盘微控制器和所述主板控制器,以及在未检测到手势操作时产生感应失败信号,将所述感应失败信号发送至所述键盘微控制器。Each touch chip generates a corresponding gesture sensing signal when a gesture operation is detected, and sends the gesture sensing signal to the keyboard microcontroller and the mainboard controller, and generates a sensing failure signal when no gesture operation is detected, and sends the sensing failure signal to the keyboard microcontroller.
可选地,所述键盘微控制器根据所述手势感应信号控制键盘指示灯的工作状态包括:Optionally, the keyboard microcontroller controls the working state of the keyboard indicator light according to the gesture sensing signal, including:
当接收到首个触控芯片发送的手势感应信号时,控制键盘指示灯点亮;When the gesture sensing signal sent by the first touch chip is received, the control keyboard indicator light turns on;
当接收到第二个触控芯片至第N-1个触控芯片发送的手势感应信号时,维持键盘指示灯点亮;When receiving the gesture sensing signal sent by the second touch chip to the N-1th touch chip, the keyboard indicator light is kept on;
当接收到第N个触控芯片发送的手势感应信号时,控制键盘指示灯熄灭。When the gesture sensing signal sent by the Nth touch chip is received, the keyboard indicator light is controlled to turn off.
可选地,所述键盘微控制器根据所述手势感应信号控制键盘指示灯的工作状态还包括:Optionally, the keyboard microcontroller controls the working state of the keyboard indicator light according to the gesture sensing signal, further comprising:
当接收到任意一个或多个触控芯片发送的感应失败信号时,控制键盘指示灯闪烁预设时间后熄灭。When a sensing failure signal is received from any one or more touch chips, the indicator light of the control keyboard flashes for a preset time and then turns off.
可选地,在所述主板控制器在所述手势感应信号满足预设条件时,根据所述开机/关机状态,执行关机/开机操作之前,所述方法还包括:Optionally, when the gesture sensing signal meets a preset condition, before the mainboard controller performs a shutdown/power-on operation according to the power-on/power-off state, the method further includes:
计算接收到的手势感应信号的个数;Calculate the number of gesture sensing signals received;
所述主板控制器在所述手势感应信号满足预设条件时,根据所述开机/关机状态,执行关机/开机操作包括:When the gesture sensing signal meets a preset condition, the mainboard controller performs a shutdown/startup operation according to the power-on/off state, including:
当所述手势感应信号的个数等于触控芯片的个数时,根据所述开机/关机状态,执行关机/开机操作;When the number of the gesture sensing signals is equal to the number of the touch control chips, a shutdown/power-on operation is performed according to the power-on/power-off state;
其中,若所述便携式设备处于关机状态,则执行开机操作;若所述便携式设备处于开机状态,则执行关机操作。If the portable device is in a power-off state, a power-on operation is performed; if the portable device is in a power-on state, a power-off operation is performed.
一种便携式设备,包括主板控制器、触控模块、键盘微控制器、键盘指示灯;A portable device includes a mainboard controller, a touch control module, a keyboard microcontroller, and a keyboard indicator light;
所述主板控制器用于,检测便携式设备的开机/关机状态;The mainboard controller is used to detect the power-on/power-off status of the portable device;
所述触控模块用于,检测用户在所述便携式设备的键盘上的手势操作,根据所述手势操作产生手势感应信号,将所述手势感应信号发送至所述键盘微控制器和所述主板控制器;The touch control module is used to detect the user's gesture operation on the keyboard of the portable device, generate a gesture sensing signal according to the gesture operation, and send the gesture sensing signal to the keyboard microcontroller and the mainboard controller;
所述键盘微控制器用于,根据所述手势感应信号控制键盘指示灯的工作状态;The keyboard microcontroller is used to control the working state of the keyboard indicator light according to the gesture sensing signal;
所述主板控制器还用于,在所述手势感应信号满足预设条件时,根据所述开机/关机状态,执行关机/开机操作。The mainboard controller is also used to perform a shutdown/power-on operation according to the power-on/power-off state when the gesture sensing signal meets a preset condition.
可选地,所述触控模块上包括N个触控芯片;Optionally, the touch control module includes N touch control chips;
所述N个触控芯片按照预设顺序检测用户在所述便携式设备的键盘上的手势操作;The N touch chips detect gesture operations of the user on the keyboard of the portable device in a preset order;
每一触控芯片在检测到手势操作时产生对应的手势感应信号,将所述手势感应信号发送至所述键盘微控制器和所述主板控制器,以及在未检测到手势操作时产生感应失败信号,将所述感应失败信号发送至所述键盘微控制器。Each touch chip generates a corresponding gesture sensing signal when a gesture operation is detected, and sends the gesture sensing signal to the keyboard microcontroller and the mainboard controller, and generates a sensing failure signal when no gesture operation is detected, and sends the sensing failure signal to the keyboard microcontroller.
可选地,所述键盘微控制器用于:Optionally, the keyboard microcontroller is used to:
当接收到首个触控芯片发送的手势感应信号时,控制键盘指示灯点亮;When the gesture sensing signal sent by the first touch chip is received, the control keyboard indicator light turns on;
当接收到第二个触控芯片至第N-1个触控芯片发送的手势感应信号时,维持键盘指示灯点亮;When receiving the gesture sensing signal sent by the second touch chip to the N-1th touch chip, the keyboard indicator light is kept on;
当接收到第N个触控芯片发送的手势感应信号时,控制键盘指示灯熄灭。When the gesture sensing signal sent by the Nth touch chip is received, the keyboard indicator light is controlled to turn off.
可选地,所述键盘微控制器还用于:Optionally, the keyboard microcontroller is further used for:
当接收到任意一个或多个触控芯片发送的感应失败信号时,控制键盘指示灯闪烁预设时间后熄灭。When a sensing failure signal is received from any one or more touch chips, the indicator light of the control keyboard flashes for a preset time and then turns off.
可选地,所述在所述主板控制器还用于:Optionally, the mainboard controller is further used for:
计算接收到的手势感应信号的个数;Calculate the number of gesture sensing signals received;
当所述手势感应信号的个数等于触控芯片的个数时,根据所述开机/关机状态,执行关机/开机操作;When the number of the gesture sensing signals is equal to the number of the touch control chips, a shutdown/power-on operation is performed according to the power-on/power-off state;
其中,若所述便携式设备处于关机状态,则执行开机操作;若所述便携式设备处于开机状态,则执行关机操作。If the portable device is in a power-off state, a power-on operation is performed; if the portable device is in a power-on state, a power-off operation is performed.
在本发明实施例中,所述便携式设备包括主板控制器、触控模块、键盘微控制器、键盘指示灯,在进行开关机时,所述主板控制器检测便携式设备的开机/关机状态,所述触控模块检测用户在所述便携式设备的键盘上的手势操作,根据所述手势操作产生手势感应信号,将所述手势感应信号发送至所述键盘微控制器和所述主板控制器,所述键盘微控制器根据所述手势感应信号控制键盘指示灯的工作状态;以及所述主板控制器在所述手势感应信号满足预设条件时,根据所述开机/关机状态,执行关机/开机操作;从而实现了基于手势操作的开关机方式,有效地解决了现有物理按键存在的误触发问题,方便了用户使用,以及优化了笔记本电脑壳体的工业设计。In an embodiment of the present invention, the portable device includes a mainboard controller, a touch control module, a keyboard microcontroller, and a keyboard indicator light. When turning the device on and off, the mainboard controller detects the power-on/off state of the portable device, the touch control module detects the gesture operation of the user on the keyboard of the portable device, generates a gesture sensing signal according to the gesture operation, and sends the gesture sensing signal to the keyboard microcontroller and the mainboard controller. The keyboard microcontroller controls the working state of the keyboard indicator light according to the gesture sensing signal; and when the gesture sensing signal meets a preset condition, the mainboard controller performs a power-off/power-on operation according to the power-on/power-off state; thereby realizing a power-on/power-off method based on gesture operation, effectively solving the problem of false triggering of existing physical buttons, facilitating user use, and optimizing the industrial design of the notebook computer shell.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
图1是本发明一实施例提供的便携式设备的组成结构图;FIG1 is a structural diagram of a portable device provided by an embodiment of the present invention;
图2是本发明一实施例提供的便携式设备开关机方法的实现流程图;FIG2 is a flowchart of a method for powering on and off a portable device according to an embodiment of the present invention;
图3是本发明一实施例提供的便携式设备开关机方法中步骤S204的实现流程图;3 is a flowchart of implementing step S204 in a method for powering on and off a portable device provided in an embodiment of the present invention;
图4是本发明一实施例提供的便携式设备开关机方法中步骤S205的实现流程图。FIG. 4 is a flowchart of the implementation of step S205 in the method for powering on and off a portable device provided in an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
以下对本实施例提供的便携式设备的手势开关机方法进行详细的描述。现有便携式设备采用物理按键进行开关机,存在误触发、使用不便的问题。鉴于此,本发明实施例对便携式设备的开关机方式进行优化,以手势开关机代替物理按键开关机,有效了解决了现有物理按键存在的误触发问题,方便了用户使用,以及优化了笔记本电脑壳体的工业设计。The following is a detailed description of the gesture power on/off method for a portable device provided by this embodiment. Existing portable devices use physical buttons for power on/off, which may cause false triggering and inconvenience in use. In view of this, the embodiment of the present invention optimizes the power on/off method of a portable device, replacing physical button power on/off with gesture power on/off, effectively solving the false triggering problem of existing physical buttons, facilitating user use, and optimizing the industrial design of the laptop computer housing.
图1是本发明提供的便携式设备,如图1所示,所述便携式设备包括主板控制器10、触控模块20、键盘微控制器30、键盘指示灯40;FIG. 1 is a portable device provided by the present invention. As shown in FIG. 1 , the portable device includes a mainboard controller 10, a touch control module 20, a keyboard microcontroller 30, and a keyboard indicator light 40;
所述主板控制器10用于,检测便携式设备的开机/关机状态;The mainboard controller 10 is used to detect the power-on/power-off status of the portable device;
所述触控模块20用于,检测用户在所述便携式设备的键盘上的手势操作,根据所述手势操作产生手势感应信号,将所述手势感应信号发送至所述键盘微控制器30和所述主板控制器10;The touch control module 20 is used to detect the user's gesture operation on the keyboard of the portable device, generate a gesture sensing signal according to the gesture operation, and send the gesture sensing signal to the keyboard microcontroller 30 and the mainboard controller 10;
所述键盘微控制器30用于,根据所述手势感应信号控制键盘指示灯40的工作状态;The keyboard microcontroller 30 is used to control the working state of the keyboard indicator light 40 according to the gesture sensing signal;
所述主板控制器10还用于,在所述手势感应信号满足预设条件时,根据所述开机/关机状态,执行关机/开机操作。The mainboard controller 10 is further configured to execute a shutdown/power-on operation according to the power-on/power-off state when the gesture sensing signal meets a preset condition.
在这里,所述触控模块20设置在所述便携式设备的键盘上,用于检测用户在所述便携式设备的键盘上的手势操作,根据所述手势操作产生手势感应信号,以完成对用户的手势操作的识别。所述键盘指示灯40设置在所述便携式设备的键盘上,优选为键盘上比较显眼的位置,受所述键盘控制器30的控制。在所述触控模块20产生手势感应信号时,所述键盘微控制器30根据所述手势感应信号产生对键盘指示灯40的控制信号,并将所述控制信号发送至所述键盘指示灯40,以改变及控所述制键盘指示灯40的工作状态。在这里,本实施例通过键盘指示灯40的点亮、熄灭状态来提示便携式设备的工作状态。Here, the touch control module 20 is arranged on the keyboard of the portable device, and is used to detect the gesture operation of the user on the keyboard of the portable device, and generate a gesture sensing signal according to the gesture operation to complete the recognition of the gesture operation of the user. The keyboard indicator light 40 is arranged on the keyboard of the portable device, preferably in a more conspicuous position on the keyboard, and is controlled by the keyboard controller 30. When the touch control module 20 generates a gesture sensing signal, the keyboard microcontroller 30 generates a control signal for the keyboard indicator light 40 according to the gesture sensing signal, and sends the control signal to the keyboard indicator light 40 to change and control the working state of the keyboard indicator light 40. Here, this embodiment prompts the working state of the portable device by the on and off state of the keyboard indicator light 40.
所述主板控制器10为便携式设备的主板的嵌入式控制器,简称主板EC,用于管理计算机的电源时序、工作状态、温度控制、电池管理等。在本实施例中,所述主板控制器10用于检测便携式设备的状态,包括开机状态和关机状态,以及接收手势感应信号,并在接收的触控模块20发送的手势感应信号满足预设条件时,根据所述手势感应信号切换便携式设备的状态,包括从开机状态切换为关机状态、从关机状态切换为开机状态。The motherboard controller 10 is an embedded controller of the motherboard of the portable device, referred to as the motherboard EC, and is used to manage the power timing, working status, temperature control, battery management, etc. of the computer. In this embodiment, the motherboard controller 10 is used to detect the state of the portable device, including the power-on state and the power-off state, and receive gesture sensing signals, and when the gesture sensing signals sent by the received touch module 20 meet the preset conditions, the state of the portable device is switched according to the gesture sensing signals, including switching from the power-on state to the power-off state, and switching from the power-off state to the power-on state.
可选地,作为本发明的一个优选示例,所述触控模块20上包括N个触控芯片;Optionally, as a preferred example of the present invention, the touch control module 20 includes N touch control chips;
所述N个触控芯片用于按照预设顺序检测用户在所述便携式设备的键盘上的手势操作;The N touch control chips are used to detect gesture operations of a user on the keyboard of the portable device in a preset order;
每一触控芯片在检测到手势操作时产生对应的手势感应信号,将所述手势感应信号发送至所述键盘微控制器30和所述主板控制器10,以及在未检测到手势操作时产生感应失败信号,将所述感应失败信号发送至所述键盘微控制器30。Each touch chip generates a corresponding gesture sensing signal when a gesture operation is detected, and sends the gesture sensing signal to the keyboard microcontroller 30 and the mainboard controller 10 , and generates a sensing failure signal when no gesture operation is detected, and sends the sensing failure signal to the keyboard microcontroller 30 .
在这里,所述触控芯片的个数N大于或等于3,具体根据所述触控芯片的电气特性决定,此处不做限制。本实施例在现有的便携式设备的键盘底下等间距的设置若干个触控芯片。每一所述触控芯片的结构和功能均相同,用于在检测到手势操作时产生对应的手势感应信号,将所述手势感应信号发送至所述键盘微控制器30和所述主板控制器10,以及在未检测到手势操作时产生感应失败信号,将所述感应失败信号发送至所述键盘微控制器30。本实施例预先设置所述若干个触控芯片的先后顺序,使得所述若干个触控芯片按照所述先后顺序感应用户在所述便携式设备上的键盘上的手势操作,并按照所述先后顺序向所述键盘微控制器30发送感应信号。Here, the number N of the touch chips is greater than or equal to 3, which is specifically determined according to the electrical characteristics of the touch chips and is not limited here. In this embodiment, a plurality of touch chips are arranged at equal intervals under the keyboard of an existing portable device. The structure and function of each of the touch chips are the same, and are used to generate a corresponding gesture sensing signal when a gesture operation is detected, and send the gesture sensing signal to the keyboard microcontroller 30 and the mainboard controller 10, and to generate a sensing failure signal when no gesture operation is detected, and send the sensing failure signal to the keyboard microcontroller 30. In this embodiment, the sequence of the plurality of touch chips is pre-set, so that the plurality of touch chips sense the gesture operation of the user on the keyboard of the portable device in the sequence, and send the sensing signal to the keyboard microcontroller 30 in the sequence.
示例性地,假设所述触控模块20包括3个触控芯片,其先后顺序为第一触控芯片、第二触控芯片、第三触控芯片。在检测手势操作时,先通过第一触控芯片感应,若感应到用户的手势操作时产生手势感应信号,并将所述手势感应信号发送至所述键盘微控制器30和所述主板控制器10;然后通过第二触控芯片感应,若感应到用户的手势操作时产生手势感应信号,并将所述手势感应信号发送至所述键盘微控制器30和所述主板控制器10;最后通过第三触控芯片感应,若感应到用户的手势操作时产生手势感应信号,并将所述手势感应信号发送至所述键盘微控制器30和所述主板控制器10。For example, it is assumed that the touch module 20 includes three touch chips, which are in the order of the first touch chip, the second touch chip, and the third touch chip. When detecting gesture operation, the first touch chip is used for sensing first. If a user's gesture operation is sensed, a gesture sensing signal is generated, and the gesture sensing signal is sent to the keyboard microcontroller 30 and the mainboard controller 10; then the second touch chip is used for sensing. If a user's gesture operation is sensed, a gesture sensing signal is generated, and the gesture sensing signal is sent to the keyboard microcontroller 30 and the mainboard controller 10; finally, the third touch chip is used for sensing. If a user's gesture operation is sensed, a gesture sensing signal is generated, and the gesture sensing signal is sent to the keyboard microcontroller 30 and the mainboard controller 10.
可选地,作为本发明的一个优选示例,所述键盘微控制器30用于:Optionally, as a preferred example of the present invention, the keyboard microcontroller 30 is used for:
当接收到首个触控芯片发送的手势感应信号时,控制键盘指示灯点亮;When the gesture sensing signal sent by the first touch chip is received, the control keyboard indicator light turns on;
当接收到第二个触控芯片至第N-1个触控芯片发送的手势感应信号时,维持键盘指示灯点亮;When receiving the gesture sensing signal sent by the second touch chip to the N-1th touch chip, the keyboard indicator light is kept on;
当接收到第N个触控芯片发送的手势感应信号时,控制键盘指示灯熄灭。When the gesture sensing signal sent by the Nth touch chip is received, the keyboard indicator light is controlled to turn off.
在这里,所述键盘控制器30用于根据所述手势感应信号控制键盘指示灯40的工作状态。由于所述触控模块20包括若干个触控芯片,在一个手势检测过程中,所述触控模块20会接收到若干次感应信号。其中,当键盘控制器30接收到第一个触控芯片的手势感应信号后,开始点亮键盘指示灯40,提示用户触控模块20开始采集手势信号。当键盘控制器30接收到第二个触控芯片至第N-1个触控芯片的手势感应信号时,维持键盘指示灯点亮状态,提示用户触控模块20持续采集手势信号;当所述键盘控制器30接收到第N个触控芯片的手势感应信号后,则熄灭键盘指示灯40,提示用户手势采集完成。Here, the keyboard controller 30 is used to control the working state of the keyboard indicator light 40 according to the gesture sensing signal. Since the touch module 20 includes a plurality of touch chips, the touch module 20 will receive a plurality of sensing signals during a gesture detection process. Among them, when the keyboard controller 30 receives the gesture sensing signal from the first touch chip, the keyboard indicator light 40 starts to light up, prompting the user that the touch module 20 starts to collect gesture signals. When the keyboard controller 30 receives gesture sensing signals from the second touch chip to the N-1th touch chip, the keyboard indicator light is kept on, prompting the user that the touch module 20 continues to collect gesture signals; when the keyboard controller 30 receives the gesture sensing signal from the Nth touch chip, the keyboard indicator light 40 is turned off, prompting the user that the gesture collection is completed.
进一步地,所述键盘微控制器30还用于:Furthermore, the keyboard microcontroller 30 is also used for:
当接收到任意一个或多个触控芯片发送的感应失败信号时,控制键盘指示灯闪烁预设时间后熄灭。When a sensing failure signal is received from any one or more touch chips, the indicator light of the control keyboard flashes for a preset time and then turns off.
在这里,如果任意一个或多个触控芯片未检测到手势操作而产生感应失败信号时,所述键盘微控制器30判定为手势感应采集失败,则控制键盘指示灯闪烁几秒钟后再熄灭,以提示用户重新进行手势识别。Here, if any one or more touch chips fail to detect the gesture operation and generate a sensing failure signal, the keyboard microcontroller 30 determines that the gesture sensing acquisition has failed, and controls the keyboard indicator light to flash for a few seconds and then turn off to prompt the user to perform gesture recognition again.
本实施例通过在便携式设备上设置若干个触控芯片,以及联合触控芯片和键盘指示灯,可以向用户提示手势感应的每一个阶段,有利于提升手势开关机的效果和用户体验感。This embodiment can prompt the user of each stage of gesture sensing by setting up several touch chips on the portable device and combining the touch chips and keyboard indicator lights, which is beneficial to improving the effect of gesture power on and off and user experience.
当最后的第N个触控芯片向所述键盘控制器30和主板控制器10发送手势感应信号后,所述键盘控制器30熄灭键盘指示灯40表示用户手势采集完成,同时所述主板控制器10根据接收到的手势感应信号进行开关机操作。所述主板控制器10还用于:When the last Nth touch chip sends a gesture sensing signal to the keyboard controller 30 and the mainboard controller 10, the keyboard controller 30 turns off the keyboard indicator light 40 to indicate that the user gesture collection is completed, and the mainboard controller 10 performs power on and off operations according to the received gesture sensing signal. The mainboard controller 10 is also used for:
计算接收到的手势感应信号的个数;Calculate the number of gesture sensing signals received;
当所述手势感应信号的个数等于触控芯片的个数时,根据所述开机/关机状态,执行关机/开机操作;When the number of the gesture sensing signals is equal to the number of the touch control chips, a shutdown/power-on operation is performed according to the power-on/power-off state;
其中,若所述便携式设备处于关机状态,则执行开机操作;若所述便携式设备处于开机状态,则执行关机操作。If the portable device is in a power-off state, a power-on operation is performed; if the portable device is in a power-on state, a power-off operation is performed.
如前所述,所述若干个触控芯片按照先后顺序感应用户在所述便携式设备上的键盘上的手势操作,并按照所述先后顺序向所述主板控制器10发送手势感应信号。所述主板控制器10统计所接收到的手势感应信号,并在所述手势感应信号的个数达到所述触控芯片的个数时,确认用户手势采集完成,则根据之前检测到的便携式设备的开/关机状态执行对应的关/开机操作。As mentioned above, the plurality of touch chips sense the user's gesture operation on the keyboard of the portable device in sequence, and send gesture sensing signals to the mainboard controller 10 in the sequence. The mainboard controller 10 counts the received gesture sensing signals, and when the number of the gesture sensing signals reaches the number of the touch chips, it is confirmed that the user gesture collection is completed, and then the corresponding power-off/power-on operation is performed according to the previously detected power-on/power-off state of the portable device.
上述便携式设备中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。Each module in the portable device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
本发明实施例在进行开关机时,通过主板控制器检测便携式设备的开机/关机状态,触控模块检测用户在所述便携式设备的键盘上的手势操作,根据所述手势操作产生手势感应信号,将所述手势感应信号发送至所述键盘微控制器和所述主板控制器,然后通过所述键盘微控制器根据所述手势感应信号控制键盘指示灯的工作状态;以及通过所述主板控制器在所述手势感应信号满足预设条件时,根据所述开机/关机状态,执行关机/开机操作;从而实现了基于手势操作的开关机方式,有效地解决了现有物理按键存在的误触发问题,方便了用户使用,以及优化了笔记本电脑壳体的工业设计。When the embodiment of the present invention is turned on or off, the mainboard controller detects the power-on/off state of the portable device, the touch module detects the gesture operation of the user on the keyboard of the portable device, generates a gesture sensing signal according to the gesture operation, sends the gesture sensing signal to the keyboard microcontroller and the mainboard controller, and then controls the working state of the keyboard indicator light according to the gesture sensing signal through the keyboard microcontroller; and when the gesture sensing signal meets the preset conditions, the mainboard controller performs the power-off/power-on operation according to the power-on/power-off state; thereby realizing a power-on/power-off method based on gesture operation, effectively solving the problem of false triggering of existing physical buttons, facilitating user use, and optimizing the industrial design of the notebook computer shell.
可选地,作为本发明的一个优选示例,如图2所示,所述便携式设备的开关机方法包括:Optionally, as a preferred example of the present invention, as shown in FIG2 , the power on/off method of the portable device includes:
在步骤S201中,所述主板控制器检测便携式设备的开机/关机状态。In step S201, the mainboard controller detects the power-on/power-off state of the portable device.
在步骤S202中,所述触控模块检测用户在所述便携式设备的键盘上的手势操作,根据所述手势操作产生手势感应信号。In step S202, the touch control module detects a gesture operation performed by a user on a keyboard of the portable device, and generates a gesture sensing signal according to the gesture operation.
在步骤S203中,所述触控模块将所述手势感应信号发送至所述键盘微控制器和所述主板控制器。In step S203, the touch control module sends the gesture sensing signal to the keyboard microcontroller and the mainboard controller.
在步骤S204中,所述键盘微控制器根据所述手势感应信号控制键盘指示灯的工作状态。In step S204, the keyboard microcontroller controls the working state of the keyboard indicator light according to the gesture sensing signal.
在步骤S205中,所述主板控制器在所述手势感应信号满足预设条件时,根据所述开机/关机状态,执行关机/开机操作。In step S205, when the gesture sensing signal meets a preset condition, the mainboard controller performs a shutdown/power-on operation according to the power-on/power-off state.
可选地,如图3所示,步骤S204所述的键盘微控制器根据所述手势感应信号控制键盘指示灯的工作状态包括:Optionally, as shown in FIG. 3 , the keyboard microcontroller in step S204 controls the working state of the keyboard indicator light according to the gesture sensing signal, including:
在步骤S301中,当接收到首个触控芯片发送的手势感应信号时,控制键盘指示灯点亮;In step S301, when the gesture sensing signal sent by the first touch chip is received, the keyboard indicator light is controlled to light up;
在步骤S302中,当接收到第二个触控芯片至第N-1个触控芯片发送的手势感应信号时,维持键盘指示灯点亮;In step S302, when the gesture sensing signal sent by the second touch chip to the N-1th touch chip is received, the keyboard indicator light is kept on;
在步骤S303中,当接收到第N个触控芯片发送的手势感应信号时,控制键盘指示灯熄灭。In step S303, when the gesture sensing signal sent by the Nth touch chip is received, the keyboard indicator light is controlled to turn off.
可选地,步骤S204所述的键盘微控制器根据所述手势感应信号控制键盘指示灯的工作状态还包括:Optionally, the keyboard microcontroller in step S204 controls the working state of the keyboard indicator light according to the gesture sensing signal, further comprising:
当接收到任意一个或多个触控芯片发送的感应失败信号时,控制键盘指示灯闪烁预设时间后熄灭。When a sensing failure signal is received from any one or more touch chips, the indicator light of the control keyboard flashes for a preset time and then turns off.
可选地,如图4所示,步骤S205所述的主板控制器在所述手势感应信号满足预设条件时,根据所述开机/关机状态,执行关机/开机操作之前,所述方法还包括:Optionally, as shown in FIG. 4 , when the gesture sensing signal meets a preset condition, before the mainboard controller in step S205 performs a shutdown/startup operation according to the power-on/off state, the method further includes:
在步骤S401中,计算接收到的手势感应信号的个数。In step S401, the number of received gesture sensing signals is calculated.
步骤S205所述的主板控制器在所述手势感应信号满足预设条件时,根据所述开机/关机状态,执行关机/开机操作包括:When the gesture sensing signal meets the preset condition, the motherboard controller in step S205 performs the shutdown/startup operation according to the power-on/off state, including:
在步骤S402中,当所述手势感应信号的个数等于触控芯片的个数时,根据所述开机/关机状态,执行关机/开机操作;In step S402, when the number of the gesture sensing signals is equal to the number of touch control chips, a shutdown/power-on operation is performed according to the power-on/power-off state;
其中,若所述便携式设备处于关机状态,则执行开机操作;若所述便携式设备处于开机状态,则执行关机操作。If the portable device is in a power-off state, a power-on operation is performed; if the portable device is in a power-on state, a power-off operation is performed.
上述图2至图4实施例中的各步骤具体请参见上述图1实施例的叙述,此处不再赘述。For details of the steps in the embodiments of FIG. 2 to FIG. 4 , please refer to the description of the embodiment of FIG. 1 , which will not be repeated here.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本发明所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010686850.7A CN113946203B (en) | 2020-07-16 | 2020-07-16 | Gesture switching-on and switching-off method of portable equipment and portable equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010686850.7A CN113946203B (en) | 2020-07-16 | 2020-07-16 | Gesture switching-on and switching-off method of portable equipment and portable equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113946203A CN113946203A (en) | 2022-01-18 |
| CN113946203B true CN113946203B (en) | 2024-04-16 |
Family
ID=79326360
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010686850.7A Active CN113946203B (en) | 2020-07-16 | 2020-07-16 | Gesture switching-on and switching-off method of portable equipment and portable equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113946203B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102654291A (en) * | 2012-04-24 | 2012-09-05 | 美的集团有限公司 | Electromagnetic oven capable of being started up in sliding mode and control method thereof |
| CN103631508A (en) * | 2012-08-24 | 2014-03-12 | 纬创资通股份有限公司 | Portable electronic device and its automatic unlocking method |
| CN108388364A (en) * | 2018-01-18 | 2018-08-10 | 深圳市志凌伟业技术股份有限公司 | Touch control panel device and its electrode structure |
| CN108509036A (en) * | 2018-03-22 | 2018-09-07 | 四川斐讯信息技术有限公司 | It is a kind of based on all touch screen curtain and the electronic equipment without button and its control method |
| CN111530067A (en) * | 2020-04-02 | 2020-08-14 | 努比亚技术有限公司 | Method for controlling game by multiple keys, mobile terminal and computer readable storage medium |
-
2020
- 2020-07-16 CN CN202010686850.7A patent/CN113946203B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102654291A (en) * | 2012-04-24 | 2012-09-05 | 美的集团有限公司 | Electromagnetic oven capable of being started up in sliding mode and control method thereof |
| CN103631508A (en) * | 2012-08-24 | 2014-03-12 | 纬创资通股份有限公司 | Portable electronic device and its automatic unlocking method |
| CN108388364A (en) * | 2018-01-18 | 2018-08-10 | 深圳市志凌伟业技术股份有限公司 | Touch control panel device and its electrode structure |
| CN108509036A (en) * | 2018-03-22 | 2018-09-07 | 四川斐讯信息技术有限公司 | It is a kind of based on all touch screen curtain and the electronic equipment without button and its control method |
| CN111530067A (en) * | 2020-04-02 | 2020-08-14 | 努比亚技术有限公司 | Method for controlling game by multiple keys, mobile terminal and computer readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113946203A (en) | 2022-01-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2506114B1 (en) | Method and device for intelligent terminal reset | |
| US20130287273A1 (en) | Anti-misoperation system and method using same | |
| US9547574B2 (en) | Power shutdown prediction for non-volatile storage devices | |
| CN104182243B (en) | Sleep state control system, computer system and sleep state detection method thereof | |
| US9003213B2 (en) | Battery discharging method | |
| CN106535434A (en) | Method for controlling flash lamp of mobile terminal and mobile terminal | |
| CN111596851B (en) | Control method and device of electronic equipment, electronic equipment and storage medium | |
| CN108647047A (en) | A kind of awakening method and system based on mobile terminal | |
| CN113946203B (en) | Gesture switching-on and switching-off method of portable equipment and portable equipment | |
| CN108733474A (en) | Switching method and device, mobile terminal equipment and readable storage medium | |
| CN105302655A (en) | System crash processing method and device | |
| TW201447758A (en) | Method, apparatus, and computer program product for booting an information handling system | |
| WO2023024863A1 (en) | System chip and electronic device | |
| US12153532B2 (en) | Method for controlling a target memory by programmably selecting an action execution circuit module corresponding to a triggered preset state | |
| CN106776228A (en) | The method for security protection and mobile terminal of a kind of mobile terminal | |
| CN106326049B (en) | A fault location method and terminal | |
| CN101295254B (en) | Computer system and method for switching basic input and output system by using power button | |
| TWI736088B (en) | Electronic device and test mode enabling method thereof | |
| CN110389705B (en) | Computer device, server device, and method for controlling hybrid memory unit thereof | |
| US12554662B2 (en) | Processing method and electronic device | |
| US20240394204A1 (en) | Processing method and electronic device | |
| CN113885683A (en) | Intelligent terminal, hard reset control method and device and computer equipment | |
| CN105764128A (en) | Power supply control method and device of mobile terminal | |
| CN100538715C (en) | Method and device for implementing module configuration of electronic equipment | |
| TW201317762A (en) | Electronic device and activating method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |