Disclosure of Invention
The invention provides a page browsing method and system for overcoming the defect that the page browsing position before page scrolling is difficult to accurately find in the prior art.
The invention solves the technical problems through the following technical scheme:
a page browsing method comprises the following steps:
s1, determining the content to be marked in the current browsing page;
s2, receiving a scrolling operation instruction, and scrolling from the current browsing page to the target browsing page;
s3, when the target browsing page contains the content to be marked of the current browsing page, marking the content to be marked of the current browsing page in the target browsing page.
Preferably, S1 includes: determining the last part of content of the current browsing page as content to be marked; or the like, or, alternatively,
s1 includes:
s11, selecting partial content in the current browsing page;
and S12, taking the selected part of content as the content to be marked.
Preferably, the step of marking out the content to be marked of the currently browsed page includes:
and setting a marker in front of the content to be marked.
Preferably, step S3 further includes:
and receiving a change instruction, and changing the shape of the marker.
Preferably, step S1 is preceded by:
a control is set in the page, and when the control is triggered, S1 is executed.
Preferably, step S3 is followed by:
s4, setting an up jump button and/or a down jump button at the marker;
s5, receiving a click instruction, and automatically scrolling the target browsing page when the jump button is clicked, so that the content to be marked is scrolled to the lowest part of the page; and when the down-skip button is clicked, automatically scrolling the target browsing page to enable the content to be marked to be scrolled to the top of the page.
A page browsing system, comprising:
the confirming module is used for confirming the content to be marked in the current browsing page;
the page scrolling module is used for receiving a scrolling operation instruction and scrolling from a current browsing page to a target browsing page;
and the marking module is used for marking the content to be marked of the current browsing page in the target browsing page when the target browsing page contains the content to be marked of the current browsing page.
Preferably, the confirming module is configured to determine a last part of content of the currently browsed page as content to be marked; or the like, or, alternatively,
the confirming module is used for selecting part of contents in the current browsing page; and taking the selected part of content as content to be marked.
Preferably, the marking module is configured to set a marker before the content to be marked.
Preferably, the marking module further comprises a modification sub-module:
and the modification submodule is used for receiving a modification instruction and modifying the shape of the marker.
Preferably, the system further comprises a triggering module, configured to set a control in the page, and when the control is triggered, invoke the confirmation module.
Preferably, the system further comprises a setting module and a skipping module:
the setting module is used for setting an up-skip button and/or a down-skip button at the marker;
the skipping module is used for receiving a click instruction, and automatically scrolling the target browsing page when the skip button is clicked, so that the content to be marked is scrolled to the lowest part of the page; and when the down-skip button is clicked, automatically scrolling the target browsing page to enable the content to be marked to be scrolled to the top of the page.
On the basis of the common knowledge in the field, the above preferred conditions can be combined randomly to obtain the preferred embodiments of the invention.
The positive progress effects of the invention are as follows: when a user browses a page, the user can accurately find the page browsing position before page turning, and great convenience is provided for the user to read.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
Fig. 1 shows a flowchart of the page browsing method of the present embodiment. The page browsing method comprises the following steps:
step 101, setting a control in a page, and executingstep 102 when the control is triggered;
the page here may be a page of a PC (Personal Computer) browser, or may be a page of a browser or an application program on a mobile terminal such as a mobile phone. The browser is not particularly limited to a web browser such as IE (Internet Explorer, a web browser developed by microsoft corporation), Chrome (google browser), etc., and may also be a browser in a broad sense such as Kindle (e-book reader designed and sold by Amazon).
Step 102, determining the last part of the content of the current browsing page as the content to be marked, and then executingstep 103;
as shown in fig. 2a, the last part of the content is the flight item of "07: 30-09: 20", which is the content to be marked.
103, receiving a scrolling operation instruction, scrolling from the current browsing page to a target browsing page, and then executingstep 104;
the scrolling operation instruction can be a page up scrolling instruction of a mouse or a keyboard or a touch screen;
as shown in fig. 2a, when the current browsing page receives the scrolling operation command, the page is scrolled from fig. 2a to fig. 2b, and fig. 2b is the target browsing page.
Step 104, when the target browsing page comprises the content to be marked of the current browsing page, marking the content to be marked of the current browsing page in the target browsing page;
referring to fig. 2b, the currently browsed page of fig. 2a includes contents to be marked: the flight item of 07:30-09:20 is marked with a marker which does not influence reading before the position of the content to be marked.
In addition, a control can be arranged on the page and used for changing the shape of the marker, and the marker can be selected according to the preference of the user, so that the user is more humanized.
The page browsing method of the embodiment enables the user to quickly find the last part of the content before the page is scrolled, and can continue browsing from the position where the marker starts, thereby bringing convenience to the reading of the user.
Example 2
As shown in fig. 3,step 201,step 204, and step 205 in the page browsing method of this embodiment are the same asstep 101,step 103, and step 104 in embodiment 1, and therefore are not described again.
The main difference is that afterstep 201,step 202 is performed:
step 202, selecting part of contents in the current browsing page, and then executingstep 203;
step 203, using the selected part of content as the content to be marked.
The page browsing method of the embodiment enables a user to select content randomly in a large range, and after the page is scrolled, the reading position before the page is scrolled can be found more clearly.
Example 3
As shown in fig. 4,steps 301 to 304 in the page browsing method of this embodiment are the same assteps 101 to 104 in embodiment 1, and thus are not described again.
In fig. 5a, the flight item of "07: 30-09: 20" is the content to be marked, and after receiving the scrolling operation instruction, the flight item scrolls to the target browsing page, as shown in fig. 5 b.
The main difference is that afterstep 304,step 305 is performed:
step 305, setting an up jump button and/or a down jump button at the marker, and then executingstep 306;
as shown in fig. 5b, an up arrow (i.e., up jump button) and a down arrow (down jump button) are disposed beside the marker;
step 306, receiving a click instruction, and when the jump button is clicked, automatically scrolling the target browsing page to enable the content to be marked to be scrolled to the lowest part of the page; and when the down-skip button is clicked, automatically scrolling the target browsing page to enable the content to be marked to be scrolled to the top of the page.
Specifically, in fig. 5b, the flight item "07: 30-09: 20" is the content to be marked, and after the jump-up button is pressed, the page automatically scrolls to the target page, as shown in fig. 5c, so that the content to be marked scrolls to the lowest part of the page, and the jump-up button disappears.
Or, in fig. 5b, after the jump button is pressed, the page automatically scrolls to the target page, as shown in fig. 5d, the content to be marked is scrolled to the top of the page, and the jump button disappears.
In addition, a control can be provided on the page for altering the shape of the jump button.
The page browsing method of the embodiment facilitates the user to jump to the current page, so that the content to be marked is scrolled to the lowest part of the page or the content to be marked is scrolled to the highest part of the page, and the screen capturing operation can be directly performed, thereby avoiding repeated screen capturing.
Example 4
As shown in fig. 6, the page browsing system of the present embodiment includes:
the triggeringmodule 401 is configured to set a control in a page, and when the control is triggered, the confirmingmodule 402 is called.
A confirmingmodule 402, configured to determine content to be marked in a currently browsed page.
And apage scrolling module 403, configured to receive a scrolling operation instruction, and scroll from a current browsing page to a target browsing page.
A markingmodule 404, configured to mark the content to be marked of the current browsing page in the target browsing page when the target browsing page includes the content to be marked of the current browsing page.
The confirmingmodule 402 is configured to determine a last content of a currently browsed page as a content to be marked; or, the confirmingmodule 402 is configured to select part of the content in the currently browsed page; and taking the selected part of content as content to be marked.
The markingmodule 404 is configured to set a marker before the content to be marked.
The markingmodule 404 further includes an alteration sub-module 4041 configured to receive an alteration instruction to alter the shape of the marker.
The system also includes asetup module 405 and a jump module 406:
asetting module 405, configured to set a jump-up button and/or a jump-down button at the marker;
askip module 406, configured to receive a click instruction, and when the skip button is clicked, automatically scroll the target browsing page, so that the content to be marked is scrolled to the lowest part of the page; and when the down-skip button is clicked, automatically scrolling the target browsing page to enable the content to be marked to be scrolled to the top of the page.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.