A kind of method and device thereof of touch screen action column bezel, cluster
Technical field
The present invention relates to the method for operating and the device thereof of user interface for electronic devices, relate in particular to a kind of method and device thereof of touch screen action column bezel, cluster.
Background technology
Along with the more and more prosperity of science and technology, the quantity of information that the user can touch is also more and more now, but how in the rolling column bezel, cluster, quick and precisely to find the content that needs.It is the relatively thing of difficulty of part; Such as reaching thousands of contact phone numbers sometimes in the cellphone directory application, the content that reaches very much tens of pages is perhaps arranged in the web page browsing, the method for the action column bezel, cluster of traditional touch screen can only a cunning one be moved; Sliding how much how much moving, search ten minutes and require great effort time-consuming.
Therefore, prior art awaits improving and development.
Summary of the invention
A kind of inertial sliding that realizes that the object of the present invention is to provide, the method and the device thereof of laborsaving timesaving again touch screen action column bezel, cluster.
Technical scheme of the present invention is following:
A kind of method of touch screen action column bezel, cluster may further comprise the steps:
A obtains the Grid Track and the sliding time that on touch screen, slide, according to the sliding distance D1 on the said Grid Track calculated column bezel, cluster direction;
Whether B judges said sliding distance D1 greater than the first threshold values T1, is that then the display column bezel, cluster otherwise judges whether the slip on the touch screen stops, and does not stop then to return steps A with the glide direction identical sliding distance D1 that rolls, and has stopped slip, then gets into step C;
Whether C when slip stops, judging said sliding time greater than the second threshold values T2, and the end otherwise list box rolls is then to calculate momentum value M and get into step D, said momentum value M=sliding distance D1* sensitivity coefficient C1;
D, the display column bezel, cluster continues rolling inertia distance B 3, said inertia distance B 3=constant value D2+ momentum value M with glide direction;
E, list box roll and finish.
The method of described touch screen action column bezel, cluster wherein, also comprises between said step D and the step e,
E1 when list box continues rolling inertia distance B 3 with glide direction after, changes momentum value M, makes M=M* correction factor C2, and whether judges momentum value M after changing greater than the 3rd threshold values T3, otherwise carries out step e, is then to return step D.
The method of described touch screen action column bezel, cluster, wherein, the interval of the said first threshold values T1 is [30,60] pixel; The interval of said constant value D2 is [10,60] pixel, and the interval of said sensitivity coefficient C1 is [0.1; 0.35], the interval of the said second threshold values T2 is [300,500] millisecond.
The method of described touch screen action column bezel, cluster, wherein, the interval of said the 3rd threshold values T3 is [1,10] pixel, the interval of said correction factor C2 is [0.81,0.99].
The method of described touch screen action column bezel, cluster, wherein, among the said step C, the identification standard that stops of sliding is that touch screen has been left in user's operation.
The method of described touch screen action column bezel, cluster, wherein, said touch screen is the mobile phone touch screen.
A kind of touch screen-device comprises that one is used for the touch display screen of display column bezel, cluster, wherein, also comprises,
One is used to calculate the timer of sliding time;
One measuring unit that is used to obtain the Grid Track that slides on user's touch screen and calculates sliding distance D1;
One is used to store the storage element of the first threshold values T1, the second threshold values T2, sensitivity coefficient C1 and constant value D2;
One is used to judge that whether list box rolls with glide direction, relatively and judge whether the roll processing unit of inertia distance of list box;
Said touch display screen is connected with timer, measuring unit, and said processing unit is connected with touch display screen, timer, measuring unit and storage element respectively.
The present invention judges through the first threshold values T1 is set whether the display column bezel, cluster rolls with glide direction; The second threshold values T2 is set; Judge whether list box continues with glide direction rolling inertia distance, thereby when realizing that the user slides fast, list box can roll manyly; The user is laborsaving to save worry thereby let, the content in the fast browsing list box.Preferred version is the 3rd threshold values T3 to be set again judge whether list box needs once more with the certain inertia distance of glide direction rolling; As long as when momentum value M just end column bezel, cluster rolling during less than the 3rd threshold values T3; Thereby the rolling that realizes list box can little by little be stopped, and operation has more hommization.
Description of drawings
Fig. 1 is the schematic flow sheet of the method preferred embodiment of a kind of touch screen action column of the present invention bezel, cluster.
Fig. 2 is the schematic flow sheet of a kind of touch screen-device preferred embodiment of the present invention.
Embodiment
The invention provides a kind of method and device thereof of touch screen action column bezel, cluster, clearer, clear and definite for making the object of the invention, technical scheme and effect, below with reference to accompanying drawing and give an actual example to further explain of the present invention.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
As shown in Figure 1, be the schematic flow sheet of the method preferred embodiment of a kind of touch screen action column of the present invention bezel, cluster, the inventive method can only be applied to touch screen equipment, like mobile phone, game machine, panel computer and other portable set of band touch screen operation.Concrete steps are following:
Steps A; When the user slides on touch screen with finger or stylus etc.; The device interior driver just can obtain Grid Track and sliding time; This has the prior art of touch screen equipment, and concrete principle of work repeats no more at this, and the device interior program can calculate the sliding distance D1 on the list box direction according to said Grid Track.
Step B; Then according to judging that whether said sliding distance D1 is greater than the first threshold values T1; The interval range of the said first threshold values T1 is [30,60] pixel preferably, as sliding distance D1 during greater than the first threshold values T1; Just then the display column bezel, cluster is with the identical sliding distance D1 of glide direction rolling, and this is to cause also that for fear of neglectful touching of user or click unnecessary list box rolls.As sliding distance D1 during less than the first threshold values T1, need judge also then whether the slip on the touch screen stops, if also do not stop to slide, system can continue to calculate the sliding distance D1 on the list box direction according to the Grid Track that slides; Slide the judgement that then gets into next step if stopped.
Step C, when slip stopped, the identification standard that said slip stops was that touch screen has been left in user's operation.If slide with finger; After being interpreted as that then finger lifts, just sliding at last stops, if operate with other article such as stylus; Then stylus has left touch screen and just stops at last sliding; If touch screen is not also left in operation, not assert slides stops, and system can continue to calculate its sliding distance D1 and sliding time.When slip stops; Judge that then whether said sliding time is greater than the second threshold values T2; The interval range of the said second threshold values T2 is preferably [300; 500] between the millisecond, when sliding time during less than the second threshold values T2 list box roll and finish, the list box that the of short duration slip of having avoided the user to cause because of carelessness causes rolls; When sliding time during, then calculate momentum value M and get into step D, said momentum value M=sliding distance D1* sensitivity coefficient C1 greater than the second threshold values T2; Said momentum value M is in order to calculate next step inertia distance B 3, the interval range of said sensitivity coefficient C1 through evidence preferably between [0.1,0.35].
Step D; When sliding time during greater than the second threshold values T2; The display column bezel, cluster continues rolling inertia distance B 3 with glide direction; Just because of the rolling that has increased inertia distance B 3, even make the principle of sliding the user list box behind the certain hour just can similar " inertia " continue the segment distance that rolls again.Said inertia distance B 3=constant value D2+ momentum value M, the interval range of said constant value D2 is preferably between [10,60] pixel.
Step e, behind the completing steps D, list box rolls and finishes.When long more, the also corresponding lengthening of the rolling of list box can also be judged the state after the rolling of accomplishing inertia distance B 3 in step D in order make to slide; In order to make the inertia action more true to nature, the intensity of inertia is more and more littler simultaneously, changes momentum value M this moment; Make M=M* correction factor C2, and whether the momentum value M after judge changing is greater than the 3rd threshold values T3, the interval range of said the 3rd threshold values T3 is preferably [1; 10] between the pixel; Momentum value M after changing is during less than the 3rd threshold values T3, and list box just no longer carries out the rolling of " inertia ", the end thereby list box rolls; Momentum value M after changing then carries out an inertia again and rolls, because momentum value M reduces the inertia distance B 3=constant value D2+ momentum value M that list box rolls during still greater than the 3rd threshold values T3; Also reduce accordingly, roll and judge that again momentum value M and inertia distance B 3 also can be more and more littler after finishing, during less than the 3rd threshold values T3, list box just really finishes rolling up to momentum value M.
Touch screen of the present invention can be the touch screen of mobile phone, game machine, panel computer and other portable set notebook.
The invention also discloses a kind of touch screen-device, as shown in Figure 2, comprise one be used for the display column bezel, cluster touch display screen 20, be used to calculate the timer 30 of sliding time; One is used to the measuring unit 40 that obtains the Grid Track that slides on user's touch screen and calculate sliding distance D1; One is used to store the storage element 50 of the first threshold values T1, the second threshold values T2, sensitivity coefficient C1 and constant value D2; One is used to judge that whether list box rolls with glide direction, relatively and judge whether the roll processing unit 60 of inertia distance of list box.
Said touch display screen 20 is connected with timer 30, measuring unit 40; Timer 30 obtains relevant data according to the user in the operation of touch display screen 20 with measuring unit 40; And give processing unit 60 with data transmission, said processing unit 60 is connected with touch display screen 20, timer 30, measuring unit 40 and storage element 50 respectively.Said processing unit 60 judges that the back shows through touch display screen 20, and the concrete judgement principle of processing unit 60 is please referring to the content of the method for above-mentioned a kind of touch screen action column bezel, cluster.
Should be understood that, concerning those of ordinary skills, can improve or conversion, and all these improvement and conversion all should belong to the protection domain of accompanying claims of the present invention according to above-mentioned explanation.