Touch controller of handheld device and control method thereof

文档序号:7068 发布日期:2021-09-17 浏览:26次 中文

1. A touch controller for a handheld device, comprising:

the sensor is used for sensing touch on an operation surface of a body of the handheld device so as to output a touch signal; and

the processor receives the touch signal to generate a control command;

the processor also receives a displacement signal generated corresponding to a displacement of the body, accumulates a plurality of displacement signals in a movement time interval, compares the accumulated displacement signals with a movement threshold, and disables the touch signal for a first time interval when the accumulated displacement signals are greater than the movement threshold.

2. The touch controller of claim 1, wherein the processor stops generating the control command during the first time interval when the processor disables the touch signal.

3. The touch controller of claim 1, wherein the processor stops receiving the touch signal during the first time interval when the processor disables the touch signal.

4. The touch controller of claim 1, wherein when the processor disables the touch signal, the processor resets the received touch signal in the first time interval to indicate no touch.

5. The touch controller of claim 1, wherein the processor disables the sensor for the first time interval when the accumulated plurality of displacement signals is greater than the movement threshold.

6. The touch controller of claim 1, further comprising:

the key is connected with the processor, and when the key is pressed, the key outputs a key signal to the processor;

the processor judges that the key is pressed so as to disable the touch signal in a second time interval and outputs a key control signal.

7. The touch controller of claim 1, wherein the movement threshold is stored in a storage unit.

8. The touch controller of claim 7, wherein the storage unit comprises a plurality of movement threshold values, and the movement threshold value is set to one of the movement threshold values based on an operating mode of the handheld device.

9. The touch controller of claim 1, wherein the movement time interval is stored in a storage unit.

10. The touch controller of claim 9, wherein the storage unit comprises a plurality of moving time interval values, and the moving time interval is set to one of the moving time interval values based on an operation mode of the handheld device.

11. A control method applied to a touch controller of a handheld device, the touch controller comprising a sensor and a processor, the sensor being used for sensing a touch on an operation surface of a body of the handheld device to output a touch signal, and the control method executed by the processor comprising:

receiving the touch signal sent by the sensor to generate a control command; and

the method comprises the steps of receiving a displacement signal generated corresponding to the displacement of the body, accumulating a plurality of displacement signals in a movement time interval, comparing the accumulated displacement signals with a movement threshold value, and disabling the touch signal in a first time interval when the accumulated displacement signals are larger than the movement threshold value.

12. The control method of claim 11, wherein the processor stops generating the control command during the first time interval when the processor disables the touch signal.

13. The method of claim 11, wherein the processor stops receiving the touch signal during the first time interval when the processor disables the touch signal.

14. The method as claimed in claim 11, wherein when the processor disables the touch signal, the processor resets the received touch signal in the first time interval to indicate no touch.

15. The control method of claim 11, wherein the processor disables the sensor for the first time interval when the accumulated plurality of displacement signals is greater than the movement threshold.

16. The control method according to claim 11, further comprising:

judging that at least one key is pressed so as to disable the touch signal in a second time interval and output a key control signal;

when the key is pressed, the key outputs a key signal to the processor.

17. The control method of claim 11, wherein the movement threshold is stored in a storage unit.

18. The control method of claim 17, wherein the storage unit includes a plurality of motion threshold values, and the motion threshold value is set to one of the motion threshold values based on an operating mode of the handheld device.

19. The control method of claim 11, wherein the moving time interval is stored in a storage unit.

20. The control method of claim 19, wherein the storage unit includes a plurality of moving time interval values, and the moving time interval is set to one of the moving time interval values based on an operation mode of the handheld device.

Background

To meet ergonomic requirements, the surface of the touch mouse may be designed to fit the palm of the user's hand. In this case, the finger shape of the finger detected from the surface of the touch mouse is not the same as the finger shape of the fingertip detected by the touch panel. Further, when the user operates the touch mouse, a finger is always placed on the surface of the touch mouse to operate the mouse, which may cause a wrong gesture command of the finger movement unintended by the user.

Disclosure of Invention

The touch controller of the handheld device and the control method thereof can use the physical keys and the touch detection to assist the adjustment of the gesture command so as to avoid the occurrence of wrong gesture command.

The embodiment of the invention provides a touch controller of a handheld device, which comprises a sensor and a processor, wherein the sensor is used for sensing touch on an operation surface of a body of the handheld device so as to output a touch signal, and the processor is used for receiving the touch signal so as to generate a control command. The processor also receives a displacement signal generated corresponding to a displacement of the body, accumulates a plurality of displacement signals in a movement time interval, compares the accumulated displacement signals with a movement threshold, and disables the touch signal for a first time interval when the accumulated displacement signals are greater than the movement threshold.

An embodiment of the present invention provides a control method, applied to a touch controller of a handheld device, where the handheld device includes a sensor and a processor, the sensor is used for sensing touch on an operation surface of a body of the handheld device to output a touch signal, and the control method executed by the processor includes: receiving a touch signal sent by the sensor to generate a control command; and receiving a displacement signal generated corresponding to a displacement of the body, accumulating a plurality of displacement signals in a movement time interval, comparing the accumulated displacement signals with a movement threshold, and disabling the touch signal in a first time interval when the accumulated displacement signals are greater than the movement threshold.

For a further understanding of the techniques, methods and technical effects of the invention to achieve the stated objectives, it is believed that the objects, features and characteristics of the invention will be more fully understood from the following detailed description of the invention and the accompanying drawings, which are provided for purposes of illustration and description and are not intended to be limiting.

Drawings

FIG. 1 is a schematic view of a handheld device of the present invention.

Fig. 2 is a system block diagram of a touch controller of a handheld device according to an embodiment of the invention.

Fig. 3 is a flowchart of a control method of an embodiment of the present invention.

Fig. 4 is a flowchart of a control method according to another embodiment of the present invention.

Detailed Description

Various exemplary embodiments will be described more fully hereinafter with reference to the accompanying drawings, in which some exemplary embodiments are shown. The inventive concept may, however, be embodied in many different forms and should not be construed as limited to the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the inventive concept to those skilled in the art.

FIG. 1 is a schematic view of a handheld device of the present invention. Fig. 2 is a system block diagram of a touch controller of a handheld device according to an embodiment of the invention. Referring to fig. 1 and 2, the handheld device 1 includes a body 2 having an operation surface 3, and the touch controller of the handheld device 1 includes a touch sensor 4, a displacement sensor 5, a processor 6, at least one key 7 and a storage unit 8. The touch sensor 4 is configured to sense a touch on the operation surface 3 to output a touch signal. The displacement sensor 5 is disposed on the body 2 and senses a displacement of the body 2 to output a displacement signal. The key 7 outputs a key signal when pressed. The processor 6 is connected to the touch sensor 4 to receive the touch signal. The processor 6 is connected to the displacement sensor 5 to receive the displacement signal. The processor 6 is connected to the keys 7 to receive the key signals. The processor 6 is connected to the storage unit 8 to read a plurality of values in the storage unit 8 and compare the values with a measurement value. The handheld device 1 may be a touch mouse, a smart phone, a touch pad, etc., but the invention is not limited thereto.

When the processor 6 receives the touch signal, the processor 6 generates a control command. For example, when the handheld device 1 is the touch mouse as shown in fig. 1, the control command may be sent to a host computer to scroll pages on a web page or perform a shortcut gesture. When the handheld device 1 is a smartphone, the processor 6 may execute the control command on a screen, such as a swipe, click, or rotation.

In one embodiment, the handheld device 1 is a touch mouse. The processor 6 receives the touch signal and the displacement signal generated corresponding to the displacement of the body 2. When the displacement signal is greater than a movement threshold, the processor 6 disables the touch sensor 4 and/or the touch signal for a first time interval, such as 1 microsecond, 1 millisecond, 1 second, etc., but the invention is not limited thereto.

In this case, the touch signal may be considered as an unintentional action of the user. The displacement signal represents a displacement of the body 2, for example a distance between two different positions or two different coordinates. The storage unit 8 stores a plurality of movement threshold values, and the movement threshold value stored in the storage unit 8 is set to one of the movement threshold values on the basis of an operation mode of the handheld device.

In addition, the processor 6 may also accumulate a plurality of displacement signals in a movement time interval and compare the accumulated displacement signals with the movement threshold. The storage unit 8 stores a plurality of moving time interval values, and the moving time interval stored in the storage unit 8 is set to one of the moving time interval values based on an operation mode of the handheld device 1. It should be noted that the time length of the first time interval may be the same as the time length of the moving time interval, but the invention is not limited thereto.

Further, the disabling of the touch signal by the processor 6 in the first time interval may be represented by the processor 6 ceasing to generate the control command formed by the received touch signal in the first time interval, the processor 6 ceasing to receive the touch signal in the first time interval, or the processor 6 resetting the received touch signal to represent no touch in the first time interval when the received touch signal does not form the control command.

For example, the handheld device 1 is a touch mouse. When the user moves the touch mouse as shown in fig. 1, the user may unintentionally touch the operation surface 3. The processor 6 receives the touch signal sensing the touch on the operation surface 3 via the touch sensor 4, and receives the displacement signal sensing the displacement of the touch mouse via the displacement sensor 5. When the processor 6 determines that the displacement signal (e.g., a distance signal representing a distance such as 3cm) is greater than the movement threshold (e.g., 0.5cm), the processor 6 disables the touch sensor 4 and the touch signal during the first time interval regardless of whether the control command is formed by the touch signal. In this way, the processor 6 determines that the user merely moves the touch mouse and does not intend to touch on the operation interface 3. It should be noted that the distance signal may be represented by the touch mouse moving a distance relative to the desktop or the mouse cursor moving several pixels on an image array in the screen.

Fig. 3 is a flowchart of a control method of an embodiment of the present invention. The processor 6 executing the control method includes step S101: receiving a touch signal sent by the touch sensor 4, for sensing a touch on the operation surface 3 to output a control command; s103: when a displacement signal sent by the displacement sensor 5 for sensing a displacement of the body is greater than a movement threshold, the touch signal is disabled in a first time interval.

The hand-held device 1 is a touch mouse, and a user can click the button 7 on the touch mouse, move the touch mouse, and touch the operation interface 3. When the user moves the touch mouse, the user may unintentionally touch the operation surface 3. At this time, the processor 6 receives the touch signal and the displacement signal at the same time. When the processor 6 determines that the displacement signal is greater than the moving threshold, the processor disables the touch sensor 4 and/or the touch signal in a second time interval.

In one embodiment, the handheld device 1 is a touch mouse. The key 7 outputs a key signal when pressed, and the processor 6 receives the key signal. When the user clicks the key 7, the user will also touch the operating surface 3 unintentionally. At this time, the processor 6 receives the touch signal and the key signal at the same time. When the processor 6 determines that the key 7 is pressed, the processor 6 disables the touch sensor 4 and the touch signal in the second time interval, and outputs a key control signal. It should be noted that the time length of the second time interval may be the same as the time length of the first time interval, but the invention is not limited thereto.

In this case, the touch signal may be considered as an unintentional motion of the user. The processor 6 disabling the touch signal in the second time interval may be represented by the processor 6 stopping generating the control command formed by the received touch signal in the second time interval, the processor 6 stopping receiving the touch signal in the second time interval, or the processor 6 resetting the received touch signal in the second time interval to represent no touch when the received touch signal does not form the control command.

For example, when the user presses the key 7, the user unintentionally touches the operation surface 3. The processor 6 receives the touch signal sensing the touch on the operation surface 3 via the touch sensor 4 and receives the key signal of the key 7 being pressed. When the processor determines that the key 7 is pressed, the processor 6 disables the touch sensor 4 and/or the touch signal during the second time interval regardless of whether the control command is formed by the touch signal. In this way, the processor 6 determines that the user clicks the button 7 instead of intending to touch the operation interface 3.

Fig. 4 is a flowchart of a control method according to another embodiment of the present invention. The processor 6 executing the control method includes step S301: and judging that the key 7 is pressed so as to disable the touch signal in a second time interval and output a key control signal.

When the processor 6 determines that the key 7 is pressed by the user, the processor 6 disables the touch sensor 4 and/or the touch signal in the second time interval.

Based on the above, the touch controller of the handheld device and the control method thereof of the present invention can use the physical keys and the touch detection to assist the adjustment of the gesture command, so as to avoid the occurrence of the wrong gesture command.

The above-mentioned embodiments are merely preferred embodiments of the present invention, and all equivalent changes and modifications made in the claims of the present invention should be covered by the present invention.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:电容触控电极、触控面板以及电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类