CN104166494B - page control method and device - Google Patents
page control method and device Download PDFInfo
- Publication number
- CN104166494B CN104166494B CN201410378101.2A CN201410378101A CN104166494B CN 104166494 B CN104166494 B CN 104166494B CN 201410378101 A CN201410378101 A CN 201410378101A CN 104166494 B CN104166494 B CN 104166494B
- Authority
- CN
- China
- Prior art keywords
- page
- rolling
- event
- input
- input equipment
- 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.)
- Active
Links
Landscapes
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
Abstract
The present invention provides a kind of page control method and device.The embodiment of the present invention rolls event by detecting the first page that input equipment triggers on target pages,And then obtain the input rolling speed of the input equipment corresponding to the first page rolling event and/or the input rolling distance of the input equipment,And according to the page scroll data for browsing custom based on user,Obtain page scroll distance corresponding with the input rolling speed and/or the input rolling distance,Make it possible to according to the page scroll distance,First rolling operation is performed to the target pages,Due to obtaining page scroll distance using the page scroll data for browsing custom based on user,Therefore,It can avoid in the prior art due to user operates repeatedly increases the data interaction between input equipment and application corresponding to the page caused by input equipment triggers page scroll event to page elements the problem of,So as to reduce the processing load of terminal.
Description
【Technical field】
The present invention relates to page browsing technology, more particularly to a kind of page control method and device.
【Background technology】
With the development of the communication technology, terminal is integrated with increasing function, so that the systemic-function row of terminal
Contained in table more and more corresponding using (Application, APP).The rolling of some pages can be related in some applications
Operation, in general, the page can be by some page elements, for example, word, picture, hyperlink or button etc., composition, for example,
The pages such as document file page, WWW (World Wide Web, Web) page.In the prior art, input equipment can be directed to one
Page elements or multiple page elements, trigger a series of page scroll events, for example, left mouse button click and pull scroll bar or
The mouse rollovers events such as mouse roller rolling, or, for another example the keyboard such as directionkeys rolling event rolls event, or, then example
Such as, the touch-screens such as touch event are slided and rolls event.Then, terminal then can be according to these page scroll events, to these pages
Surface element operates corresponding to performing.Specifically, the operation performed by the terminal-pair page elements, all it is the fixation being pre-configured with
Operation, for example, the control default page scroll distance of page scroll.
However, due to the uncertainty of user view, it may be such that the content after page scroll can not meet user
Really operation is intended to so that user also needs to operate input equipment repeatedly and continues to trigger page elements new page scroll thing
Part, so, the data interaction between input equipment and application corresponding to the page can be increased, born so as to result in the processing of terminal
The increase of load.
【The content of the invention】
The many aspects of the present invention provide a kind of page control method and device, to reduce the processing load of terminal.
An aspect of of the present present invention, there is provided a kind of page control method, including:
The first page that detection input equipment triggers on target pages rolls event;
Obtain the input rolling speed of the input equipment and/or the input corresponding to the first page rolling event
The input rolling distance of equipment;
According to the page scroll data for browsing custom based on user, obtain and the rolling speed and/or described of inputting
Input page scroll distance corresponding to rolling distance;
According to the page scroll distance, the first rolling operation is performed to the target pages.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, it is described according to base
In the page scroll data for browsing custom of user, obtain and the input rolling speed and/or the input rolling distance pair
Before the page scroll distance answered, in addition to:
According to the navigation patterns data of the user, determine that the user's browses custom;
Custom is browsed according to the user, obtains the page scroll data, the page scroll data include input
The input rolling speed scope of equipment, the input rolling distance scope of input equipment, the corresponding relation with page scroll distance.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, it is described according to institute
Page scroll distance is stated, after performing the first rolling operation to the target pages, in addition to:
Detect the second page that the input equipment triggers on the target pages and roll event;
Event is rolled according to the second page, the second rolling operation is performed to the target pages.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, it is described according to institute
State second page and roll event, after performing the second rolling operation to the target pages, in addition to:
Obtain the rolling adjustment distance corresponding to second rolling operation;
Distance is adjusted according to described roll, adjusts the page scroll data for browsing custom based on user.
Aspect as described above and any possible implementation, it is further provided a kind of implementation,
The input equipment is mouse, and the first page rolls event or the second page rolls event and includes mouse
Roller rolls event or mouse drag rolls event;Or
The input equipment is keyboard, and the first page rolls event or the second page rolls event and includes direction
Key rolls event;Or
The input equipment is touch-screen, and the first page rolls event or the second page rolls event and includes sliding
Dynamic touch event.
Another aspect of the present invention, there is provided a kind of page control device, including:
Detection unit, event is rolled for detecting the first page that input equipment triggers on target pages;
Obtaining unit, for obtaining the input rolling speed of the input equipment corresponding to the first page rolling event
And/or the input rolling distance of the input equipment;
Matching unit, for according to the page scroll data for browsing custom based on user, obtaining and being rolled with the input
Page scroll distance corresponding to speed and/or the input rolling distance;
Control unit, for according to the page scroll distance, the first rolling operation to be performed to the target pages.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the matching are single
Member, it is additionally operable to
According to the navigation patterns data of the user, determine that the user's browses custom;And
Custom is browsed according to the user, obtains the page scroll data, the page scroll data include input
The input rolling speed scope of equipment, the input rolling distance scope of input equipment, the corresponding relation with page scroll distance.
Aspect as described above and any possible implementation, it is further provided a kind of implementation,
The detection unit, is additionally operable to
Detect the second page that the input equipment triggers on the target pages and roll event;
Described control unit, it is additionally operable to
Event is rolled according to the second page, the second rolling operation is performed to the target pages.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the matching are single
Member, it is additionally operable to
Obtain the rolling adjustment distance corresponding to second rolling operation;And
Distance is adjusted according to described roll, adjusts the page scroll data for browsing custom based on user.
Aspect as described above and any possible implementation, it is further provided a kind of implementation,
The input equipment is mouse, and the first page rolls event or the second page rolls event and includes mouse
Roller rolls event or mouse drag rolls event;Or
The input equipment is keyboard, and the first page rolls event or the second page rolls event and includes direction
Key rolls event;Or
The input equipment is touch-screen, and the first page rolls event or the second page rolls event and includes sliding
Dynamic touch event.
As shown from the above technical solution, the embodiment of the present invention triggered by detecting input equipment on target pages first
Page scroll event, so obtain the input rolling speed of the input equipment corresponding to the first page rolling event and/
Or the input rolling distance of the input equipment, and according to the page scroll data for browsing custom based on user, obtain with
Page scroll distance corresponding to the input rolling speed and/or the input rolling distance, enabling according to the page
Rolling distance, the first rolling operation is performed to the target pages, due to using the page scroll for browsing custom based on user
Data obtain page scroll distance, therefore, it is possible to avoid in the prior art because user operates input equipment to page member repeatedly
The problem of increasing the data interaction between input equipment and application corresponding to the page caused by element triggering page scroll event,
So as to reduce the processing load of terminal.
In addition, using technical scheme provided by the invention, due to using the page scroll number for browsing custom based on user
According to page scroll distance is obtained, therefore, it is possible to avoid in the prior art because user operates input equipment to page elements repeatedly
Trigger the problem of increasing the data interaction between input equipment and application corresponding to the page caused by page scroll event, energy
The efficiency of enough effective page operations.
In addition, using technical scheme provided by the invention, due to considering the page scroll for browsing custom based on user
Data, therefore, the page scroll distance obtained can meet that the operation of user is intended to greatest extent, can avoid as far as possible not
Necessary operation bidirectional, the validity and accuracy of page operation can be effectively improved.
【Brief description of the drawings】
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be the present invention some realities
Example is applied, for those of ordinary skill in the art, without having to pay creative labor, can also be attached according to these
Figure obtains other accompanying drawings.
Fig. 1 is the schematic flow sheet for the page control method that one embodiment of the invention provides;
Fig. 2 is the structural representation for the page control device that another embodiment of the present invention provides.
【Embodiment】
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The whole other embodiments obtained under the premise of creative work is not made, belong to the scope of protection of the invention.
It should be noted that terminal involved in the embodiment of the present invention can include but is not limited to mobile phone, individual digital
Assistant (Personal Digital Assistant, PDA), wireless handheld device, wireless networking sheet, PC, portable electricity
Brain, tablet personal computer, MP3 player, MP4 players, wearable device (for example, intelligent glasses, intelligent watch, Intelligent bracelet etc.)
Deng.
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, represents there may be
Three kinds of relations, for example, A and/or B, can be represented:Individualism A, while A and B be present, these three situations of individualism B.Separately
Outside, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
Fig. 1 is the schematic flow sheet for the page control method that one embodiment of the invention provides, as shown in Figure 1.
101st, the first page that detection input equipment triggers on target pages rolls event.
102nd, the input rolling speed of the input equipment corresponding to the first page rolling event and/or described is obtained
The input rolling distance of input equipment.
103rd, according to the page scroll data for browsing custom based on user, obtain with the input rolling speed and/or
Page scroll distance corresponding to the input rolling distance.
104th, according to the page scroll distance, the first rolling operation is performed to the target pages.
In such manner, it is possible to the target pages are controlled to roll the page scroll distance.
It should be noted that 101~104 executive agent can be the application for being located locally terminal, or can also be
The work(such as the plug-in unit or SDK (Software Development Kit, SDK) that are located locally in the application of terminal
Energy unit, the present embodiment is to this without being particularly limited to.
It is understood that the application can be mounted in the application program (nativeApp) in terminal, or may be used also
To be a web page program (webApp) of browser in terminal, the present embodiment is to this without limiting.
So, the first page triggered by detecting input equipment on target pages rolls event, and then described in acquisition
The input equipment corresponding to first page rolling event input rolling speed and/or the input equipment input roll away from
From and according to the page scroll data for browsing custom based on user, obtaining and the rolling speed and/or described defeated of inputting
Enter page scroll distance corresponding to rolling distance, enabling according to the page scroll distance, the target pages are performed
First rolling operation, due to obtaining page scroll distance using the page scroll data for browsing custom based on user, accordingly, it is capable to
Enough avoid because user operates caused by input equipment triggers page scroll event to page elements repeatedly increasing in the prior art
The problem of adding the data interaction between input equipment and application corresponding to the page, so as to reduce the processing load of terminal.
The current most page is that full content is placed in the same page, it is not necessary to which user manually selects
Carry out page turning.Because the screen size of terminal is not infinity, the size of the screen size of terminal is limited to, the same page
Content generally can not be shown completely by the screen of terminal, i.e., can not be fully displayed on the display interface of terminal.Therefore,
User needs to carry out rolling operation on the page by input equipment, to trigger page scroll event, so as to realize in screen model
Enclose the purpose of interior rolling target pages.
In the prior art, input equipment can be directed to a page elements or multiple page elements, trigger a series of pages
Rolling event, for example, left mouse button is clicked and pulls scroll bar or the mouse rollovers events such as mouse roller rolls, or, then example
Such as, the keyboard such as directionkeys rolling event rolls event, or, for another example sliding the touch-screens such as touch event rolls event.So
Afterwards, terminal then can perform corresponding operate to these page elements according to these page scroll events.Specifically, the end
End is all the fixed operation being pre-configured with, for example, the default page rolling of control page scroll to the operation performed by page elements
Dynamic distance.However, due to the uncertainty of user view, it may be such that the content after page scroll can not meet that user is true
Positive operation is intended to so that user, which also needs to operate input equipment repeatedly, to continue to trigger page elements new page scroll thing
Part, so, the data interaction between input equipment and application corresponding to the page can be increased, born so as to result in the processing of terminal
The increase of load.
Alternatively,, can also be previously according to described before 102 in a possible implementation of the present embodiment
The navigation patterns data of user, determine the custom that browses of the user, and then according to the custom that browses of the user, described in acquisition
Page scroll data, the page scroll data can include but is not limited to the input rolling speed scope of input equipment, input
The input rolling distance scope of equipment, the corresponding relation with page scroll distance.
Wherein, the navigation patterns data of the user can include but is not limited at least one in following data:
Input equipment starts to roll and terminates the input rolling distance between rolling;
Input equipment starts to roll and terminates the input rolling speed between rolling;And
Input equipment starts to roll and terminates the scrolling features of the content of pages between rolling.
Wherein, input equipment starts to roll and terminated between rolling, as a complete excavation object.So-called beginning
Roll, within the preset time range before referring to operate, for example, 3 seconds etc., it is not carried out any other rolling operation;It is so-called
End roll, refer within the preset time range after operation, for example, 3 seconds etc., be not carried out any other and roll behaviour
Make.
That is, between starting to roll and terminating to roll, input equipment may only carry out this time rolling operation,
So, input equipment starts to roll and terminates the input rolling distance between rolling, and is exactly that input equipment execution this time rolls
The input rolling distance of operation, input equipment start to roll and terminate the input rolling speed between rolling, and are exactly input equipment
The input rolling speed of this time rolling operation is performed, input equipment starts to roll and terminates the rolling of the content of pages between rolling
Dynamic feature, it is exactly that input equipment performs this time rolling distance of the content of pages corresponding to rolling operation, rolling line number, rolling
Paragraph number, roll title number, rolling picture number etc.;Or be also possible to perform n times rolling operation, wherein, N be more than or equal to
2 integer, each rolling speed may also can be inconsistent, then, input equipment starts to roll and terminated defeated between rolling
It is exactly the input rolling distance sum that input equipment performs n times rolling operation to enter rolling distance, and input equipment starts to roll and knot
Input rolling speed between beam rolling, it is exactly the average value that input equipment performs the input rolling speed of n times rolling operation, this
Embodiment is to this without being particularly limited to.
Specifically, it can determine that the user's browses custom, example previously according to the navigation patterns data of the user
Such as, the rolling distance that input equipment starts to roll and terminated the content of pages between rolling is 6 centimetres;Or for another example input
The rolling line number of content of pages that equipment starts to roll and terminated between rolling is 10 rows;Or for another example input equipment starts
The rolling paragraph number for rolling and terminating the content of pages between rolling is 2 sections;Or for another example input equipment start roll with
The rolling title number for terminating the content of pages between rolling is 1;Or for another example input equipment starts to roll with terminating to roll
The rolling picture number of content of pages between dynamic is 1, etc. the present embodiment is to this without being particularly limited to.
Finally, then custom can be browsed according to the user, obtains the page scroll data, the page scroll number
According to can include the input rolling speed scope of input equipment, the input rolling distance scope of input equipment, with page scroll away from
From corresponding relation, for example, input rolling speed scope V1~V2 of input equipment, the input rolling distance scope of input equipment
L1~L2, page scroll distance R.
Alternatively, in a possible implementation of the present embodiment, after 104, institute can also further be detected
State the second page that input equipment triggers on the target pages and roll event, and then thing is rolled according to the second page
Part, the second rolling operation is performed to the target pages.
Herein illustratively, it is performed herein " event to be rolled according to the second page, the target pages are performed
Second rolling operation " step, method of the prior art can be used, or the method in 101~104 can also be used, this
Embodiment is to this without being particularly limited to.
Further, the rolling adjustment distance corresponding to second rolling operation can also be further obtained, according to institute
Rolling adjustment distance is stated, adjusts the page scroll data for browsing custom based on user.
For example, described roll is adjusted into distance and by performing 103 page scrolls that are obtained apart from sum, as
Page scroll distance in the page scroll data for browsing custom based on user.
Or for another example adjust distance according to described roll, obtain one and be used to adjusting and described habit is browsed based on user
The rolling adjusting parameter of used page scroll data, adjust distance 0.5 times is such as rolled, by the rolling adjusting parameter and led to
Cross and perform 103 page scrolls obtained apart from sum, as the page scroll number for browsing custom based on user
Page scroll distance in.
It should be noted that the input equipment involved by the present embodiment can include but is not limited to mouse, keyboard or touch
Screen, the present embodiment is to this without being particularly limited to.
The input equipment is mouse, then, the first page rolls event or the second page rolls event then
Mouse roller can be included and roll event or mouse drag rolling event.
The input equipment is keyboard, then, the first page rolls event or the second page rolls event then
Directionkeys can be included and roll event.
The input equipment is touch-screen, then, the first page rolls event or the second page rolls event
It can then include sliding touch event.
It is understood that for cursor be present, the object of reference of the page scroll can be the page, the i.e. page
Remain stationary as, cursor rolls on the page, to cause cursor to reach the specified location of the page, or can also be cursor, i.e. light
Mark remains stationary as, and the page moves to opposite direction, and to cause cursor to reach the specified location of the page, the present embodiment is to this without spy
Do not limit.
In the present embodiment, the first page triggered by detecting input equipment on target pages rolls event, and then obtains
Obtain input rolling speed and/or the input of the input equipment of the input equipment corresponding to the first page rolling event
Rolling distance, and according to the page scroll data for browsing custom based on user, obtain with the input rolling speed and/or
Page scroll distance corresponding to the input rolling distance, enabling according to the page scroll distance, to the page object
Face performs the first rolling operation, due to obtaining page scroll distance using the page scroll data for browsing custom based on user,
Therefore, it is possible to avoid in the prior art leading page elements triggering page scroll event because user operates input equipment repeatedly
Cause increase input equipment and the page corresponding to application between data interaction the problem of, born so as to reduce the processing of terminal
Load.
In addition, using technical scheme provided by the invention, due to using the page scroll number for browsing custom based on user
According to page scroll distance is obtained, therefore, it is possible to avoid in the prior art because user operates input equipment to page elements repeatedly
Trigger the problem of increasing the data interaction between input equipment and application corresponding to the page caused by page scroll event, energy
The efficiency of enough effective page operations.
In addition, using technical scheme provided by the invention, due to considering the page scroll for browsing custom based on user
Data, therefore, the page scroll distance obtained can meet that the operation of user is intended to greatest extent, can avoid as far as possible not
Necessary operation bidirectional, the validity and accuracy of page operation can be effectively improved.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
Fig. 2 is the structural representation for the page control device that another embodiment of the present invention provides, as shown in Figure 2.This implementation
The page control device of example can include detection unit 21, obtaining unit 22, matching unit 23 and control unit 24.Wherein, examine
Unit 21 is surveyed, event is rolled for detecting the first page that input equipment triggers on target pages;Obtaining unit 22, for obtaining
Obtain input rolling speed and/or the input of the input equipment of the input equipment corresponding to the first page rolling event
Rolling distance;Matching unit 23, for according to the page scroll data for browsing custom based on user, obtaining and being rolled with the input
Page scroll distance corresponding to dynamic speed and/or the input rolling distance;Control unit 24, for according to the page scroll
Distance, the first rolling operation is performed to the target pages.
It should be noted that the page control device that the present embodiment provides can be the application for being located locally terminal, or
Can also be the plug-in unit that is located locally in the application of terminal or SDK (Software Development Kit,
The functional unit such as SDK), the present embodiment is to this without being particularly limited to.
It is understood that the application can be mounted in the application program (nativeApp) in terminal, or may be used also
To be a web page program (webApp) of browser in terminal, the present embodiment is to this without limiting.
So, the first page triggered by detection unit detection input equipment on target pages rolls event, and then
The input rolling speed of the input equipment and/or described defeated as corresponding to obtaining unit obtains the first page rolling event
Enter the input rolling distance of equipment, and obtained by matching unit according to the page scroll data for browsing custom based on user
Page scroll distance corresponding with the input rolling speed and/or the input rolling distance so that control unit being capable of root
According to the page scroll distance, the first rolling operation is performed to the target pages, due to browsing custom using based on user
Page scroll data obtain page scroll distance, therefore, it is possible to avoid setting because user operates input repeatedly in the prior art
For to the data between increase input equipment caused by page elements triggering page scroll event and the application corresponding to the page
The problem of interaction, so as to reduce the processing load of terminal.
Alternatively, in a possible implementation of the present embodiment, the matching unit 23, can also further use
In the navigation patterns data according to the user, determine that the user's browses custom;And habit is browsed according to the user
It is used, the page scroll data are obtained, the page scroll data include the input rolling speed scope of input equipment, input is set
Standby input rolling distance scope and the corresponding relation of page scroll distance.
Wherein, the navigation patterns data of the user can include but is not limited at least one in following data:
Input equipment starts to roll and terminates the input rolling distance between rolling;
Input equipment starts to roll and terminates the input rolling speed between rolling;And
Input equipment starts to roll and terminates the scrolling features of the content of pages between rolling.
Wherein, input equipment starts to roll and terminated between rolling, as a complete excavation object.So-called beginning
Roll, within the preset time range before referring to operate, for example, 3 seconds etc., it is not carried out any other rolling operation;It is so-called
End roll, refer within the preset time range after operation, for example, 3 seconds etc., be not carried out any other and roll behaviour
Make.
That is, between starting to roll and terminating to roll, input equipment may only carry out this time rolling operation,
So, input equipment starts to roll and terminates the input rolling distance between rolling, and is exactly that input equipment execution this time rolls
The input rolling distance of operation, input equipment start to roll and terminate the input rolling speed between rolling, and are exactly input equipment
The input rolling speed of this time rolling operation is performed, input equipment starts to roll and terminates the rolling of the content of pages between rolling
Dynamic feature, it is exactly that input equipment performs this time rolling distance of the content of pages corresponding to rolling operation, rolling line number, rolling
Paragraph number, roll title number, rolling picture number etc.;Or be also possible to perform n times rolling operation, wherein, N be more than or equal to
2 integer, each rolling speed may also can be inconsistent, then, input equipment starts to roll and terminated defeated between rolling
It is exactly the input rolling distance sum that input equipment performs n times rolling operation to enter rolling distance, and input equipment starts to roll and knot
Input rolling speed between beam rolling, it is exactly the average value that input equipment performs the input rolling speed of n times rolling operation, this
Embodiment is to this without being particularly limited to.
Specifically, the matching unit 23 can determine the user previously according to the navigation patterns data of the user
Browse custom, for example, input equipment start to roll and terminate roll between content of pages rolling distance be 6 centimetres;Or
Person, for another example the rolling line number of content of pages that input equipment starts to roll and terminated between rolling is 10 rows;Or then example
Such as, the rolling paragraph number that input equipment starts to roll and terminated the content of pages between rolling is 2 sections;Or for another example input
The rolling title number that equipment starts to roll and terminated the content of pages between rolling is 1;Or for another example input equipment is opened
The rolling picture number for beginning to roll and terminating the content of pages between rolling is 1, etc., the present embodiment to this without especially limit
It is fixed.
Finally, the matching unit 23 then can browse custom according to the user, obtain the page scroll data,
The page scroll data can include the input rolling speed scope of input equipment, the input rolling distance model of input equipment
Enclose, the corresponding relation with page scroll distance, for example, input rolling speed scope V1~V2 of input equipment, input equipment
Input rolling distance 1~L2 of range L, page scroll distance R.
Alternatively, in a possible implementation of the present embodiment, the detection unit 21, can also further use
Event is rolled in the second page that the detection input equipment triggers on the target pages.Correspondingly, described control unit
24, then it can be also used for rolling event according to the second page, the second rolling operation performed to the target pages.
Herein illustratively, described control unit 24 is performed herein " rolls event, to institute according to the second page
State target pages and perform the second rolling operation " step, method of the prior art can be used, or can also use and obtain list
Member 22 and the result of the performed operation of matching unit 23, the present embodiment is to this without being particularly limited to.
Further, the matching unit 23, then can also be further used for obtaining corresponding to second rolling operation
Rolling adjustment distance;And distance is adjusted according to described roll, adjust the page scroll for browsing custom based on user
Data.
For example, the page that the matching unit 23 is obtained the rolling adjustment distance and the matching unit 23
Rolling distance sum, as the page scroll distance in the page scroll data for browsing custom based on user.
Or for another example the matching unit 23 adjusts distance according to described roll, acquisition one is used to adjust the base
In the rolling adjusting parameter of the page scroll data for browsing custom of user, adjust distance 0.5 times is such as rolled, by the rolling
The page scroll that dynamic adjusting parameter and the matching unit 23 are obtained is apart from sum, as the browsing based on user
Page scroll distance in the page scroll data of custom.
It should be noted that the input equipment involved by the present embodiment can include but is not limited to mouse, keyboard or touch
Screen, the present embodiment is to this without being particularly limited to.
The input equipment is mouse, then, the first page rolls event or the second page rolls event then
Mouse roller can be included and roll event or mouse drag rolling event.
The input equipment is keyboard, then, the first page rolls event or the second page rolls event then
Directionkeys can be included and roll event.
The input equipment is touch-screen, then, the first page rolls event or the second page rolls event
It can then include sliding touch event.
It is understood that for cursor be present, the object of reference of the page scroll can be the page, the i.e. page
Remain stationary as, cursor rolls on the page, to cause cursor to reach the specified location of the page, or can also be cursor, i.e. light
Mark remains stationary as, and the page moves to opposite direction, and to cause cursor to reach the specified location of the page, the present embodiment is to this without spy
Do not limit.
It should be noted that method in embodiment corresponding to Fig. 1, the page control device that can be provided by the present embodiment is real
It is existing.The related content that may refer in embodiment corresponding to Fig. 1 is described in detail, here is omitted.
In the present embodiment, the first page triggered by detection unit detection input equipment on target pages rolls thing
Part, so as corresponding to obtaining unit obtains the first page rolling event input rolling speed of the input equipment and/
Or the input rolling distance of the input equipment, and by matching unit according to the page scroll number for browsing custom based on user
According to acquisition page scroll distance corresponding with the input rolling speed and/or the input rolling distance so that control unit
First rolling operation can be performed, due to using based on the clear of user to the target pages according to the page scroll distance
Look at custom page scroll data obtain page scroll distance, therefore, it is possible to avoid in the prior art because user operates repeatedly
Input equipment is between increase input equipment caused by page elements triggering page scroll event and the application corresponding to the page
Data interaction the problem of, so as to reduce the processing load of terminal.
In addition, using technical scheme provided by the invention, due to using the page scroll number for browsing custom based on user
According to page scroll distance is obtained, therefore, it is possible to avoid in the prior art because user operates input equipment to page elements repeatedly
Trigger the problem of increasing the data interaction between input equipment and application corresponding to the page caused by page scroll event, energy
The efficiency of enough effective page operations.
In addition, using technical scheme provided by the invention, due to considering the page scroll for browsing custom based on user
Data, therefore, the page scroll distance obtained can meet that the operation of user is intended to greatest extent, can avoid as far as possible not
Necessary operation bidirectional, the validity and accuracy of page operation can be effectively improved.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in one and computer-readable deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are causing a computer
It is each that device (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention
The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various
Can be with the medium of store program codes.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (8)
- A kind of 1. page control method, it is characterised in that including:The first page that detection input equipment triggers on target pages rolls event;Obtain the input rolling speed of the input equipment and/or the input equipment corresponding to the first page rolling event Input rolling distance;According to the page scroll data for browsing custom based on user, obtain and the input rolling speed and/or the input Page scroll distance corresponding to rolling distance;According to the page scroll distance, the first rolling operation is performed to the target pages;The page scroll data that browse custom of the basis based on user, obtain and input rolling speed and/or described with described Input before page scroll distance corresponding to rolling distance, in addition to:According to the navigation patterns data of the user, determine that the user's browses custom;Custom is browsed according to the user, obtains the page scroll data, the page scroll data include input equipment Input rolling speed scope, the input rolling distance scope of input equipment, the corresponding relation with page scroll distance.
- 2. according to the method for claim 1, it is characterised in that it is described according to the page scroll distance, to the target After the page performs the first rolling operation, in addition to:Detect the second page that the input equipment triggers on the target pages and roll event;Event is rolled according to the second page, the second rolling operation is performed to the target pages.
- 3. according to the method for claim 2, it is characterised in that it is described that event is rolled according to the second page, to described After target pages perform the second rolling operation, in addition to:Obtain the rolling adjustment distance corresponding to second rolling operation;Distance is adjusted according to described roll, adjusts the page scroll data for browsing custom based on user.
- 4. according to the method described in claim 2~3 any claim, it is characterised in thatThe input equipment is mouse, and the first page rolls event or the second page rolls event and includes mouse roller Rolling event or mouse drag roll event;OrThe input equipment is keyboard, and the first page rolls event or the second page rolls event and rolled including directionkeys Dynamic event;OrThe input equipment is touch-screen, and the first page rolls event or the second page rolls event and touched including sliding Touch event.
- A kind of 5. page control device, it is characterised in that including:Detection unit, event is rolled for detecting the first page that input equipment triggers on target pages;Obtaining unit, for obtain the input rolling speed of the input equipment corresponding to the first page rolling event and/ Or the input rolling distance of the input equipment;Matching unit, for according to the page scroll data for browsing custom based on user, obtaining and the input rolling speed And/or page scroll distance corresponding to the input rolling distance;Control unit, for according to the page scroll distance, the first rolling operation to be performed to the target pages;The matching unit, is additionally operable toAccording to the navigation patterns data of the user, determine that the user's browses custom;AndCustom is browsed according to the user, obtains the page scroll data, the page scroll data include input equipment Input rolling speed scope, the input rolling distance scope of input equipment, the corresponding relation with page scroll distance.
- 6. device according to claim 5, it is characterised in thatThe detection unit, is additionally operable toDetect the second page that the input equipment triggers on the target pages and roll event;Described control unit, it is additionally operable toEvent is rolled according to the second page, the second rolling operation is performed to the target pages.
- 7. device according to claim 6, it is characterised in that the matching unit, be additionally operable toObtain the rolling adjustment distance corresponding to second rolling operation;AndDistance is adjusted according to described roll, adjusts the page scroll data for browsing custom based on user.
- 8. according to the device described in claim 6~7 any claim, it is characterised in thatThe input equipment is mouse, and the first page rolls event or the second page rolls event and includes mouse roller Rolling event or mouse drag roll event;OrThe input equipment is keyboard, and the first page rolls event or the second page rolls event and rolled including directionkeys Dynamic event;OrThe input equipment is touch-screen, and the first page rolls event or the second page rolls event and touched including sliding Touch event.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410378101.2A CN104166494B (en) | 2014-08-01 | 2014-08-01 | page control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410378101.2A CN104166494B (en) | 2014-08-01 | 2014-08-01 | page control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104166494A CN104166494A (en) | 2014-11-26 |
CN104166494B true CN104166494B (en) | 2018-04-03 |
Family
ID=51910339
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410378101.2A Active CN104166494B (en) | 2014-08-01 | 2014-08-01 | page control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104166494B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426088B (en) * | 2015-11-02 | 2018-12-25 | 北京金山安全软件有限公司 | Browser control method and device and terminal equipment |
CN105511761B (en) * | 2015-11-27 | 2019-02-19 | 网易(杭州)网络有限公司 | The display methods and device of content of pages |
CN106598427A (en) * | 2016-11-23 | 2017-04-26 | 上海斐讯数据通信技术有限公司 | Fast scroll realization method and apparatus |
CN108268563B (en) * | 2017-01-04 | 2021-02-19 | 阿里巴巴(中国)有限公司 | Page display method and device and computing equipment |
CN108319417B (en) * | 2017-01-17 | 2021-04-09 | 腾讯科技(深圳)有限公司 | Page control method and device |
CN110221758B (en) * | 2019-04-29 | 2022-08-26 | 平安科技(深圳)有限公司 | Scroll bar control method and device, computer equipment and storage medium |
CN112506357A (en) * | 2020-12-09 | 2021-03-16 | 深圳市联谛信息无障碍有限责任公司 | Input method, electronic device, and non-volatile computer-readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6337694B1 (en) * | 1999-09-07 | 2002-01-08 | International Business Machines Corporation | Method and system for variable speed scrolling within a data processing system |
CN101464746A (en) * | 2007-12-21 | 2009-06-24 | 宏达国际电子股份有限公司 | Method for controlling electronic apparatus and electronic apparatus using the method |
CN101788975A (en) * | 2009-01-23 | 2010-07-28 | 国际商业机器公司 | Method and equipment for controlling scrolling of document |
CN102549541A (en) * | 2009-10-06 | 2012-07-04 | 夏普株式会社 | Electronic document processing device, electronic document display device, electronic document processing method, electronic document processing program, and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7786975B2 (en) * | 2005-12-23 | 2010-08-31 | Apple Inc. | Continuous scrolling list with acceleration |
KR101886753B1 (en) * | 2012-04-05 | 2018-08-08 | 엘지전자 주식회사 | Mobile terminal and control method thereof |
-
2014
- 2014-08-01 CN CN201410378101.2A patent/CN104166494B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6337694B1 (en) * | 1999-09-07 | 2002-01-08 | International Business Machines Corporation | Method and system for variable speed scrolling within a data processing system |
CN101464746A (en) * | 2007-12-21 | 2009-06-24 | 宏达国际电子股份有限公司 | Method for controlling electronic apparatus and electronic apparatus using the method |
CN101788975A (en) * | 2009-01-23 | 2010-07-28 | 国际商业机器公司 | Method and equipment for controlling scrolling of document |
CN102549541A (en) * | 2009-10-06 | 2012-07-04 | 夏普株式会社 | Electronic document processing device, electronic document display device, electronic document processing method, electronic document processing program, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104166494A (en) | 2014-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104166494B (en) | page control method and device | |
EP2721807B1 (en) | Method and apparatus for providing a notification mechanism | |
US8890825B2 (en) | Apparatus and method for determining the position of user input | |
CN102819416B (en) | A kind of realize the method and apparatus that component content shows | |
CN104035679B (en) | Show the electronic equipment and its control method of representative information | |
CN103886025B (en) | The display methods and device of picture in webpage | |
CN107077295A (en) | A kind of method, device, electronic equipment, display interface and the storage medium of quick split screen | |
CN104391636B (en) | A kind of screenshotss method and device | |
CN104571813B (en) | A kind of display methods and device of information | |
CN104571852A (en) | Icon moving method and device | |
CN103034427A (en) | Touch screen page turning method and device and touch screen equipment | |
CN105159548B (en) | A kind of list interface operating method and electric terminal | |
CN105867916A (en) | Terminal control method and device | |
CN104423789A (en) | Information processing method and electronic equipment | |
CN105278771A (en) | Non-blocking touch handheld electronic device, method and graphical user interface | |
CN106790828A (en) | The control method and mobile terminal of a kind of mobile terminal | |
CN107132982B (en) | Single-hand control method and system for terminal equipment | |
CN103064627A (en) | Application management method and device | |
CN103324674A (en) | Method and device for selecting webpage content | |
CN104765525A (en) | Operation interface switching method and device | |
CN104063155B (en) | Content share method, device and electronic equipment | |
CN107291772A (en) | One kind search access method, device and electronic equipment | |
CN106843735A (en) | A kind of terminal control method and mobile terminal | |
CN104519187B (en) | The display control method and device of contact person | |
CN104572997A (en) | Content acquiring method and device and user device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |