CN102314282A - Method for realizing content selection on the basis of scrolling widget and device - Google Patents

Method for realizing content selection on the basis of scrolling widget and device Download PDF

Info

Publication number
CN102314282A
CN102314282A CN2010102151008A CN201010215100A CN102314282A CN 102314282 A CN102314282 A CN 102314282A CN 2010102151008 A CN2010102151008 A CN 2010102151008A CN 201010215100 A CN201010215100 A CN 201010215100A CN 102314282 A CN102314282 A CN 102314282A
Authority
CN
China
Prior art keywords
displacement
linear velocity
initial value
time
scroll bar
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
CN2010102151008A
Other languages
Chinese (zh)
Other versions
CN102314282B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201010215100.8A priority Critical patent/CN102314282B/en
Publication of CN102314282A publication Critical patent/CN102314282A/en
Application granted granted Critical
Publication of CN102314282B publication Critical patent/CN102314282B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for realizing content selection on the basis of a scrolling widget and a device. The method comprises the following steps: recording the position and the corresponding time of a clicked object; then, if a linear velocity initial value obtained by a position when the clicked object is raised and the position corresponding to the final recorded time is not zero, obtaining displacement amount according to the linear velocity initial value; according to the displacement amount, regulating the scrolling widget; and selecting a corresponding content until the displacement amount is zero. With the method, a corresponding linear velocity initial value is obtained according to the displacement corresponding to time before and after the clicked object is raised; and according to the initial value, the scrolling widget is continuously operated, and corresponding content is selected to ensure that a user still can select required content when the user touches the edge of a touch screen or a mouse does not have operation space, so convenience is brought to the user, and the experience feeling can be improved.

Description

A kind of method and device of realizing content choice based on scroll control
Technical field
The present invention relates to a kind of method and device, belong to communication technique field based on scroll control realization content choice.
Background technology
Existing method based on scroll control realization content choice can be operated the content in the real-time selection scroll bar according to the operation or the mouse moving of finger or writing pencil on the touch-screen.
In realizing process of the present invention, the inventor finds to exist at least in the prior art following problem:
Prior art is not supported in finger or writing pencil lifts rolling back or that mousebutton lifts the back scroll bar; Because in the actual operation; When the edge of finger or writing pencil arrival touch-screen; The user wants to continue to select the content in the scroll bar, has only the centre that finger or writing pencil are got back to touch-screen after lifting to select once more, has so just brought inconvenience to the user.
Summary of the invention
The invention provides a kind of method and device of realizing content choice based on scroll control; With solve use scroll control in the prior art the user at the edge that arrives touch-screen or mouse need carry out the problem that secondary is selected when not having the operating space, the present invention adopts following technical scheme for this reason:
The embodiment of the invention provides a kind of method based on scroll control realization content choice, comprising:
The position and the time corresponding of thing clicked in record;
If the linear velocity initial value that the position corresponding with the final time of said record, position when lifting according to said click thing obtains is not 0; Then the initial value according to said linear velocity obtains corresponding displacement; And, be 0 to choose corresponding contents up to said displacement according to said displacement adjustment scroll control.
The embodiment of the invention also provides a kind of device based on scroll control realization content choice, comprising:
Logging modle is used to write down position and the time corresponding of clicking thing;
The linear velocity acquisition module is used for the linear velocity initial value that the position corresponding with the final time of said record, position when lifting according to said click thing obtains;
Judge module is used to judge whether the said linear velocity initial value that said linear velocity acquisition module obtains is 0, if directly choose corresponding contents; If not, then carry out the displacement acquisition module;
The displacement acquisition module is used for obtaining corresponding displacement according to the initial value of said linear velocity;
Module is selected in adjustment, is used for the displacement adjustment scroll control that obtains according to said displacement acquisition module, is 0 to choose corresponding contents up to said displacement.
The technical scheme that embodiment of the present invention provides is lifted the corresponding displacement of surrounding time through the click thing and is obtained corresponding linear velocity initial value; And scroll control is proceeded operation and chosen corresponding contents according to said initial value; Guaranteed the user at the edge that arrives touch-screen or mouse still can choose needed content when not having the operating space; Make things convenient for the user, improved experience sense.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; The accompanying drawing of required use is done to introduce simply in will describing embodiment 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 property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the described a kind of schematic flow sheet of realizing the method for content choice based on scroll control of the embodiment of the invention;
Fig. 2 (a) is that the embodiment of the invention is described when scroll bar arrives right margin, clicks the displacement P and the boundary length X of thing MaxPoor (P-X Max) synoptic diagram of relation (mm) and between the distance X (mm) that moves of content;
Fig. 2 (b) is that the embodiment of the invention is described when scroll bar arrives left margin, the synoptic diagram of relation between the displacement P (mm) of click thing and the distance X (mm) that content moves;
Fig. 3 is that the embodiment of the invention is described with the scroll bar of ordinate direction and 15 rolling contents are specifically arranged is example realizes the schematic flow sheet of the method for content choice based on scroll control;
Fig. 4 is the described a kind of structural representation of realizing the device of content choice based on scroll control of the embodiment of the invention.
Embodiment
Below in conjunction with Figure of description embodiment of the present invention is described.This instructions mainly with the application of the present invention in instant communication service as most preferred embodiment, certainly, also can be used for other Internet service systems such as webmail service system, network cooperating work service system in the practical application.
In a kind of method that embodiment of the present invention provides based on scroll control realization content choice, as shown in Figure 1, comprising:
The position and the time corresponding of thing clicked in step 11, record;
Particularly, said click thing can be finger or the writing pencil on the touch apparatus, also can be mousebutton; If in the windows system, will point usually or the click event of writing pencil is mapped as mouse click event: finger or writing pencil touch are pressed corresponding mousebutton and are pressed (MouseButtonDown); Finger or writing pencil touch mobile corresponding mouse and move (MouseMove); Finger or writing pencil touch are lifted corresponding mousebutton and are lifted (MouseButtonUp); Utilize corresponding preparatory incident PreviewMouseButtonDown, PreviewMouseMove and PreviewMouseButtonUp to receive mouse information intercepting and capturing incident before in scroll control; For example, in the preparatory incident of PreviewMouseButtonDown, create an initialization and click thing touch track record, and the position coordinates and the time of thing clicked in record; The position coordinates and corresponding time after thing moves at every turn clicked in record in the preparatory incident of PreviewMouseMove; Position when the record finger lifts in the preparatory incident of PreviewMouseButtonUp and corresponding time, and finish track record.
Further, at first, the setting-up time interval, the said time interval can be 1s, also can be 10 millimeters, confirms according to user operation habits or use experience; Then, every position and time corresponding of clicking thing of noting at a distance from the said time interval: specifically can set up two-dimentional rectangular coordinate system, note coordinate figure and the time corresponding of clicking thing.
Whether the linear velocity initial value that step 12, the position corresponding with the final time of said record, position when judgement is lifted according to said click thing obtain is 0, if then execution in step 13; If not, execution in step 14 then;
Position when lifting as if the click thing particularly, is (X n, Y n) the corresponding time is T n, the final time of record is T N-1Corresponding position is (X N-1, Y N-1), then the initial value of linear velocity be (| X n-X N-1|, | Y n-Y N-1|)/(T n-T N-1); If the linear velocity initial value is 0, then explain and selected the content that needs when the user lifts, and if the linear velocity initial value is not 0, then explanation also wants to continue to select other content when lifting, and promptly just can understand user's selection intention according to said linear velocity initial value.
Step 13, directly choose corresponding contents.
Step 14, obtaining corresponding displacement according to the initial value of said linear velocity, and according to said displacement adjustment scroll control, is 0 to choose corresponding contents up to said displacement.
Particularly, at first, preestablish acceleration; Said acceleration can be 1 (displacement/second), also can be 1 (displacement/millisecond), and confirm according to user operation habits or use experience: for example: horizontal ordinate directional ray speed initial value is 5mm/ms; No ordinate directional ray speed initial value; The setting acceleration is 1mm/ms, because the time is the unit interval so can ignore chronomere, then initial displacement is 5-1=4mm; Just adjust scroll bar rolling 4mm in the scroll control, this moment, linear velocity also was reduced to 4mm/ms; Continuing to obtain displacement is 4-1=3mm, continues scroll bar rolling 3mm in the adjustment scroll control, and this moment, linear velocity also was reduced to 3mm/ms; By that analogy, be reduced to 0mm/ms, then choose scroll bar through repeatedly moving the content on the position, back up to said displacement.
Said method has reached a kind of inertia effect; Promptly when user finger streaks on a control that has a scroll bar; Scroll bar not only will be followed user's finger and rolled, and when user's finger leaves and has certain initial velocity, can continue to roll and stop slowly.
Further, if the scroll bar in the scroll control arrives the border, be 0 o'clock then at said displacement, turn back to the boundary of the scroll bar in the said scroll control, choose corresponding contents.For example: horizontal ordinate directional ray speed initial value is 5mm/ms; No ordinate directional ray speed initial value, the setting acceleration is 1mm/ms, because the time is the unit interval so can ignore chronomere; Then initial displacement is 5-1=4mm; Just adjust scroll bar rolling 4mm in the scroll control, but the only remaining 3mm of scroll bar horizontal ordinate corresponding contents can show at this moment, is reduced at 0 o'clock at said displacement so; Turn back to the boundary of the scroll bar in the said scroll control, choose corresponding contents.The process on the scroll bar border in turning back to said scroll control can playing animation or picture.
Perhaps,
If when scroll bar arrives the border,, it is not 0 o'clock then at the said displacement that successively decreases gradually if the scroll bar in the said scroll control arrives the border; Show blank gradually; Be reduced at 0 o'clock at said displacement, turn back to the boundary of the scroll bar in the said scroll control, choose corresponding contents.For example: ordinate directional ray speed initial value is 5mm/ms, no horizontal ordinate directional ray speed initial value, and the setting acceleration is 1mm/ms; Because the time is the unit interval so can ignore chronomere, then initial displacement is 5-1=4mm, just adjusts scroll bar rolling 4mm in the scroll control; But the only remaining 3mm of scroll bar horizontal ordinate corresponding contents this moment; The displacement that basis is successively decreased gradually after scroll bar arrives boundary position so shows blank gradually, is reduced to 0 o'clock up to said displacement; Turn back to the boundary of the scroll bar in the said scroll control, choose corresponding contents.The process on the scroll bar border in turning back to said scroll control can playing animation or picture.Just reached a kind of elastic effect this moment, when promptly scroll bar arrives the border, if finger continues to drag to the border; Then content displacement is not directly proportional with finger displacement, but presents the pulling force effect of spring-like, and it is big more to be specially finger displacement; The resistance that receives when content moves is just more little, and the maximal value that has a content to move, and promptly no matter points and how far moves; The distance that content moves can only be infinitely near this maximal value, and can not meet or exceed this maximal value.
Particularly; The existing control that has scroll bar all is (like ListBox or the RichEditBox) that realizes rolling function through the basic control of ScrollViewer (roll events); As long as the rolling behavior of control ScrollViewer; The operation of clicking thing promptly may be used on the control of other tape spools; Usually all being HorzontalOffset (horizontal component) and the position that VerticalOffset (vertical component) attribute obtains HScrollBar and the vertical position of scroll bar through visit ScrollViewer, is example with the mobile of vertical component further, judges that the process on scroll bar arrival border can comprise:
double?oldVerticalOffset=this._scrollViewer.VerticalOffset;
double?p=oldVerticalOffset-y;
If p is less than 0, then scroll bar has arrived the boundary of starting position; If p is greater than scrollViewer.ScrollzbleHeight (being the maximum displacement of vertical direction), then scroll bar has arrived the boundary of end position.
In the said method, can also comprise after said scroll bar arrives the border, continue to move, then click thing distance that moves and the distance (promptly showing the blank distance that moves) that the scroll bar content moves and just be not linear relationship to boundary direction if click thing.When scroll bar arrives left margin with scroll bar horizontal ordinate mobile content and click the displacement P and the boundary length X of thing MaxPoor (P-X Max) (mm) be example, (P-X at this moment greater than 0 Max) (mm) and the relation between the distance X (mm) that moves of content shown in Fig. 2 (a), particularly, X=a * { 1-a/ [a+ (P-X Max)], wherein a is the elasticity maximal value, can confirm according to user operation habits or use experience, sets a=20mm in this example; Perhaps when scroll bar arrives left margin; Is example with scroll bar horizontal ordinate mobile content and the displacement P that clicks thing less than 0, this moment P (mm) and and the distance X (mm) that moves of content between relation shown in Fig. 2 (b), particularly; X=a * [1+a/ (a-P)]; Wherein a is the elasticity maximal value, can confirm according to user operation habits or use experience, sets a=20mm in this example.
The embodiment of the invention is with the scroll bar of ordinate direction and specifically have 15 rolling contents to be example, and is as shown in Figure 3, comprising:
The position and the corresponding time of thing clicked in step 31, record; As writing time the 10:52:01 correspondence position be (0,1); The 10:52:03 correspondence position is (0,2);
Step 32, the position corresponding with the final time of said record, position when lifting according to the click thing obtain linear velocity initial value (not being 0); As the position when clicking thing and lifting is (0,10), and the corresponding time is 10:52:05, and then obtaining the linear velocity initial value is (10-2)/2s=4;
Step 33, adjust the initial value of said linear velocity successively, obtain corresponding displacement, and, be 0, choose corresponding contents up to said displacement according to the scroll bar in the said displacement adjustment scroll control according to the acceleration of setting; As to set acceleration be 1, and then initial displacement is 4-1=3, and the adjustment scroll bar rolls 3, in-position (0,13); This moment, linear velocity was reduced to 3, continued to obtain displacement 3-1=2, and the adjustment scroll bar rolls 2, in-position (0,15); At this moment linear velocity is reduced to 2; Obtain displacement 2-1=1; Scroll bar has been rolled to the border; If a is set at 20mm among Fig. 2 (a); Can show that then blank also mobile linear velocity this moment is reduced to 1 this moment, obtain displacement 1-1=0, then turn back to the 15th content place of scroll bar.Process turning back to the 15th content of scroll bar can playing animation or picture
Embodiment of the present invention also provides a kind of technical scheme that realizes the device of content choice based on scroll control; This device can be arranged in the existing scroll control; Also can be arranged in the newly-designed scroll control through program, as shown in Figure 4, comprising:
Logging modle 41 is used to write down position and the time corresponding of clicking thing;
Particularly, said click thing can be finger or the writing pencil on the touch apparatus, also can be mousebutton;
Further, at first, the setting-up time interval, the said time interval can be 1s, also can be 10 millimeters, confirms according to user operation habits or use experience; Then, every position and time corresponding of clicking thing of noting at a distance from the said time interval: specifically can set up two-dimentional rectangular coordinate system, note coordinate figure and the time corresponding of clicking thing.
Linear velocity acquisition module 42 is used for the linear velocity initial value of position when lifting according to the said click thing position acquisition corresponding with the final time of said logging modle 41 records;
Judge module 43 is used to judge whether the said linear velocity initial value that said linear velocity acquisition module 42 obtains is 0, if directly choose corresponding contents; If not, then carry out displacement acquisition module 44;
Position when lifting as if the click thing particularly, is (X n, Y n) the corresponding time is T n, the final time of record is T N-1Corresponding position is (X N-1, Y N-1), then the initial value of linear velocity be (| X n-X N-1|, | Y n-Y N-1|)/(T n-T N-1); If the linear velocity initial value is 0, then explain and selected the content that needs when the user lifts, and if the linear velocity initial value is not 0, then explanation also wants to continue to select other content when lifting, and promptly just can understand user's selection intention according to said linear velocity initial value.
Displacement acquisition module 44 is used for obtaining corresponding displacement according to the initial value of said linear velocity;
Module 45 is selected in adjustment, is used for adjusting scroll control according to the displacement that said displacement acquisition module 44 obtains, and be 0 up to said displacement, choose corresponding contents.
Particularly, at first, preestablish acceleration; Said acceleration can be 1 (displacement/second), also can be 1 (displacement/millisecond), and confirm according to user operation habits or use experience: for example: horizontal ordinate directional ray speed initial value is 5mm/ms; No ordinate directional ray speed initial value; The setting acceleration is 1mm/ms, because the time is the unit interval so can ignore chronomere, then initial displacement is 5-1=4mm; Just adjust scroll bar rolling 4mm in the scroll control, this moment, linear velocity also was reduced to 4mm/ms; Continuing to obtain displacement is 4-1=3mm, continues scroll bar rolling 3mm in the adjustment scroll control, and this moment, linear velocity also was reduced to 3mm/ms; By that analogy, be reduced to 0mm/ms, then select scroll bar through repeatedly moving the content on the position, back up to linear velocity.Just reached a kind of inertia effect this moment, and promptly when user's finger streaked on a control that has a scroll bar, scroll bar not only will be followed user's finger and rolled, and when user's finger leaves and has certain initial velocity, can continue rolling and stop slowly.
Further, if the scroll bar in the scroll control arrives the border, be 0 o'clock then at said displacement, turn back to the boundary of the scroll bar in the said scroll control, choose content corresponding.For example: horizontal ordinate directional ray speed initial value is 5mm/ms; No ordinate directional ray speed initial value, the setting acceleration is 1mm/ms, because the time is the unit interval so can ignore chronomere; Then initial displacement is 5-1=4mm; Just adjust scroll bar rolling 4mm in the scroll control, but the only remaining 3mm of scroll bar horizontal ordinate corresponding contents can show at this moment, is reduced at 0 o'clock at said displacement so; Turn back to the boundary of the scroll bar in the said scroll control, choose corresponding contents.The process on the scroll bar border in turning back to said scroll control can playing animation or picture.
Perhaps,
If when scroll bar arrives the border,, it is not 0 o'clock then at the said displacement that successively decreases gradually if the scroll bar in the said scroll control arrives the border; Show blank gradually; Be reduced at 0 o'clock at said displacement, turn back to the boundary of the scroll bar in the said scroll control, choose corresponding contents.For example: ordinate directional ray speed initial value is 5mm/ms, no horizontal ordinate directional ray speed initial value, and the setting acceleration is 1mm/ms; Because the time is the unit interval so can ignore chronomere, then initial displacement is 5-1=4mm, just adjusts scroll bar rolling 4mm in the scroll control; But the only remaining 3mm of scroll bar horizontal ordinate corresponding contents this moment; The displacement that basis is successively decreased gradually after scroll bar arrives boundary position so shows blank gradually, is reduced to 0 o'clock up to said displacement; Turn back to the boundary of the scroll bar in the said scroll control, choose corresponding contents.The process on the scroll bar border in turning back to said scroll control can playing animation or picture.Just reached a kind of elastic effect this moment, when promptly scroll bar arrives the border, if finger continues to drag to the border; Then content displacement is not directly proportional with finger displacement, but presents the pulling force effect of spring-like, and it is big more to be specially finger displacement; The resistance that receives when content moves is just more little, and the maximal value that has a content to move, and promptly no matter points and how far moves; The distance that content moves can only be infinitely near this maximal value, and can not meet or exceed this maximal value.
Particularly; The existing control that has scroll bar is all realized rolling function (like ListBox or RichEditBox) through ScrollViewer (roll events) for basic control; As long as the rolling behavior of control ScrollViewer; The operation of clicking thing promptly may be used on the control of other tape spools; Usually all being HorzontalOffset (horizontal component) and the position that VerticalOffset (vertical component) attribute obtains HScrollBar and the vertical position of scroll bar through visit ScrollViewer, is example with the mobile of vertical component further, judges that the process on scroll bar arrival border can comprise:
double?oldVerticalOffset=this._scrollViewer.VerticalOffset;
double?p=oldVerticalOffset-y;
If p is less than 0, then scroll bar has arrived the boundary of starting position; If p is greater than scrollViewer.ScrollzbleHeight (being the maximum displacement of vertical direction), then scroll bar has arrived the boundary of end position.
Further after said scroll bar arrives the border, continue to move, then click thing distance that moves and the distance (promptly showing the blank distance that moves) that the scroll bar content moves and just be not linear relationship to boundary direction if click thing.When scroll bar arrives left margin with scroll bar horizontal ordinate mobile content and click the displacement P and the boundary length X of thing MaxPoor (P-X Max) (mm) be example, (P-X at this moment greater than 0 Max) (mm) and the relation between the distance X (mm) that moves of content shown in Fig. 2 (a), particularly, X=a * { 1-a/ [a+ (P-X Max)], wherein a is the elasticity maximal value, can confirm according to user operation habits or use experience, sets a=20mm in this example; Perhaps when scroll bar arrives left margin; Is example with scroll bar horizontal ordinate mobile content and the displacement P that clicks thing less than 0, this moment P (mm) and and the distance X (mm) that moves of content between relation shown in Fig. 2 (b), particularly; X=a * [1+a/ (a-P)]; Wherein a is the elasticity maximal value, can confirm according to user operation habits or use experience, sets a=20mm in this example.
The concrete implementation of the processing capacity of each module that comprises in the said apparatus is described in method embodiment before, no longer is repeated in this description at this.
Corresponding displacement obtained corresponding linear velocity initial value before and after the embodiment of the invention was lifted through the click thing; Thereby and according to said initial value scroll bar is carried out rolling operation and choose content corresponding; Guaranteed the user at the edge that arrives touch-screen or mouse still can choose needed content when not having the operating space; And satisfied as the user and want when the 1st of scroll bar selected the content of the 50th of scroll bar; Move the bigger linear velocity initial value of acquisition fast through clicking thing, thereby can arrive the required content of user fast, solved and worked as the scroll bar content more for a long time; The trouble that the user must select one by one; Thereby can obtain the inertia effect that bigger linear velocity initial value is accomplished the fast moving of scroll bar content through moving rapidly of finger or mouse, make things convenient for the user, and show when arriving the border and blankly arrived the scroll bar border with the prompting user; When displacement is 0 or click the elastic effect that turns back to the content place, border of scroll bar when thing lifts again, improved sense of experience of users.
The above; Be merely the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; The variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claims.

Claims (10)

1. the method based on scroll control realization content choice is characterized in that, comprising:
The position and the time corresponding of thing clicked in record;
If the linear velocity initial value that the position corresponding with the final time of said record, position when lifting according to said click thing obtains is not 0; Then the initial value according to said linear velocity obtains corresponding displacement; And, be 0 to choose corresponding contents up to said displacement according to said displacement adjustment scroll control.
2. method according to claim 1 is characterized in that, position and the time corresponding that thing clicked in said record comprise: setting-up time is whenever clicked the position and the time corresponding of thing at interval at a distance from said time interval record.
3. method according to claim 1 is characterized in that, the process that the said position corresponding with the final time of said record, position when lifting according to said click thing obtains the linear velocity initial value comprises:
If the position when the click thing lifts is (X n, Y n) the corresponding time is T n, the final time of record is T N-1Corresponding position is (X N-1, Y N-1), then the initial value of linear velocity be (| X n-X N-1|, | Y n-Y N-1|)/(T n-T N-1).
4. method according to claim 1 is characterized in that, the process that said initial value according to said linear velocity obtains corresponding displacement comprises: preestablish acceleration, obtain the displacement that successively decreases gradually according to said predefined acceleration.
5. method according to claim 4 is characterized in that, also comprises:
If the scroll bar in the said scroll control arrives the border, is 0 o'clock at said displacement then, turn back to the boundary of the scroll bar in the said scroll control, choose corresponding contents;
Perhaps,
If the scroll bar in the said scroll control arrives the border, then according to the displacement that successively decreases gradually, show blank gradually, be reduced at 0 o'clock at said displacement, turn back to the boundary of the scroll bar in the said scroll control, choose corresponding contents.
6. the device based on scroll control realization content choice is characterized in that, comprising:
Logging modle is used to write down position and the time corresponding of clicking thing;
The linear velocity acquisition module is used for the linear velocity initial value that the position corresponding with the final time of said record, position when lifting according to said click thing obtains;
Judge module is used to judge whether the said linear velocity initial value that said linear velocity acquisition module obtains is 0, if directly choose corresponding contents; If not, then carry out the displacement acquisition module;
The displacement acquisition module is used for obtaining corresponding displacement according to the initial value of said linear velocity;
Module is selected in adjustment, is used for the displacement adjustment scroll control that obtains according to said displacement acquisition module, is 0 to choose corresponding contents up to said displacement.
7. device according to claim 6 is characterized in that, said logging modle comprises regularly submodule and record sub module:
Said time block is used for setting-up time at interval;
Said record sub module is used for position and the time corresponding that thing clicked in every said time interval record of setting at a distance from said time block.
8. device according to claim 6 is characterized in that, the process that said linear velocity initial value acquisition module specifically obtains comprises: the position when lifting as if the click thing is (X n, Y n) the corresponding time is T n, the final time of record is T N-1Corresponding position is (X N-1, Y N-1), then the initial value of linear velocity be (| X n-X N-1|, | Y n-Y N-1|)/(T n-T N-1).
9. device according to claim 6 is characterized in that, the process that said displacement acquisition module specifically obtains comprises: preestablish acceleration, obtain the displacement that successively decreases gradually according to said predefined acceleration.
10. device according to claim 9 is characterized in that, also comprises:
Module is selected on the border, is used for if the scroll bar of said scroll control arrives the border, and be 0 o'clock then at said displacement, turn back to the boundary of the scroll bar in the said scroll control, choose corresponding contents;
Perhaps,
Module is selected on the border, is used for if the scroll bar of said scroll control arrives the border, then according to the displacement that successively decreases gradually; Show blank gradually; Be reduced at 0 o'clock at said displacement, turn back to the boundary of the scroll bar in the said scroll control, choose corresponding contents.
CN201010215100.8A 2010-06-29 2010-06-29 A kind of method and device realizing content choice based on scroll control Active CN102314282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010215100.8A CN102314282B (en) 2010-06-29 2010-06-29 A kind of method and device realizing content choice based on scroll control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010215100.8A CN102314282B (en) 2010-06-29 2010-06-29 A kind of method and device realizing content choice based on scroll control

Publications (2)

Publication Number Publication Date
CN102314282A true CN102314282A (en) 2012-01-11
CN102314282B CN102314282B (en) 2016-04-20

Family

ID=45427502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010215100.8A Active CN102314282B (en) 2010-06-29 2010-06-29 A kind of method and device realizing content choice based on scroll control

Country Status (1)

Country Link
CN (1) CN102314282B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653090A (en) * 2015-12-29 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Scrollbar control method and device
CN105760375A (en) * 2014-12-15 2016-07-13 金蝶软件(中国)有限公司 Gantt chart display method and system
CN106959809A (en) * 2016-01-12 2017-07-18 博雅网络游戏开发(深圳)有限公司 The method and apparatus that content is rolled are realized based on scroll control
CN106980438A (en) * 2017-03-20 2017-07-25 联想(北京)有限公司 Cursor control method, apparatus and system
CN107729010A (en) * 2017-10-25 2018-02-23 广州优视网络科技有限公司 View display methods, device, computing device and storage medium
CN111459389A (en) * 2020-04-24 2020-07-28 Oppo(重庆)智能科技有限公司 Prompting method, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5943052A (en) * 1997-08-12 1999-08-24 Synaptics, Incorporated Method and apparatus for scroll bar control
CN101371217A (en) * 2005-12-23 2009-02-18 苹果公司 Scrolling list with floating adjacent index symbols
CN101398739A (en) * 2007-09-25 2009-04-01 博思天地(北京)科技有限公司 Page browsing method, device based on touch screen and mobile communication terminal thereof
CN101526881A (en) * 2008-03-04 2009-09-09 苹果公司 Text selection by gesture
CN101599001A (en) * 2009-07-13 2009-12-09 青岛海信移动通信技术股份有限公司 Update method for touch-screen display interface and multimedia electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5943052A (en) * 1997-08-12 1999-08-24 Synaptics, Incorporated Method and apparatus for scroll bar control
CN101371217A (en) * 2005-12-23 2009-02-18 苹果公司 Scrolling list with floating adjacent index symbols
CN101398739A (en) * 2007-09-25 2009-04-01 博思天地(北京)科技有限公司 Page browsing method, device based on touch screen and mobile communication terminal thereof
CN101526881A (en) * 2008-03-04 2009-09-09 苹果公司 Text selection by gesture
CN101599001A (en) * 2009-07-13 2009-12-09 青岛海信移动通信技术股份有限公司 Update method for touch-screen display interface and multimedia electronic equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760375A (en) * 2014-12-15 2016-07-13 金蝶软件(中国)有限公司 Gantt chart display method and system
CN105760375B (en) * 2014-12-15 2019-07-09 金蝶软件(中国)有限公司 Gantt chart display methods and system
CN105653090A (en) * 2015-12-29 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Scrollbar control method and device
CN105653090B (en) * 2015-12-29 2018-09-14 宇龙计算机通信科技(深圳)有限公司 A kind of scroll bar control method and device
CN106959809A (en) * 2016-01-12 2017-07-18 博雅网络游戏开发(深圳)有限公司 The method and apparatus that content is rolled are realized based on scroll control
CN106980438A (en) * 2017-03-20 2017-07-25 联想(北京)有限公司 Cursor control method, apparatus and system
CN106980438B (en) * 2017-03-20 2020-04-24 联想(北京)有限公司 Cursor control method, device and system
CN107729010A (en) * 2017-10-25 2018-02-23 广州优视网络科技有限公司 View display methods, device, computing device and storage medium
CN107729010B (en) * 2017-10-25 2021-01-26 阿里巴巴(中国)有限公司 View display method and device, computing equipment and storage medium
CN111459389A (en) * 2020-04-24 2020-07-28 Oppo(重庆)智能科技有限公司 Prompting method, electronic device and storage medium
CN111459389B (en) * 2020-04-24 2021-06-04 Oppo(重庆)智能科技有限公司 Prompting method, electronic device and storage medium

Also Published As

Publication number Publication date
CN102314282B (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN102314282A (en) Method for realizing content selection on the basis of scrolling widget and device
KR101424294B1 (en) Multi-touch uses, gestures, and implementation
US7966573B2 (en) Method and system for improving interaction with a user interface
US9467729B2 (en) Method for remotely controlling smart television
US6424338B1 (en) Speed zone touchpad
CN103207750B (en) The method of icon convergent-divergent and device
US9395908B2 (en) Information processing apparatus, information processing method, and information processing program utilizing gesture based copy and cut operations
DE202016001516U1 (en) Devices and graphical user interfaces for interacting with a control object while another object is being moved
CN110856030B (en) Method and device for adjusting bullet screen area and readable medium
US20090058801A1 (en) Fluid motion user interface control
US20120092381A1 (en) Snapping User Interface Elements Based On Touch Input
CN108829327B (en) Writing method and device of interactive intelligent equipment
EP2631764B1 (en) Device for and method of changing size of display window on screen
CN103917946A (en) Method and system for displaying fast-scrolling content and scroll bar
CN102346592A (en) Touch input transitions
DE112013002412T5 (en) Apparatus, method and graphical user interface for providing feedback for changing activation states of a user interface object
DE202008000269U1 (en) Portable electronic device
DE202013012233U1 (en) Device and graphical user interface for displaying additional information in response to a user contact
CN103399710A (en) Multi-window operating achieving mobile terminal and method
WO2011151501A1 (en) A method, a device and a system for receiving user input
CN102693063A (en) Operation control method and device and electronic equipment
US20130321350A1 (en) Virtual ruler for stylus input
DE102008061039A1 (en) Method for optical multitouch control for graphical user interface
TW201030566A (en) Signal processing apparatus, signal processing method and selecting method of user-interface icon for multi-touch interface
CN106469000A (en) A kind of screen content amplification method and terminal unit

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