CN100430876C - Pointer device and trace smoothing method - Google Patents

Pointer device and trace smoothing method Download PDF

Info

Publication number
CN100430876C
CN100430876C CNB2004100038560A CN200410003856A CN100430876C CN 100430876 C CN100430876 C CN 100430876C CN B2004100038560 A CNB2004100038560 A CN B2004100038560A CN 200410003856 A CN200410003856 A CN 200410003856A CN 100430876 C CN100430876 C CN 100430876C
Authority
CN
China
Prior art keywords
accumulated value
displacement
value
default
conditioned
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.)
Expired - Lifetime
Application number
CNB2004100038560A
Other languages
Chinese (zh)
Other versions
CN1652143A (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.)
Pixart Imaging Inc
Original Assignee
Pixart Imaging 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 Pixart Imaging Inc filed Critical Pixart Imaging Inc
Priority to CNB2004100038560A priority Critical patent/CN100430876C/en
Publication of CN1652143A publication Critical patent/CN1652143A/en
Application granted granted Critical
Publication of CN100430876C publication Critical patent/CN100430876C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Train Traffic Observation, Control, And Security (AREA)
  • Position Input By Displaying (AREA)

Abstract

The present invention relates to a pointer device used for executing a track smoothing function, which comprises a track processing circuit receiving digitized displacement amount for the execution of an accumulation program to generate a displacement accumulated value, wherein when the displacement accumulated value satisfies a preset condition, the displacement accumulated value is outputted to a processing device so as to smooth the pointer on a movable display device and execute a reset program to reset the displacement saccumulated value.

Description

Indicator device and trajectory smoothing method
Technical field
The present invention relates to a kind of indicator device and trajectory smoothing method, particularly relate to a kind of trajectory smoothing method that has the indicator device of smooth trajectory function and be applicable to indicator device.
Background technology
In various computer peripheral equipments, the mouse person of being to use is one of the computer peripheral equipment of normal use, be mainly used to the computer input unit as a kind of form, be specially adapted to the application on the visual pattern, therefore mouse has become indispensable input tool at present.At present more common mouse is divided into two kinds of idler wheel mouse and optical mouse.Idler wheel mouse uses the physical construction of the roller microcontroller chip of arranging in pairs or groups again to handle displacement signal.The cmos image sensor that the optical mouse utilization has an optical guidance function replaces the physical construction of roller, and the microcontroller chip of arranging in pairs or groups is handled displacement signal.When mouse moves, the displacement of its time per unit can export computing machine in regular turn to, because the displacement of mouse is the result that the image sensor through the physical construction of idler wheel mouse or optical mouse quantizes, but not actual continuous path, therefore, even the track that mouse moves does not all have vertical line segment, might make that in through the process that quantizes vertical line segment occurs, it is former because angle too small can't detect, and the both direction of two-dimensional coordinate has error or the like when quantizing.
Trajectory diagram when Fig. 1 moves for conventional mouse.Conventional mouse directly as output valve, exports the displacement input value of institute's sensing to computing machine in regular turn.As shown in Figure 1, I is a starting point, and each displacement input value is the displacement with respect to last position, is input value P in regular turn 11(1,0), input value P 12(0,2), input value P 13(2,0), input value P 14(1,0), input value P 15(0,3), input value P 16(5,0) and input value P 17(0,5).When these input values by directly as output valve, and when exporting on the computer screen in regular turn, the track that shows on the screen just as shown in Figure 1, for zigzag and have the lines of right angle, many places turnover, this is not gratifying output result.
Summary of the invention
In view of this, purpose of the present invention just is to provide a kind of indicator device, in order to carry out the smooth trajectory function, comprising: the track treatment circuit, receive digitized displacement, and add up program to produce the displacement accumulated value in order to execution; Wherein,, then export described displacement accumulated value,, and carry out replacement process with the described displacement accumulated value of resetting in order to the pointer on the level and smooth mobile display device to treating apparatus when described displacement accumulated value satisfies when pre-conditioned.
The present invention more provides a kind of trajectory smoothing method, is applicable to indicator device, comprises the following steps: to provide the track treatment circuit, receives digitized displacement, carries out the program that adds up to produce the displacement accumulated value; Judge whether described displacement accumulated value satisfies pre-conditioned; And described pre-conditioned as if satisfying, then export described displacement accumulated value to treating apparatus, in order to the pointer on the level and smooth mobile display device, and carry out replacement process with the described displacement accumulated value of resetting.
Description of drawings
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, especially exemplified by several preferred embodiments, and conjunction with figs., be described in detail below:
Trajectory diagram when Fig. 1 moves for conventional mouse;
Fig. 2 represents mouse of the present invention and track treatment circuit figure;
Fig. 3 is the process flow diagram of trajectory smoothing method of the present invention;
The zone of exportable displacement accumulated value when Fig. 4 represents that the mouse of first embodiment of the invention moves;
Fig. 5 judges whether exportable process flow diagram of displacement accumulated value when moving for the mouse of first embodiment of the invention;
Fig. 6 represents the numerical value that flow process produced of the mouse of first embodiment of the invention according to Fig. 5;
Trajectory diagram when Fig. 7 moves for the mouse of first embodiment of the invention;
The zone of exportable displacement accumulated value when Fig. 8 represents that the mouse of second embodiment of the invention moves;
Fig. 9 judges whether exportable flow process of displacement accumulated value when moving for the mouse of second embodiment of the invention;
Figure 10 represents the numerical value that flow process produced of the mouse of second embodiment of the invention according to Fig. 9;
Trajectory diagram when Figure 11 moves for the mouse of second embodiment of the invention.
Embodiment
Fig. 2 represents the present invention's mouse 21 and track treatment circuit 22.As shown in Figure 2, mouse 21 has track treatment circuit 22, in order to carry out the smooth trajectory function.Fig. 3 is the process flow diagram of the present invention's trajectory smoothing method.As shown in Figure 3, this flow process is begun by step S1, in step S1, can produce the digitized displacement of mouse 21 when mouse 21 moves, and then, track treatment circuit 22 receives described digitized displacement.In step S2, track treatment circuit 22 is carried out the program that adds up to produce the displacement accumulated value.Then, in judging formula C, it is pre-conditioned that track treatment circuit 22 judges whether described displacement accumulated value satisfies, if then continue next procedure, otherwise get back to step S1 and wait for that mouse 21 moves once more.In step S3, the described displacement accumulated value of track treatment circuit 22 outputs makes that to computing machine the pointer on the computer screen can move more smoothly.At last, track treatment circuit 22 is carried out replacement process with the described displacement accumulated value of resetting, and waits for that mouse 21 moves once more.
First embodiment
When the mouse 21 of first embodiment of the invention moves, can produce displacement, after digitizing, be the original input value of described mouse 21 with respect to last position.Described mouse 21 has track treatment circuit 22, and described track treatment circuit 22 has more buffer unit (not shown go out) and processing unit (figure does not mark), described displacement can be added to accumulated value one by one, and with outcome record in described buffer unit, then described processing unit judges one by one whether present accumulated value exportable.
The zone of exportable displacement accumulated value when Fig. 4 represents that the mouse 21 of first embodiment of the invention moves.Wherein 2A is for forbidding the output area, and 2B is for allowing the output area.In other words, when the coordinate of present accumulated value belonged to point on the figure, this accumulated value was forbidden output (or temporarily not exporting), and when the coordinate of present accumulated value belonged to a little bigger on the figure, this accumulated value can be output.
Fig. 5 judges whether exportable flow process of displacement accumulated value when moving for the mouse 21 of first embodiment of the invention.Described processing unit can judge through flow process thus whether present accumulated value is exportable, and shown regional 2A, the 2B of its judged result and Fig. 4 is consistent.At first, when mouse 21 moves, can produce displacement, after digitizing, be original input value (X, Y) (the step S1) of described mouse 21 with respect to last position.Then, (X_acu Y_acu), that is carries out X_acu=X+X_acu and Y_acu=Y+Y_acu, and execution result is recorded in described buffer unit (step S2) described displacement to be added to accumulated value.Described then processing unit judges (whether X_acu Y_acu) can export present accumulated value, and its judgement formula (C1) is as shown in scheming to go up: if set up X_acu ≠ 0 and Y_acu ≠ 0, with present accumulated value (X_acu, Y_acu) output (step S3), and with present accumulated value (X_acu, Y_acu) replacement, feasible (X_acu, Y_acu)=(0,0) (step S4), and wait for that mouse 21 moves next time, if be false, then get back to first step (step S1).
Fig. 6 represents the numerical value that flow process produced of the mouse 21 of first embodiment of the invention according to Fig. 5.Calculating process of each line display wherein, if be the input value of present embodiment with the input value of Fig. 1, that is as shown in Figure 1, I is a starting point, and each displacement input value is the displacement with respect to last position, is input value P in regular turn 11(1,0), input value P 12(0,2), input value P 13(2,0), input value P 14(1,0), input value P 15(0,3), input value P 16(5,0) and input value P 17(0,5).As shown in Figure 6, when present accumulated value is (1,2), (3,3) and (5,5), satisfy the judgement formula of Fig. 5, so can be output.Get back to Fig. 4 and can also find that (1,2), (3,3) and (5,5) all belong to a little bigger on the figure, so can be output, this is consistent with the result via the judgement formula gained of Fig. 5.
Fig. 7 for the mouse 21 of first embodiment of the invention move trajectory diagram.As shown in Figure 7, the displacement that at last exports computing machine in regular turn to by mouse 21 is output valve P 51(1,2), output valve P 52(3,3) and output valve P 53(5,5), thus on the screen gained track for to be connected to P in regular turn by the I point 51, P 52And P 53Formed lines (solid line on the figure) are compared with untreated lines (dotted line on the figure), transfer less and seem more level and smooth in the right angle.
Second embodiment
When the mouse 21 of second embodiment of the invention moves, can produce displacement, after digitizing, be the original input value of described mouse 21 with respect to last position.Described mouse 21 has track treatment circuit 22, and described track treatment circuit 22 has more buffer unit (not shown go out) and processing unit (figure does not mark), described displacement can be added to accumulated value one by one, and with outcome record in described buffer unit, then described processing unit judges one by one whether present accumulated value exportable.
The zone of exportable displacement accumulated value when Fig. 8 represents that the mouse 21 of second embodiment of the invention moves.Wherein 6A is for forbidding the output area, and 6B is for allowing the output area.In other words, when the coordinate of present accumulated value belonged to point on the figure, this accumulated value was forbidden output (or temporarily not exporting), and when the coordinate of present accumulated value belonged to a little bigger on the figure, this accumulated value can be output.
Fig. 9 judges whether exportable flow process of displacement accumulated value when moving for the mouse 21 of second embodiment of the invention.Described processing unit can judge through flow process thus whether present accumulated value is exportable, and shown regional 6A, the 6B of its judged result and Fig. 8 is consistent.At first, when mouse 21 moves, can produce displacement, after digitizing, be original input value (X, Y) (the step S1) of described mouse 21 with respect to last position.Then, (X_acu Y_acu), that is carries out X_acu=X+X_acu and Y_acu=Y+Y_acu, and execution result is recorded in described buffer unit (step S2) described displacement to be added to accumulated value.Described then processing unit judges (whether X_acu Y_acu) can export present accumulated value.Its judgement formula has two, in first judgement formula (C2), if set up X_acu>4 or Y_acu>4, with present accumulated value (X_acu, Y_acu) output (step S3), and with present accumulated value (X_acu, Y_acu) replacement, feasible (X_acu, Y_acu)=(0,0) (step S4), and wait for that mouse 21 moves next time, if be false, then carry out next judgement formula.In second judgement formula (C3), if set up X_acu ≠ 0 and Y_acu ≠ 0 and (X_acu>2 or Y_acu>2), with present accumulated value (X_acu, Y_acu) output (step S3), and with present accumulated value (X_acu, Y_acu) reset, make (X_acu, Y_acu)=(0,0) (step S4), and wait for that mouse 21 moves next time, if be false, then gets back to first step (step S1).
Figure 10 represents the numerical value that flow process produced of the mouse 21 of second embodiment of the invention according to Fig. 9.Calculating process of each line display wherein, if be the input value of present embodiment with the input value of Fig. 1, that is as shown in Figure 1, I is a starting point, and each displacement input value is the displacement with respect to last position, is input value P in regular turn 11(1,0), input value P 12(0,2), input value P 13(2,0), input value P 14(1,0), input value P 15(0,3), input value P 16(5,0) and input value P 17(0,5).As shown in figure 10, when present accumulated value is (3,2), (1,3), (5,0) and (0,5), satisfy the judgement formula of Fig. 9, so can be output.Get back to Fig. 8 and can also find that (3,2), (1,3), (5,0) and (0,5) all belong to a little bigger on the figure, so can be output, this is consistent with the result via the judgement formula gained of Fig. 9.
Trajectory diagram when Figure 11 moves for the mouse 21 of second embodiment of the invention.As shown in figure 11, the displacement that at last exports computing machine in regular turn to by mouse 21 is output valve P 91(3,2), output valve P 92(1,3), output valve P 93(5,0) and output valve P 94(0,5), thus on the screen gained track for to be connected to P in regular turn by the I point 91, P 92, P 93And P 94Formed lines (solid line on the figure) are compared with untreated lines (dotted line on the figure), transfer less and seem more level and smooth in the right angle.
Need specify that herein except the employed judgement formulas of above two embodiment (seeing Fig. 5 and Fig. 9), mouse 21 of the present invention also can use other judgement formula,, make formed lines more level and smooth to produce different output valves.
Though the present invention discloses as above with preferred embodiment; so it is not in order to limit scope of the present invention; any those skilled in the art; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking the accompanying Claim scope person of defining.

Claims (10)

1. indicator device in order to carry out the smooth trajectory function, comprising:
The track treatment circuit receives digitized displacement, adds up program to produce the displacement accumulated value in order to execution;
Wherein,, then export described displacement accumulated value,, and carry out replacement process with the described displacement accumulated value of resetting in order to the pointer on the level and smooth mobile display device to treating apparatus when described displacement accumulated value satisfies when pre-conditioned.
2. indicator device as claimed in claim 1, wherein said pre-conditioned for described displacement accumulated value is arranged in the position range of coordinate space, wherein said coordinate space has bivector at least.
3. indicator device as claimed in claim 1, wherein said digitized displacement has a plurality of direction displacements, at least comprise first direction displacement and second direction displacement, described displacement accumulated value has a plurality of direction accumulated values, at least comprise first direction accumulated value and second direction accumulated value, and the described program that adds up is the extremely described first direction accumulated value of described first direction displacement that adds up, and the described second direction displacement that adds up is to described second direction accumulated value.
4. indicator device as claimed in claim 3 wherein saidly pre-conditionedly is not equal to first default value for described first direction accumulated value, and described second direction accumulated value is not equal to second default value.
5. indicator device as claimed in claim 3, wherein, describedly pre-conditionedly be not equal to first default value for described first direction accumulated value, and described second direction accumulated value is not equal to second default value, and described first direction accumulated value greater than the 3rd default value or described second direction accumulated value greater than the 4th default value, wherein, judge described pre-conditioned before, when described first direction accumulated value greater than the 5th default value or described second direction accumulated value during greater than the 6th default value, then export described displacement accumulated value to treating apparatus, in order to the pointer on the level and smooth mobile display device, and carry out replacement process with the described displacement accumulated value of resetting.
6. a trajectory smoothing method is applicable to indicator device, comprises the following steps:
The track treatment circuit is provided, receives digitized displacement, carry out the program that adds up to produce the displacement accumulated value;
Judge whether described displacement accumulated value satisfies pre-conditioned; And
Described pre-conditioned as if satisfying, then export described displacement accumulated value to treating apparatus, in order to the pointer on the level and smooth mobile display device, and carry out replacement process with the described displacement accumulated value of resetting.
7. trajectory smoothing method as claimed in claim 6, wherein said pre-conditioned for described displacement accumulated value is arranged in the position range of coordinate space, wherein said coordinate space has bivector at least.
8. trajectory smoothing method as claimed in claim 6, wherein said digitized displacement has a plurality of direction displacements, at least comprise first direction displacement and second direction displacement, described displacement accumulated value has a plurality of direction accumulated values, at least comprise first direction accumulated value and second direction accumulated value, and the described program that adds up is the extremely described first direction accumulated value of described first direction displacement that adds up, and the described second direction displacement that adds up is to described second direction accumulated value.
9. trajectory smoothing method as claimed in claim 8 wherein saidly pre-conditionedly is not equal to first default value for described first direction accumulated value, and described second direction accumulated value is not equal to second default value.
10. trajectory smoothing method as claimed in claim 8, wherein said pre-conditioned for described first direction accumulated value be not equal to first default value, described second direction accumulated value be not equal to second default value and described first direction accumulated value greater than the 3rd default value or described second direction accumulated value greater than the 4th default value, wherein before judging whether described displacement accumulated value satisfies pre-conditioned step, described method comprises the following steps: in addition
Judge described first direction accumulated value whether greater than the 5th default value or described second direction accumulated value whether greater than the 6th default value; And
If arbitrary condition is set up, then export described displacement accumulated value to treating apparatus, in order to the pointer on the level and smooth mobile display device, and carry out replacement process with the described displacement accumulated value of resetting.
CNB2004100038560A 2004-02-06 2004-02-06 Pointer device and trace smoothing method Expired - Lifetime CN100430876C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100038560A CN100430876C (en) 2004-02-06 2004-02-06 Pointer device and trace smoothing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100038560A CN100430876C (en) 2004-02-06 2004-02-06 Pointer device and trace smoothing method

Publications (2)

Publication Number Publication Date
CN1652143A CN1652143A (en) 2005-08-10
CN100430876C true CN100430876C (en) 2008-11-05

Family

ID=34867598

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100038560A Expired - Lifetime CN100430876C (en) 2004-02-06 2004-02-06 Pointer device and trace smoothing method

Country Status (1)

Country Link
CN (1) CN100430876C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739158B (en) * 2008-11-24 2012-07-18 原相科技股份有限公司 Track smoothing method and navigation device using same
CN102339143B (en) * 2010-07-14 2015-01-14 奇高电子股份有限公司 Method for smoothing track

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5436616A (en) * 1992-04-13 1995-07-25 International Business Machines Corp. Computer screen cursor pointing device with cleaning alarm
JPH10151276A (en) * 1996-11-22 1998-06-09 Miki Aatsu Internatl Kk Controlling method of computer type thinking race fighting game and thinking race fighting game controlling program recorded medium
CN1326129A (en) * 2000-05-31 2001-12-12 阿尔卑斯电气株式会社 Optical position detector

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5436616A (en) * 1992-04-13 1995-07-25 International Business Machines Corp. Computer screen cursor pointing device with cleaning alarm
JPH10151276A (en) * 1996-11-22 1998-06-09 Miki Aatsu Internatl Kk Controlling method of computer type thinking race fighting game and thinking race fighting game controlling program recorded medium
CN1326129A (en) * 2000-05-31 2001-12-12 阿尔卑斯电气株式会社 Optical position detector

Also Published As

Publication number Publication date
CN1652143A (en) 2005-08-10

Similar Documents

Publication Publication Date Title
CN104571852B (en) The moving method and device of icon
US8866768B2 (en) Touch tracking device and method for a touch screen
CN102902473B (en) The mode sensitive of touch data is handled
JP5684136B2 (en) Multi-contact area rotation gesture recognition method
CN104281346B (en) Detect finger existing method and system near no touch screen
CN110162230B (en) Touch position identification method and device and storage medium
US20060267951A1 (en) Control of an electronic device using a gesture as an input
CN104346267B (en) Generate the method and device of bugs location information
CN103616972B (en) Touch screen control method and terminal device
US20120249440A1 (en) method of identifying a multi-touch rotation gesture and device using the same
CN105975122A (en) Touch track compensation method and apparatus as well as terminal device
CN105953814A (en) Step counting method, step counting device and mobile terminal
CN103492986A (en) Input device, input method, and recording medium
CN106155642B (en) Information processing method and electronic equipment
CN106354366A (en) Method for treating desktop icons arrangement and device thereof
CN100430876C (en) Pointer device and trace smoothing method
CN110036362A (en) Touch detecting method and touch detecting apparatus
CN105739776B (en) A kind of calibration method of pressure value, device and mobile terminal
CN104063142A (en) Information processing method, device and electronic equipment
CN104615361A (en) Electronic equipment and response method
CN103105957B (en) Display packing and electronic equipment
CN104780264B (en) The interaction control method of sensor-based handheld device
CN103699254A (en) Method, device and system for multi-point touch positioning
CN105159555A (en) User equipment control method and user equipment
TWI470521B (en) Self-capacitive touch control apparatus and control method thereof

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
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20081105