CN102402322B - Touch signal compensation method - Google Patents

Touch signal compensation method Download PDF

Info

Publication number
CN102402322B
CN102402322B CN201010283062.XA CN201010283062A CN102402322B CN 102402322 B CN102402322 B CN 102402322B CN 201010283062 A CN201010283062 A CN 201010283062A CN 102402322 B CN102402322 B CN 102402322B
Authority
CN
China
Prior art keywords
coordinate position
touching signals
compensation
last time
current
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
Application number
CN201010283062.XA
Other languages
Chinese (zh)
Other versions
CN102402322A (en
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.)
Acer Inc
Original Assignee
Acer 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 Acer Inc filed Critical Acer Inc
Priority to CN201010283062.XA priority Critical patent/CN102402322B/en
Publication of CN102402322A publication Critical patent/CN102402322A/en
Application granted granted Critical
Publication of CN102402322B publication Critical patent/CN102402322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a touch signal compensation method, which comprises the following steps of: detecting a coordinate position of a touch signal relative to a display unit to judge whether the current coordinate position is the same as the last coordinate position; and executing a signal compensation action if the current coordinate position is the same as the last coordinate position, wherein the signal compensation action comprises calculation of a compensation value and compensation of the current coordinate position by using the compensation value.

Description

The compensation method of touching signals
Technical field
The present invention relates to a kind of method for compensating signal, and be particularly related to a kind of compensation method of touching signals.
Background technology
Along with scientific and technological development, the mankind also grow with each passing day to the dependence of electronic installation.Electronic installation on the market at present, many is to utilize Touch Screen (touch panel) or Trackpad (touch pad) to operate.And touch control screen uses because current operating system also can be arranged in pairs or groups, make touch control screen to become one of trend of future development.
Because current touch control screen is on the market increasing, the software that simultaneously meets touch control operation interface also increases rapidly, from the control signal that touch control screen transmitted out, for operating system, all thinks the signal of mouse.This is because touch control screen can, in the time receiving touch-control, change touching signals into corresponding mouse signal.
But in this process, the mouse signal that the continuity of the mouse signal being produced by touching signals can produce than real mouse comes poorly.Also therefore using when touch control screen, the smooth degree of control interface just can be affected.
Summary of the invention
The invention provides a kind of compensation method of touching signals, improve and utilize touching signals to control the smooth degree of vernier.
The present invention proposes a kind of compensation method of touching signals.In the time receiving touching signals, detect the coordinate position of touching signals corresponding to display unit every one period of set time.Judge current coordinate position and last time whether coordinate position was identical.At this, coordinate position is current detected coordinate position at present, and last time coordinate position was front once detected coordinate position.If coordinate position was with last time coordinate position was identical at present, executive signal compensating movement.Signal compensation action comprises offset value calculation, and compensates current coordinate position with offset.
In one embodiment of this invention, above-mentioned judging that current coordinate position is with after step that last time whether coordinate position was identical, if coordinate position was with last time coordinate position was not identical at present, calculate current coordinate position and the displacement between coordinate position last time.And, record this displacement.In addition, last time coordinate position was updated to current coordinate position, with through after the set time, re-executed and detected the step of touching signals corresponding to the coordinate position of display unit.
In one embodiment of this invention, in the step of above-mentioned offset value calculation, can carry out offset value calculation according to above-mentioned displacement.
In one embodiment of this invention, above-mentioned after compensating the step of current coordinate position with offset, a compensation number of times also can add up.And, if coordinate position was with last time coordinate position was identical at present, before the step of executive signal compensating movement, can first detects compensation number of times and whether be greater than a count value.If compensation number of times is not greater than this count value, square executive signal compensating movement; On the other hand, if compensation number of times is greater than this count value, stop executive signal compensating movement.
Based on above-mentioned, can there is executive signal compensating movement when discontinuous at touching signals in the present invention, make the manipulation of touching signals closer to mouse signal, will be more smooth and easy in the use.
For above-mentioned feature and advantage of the present invention can be become apparent, special embodiment below, and coordinate accompanying drawing to be described in detail below.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the compensation method of the touching signals that illustrates according to one embodiment of the invention.
Fig. 2 is the process flow diagram of the compensation method of the touching signals that illustrates according to another embodiment of the present invention.
[main element symbol description]
S105~S115: the each step of compensation method of the touching signals that the present invention one implements
S205~S245: the each step of compensation method of the touching signals of another enforcement of the present invention
Embodiment
Generally speaking, when touching signals occurs when discontinuous, may cause the coordinate position of vernier can rest on same point always.But in fact user's finger is to be likely under mobile state always.In order to allow the operation fluency of touching signals can more approach mouse signal, the present invention proposes a kind of compensation method of touching signals, and with in the time that touching signals is discontinuous, executive signal compensating movement, uses the operation fluency that promotes touching signals.
Generally speaking, for example, in the time that touch control unit (Trackpad or Touch Screen) receives touching signals, namely user is by depressing touch control unit, and touching signals will be converted into corresponding coordinate position.In the time that system receives touching signals, when namely user's touch-control is to touch control unit, system just can be sent mouse and press (Mouse down) signal.Afterwards, system starts touching signals to compensate, until user stops pressing touch control unit.In the time that user stops pressing touch control unit, system can be sent mouse and discharge the signal of (Mouse up), touching signals is compensated stopping.
Fig. 1 is the process flow diagram of the compensation method of the touching signals that illustrates according to one embodiment of the invention.Please refer to Fig. 1, in step S105, in the time receiving touching signals, detect the coordinate position of touching signals corresponding to display unit every one period of set time.In the present embodiment, can utilize a timer (timer) during through one period of set time, to obtain the coordinate position that touching signals is corresponding every.
Then,, in step S110, judge current coordinate position and last time whether coordinate position was identical.At this, coordinate position is current detected coordinate position at present, and last time coordinate position was front once detected coordinate position.
If coordinate position was with last time coordinate position was identical at present, expression touching signals may be lost and cause touching signals discontinuous.Now, as shown in step S115, executive signal compensating movement.Signal compensation action comprises offset value calculation, and compensates current coordinate position with offset.And if at present coordinate position was when last time coordinate position was not identical, expression touching signals is not lost, therefore without executive signal compensating movement.
Below illustrate for another embodiment again.Fig. 2 is the process flow diagram of the compensation method of the touching signals that illustrates according to another embodiment of the present invention.In step S205, detect the coordinate position of touching signals corresponding to display unit.Then,, in step S210, judge whether current coordinate position equals last time coordinate position.
If coordinate position is not equal to last time coordinate position at present, expression touching signals is not lost.Now, as shown in step S215, calculate current coordinate position and the displacement between coordinate position (offset) last time.For example, deduct last time coordinate position with current coordinate position.And, in step S220, record displacement.In addition, in step S225, last time coordinate position was updated to current coordinate position.Meanwhile, compensation number of times is made zero.Afterwards, through after the set time, re-execute step S205.
On the other hand, if coordinate position equals last time coordinate position at present, as shown in step S230, detect compensation number of times and whether be greater than count value.If compensation number of times is greater than count value, that is to say that coordinate position continues to exceed the regular hour at same point, now can judge that coordinate position no longer continues mobile, and then no longer carry out signal compensation action.
And if compensation number of times is while being not yet greater than count value, executive signal compensating movement, as shown in step S235, offset value calculation.Afterwards, in step S240, compensate current coordinate position with offset.For example, can carry out offset value calculation (with reference to step S220) according to recorded displacement.General in the situation that, because the translational speed of finger does not have very violent difference, and the discontinuous time of touching signals can't be oversize, under such environment, can, in the time that generation touching signals is discontinuous, utilize previous displacement to compensate.In addition, also can set a susceptibility, and carry out offset value calculation according to susceptibility.Or, can design an algorithm and carry out offset value calculation.
For instance, suppose that the coordinate position A detecting is for the first time (Xa, Ya), the coordinate position B detecting is for the second time (Xb, Yb), and the coordinate position c detecting is for the third time (Xc, Yc).And false coordinate position A is not equal to coordinate position B, and coordinate position B equals coordinate position C.In the time coordinate position B being detected, because coordinate position A is not equal to coordinate position B, therefore just can record the displacement of coordinate position A and coordinate position B, for example (Xb-Xa, Yb-Ya).And in the time coordinate position C being detected, because coordinate position C equals coordinate position B, represent now to produce touching signals discontinuous, therefore just coordinate position C is added to displacement compensates.For example, Xc=Xc+ (Xb-Xa), Yc=Yc+ (Yb-Ya).
Above-mentioned after compensating current coordinate position with offset, as shown in step S245, will compensate number of times cumulative.This is in order to judge whether coordinate position continues to exceed the regular hour at same point, to use and judge whether user stops pressing touch control unit.In addition, in the time that user again touch-control produces touching signals to touch control unit, related data (for example displacement, compensation number of times and offset) can be made zero, use and recalculate offset.
In sum, the present invention judged with last time whether coordinate position is identical whether touching signals is lost by more current coordinate position.If judge touching signals loss, executive signal compensating movement.And, judge by the number of compensation number of times whether user stops the mobile touch control unit that continues to press really.Accordingly, can improve the smooth degree that utilizes touching signals to control vernier.
Although the present invention with embodiment openly as above; so it is not in order to limit the present invention, those skilled in the art, without departing from the spirit and scope of the present invention; when doing a little change and retouching, therefore protection scope of the present invention is when being as the criterion depending on the appended claims person of defining.

Claims (4)

1. a compensation method for touching signals, comprising:
In the time receiving touching signals, detect the coordinate position of this touching signals corresponding to display unit every the set time;
Judge current coordinate position and last time whether coordinate position identical, wherein this current coordinate position is current detected coordinate position, and this last time coordinate position be front once detected coordinate position;
If this current coordinate position is with this, last time coordinate position was not identical, calculated last time displacement between coordinate position of this current coordinate position and this, comprising:
Record this displacement; And
Upgrade this last time coordinate position be this current coordinate position, with through after this set time, re-execute and detect the step of this touching signals corresponding to this coordinate position of this display unit; And
If this current coordinate position is with this, last time coordinate position was identical, and executive signal compensating movement, comprising:
Carry out offset value calculation according to this displacement; And
Compensate this current coordinate position with this offset.
2. the compensation method of touching signals as claimed in claim 1, wherein, after compensating the step of this current coordinate position with this offset, also comprises:
Cumulative compensation number of times.
3. the compensation method of touching signals as claimed in claim 2, if wherein this current coordinate position last time coordinate position was identical with this, before carrying out the step of this signal compensation action, also comprise:
Detect this compensation number of times and whether be greater than count value.
4. the compensation method of touching signals as claimed in claim 3, wherein, after whether this compensation number of times of detection is greater than the step of this count value, also comprises:
If this compensation number of times is not greater than this count value, carry out this signal compensation action; And
If this compensation number of times is greater than this count value, stop carrying out this signal compensation action.
CN201010283062.XA 2010-09-15 2010-09-15 Touch signal compensation method Active CN102402322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010283062.XA CN102402322B (en) 2010-09-15 2010-09-15 Touch signal compensation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010283062.XA CN102402322B (en) 2010-09-15 2010-09-15 Touch signal compensation method

Publications (2)

Publication Number Publication Date
CN102402322A CN102402322A (en) 2012-04-04
CN102402322B true CN102402322B (en) 2014-07-02

Family

ID=45884602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010283062.XA Active CN102402322B (en) 2010-09-15 2010-09-15 Touch signal compensation method

Country Status (1)

Country Link
CN (1) CN102402322B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975127B (en) * 2016-04-29 2018-10-09 南昌振华通信设备有限公司 A kind of touch screen report point compensation method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614000B (en) * 2018-10-23 2023-02-17 北京小米移动软件有限公司 Information processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1514277A (en) * 2002-12-23 2004-07-21 Lg.������Lcd��ʽ���� Driving method of touching surface panel
CN101295220A (en) * 2004-01-07 2008-10-29 仁宝电脑工业股份有限公司 Signal processing method for resistor type touch control plate
CN101308414A (en) * 2007-05-17 2008-11-19 比亚迪股份有限公司 Touch screen display processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1514277A (en) * 2002-12-23 2004-07-21 Lg.������Lcd��ʽ���� Driving method of touching surface panel
CN101295220A (en) * 2004-01-07 2008-10-29 仁宝电脑工业股份有限公司 Signal processing method for resistor type touch control plate
CN101308414A (en) * 2007-05-17 2008-11-19 比亚迪股份有限公司 Touch screen display processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975127B (en) * 2016-04-29 2018-10-09 南昌振华通信设备有限公司 A kind of touch screen report point compensation method and device

Also Published As

Publication number Publication date
CN102402322A (en) 2012-04-04

Similar Documents

Publication Publication Date Title
US20140368460A1 (en) Touch detection method and apparatus, and touch screen system
CN107422965B (en) Method and device for activating functions of electronic equipment
EP3514667A1 (en) Method and terminal for preventing false touch
US20140160085A1 (en) Adaptive analog-front-end to optimize touch processing
CN107436700B (en) Data processing method and device
US20120249442A1 (en) Driving method for touch-sensing display device and touch-sensing device thereof
US8810544B2 (en) Touch sensing method and electronic apparatus using the same
CN101727242B (en) Method for sensing multiclutch on touch panel
CN106101450B (en) A kind of compensation method of ambient light intensity and mobile terminal
CN104881174A (en) Method and device for dynamically adjusting sensitivity of touch screen
US20090104943A1 (en) Mobile terminal having touch screen and method for inputting letter therein using touch screen
CN102043549B (en) Touch panel and touch point sensing method
CN104035702A (en) Method for preventing intelligent terminal operation error and intelligent terminal
CN102402322B (en) Touch signal compensation method
US9122327B2 (en) Method for syncing different touching systems
US9274700B2 (en) Supporting different event models using a single input source
CN113126815B (en) Key response control method and device, terminal equipment and storage medium
CN103123795A (en) Multimedia playing method
US20170115866A1 (en) Method, device and terminal apparatus for recognizing multi-finger sliding gesture
US9405328B2 (en) Touch pad function modification
US20120249432A1 (en) Electronic device with function of recognizing multi-touch inputs and method thereof
CN102541332A (en) Click gesture judging method, touch induction control chip, touch system and computer system
US20140002404A1 (en) Display control method and apparatus
CN105159555A (en) User equipment control method and user equipment
CN101561726B (en) Coordinate positioning method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant