CN103135909A - Display method, device and terminal for page - Google Patents

Display method, device and terminal for page Download PDF

Info

Publication number
CN103135909A
CN103135909A CN2011103761937A CN201110376193A CN103135909A CN 103135909 A CN103135909 A CN 103135909A CN 2011103761937 A CN2011103761937 A CN 2011103761937A CN 201110376193 A CN201110376193 A CN 201110376193A CN 103135909 A CN103135909 A CN 103135909A
Authority
CN
China
Prior art keywords
acceleration
coordinate points
page
gesture
stage
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
CN2011103761937A
Other languages
Chinese (zh)
Other versions
CN103135909B (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 CN201110376193.7A priority Critical patent/CN103135909B/en
Publication of CN103135909A publication Critical patent/CN103135909A/en
Application granted granted Critical
Publication of CN103135909B publication Critical patent/CN103135909B/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 display method, a device and a terminal for a page, and belongs to the field of terminals. The method comprises the steps that the terminal receives a display request for the page, the display request is triggered through a gesture screen sliding process, the terminal obtains coordinate points with the assigned number and time information in the gesture screen sliding process, according to the coordinate points with the assigned number and the time information, the terminal obtains an initial speed and acceleration of the page, and according to the initial speed and the acceleration, the terminal displays the page. The display device for the page comprises a receiving module, a coordinate point obtaining module, a speed obtaining module, an acceleration obtaining module and a display module. According to the display method, the device and the terminal for the page, the initial speed and the acceleration of a hand in the gesture screen sliding process are obtained through obtaining of the coordinate points of motions of the hand in the gesture screen sliding process, a page can be slide smoothly according to the initial speed and the acceleration, screen sliding motion of a user can be reflected in a visualized mode, and good user experience is brought.

Description

The display packing of the page, device and terminal
Technical field
The present invention relates to the terminal field, particularly a kind of display packing of the page, device and terminal.
Background technology
Follow the fast development of mobile Internet, at mobile terminal, file or webpage etc. being browsed is necessary demand.In the browsing pages process, with PC (Personal Computer, PC) the end page face is browsed difference, present browser of mobile terminal is generally according to the slip of gesture, record relevant point, then the definite distance that will roll determines with the method for Geometric Sequence the distance that each page rolls.
After prior art was analyzed, the inventor found that prior art has following shortcoming at least:
On existing mobile terminal, the distance that the page rolls can not correct response gesture slip dynamics at this moment.The loss ratio of speed is more stiff, and effect is not smooth, can not embody intuitively user's action.
Summary of the invention
The embodiment of the present invention provides a kind of display packing, device and terminal of the page.Described technical scheme is as follows:
A kind of display packing of the page comprises:
Terminal receives the demonstration request to the page; Described demonstration request is triggered by the sliding screen process of gesture;
Terminal is obtained coordinate points and the temporal information of the appointment number in the sliding screen process of described gesture;
According to coordinate points and the temporal information of described appointment number, obtain the initial velocity of the described page;
According to coordinate points and the temporal information of described appointment number, obtain the acceleration of the described page;
According to described initial velocity and described acceleration, show the described page.
Terminal is obtained coordinate points and the temporal information of the appointment number in the sliding screen process of described gesture, specifically comprises:
In all coordinate points that terminal generates, according to the rise time sequencing, obtain from back to front coordinate points and the temporal information of specifying number from the sliding screen process of described gesture.
According to coordinate points and the temporal information of specifying number, obtain the acceleration of the described page, specifically comprise:
According to the time order and function order, the coordinate points of described appointment number is divided at least two stages;
Coordinate points and temporal information according to first stage and the last stage in described at least two stages, obtain the speed of described first stage and described the last stage, and calculate the sliding acceleration that shields of gesture according to the speed of described first stage and described the last stage, with the acceleration of the sliding acceleration that shields of described gesture as the page.
According to coordinate points and the temporal information of specifying number, obtain the acceleration of the described page, specifically comprise:
According to the time order and function order, the coordinate points of described appointment number is divided at least two stages;
Coordinate points and temporal information according to first stage and the last stage in described at least two stages, obtain the speed of described first stage and described the last stage, and calculate the acceleration of the sliding screen of gesture according to the speed of described first stage and described the last stage;
Whether the acceleration that judges the sliding screen process of described gesture belongs to default acceleration range, and described default acceleration range is take the default acceleration of minimum and maximum preset acceleration as boundary value;
If the acceleration of the sliding screen process of described gesture belongs to default acceleration range, with the acceleration of the sliding acceleration that shields of described gesture as the page;
If the acceleration of the sliding screen process of described gesture does not belong to default acceleration range, and less than the default acceleration of described minimum, with the acceleration of the default acceleration of described minimum as the page;
If the acceleration of the sliding screen process of described gesture does not belong to default acceleration range, and greater than described maximum preset acceleration, with the acceleration of described maximum preset acceleration as the page.
According to described initial velocity and described acceleration, show the described page, specifically comprise:
Initial velocity with the described page begins page roll screen, and every a timer time interval, the speed of described page roll screen is successively decreased take described acceleration as tolerance, when the speed of described page roll screen is reduced to pre-set velocity, stops page roll screen.
According to coordinate points and the temporal information of described appointment number, obtain the initial velocity of the described page, specifically comprise:
According to the mistiming of first coordinate points and last coordinate points temporal information in the coordinate points of the distance between first coordinate points in the coordinate points of described appointment number and last coordinate points, default adjustment parameter, timer time interval and described appointment number, obtain the initial velocity that the page shows, obtain formula as follows:
V 0=D * T g* A/T all, wherein, V 0Be initial velocity, D is the distance between first coordinate points and last coordinate points in the coordinate points of described appointment number, T gBe the timer time interval, A is default parameter, the T of adjusting allBe the mistiming of first coordinate points in the coordinate points of described appointment number and last coordinate points temporal information.
A kind of display device of the page comprises:
Receiver module is used for receiving the demonstration request to the page; Described demonstration request is triggered by the sliding screen process of gesture;
The coordinate points acquisition module is used for obtaining coordinate points and the temporal information that described gesture is slided the appointment number of screen process;
Speed acquiring module is used for screen process sliding according to described gesture, obtains the initial velocity of the described page;
The acceleration acquisition module is used for obtaining the acceleration of the described page according to coordinate points and the temporal information of specifying number;
Display module is used for according to described initial velocity and described acceleration, shows the described page.
Described coordinate points acquisition module specifically is used for according to the rise time sequencing, obtaining from back to front coordinate points and the temporal information of specifying number from all coordinate points that the sliding screen process of described gesture generates.
Described acceleration acquisition module comprises:
The first division unit is used for according to the time order and function order, will specify the coordinate points of number to be divided at least two stages;
The first acceleration obtainment unit, be used for coordinate points and temporal information according to described at least two stage first stages and the last stage, obtain the speed of described first stage and described the last stage, and calculate the sliding acceleration that shields of gesture according to the speed of described first stage and described the last stage, with the acceleration of the sliding acceleration that shields of described gesture as the page.
Described acceleration acquisition module comprises:
The second division unit is used for according to the time order and function order, will specify the coordinate points of number to be divided at least two stages;
The second acceleration obtainment unit, be used for coordinate points and temporal information according to described at least two stage first stages and the last stage, obtain the speed of described first stage and described the last stage, and calculate the acceleration of the sliding screen of gesture according to the speed of described first stage and described the last stage;
Judging unit is used for judging whether the acceleration of the sliding screen process of described gesture belongs to default acceleration range, and described default acceleration range is take the default acceleration of minimum and maximum preset acceleration as boundary value;
Described the second acceleration obtainment unit belongs to default acceleration range if also be used for the acceleration of the sliding screen process of described gesture, with the acceleration of the sliding acceleration that shields of described gesture as the page;
Described the second acceleration obtainment unit does not belong to default acceleration range if also be used for the acceleration of the sliding screen process of described gesture, and less than the default acceleration of described minimum, with the acceleration of the default acceleration of described minimum as the page;
Described the second acceleration obtainment unit does not belong to default acceleration range if also be used for the acceleration of the sliding screen process of described gesture, and greater than described maximum preset acceleration, with the acceleration of described maximum preset acceleration as the page.
Described display module specifically is used for beginning page roll screen with the initial velocity of the described page, every a timer time interval, the speed of described page roll screen is successively decreased take described acceleration as tolerance, when the speed of described page roll screen is reduced to pre-set velocity, stops page roll screen.
Speed acquiring module specifically is used for the mistiming according to first coordinate points and last coordinate points temporal information in first coordinate points of coordinate points of described appointment number and the distance between last coordinate points, the default coordinate points of adjusting parameter, timer time interval and described appointment number, obtain the initial velocity that the page shows, obtain formula as follows:
V 0=D * T g* A/T all, wherein, V 0Be initial velocity, D is the distance between first coordinate points and last coordinate points in the coordinate points of described appointment number, T gBe the timer time interval, A is default parameter, the T of adjusting allBe the mistiming of first coordinate points in the coordinate points of described appointment number and last coordinate points temporal information.
A kind of terminal with touch screen functionality, described terminal comprises the display device of the above-mentioned any one page.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is:
By obtaining the coordinate points of staff action in the sliding screen process of gesture, obtain initial velocity and the acceleration of staff in the sliding screen process of this gesture, make it possible to the slip page according to this initial velocity and acceleration smoothness, embodied intuitively user's sliding screen action, bring good user to experience.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or description of the Prior Art, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of the display packing of a kind of page of providing of the embodiment of the present invention;
Fig. 2 is the process flow diagram of the display packing of a kind of page of providing of the embodiment of the present invention;
Fig. 3 is the structural representation of the display device of a kind of page of providing of the embodiment of the present invention;
Fig. 4 is the structural representation of the display device of the another kind of page that provides of the embodiment of the present invention;
Fig. 5 is the structural representation of the display device of the another kind of page that provides of the embodiment of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Before method provided by the invention is described, first the term in the present invention is carried out description below:
The initial velocity that the page shows refers to the speed that the page obtains after the sliding screen process of gesture, the distance of page movement during first timer time interval in page procedure for displaying.
The timer time interval refers to the unit interval when terminal is carried out page demonstration.
The acceleration of the page refers in page procedure for displaying each timer time interval, the decrement value of the distance of this page movement.
Need to prove, the page should move when being a roll screen distance that the various speed in the present invention are described, each roll screen is spaced apart basic time unit with timer time.
Fig. 1 is the process flow diagram of the display packing of a kind of page of providing of the embodiment of the present invention, and the executive agent of this embodiment is terminal, and this terminal has touch screen functionality, and this terminal can be mobile terminal, as mobile phone, MP3 or PDA etc.Referring to Fig. 1, this embodiment comprises:
101, terminal receives the demonstration request to the page, and described demonstration request is triggered by the sliding screen process of gesture;
102, terminal is obtained coordinate points and the temporal information of the appointment number in the sliding screen process of described gesture;
103, according to coordinate points and the temporal information of described appointment number, obtain the initial velocity of the described page;
104, according to coordinate points and the temporal information of specifying number, obtain the acceleration of the described page;
105, according to described initial velocity and described acceleration, show the described page.
By obtaining the coordinate points of staff action in the sliding screen process of gesture, obtain initial velocity and the acceleration of staff in the sliding screen process of this gesture, make it possible to the slip page according to this initial velocity and acceleration smoothness, embodied intuitively user's sliding screen action, bring good user to experience.
Fig. 2 is the process flow diagram of the display packing of a kind of page of providing of the embodiment of the present invention, and the executive agent of this embodiment is terminal, and this terminal has touch screen functionality, and this terminal can be mobile terminal, as mobile phone, MP3 or PDA etc.Referring to Fig. 2, this embodiment comprises:
201, terminal receives the demonstration request to the page;
Those skilled in the art can be known, this shows that request is triggered by the sliding screen process of gesture, for the terminal with touch screen functionality, the sliding screen process of this gesture refers to finish until user's finger leaves terminal from the action of sliding terminal screen that terminal receives user's finger.This shows that request can be used for the scene of page turning or other display pages.
202, terminal according to this display page request, generates all coordinate points and the temporal information of the sliding screen process of gesture;
Wherein, coordinate points is used for describing the movement locus of the sliding screen process of this gesture on terminal, and terminal is slided the screen process by touch-screen perception gesture, and generates coordinate points on platform, and wherein, the generation method of coordinate points is prior art, repeats no more.In addition, for the terminal of different platform, its opportunity that generates coordinate points can be different.
203, in all coordinate points that terminal generates, according to the rise time sequencing, obtain from back to front coordinate points and the temporal information of specifying number from the sliding screen process of gesture;
In the present embodiment, according to the coordinate points and the temporal information that produce in the sliding screen process of time order and function journal gesture, obtain coordinate points and the temporal information thereof of the last appointment number of formation with formation from this formation.Wherein, this specifies number to be arranged when developing by the technician, adjusts according to different terminals.Preferably, terminal processing capacity is stronger, and this appointment number can be larger.
For example, the sliding screen of gesture Procedure Acquisition 100 coordinate points and temporal information thereof, therefore in formation according to the time order and function journal 100 coordinate points and temporal information thereof, the appointment number of this terminal setting is 9, obtain last 9 coordinate points and temporal information thereof in this formation in step 203, these 9 coordinate points and temporal information thereof have been described the sliding screen process of this gesture and have been finished front movement locus.
In another embodiment, for the strong terminal of processing power, the sliding screen process of described gesture can be divided into several stages when obtaining coordinate points, and obtain the coordinate points in these several stages, be used for describing the movement locus in each stage.
204, according to the mistiming of first coordinate points and last coordinate points temporal information in the coordinate points of the distance between first coordinate points and last coordinate points, default adjustment parameter, timer time interval and described appointment number in the coordinate points of specifying number, obtain the initial velocity that the page shows;
In the present embodiment, this to obtain formula be V 0=D * T g* A/T all, wherein, V 0Be initial velocity, D is the distance between first coordinate points and last coordinate points in the coordinate points of described appointment number, T gBe the timer time interval, A is default parameter, the T of adjusting allBe the mistiming of first coordinate points in the coordinate points of described appointment number and last coordinate points temporal information.
In another embodiment, if the sliding screen process of gesture is of short duration, the coordinate points that gets is less than the appointment number, calculate initial velocity according to the coordinate points that gets, a little very few owing to getting, acceleration adopts default numerical value, the numerical value that this numerical value can obtain according to the debugging of different terminals for the technician.
205, according to the time order and function order, will specify the coordinate points of number to be divided at least two stages, each stage comprises two coordinate points at least;
Example in the step 203 can be divided into 3 stages with 9 coordinate points obtaining as the basis, and each stage comprises 3 coordinate points.
206, according to coordinate points and the temporal information of first stage at least two stages and the last stage, obtain the speed of described first stage and described the last stage, and obtain the acceleration of the described page according to the speed of described first stage and described the last stage.
In the present embodiment, obtain the mode of obtaining initial velocity in the method for speed of first stage and the last stage and step 204 similar, wherein, obtain the speed of described first stage, specifically comprise: distance total according to the slip of first stage, the default T.T. of adjusting parameter, timer time interval and described first stage, obtain the speed of first stage.It specifically obtains formula can be V 1=D 1* T g* A/T 1, wherein, V 1Be first stage speed, D 1Be the total distance of the slip of described first stage, the total distance of the slip of described first stage is the distance between first coordinate points and last coordinate points in described first stage; T gBe the timer time interval, A is the default parameter of adjusting, and the default parameter of adjusting is according to different terminal adjustment; T 1The T.T. of described first stage, described first stage T.T. is the mistiming of first coordinate points described in described first stage and last coordinate points temporal information.
Wherein, obtain the speed of the last stage, specifically comprise: distance total according to the slip of the last stage, the default T.T. of adjusting parameter, timer time interval and described the last stage, obtain the speed of the last stage.It specifically obtains formula can be V n=D n* T g* A/T n, wherein, V nBe the speed of the last stage, D nBe the total distance of the slip of described the last stage, the total distance of the slip of described the last stage is the distance between first coordinate points and last coordinate points in described the last stage; T gBe the timer time interval, A is the default parameter of adjusting, and the default parameter of adjusting is according to different terminal adjustment; T nThe T.T. of described the last stage, described the last stage T.T. is the mistiming of first coordinate points described in described the last stage and last coordinate points temporal information.
Wherein, obtain the acceleration of the described page according to the speed of described first stage and described the last stage, specifically comprise: according to the coordinate points of first stage and the last stage, obtain the time interval between this two stages, according to Acceleration Formula V n=V 1+ at 1~n, obtain the acceleration of the page.Wherein, V nThe last stage speed, V 1Be first stage speed, a is the acceleration of the page, t 1~nBe two timer time space-numbers between the stage.
Example in the step 205 is the basis, 9 coordinate points obtaining are divided into 3 stages, each stage comprises 3 coordinate points, and the time interval between two stages is the interval of the temporal information of the temporal information of last coordinate points of first stage and first coordinate points of the last stage.
In another embodiment, according to the time order and function order, will specify the coordinate points of number to be divided at least two stages; Coordinate points and temporal information according to first stage and the last stage in described at least two stages, obtain the speed of described first stage and described the last stage, and calculate the acceleration of the sliding screen of gesture according to the speed of described first stage and described the last stage; Whether the acceleration that judges the sliding screen process of described gesture belongs to default acceleration range, and described default acceleration range is take the default acceleration of minimum and maximum preset acceleration as boundary value; If the acceleration of the sliding screen process of described gesture belongs to default acceleration range, with the acceleration of the sliding acceleration that shields of described gesture as the page; If the acceleration of the sliding screen process of described gesture does not belong to default acceleration range, and less than the default acceleration of described minimum, with the acceleration of the default acceleration of described minimum as the page; If the acceleration of the sliding screen process of described gesture does not belong to default acceleration range, and greater than described maximum preset acceleration, with the acceleration of described maximum preset acceleration as the page.For the ease of reading, avoid causing slowly owing to sliding that page movement is too small or excessive, reading is experienced is poor, terminal is preset a default acceleration range, and this default acceleration range is a min≤ a≤a max, wherein, a minBe the default acceleration of minimum, a maxBe the maximum preset acceleration, and after obtaining a, first a judged, if a belongs to this default acceleration range, just with the acceleration of a as the page; If a is less than the default acceleration of minimum, with the acceleration of the default acceleration of minimum as the page; If a is greater than the default acceleration of minimum, with the acceleration of maximum preset acceleration as the page; Naturally excessive when this measure can guarantee that gesture frames out on page roll screen speed.
207, the initial velocity with the page begins page roll screen, and every a timer time interval, the speed of page roll screen is successively decreased take described acceleration as tolerance, when the speed of page roll screen is reduced to pre-set velocity, stops page roll screen.
In the present embodiment, the roll screen of the page is with V 0For initial velocity begins, do uniformly retarded motion take a as acceleration, its unit interval is the timer time interval, and the page is after a roll screen, and the distance of next time rolling reduce, the successively decreasing of speed that Here it is.That is to say first timer time interval, page movement V0, second timer time interval, page movement V 0-a, the 3rd timer time interval, page movement V 0-2a, the like.Need to prove, different according to terminal, the end speed of this page roll screen can be different, and pre-set velocity is preferably 0.
By obtaining the coordinate points of staff action in the sliding screen process of gesture, obtain initial velocity and the acceleration of staff in the sliding screen process of this gesture, make it possible to the slip page according to this initial velocity and acceleration smoothness, embodied intuitively user's sliding screen action, bring good user to experience.
Fig. 3 is the structural representation of the display device of a kind of page of providing of the embodiment of the present invention.Referring to Fig. 3, this device comprises:
Receiver module 301 is used for receiving the demonstration request to the page; Described demonstration request is triggered by the sliding screen process of gesture;
Coordinate points acquisition module 302 is used for obtaining coordinate points and the temporal information that described gesture is slided the appointment number of screen process;
Speed acquiring module 303 is used for screen process sliding according to described gesture, obtains the initial velocity of the described page;
Acceleration acquisition module 304 is used for obtaining the acceleration of the described page according to coordinate points and the temporal information of specifying number;
Display module 305 is used for according to described initial velocity and described acceleration, shows the described page.
In another embodiment, this device comprises: receiver module 301, coordinate points acquisition module 302, speed acquiring module 303, acceleration acquisition module 304 and display module 305;
Wherein, concrete all coordinate points for generating from the sliding screen process of described gesture of described coordinate points acquisition module 302, according to the rise time sequencing, obtain from back to front coordinate points and the temporal information of specifying number.
Fig. 4 is the structural representation of the display device of the another kind of page that provides of the embodiment of the present invention.Referring to Fig. 4, this device comprises: receiver module 301, coordinate points acquisition module 302, speed acquiring module 303, acceleration acquisition module 304 and display module 305;
Wherein, described acceleration acquisition module 304 comprises:
The first division unit 304a is used for according to the time order and function order, will specify the coordinate points of number to be divided at least two stages;
The first acceleration obtainment unit 304b, be used for coordinate points and temporal information according to described at least two stage first stages and the last stage, obtain the speed of described first stage and described the last stage, and calculate the sliding acceleration that shields of gesture according to the speed of described first stage and described the last stage, with the acceleration of the sliding acceleration that shields of described gesture as the page.
Fig. 5 is the structural representation of the display device of the another kind of page that provides of the embodiment of the present invention.Referring to Fig. 5, this device comprises: receiver module 301, coordinate points acquisition module 302, speed acquiring module 303, acceleration acquisition module 304 and display module 305;
Wherein, described acceleration acquisition module 304 comprises:
The second division unit 304c is used for according to the time order and function order, will specify the coordinate points of number to be divided at least two stages;
The second acceleration obtainment unit 304d, be used for coordinate points and temporal information according to described at least two stage first stages and the last stage, obtain the speed of described first stage and described the last stage, and calculate the acceleration of the sliding screen of gesture according to the speed of described first stage and described the last stage;
Judging unit 304e is used for judging whether the acceleration of the sliding screen process of described gesture belongs to default acceleration range, and described default acceleration range is take the default acceleration of minimum and maximum preset acceleration as boundary value;
Described the second acceleration obtainment unit 304d is if also determine that for described judging unit 304e the acceleration of the sliding screen process of described gesture belongs to default acceleration range, with the acceleration of the sliding acceleration that shields of described gesture as the page;
Described the second acceleration obtainment unit 304d, if also determine that for described judging unit 304e the acceleration of the sliding screen process of described gesture does not belong to default acceleration range, and less than the default acceleration of described minimum, with the acceleration of the default acceleration of described minimum as the page;
Described the second acceleration obtainment unit 304d, if also determine that for described judging unit 304e the acceleration of the sliding screen process of described gesture does not belong to default acceleration range, and greater than described maximum preset acceleration, with the acceleration of described maximum preset acceleration as the page.
In another embodiment, this device comprises: receiver module 301, coordinate points acquisition module 302, speed acquiring module 303, acceleration acquisition module 304 and display module 305;
Wherein, described display module 305 concrete being used for begins page roll screen with the initial velocity of the described page, and every a timer time interval, the speed of described page roll screen is successively decreased take described acceleration as tolerance, when the speed of described page roll screen is reduced to pre-set velocity, stop page roll screen.
In another embodiment, this device comprises: receiver module 301, coordinate points acquisition module 302, speed acquiring module 303, acceleration acquisition module 304 and display module 305;
Wherein, speed acquiring module 303 is concrete is used for mistiming according to first coordinate points and last coordinate points temporal information in first coordinate points of coordinate points of described appointment number and the distance between last coordinate points, the default coordinate points of adjusting parameter, timer time interval and described appointment number, obtain the initial velocity that the page shows, obtain formula as follows:
V 0=D * T g* A/T all, wherein, V 0Be initial velocity, D is the distance between first coordinate points and last coordinate points in the coordinate points of described appointment number, T gBe the timer time interval, A is default parameter, the T of adjusting allBe the mistiming of first coordinate points in the coordinate points of described appointment number and last coordinate points temporal information.
The device that the present embodiment provides belongs to same design with embodiment of the method, and its specific implementation process sees embodiment of the method for details, repeats no more here.
Need to prove, the page described in above-described embodiment show can be browser of mobile terminal for example the page of the web/wap browser on mobile terminal device show.
The present invention also provides a kind of terminal with touch screen functionality, and described terminal comprises the display device of any one page in above-described embodiment.This terminal can be mobile terminal, as mobile phone, MP3 or PDA etc.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the relevant hardware of instruction to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (13)

1. the display packing of a page, is characterized in that, comprising:
Terminal receives the demonstration request to the page, and described demonstration request is triggered by the sliding screen process of gesture;
Terminal is obtained coordinate points and the temporal information of the appointment number in the sliding screen process of described gesture;
According to coordinate points and the temporal information of described appointment number, obtain the initial velocity of the described page;
According to coordinate points and the temporal information of described appointment number, obtain the acceleration of the described page;
According to described initial velocity and described acceleration, show the described page.
2. method according to claim 1, is characterized in that, terminal is obtained coordinate points and the temporal information of the appointment number in the sliding screen process of described gesture, specifically comprises:
In all coordinate points that terminal generates, according to the rise time sequencing, obtain from back to front coordinate points and the temporal information of specifying number from the sliding screen process of described gesture.
3. method according to claim 1, is characterized in that, according to coordinate points and the temporal information of specifying number, obtains the acceleration of the described page, specifically comprises:
According to the time order and function order, the coordinate points of described appointment number is divided at least two stages;
Coordinate points and temporal information according to first stage and the last stage in described at least two stages, obtain the speed of described first stage and described the last stage, and calculate the sliding acceleration that shields of gesture according to the speed of described first stage and described the last stage, with the acceleration of the sliding acceleration that shields of described gesture as the page.
4. method according to claim 1, is characterized in that, according to coordinate points and the temporal information of specifying number, obtains the acceleration of the described page, specifically comprises:
According to the time order and function order, the coordinate points of described appointment number is divided at least two stages;
Coordinate points and temporal information according to first stage and the last stage in described at least two stages, obtain the speed of described first stage and described the last stage, and calculate the acceleration of the sliding screen of gesture according to the speed of described first stage and described the last stage;
Whether the acceleration that judges the sliding screen process of described gesture belongs to default acceleration range, and described default acceleration range is take the default acceleration of minimum and maximum preset acceleration as boundary value;
If the acceleration of the sliding screen process of described gesture belongs to default acceleration range, with the acceleration of the sliding acceleration that shields of described gesture as the page;
If the acceleration of the sliding screen process of described gesture does not belong to default acceleration range, and less than the default acceleration of described minimum, with the acceleration of the default acceleration of described minimum as the page;
If the acceleration of the sliding screen process of described gesture does not belong to default acceleration range, and greater than described maximum preset acceleration, with the acceleration of described maximum preset acceleration as the page.
5. method according to claim 1, is characterized in that, according to described initial velocity and described acceleration, shows the described page, specifically comprises:
Initial velocity with the described page begins page roll screen, and every a timer time interval, the speed of described page roll screen is successively decreased take described acceleration as tolerance, when the speed of described page roll screen is reduced to pre-set velocity, stops page roll screen.
6. according to claim 1-5 described methods of any one, is characterized in that, according to coordinate points and the temporal information of described appointment number, obtains the initial velocity of the described page, specifically comprises:
According to the mistiming of first coordinate points and last coordinate points temporal information in the coordinate points of the distance between first coordinate points in the coordinate points of described appointment number and last coordinate points, default adjustment parameter, timer time interval and described appointment number, obtain the initial velocity that the page shows, obtain formula as follows:
V 0=D * T g* A/T allWherein, V 0Be initial velocity, D is the distance between first coordinate points and last coordinate points in the coordinate points of described appointment number, T gBe the timer time interval, A is default parameter, the T of adjusting allBe the mistiming of first coordinate points in the coordinate points of described appointment number and last coordinate points temporal information.
7. the display device of a page, is characterized in that, comprising:
Receiver module is used for receiving the demonstration request to the page; Described demonstration request is triggered by the sliding screen process of gesture;
The coordinate points acquisition module is used for obtaining coordinate points and the temporal information that described gesture is slided the appointment number of screen process;
Speed acquiring module is used for screen process sliding according to described gesture, obtains the initial velocity of the described page;
The acceleration acquisition module is used for obtaining the acceleration of the described page according to coordinate points and the temporal information of specifying number;
Display module is used for according to described initial velocity and described acceleration, shows the described page.
8. device according to claim 7, it is characterized in that, described coordinate points acquisition module specifically is used for according to the rise time sequencing, obtaining from back to front coordinate points and the temporal information of specifying number from all coordinate points that the sliding screen process of described gesture generates.
9. device according to claim 7, is characterized in that, described acceleration acquisition module comprises:
The first division unit is used for according to the time order and function order, will specify the coordinate points of number to be divided at least two stages;
The first acceleration obtainment unit, be used for coordinate points and temporal information according to described at least two stage first stages and the last stage, obtain the speed of described first stage and described the last stage, and calculate the sliding acceleration that shields of gesture according to the speed of described first stage and described the last stage, with the acceleration of the sliding acceleration that shields of described gesture as the page.
10. device according to claim 7, is characterized in that, described acceleration acquisition module comprises:
The second division unit is used for according to the time order and function order, will specify the coordinate points of number to be divided at least two stages;
The second acceleration obtainment unit, be used for coordinate points and temporal information according to described at least two stage first stages and the last stage, obtain the speed of described first stage and described the last stage, and calculate the acceleration of the sliding screen of gesture according to the speed of described first stage and described the last stage;
Judging unit is used for judging whether the acceleration of the sliding screen process of described gesture belongs to default acceleration range, and described default acceleration range is take the default acceleration of minimum and maximum preset acceleration as boundary value;
Described the second acceleration obtainment unit belongs to default acceleration range if also be used for the acceleration of the sliding screen process of described gesture, with the acceleration of the sliding acceleration that shields of described gesture as the page;
Described the second acceleration obtainment unit does not belong to default acceleration range if also be used for the acceleration of the sliding screen process of described gesture, and less than the default acceleration of described minimum, with the acceleration of the default acceleration of described minimum as the page;
Described the second acceleration obtainment unit does not belong to default acceleration range if also be used for the acceleration of the sliding screen process of described gesture, and greater than described maximum preset acceleration, with the acceleration of described maximum preset acceleration as the page.
11. device according to claim 7, it is characterized in that, described display module specifically is used for beginning page roll screen with the initial velocity of the described page, every a timer time interval, the speed of described page roll screen is successively decreased take described acceleration as tolerance, when the speed of described page roll screen is reduced to pre-set velocity, stop page roll screen.
12. according to claim 7-11 described devices of any one, it is characterized in that, speed acquiring module specifically is used for the mistiming according to first coordinate points and last coordinate points temporal information in first coordinate points of coordinate points of described appointment number and the distance between last coordinate points, the default coordinate points of adjusting parameter, timer time interval and described appointment number, obtain the initial velocity that the page shows, obtain formula as follows:
V 0=D * T g* A/T all, wherein, V 0Be initial velocity, D is the distance between first coordinate points and last coordinate points in the coordinate points of described appointment number, T gBe the timer time interval, A is default parameter, the T of adjusting allBe the mistiming of first coordinate points in the coordinate points of described appointment number and last coordinate points temporal information.
13. the terminal with touch screen functionality is characterized in that, described terminal comprises the display device of the claims 7-12 any one page.
CN201110376193.7A 2011-11-23 2011-11-23 The display packing of the page, device and terminal Active CN103135909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110376193.7A CN103135909B (en) 2011-11-23 2011-11-23 The display packing of the page, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110376193.7A CN103135909B (en) 2011-11-23 2011-11-23 The display packing of the page, device and terminal

Publications (2)

Publication Number Publication Date
CN103135909A true CN103135909A (en) 2013-06-05
CN103135909B CN103135909B (en) 2015-11-18

Family

ID=48495801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110376193.7A Active CN103135909B (en) 2011-11-23 2011-11-23 The display packing of the page, device and terminal

Country Status (1)

Country Link
CN (1) CN103135909B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104345948A (en) * 2013-07-31 2015-02-11 北京壹人壹本信息科技有限公司 Implementation method and implementation device for original handwriting as well as electronic equipment
CN104808924A (en) * 2014-01-24 2015-07-29 贝壳网际(北京)安全技术有限公司 Method and system for controlling webpage rolling
CN104881239A (en) * 2015-06-26 2015-09-02 北京进化者机器人科技有限公司 Method for bringing touch screen to top and bottom rapidly
CN105843547A (en) * 2016-05-24 2016-08-10 腾讯科技(深圳)有限公司 Page sliding method and device
CN106527955A (en) * 2016-12-21 2017-03-22 深圳Tcl新技术有限公司 Method and device for controlling slide of page
CN109388737A (en) * 2017-08-03 2019-02-26 腾讯科技(北京)有限公司 A kind of sending method, device and the storage medium of the exposure data of content item
CN110069194A (en) * 2019-03-21 2019-07-30 北京三快在线科技有限公司 Page Caton determines method, apparatus, electronic equipment and readable storage medium storing program for executing
CN111045581A (en) * 2019-11-22 2020-04-21 安徽听见科技有限公司 Page sliding control method, device, equipment and storage medium
CN111400628A (en) * 2020-03-12 2020-07-10 腾讯科技(深圳)有限公司 Information propagation method, device, equipment and medium
WO2021017287A1 (en) * 2019-08-01 2021-02-04 平安科技(深圳)有限公司 Page sliding method and apparatus, and electronic device and computer-readable storage medium
CN113821153A (en) * 2021-08-23 2021-12-21 荣耀终端有限公司 Gesture navigation method, electronic device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226441A (en) * 2007-01-17 2008-07-23 北京书生国际信息技术有限公司 Hand-written input method capable of implementing writing style effect
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
CN102096513A (en) * 2011-02-23 2011-06-15 惠州Tcl移动通信有限公司 Solution for sliding of touch screen and electronic device using the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226441A (en) * 2007-01-17 2008-07-23 北京书生国际信息技术有限公司 Hand-written input method capable of implementing writing style effect
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
CN102096513A (en) * 2011-02-23 2011-06-15 惠州Tcl移动通信有限公司 Solution for sliding of touch screen and electronic device using the same

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104345948B (en) * 2013-07-31 2017-08-25 北京壹人壹本信息科技有限公司 A kind of implementation method of original handwriting, realize device and electronic equipment
CN104345948A (en) * 2013-07-31 2015-02-11 北京壹人壹本信息科技有限公司 Implementation method and implementation device for original handwriting as well as electronic equipment
CN104808924A (en) * 2014-01-24 2015-07-29 贝壳网际(北京)安全技术有限公司 Method and system for controlling webpage rolling
CN104808924B (en) * 2014-01-24 2018-09-11 北京猎豹移动科技有限公司 A kind of control method and system that webpage rolls
CN104881239A (en) * 2015-06-26 2015-09-02 北京进化者机器人科技有限公司 Method for bringing touch screen to top and bottom rapidly
WO2017202287A1 (en) * 2016-05-24 2017-11-30 腾讯科技(深圳)有限公司 Page swiping method and device
CN105843547B (en) * 2016-05-24 2019-06-07 腾讯科技(深圳)有限公司 A kind of page sliding method and device
CN105843547A (en) * 2016-05-24 2016-08-10 腾讯科技(深圳)有限公司 Page sliding method and device
US10620821B2 (en) 2016-05-24 2020-04-14 Tencent Technology (Shenzhen) Company Limited Page sliding method and apparatus
CN106527955B (en) * 2016-12-21 2020-07-14 深圳Tcl新技术有限公司 Method and device for controlling page sliding
CN106527955A (en) * 2016-12-21 2017-03-22 深圳Tcl新技术有限公司 Method and device for controlling slide of page
CN109388737A (en) * 2017-08-03 2019-02-26 腾讯科技(北京)有限公司 A kind of sending method, device and the storage medium of the exposure data of content item
CN109388737B (en) * 2017-08-03 2023-03-31 腾讯科技(北京)有限公司 Method and device for sending exposure data of content item and storage medium
CN110069194A (en) * 2019-03-21 2019-07-30 北京三快在线科技有限公司 Page Caton determines method, apparatus, electronic equipment and readable storage medium storing program for executing
CN110069194B (en) * 2019-03-21 2021-05-11 北京三快在线科技有限公司 Page blockage determining method and device, electronic equipment and readable storage medium
WO2021017287A1 (en) * 2019-08-01 2021-02-04 平安科技(深圳)有限公司 Page sliding method and apparatus, and electronic device and computer-readable storage medium
CN111045581B (en) * 2019-11-22 2022-06-07 安徽听见科技有限公司 Page sliding control method, device, equipment and storage medium
CN111045581A (en) * 2019-11-22 2020-04-21 安徽听见科技有限公司 Page sliding control method, device, equipment and storage medium
CN111400628A (en) * 2020-03-12 2020-07-10 腾讯科技(深圳)有限公司 Information propagation method, device, equipment and medium
CN113821153A (en) * 2021-08-23 2021-12-21 荣耀终端有限公司 Gesture navigation method, electronic device and readable storage medium
CN113821153B (en) * 2021-08-23 2022-09-23 荣耀终端有限公司 Gesture navigation method, electronic device and readable storage medium

Also Published As

Publication number Publication date
CN103135909B (en) 2015-11-18

Similar Documents

Publication Publication Date Title
CN103135909A (en) Display method, device and terminal for page
CN105760067A (en) Sliding control method and device for touch screen as well as electronic equipment
EP2912542B1 (en) Device and method for forgoing generation of tactile output for a multi-contact gesture
CN110727496B (en) Layout method and device of graphical user interface, electronic equipment and storage medium
US20130271487A1 (en) Position lag reduction for computer drawing
CN104536650B (en) A kind of parallax page turning man-machine interaction method based on IOS systems
DE112013002387T5 (en) Apparatus, method and graphical user interface for providing tactile feedback for operations in a user interface
CN106294820A (en) A kind of method instructing cosmetic and terminal
CN104636048A (en) Page content rolling display method and device
CN103809843A (en) Method and device for adjusting brightness of display screen in browser
CN107193519A (en) Display control method and device, computer installation and computer-readable recording medium
CN109064387A (en) Image special effect generation method, device and electronic equipment
CN110622111B (en) Haptic feedback for user interfaces
CN109164966A (en) A kind of method and device of screenshot capture
CN103425297B (en) Input equipment and the method controlling scrolling speed thereof
EP3614244B1 (en) Touch screen adjustment method, touch chip and electronic terminal
CN102902407A (en) Method and equipment for touch handwriting inputting and displaying of touch screen
US20180266843A1 (en) Method and apparatus for rendering navigation image and storage medium
CN104317392B (en) A kind of information control method and electronic equipment
CN105242866B (en) A kind of volume adjusting method and user terminal
CN106921802B (en) Audio data playing method and device
CN102915193A (en) Method, device and intelligent terminal for browsing web pages
CN112394838A (en) Handwriting determining method and touch display device
CN104423802A (en) Window expansion method and associated electronic device
CN105511753A (en) Method and terminal for display adjustment

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