CN102331877A - Method and device for displaying information on touch screen - Google Patents

Method and device for displaying information on touch screen Download PDF

Info

Publication number
CN102331877A
CN102331877A CN201110172712A CN201110172712A CN102331877A CN 102331877 A CN102331877 A CN 102331877A CN 201110172712 A CN201110172712 A CN 201110172712A CN 201110172712 A CN201110172712 A CN 201110172712A CN 102331877 A CN102331877 A CN 102331877A
Authority
CN
China
Prior art keywords
screen
value
curve
distance
unit time
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
CN201110172712A
Other languages
Chinese (zh)
Other versions
CN102331877B (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.)
Beijing Feinno Communication Technology Co Ltd
Original Assignee
Beijing Feinno Communication Technology 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 Beijing Feinno Communication Technology Co Ltd filed Critical Beijing Feinno Communication Technology Co Ltd
Priority to CN201110172712.8A priority Critical patent/CN102331877B/en
Publication of CN102331877A publication Critical patent/CN102331877A/en
Application granted granted Critical
Publication of CN102331877B publication Critical patent/CN102331877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for displaying information on a touch screen, which can enrich the display function of a terminal interface, smooth the sliding effect, increase the efficiency of information display and enhance the flexibility and user experience of a display mode. The method for displaying information on the touch screen, which is provided by the embodiment of the invention, includes the following steps: adopting a parabolic curve as a velocity curve to simulate screen sliding; after the operation of dragging the screen from the top or the bottom is finished, according to the velocity curve, successively calculating the return distance within each predetermined unit time for which the screen moves to return to the top or the bottom; and by sliding the screen toward the top or the bottom for the corresponding return distance within each predetermined unit time, displaying the information on the screen.

Description

Touch the method and apparatus of information displayed on screen
Technical field
The present invention relates to the terminal development technical field, especially relate to a kind of method and apparatus that touches information displayed on screen.
Background technology
In today that the touch-screen smart mobile phone is propagated its belief on a large scale, the high-quality operating experience of smart mobile phone has become the attraction of mobile phone, also is the place that user's clicking the tongue is sighed in admiration.The instruction that touch-screen is sent according to user's touch screen shows corresponding information on screen.
Yet, have now in the scheme that the touches information displayed on screen part that comes with some shortcomings, for example, when the user from the top or the bottom pull screen skew original position, pull end after, it is too stiff, not smooth that screen returns the sliding effect in original position; And when the user constantly slides the information of carrying out when showing on screen, every slip once can only show and user's sliding distance information corresponding that the information display efficiency is lower, and display mode is dumb, and display effect is relatively poor.
Summary of the invention
The embodiment of the invention provides a kind of method and apparatus that touches information displayed on screen, has enriched the Presentation Function of terminal interface, makes sliding effect smooth more, has improved user experience; And, increase the quantity of information that sliding process institute can show, simplify user's operation, the efficient that raising information shows, the dirigibility of enhancing display mode.
For achieving the above object, the technical scheme of the embodiment of the invention is achieved in that
The embodiment of the invention provides a kind of method that touches information displayed on screen, comprising:
The rate curve that adopts parabolic curve to slide as simulated screen;
After pulling the EO of screen, calculate one by one according to said rate curve that screen returns the recurrence distance that is moved to top or bottom in every scheduled unit time from top or bottom;
Through in every scheduled unit time, screen being returned distance accordingly to top or bottom slip, the information on the screen is shown.
The embodiment of the invention provides a kind of device that touches information displayed on screen, comprising:
Return metrics calculation unit; Be used to adopt the rate curve of parabolic curve as the simulated screen slip; After pulling the EO of screen, calculate one by one according to said rate curve that screen returns the recurrence distance that is moved to top or bottom in every scheduled unit time from top or bottom;
Information display unit is used for through in every scheduled unit time, screen being returned distance accordingly to top or bottom slip the information on the screen being shown;
Wherein, the said rate curve of the following formulate of said recurrence metrics calculation unit utilization:
y=k(x-b) 2
In the above-mentioned formula, y representes speed, the x express time; K and b are parameter, and the value of k is the predetermined value greater than zero, and; According to the leg-of-mutton area of maximum inscribe of said parabolic curve, the pixel distance of screen distance top or bottom calculates the value of said parameter b, when the b value that calculates comprises fraction part; B value to calculating rounds up, and the value of the total number of recurrence distance that is calculated is the b value.
By above-mentioned visible; The technical scheme that the embodiment of the invention provides is through analysing in depth the characteristics of sliding motion, and the rate curve that adopts the parabolic curve simulated screen to slide calculates and respectively returns distance accordingly; Make screen after squinting be returned to the starting point of slip with a kind of mode of elastic movement; Thereby enriched the Presentation Function of terminal interface, made sliding effect smooth more, improved user experience.
The embodiment of the invention also provides a kind of method that touches information displayed on screen, comprising:
The rate curve that adopts normal distribution curve to slide as simulated screen;
After user's finger or lettering pen stop to slide screen, according to said rate curve calculate one by one every scheduled unit time when initial screen on current glide direction, continue the initial velocity that moves;
Through screen is moved with said initial velocity on current glide direction, and after every scheduled unit time finishes, make screen keep static in the section, the information on the screen is shown in rest time.
The embodiment of the invention also provides a kind of device that touches information displayed on screen, comprising:
The initial velocity computing unit; Be used to adopt the rate curve of normal distribution curve as the simulated screen slip; After user's finger or lettering pen stop to slide screen, according to said rate curve calculate one by one every scheduled unit time when initial screen on current glide direction, continue the initial velocity that moves;
Information display unit; Be used for through screen is moved with said initial velocity on current glide direction; And after every scheduled unit time finishes, make screen keep static in the section in rest time, the information on the screen is shown;
Wherein, said initial velocity computing unit is used to utilize the said rate curve of following formulate:
f ( x ) = 1 2 π σ e - x 2 2 σ 2
Wherein, f (x) expression speed, the x express time, σ is a parameter, σ gets predetermined value.
By above-mentioned visible, the technical scheme that the embodiment of the invention provides is through analysing in depth the characteristics of sliding motion, the rate curve that adopts the normal distribution curve simulated screen to slide; Calculate corresponding initial velocity, thereby after user's finger or lettering pen stopped to slide screen, screen continued to slide with a kind of mode of inertia motion; And can in the rest time section, keep static so that the user knows reading information, increased a sliding process the quantity of information that can show, simplified user's operation; Improved the efficient that information shows; Strengthened the dirigibility of display mode, sliding effect is smooth more, has improved user experience.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the 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.
A kind of method flow synoptic diagram that touches information displayed on screen that Fig. 1 provides for the embodiment of the invention one;
A kind of method flow synoptic diagram that touches information displayed on screen that Fig. 2 provides for the embodiment of the invention two;
A kind of method application scenarios synoptic diagram that touches information displayed on screen that Fig. 3 provides for the embodiment of the invention three;
The synoptic diagram of the parabolic curve that Fig. 4 provides for the embodiment of the invention three;
The principle schematic of the calculation of parameter that Fig. 5 provides for the embodiment of the invention three;
The experimental result curve that Fig. 6 provides for the embodiment of the invention three corresponding to table 1;
The shape synoptic diagram of a kind of rate curve that Fig. 7 provides for the embodiment of the invention four;
The slide track synoptic diagram of screen of the user that Fig. 8 provides for the embodiment of the invention four;
The experimental result curve corresponding to table 2 of Fig. 9 for providing for the embodiment of the invention four;
The experimental result curve corresponding to table 3 of Figure 10 for providing for the embodiment of the invention four;
A kind of apparatus structure synoptic diagram that touches information displayed on screen that Figure 11 provides for the embodiment of the invention five;
A kind of apparatus structure synoptic diagram that touches information displayed on screen that Figure 12 provides for the embodiment of the invention six.
Embodiment
To combine accompanying drawing of the present invention below, technical scheme of the present invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills are obtained under the prerequisite of not making creative work belongs to the scope that the present invention protects.
The embodiment of the invention one provides a kind of method that touches information displayed on screen, and referring to Fig. 1, said method comprises:
11: the rate curve that adopts parabolic curve to slide as simulated screen; After pulling the EO of screen, calculate one by one according to said rate curve that screen returns the recurrence distance that is moved to top or bottom in every scheduled unit time from top or bottom;
12:, the information on the screen is shown through in every scheduled unit time, screen being returned distance accordingly to top or bottom slip.
Further, the embodiment of the invention one can be utilized the said rate curve of following formulate:
y=k(x-b) 2
Wherein, y representes speed, the x express time; K and b are parameter, and the value of k is the predetermined value greater than zero, and; According to the leg-of-mutton area of maximum inscribe of said parabolic curve, the pixel distance of screen distance top or bottom calculates the value of said parameter b, when the b value that calculates comprises fraction part; B value to calculating rounds up, and the value of the total number of recurrence distance that is calculated is the b value.
By above-mentioned visible; The technical scheme that the embodiment of the invention provides is through analysing in depth the characteristics of sliding motion, and the rate curve that adopts the parabolic curve simulated screen to slide calculates and respectively returns distance accordingly; Make screen after squinting be returned to the starting point of slip with a kind of mode of elastic movement; Thereby enriched the Presentation Function of terminal interface, made sliding effect smooth more, improved user experience.
A kind of method that touches information displayed on screen that the embodiment of the invention two also provides referring to Fig. 2, specifically comprises:
21: the rate curve that adopts normal distribution curve to slide as simulated screen; After user's finger or lettering pen stop to slide screen, according to said rate curve calculate one by one every scheduled unit time when initial screen on current glide direction, continue the initial velocity that moves;
22: move with said initial velocity on current glide direction through in every scheduled unit time, making screen, and after every scheduled unit time finishes, make screen keep static in the section, the information on the screen is shown in rest time.
Further, the embodiment of the invention two can be utilized the said rate curve of following formulate:
f ( x ) = 1 2 π σ e - x 2 2 σ 2
Wherein, f (x) expression speed, the x express time, σ is a parameter, and σ gets predetermined value, and the value of σ can be empirical value, perhaps obtains through the statistics to experimental data, and for example, the value of σ can be 1,0.5 or 0.4 etc.
By above-mentioned visible, the technical scheme that the embodiment of the invention provides is through analysing in depth the characteristics of sliding motion, the rate curve that adopts the normal distribution curve simulated screen to slide; Calculate corresponding initial velocity, thereby after user's finger or lettering pen stopped to slide screen, screen continued to slide with a kind of mode of inertia motion; And can in the rest time section, keep static so that the user knows reading information, increased a sliding process the quantity of information that can show, simplified user's operation; Improved the efficient that information shows; Strengthened the dirigibility of display mode, sliding effect is smooth more, has improved user experience.
A kind of method that touches information displayed on screen that provides in the face of the embodiment of the invention three down describes.
Illustrate the present technique scheme for the ease of clear, at first a practical application scene of the embodiment of the invention is introduced.Referring to Fig. 3, with the summit in the screen upper left corner initial point (0,0) as the coordinate system of being set up, screen level direction left is the X change in coordinate axis direction, and screen direction vertically downward is the Y change in coordinate axis direction.Rectangle frame among the figure shown in the solid line is represented the original position of screen before pulling; The location of pixels of screen top ends is expressed as Y, and Y=0, the rectangle frame among the figure shown in the dotted line represent the position of screen after pulling from the top downwards; The location of pixels of screen top ends is expressed as Y '; Utilize the present technique scheme, after the incident that pulls finished, the screen elasticity that can make progress from the position after pulling was returned to the original position.If screen is upwards pulled from the bottom, then after the incident that pulls finished, screen can be returned to the original position from the downward elasticity in the position after pulling.
The process that elasticity returns is similar to an object from the inverse process that certain altitude falls, and a kind of suitable method that makes object turn back to the original position makes this object " former naturally road is returned " exactly.Adopt parabolic curve can simulate the process that this elasticity returns well in this programme.Specifically comprise following processing:
11: the rate curve that adopts parabolic curve to slide as simulated screen; After pulling the EO of screen, calculate one by one according to said rate curve that screen returns the recurrence distance that is moved to top or bottom in every scheduled unit time from top or bottom;
The top or the bottom of screen when above-mentioned top or bottom refer to that screen is in the original position.
Further, the embodiment of the invention one can be utilized the said rate curve of following formulate:
y=k(x-b) 2
Wherein, y representes speed, the x express time, and k and b are parameter, referring to Fig. 4, have shown the shape synoptic diagram to the represented parabolic curve of above-mentioned formula.
The value of k is the predetermined value greater than zero, and for example, k gets 1.5.
The leg-of-mutton area of maximum inscribe according to said parabolic curve; The pixel distance of screen distance top or bottom calculates the value of said parameter b; When the b value that calculates comprises fraction part; B value to calculating rounds up, and the value of the total number of recurrence distance that is calculated is the b value.Promptly in a hypoelasticity regression process, comprise b scheduled unit time altogether, calculate b and return distance.
Particularly, through following formula, according to the leg-of-mutton area of maximum inscribe of said parabolic curve, the pixel distance of screen distance top or bottom is confirmed the value of said parameter b:
S1=(S2-4/3*S3)/2
S1=|Y′-Y|
|Y′-Y|=kb 3/3
Wherein, the pixel distance of screen distance top or bottom is corresponding to the area S1 of parabolic curve and X coordinate axis and Y coordinate axis institute region;
Straight line X=2b, Y=kb 2With the area of two rectangular areas that coordinate axis is enclosed of XY be S2;
The leg-of-mutton area of maximum inscribe of said parabolic curve is S3;
Location of pixels after Y ' expression screen pulls, Y representes the location of pixels that screen is original.Particularly, when pulling screen downwards, the location of pixels after Y ' expression screen top pulls, Y representes the location of pixels that the screen top is original; When upwards pulling screen, the location of pixels after Y ' expression screen bottom pulls, Y representes the location of pixels that the screen bottom is original.
Parabolical maximum inscribe triangle, the triangle shown in para-curve top dotted line among Fig. 5, cartographic represenation of area are S3; Para-curve and straight line Y=kb 2It is arc that the bow-shaped area that forms is expressed as S, then exist relational expression: S arc=4/3*S3.Be that the parabolic arch area equals: be the end with the secant, with the point of contact of the tangent line that is parallel to the end be the summit inscribed triangle 3/4.
Have so: S1=(S2-S is arc)/2;
Have again: S1=(S2-4/3*S3)/2
Introducing parameter b promptly draws: S1=(2b*kb 2-4/3* (2b*kb 2)/2)/2
=kb 3/3;
According to following formula, the value of S1 and k also can be known, thereby obtain the b value.
12:, the information on the screen is shown through in every scheduled unit time, screen being returned distance accordingly to top or bottom slip.
Under a desirable state, can regard the process that whole elasticity returns as a uninterrupted process of sliding, and this sliding speed is calculated according to above-mentioned parabolic curve.Yet when reality realizes,
But in fact the elasticity recurrence is every at a distance from scheduled unit time; As 0.05 second; The pixel distance that the adjustment screen slides (returning distance) is simulated this slip; The concrete numerical value of scheduled unit time can be adjusted as required, and this pixel distance can be represented with pixel quantity, also can use the size Expressing of pixel.Referring to Fig. 4 or Fig. 5, the area S1 with parabolic curve and two coordinate axis are surrounded is divided into (b-1) sub regions through being parallel to the Y axle at the equally spaced cut-off rule of X axle; Be expressed as S (1) to S (b-1), the coordinate range of any subregion on the X axle is expressed as [a, a+1]; The value of a from 0 to (b-1); Then the recurrence distance that will adjust of first scheduled unit time is S (1), and by that analogy, the recurrence distance that (b-1) individual scheduled unit time will be adjusted is S (b-1).
So the process that returns of elasticity can for: every at a distance from 0.05 second, obtain S (1) successively to S (b-1) according to [a, a+1], through being returned to the original position after b the slip.And the distance that b slip adds up to come out is corresponding to area S1.
Exemplary, use rectangle method definite integral to obtain the distance of each slip, through following formula, calculate one by one according to said rate curve that screen returns the recurrence distance that is moved to top or bottom in every scheduled unit time:
∫ a a + 1 f ( x ) dx = ( b - a ) / n * ( y 1 + y 2 + . . . + yn )
Wherein, the value of a is 0 to (b-1), and n is a predetermined value, and yn representes parabolic curve and straight line x=a, after area that x=a+1 surrounds is divided into n rectangle, and the area of n rectangle.The value of n can be 10, is about to a on the X axle and is divided into 10 parts to the distance of (a+1).
Referring to table 1, shown test data to three experiments of this programme.
Table 1
Figure BDA0000070982770000091
Can find out by above-mentioned test data, in the regression process of reality, consider that error possibly appear in the calculating that returns distance, on the recurrence distance values that calculates, can increase some pixel distance values, thereby guarantee that screen finally can be returned to the original position.
Referring to Fig. 6, shown experimental result curve corresponding to table 1, wherein, and ordinate remarked pixel distance, this pixel distance is represented with pixel quantity.Horizontal ordinate is represented the number of times that slides.The curve that has diamond indicia point is corresponding to test 1, and the curve that has rectangle marked point is corresponding to test 2, and the curve that has triangular marker point is corresponding to test 3.
Can find out that from experimental result test 2 results that obtain are more near parabolic curve, test result is desirable more, and main cause considers that choosing of k value in the test 2 is more reasonable.
By above-mentioned visible; The technical scheme that the embodiment of the invention provides is through analysing in depth the characteristics of sliding motion, and the rate curve that adopts the parabolic curve simulated screen to slide calculates and respectively returns distance accordingly; Make screen after squinting be returned to the starting point of slip with a kind of mode of elastic movement; Thereby enriched the Presentation Function of terminal interface, made sliding effect smooth more, improved user experience.
A kind of method that touches information displayed on screen that provides in the face of the embodiment of the invention four down describes.Technical scheme in the present embodiment is mainly that when user's finger or lettering pen slip screen and after screen leaves screen continues to slide along current glide direction with the mode of inertia.And; The information of reading on the screen to be shown for the ease of the user; The inertial sliding process that present embodiment provides is for to be made up of some sliding phase and some quiescent phases; In the middle of two adjacent sliding phase, have a quiescent phase, promptly visually screen continues to slide along current glide direction " one section one section ".
Specifically comprise following processing:
21: the rate curve that adopts normal distribution curve to slide as simulated screen; After user's finger or lettering pen stop to slide screen, according to said rate curve calculate one by one every scheduled unit time when initial screen on current glide direction, continue the initial velocity that moves.
Want to simulate inertia; So just need an initial velocity, the initial velocity when first scheduled unit time is initial is the speed of after the user slides screen, lifting screen when pointing; Perhaps, the user uses the speed of screen when lifting lettering pen behind the lettering pen slip screen.
If want to obtain nature, inertial sliding effect true to nature, best mode is exactly to continue to use the rule that nature exists.The probability distribution of a lot of stochastic variables can be described with normal distribution approx in production and the scientific experiment.Such as with indexs such as the height of a kind of biosome, body weight; The weight of same kind of seed; Measure the error of same object; Point of impact is along the deviation of a certain direction; The annual precipitation that certain is regional; And the speed component of ideal gas molecule, or the like.See that theoretically normal distribution curve has a lot of good properties..So rate curve that adopts simulated screen to slide in this programme.
Further, the embodiment of the invention two can be utilized the said rate curve of following formulate:
f ( x ) = 1 2 π σ e - x 2 2 σ 2
Wherein, f (x) expression speed, the x express time, σ is a parameter, and σ gets predetermined value, and the value of σ can be empirical value, perhaps obtains through the statistics to experimental data, and for example, the value of σ can be 1,0.5 or 0.4 etc.Utilize above-mentioned normal distribution curve to simulate to the later corresponding initial velocity of other scheduled unit times of scheduled unit time first.For example, when scheduled unit time was expressed as t, second corresponding initial velocity of scheduled unit time can be expressed as f (2t), by that analogy.
And, can utilize following formula to calculate for the initial velocity of screen when scheduled unit time is initial first:
V0=(iDragLastPointY-iDragFirstPointY)*K0/(iDragUpTime-iDragFirstTime)
In above-mentioned formula, iSlideTotalStep representes the number of times that slides,
IDragFirstPointY representes to point or the pixel coordinate value of touch point on the Y coordinate axis during lettering pen touch screen,
IDragLastPointY representes to point or lettering pen dispersal point pixel coordinate value on the Y coordinate axis when breaking away from screen,
IDragFirstTime representes to point or the time point of lettering pen when beginning touch screen,
IDragUpTime representes to point or the time point of lettering pen when breaking away from screen,
K0 representes to enlarge multiple, and value is a predetermined constant, for example, and 1000000.
Be reflected on the figure of normal curve, the initial velocity when scheduled unit time is initial first is the peak point of curve.Adopting 1000000 enlargement factor, is in order to improve the degree of accuracy of data.
22: move with said initial velocity on current glide direction through in every scheduled unit time, making screen, and after every scheduled unit time finishes, make screen keep static in the section, the information on the screen is shown in rest time.
Width according to slip number of times and selected rate curve is confirmed said scheduled unit time, and said scheduled unit time is the ratio of said width numerical value and slip number of times.The numerical value of the width of above-mentioned selected rate curve be on the normal distribution curve X axle from peak point to the selected predetermined value of positive dirction, for example, this predetermined value can be 6 σ.Referring to Fig. 7, shown the shape synoptic diagram of a kind of rate curve that the embodiment of the invention provides, choosing its width is 6 σ.
Utilize following formula to calculate said slip number of times:
iSlideTotalStep=(iDragLastPointY-iDragFirstPointY)*KDistance_TimeRatio/(iDragUpTime-iDragFirstTime);
In above-mentioned formula, iSlideTotalStep representes the number of times that slides,
IDragFirstPointY representes to point or the pixel coordinate value of touch point on the Y coordinate axis during lettering pen touch screen,
IDragLastPointY representes to point or lettering pen dispersal point pixel coordinate value on the Y coordinate axis when breaking away from screen,
IDragFirstTime representes to point or the time point of lettering pen when beginning touch screen,
IDragUpTime representes to point or the time point of lettering pen when breaking away from screen,
KDistance_TimeRatio representes to enlarge multiple, and value is a predetermined constant, as 30000.
Above-mentioned rest time, the concrete numerical value of section can be provided with as required, for example, was set to 0.05s.When scheduled unit time began, screen slided according to corresponding initial velocity, when scheduled unit time finishes; Screen stops to slide; Start section rest time, screen keeps static in rest time in the section, after rest time, section finished; Start next scheduled unit time, corresponding again beginning of screen slides.
Initial velocity
Further, in actual scene, the user operates the possibility more complicated, referring to Fig. 8.User's finger (perhaps lettering pen) order according to p0, p1, p2, p3 and p4 on screen is slided.Asking for through following processing execution initial velocity in this case:
1., lift finger movement to the p2 place and finish if the user begins to pull screen from P0.Sliding trace is a straight line, and then initial velocity is exactly (p2-p0)/t, and t representes this sliding time.
2., but just finish to p3 if the user still begins to pull screen from P0.Be that sliding trace is not a straight line.At this moment, if also use (P3-P0)/t to ask for initial velocity, be unreasonable.
To the problems referred to above, this programme adopts the sight alignment principle, if promptly on sliding trace, last three pixels point-blank can respond to users action so, promptly can adopt the inertial sliding mode of this programme that this slip is handled.If on sliding trace, last three pixels not point-blank do not respond to users action, and promptly no longer adopt the inertial sliding mode of this programme that this slip is handled.The false code of this part can be following:
Array [3] length that is provided with an integer is 3, is used for preserving user's last three pixels that slide.False code is following: if (array [0]>array [1] &array [1]>array [2] || array [0]<array [1] &array [1]<array [2]).
Response condition
Consider the needs in the practical operation,, in some cases, the user do not responded that the inertial sliding mode that does not promptly adopt present embodiment to provide is dealt with to the front slide of working as of screen in order to improve user experience.
For example, response condition one can if finger or lettering pen reside on the screen, confirm that residence time less than first predetermined threshold, then responds for after stopping to slide screen when user's finger or lettering pen, otherwise, do not respond;
Response condition two can confirm that this sliding time greater than second predetermined threshold, then responds for after stopping to slide screen when user's finger or lettering pen, otherwise, do not respond.
To response condition one; If the user stops after screen has been slided a segment distance; This moment, finger did not frame out; The oversize during this period of time inertia of just not doing slides if from the fingers stop to the finger, frame out so, and this marginal time (first predetermined threshold) can test or drawn by empirical value.For example, first predetermined threshold can be got 20000 microseconds.
To response condition two, user's screen action of sliding is divided into normal slip, quickens to slide, slides fast and slides this four kinds of situation encompasses users regular job basically the soonest.The sliding time of these four kinds of situation is tested and added up,, simplify the situation of sliding once of having tested in the test referring to table 2.
The normal slip: when on mobile phone, browsing text, the user only wants to read the finger part of sliding, and does not think inertial sliding, can be considered " the normal slip ".Slip time average once is about 0.311183 second so.
Quicken to slide: when in address list, searching a contact person, can be considered " quickening to slide " so, about 0.139781 second of slip time average once.
Slide fast: can be considered " sliding fast " during the fast browsing webpage, about 0.118117 second of slip time average once.
Slide the soonest: certain tabulation bottom slides into the top and can be considered " sliding the soonest " from the screen, and once about 0.97077 second of time average slides.
Table 2
Fig. 9 is the curve synoptic diagram corresponding to table 2, and horizontal ordinate is the slip number of times among the figure, and ordinate is a time shaft, the unit microsecond.The curve that has diamond indicia point is corresponding to normal slip, and the curve that has rectangle marked point slides corresponding to quickening, and the curve that has triangular marker point is corresponding to quick slip, and the curve that has circular gauge point is corresponding to sliding the soonest.
From top grid column come out 4 column data and Fig. 9, can draw a conclusion:
Normal curve of sliding is apparently higher than other 3 curves, and we make decision here: the sliding time of 200000 microseconds is to call the critical point that the slip engine responds, and promptly smaller or equal to just calling the slip engine after 200000 microseconds, the user is responded; Never call the slip engine greater than 200000 microseconds, do not respond.
The sliding effect checking
On several terminals, scheme is tested, the result is referring to following table 3 and shown in Figure 10.σ gets different numerical in the different tests, and the width of selected rate curve (width) is also different, the multiple of the multiple in the table for enlarging.The data of each section sliding distance in the inertial sliding have been shown in the table 3.
Annotate: multiple: a parasang is a pixel because physical screen slides; Such as 100 pixels, the time is 0.1 second, and the sliding speed of screen was exactly 1000 pixel/seconds so; In order to be mapped to this actual physical numerical value on the mathematical model, need amplify mathematical model.The multiple here is worth enlargement factor exactly.At this, multiple is not a definite value, it according to initial velocity size change, be false code below:
multiple=NormalDistributeMuliteBase+NormalDistributeMuliteStep*(iSlideTotalStep-KLowestRatio);
Here NormalDistributeMuliteBase amplifies radix, can get 250; ISlideTotalStep is the number of times that slides altogether, and KLowestRatio is the number of times of minimum slip, and value can be 10, and NormalDistributeMuliteStep is a multiple once, gets 30.
Table 3
Figure BDA0000070982770000161
Horizontal ordinate among Figure 10 is represented the number of times that slides, and ordinate is a pixel unit.
The curve that has the point-like gauge point is corresponding to test 1, and the curve that has the strigula gauge point is corresponding to test 2, and the curve that has triangular marker point is corresponding to test 3, and the curve that has rectangle marked point is corresponding to test 4.
Can find out,, can access more satisfactory result, be fit to the mode of motion of inertial sliding, particularly test 1 curve and test 4 curves through to the choosing of the isoparametric value of σ.To test 1 curve is example (parameter σ=1), the beginning from the curve peak of the initial velocity of inertial sliding, i.e. transverse axis unit's 8 beginnings.Slide like this from 199,188,159,121,82.Because through enlarging the multiple operation, can thinking 199,188 so, to wait these values are pixel values of screen.
By above-mentioned visible, the technical scheme that the embodiment of the invention provides is through analysing in depth the characteristics of sliding motion, the rate curve that adopts the normal distribution curve simulated screen to slide; Calculate corresponding initial velocity, thereby after user's finger or lettering pen stopped to slide screen, screen continued to slide with a kind of mode of inertia motion; And can in the rest time section, keep static so that the user knows reading information, increased a sliding process the quantity of information that can show, simplified user's operation; Improved the efficient that information shows; Strengthened the dirigibility of display mode, sliding effect is smooth more, has improved user experience.
The embodiment of the invention five also provides a kind of device that touches information displayed on screen, and referring to Figure 11, said device comprises:
Return metrics calculation unit 111; Be used to adopt the rate curve of parabolic curve as the simulated screen slip; After pulling the EO of screen, calculate one by one according to said rate curve that screen returns the recurrence distance that is moved to top or bottom in every scheduled unit time from top or bottom;
Information display unit 112 is used for through in every scheduled unit time, screen being returned distance accordingly to top or bottom slip the information on the screen being shown;
Wherein, said recurrence metrics calculation unit 111 is utilized the said rate curve of following formulate:
y=k(x-b) 2
In the above-mentioned formula, y representes speed, the x express time; K and b are parameter, and the value of k is the predetermined value greater than zero, and; According to the leg-of-mutton area of maximum inscribe of said parabolic curve, the pixel distance of screen distance top or bottom calculates the value of said parameter b, when the b value that calculates comprises fraction part; B value to calculating rounds up, and the value of the total number of recurrence distance that is calculated is the b value.
The concrete working method of each functional module and unit can be referring to the related content among the inventive method embodiment among apparatus of the present invention embodiment.
By above-mentioned visible; The technical scheme that the embodiment of the invention provides is through analysing in depth the characteristics of sliding motion, and the rate curve that adopts the parabolic curve simulated screen to slide calculates and respectively returns distance accordingly; Make screen after squinting be returned to the starting point of slip with a kind of mode of elastic movement; Thereby enriched the Presentation Function of terminal interface, made sliding effect smooth more, improved user experience.
The embodiment of the invention six also provides a kind of device that touches information displayed on screen, and referring to Figure 12, said device comprises:
Initial velocity computing unit 121; Be used to adopt the rate curve of normal distribution curve as the simulated screen slip; After user's finger or lettering pen stop to slide screen, according to said rate curve calculate one by one every scheduled unit time when initial screen on current glide direction, continue the initial velocity that moves;
Information display unit 122; Be used for through screen is moved with said initial velocity on current glide direction; And after every scheduled unit time finishes, make screen keep static in the section in rest time, the information on the screen is shown;
Wherein, said initial velocity computing unit is used to utilize the said rate curve of following formulate:
f ( x ) = 1 2 π σ e - x 2 2 σ 2
Wherein, f (x) expression speed, the x express time, σ is a parameter, σ gets predetermined value.
The concrete working method of each functional module and unit can be referring to the related content among the inventive method embodiment among apparatus of the present invention embodiment.
By above-mentioned visible, the technical scheme that the embodiment of the invention provides is through analysing in depth the characteristics of sliding motion, the rate curve that adopts the normal distribution curve simulated screen to slide; Calculate corresponding initial velocity, thereby after user's finger or lettering pen stopped to slide screen, screen continued to slide with a kind of mode of inertia motion; And can in the rest time section, keep static so that the user knows reading information, increased a sliding process the quantity of information that can show, simplified user's operation; Improved the efficient that information shows; Strengthened the dirigibility of display mode, sliding effect is smooth more, has improved user experience.
Those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can software product embodied come out; This computer software product can be stored in the storage medium, like ROM/RAM, magnetic disc, CD etc., comprises that some instructions are with so that a computer equipment (can be a personal computer; Server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.

Claims (10)

1. a method that touches information displayed on screen is characterized in that, said method comprises:
The rate curve that adopts parabolic curve to slide as simulated screen;
After pulling the EO of screen, calculate one by one according to said rate curve that screen returns the recurrence distance that is moved to top or bottom in every scheduled unit time from top or bottom;
Through in every scheduled unit time, screen being returned distance accordingly to top or bottom slip, the information on the screen is shown.
2. method according to claim 1 is characterized in that,
Utilize the said rate curve of following formulate:
y=k(x-b) 2
Wherein, y representes speed, the x express time; K and b are parameter, and the value of k is the predetermined value greater than zero, and; Calculate the value of said parameter b according to the pixel distance of the leg-of-mutton area of maximum inscribe of said parabolic curve and screen distance top or bottom; When the b value that calculates comprises fraction part, the b value that calculates is rounded up, the numerical value of the total number of recurrence distance that is calculated is the b value.
3. method according to claim 2 is characterized in that, through following formula, confirms the value of said parameter b according to the pixel distance of the leg-of-mutton area of maximum inscribe of said parabolic curve and screen distance top or bottom:
S1=(S2-4/3*S3)/2
S1=|Y′-Y|
|Y′-Y|=kb 3/3
Wherein, the pixel distance of screen distance top or bottom is corresponding to the area S1 of parabolic curve and X coordinate axis and Y coordinate axis institute region;
Straight line X=2b, Y=kb 2With the area of two rectangular areas that coordinate axis is enclosed of X Y be S2;
The leg-of-mutton area of maximum inscribe of said parabolic curve is S3;
Location of pixels after Y ' expression screen pulls, Y representes the location of pixels that screen is original.
4. method according to claim 2 is characterized in that, through following formula, calculates one by one according to said rate curve that screen returns the recurrence distance that is moved to top or bottom in every scheduled unit time:
∫ a a + 1 f ( x ) dx = ( b - a ) / n * ( y 1 + y 2 + . . . + yn )
Wherein, the value of a is 0 to (b-1), and n is a predetermined value, and yn representes parabolic curve and straight line x=a, after area that x=a+1 surrounds is divided into n rectangle, and the area of n rectangle.
5. a method that touches information displayed on screen is characterized in that, said method comprises:
The rate curve that adopts normal distribution curve to slide as simulated screen;
After user's finger or lettering pen stop to slide screen, according to said rate curve calculate one by one every scheduled unit time when initial screen on current glide direction, continue the initial velocity that moves;
Through screen is moved with said initial velocity on current glide direction, and after every scheduled unit time finishes, make screen keep static in the section, the information on the screen is shown in rest time.
6. method according to claim 5 is characterized in that,
Utilize the said rate curve of following formulate:
f ( x ) = 1 2 π e - x 2 2 σ 2
Wherein, f (x) expression speed, the x express time, σ is a parameter, σ gets predetermined value.
7. method according to claim 5 is characterized in that,
Width numerical value according to slip number of times and selected rate curve is confirmed said scheduled unit time, and said scheduled unit time is the ratio of said width numerical value and slip number of times;
Utilize following formula to calculate said slip number of times:
iSlideTotalStep=(iDragLastPointY-iDragFirstPointY)*KDistance_TimeRatio/(iDragUpTime-iDragFirstTime);
Utilize following formula to calculate the initial velocity of screen when scheduled unit time is initial first:
V0=(iDragLastPointY-iDragFirstPointY)*K0/(iDragUpTime-iDragFirstTime)
In above-mentioned formula, iSlideTotalStep representes the number of times that slides,
IDragFirstPointY representes to point or the pixel coordinate value of touch point on the Y coordinate axis during lettering pen touch screen,
IDragLastPointY representes to point or lettering pen dispersal point pixel coordinate value on the Y coordinate axis when breaking away from screen,
IDragFirstTime representes to point or the time point of lettering pen when beginning touch screen,
IDragUpTime representes to point or the time point of lettering pen when breaking away from screen,
KDistance_TimeRatio representes to enlarge multiple, and value is a predetermined constant,
K0 representes to enlarge multiple, and value is the predetermined constant different with KDistance_TimeRatio.
8. method according to claim 7 is characterized in that,
Said method also comprises: on the track of user's finger or lettering pen slip screen, if three last pixels are not located along the same line, this slip is not responded;
And,
Calculate every scheduled unit time initial velocity that screen is continuing on the current glide direction to move when initial one by one according to said rate curve before; Said method also comprises: after user's finger or lettering pen stop to slide screen, confirm that this sliding time is greater than second predetermined threshold; After user's finger or lettering pen stop to slide screen,, confirm that residence time is less than first predetermined threshold if finger or lettering pen reside on the screen.
9. a device that touches information displayed on screen is characterized in that, said device comprises:
Return metrics calculation unit; Be used to adopt the rate curve of parabolic curve as the simulated screen slip; After pulling the EO of screen, calculate one by one according to said rate curve that screen returns the recurrence distance that is moved to top or bottom in every scheduled unit time from top or bottom;
Information display unit is used for through in every scheduled unit time, screen being returned distance accordingly to top or bottom slip the information on the screen being shown;
Wherein, the said rate curve of the following formulate of said recurrence metrics calculation unit utilization:
y=k(x-b) 2
In the above-mentioned formula, y representes speed, the x express time; K and b are parameter, and the value of k is the predetermined value greater than zero, and; According to the leg-of-mutton area of maximum inscribe of said parabolic curve, the pixel distance of screen distance top or bottom calculates the value of said parameter b, when the b value that calculates comprises fraction part; B value to calculating rounds up, and the value of the total number of recurrence distance that is calculated is the b value.
10. a device that touches information displayed on screen is characterized in that, said device comprises:
The initial velocity computing unit; Be used to adopt the rate curve of normal distribution curve as the simulated screen slip; After user's finger or lettering pen stop to slide screen, according to said rate curve calculate one by one every scheduled unit time when initial screen on current glide direction, continue the initial velocity that moves;
Information display unit; Be used for through screen is moved with said initial velocity on current glide direction; And after every scheduled unit time finishes, make screen keep static in the section in rest time, the information on the screen is shown;
Wherein, said initial velocity computing unit is used to utilize the said rate curve of following formulate:
f ( x ) = 1 2 π σ e - x 2 2 σ 2
Wherein, f (x) expression speed, the x express time, σ is a parameter, σ gets predetermined value.
CN201110172712.8A 2011-06-24 2011-06-24 Method and device for displaying information on touch screen Active CN102331877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110172712.8A CN102331877B (en) 2011-06-24 2011-06-24 Method and device for displaying information on touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110172712.8A CN102331877B (en) 2011-06-24 2011-06-24 Method and device for displaying information on touch screen

Publications (2)

Publication Number Publication Date
CN102331877A true CN102331877A (en) 2012-01-25
CN102331877B CN102331877B (en) 2014-08-06

Family

ID=45483674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110172712.8A Active CN102331877B (en) 2011-06-24 2011-06-24 Method and device for displaying information on touch screen

Country Status (1)

Country Link
CN (1) CN102331877B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681770A (en) * 2012-02-24 2012-09-19 康佳集团股份有限公司 Method and device for operating listbox in touch manner
CN103076917A (en) * 2012-12-28 2013-05-01 华为终端有限公司 Method for adjusting fluency of display interface and terminal
CN103870022A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Information processing method and electronic device
CN104063167A (en) * 2013-03-19 2014-09-24 卡西欧计算机株式会社 Graph display apparatus and graph display method
CN104423849A (en) * 2013-08-19 2015-03-18 联想(北京)有限公司 Information processing method, information processing device and electronic equipment
WO2015096109A1 (en) * 2013-12-26 2015-07-02 宇龙计算机通信科技(深圳)有限公司 Terminal operating method and terminal
CN106325713A (en) * 2016-08-17 2017-01-11 厦门印天电子科技有限公司 Inertia movement method of sliding object in whiteboard software
CN107463567A (en) * 2016-06-02 2017-12-12 广州市动景计算机科技有限公司 Data buffer storage loading method and device and portable terminal
CN109407881A (en) * 2018-09-13 2019-03-01 广东美的制冷设备有限公司 Touch control method, device and household appliance based on curved touch screen
CN109793470A (en) * 2017-11-16 2019-05-24 青岛海尔洗碗机有限公司 A kind of dish washer control method and dish-washing machine
CN110018771A (en) * 2018-11-20 2019-07-16 阿里巴巴集团控股有限公司 A kind of information displaying method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308440A (en) * 2008-06-25 2008-11-19 宇龙计算机通信科技(深圳)有限公司 Interaction control method and system based on touch screen
CN101599001A (en) * 2009-07-13 2009-12-09 青岛海信移动通信技术股份有限公司 Update method for touch-screen display interface and multimedia electronic equipment
CN101819498A (en) * 2009-02-27 2010-09-01 瞬联讯通科技(北京)有限公司 Screen display-controlling method facing to slide body of touch screen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308440A (en) * 2008-06-25 2008-11-19 宇龙计算机通信科技(深圳)有限公司 Interaction control method and system based on touch screen
CN101819498A (en) * 2009-02-27 2010-09-01 瞬联讯通科技(北京)有限公司 Screen display-controlling method facing to slide body of touch screen
CN101599001A (en) * 2009-07-13 2009-12-09 青岛海信移动通信技术股份有限公司 Update method for touch-screen display interface and multimedia electronic equipment

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681770A (en) * 2012-02-24 2012-09-19 康佳集团股份有限公司 Method and device for operating listbox in touch manner
CN102681770B (en) * 2012-02-24 2017-11-21 康佳集团股份有限公司 A kind of method of contact action list box
CN103870022A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Information processing method and electronic device
CN103076917A (en) * 2012-12-28 2013-05-01 华为终端有限公司 Method for adjusting fluency of display interface and terminal
CN103076917B (en) * 2012-12-28 2015-07-29 华为终端有限公司 A kind of method of adjustment of display interface fluency and terminal
CN104063167A (en) * 2013-03-19 2014-09-24 卡西欧计算机株式会社 Graph display apparatus and graph display method
CN104063167B (en) * 2013-03-19 2017-08-01 卡西欧计算机株式会社 Curve map display device and curve map display methods
CN104423849A (en) * 2013-08-19 2015-03-18 联想(北京)有限公司 Information processing method, information processing device and electronic equipment
WO2015096109A1 (en) * 2013-12-26 2015-07-02 宇龙计算机通信科技(深圳)有限公司 Terminal operating method and terminal
CN105849687A (en) * 2013-12-26 2016-08-10 宇龙计算机通信科技(深圳)有限公司 Terminal operating method and terminal
CN107463567A (en) * 2016-06-02 2017-12-12 广州市动景计算机科技有限公司 Data buffer storage loading method and device and portable terminal
CN106325713A (en) * 2016-08-17 2017-01-11 厦门印天电子科技有限公司 Inertia movement method of sliding object in whiteboard software
CN106325713B (en) * 2016-08-17 2019-12-03 厦门印天电子科技有限公司 A kind of inertia moving method of whiteboarding software sliding object
CN109793470A (en) * 2017-11-16 2019-05-24 青岛海尔洗碗机有限公司 A kind of dish washer control method and dish-washing machine
CN109407881A (en) * 2018-09-13 2019-03-01 广东美的制冷设备有限公司 Touch control method, device and household appliance based on curved touch screen
CN109407881B (en) * 2018-09-13 2022-03-25 广东美的制冷设备有限公司 Touch method and device based on curved surface touch screen and household appliance
CN110018771A (en) * 2018-11-20 2019-07-16 阿里巴巴集团控股有限公司 A kind of information displaying method and device
CN110018771B (en) * 2018-11-20 2022-04-22 创新先进技术有限公司 Information display method and device

Also Published As

Publication number Publication date
CN102331877B (en) 2014-08-06

Similar Documents

Publication Publication Date Title
CN102331877B (en) Method and device for displaying information on touch screen
US10430068B2 (en) Method for displaying interface content and user equipment
CN103097996A (en) Motion control touch screen method and apparatus
CN102981707A (en) Self-adaptive area cursor
WO2014115145A2 (en) System and method for dynamically displaying characters over a screen of a computerized mobile device
CN101923435A (en) Method for simulating real page turning effect for electronic book
CN102541537B (en) Method and device for realizing menu container controls with surrounding effect
US9135892B2 (en) System and method for viewing content
CN101692196B (en) Window arranging method and system
TWI470490B (en) Stroke display method of handwriting input and electronic device
CN104063167B (en) Curve map display device and curve map display methods
CN105955599B (en) A kind of implementation method for simulating document reading method on an electronic device
US20150091809A1 (en) Skeuomorphic ebook and tablet
CN103064554A (en) Chirography smoothing method of handwriting input method and handwriting input method
CN103885685A (en) Method and device for processing pages
CN102830934B (en) A kind of handwriting input display method and device
CN110888549B (en) Handwriting practicing method, system, equipment and storage medium based on touch equipment
CN104020934A (en) Paging control implementation method and device
CN105808083B (en) Display method and device
CN113590000A (en) Handwriting processing method, handwriting processing device and storage medium
CN103309571B (en) Control method and the device of page slip
WO2018000606A1 (en) Virtual-reality interaction interface switching method and electronic device
CN103838429A (en) Method and system for conducting drawing on touch screen to achieve writing brush effect
US8749558B2 (en) Method for displaying displacement of object on display of electronic device
CN104346046A (en) Three-dimensional simulation page turning method and system

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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 810, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080

Patentee after: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building A block 5 layer

Patentee before: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd.