CN114442830A - Electronic device and control method thereof - Google Patents

Electronic device and control method thereof Download PDF

Info

Publication number
CN114442830A
CN114442830A CN202011204761.0A CN202011204761A CN114442830A CN 114442830 A CN114442830 A CN 114442830A CN 202011204761 A CN202011204761 A CN 202011204761A CN 114442830 A CN114442830 A CN 114442830A
Authority
CN
China
Prior art keywords
electronic device
motion
motion data
condition
touch
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.)
Pending
Application number
CN202011204761.0A
Other languages
Chinese (zh)
Inventor
萧雯方
吴易锡
黄馨颐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Asustek Computer Inc
Original Assignee
Asustek Computer Inc
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 Asustek Computer Inc filed Critical Asustek Computer Inc
Priority to CN202011204761.0A priority Critical patent/CN114442830A/en
Publication of CN114442830A publication Critical patent/CN114442830A/en
Pending legal-status Critical Current

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/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

Abstract

The present disclosure provides an electronic device. The electronic device comprises a touch module, an action sensor, a memory and a control unit. The touch module is used for generating a touch signal. The motion sensor is used for detecting the motion of the electronic device to generate motion data. The memory stores a preset action condition. The control unit is electrically connected with the touch module, the action sensor and the memory and used for receiving the motion data; and judging whether the motion data meet preset action conditions, and if so, generating a virtual touch signal. The present disclosure also provides a control method for the electronic device.

Description

Electronic device and control method thereof
Technical Field
The present disclosure relates to an electronic device and a control method thereof.
Background
In order to meet the requirement of portability, the mobile device should not be too large in size, which is likely to cause difficulty in touch operation of a user. Particularly, when playing a game, it is difficult for a user to perform continuous touch with fingers within a limited touch range of the mobile device, which affects the operation efficiency.
Disclosure of Invention
The present disclosure provides an electronic device. The electronic device comprises a touch module, an action sensor, a memory and a control unit. The touch module is used for generating a touch signal. The motion sensor is used for detecting the motion of the electronic device to generate motion data. The memory stores a preset action condition. The control unit is electrically connected with the touch module, the action sensor and the memory and used for receiving the motion data; and judging whether the motion data meet preset action conditions, and if so, generating a virtual touch signal.
The present disclosure also provides a control method for an electronic device. The control method comprises the following steps: setting a preset action condition; detecting the motion of the electronic device to generate motion data; and judging whether the motion data meet preset action conditions, and if so, generating a virtual touch signal.
Through the electronic device and the control method disclosed by the invention, when a user inputs through the touch module, the user can simultaneously utilize the action sensor to replace touch to generate a virtual touch signal for inputting so as to increase the operation efficiency.
Drawings
FIG. 1 is a block diagram of an embodiment of an electronic device according to the present disclosure;
FIG. 2 is a schematic flow chart diagram illustrating an embodiment of a control method of the present disclosure;
FIG. 3 is a flow chart illustrating an embodiment of a determining process for determining whether the exercise data meets the predetermined action condition according to the present disclosure;
FIG. 4 is a waveform diagram illustrating a process of determining whether the exercise data meets the predetermined action condition;
FIG. 5 is a flowchart illustrating another embodiment of a determining process for determining whether the exercise data meets the predetermined action condition according to the present disclosure; and
fig. 6 is a flowchart illustrating another embodiment of the control method of the present disclosure.
Detailed Description
Specific embodiments of the present disclosure will be described in more detail below with reference to the schematic drawings. Advantages and features of the present disclosure will become apparent from the following description and claims. It is to be noted that the drawings are in a very simplified form and are not to precise scale, which is merely for the purpose of facilitating and distinctly claiming the embodiments of the present disclosure.
Fig. 1 is a block diagram of an electronic device according to an embodiment of the disclosure. As shown in the drawings, the electronic device 100 of the present embodiment includes a touch module 120, a motion sensor 140, a memory 160, and a control unit 180. In one embodiment, the electronic device 100 can be a handheld device, such as a mobile phone, a tablet computer, a handheld game console, and the like.
The touch module 120 is used for generating a touch signal S1. In one embodiment, the touch module 120 may include a touch panel (touch panel). But is not limited thereto. In one embodiment, the touch module 120 may include a touch pad (touch pad).
The motion sensor 140 is used for detecting the motion of the electronic device 100 to generate motion data D1. In one embodiment, the motion sensor 140 is an accelerometer. But is not limited thereto. In another embodiment, the motion sensor 140 may also be a gyroscope.
The memory 160 stores a predetermined operation condition a 1. The predetermined action condition a1 corresponds to a predetermined action mode for determining whether the action of the user is consistent with the predetermined action mode. In one embodiment, the memory 160 may be a random access memory, a solid state drive, or other memory devices commonly used in handheld devices.
The control unit 180 is electrically connected to the touch module 120, the motion sensor 140 and the memory 160. The control unit 180 receives the motion data D1 from the motion sensor 140 and obtains the preset motion condition a1 from the memory 160 to determine whether the motion data D1 satisfies the preset motion condition a1, and further determine whether the motion performed by the user meets the preset motion mode. In one embodiment, the control unit 180 may be a processor (processor). When the motion data D1 meets the preset motion condition a1, the control unit 180 generates a virtual touch signal S2 to simulate a signal generated by the touch module 120 in a certain touch mode and a certain touch position. Details of the preset action mode, the preset action condition a1 and the virtual touch signal S2 will be described in more detail in the following paragraphs corresponding to the control method.
Fig. 2 is a schematic flow chart of an embodiment of the control method of the present disclosure. The control method is suitable for the electronic device 100 shown in fig. 1. The control method comprises the following steps.
First, as shown in step S120, a preset operation condition a1 is set. The predetermined action condition a1 corresponds to a predetermined action mode for determining whether the action of the user is consistent with the predetermined action mode.
In one embodiment, the predetermined motion mode corresponding to the predetermined motion condition a1 is a single axis motion mode, such as a Z-axis motion mode. In another embodiment, the predetermined motion mode corresponding to the predetermined motion condition a1 is a Z-axis shaking mode. According to the behavior inertia motion, the Z-axis shaking mode presents a waveform which returns to the fixed point from top to bottom, so as to form an output signal. Taking the Z-axis shaking mode as an example, in one embodiment, the predetermined motion condition a1 may include an acceleration variation Δ y and a motion time t1 to determine whether the motion of the user matches the predetermined motion mode.
Subsequently, in step S140, the motion of the electronic device 100 is detected to generate motion data D1. In one embodiment, step S140 can be performed by the motion sensor 140.
Next, as shown in step S160, it is determined whether the motion data D1 meets the preset motion condition a 1. If yes, the process proceeds to step S170, and a virtual touch signal S2 is generated. If not, the process returns to step S140 to regenerate the motion data D1. In an embodiment, steps S160 and S170 can be performed by the control unit 180 and the touch module 120.
The virtual touch signal S2 may include a touch position data. The touch position data may be a predetermined touch coordinate on the touch panel or the touch pad, or a predetermined touch range. In an embodiment, the predetermined touch range may be a square range or a circular range. The touch mode presented by the virtual touch signal S2 may be a click, a single-area continuous click, a track-type click (simulating sliding or dragging), a pressure-type click (pressing), and the like. In one embodiment, the virtual touch signal S2 can be set by a user and stored in the memory 160. In one embodiment, the user can directly perform the setting through the touch module 120.
Referring to fig. 3 and fig. 4 together, fig. 3 is a flowchart illustrating an embodiment of a determining process for determining whether the exercise data D1 meets the predetermined action condition a1 according to the present disclosure, and fig. 4 is a waveform diagram illustrating a determining process for determining whether the exercise data D1 meets the predetermined action condition a1 according to the present disclosure. The motion data D1 of the present embodiment is Z-axis acceleration data. The vertical axis of the wave plot is the Z-axis acceleration value.
The process continues to step S140 of fig. 2. First, as shown in step S150, it is determined whether or not the motion data D1 meets a start condition. If the motion data D1 does not meet the start condition, the process returns to step S140 to re-detect the motion data D1. If the motion data D1 meets the start condition, the process proceeds to step S162 to determine whether the motion data D1 meets the predetermined operation condition a 1. In one embodiment, the start condition is whether the variation of the motion data D1 exceeds a start variation Δ x to distinguish between the static state and the motion state of the electronic device 100.
In step S162, the process first determines whether the variation of the motion data D1 reaches an acceleration variation Δ y. The acceleration variation Δ y is larger than the start variation Δ x. If the variation of the motion data D1 is smaller than the acceleration variation Δ y, the process returns to step S140 to re-detect the motion data D1. If the variation of the motion data D1 reaches the acceleration variation Δ y, the process proceeds to step S164.
In step S164, the process determines whether the elapsed time Δ T for the motion data D1 to reach the acceleration change Δ y is less than or equal to an action time T1. If the elapsed time Δ T for the motion data D1 to reach the acceleration variation Δ y is greater than the action time T1, the process returns to step S140 to re-detect the motion data D1. If the elapsed time Δ T when the motion data D1 reaches the acceleration variation Δ y is less than or equal to the action time T1, it is determined that the motion data D1 meets the preset action condition a1, and the process proceeds to step S170 to generate a virtual touch signal S2.
In one embodiment, the accuracy of the determination is improved. Before the step of generating the motion data D1 in step S140, the method further includes setting the current value of the motion sensor 140 to an initial value to reflect different situations of the user, such as lying or sitting.
In one embodiment, the predetermined operation condition a1 can be set by a user and stored in the memory 160. In one embodiment, the user can directly perform the setting through the touch module 120.
Fig. 5 is a flowchart illustrating another embodiment of the determining process of determining whether the exercise data D1 meets the preset action condition a1 according to the present disclosure. The steps in the figure that are the same as in figure 3 are indicated by the same reference numerals. In step S261, compared to the embodiment of fig. 3, in the embodiment, when the exercise data D1 meets the start condition and the exercise data D1 meets the preset action condition a1, a time interval t2 is calculated first, and the waveform with the largest amplitude (i.e., the largest acceleration change) in the time interval t2 is captured as the input signal for determination, and the remaining secondary waveforms are ignored.
Subsequently, in step S262, similar to step S162 of fig. 3, the process first determines whether the variation corresponding to the waveform reaches the acceleration variation Δ y. If the variation corresponding to the waveform is smaller than the acceleration variation Δ y, the process returns to step S140 to re-detect the motion data D1. If the variation corresponding to the waveform reaches the acceleration variation Δ y, the process proceeds to step S264.
In step S264, the process determines whether the elapsed time for the waveform to reach the acceleration variation Δ y is less than or equal to an action time t 1. If the elapsed time for the waveform to reach the acceleration variation Δ y is greater than the action time t1, the process returns to step S140 to re-detect the motion data D1. If the elapsed time of the waveform reaching the acceleration variation Δ y is less than or equal to the action time t1, it is determined that the motion data D1 meets the preset action condition a1, and the process proceeds to step S170 to generate a virtual touch signal S2.
Fig. 6 is a flowchart illustrating another embodiment of the control method of the present disclosure. The steps in the figure that are the same as in figure 2 are identified by the same reference numerals. In order to avoid the electronic device 100 from malfunctioning due to the motion data D1 received by the motion sensor 140 during normal operation, compared to the embodiment shown in fig. 2, the embodiment further includes a determining step S350 after the motion data D1 is generated in step S140, so as to determine whether the electronic device 100 is in a specific operation mode, such as horizontal holding. If the specific operation mode is selected, the process proceeds to step S360 to determine whether the motion data D1 satisfies the predetermined motion condition a 1. If so, in step S370, a virtual touch signal S2 is generated. If not, the process returns to step S140 to regenerate the motion data D1.
The embodiment of fig. 6 determines whether to generate the virtual touch signal S2 by determining whether the electronic device 100 is in a specific operation mode. Although the disclosure is not so limited. In another embodiment, to avoid the motion data D1 received by the motion sensor 140 causing the touch module 120 to malfunction, the electronic device 100 may be configured to generate the virtual touch signal S2 after receiving the activation signal. The activation signal may be a gesture signal received by the touch module 120 or a specific motion pattern detected by the motion sensor 140.
With the electronic device and the control method of the present disclosure, when a user inputs through the touch module 120, the motion sensor 140 may be used to generate the virtual touch signal S2 instead of touch for input, so as to increase the operation efficiency.
Although the present invention has been described with reference to the above embodiments, it should be understood that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An electronic device, comprising:
the touch control module is used for generating a touch control signal;
the motion sensor is used for detecting the motion of the electronic device to generate motion data;
the memory stores preset action conditions; and
the control unit is electrically connected with the touch module, the action sensor and the memory and is used for:
receiving the motion data; and
and judging whether the motion data meet the preset action condition, if so, generating a virtual touch signal.
2. The electronic device of claim 1, wherein the motion sensor is an accelerometer or a gyroscope.
3. The electronic device of claim 1, wherein the predetermined operating condition corresponds to a single-axis operating mode.
4. The electronic device of claim 3, wherein the single-axis operation mode is a wobbling mode.
5. The electronic device of claim 1, wherein the motion data is single-axis motion data.
6. The electronic device of claim 1, wherein the exercise data meets a start condition before the control unit determines whether the exercise data meets the predetermined action condition.
7. The electronic device of claim 1, wherein the virtual touch signal comprises touch position data and touch mode data.
8. The electronic device of claim 1, wherein the predetermined operation condition includes an acceleration variation and an operation time.
9. A control method for an electronic device, the control method comprising:
setting a preset action condition;
detecting the motion of the electronic device to generate motion data; and
and judging whether the motion data meet the preset action condition, if so, generating a virtual touch signal.
10. The control method of claim 9, further comprising: and when the motion data meet the starting condition, starting to judge whether the motion data meet the preset action condition.
CN202011204761.0A 2020-11-02 2020-11-02 Electronic device and control method thereof Pending CN114442830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011204761.0A CN114442830A (en) 2020-11-02 2020-11-02 Electronic device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011204761.0A CN114442830A (en) 2020-11-02 2020-11-02 Electronic device and control method thereof

Publications (1)

Publication Number Publication Date
CN114442830A true CN114442830A (en) 2022-05-06

Family

ID=81358250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011204761.0A Pending CN114442830A (en) 2020-11-02 2020-11-02 Electronic device and control method thereof

Country Status (1)

Country Link
CN (1) CN114442830A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096490A (en) * 2009-12-09 2011-06-15 华硕电脑股份有限公司 Method for controlling touch module and electronic device
US20160041620A1 (en) * 2014-08-08 2016-02-11 Panasonic Intellectual Property Management Co., Ltd. Input apparatus, device control method, recording medium, and mobile apparatus
TW201626158A (en) * 2015-01-05 2016-07-16 金寶電子工業股份有限公司 Wearable apparatus, display method thereof, and control method thereof
US20170205872A1 (en) * 2015-07-20 2017-07-20 Boe Technology Group Co., Ltd. Display apparatus and method for controlling power usage of the display apparatus
CN108920228A (en) * 2018-05-28 2018-11-30 云谷(固安)科技有限公司 A kind of control instruction input method and input unit
US20190056862A1 (en) * 2017-08-17 2019-02-21 The Boeing Company Device operational control systems and methods
CN110109563A (en) * 2018-02-01 2019-08-09 奇手公司 A kind of method and system of the contact condition of determining object relative to touch sensitive surface
WO2020080732A1 (en) * 2018-10-16 2020-04-23 주식회사 콕스스페이스 Interface method for controlling virtual content
CN111225105A (en) * 2018-11-26 2020-06-02 奇酷互联网络科技(深圳)有限公司 Method for controlling screen work, mobile terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096490A (en) * 2009-12-09 2011-06-15 华硕电脑股份有限公司 Method for controlling touch module and electronic device
US20160041620A1 (en) * 2014-08-08 2016-02-11 Panasonic Intellectual Property Management Co., Ltd. Input apparatus, device control method, recording medium, and mobile apparatus
TW201626158A (en) * 2015-01-05 2016-07-16 金寶電子工業股份有限公司 Wearable apparatus, display method thereof, and control method thereof
US20170205872A1 (en) * 2015-07-20 2017-07-20 Boe Technology Group Co., Ltd. Display apparatus and method for controlling power usage of the display apparatus
US20190056862A1 (en) * 2017-08-17 2019-02-21 The Boeing Company Device operational control systems and methods
CN110109563A (en) * 2018-02-01 2019-08-09 奇手公司 A kind of method and system of the contact condition of determining object relative to touch sensitive surface
CN108920228A (en) * 2018-05-28 2018-11-30 云谷(固安)科技有限公司 A kind of control instruction input method and input unit
WO2020080732A1 (en) * 2018-10-16 2020-04-23 주식회사 콕스스페이스 Interface method for controlling virtual content
CN111225105A (en) * 2018-11-26 2020-06-02 奇酷互联网络科技(深圳)有限公司 Method for controlling screen work, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
US10365720B2 (en) User interface impact actuator
US10175760B2 (en) High definition haptic effects generation using primitives
EP2778847B1 (en) Contactor-based haptic feedback generation
JP4964964B2 (en) Tactile effects by proximity sensing
US20120249461A1 (en) Dedicated user interface controller for feedback responses
KR101960836B1 (en) Localized haptic feedback
US20090051667A1 (en) Method and apparatus for providing input feedback in a portable terminal
US20150378436A1 (en) Input device, control method for the same, and program
JP2012146156A (en) Information processor, control method and program thereof, and recording medium
CN107239166A (en) It is a kind of to adjust method and the mobile terminal that interface of mobile terminal is shown
CN107340854B (en) Portable electronic device and control method thereof
CN114442830A (en) Electronic device and control method thereof
TWI797494B (en) Electronic device and control method thereof
CN103729104B (en) Electronic apparatus provided with resistive film type touch panel
EP2649505A1 (en) User interface
CN116324704A (en) Display device and control method thereof
WO2019225328A1 (en) Measurement device and control method for measurement device
CN109710170A (en) A kind of method, apparatus, terminal device and the medium of touch control operation identification
CN105786221B (en) Information processing method and electronic equipment
US20230152931A1 (en) Touch state detection circuit, electronic device including touch state detection circuit, and touch state detection method
CN105373327B (en) A kind of information processing method and electronic equipment
CN114939275A (en) Object interaction method, device, equipment and storage medium

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