CN103389859A - Web page scrolling method and device - Google Patents
Web page scrolling method and device Download PDFInfo
- Publication number
- CN103389859A CN103389859A CN2012101401698A CN201210140169A CN103389859A CN 103389859 A CN103389859 A CN 103389859A CN 2012101401698 A CN2012101401698 A CN 2012101401698A CN 201210140169 A CN201210140169 A CN 201210140169A CN 103389859 A CN103389859 A CN 103389859A
- Authority
- CN
- China
- Prior art keywords
- webpage
- display screen
- page
- terminal
- presented
- 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
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a web page scrolling method and a web page scrolling device, and belongs to the field of computers. The method comprises the following steps of monitoring a rapid page scrolling control displayed by a terminal in real time when a web page is displayed on the terminal; if a command of scrolling the web page to top is monitored to be submitted through the rapid page scrolling control by a user, downwards scrolling the web page until the top of the web page is displayed on a display screen of the terminal when the top of the web page is not displayed on the display screen of the terminal; and if a command of scrolling the web page to bottom is monitored to be submitted through the rapid page scrolling control by the user, upwards scrolling the web page until the bottom of the web page is displayed on the display screen of the terminal when the bottom of the web page is not displayed on the display screen of the terminal. The device comprises a monitoring module, a first scrolling module and a second scrolling module. According to the method and the device, the use of the user can be facilitated.
Description
Technical field
The present invention relates to computer realm, particularly a kind of method of the Webpage that rolls and device.
Background technology
Fast development along with Internet technology, many abundant in content Webpages have appearred at present, yet be subjected to the limitation in height of the display screen of terminal, and the content-length that comprises of these abundant in content Webpages makes the user usually need the Webpage that rolls when by terminal, browsing these Webpages often greater than the height of the display screen of terminal.
Wherein, the user slides up and down the scroll-up/down Webpage on can be with the display screen of hand in terminal when the abundant Webpage of browsing content.In addition, limited with hand slides up and down on the display screen of terminal length, and be no more than the height of the display screen of terminal, when the content-length that the Webpage of browsing as the user comprises is tediously long especially, top or bottom that the user is rolled to Webpage need the time of growing, and so to the user, use and make troubles.
Summary of the invention
, in order to facilitate the user to be rolled to top and the bottom of web page face, the invention provides a kind of method and device of the Webpage that rolls.Described technical scheme is as follows:
A kind of method of the Webpage that rolls, described method comprises:
When the terminal display web page page, the rapid page control that described terminal is shown carries out Real Time Monitoring;
If monitor out page turning that the user submits to by the described rapid page control order to page top, when the top of described Webpage is not presented on the display screen of described terminal downwards the described Webpage of rolling until the top of described Webpage while being presented at the display screen of described terminal;
Submit the order of page turning to page bottom if monitor out described user to by described rapid page control, the described Webpage that scrolls up when the bottom of described Webpage is not presented on the display screen of described terminal is until the bottom of described Webpage while being presented at the display screen of described terminal.
A kind of device of the Webpage that rolls, described device comprises:
Monitoring module, be used for when the terminal display web page page, and the rapid page control that described terminal is shown carries out Real Time Monitoring;
The first rolling module, if be used for monitoring out page turning that the user submits to by the described rapid page control order to page top, when the top of described Webpage is not presented on the display screen of described terminal the described Webpage of downward rolling until the top of described Webpage while being presented at the display screen of described terminal;
The second rolling module, submit to page turning to the order bottom the page if be used for monitoring out described user by described rapid page control, the described Webpage that scrolls up when the bottom of described Webpage is not presented on the display screen of described terminal is until the bottom of described Webpage while being presented at the display screen of described terminal.
In embodiments of the present invention, the rapid page control that terminal is shown carries out Real Time Monitoring; If monitor out page turning that the user submits to by the rapid page control order to page top, when the top of Webpage is not presented on the display screen of terminal downward rolling Webpage until the top of Webpage while being presented at the display screen of terminal; Submit the order of page turning to page bottom if monitor out the user to by the rapid page control, the Webpage that scrolls up when the bottom of Webpage is not presented on the display screen of terminal is until the bottom of Webpage while being presented at the display screen of terminal.So user's page turning fast, to top or the bottom of Webpage, is user-friendly to.
Description of drawings
Fig. 1 is the method flow diagram of a kind of Webpage that rolls that the embodiment of the present invention 1 provides;
Fig. 2 is the method flow diagram of a kind of Webpage that rolls that the embodiment of the present invention 2 provides;
Fig. 3 is the end schematic diagram of the rapid page control that provides of the embodiment of the present invention 2;
Fig. 4 is the apparatus structure schematic diagram of a kind of Webpage that rolls that the embodiment of the present invention 4 provides.
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.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention provides a kind of method of the Webpage that rolls, and comprising:
Step 101: when the terminal display web page page, the rapid page control that terminal is shown carries out Real Time Monitoring;
Step 102: if monitor out page turning that the user submits to by the rapid page control order to page top, when the top of Webpage is not presented on the display screen of terminal downward rolling Webpage until the top of Webpage while being presented at the display screen of terminal;
Step 103: submit the order of page turning to page bottom if monitor out the user to by the rapid page control, the Webpage that scrolls up when the bottom of Webpage is not presented on the display screen of terminal is until the bottom of Webpage while being presented at the display screen of terminal.
In embodiments of the present invention, the rapid page control that terminal is shown carries out Real Time Monitoring; If monitor out page turning that the user submits to by the rapid page control order to page top, when the top of Webpage is not presented on the display screen of terminal downward rolling Webpage until the top of Webpage while being presented at the display screen of terminal; Submit the order of page turning to page bottom if monitor out the user to by the rapid page control, the Webpage that scrolls up when the bottom of Webpage is not presented on the display screen of terminal is until the bottom of Webpage while being presented at the display screen of terminal.So user's page turning fast, to top or the bottom of Webpage, is user-friendly to.
Embodiment 2
As shown in Figure 2, the embodiment of the present invention provides a kind of method of the Webpage that rolls, and comprising:
Step 201: when the user starts browser in terminal, terminal is obtained the configuration information of rapid page control, the rapid page control comprises upwards page-turning button and page-turning button downwards, and the configuration information of rapid page control comprises the position of rapid page control in browser at least;
Wherein, browser can be installed by user or terminal production firm in terminal, and can be at a local file corresponding to browser that form of terminal in the process that browser is installed, this document folder comprises the information such as all application programs that rapid page control, the configuration information of rapid page control and browser comprise.
Correspondingly, while as the user, starting the browser browsing page page in terminal, terminal can be obtained the configuration information of rapid page control from file corresponding to this browser; Wherein, this configuration information comprises the position of rapid page control in browser at least, can also comprise hiding property value; Hiding property value can be hidden property value for the first hiding property value or second.
Wherein, the position of rapid page control in browser can represent with the coordinate of rapid page control in browser; First hide property value can be 1 or etc., second hides property value can be 0 or not no etc.
Wherein, the rapid page control that browser shown in Figure 3 comprises, the rapid page control comprises upwards page-turning button and page-turning button downwards, and the user can be by the Webpage that scrolls up of page-turning button upwards, and can carry out downward rolling Webpage by downward page-turning button.
Step 202: terminal is obtained the rapid page control from file corresponding to browser, shows the rapid page control that obtains in browser according to the position of rapid page control in browser;
Further, before carrying out this step, if the configuration information of rapid page control also comprises hiding property value, terminal judges the hiding property value that the configuration information of rapid page control comprises, hide value if judge hiding property value that the configuration information of rapid page control comprises and be first, start to carry out this step and show the rapid page control;
Hide value if judge hiding property value that the configuration information of rapid page control comprises and be second, ought receive the order of the demonstration rapid page control of user's submission, then start to carry out this step and show the rapid page control.
Wherein, also comprise the button of demonstration rapid page control and the button of hiding rapid page control in browser; The user can come to submit to terminal the order that shows the rapid page control to by clicking the button that shows the rapid page control, and by clicking the button of hiding the rapid page control, comes to submit the order of hiding the rapid page control to terminal.
Wherein, after receiving when terminal the order that shows the rapid page control, terminal can also comprise the configuration information of rapid page control in file corresponding to browser hiding property value is revised as first and hides property value.
Step 203: terminal is carried out Real Time Monitoring to the rapid page control that is presented in browser;
Wherein, after the user starts browser, Webpage can be opened in browser and the browsing page page comprises content; If the content-length that the Webpage that the user browses comprises is greater than the height of the display screen of terminal, the user need to, by the roll Webpage of browsing of rapid page control, be presented on the display screen of terminal Webpage is comprised the content that need to browse.
wherein, the user can be by clicking upwards page-turning button that the rapid page control the comprises Webpage that scrolls up, can submit to the order of downward page turning to realize rolling Webpage downwards to terminal by clicking the downward page-turning button that the rapid page control comprises, Webpage continuously can scroll up by the upwards page-turning button that length comprises by the rapid page control, can carry out to roll continuously Webpage downwards by the long downward page-turning button that comprises by the rapid page control, the next order to terminal submission page turning to page bottom of upwards page-turning button that can comprise by double-clicking the rapid page control, with realization, the bottom of Webpage is rolled on the display screen of terminal, the next order to terminal submission page turning to page top of downward page-turning button that can comprise by double-clicking the rapid page control, with realization, the top of Webpage is rolled on the display screen of terminal.
Wherein, when if the user need to be rolled to the display screen of terminal with the top of Webpage, the user can double-click the next order to terminal submission page turning to page top of downward page-turning button that the rapid page control comprises, so that terminal is with in the display screen of the terminal of the top of Webpage rolling.
Step 204: terminal when monitoring page turning that the user submits to by the rapid page control to the order of page top, judges whether the top of Webpage has been presented in the display screen of himself, if not, performs step 205;
Particularly, terminal is obtained first height of content in Webpage that shows at the top of the display screen of himself, if that obtains first highly equals zero, the top of judging Webpage has been presented in the display screen of himself, if the first height that obtains is greater than zero, the top of judging Webpage is not presented in the display screen of himself.
Wherein, need to prove: be presented in the display screen of himself if judge the top of Webpage, do not needed the Webpage that rolls, terminal is not carried out the operation of rolling Webpage.
Step 205: roll downwards Webpage and the top of Webpage is rolled in the display screen of himself of terminal.
Particularly, terminal, with the first height that Webpage rolls and obtains, is presented in the display screen of himself top of Webpage downwards.
Wherein, when if the user need to be rolled to the display screen of terminal with the bottom of Webpage, the user can double-click the next order to terminal submission page turning to page bottom of the page-turning button that makes progress that the rapid page control comprises, so that terminal is with in the display screen of the terminal of the bottom of Webpage rolling.
Step 206: terminal when monitoring page turning that the user submits to by the rapid page control to the order of page bottom, judges whether the bottom of Webpage has been presented in the display screen of himself, if not, performs step 207;
Particularly, terminal is obtained second height of content in Webpage that shows in the bottom of the display screen of himself, if the second height that highly equals Webpage that obtains, the bottom of judging Webpage has been presented in the display screen of himself, if the second height that obtains is less than the height of Webpage, the bottom of judging Webpage is not presented in the display screen of himself.
Wherein, need to prove: be presented in the display screen of himself if judge the bottom of Webpage, do not needed the Webpage that rolls, terminal is not carried out the operation of rolling Webpage.
Step 207: scroll up Webpage and the bottom of Webpage is rolled in the display screen of himself of terminal;
Particularly, the first height difference between the height of terminal calculating Webpage and the second height that obtains, the first height difference with Webpage scrolls up and calculates, be presented in the display screen of himself bottom of Webpage.
Wherein, if the user need to scroll up during Webpage, the user can click the upwards page-turning button that the rapid page control comprises and come to submit the upwards order of page turning, the Webpage so that terminal scrolls up to terminal.
Step 208: terminal when monitoring the order of the upwards page turning that the user submits to by the rapid page control, judges whether the bottom of Webpage has been presented in the display screen of himself, if not, performs step 209;
Particularly, terminal is obtained the third high degree of content in Webpage that shows in the bottom of the display screen of himself, if the third high degree that obtains equals the height of Webpage, the bottom of judging Webpage has been presented in the display screen of himself, if the third high degree that obtains is less than the height of Webpage, the bottom of judging Webpage is not presented in the display screen of himself.
Wherein, need to prove: be presented in the display screen of himself if judge the bottom of Webpage, do not needed the Webpage that scrolls up, terminal is not carried out the operation of rolling Webpage.
Step 209: terminal is according to the first default side-play amount Webpage that scrolls up, and the first side-play amount is greater than zero and be less than or equal to the height of the display screen of terminal;
Particularly, the second height difference between the height of terminal calculating Webpage and the third high degree that obtains, if the second height difference of calculating is greater than the first side-play amount, the first side-play amount scrolls up Webpage,, if the second height difference of calculating is less than or equal to the first side-play amount, Webpage is scrolled up until the bottom of Webpage while being presented in himself display screen.
Wherein, the user can arrange the first side-play amount in advance in terminal, is the content that guarantees that the browsing page page that the user can be continuous comprises, so the first side-play amount is greater than zero and be less than or equal to the height of the display screen of terminal.
Wherein, if when the user needs downward rolling Webpage, the user can click the order of submitting downward page turning to terminal to of downward page-turning button that the rapid page control comprises, the Webpage so that terminal is rolled downwards.
Step 210: terminal when monitoring the order of the downward page turning that the user submits to by the rapid page control, judges whether the top of Webpage has been presented in the display screen of himself, if not, performs step 211;
Particularly, terminal is obtained four height of content in Webpage that shows at the top of the display screen of himself, if that obtains the 4th highly equals zero, the top of judging Webpage has been presented in the display screen of himself, if the 4th height that obtains is greater than zero, the top of judging Webpage is not presented in the display screen of himself.
Wherein, need to prove: be presented in the display screen of himself if judge the top of Webpage, do not needed the Webpage that rolls downwards, terminal is not carried out the operation of rolling Webpage.
Step 211: terminal is according to the second default side-play amount Webpage that rolls downwards, and the second side-play amount is greater than zero and be less than or equal to the height of the display screen of terminal;
Particularly, if the 4th height that obtains is greater than the second side-play amount, with downward second side-play amount of rolling of Webpage,, if that obtains the 4th highly is less than or equal to the second side-play amount, Webpage is rolled downwards until the top of Webpage while being presented in himself display screen.
Wherein, the user can arrange the second side-play amount in advance in terminal, is the content that guarantees that the browsing page page that the user can be continuous comprises, so the second side-play amount is greater than zero and be less than or equal to the height of the display screen of terminal; In addition, the first side-play amount can greater than, be equal to or less than the second side-play amount.
Wherein, if when the user need to scroll up Webpage continuously, the user can grow the upwards page-turning button that comprises by the rapid page control, makes the terminal Webpage that scrolls up continuously; Wherein, if terminal monitoring go out that the user presses that the rapid page control comprises upwards the time of button reaches Preset Time the time, determine the upwards page-turning button that comprises by the rapid page control with the head of a household.
Step 212: terminal when monitor that the user presses that the rapid page control comprises upwards the time of page-turning button reaches Preset Time the time, judge whether the bottom of Webpage has been presented in the display screen of himself, if not, perform step 213;
Particularly, terminal is obtained five height of content in Webpage that shows in the bottom of the display screen of himself, if the 5th height that highly equals Webpage that obtains, the bottom of judging Webpage has been presented in the display screen of himself, if the 5th height that obtains is less than the height of Webpage, the bottom of judging Webpage is not presented in the display screen of himself.
Wherein, need to prove: be presented in the display screen of himself if judge the bottom of Webpage, do not needed the Webpage that scrolls up, terminal is not carried out the operation of rolling Webpage.
Step 213: terminal is in the user presses the time of the upwards page-turning button that the rapid page control comprises, according to the default First Speed Webpage that scrolls up;
particularly, when the user press that the rapid page control comprises upwards the page-turning button time reaches Preset Time the time, terminal is according to the First Speed uniform roll's Webpage that makes progress, if monitoring during the user is rolled to the display screen of himself with the bottom of Webpage before stopping pressing the upwards page-turning button that the rapid page control comprises, stop continuing the rolling wire side page, if monitoring during the user is not rolled to the display screen of himself with the bottom of Webpage before stopping pressing the upwards page-turning button that the rapid page control comprises, when monitoring the user and stop pressing the upwards page-turning button that the rapid page control comprises, stop continuing the rolling Webpage.
Wherein,, if when the user needed to roll continuously Webpage downwards, the user can grow the downward page-turning button that comprises by the rapid page control, make the terminal Webpage that rolls continuously downwards; Wherein, if terminal monitoring goes out the user, press time to knob down that the rapid page control comprises while reaching Preset Time, determine the downward page-turning button that comprises by the rapid page control with the head of a household.
Step 214: terminal reaches Preset Time when the time that monitor the user and press the downward page-turning button that the rapid page control comprises, judges whether the top of Webpage has been presented in the display screen of himself, if not, performs step 215;
Particularly, terminal is obtained six height of content in Webpage that shows at the top of the display screen of himself, if that obtains the 6th highly equals zero, the top of judging Webpage has been presented in the display screen of himself, if the 6th height that obtains is greater than zero, the top of judging Webpage is not presented in the display screen of himself.
Wherein, need to prove: be presented in the display screen of himself if judge the top of Webpage, do not needed the Webpage that rolls downwards, terminal is not carried out the operation of rolling Webpage.
Step 215: terminal is in the user presses the time of the downward page-turning button that the rapid page control comprises, according to the default second speed Webpage that rolls downwards.
particularly, when the time that the user presses the downward page-turning button that the rapid page control comprises reaches Preset Time, terminal uniform roll Webpage downward according to second speed, if monitoring during the user is rolled to the display screen of himself with the top of Webpage before stopping pressing the downward page-turning button that the rapid page control comprises, stop continuing the rolling wire side page, if monitoring during the user is not rolled to the display screen of himself with the bottom of Webpage before stopping pressing the downward page-turning button that the rapid page control comprises, when monitoring the user and stop pressing the downward page-turning button that the rapid page control comprises, stop continuing the rolling Webpage.
Wherein, First Speed greater than, be equal to or less than second speed.
Wherein, the user can drag the rapid page control shows in browser position by browser; In addition, the user also can come by the button of clicking the hiding rapid page that shows in browser to submit the order of hiding the rapid page control to terminal; Then terminal receives the order of the hiding rapid page control of user's submission, obtain the current location of rapid page control in browser, the configuration information information of rapid page control is comprised that the position of rapid page control in browser is updated to the current location of rapid page control in browser of obtaining in file corresponding to browser, and the hiding property value that the configuration information of rapid page control comprises is revised as the second hiding property value.
In embodiments of the present invention, the rapid page control that terminal is shown carries out Real Time Monitoring; If monitor out page turning that the user submits to by the rapid page control order to page top, when the top of Webpage is not presented on the display screen of terminal downward rolling Webpage until the top of Webpage while being presented at the display screen of terminal; Submit the order of page turning to page bottom if monitor out the user to by the rapid page control, the Webpage that scrolls up when the bottom of Webpage is not presented on the display screen of terminal is until the bottom of Webpage while being presented at the display screen of terminal.So user's page turning fast, to top or the bottom of Webpage, is user-friendly to.
Embodiment 3
As shown in Figure 4, the embodiment of the present invention provides a kind of device of the Webpage that rolls, and comprising:
The first rolling module 302, if be used for monitoring out page turning that the user submits to by this rapid page control order to page top, when the top of Webpage is not presented on the display screen of terminal downward rolling Webpage until the top of Webpage while being presented at the display screen of terminal;
The second rolling module 303, submit the order of page turning to page bottom if be used for monitoring out the user to by this rapid page control, the Webpage that scrolls up when the bottom of Webpage is not presented on the display screen of terminal is until the bottom of Webpage while being presented at the display screen of terminal.
Further, this device also comprises:
The first judge module, be used for obtaining content that the top of the display screen of terminal shows the first height at Webpage, if first is highly zero, the top of judging Webpage has been presented on the display screen of terminal, if the first height is greater than zero, the top of judging Webpage is not presented on the display screen of terminal.
Wherein, the first rolling module 302, concrete being used for rolls first downwards highly with Webpage, and the top of Webpage is presented in the display screen of terminal.
Further, this device also comprises:
The second judge module, be used for obtaining content that the bottom of the display screen of terminal shows the second height at Webpage, if second highly equals the height of Webpage, the bottom of judging Webpage has been presented on the display screen of terminal, if the second height is less than the height of described Webpage, the bottom of judging Webpage is not presented on the display screen of terminal.
Wherein, the second rolling module 303 comprises:
The first computing unit, be used for calculating the height of Webpage and the first height difference between the second height;
The first rolling unit,, for the first height difference that Webpage is scrolled up, be presented in the display screen of terminal the bottom of webpage.
Further, this device also comprises:
The 3rd rolling module, if be used for monitoring out the upwards order of page turning that the user submits to by this rapid page control, when the bottom of Webpage is not presented at the display screen of terminal according to the first default side-play amount Webpage that scrolls up, the first side-play amount is greater than zero and be less than or equal to the height of the display screen of terminal.
The 4th rolling module, submit the order of downward page turning to by the rapid page control if be used for monitoring out the user, when the top of Webpage is not presented at the display screen of terminal according to the second default side-play amount Webpage that rolls downwards, the second side-play amount is greater than zero and be less than or equal to the height of the display screen of terminal.
Wherein, the 3rd rolling module comprises:
The second computing unit, be used for to calculate the height and the second height difference between the third high degree of Webpage, and the third high degree is that the content of bottom demonstration of display screen of terminal is at the height of Webpage;
The second rolling unit, if be used for the second height difference greater than the first side-play amount, the first side-play amount scrolls up Webpage;
The 3rd rolling unit, be less than or equal to the first side-play amount if be used for the second height difference, and the Webpage that scrolls up is until the bottom of Webpage while being presented at the display screen of terminal.
Wherein, the 4th rolling module comprises:
Comparing unit, be used for the relatively size of the second side-play amount and the 4th height, and the 4th is highly the height of content in Webpage of top demonstration of the display screen of terminal;
The 4th rolling unit, if be used for the 4th height greater than the second side-play amount, second side-play amount of Webpage being rolled downwards;
The 5th rolling unit, highly be less than or equal to the second side-play amount if be used for the 4th, and the Webpage that rolls downwards is until the top of Webpage while being presented at the display screen of terminal.
Wherein, this device also comprises:
The 5th rolling module, the user presses that this rapid page control comprises when upwards the time of page-turning button reaches Preset Time if be used for monitoring out, when the bottom of Webpage is not presented on the display screen of terminal, in the user presses time of the upwards page-turning button that the rapid page control comprises according to the default First Speed described Webpage that scrolls up;
The 6th rolling module, if be used for monitoring out time that the user presses the downward page-turning button that this rapid page control comprises while reaching Preset Time, when the top of Webpage is not presented on the display screen of terminal, in the user presses time of the downward page-turning button that this rapid page control comprises according to the default second speed described Webpage that rolls downwards.
Wherein, the 5th rolling module comprises:
The 6th rolling unit, be used for starting to press the user that this rapid page control comprises when upwards the time of page-turning button reaches Preset Time, according to the First Speed Webpage that at the uniform velocity scrolls up;
The first stop element, if while being used for, before the user stops pressing the upwards page-turning button that this rapid page control comprises, the bottom of Webpage to be rolled to the display screen of terminal, stop continuing the rolling Webpage;
The second stop element, the rapid page control comprises upwards the bottom of Webpage is not rolled to the display screen of terminal before page-turning button if be used for stopping pressing the user, when the user stops pressing the upwards page-turning button that this rapid page control comprises, stop continuing the rolling Webpage.
Wherein, the 6th rolling module comprises:
The 7th rolling unit, be used for when the time that the user starts to press the downward page-turning button that this rapid page control comprises reaches Preset Time, according to the second speed Webpage that rolls at the uniform velocity downwards;
The 3rd stop element, if while being used for, before the user stops pressing the downward page-turning button that this rapid page control comprises, the top of Webpage to be rolled to the display screen of terminal, stop continuing the rolling Webpage;
The 4th stop element, before stopping pressing the downward page-turning button that this rapid page control comprises, the user the top of Webpage is not rolled to the display screen of terminal if be used for, when the user stops pressing the downward page-turning button that this rapid page control comprises, stop continuing the rolling Webpage.
In embodiments of the present invention, the rapid page control that terminal is shown carries out Real Time Monitoring; If monitor out page turning that the user submits to by the rapid page control order to page top, when the top of Webpage is not presented on the display screen of terminal downward rolling Webpage until the top of Webpage while being presented at the display screen of terminal; Submit the order of page turning to page bottom if monitor out the user to by the rapid page control, the Webpage that scrolls up when the bottom of Webpage is not presented on the display screen of terminal is until the bottom of Webpage while being presented at the display screen of terminal.So user's page turning fast, to top or the bottom of Webpage, is user-friendly to.
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 foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (22)
1. the method for the Webpage that rolls, is characterized in that, described method comprises:
When the terminal display web page page, the rapid page control that described terminal is shown carries out Real Time Monitoring;
Submit the order of page turning to page top if monitor out the user to by described rapid page control, when the top of described Webpage is not presented on the display screen of described terminal downwards the described Webpage of rolling until the top of described Webpage while being presented at the display screen of described terminal;
Submit the order of page turning to page bottom if monitor out described user to by described rapid page control, the described Webpage that scrolls up when the bottom of described Webpage is not presented on the display screen of described terminal is until the bottom of described Webpage while being presented at the display screen of described terminal.
2. the method for claim 1, is characterized in that, the described Webpage of described downward rolling until the top of described Webpage while being presented at the display screen of described terminal before, also comprise:
Obtain first height of content in described Webpage that the top of the display screen of described terminal shows, if described first is highly zero, the top of judging described Webpage has been presented on the display screen of described terminal, if described the first height is greater than zero, the top of judging described Webpage is not presented on the display screen of described terminal.
3. method as claimed in claim 2, is characterized in that, the described Webpage of described downward rolling until the top of described Webpage while being presented at the display screen of described terminal, comprising:
Described Webpage is rolled described first downwards highly, the top of described Webpage is presented in the display screen of described terminal.
4. the method for claim 1, is characterized in that, described scroll up described Webpage until the bottom of described Webpage while being presented at the display screen of described terminal before, also comprise:
Obtain second height of content in described Webpage that the bottom of the display screen of described terminal shows, if described second highly equals the height of described Webpage, the bottom of judging described Webpage has been presented on the display screen of described terminal, if described the second height is less than the height of described Webpage, the bottom of judging described Webpage is not presented on the display screen of described terminal.
5. method as claimed in claim 4, is characterized in that, described scroll up described Webpage until the bottom of described Webpage while being presented at the display screen of described terminal, comprising:
Calculate the height of described Webpage and the first height difference between described the second height;
With described Webpage described the first height difference that scrolls up, the bottom of described webpage is presented in the display screen of described terminal.
6., as the described method of claim 1 to 5 any one claim, it is characterized in that, the described rapid page control that described terminal is shown also comprises after carrying out Real Time Monitoring:
Submit the upwards order of page turning if monitor out described user to by described rapid page control, when the bottom of described Webpage is not presented at the display screen of described terminal according to the first default side-play amount described Webpage that scrolls up, described the first side-play amount is greater than zero and be less than or equal to the height of the display screen of described terminal;
Submit the order of downward page turning to by described rapid page control if monitor out described user, when the top of described Webpage is not presented at the display screen of described terminal according to the second default side-play amount described Webpage that rolls downwards, described the second side-play amount is greater than zero and be less than or equal to the height of the display screen of described terminal.
7. method as claimed in claim 6, is characterized in that, the first default side-play amount of described basis described Webpage that scrolls up comprises:
Calculate the height of described Webpage and the second height difference between the third high degree, the content that the bottom of the display screen that described third high degree is described terminal shows is at the height of described Webpage;
Described the first side-play amount if described the second height difference, greater than described the first side-play amount, scrolls up described Webpage;
If described the second height difference is less than or equal to described the first side-play amount, the described Webpage that scrolls up is until the bottom of described Webpage while being presented at the display screen of described terminal.
8. method as claimed in claim 6, is characterized in that, the second default side-play amount of described basis described Webpage that rolls downwards comprises:
The size of more described the second side-play amount and the 4th height, the described the 4th is highly the height of content in described Webpage of top demonstration of the display screen of described terminal;
Described the second side-play amount if described the 4th height, greater than described the second side-play amount, rolls described Webpage downwards;
If the described the 4th highly is less than or equal to described the second side-play amount, the described Webpage that rolls downwards is until the top of described Webpage while being presented at the display screen of described terminal.
9., as the described method of claim 1 to 5 any one claim, it is characterized in that, the described rapid page control that described terminal is shown also comprises after carrying out Real Time Monitoring:
If monitor out that described user presses that described rapid page control comprises upwards the time of page-turning button reaches Preset Time the time, when the bottom of described Webpage is not presented on the display screen of described terminal, in described user presses time of the upwards page-turning button that described rapid page control comprises according to the default First Speed described Webpage that scrolls up;
If monitor out time that described user presses the downward page-turning button that described rapid page control comprises while reaching described Preset Time, when the top of described Webpage is not presented on the display screen of described terminal, in described user presses time of the downward page-turning button that described rapid page control comprises according to the default second speed described Webpage that rolls downwards.
10. method as claimed in claim 9, is characterized in that,, according to the default First Speed described Webpage that scrolls up, comprising in described user presses time of the upwards page-turning button that described rapid page control comprises:
Start to press that described rapid page control comprises when upwards the time of page-turning button reaches described Preset Time described user, according to the described First Speed described Webpage that at the uniform velocity scrolls up;
If while the bottom of described Webpage being rolled in the display screen of described terminal before described user stops pressing the upwards page-turning button that described rapid page control comprises, stop continuing the described Webpage that rolls;
If the bottom of described Webpage was not rolled to the display screen of described terminal before described user stops pressing the upwards page-turning button that described rapid page control comprises in, when described user stops pressing the upwards page-turning button that described rapid page control comprises, stop continuing the described Webpage that rolls.
11. method as claimed in claim 9, is characterized in that,, according to the default second speed described Webpage that rolls downwards, comprising in described user presses time of the downward page-turning button that described rapid page control comprises:
When the time that described user starts to press the downward page-turning button that described rapid page control comprises reaches described Preset Time, according to the described second speed described Webpage that rolls at the uniform velocity downwards;
If while the top of described Webpage being rolled in the display screen of described terminal before described user stops pressing the downward page-turning button that described rapid page control comprises, stop continuing the described Webpage that rolls;
If the top of described Webpage was not rolled to the display screen of described terminal before described user stops pressing the downward page-turning button that described rapid page control comprises in, when described user stops pressing the downward page-turning button that described rapid page control comprises, stop continuing the described Webpage that rolls.
12. the device of the Webpage that rolls, is characterized in that, described device comprises:
Monitoring module, be used for when the terminal display web page page, and the rapid page control that described terminal is shown carries out Real Time Monitoring;
The first rolling module, submit the order of page turning to page top if be used for monitoring out the user to by described rapid page control, when the top of described Webpage is not presented on the display screen of described terminal the described Webpage of downward rolling until the top of described Webpage while being presented at the display screen of described terminal;
The second rolling module, submit to page turning to the order bottom the page if be used for monitoring out described user by described rapid page control, the described Webpage that scrolls up when the bottom of described Webpage is not presented on the display screen of described terminal is until the bottom of described Webpage while being presented at the display screen of described terminal.
13. device as claimed in claim 12, is characterized in that, described device also comprises:
The first judge module, be used for obtaining content that the top of the display screen of described terminal shows the first height at described Webpage, if described first is highly zero, the top of judging described Webpage has been presented on the display screen of described terminal, if described the first height is greater than zero, the top of judging described Webpage is not presented on the display screen of described terminal.
14. method as claimed in claim 13, is characterized in that,
Described the first rolling module, concrete being used for rolls described first downwards highly with described Webpage, and the top of described Webpage is presented in the display screen of described terminal.
15. device as claimed in claim 12, is characterized in that, described device also comprises:
The second judge module, be used for obtaining content that the bottom of the display screen of described terminal shows the second height at described Webpage, if described second highly equals the height of described Webpage, the bottom of judging described Webpage has been presented on the display screen of described terminal, if described the second height is less than the height of described Webpage, the bottom of judging described Webpage is not presented on the display screen of described terminal.
16. method as claimed in claim 15, is characterized in that, described the second rolling module comprises:
The first computing unit, be used for calculating the height of described Webpage and the first height difference between described the second height;
The first rolling unit,, for described the first height difference that described Webpage is scrolled up, be presented in the display screen of described terminal the bottom of described webpage.
17., as the described device of claim 12 to 16 any one claim, it is characterized in that, described device also comprises:
The 3rd rolling module, submit the upwards order of page turning if be used for monitoring out described user to by described rapid page control, when the bottom of described Webpage is not presented at the display screen of described terminal according to the first default side-play amount described Webpage that scrolls up, described the first side-play amount is greater than zero and be less than or equal to the height of the display screen of described terminal;
The 4th rolling module, submit the order of downward page turning to by described rapid page control if be used for monitoring out described user, when the top of described Webpage is not presented at the display screen of described terminal according to the second default side-play amount described Webpage that rolls downwards, described the second side-play amount is greater than zero and be less than or equal to the height of the display screen of described terminal.
18. device, is characterized in that as claimed in claim 17, described the 3rd rolling module comprises:
The second computing unit, be used for calculating the height of described Webpage and the second height difference between the third high degree, and the content that the bottom of the display screen that described third high degree is described terminal shows is at the height of described Webpage;
The second rolling unit, if be used for described the second height difference greater than described the first side-play amount, described the first side-play amount scrolls up described Webpage;
The 3rd rolling unit, be less than or equal to described the first side-play amount if be used for described the second height difference, and the described Webpage that scrolls up is until the bottom of described Webpage while being presented at the display screen of described terminal.
19. device, is characterized in that as claimed in claim 17, described the 4th rolling module comprises:
Comparing unit, be used for the size of more described the second side-play amount and the 4th height, and the described the 4th is highly the height of content in described Webpage of top demonstration of the display screen of described terminal;
The 4th rolling unit, if be used for described the 4th height greater than described the second side-play amount, described the second side-play amount of described Webpage being rolled downwards;
The 5th rolling unit, highly be less than or equal to described the second side-play amount if be used for the described the 4th, and the described Webpage that rolls downwards is until the top of described Webpage while being presented at the display screen of described terminal.
20., as the described device of claim 12 to 16 any one claim, it is characterized in that, described device also comprises:
The 5th rolling module, described user presses that described rapid page control comprises when upwards the time of page-turning button reaches Preset Time if be used for monitoring out, when the bottom of described Webpage is not presented on the display screen of described terminal, in described user presses time of the upwards page-turning button that described rapid page control comprises according to the default First Speed described Webpage that scrolls up;
The 6th rolling module, if be used for monitoring out time that described user presses the downward page-turning button that described rapid page control comprises while reaching described Preset Time, when the top of described Webpage is not presented on the display screen of described terminal, in described user presses time of the downward page-turning button that described rapid page control comprises according to the default second speed described Webpage that rolls downwards.
21. device as claimed in claim 20, is characterized in that, described the 5th rolling module comprises:
The 6th rolling unit, be used for starting to press described user that described rapid page control comprises when upwards the time of page-turning button reaches described Preset Time, according to the described First Speed described Webpage that at the uniform velocity scrolls up;
The first stop element, if while being used for, before described user stops pressing the upwards page-turning button that described rapid page control comprises, the bottom of described Webpage to be rolled to the display screen of described terminal, stop continuing the described Webpage that rolls;
The second stop element, described rapid page control comprises upwards the bottom of described Webpage is not rolled to the display screen of described terminal before page-turning button if be used for stopping pressing described user, when described user stops pressing the upwards page-turning button that described rapid page control comprises, stop continuing the described Webpage that rolls.
22. device as claimed in claim 20, is characterized in that, described the 6th rolling module comprises:
The 7th rolling unit, be used for when the time that described user starts to press the downward page-turning button that described rapid page control comprises reaches described Preset Time, according to the described second speed described Webpage that rolls at the uniform velocity downwards;
The 3rd stop element, if while being used for, before described user stops pressing the downward page-turning button that described rapid page control comprises, the top of described Webpage to be rolled to the display screen of described terminal, stop continuing the described Webpage that rolls;
The 4th stop element, before stopping pressing the downward page-turning button that described rapid page control comprises, described user the top of described Webpage is not rolled to the display screen of described terminal if be used for, when described user stops pressing the downward page-turning button that described rapid page control comprises, stop continuing the described Webpage that rolls.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210140169.8A CN103389859B (en) | 2012-05-08 | 2012-05-08 | A kind of method of the Webpage that rolls and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210140169.8A CN103389859B (en) | 2012-05-08 | 2012-05-08 | A kind of method of the Webpage that rolls and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103389859A true CN103389859A (en) | 2013-11-13 |
CN103389859B CN103389859B (en) | 2015-08-26 |
Family
ID=49534145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210140169.8A Active CN103389859B (en) | 2012-05-08 | 2012-05-08 | A kind of method of the Webpage that rolls and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103389859B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104714735A (en) * | 2015-03-19 | 2015-06-17 | 小米科技有限责任公司 | Page scrolling display method and device |
CN104898935A (en) * | 2014-03-04 | 2015-09-09 | 腾讯科技(深圳)有限公司 | Group message data processing method and device |
CN105511762A (en) * | 2015-12-15 | 2016-04-20 | 魅族科技(中国)有限公司 | Page control method and terminal |
CN105630337A (en) * | 2015-12-18 | 2016-06-01 | 小米科技有限责任公司 | Control controlling method and device |
CN106325712A (en) * | 2015-07-06 | 2017-01-11 | 小米科技有限责任公司 | Terminal display control method and apparatus and terminal |
CN106502503A (en) * | 2016-10-31 | 2017-03-15 | 乐视控股(北京)有限公司 | A kind of page display method and device |
CN106775276A (en) * | 2016-12-01 | 2017-05-31 | 北京小米移动软件有限公司 | The method and device of page jump |
CN111290694A (en) * | 2020-01-19 | 2020-06-16 | 北京无限光场科技有限公司 | Page turning method and device and electronic equipment |
CN113225602A (en) * | 2021-05-27 | 2021-08-06 | Vidaa美国公司 | Display equipment and control method for loading and displaying television homepage content |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1422054A (en) * | 2001-11-28 | 2003-06-04 | 日本电气株式会社 | Roll control equipment, used method and communication terminal using the same equipment |
CN1855093A (en) * | 2005-04-29 | 2006-11-01 | 马堃 | Interactive dynamic browser of manual apparatus and its display controlling method |
CN101258461A (en) * | 2005-09-09 | 2008-09-03 | 微软公司 | Reading mode for electronic documents |
CN102141875A (en) * | 2010-07-15 | 2011-08-03 | 优视科技有限公司 | Method and device for browsing webpage by using navigation key of mobile communication equipment terminal |
CN102207815A (en) * | 2010-07-15 | 2011-10-05 | 优视科技有限公司 | Web browsing method and device for mobile communication equipment terminal |
-
2012
- 2012-05-08 CN CN201210140169.8A patent/CN103389859B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1422054A (en) * | 2001-11-28 | 2003-06-04 | 日本电气株式会社 | Roll control equipment, used method and communication terminal using the same equipment |
CN1855093A (en) * | 2005-04-29 | 2006-11-01 | 马堃 | Interactive dynamic browser of manual apparatus and its display controlling method |
CN101258461A (en) * | 2005-09-09 | 2008-09-03 | 微软公司 | Reading mode for electronic documents |
CN102141875A (en) * | 2010-07-15 | 2011-08-03 | 优视科技有限公司 | Method and device for browsing webpage by using navigation key of mobile communication equipment terminal |
CN102207815A (en) * | 2010-07-15 | 2011-10-05 | 优视科技有限公司 | Web browsing method and device for mobile communication equipment terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104898935A (en) * | 2014-03-04 | 2015-09-09 | 腾讯科技(深圳)有限公司 | Group message data processing method and device |
CN104714735A (en) * | 2015-03-19 | 2015-06-17 | 小米科技有限责任公司 | Page scrolling display method and device |
CN106325712A (en) * | 2015-07-06 | 2017-01-11 | 小米科技有限责任公司 | Terminal display control method and apparatus and terminal |
CN105511762A (en) * | 2015-12-15 | 2016-04-20 | 魅族科技(中国)有限公司 | Page control method and terminal |
CN105630337A (en) * | 2015-12-18 | 2016-06-01 | 小米科技有限责任公司 | Control controlling method and device |
CN106502503A (en) * | 2016-10-31 | 2017-03-15 | 乐视控股(北京)有限公司 | A kind of page display method and device |
CN106775276A (en) * | 2016-12-01 | 2017-05-31 | 北京小米移动软件有限公司 | The method and device of page jump |
CN111290694A (en) * | 2020-01-19 | 2020-06-16 | 北京无限光场科技有限公司 | Page turning method and device and electronic equipment |
CN113225602A (en) * | 2021-05-27 | 2021-08-06 | Vidaa美国公司 | Display equipment and control method for loading and displaying television homepage content |
Also Published As
Publication number | Publication date |
---|---|
CN103389859B (en) | 2015-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103389859B (en) | A kind of method of the Webpage that rolls and device | |
JP5638648B2 (en) | Advertisement generation device, advertisement generation program, and terminal device | |
US20200125789A1 (en) | Dynamic zooming of content with overlays | |
CN103376977B (en) | The display packing of browser and display device | |
TWI545450B (en) | Browser and method for displaying subsites | |
CN102156555A (en) | Page browsing method and electronic equipment using same | |
CN103793436B (en) | The method and browser of browsing pages | |
CN103513874A (en) | Information display method and device | |
CN107870795B (en) | Method and device for displaying electronic map | |
WO2014094598A1 (en) | Method and terminal for controlling terminal having touch screen | |
KR20140132731A (en) | Web page application controls | |
CN103809886B (en) | A kind of cursor positioning method and mobile terminal | |
CN103677576A (en) | Method and device for closing window | |
CN103020057A (en) | Method and device for displaying RSS (really simple syndication) abstract by windowing | |
CN103389850A (en) | Method and device for realizing shortcut operation on browser | |
CN105745614A (en) | Method and apparatus for scrolling control in mobile terminal | |
CN103002144A (en) | Page-turning operating method in dedicated page-turning area of mobile phone program window through dragging and dropping fingers | |
CN102043560A (en) | Method and device for realizing electronic document page turning | |
CN101968707A (en) | Method and equipment for realizing scrolling-dragging display of first window on mobile equipment | |
CN107402691A (en) | Display methods, display device and the computer-readable recording medium of terminal cursor | |
JP5997328B2 (en) | Program and terminal device | |
US20140173469A1 (en) | Web page control system and method | |
CN104133636A (en) | Method for controlling touch screen mobile device by single hand | |
JP5805289B2 (en) | Apparatus and distribution method | |
CN112051957A (en) | Method and related device for browsing mobile terminal page |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221125 Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518133 Patentee after: Shenzhen Yayue Technology Co.,Ltd. Address before: 2 East 403 room, SEG science and technology garden, Futian District, Guangdong, Shenzhen 518000, China Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |