CN101699375A - Controlling method and device for track ball - Google Patents

Controlling method and device for track ball Download PDF

Info

Publication number
CN101699375A
CN101699375A CN200910212365A CN200910212365A CN101699375A CN 101699375 A CN101699375 A CN 101699375A CN 200910212365 A CN200910212365 A CN 200910212365A CN 200910212365 A CN200910212365 A CN 200910212365A CN 101699375 A CN101699375 A CN 101699375A
Authority
CN
China
Prior art keywords
cycle
pulse
boost phase
setting number
slip event
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.)
Granted
Application number
CN200910212365A
Other languages
Chinese (zh)
Other versions
CN101699375B (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.)
Huawei Device Co Ltd
Original Assignee
Shenzhen Huawei Communication Technologies Co Ltd
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 Shenzhen Huawei Communication Technologies Co Ltd filed Critical Shenzhen Huawei Communication Technologies Co Ltd
Priority to CN200910212365XA priority Critical patent/CN101699375B/en
Publication of CN101699375A publication Critical patent/CN101699375A/en
Application granted granted Critical
Publication of CN101699375B publication Critical patent/CN101699375B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a controlling method and a device for track ball. The method comprises the steps of judging whether the pulse in current period is a valid pulse, whether the pulse number reaches an accelerating threshold value, and whether the direction of the pulse in current period is in accordance with the direction of the pulse in preceding period, if so, adding one to a recorded climbing times, and entering into a second accelerating phase when the climbing times reaches a first set value. The scheme of the invention can acquire the sliding trend of track ball of user by judging the pulse number in each period to judge the sliding demand and accelerate on the demand of acceleration to acquire the effect of quickly sliding.

Description

A kind of control method of trace ball and device
Technical field
The present invention relates to mechanical control field, particularly a kind of control method of trace ball and mobile phone.
Background technology
Trace ball is a kind of input equipment commonly used, for example: at present on the mobile phone with the instrument of trace ball as the slip choice menus, its work principle is: by judging the distance of sliding the unit interval trace ball pulse that produces or unit interval trace ball sliding, surpass preset threshold and then report a trace ball slip event, such as reporting the direction key assignments, the direction of coming Control-Menu to select.Specific implementation is:
1, unit period poll is checked the umber of pulse that trace ball all directions (upper and lower, left and right) are slided and produced in the one-period.The mode of checking can for: in this cycle, pulse of the every generation of trace ball all directions, then with the counterparty to umber of pulse add one.
2, timer expiry, the umber of pulse of each direction and the threshold value that trace ball is effectively slided of thinking of setting are contrasted, if the slide umber of pulse that produces of certain direction of trace ball surpasses or equals this effective threshold value in this cycle, think that then the pulse in this cycle is that the slip in effective impulse and this cycle is once effectively to slide, at this moment, to the incident that upper layer application reports a trace ball to slide to certain direction, empty the record of all directions umber of pulse simultaneously; If in this cycle, trace ball all surpasses preset threshold to the umber of pulse of any one direction slip generation, then thinks effective slip of interior not generation of this cycle to empty current record.
The inventor finds in realizing process of the present invention: the cellphone subscriber wishes can refresh current interface fast by quick sliding trace ball under some scenes, for example at the scene of browsing page, some scene of game etc.But be to use existing periodic judgment mode, at a fixed time in, effectively the trace ball slip event has the fixed value of a maximum, can't realize the effect of sliding fast.
Summary of the invention
The technical matters that the embodiment of the invention will solve provides a kind of control method and device of trace ball, realizes the effect of sliding fast.
For solving the problems of the technologies described above, the control method embodiment of trace ball provided by the present invention can be achieved through the following technical solutions:
Whether the pulse of judging this cycle is effective impulse, and whether umber of pulse reaches the acceleration threshold value, and whether the direction of this cycle pulse is consistent with last cycle pulse direction;
If be, the climbing number of times that then will write down adds one, when the climbing number of times reaches the first setting number, enters second boost phase.
The embodiment of the invention also provides the control method of another kind of trace ball, judges that second before this cycle set whether to comprise for the 3rd cycle of setting number in cycle of number;
The cycle that in the cycle of the second setting number, comprises the 3rd setting number, and the pulse in each cycle in the cycle of the 3rd setting number has identical direction, the umber of pulse of pulse surpasses the acceleration threshold value in the cycle of the 3rd setting number, then enters boost phase.
The embodiment of the invention also provides a kind of device of control of trace ball, comprising:
Judging unit is used to judge whether the pulse in this cycle is effective impulse, and whether umber of pulse reaches the acceleration threshold value, and whether the direction of this cycle pulse is consistent with last cycle pulse direction;
The climbing record cell, being used for if judgment unit judges is is that the climbing number of times that then will write down adds one;
Accelerator module is used for entering second boost phase when the climbing number of times reaches the first setting number.
The embodiment of the invention also provides the control device of another kind of trace ball, comprising:
Judging unit is used for judging whether the second preceding cycle of setting number of this cycle comprises the cycle of the 3rd setting number;
Accelerator module, be used for comprising the cycle of the 3rd setting number when second cycle of setting number, and the pulse in each cycle in the cycle of the 3rd setting number has identical direction, and the umber of pulse of pulse surpasses the acceleration threshold value in the cycle of the 3rd setting number, then enters boost phase.
Technique scheme has following beneficial effect: can obtain the tendency toward sliding of user to trace ball by judging each recurrent pulse number, thereby judge the slip demand that is used for, the demand of quickening is quickened to handle, can realize the effect of sliding fast.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the embodiment of the invention one a method flow synoptic diagram;
Fig. 2 is the embodiment of the invention one an other method schematic flow sheet;
Fig. 3 is the embodiment of the invention two method flow synoptic diagram;
Fig. 4 is the embodiment of the invention three apparatus structure synoptic diagram;
Fig. 5 is the embodiment of the invention three apparatus structure synoptic diagram;
Fig. 6 is the embodiment of the invention three apparatus structure synoptic diagram;
Fig. 7 is the embodiment of the invention three apparatus structure synoptic diagram;
Fig. 8 is the embodiment of the invention four apparatus structure synoptic diagram.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Embodiment one, and as shown in Figure 1, the embodiment of the invention provides a kind of control method of trace ball, comprising:
Step 101: whether the pulse of judging this cycle is effective impulse, and whether umber of pulse reaches the acceleration threshold value, and whether this cycle pulse direction is consistent with last cycle pulse direction; If be is then to enter step 102;
Step 102: the climbing number of times that will write down adds one, when the climbing number of times reaches the first setting number, enters second boost phase.
Wherein, the climbing here can be understood as: when the umber of pulse of one-period has surpassed a predetermined value, think that then this cycle is the incident of once climbing.
Wherein, first sets number can be default climbing number of times, and for example Yu She climbing number of times is 5, when the number of times accumulative total of climbing reaches 5, just can enter boost phase.
In the foregoing description, the executive agent of each step can be for having the various device of trace ball, for example mobile phone.The foregoing description can obtain the tendency toward sliding of user to trace ball by judging each recurrent pulse number, thereby judge the demand that the user quickens to slide, and the demand of quickening to slide is quickened to handle, and can realize the effect of sliding fast.
Above-mentioned steps 101 judges whether the pulse in this cycle is effective impulse, and whether umber of pulse reaches the acceleration threshold value, can also comprise before whether the pulse of this cycle and last cycle pulse direction be consistent:
Whether judge that second before this cycle set comprised for the 3rd cycle of setting number in cycle of number; Wherein, the pulse in each cycle in the cycle of the 3rd setting number has equidirectional, and the above-mentioned the 3rd umber of pulse of setting the cycle of number surpasses the acceleration threshold value; If then enter first boost phase.
Need to prove, in the above-described embodiment, for the ease of follow-up elaboration boost phase, difference called after second boost phase and first boost phase, the speed of second boost phase can equal the speed of first boost phase, the speed of second boost phase also can be greater than the speed of first boost phase, and the embodiment of the invention is not limited thereto.
Alternatively, the speed of above-mentioned first boost phase is less than the speed of second boost phase.
First boost phase and second boost phase mentioned for the foregoing description all are boost phases, the mode of the concrete acceleration of its boost phase can for: report the 4th slip event of setting number continuously, or, the time of obtaining the cycle of trace ball pulse (is for example shortened, for first boost phase, can be shortened to first value of setting the time of obtaining the cycle of trace ball pulse; For second boost phase, can be shortened to second value of setting time in cycle of obtaining the pulse of trace ball).The concrete mode embodiment of the invention of which kind of acceleration that adopts will not limit.
Wherein, report the 4th slip event of setting number to be continuously: the slip event that reports the 4th setting number according to the delay rule of setting singly continuously.
If in one-period, report a plurality of slip event continuously, so just can in one-period, carry out repeatedly and slide, so just can improve slip speed; If shorten the time of obtaining the trace ball recurrence interval, in the time cycle that this is shortened, can report slip event so, than a long cycle, can in the shorter time, report more slip event, thereby improve slip speed.
In addition, report the slip event of setting number to enter first boost phase or second boost phase continuously if adopt, then all right after entering above-mentioned first boost phase or second boost phase: the time lengthening that will obtain the cycle of trace ball pulse.
Further, when above-mentioned first boost phase or second boost phase carry out, if occur with acceleration direction beyond the slip event of other directions, then stop above-mentioned first boost phase or second boost phase.
Further, above-mentionedly also comprise after entering first boost phase or second boost phase: the data that empty all directions of record.
Further, be to deny as if whether comprising the 3rd judged result of setting the cycle of number in the cycle of judging the second setting number that this cycle is preceding, also comprise:
If occur, the pulse of this cycle is that effective impulse and umber of pulse do not reach and quicken threshold value, the pulse of this cycle and last cycle pulse direction is inconsistent, the number of times of climbing does not reach the setting number, in any one or several the time, then judge whether to report slip event; If need report slip event, then report the data of the slip event and the direction in minute book cycle, empty the data of other directions.
If do not need to report slip event, and the pulse in this cycle is identical with the direction of last one-period pulse, then the data of minute book cycle direction; Or if do not need to report slip event, and the direction of the pulse in this cycle and last one-period pulse is inequality, and the data of minute book cycle direction then empty the data of other directions.
Slip event sometimes need report, and does not sometimes need to report, and also might not need to report slip event even reached in the umber of pulse in this cycle under the situation of setting value.For example following two kinds of situations just can not report slip event: 1, except that accelerator (first boost phase or second boost phase), two continuous cycles do not allow to report the slip event of same direction.2, continuous two cycles do not allow to occur quadrature key assignments (such as: this cycle glide direction is to the right, and then the next cycle glide direction is upwards or downwards, then can not report slip event).Above-mentioned what do not report slip event 1 and 2 is in order to solve in the actual use for example, because the problem that oblique slip causes lattice interface, nine palaces disorderly to be jumped.
More specifically, it is the control method of the realization trace ball of example with the mobile phone that the embodiment of the invention also provides, and with this above-mentioned embodiment is further described.As shown in Figure 2, may further comprise the steps:
Step 201: judge whether nearly 10 cycles (corresponding second sets the cycle of number) have the key assignments of 6 cycles (the corresponding the 3rd sets the cycle of number) (or claiming umber of pulse) to reach the acceleration threshold value, if, enter step 202, not, then enter step 203;
Step 202: enter slow boost phase (corresponding first boost phase); Empty the data of all directions of record;
In the above-mentioned steps 202 slow boost phases, each cycle can report 3 (the corresponding the 4th sets number) effectively slip event continuously.Even, do not do any restriction owing in each judgement cycle, all be effective key assignments, report 10 key assignments so in the 1s, 10 incidents can't be in time handled in application, moment moves on to another position from a position phenomenon can occur.Then, the above-mentioned slip event that reports continuously can be: first key assignments is to report after being judged as the 50ms of effective key assignments, and the time that next key assignments reports is the 100ms of first key assignments after reporting, and the 3rd is second 150ms after reporting, and the rest may be inferred.Report the speed of key assignments can also simulate slip effect from fast to slow in addition like this than comparatively fast.
After entering boost phase, the incident number that reports can expand to more, and in addition, the cycle of judgement can expand to longer; Judge whether that the condition and the periodicity that quicken can increase; The key assignments that reports acceleration period is more, reports the time interval between each key assignments longer.The benefit of doing like this is, at browser interface, more can analog subscriber uses the process of mouse browsing page.
Step 203: whether the pulse of judging this cycle is effective impulse, specifically can be whether the umber of pulse of judging this cycle reaches effective value, if then enter step 204, not, then enters step 209;
Step 204: whether the umber of pulse of judging this cycle reaches the acceleration threshold value, if, enter step 205, not, then enter step 209;
Step 205: whether the direction of judging the pulse of this cycle is consistent with the glide direction of last time, if, then enter step 206, if not, then enter step 209;
Step 206: this cycle is recorded as once climbing; Be specifically as follows: the climbing number of times that will write down adds 1.
Step 207: whether the climbing number of times of judging record has reached (corresponding first sets number) 3 times, if, then enter step 208, if not, then enter step 209;
Step 208: enter fast boost phase (corresponding second boost phase); Empty the data of all directions of record;
Acceleration can report 5 effective slip event continuously fast;
Step 209: judge whether to report slip event, if, then enter step 210, not, then enter step 211;
Step 210: the data that empty this cycle direction other directions in addition; The data of minute book cycle direction; Report slip event;
Step 211: whether the direction of judging this cycle is consistent with the direction of last one-period, if not, enters step 212, is then to enter step 213;
Step 212: the data that empty this cycle direction other directions in addition; The data of minute book cycle direction;
Step 213: the data of minute book cycle direction.
In addition, after having entered boost phase, if the slip event of other directions different with acceleration direction, (generally can be reciprocal slip event, certainly can also be the slip event of orthogonal directions, the embodiment of the invention will not limit), then stop accelerator.
In the foregoing description, the executive agent of each step can be for having the various device of trace ball, for example mobile phone.The foregoing description can obtain the tendency toward sliding of user to trace ball by judging each recurrent pulse number, thereby judge the slip demand that is used for, and the demand of quickening is quickened to handle, and can realize the effect of sliding fast.
Embodiment two, and as shown in Figure 3, the embodiment of the invention gives the control method of another kind of trace ball, comprising:
Whether step 301: judging that second before this cycle set comprised for the 3rd cycle of setting number in cycle of number; The pulse in each cycle in the cycle of above-mentioned the 3rd setting number has equidirectional and umber of pulse surpasses the acceleration threshold value; If then execution in step 302, if not, then execution in step 303;
Step 302: enter first boost phase;
Step 303: whether the pulse of judging this cycle is effective impulse, and whether umber of pulse reaches the acceleration threshold value, and whether the direction of this cycle pulse is consistent with last cycle pulse direction; If be is then to enter step 304;
Step 304: the climbing number of times that will write down adds one, when the climbing number of times reaches the first setting number, enters second boost phase.
Need to prove, in the above-mentioned embodiment, for the ease of follow-up elaboration boost phase, boost phase in the step 302 is called " second boost phase ", stage in the step 304 is called " first boost phase ", the speed of second boost phase can equal the speed of first boost phase, and the speed of second boost phase also can be greater than the speed of first boost phase, and the embodiment of the invention is not limited thereto.
In the foregoing description, the executive agent of each step can be for having the various device of trace ball, for example mobile phone.The foregoing description can obtain the tendency toward sliding of user to trace ball by judging each recurrent pulse number, thereby judge the demand that the user quickens to slide, and the demand of quickening to slide is quickened to handle, and can realize the effect of sliding fast.
Embodiment three, and as shown in Figure 4, the embodiment of the invention also provides a kind of device of control of trace ball, this device can be for using any device of trace ball, for example mobile phone is understandable that mobile phone is a kind of giving an example wherein, specifically is that what device embodiment of the invention will not limit.Comprise:
Judging unit 401 is used to judge whether the pulse in this cycle is effective impulse, and whether umber of pulse reaches the acceleration threshold value, and whether the direction of this cycle pulse is consistent with last cycle pulse direction;
Climbing record cell 402, being used for if judgment unit judges is is that the climbing number of times that then will write down adds one;
Accelerator module 403 is used for entering second boost phase when the climbing number of times reaches the first setting number.
Further, above-mentioned judging unit 401 is used for also judging whether the second preceding cycle of setting number of this cycle comprises the cycle of the 3rd setting number; The pulse in each cycle in the cycle of above-mentioned the 3rd setting number has equidirectional and umber of pulse surpasses the acceleration threshold value;
Above-mentioned accelerator module 403 also is used for then entering first boost phase if whether second cycle of setting number before this cycle comprises the cycle of the 3rd setting number.
Further, as shown in Figure 5, if above-mentionedly judge that second before this cycle set and whether comprise the 3rd in cycle of number and set the judged result in cycle of number for not, above-mentioned judging unit 402, also being used for if the pulse of this cycle occurs is that effective impulse and umber of pulse do not reach the direction of quickening threshold value, the pulse of this cycle and last cycle pulse direction is inconsistent, the climbing number of times does not reach the setting number, in any one or several the time, judge whether to report slip event; Also comprise:
Slip reports unit 501, is used for then reporting the data of the slip event and the direction in minute book cycle if need report slip event;
Data scrubbing unit 502 is used for then emptying the data of other directions if need report slip event.
Further, as shown in Figure 6, if do not need to report slip event, and the pulse in this cycle is identical with the direction of last one-period pulse, also comprises: data record unit 601, the then data of minute book cycle direction;
If do not need to report slip event, and the direction of the pulse in this cycle and last one-period pulse is then inequality:
Above-mentioned data scrubbing unit 502 also is used to empty the data of other directions.
Particularly, above-mentioned accelerator module 403 specifically is used for cycle that second before this cycle set number and whether comprises the 3rd when setting the cycle of number, report the 4th slip event of setting number continuously, or shortens the time that will obtain the cycle of trace ball pulse; When the climbing number of times reaches the first setting number, report the slip event of the 5th setting number continuously, or shorten the time that will obtain the cycle of trace ball pulse.
Alternatively, above-mentioned the 4th or the 5th slip event of setting number that reports in one-period comprises:
Report the slip event of the 4th or the 5th setting number singly continuously according to the delay rule of setting.
Further, as shown in Figure 7, report the 4th or the 5th slip event of setting number to enter above-mentioned first boost phase or second boost phase continuously, also comprise if adopt:
Periodic Control unit 701 is used for will obtaining the time lengthening in the cycle of trace ball pulse after entering above-mentioned first boost phase or second boost phase.
Further, above-mentioned accelerator module 403 also is used for when above-mentioned first boost phase or second boost phase carry out, if occur with acceleration direction beyond the slip event of other directions, then stop above-mentioned first boost phase or second boost phase.
Further, above-mentioned data scrubbing unit 502 also is used to enter after first boost phase or second boost phase, empties the data of all directions of record.
The foregoing description can obtain the tendency toward sliding of user to trace ball by judging each recurrent pulse number, thereby judge the slip demand that is used for, and the demand of quickening is quickened to handle, and can realize the effect of sliding fast.
Embodiment four, and as shown in Figure 8, the embodiment of the invention also provides the control device of another kind of trace ball, comprising:
Judging unit 801 is used for judging whether the second preceding cycle of setting number of this cycle comprises the cycle of the 3rd setting number;
Accelerator module 802, be used for comprising the cycle of the 3rd setting number when second cycle of setting number, and the pulse in each cycle in the cycle of the 3rd setting number has identical direction, the umber of pulse of pulse surpasses the acceleration threshold value in the cycle of the 3rd setting number, then enters boost phase.
The foregoing description can obtain the tendency toward sliding of user to trace ball by judging each recurrent pulse number, thereby judge the slip demand that is used for, and the demand of quickening is quickened to handle, and can realize the effect of slip fast, promotes user experience.Further, will speed up and be divided into two kinds of speed of distinguishing acceleration, can better embody the effect of acceleration.Further, adopt the mode that postpones to report slip event continuously, process that can be simulation accelerated makes the sensation of acceleration more level and smooth.
Need to prove, set number, the 3rd for the first setting number of mentioning in the foregoing description, second and set number, the 4th setting number, the 5th setting number, first boost phase and second boost phase etc., can be with reference to the elaboration understanding of figure 2.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be a ROM (read-only memory), disk or CD etc.
More than the control method and the device of a kind of trace ball that the embodiment of the invention provided is described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (16)

1. the control method of a trace ball is characterized in that, comprising:
Whether the pulse of judging this cycle is effective impulse, and whether umber of pulse reaches the acceleration threshold value, and whether the direction of this cycle pulse is consistent with last cycle pulse direction;
If be, the climbing number of times that then will write down adds one, when the climbing number of times reaches the first setting number, enters second boost phase.
2. according to the described method of claim 1, it is characterized in that, describedly judge whether the pulse in this cycle is effective impulse, whether whether umber of pulse reaches the acceleration threshold value, also comprises before whether the direction of this cycle pulse and last cycle pulse direction be consistent: judging that second before this cycle set comprised for the 3rd cycle of setting number in cycle of number; The pulse in each cycle in the cycle of described the 3rd setting number has equidirectional and umber of pulse surpasses the acceleration threshold value; If then enter first boost phase.
3. according to the described method of claim 2, it is characterized in that, if describedly judge that second before this cycle set and whether comprise the 3rd in cycle of number and set the judged result in cycle of number for not, also comprise: if occur, the pulse of this cycle is that effective impulse and umber of pulse do not reach the direction of quickening threshold value, the pulse of this cycle and last cycle pulse direction is inconsistent, the climbing number of times does not reach the setting number, in any one or several the time, judge whether to report slip event; If need report slip event, then report the data of the slip event and the direction in minute book cycle, empty the data of other directions.
4. according to the described method of claim 3, it is characterized in that, also comprise: if do not need to report slip event, and the pulse in this cycle is identical with the direction of last one-period pulse, then the data of minute book cycle direction; Or: if do not need to report slip event, and the direction of the pulse in this cycle and last one-period pulse is inequality, and the data of minute book cycle direction then empty the data of other directions.
5. according to the described method of claim 2, it is characterized in that described first boost phase that enters comprises:
Report the slip event of the 4th setting number continuously, or, the time of obtaining the cycle of trace ball pulse is shortened to first value of setting; Or
Described second boost phase that enters comprises:
Report the 5th slip event of setting number continuously, or, time in cycle of obtaining the pulse of trace ball is shortened to second value of setting.
6. according to any described method of claim 1 to 5, it is characterized in that, also comprise:
When described first boost phase or second boost phase carry out, if occur with acceleration direction beyond the slip event of other directions, then stop described first boost phase or second boost phase.
7. the control method of a trace ball is characterized in that, comprising:
Whether judge that second before this cycle set comprised for the 3rd cycle of setting number in cycle of number;
The cycle that in the cycle of the second setting number, comprises the 3rd setting number, and the pulse in each cycle in the cycle of the 3rd setting number has identical direction, the umber of pulse of pulse surpasses the acceleration threshold value in the cycle of the 3rd setting number, then enters boost phase.
8. the device of the control of a trace ball is characterized in that, comprising:
Judging unit is used to judge whether the pulse in this cycle is effective impulse, and whether umber of pulse reaches the acceleration threshold value, and whether the direction of this cycle pulse is consistent with last cycle pulse direction;
The climbing record cell, being used for if judgment unit judges is is that the climbing number of times that then will write down adds one;
Accelerator module is used for entering second boost phase when the climbing number of times reaches the first setting number.
9. described according to Claim 8 device is characterized in that,
Described judging unit is used for also judging whether the second preceding cycle of setting number of this cycle comprises the cycle of the 3rd setting number; The pulse in each cycle in the cycle of described the 3rd setting number has equidirectional and umber of pulse surpasses the acceleration threshold value;
Described accelerator module also is used for then entering first boost phase if whether second cycle of setting number before this cycle comprises the cycle of the 3rd setting number.
10. according to the described device of claim 9, it is characterized in that, if describedly judge that second before this cycle set and whether comprise the 3rd in cycle of number and set the judged result in cycle of number for not, described judging unit, also being used for if the pulse of this cycle occurs is that effective impulse and umber of pulse do not reach the direction of quickening threshold value, the pulse of this cycle and last cycle pulse direction is inconsistent, the climbing number of times does not reach the setting number, in any one or several the time, judge whether to report slip event; Also comprise:
Slip reports the unit, is used for then reporting the data of the slip event and the direction in minute book cycle if need report slip event;
The data scrubbing unit is used for then emptying the data of other directions if need report slip event.
11. according to the described device of claim 10, it is characterized in that,
If do not need to report slip event, and the pulse in this cycle is identical with the direction of last one-period pulse, also comprises: data record unit, the then data of minute book cycle direction;
If do not need to report slip event, and the direction of the pulse in this cycle and last one-period pulse is inequality:
Described data scrubbing unit also is used to empty the data of other directions.
12. according to the described device of claim 9, it is characterized in that,
Described accelerator module specifically is used for cycle that second before this cycle set number and whether comprises the 3rd when setting the cycle of number, report the 4th slip event of setting number continuously, or shortens the time that will obtain the cycle of trace ball pulse; When the climbing number of times reaches the first setting number, report the slip event of the 5th setting number continuously, or shorten the time that will obtain the cycle of trace ball pulse.
13., it is characterized in that according to claim 11 or 12 described devices, report the 4th or the 5th slip event of setting number to enter described first boost phase or second boost phase continuously if adopt, also comprise:
The periodic Control unit is used for will obtaining the time lengthening in the cycle of trace ball pulse after entering described first boost phase or second boost phase.
14. to 12 any described devices, it is characterized in that according to Claim 8,
Described accelerator module also is used for when described first boost phase or second boost phase carry out, if occur with acceleration direction beyond the slip event of other directions, then stop described first boost phase or second boost phase.
15. according to any described device of claim 10 to 11, it is characterized in that,
Described data scrubbing unit also is used to enter after first boost phase or second boost phase, empties the data of all directions of record.
16. the control device of a trace ball is characterized in that, comprising:
Judging unit is used for judging whether the second preceding cycle of setting number of this cycle comprises the cycle of the 3rd setting number;
Accelerator module, be used for comprising the cycle of the 3rd setting number when second cycle of setting number, and the pulse in each cycle in the cycle of the 3rd setting number has identical direction, and the umber of pulse of pulse surpasses the acceleration threshold value in the cycle of the 3rd setting number, then enters boost phase.
CN200910212365XA 2009-11-06 2009-11-06 Controlling method and device for track ball Active CN101699375B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910212365XA CN101699375B (en) 2009-11-06 2009-11-06 Controlling method and device for track ball

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910212365XA CN101699375B (en) 2009-11-06 2009-11-06 Controlling method and device for track ball

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN2012100779261A Division CN102662502A (en) 2009-11-06 2009-11-06 Method and device for controlling trackball

Publications (2)

Publication Number Publication Date
CN101699375A true CN101699375A (en) 2010-04-28
CN101699375B CN101699375B (en) 2013-01-23

Family

ID=42147835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910212365XA Active CN101699375B (en) 2009-11-06 2009-11-06 Controlling method and device for track ball

Country Status (1)

Country Link
CN (1) CN101699375B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111358472A (en) * 2020-03-27 2020-07-03 山东建筑大学 Gait detection algorithm, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7404149B2 (en) * 2003-03-28 2008-07-22 International Business Machines Corporation User-defined assistive GUI glue
CN101436108B (en) * 2007-11-14 2011-07-13 深圳迈瑞生物医疗电子股份有限公司 Track ball cursor action control method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111358472A (en) * 2020-03-27 2020-07-03 山东建筑大学 Gait detection algorithm, device and system
CN111358472B (en) * 2020-03-27 2022-08-23 山东建筑大学 Gait detection algorithm, device and system

Also Published As

Publication number Publication date
CN101699375B (en) 2013-01-23

Similar Documents

Publication Publication Date Title
CN105843480A (en) Desktop icon adjustment method and apparatus
CN109718538B (en) Method and device for frame selection of virtual object in game, electronic equipment and storage medium
CN106066805A (en) Method, device and the terminal that a kind of end application starts
CN110890970A (en) Method and device for creating group, storage medium and electronic equipment
CN103984501A (en) Method and device for copying and pasting text segment based on touch screen and mobile terminal of device
CN103197770A (en) Method and device for TV (television) remote control simulating operation of mouse
CN105204771B (en) Based on mobile terminal control mosaic screen windowing location determining method and mobile terminal
CN103257782A (en) Method and system for title bar path navigation of mobile device
CN102814037A (en) Body-building exercise prompting method and related device
CN107148060A (en) A kind of method for connecting network and its mobile terminal of application
CN103353858B (en) A kind of automated testing method based on action touch simulation and device
CN105975637A (en) Display method and device for page loading
CN104375862A (en) Progress bar showing method and device
CN109473121B (en) Voice synthesis quality testing method and device
CN104063324A (en) Method and system for Monkey test
CN103473013A (en) Application interface adjusting method and mobile terminal
CN101699375B (en) Controlling method and device for track ball
CN106060239A (en) Social circle message display method and terminal device
CN103838720A (en) Page file loading execution method and device
CN104539804B (en) A kind of electronic equipment and its control method
CN106527916A (en) Operating method and device based on virtual reality equipment, and operating equipment
CN102662502A (en) Method and device for controlling trackball
CN103517311A (en) Method and device simulating wireless network
CN104571947B (en) A kind of method and controller, storage array that hard disk domain is divided in storage array
CN104133651B (en) A kind of information processing method and electronic equipment

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171030

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: Huawei Device Co., Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.