CN106528627A - Method and apparatus for loading and locating webpage browsing position - Google Patents
Method and apparatus for loading and locating webpage browsing position Download PDFInfo
- Publication number
- CN106528627A CN106528627A CN201610879779.8A CN201610879779A CN106528627A CN 106528627 A CN106528627 A CN 106528627A CN 201610879779 A CN201610879779 A CN 201610879779A CN 106528627 A CN106528627 A CN 106528627A
- Authority
- CN
- China
- Prior art keywords
- webpage
- historical viewings
- loading
- record
- web browser
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
Abstract
The invention provides a method and an apparatus for loading and locating a webpage browsing position. The method and the apparatus are applied to a webpage browser. The method comprises the steps of judging whether a currently loaded first webpage exists in a historical browsing record or not when the webpage browser loads the first webpage; loading a page browsing position of the first webpage according to a judgment result; if the first webpage exists in the historical browsing record, obtaining a historical browsing position of the first webpage stored in the historical browsing record, and loading the page browsing position of the first webpage to the historical browsing position; and if the first webpage does not exist in the historical browsing record, loading the page browsing position to a starting position of the first webpage to perform browsing. According to the method and the apparatus for loading and locating the webpage browsing position, provided by the invention, the page browsing position of the webpage can be loaded to the historical browsing position when the webpage browser is restarted.
Description
Technical field
The present invention relates to web browser technical field, more particularly to a kind of loading locating web-pages browse the method for position and
Device.
Background technology
At present, when user browses webpage by web browser, when the info web browsed by user is excessive, webpage is clear
Device of looking at can provide a drop-down key, to adjust the progress of reading content.In the case where web browser is not exited, using "
Advance ", " retrogressing " function, the historical viewings progress of Webpage before may return to;And after web browser is exited,
When reopening web browser loading webpage, can only start to read from the original position of webpage again, or use drop-down key
Adjustment browses progress, poor user experience.
Therefore, when restarting web browser, webpage original position can only be loaded onto, for the page browsing position of webpage
Loading, too single, no selectivity.
The content of the invention
The main object of the present invention is to provide the method and device that a kind of loading locating web-pages browse position, is restarting webpage
During browser, the page browsing position of webpage is loaded to historical viewings position, be easy to continue reading webpage.
The present invention proposes a kind of method that loading locating web-pages browse position, is applied to web browser, including following step
Suddenly:
When web browser loads the first webpage, in judging historical viewings record, whether there is the first net of current loading
Page;
According to judged result, the page browsing position of first webpage is loaded;If existing in the historical viewings record
First webpage, then the historical viewings position of the first webpage preserved in obtaining historical viewings record, and by described the
The page browsing position of one webpage is loaded onto the historical viewings position;If not having described first in the historical viewings record
Webpage, the then original position for being loaded onto first webpage are browsed.
Further, if there is first webpage in historical viewings record, the historical viewings are obtained
The historical viewings position of the first webpage preserved in record, and the page browsing position of first webpage is loaded onto into described going through
The step of history browses position includes:
If there is first webpage in the historical viewings record, whether pop-up dialogue box is pointed out from the historical viewings
Position starts to browse;
When the instruction of " being " is got, then the historical viewings of the first webpage preserved in obtaining the historical viewings record
Position, and the page browsing position of first webpage is loaded onto into the historical viewings position;
When the instruction of " no " is got, then the original position for being loaded onto first webpage is browsed again.
Further, when the web browser loads the first webpage, whether there is in judging historical viewings record current
The step of first webpage of loading, includes:
When the web browser loads the first webpage, retrieve during browsing in imposing a condition records and add with the presence or absence of current
The first webpage for carrying;It is described impose a condition including current time before setting time and/or setting webpage record strip number.
Further, include after the step of when the web browser loads the first webpage:
Judge whether the number of pages of the content of pages occupancy web browser page of first webpage reaches preset value;If reaching
Arrive, then whether there is the first webpage of current loading in judging the historical viewings record.
Further, when the web browser loads the first webpage, whether there is in judging historical viewings record current
Include before the step of first webpage of loading:
During record preserves the web browser, browsing for webpage records and the corresponding historical viewings position of the webpage.
Further, the record preserve webpage in the web browser browse record and the webpage is corresponding
Include after the step of historical viewings position:
The historical viewings position of webpage described in labelling.
Present invention also offers a kind of loading locating web-pages browse the device of position, web browser is applied to, including:
First judging unit, when loading the first webpage for web browser, whether there is in judging historical viewings record
First webpage of current loading;
Loading unit, according to judged result, loads the page browsing position of first webpage, and the loading unit includes
First loading subelement and the second loading subelement, the first loading subelement are used for there is institute in historical viewings record
When stating the first webpage, then the historical viewings position of the first webpage preserved in obtaining historical viewings record, and by described the
The page browsing position of one webpage is loaded onto the historical viewings position, and the second loading subelement is used for the historical viewings
When there is no first webpage in record, then the original position for being loaded onto first webpage is browsed.
Further, the loading unit includes:
Dialogue subelement, during for there is first webpage in historical viewings record, pop-up dialogue box prompting is
It is no to start to browse from the historical viewings position;
The first loading subelement is when getting the instruction of " being ", then the preserved in obtaining the historical viewings record
The historical viewings position of one webpage, and the page browsing position of first webpage is loaded onto into the historical viewings position;Institute
When stating the second loading subelement and getting the instruction of " no ", then the original position for being loaded onto first webpage is browsed again.
Further, first judging unit specifically for:
When the web browser loads the first webpage, retrieve during browsing in imposing a condition records and add with the presence or absence of current
The first webpage for carrying;It is described impose a condition including current time before setting time and/or setting webpage record strip number.
Further, described device also includes:
Second judging unit, when loading the first webpage for web browser, judges the content of pages of first webpage
Whether the number of pages for taking the web browser page reaches preset value;If reaching, whether deposit in judging the historical viewings record
In the first webpage of current loading.
Further, described device also includes:
Recording unit, for record preserve webpage in the web browser browse record and the webpage is corresponding
Historical viewings position.
Further, the recording unit is additionally operable to:
The historical viewings position of webpage described in labelling.
The loading locating web-pages provided in the present invention browse the method and device of position, have the advantages that:
The loading locating web-pages provided in the present invention browse the method and device of position, during the first webpage of loading, judge to go through
History whether there is the first webpage of current loading in browsing record;According to judged result, the page browsing position of the first webpage is loaded
Put;When there is the first webpage in historical viewings record, then the history of the first webpage preserved in obtaining historical viewings record is clear
Look at position, and the page browsing position of the first webpage is loaded onto into historical viewings position, user just can continue from historical viewings
Position is browsed;If historical viewings record in there is no the first webpage, be loaded onto the first webpage original position carry out it is clear
Look at, loading page browses position and has multiformity;Whether pop-up dialogue box prompting starts to browse from historical viewings position, is easy to use
Family selects to browse position.
Description of the drawings
Fig. 1 is to load the method and step schematic diagram that locating web-pages browse position in one embodiment of the invention;
Fig. 2 is to load the method flow schematic diagram that locating web-pages browse position in one embodiment of the invention;
Fig. 3 is to load the apparatus structure schematic diagram that locating web-pages browse position in one embodiment of the invention;
Fig. 4 is loading unit structural representation in one embodiment of the invention;
Fig. 5 is loading unit structural representation in another embodiment of the present invention;
Fig. 6 is to load the apparatus structure schematic diagram that locating web-pages browse position in another embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one
It is individual ", " " " it is above-mentioned " and " be somebody's turn to do and " may also comprise plural form.It is to be further understood that making in the description of the present invention
Wording " including " refers to there is the feature, integer, step, operation, element, unit, module and/or component, but and
Do not preclude the presence or addition of one or more other features, integer, step, operation, element, unit, module, component and/or it
Group.It should be understood that when we claim element to be arrived another element by " connection " or " coupling ", it can be directly connected to or couple
To other elements, or can also there is intermediary element.Additionally, " connection " used herein or " coupling " can include wirelessly connecting
Connect or wirelessly couple.Wording used herein " and/or " include one or more associated listing the whole or arbitrary of item
Unit and all combination.
Those skilled in the art of the present technique are appreciated that unless otherwise defined all terms used herein are (including technology art
Language and scientific terminology), with art of the present invention in those of ordinary skill general understanding identical meaning.Should also
It is understood by, those terms defined in such as general dictionary, it should be understood that with the context with prior art
The consistent meaning of meaning, and unless by specific definitions as here, will not otherwise use idealization or excessively formal implication
To explain.
Those skilled in the art of the present technique are appreciated that " intelligent terminal " for supporting operation web browser used herein above
Both including the equipment of wireless signal receiver, which only possesses the equipment of the wireless signal receiver of non-emissive ability, includes again connecing
The equipment of hardware is received and launches, which has the reception that on bidirectional communication link, can perform two-way communication and launches hardware
Equipment.This equipment can include:Honeycomb or other communication equipments, which has single line display or multi-line display or does not have
There are the honeycomb or other communication equipments of multi-line display;PCS (Personal Communications Service, it is personal logical
Letter system), which can be with combine voice, data processing, fax and/or its communication ability;PDA(Personal Digital
Assistant, personal digital assistant), which can include that radio frequency receiver, pager, the Internet/intranet access, network are clear
Look at device, notepad, calendar and/or GPS (Global Positioning System, global positioning system) receptor;Conventional knee joint
Mo(u)ld top half and/or palmtop computer or other equipment, which has and/or including the conventional laptop and/or the palm of radio frequency receiver
Laptop computer or other equipment." terminal " used herein above, " terminal unit " can be portable, can transport, be arranged on
In the vehicles (aviation, sea-freight and/or land), or it is suitable for and/or is configured in local runtime, and/or to be distributed
Form, any other position for operating in the earth and/or space are run." terminal " used herein above, " intelligent terminal ", " end
End equipment " can also be communication terminal, access terminals, music/video playback terminal, for example, can be PDA, MID (Mobile
Internet Device, mobile internet device) and/or the mobile phone with music/video playing function, or
The equipment such as intelligent television, Set Top Box.
With reference to Fig. 1, it is to load the method and step schematic diagram that locating web-pages browse position in one embodiment of the invention.
A kind of method that loading locating web-pages browse position is proposed in one embodiment of the invention, is applied to web browser,
Which comprises the following steps:
Step S1, when web browser loads the first webpage, whether there is current loading in judging historical viewings record
First webpage.
Step S2, according to judged result, loads the page browsing position of above-mentioned first webpage;If above-mentioned historical viewings record
In there is above-mentioned first webpage, then the historical viewings position of the first webpage preserved in obtaining above-mentioned historical viewings record, and will
The page browsing position of above-mentioned first webpage is loaded onto above-mentioned historical viewings position;If on not existing in above-mentioned historical viewings record
The first webpage is stated, then the original position for being loaded onto above-mentioned first webpage is browsed.
Above-mentioned web browser is to operate in based on the intelligent terminal such as the mobile phone in each operating system, computer, flat board.With
Family can be by web browser browsed web content, such as news, video etc..At present, after web browser is exited, then weigh
When new opening web browser loads the first webpage, can only start to read from the original position of the first webpage again, or use
Drop-down key adjustment browses position, it is impossible to be loaded onto the historical viewings position that user browses webpage, the page browsing position to webpage
Loading, too single, no selectivity.Present invention is mainly used for after closing web browser, reopening web browser
The application scenarios of loading webpage.
In the present embodiment, when web browser loads the first webpage, whether there is in first determining whether historical viewings record
First webpage of current loading.Specifically, when web browser loads the first webpage, retrieve browsing in record in imposing a condition
With the presence or absence of the first webpage of current loading;Wherein, web browser browse record in include is browsed net
Page address, therefore, can determine whether it is above-mentioned browse record in the presence or absence of the first webpage address, as judge historical viewings record in
With the presence or absence of the basis for estimation of the first webpage of current loading.In the present embodiment, it is above-mentioned impose a condition including current time it
The webpage record strip number of front setting time and/or setting.Web page browsing record within such as before current time three days
And/or 100 nearest webpage records.It should be noted that to concrete time number that this imposes a condition in the embodiment of the present invention
According to this and webpage record strip number is not construed as limiting.
After whether there is the first webpage of current loading in historical viewings record is judged, web browser is according to judgement
As a result, load the page browsing position of above-mentioned first webpage;The page browsing position of above-mentioned first webpage includes historical viewings position
Put and the first webpage original position, for loading the first webpage page browsing position, with variation;Not only can be by
The page browsing position of the first webpage is loaded onto the original position of the first webpage, it is also possible to be loaded onto historical viewings position, webpage
Browser is more diversified, and selectivity is higher.
In the present embodiment, according to judged result, S2 is concrete the step of load the page browsing position of above-mentioned first webpage
Including:
If there is above-mentioned first webpage in the historical viewings record of above-mentioned web browser, above-mentioned historical viewings note is obtained
The historical viewings position of the first webpage preserved in record, and the page browsing position of above-mentioned first webpage is loaded onto into above-mentioned history
Position is browsed, that is, the page location for continuing from last user to browse to is browsed, and user is sought without taking more time
The page location for having browsed to is looked for, user time is saved, Consumer's Experience is lifted.
When closed, web browser can record browsing for preservation webpage and record and above-mentioned webpage correspondence web browser
Historical viewings position, when repeatedly browsing record when webpage has, and browsing position difference every time, after web page browsing position once
The web page browsing position once browsed before substituting is put as historical viewings position.Preferably, record preserves net in above-mentioned browser
Page browse record and the corresponding historical viewings position of above-mentioned webpage after, mark the historical viewings position of webpage and carry out
Preserve.Specifically, when closing webpage, according to the current page that current browser shows, by the line segment page in this prior
The top or bottom be marked, as the labelling of historical viewings position;Or frame can be selected to incite somebody to action by a rectangle
Current page whole frame choosing, used as the labelling of historical viewings position.
When web browser loaded above-mentioned first webpage before judging from historical viewings record, then preserve from record
The corresponding historical viewings position of webpage in obtain the historical viewings position of the first webpage, web browser is again by the first webpage
Page browsing position is loaded onto historical viewings position, and user just can continue from the historical viewings position to be browsed, without flower
It is time-consuming to go to exclude browsed content, save user time.Historical viewings position in the present embodiment refers to one
It is secondary to browse position when browsing the first webpage.
In the present embodiment, in above-mentioned steps S2, according to judged result, load the page browsing position of above-mentioned first webpage
Specifically also include:
If there is no above-mentioned first webpage in the historical viewings record of above-mentioned web browser, above-mentioned first net is loaded onto
The original position of page is browsed.Web browser when closed, web browser can record preserve webpage browse record with
And the corresponding historical viewings position of above-mentioned webpage.The first webpage, or net are preserved when no in the historical record of web browser
When page browsing device for the first time loads first webpage, be then not in above-mentioned the in the historical viewings record of above-mentioned web browser
One webpage, therefore, then the original position that above-mentioned first webpage is loaded onto the first webpage is browsed.Closed in first webpage
When closing, in web browser, then the record of keeping records first webpage and position is browsed.
In another embodiment, referring in particular to Fig. 2, if there is above-mentioned first webpage in above-mentioned historical viewings record,
The historical viewings position of the first webpage preserved in then obtaining above-mentioned historical viewings record, and will be the page of above-mentioned first webpage clear
The step of position is loaded onto above-mentioned historical viewings position of looking at specifically includes:
If there is above-mentioned first webpage in the historical viewings record of above-mentioned web browser, pop-up dialogue box prompting whether from
Above-mentioned historical viewings position starts to browse;The dialog box includes suggestion content and " being ", " no " button options, above-mentioned prompting
Content for prompt the user whether need continue to browse from historical viewings position, user can according to practical situation select " being " or "
It is no ".It should be noted that not limiting to the concrete literal expression form of suggestion content in the present embodiment.Above-mentioned " being ", " no "
Button options are it can also be provided that the similar option such as " determination ", " cancellation ".
When web browser gets the instruction of " being ", then the first webpage preserved in obtaining above-mentioned historical viewings record
Historical viewings position, and the page browsing position of above-mentioned first webpage is loaded onto into above-mentioned historical viewings position, that is, continue from
The page location that last user browses to is browsed, and user is without taking more time the page for looking for having browsed to
Position, saves user time, lifts Consumer's Experience.
When closed, web browser can record browsing for preservation webpage and record and above-mentioned webpage correspondence web browser
Historical viewings position, when repeatedly browsing record when webpage has, and browsing position difference every time, after web page browsing position once
The web page browsing position once browsed before substituting is put as historical viewings position.Preferably, record preserves net in above-mentioned browser
Page browse record and the corresponding historical viewings position of above-mentioned webpage after, mark the historical viewings position of webpage and carry out
Preserve.Specifically, when closing webpage, according to the current page that current browser shows, by the line segment page in this prior
The top or bottom be marked, as the labelling of historical viewings position;Or frame can be selected to incite somebody to action by a rectangle
Current page whole frame choosing, used as the labelling of historical viewings position.
Web browser loaded above-mentioned first webpage and got from history before judging from historical viewings record
When browsing position and starting the instruction for browsing, then the first webpage is obtained in the corresponding historical viewings position of webpage for preserving from record
The page browsing position of the first webpage is loaded onto historical viewings position by historical viewings position, web browser again, and user just may be used
To continue to be browsed from the historical viewings position, go to exclude browsed content without the cost time, when saving user
Between.Historical viewings position in the present embodiment refers to the last time and browses position when browsing the first webpage.
In the present embodiment, there is above-mentioned first webpage in the historical viewings record of above-mentioned web browser, eject dialogue
Frame prompting also includes after whether starting the step of browsing from above-mentioned historical viewings position:
When web browser gets the instruction of " no ", that is, get the finger that refusal starts to browse from historical viewings position
Order, the then original position for being loaded onto above-mentioned first webpage are browsed again.When user selects refusal clear from history according to practical situation
Position is look at when starting to browse, web browser is then loaded onto the original position of above-mentioned first webpage, and user browses again webpage, obtains
Take content needed for family.Diversified feature is loaded with to the position that browses of the page in the present invention, not only can be loaded onto and be gone through
History browses position, it is also possible to be loaded onto page original position.
The content of pages information of webpage is different, and some webpages have often only taken up one page of the web browser page, this kind of
In the case of, no matter where user browses to, and web browser is all to show the identical page.Therefore, in above-described embodiment
The step of S1 in, web browser load the first webpage when the step of after include:
Judge whether the number of pages of the content of pages occupancy web browser page of above-mentioned first webpage reaches preset value, this is pre-
If value is usually 1, or other integers;If reaching, load with the presence or absence of current in judging above-mentioned historical viewings record
The first webpage.
If not up to, the original position for being loaded onto above-mentioned first webpage is browsed, and need not carry out follow-up judgement
The step of in historical viewings record with the presence or absence of the first webpage of current loading, amount of calculation can be simplified, it is to avoid reduce webpage clear
Look at the speed of service of device.(with reference to Fig. 2)
In sum, it is method that the loading locating web-pages provided in the embodiment of the present invention browse position, web browser
When loading the first webpage, in judging historical viewings record, whether there is the first webpage of current loading;According to judged result, loading
The page browsing position of the first webpage, with multiformity;When there is the first webpage in historical viewings record, then history is obtained clear
Look at the historical viewings position of the first webpage preserved in record, and the page browsing position of the first webpage is loaded onto into historical viewings
Position, user just can continue from historical viewings position to be browsed;If there is no the first webpage in historical viewings record, plus
The original position for being loaded onto the first webpage is browsed, and loading page browses position and has multiformity, the page can be loaded onto history
Browse position and continue reading;Whether pop-up dialogue box prompting starts to browse from historical viewings position, is easy to user to select to browse position
Put.
In order to further illustrate to the method that the loading locating web-pages in the embodiment of the present invention browse position, this
It is bright to additionally provide the device that a kind of loading locating web-pages browse position.
With reference to Fig. 3, the device that a kind of loading locating web-pages browse position is additionally provided in one embodiment of the invention, is applied to
Web browser, which includes:
Whether the first judging unit 20, when loading the first webpage for web browser, deposit in judging historical viewings record
In the first webpage of current loading;
Loading unit 30, according to judged result, loads the page browsing position of above-mentioned first webpage.
Above-mentioned web browser is to operate in based on the intelligent terminal such as the mobile phone of each operating system, computer, flat board.User
Can be by web browser browsed web content, such as news, video etc..At present, after web browser is exited, then again
When opening web browser the first webpage of loading, can only start to read from the original position of the first webpage again, or under use
Key adjustment is drawn to browse position, it is impossible to be loaded onto the historical viewings position that user browses webpage, to the page browsing position of webpage
Loading, too single, no selectivity.
Present invention is mainly used for after closing web browser, reopening the applied field that web browser loads webpage
Scape.In the present embodiment, when web browser loads the first webpage, the first judging unit 20 judge historical viewings record in whether
There is the first webpage of current loading.Specifically, web browser load the first webpage when, retrieval impose a condition in browse note
With the presence or absence of current the first webpage for loading in record;Wherein, web browser browse record in include is browsed
Web page address, therefore, can determine whether it is above-mentioned browse record in the presence or absence of the first webpage address, as judge historical viewings note
Whether there is the basis for estimation of the first webpage of current loading in record.In the present embodiment, it is above-mentioned impose a condition including it is current when
The webpage record strip number of the setting time and/or setting before quarter.Such as web page browsing within three days before current time
Record and/or 100 nearest webpage records.It should be noted that in the embodiment of the present invention to this impose a condition it is concrete when
Between data and webpage record strip number be not construed as limiting.
After the first judging unit 20 judges to whether there is current the first webpage for loading in historical viewings record, loading
Unit 30 loads the page browsing position of above-mentioned first webpage according to judged result;The page browsing position of above-mentioned first webpage
Including historical viewings position and the original position of the first webpage, for the page browsing position of the first webpage of loading, with many
Sample;The page browsing position of the first webpage not only can be loaded onto loading unit 30 original position of the first webpage, also may be used
To be loaded onto historical viewings position, web browser is more diversified, and selectivity is higher.
With reference to Fig. 4, in the present embodiment, above-mentioned loading unit 30 includes:
, for there is above-mentioned first webpage in the historical viewings record of above-mentioned web browser in the first loading subelement 301
When, then the historical viewings position of the first webpage preserved in obtaining above-mentioned historical viewings record, and by the page of above-mentioned first webpage
Face browses position and is loaded onto above-mentioned historical viewings position, that is, the page location for continuing from last user to browse to is browsed,
User saves user time without taking more time the page location for looking for having browsed to, and lifts Consumer's Experience.
Said apparatus also include recording unit 10, and when closing for web browser, record preservation webpage browses record
And the corresponding historical viewings position of above-mentioned webpage, when repeatedly browsing record when webpage has, and browsing position difference every time, after
The web page browsing position that web page browsing position once is once browsed before substituting is used as historical viewings position.Preferably, label
10 record of unit preserve webpage in above-mentioned browser browse record and the corresponding historical viewings position of above-mentioned webpage after, labelling
Go out the historical viewings position of webpage and preserved.Specifically, when closing webpage, recording unit 10 is shown according to current browser
Current page, be marked by the top or bottom of the line segment page in this prior, as historical viewings position
The labelling put;Or frame can be selected by current page whole frame choosing by a rectangle, as the labelling of historical viewings position.
First judging unit 20 loaded above-mentioned first net before judging from the historical viewings record of web browser
The historical viewings position of the first webpage during page, is then obtained in the corresponding historical viewings position of webpage for preserving from record, and first adds
The page browsing position of the first webpage is loaded onto historical viewings position by subelements 301 again, and user just can continue from this to go through
History browses position and is browsed, and goes to exclude browsed content without the cost time, saves user time.In the present embodiment
Historical viewings position refer to the last time and browse position when browsing the first webpage.
In the present embodiment, above-mentioned loading unit 30 also includes:
, for there is no above-mentioned first net in the historical viewings record of above-mentioned web browser in the second loading subelement 302
During page, then the original position for being loaded onto above-mentioned first webpage is browsed.Web browser when closed, can remember by web browser
Record preserves browsing for webpage and records and the corresponding historical viewings position of above-mentioned webpage.When not having in the historical record of web browser
There is the first webpage of preservation, or web browser when for the first time loading first webpage, then the history of above-mentioned web browser is clear
It is not in above-mentioned first webpage to look in recording, therefore, above-mentioned first webpage is then loaded onto first by the second loading subelement 302
The original position of webpage is browsed.When first webpage is closed, then keeping records first webpage of recording unit 10
Record and browse position.
With reference to Fig. 5, in another embodiment, above-mentioned loading unit 30 includes:
Dialogue subelement 303, during for there is above-mentioned first webpage in the historical viewings record of above-mentioned web browser, bullet
Go out whether dialog box prompting starts to browse from above-mentioned historical viewings position;The dialog box include suggestion content and " being ", "
It is no that " button options, for prompting the user whether to need to continue to browse from historical viewings position, user can be according to reality for above-mentioned suggestion content
Border situation selects " being " or " no ".It should be noted that not doing to the concrete literal expression form of suggestion content in the present embodiment
Limit.Above-mentioned " being ", " no " button options are it can also be provided that the similar option preference such as " determination ", " cancellation ".
First loading subelement 301 is when getting the instruction of " being ", then the preserved in obtaining above-mentioned historical viewings record
The historical viewings position of one webpage, and the page browsing position of above-mentioned first webpage is loaded onto into above-mentioned historical viewings position, i.e.,
The page location that continuation is browsed to from last user is browsed, and user looks for having browsed to without taking more time
Page location, save user time, lifted Consumer's Experience.
When closed, recording unit 10 can record browsing for preservation webpage and record and above-mentioned webpage correspondence web browser
Historical viewings position, when repeatedly browsing record when webpage has, and browsing position difference every time, after web page browsing position once
The web page browsing position once browsed before substituting is put as historical viewings position.Preferably, the record of recording unit 10 preserves above-mentioned
In browser webpage browse record and the corresponding historical viewings position of above-mentioned webpage after, mark the historical viewings of webpage
Position is simultaneously preserved.Specifically, when closing webpage, the current page that recording unit 10 is shown according to current browser passes through
The top or bottom of one line segment page in this prior is marked, used as the labelling of historical viewings position;Or can
To select frame by current page whole frame choosing by a rectangle, as the labelling of historical viewings position.
First judging unit 10 loaded above-mentioned first webpage, and web page browsing before judging from historical viewings record
Device is got when starting the instruction for browsing from historical viewings position, the webpage pair that the first loading subelement 301 is then preserved from record
The historical viewings position of the first webpage is obtained in the historical viewings position answered, and the first loading subelement 301 is again by the first webpage
Page browsing position is loaded onto historical viewings position, and user just can continue from the historical viewings position to be browsed, without flower
It is time-consuming to go to exclude browsed content, save user time.Historical viewings position in the present embodiment refers to one
It is secondary to browse position when browsing the first webpage.
In the present embodiment, when the second loading subelement 302 gets the instruction of " no ", that is, get refusal clear from history
Look at the instruction that position starts to browse, then the original position for being loaded onto above-mentioned first webpage is browsed again.When user is according to actual feelings
When condition selects refusal to start to browse from historical viewings position, the second loading subelement 302 is then loaded onto rising for above-mentioned first webpage
Beginning position, user browse webpage again, obtain content needed for user.In the present invention to the page browse position be loaded with it is various
The characteristics of change, historical viewings position not only can be loaded onto, it is also possible to be loaded onto page original position.
The content of pages information of webpage is different, and some webpages have often only taken up one page of the web browser page, this kind of
In the case of, no matter where user browses to, and web browser is all to show the identical page.Therefore, it is with reference to Fig. 6, above-mentioned
Device in embodiment also includes:
Second judging unit 200, when loading the first webpage for web browser, judges in the page of above-mentioned first webpage
Whether the number of pages for holding the occupancy web browser page reaches preset value, and the preset value is usually 1, or other integers;If
Reach, then whether there is the first webpage of current loading in judging above-mentioned historical viewings record.
If not up to, the original position for being loaded onto above-mentioned first webpage is browsed, and need not carry out follow-up judgement
Whether there is the process of the first webpage of current loading in historical viewings record, amount of calculation can be simplified, it is to avoid reduce webpage clear
Look at the speed of service of device.
In sum, it is method and device that the loading locating web-pages provided in the embodiment of the present invention browse position, webpage
When browser loads the first webpage, in judging historical viewings record, whether there is the first webpage of current loading;According to judgement knot
Really, the page browsing position of the first webpage is loaded, with multiformity;When there is the first webpage in historical viewings record, then obtain
The historical viewings position of the first webpage preserved in taking historical viewings record, and the page browsing position of the first webpage is loaded onto
Historical viewings position, user just can continue from historical viewings position to be browsed;If not having first in historical viewings record
Webpage, the then original position for being loaded onto the first webpage are browsed, and loading page browses position and has multiformity;Pop-up dialogue box
Whether prompting starts to browse from historical viewings position, is easy to user to select to browse position.
It will be understood by those skilled in the art that the present invention includes being related to for performing one in operation described herein
Or multinomial equipment.These equipment can be for needed for purpose and specially design and manufacture, or general-purpose computations can also be included
Known device in machine.These equipment have the computer program being stored in which, and these computer programs are optionally activated
Or reconstruct.During such computer program can be stored in equipment (for example, computer) computer-readable recording medium or it is stored in and is suitable to
Storage e-command is simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium is included but is not limited to
Any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only storage
Device), RAM (Random Access Memory, immediately memorizer), EPROM (Erasable Programmable Read-
Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable
Read-Only Memory, EEPROM), flash memory, magnetic card or light card.It is, readable
Medium include being stored in the form of it can read by equipment (for example, computer) or transmission information any medium.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or
The combination of each frame and these structure charts and/or block diagram and/or the frame in flow graph in block diagram and/or flow graph.This technology is led
Field technique personnel be appreciated that can by these computer program instructions be supplied to general purpose computer, special purpose computer or other
The processor of programmable data processing method realizing, so as to pass through the process of computer or other programmable data processing methods
Device is performing the scheme specified in the frame or multiple frames of structure chart disclosed by the invention and/or block diagram and/or flow graph.
Various operations that those skilled in the art of the present technique had been discussed in being appreciated that the present invention, method, in flow process
Step, measure, scheme can be replaced, changed, combined or deleted.Further, it is each with what is discussed in the present invention
Kind of operation, method, other steps in flow process, measure, scheme can also be replaced, changed, reset, decomposed, combined or deleted.
Further, it is of the prior art with the various operations disclosed in the present invention, method, flow process in step, measure, scheme
Can also be replaced, changed, reset, decomposed, combined or deleted.
The preferred embodiments of the present invention are the foregoing is only, the scope of the claims of the present invention, every utilization is not thereby limited
Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or it is related to be directly or indirectly used in other
Technical field, be included within the scope of the present invention.
Below scheme is provided in the embodiment of the present invention:
A kind of method that A1, loading locating web-pages browse position, is applied to web browser, comprises the following steps:
When web browser loads the first webpage, in judging historical viewings record, whether there is the first net of current loading
Page;
According to judged result, the page browsing position of first webpage is loaded;If existing in the historical viewings record
First webpage, then the historical viewings position of the first webpage preserved in obtaining historical viewings record, and by described the
The page browsing position of one webpage is loaded onto the historical viewings position;If not having described first in the historical viewings record
Webpage, the then original position for being loaded onto first webpage are browsed.
The method that A2, the loading locating web-pages according to A1 browse position, if deposit in historical viewings record
In first webpage, then the historical viewings position of the first webpage preserved in obtaining the historical viewings record, and will be described
The step of page browsing position of the first webpage is loaded onto the historical viewings position includes:
If there is first webpage in the historical viewings record, whether pop-up dialogue box is pointed out from the historical viewings
Position starts to browse;
When the instruction of " being " is got, then the historical viewings of the first webpage preserved in obtaining the historical viewings record
Position, and the page browsing position of first webpage is loaded onto into the historical viewings position;
When the instruction of " no " is got, then the original position for being loaded onto first webpage is browsed again.
The method that A3, the loading locating web-pages according to A1 or A2 browse position, the web browser loading first
During webpage, judge that historical viewings whether there is the first webpage of current loading in recording the step of includes:
When the web browser loads the first webpage, retrieve during browsing in imposing a condition records and add with the presence or absence of current
The first webpage for carrying;It is described impose a condition including current time before setting time and/or setting webpage record strip number.
The method that A4, the loading locating web-pages according to A1 or A2 browse position, the web browser loading first
Include after the step of during webpage:
Judge whether the number of pages of the content of pages occupancy web browser page of first webpage reaches preset value;If reaching
Arrive, then whether there is the first webpage of current loading in judging the historical viewings record.
The method that A5, the loading locating web-pages according to A1 or A2 browse position, the web browser loading first
During webpage, judge to include before historical viewings whether there is the first webpage of current loading in recording the step of:
During record preserves the web browser, browsing for webpage records and the corresponding historical viewings position of the webpage.
The method that A6, the loading locating web-pages according to A5 browse position, the record preserve the web browser
Middle webpage the step of browsing record and the webpage corresponding historical viewings position after include:
The historical viewings position of webpage described in labelling.
B1, a kind of loading locating web-pages browse the device of position, are applied to web browser, including:
First judging unit, when loading the first webpage for web browser, whether there is in judging historical viewings record
First webpage of current loading;
Loading unit, according to judged result, loads the page browsing position of first webpage, and the loading unit includes
First loading subelement and the second loading subelement, the first loading subelement are used for there is institute in historical viewings record
When stating the first webpage, then the historical viewings position of the first webpage preserved in obtaining historical viewings record, and by described the
The page browsing position of one webpage is loaded onto the historical viewings position, and the second loading subelement is used for the historical viewings
When there is no first webpage in record, then the original position for being loaded onto first webpage is browsed.
B2, the device for browsing position according to the loading locating web-pages that B1 is stated, the loading unit include:
Dialogue subelement, during for there is first webpage in historical viewings record, pop-up dialogue box prompting is
It is no to start to browse from the historical viewings position;
The first loading subelement is when getting the instruction of " being ", then the preserved in obtaining the historical viewings record
The historical viewings position of one webpage, and the page browsing position of first webpage is loaded onto into the historical viewings position;Institute
When stating the second loading subelement and getting the instruction of " no ", then the original position for being loaded onto first webpage is browsed again.
B3, the loading locating web-pages according to B1 or B2 browse the device of position, and first judging unit is specifically used
In:
When the web browser loads the first webpage, retrieve during browsing in imposing a condition records and add with the presence or absence of current
The first webpage for carrying;It is described impose a condition including current time before setting time and/or setting webpage record strip number.
B4, the loading locating web-pages according to B1 or B2 browse the device of position, and described device also includes:
Second judging unit, when loading the first webpage for web browser, judges the content of pages of first webpage
Whether the number of pages for taking the web browser page reaches preset value;If reaching, whether deposit in judging the historical viewings record
In the first webpage of current loading.
B5, the loading locating web-pages according to B1 or B2 browse the device of position, and described device also includes:
Recording unit, for record preserve webpage in the web browser browse record and the webpage is corresponding
Historical viewings position.
B6, the loading locating web-pages according to B5 browse the device of position, and the recording unit is additionally operable to:
The historical viewings position of webpage described in labelling.
Claims (10)
1. a kind of method that loading locating web-pages browse position, is applied to web browser, it is characterised in that including following step
Suddenly:
When web browser loads the first webpage, in judging historical viewings record, whether there is the first webpage of current loading;
According to judged result, the page browsing position of first webpage is loaded;If existing in the historical viewings record described
First webpage, then the historical viewings position of the first webpage preserved in obtaining historical viewings record, and by first net
The page browsing position of page is loaded onto the historical viewings position;If there is no first net in the historical viewings record
Page, the then original position for being loaded onto first webpage are browsed.
2. the method that loading locating web-pages according to claim 1 browse position, it is characterised in that if the history
There is first webpage in browsing record, then the historical viewings position of the first webpage preserved in obtaining the historical viewings record
The step of putting, and the page browsing position of first webpage is loaded onto the historical viewings position includes:
If there is first webpage in the historical viewings record, whether pop-up dialogue box is pointed out from the historical viewings position
Start to browse;
When the instruction of " being " is got, then the historical viewings position of the first webpage preserved in obtaining the historical viewings record
Put, and the page browsing position of first webpage is loaded onto into the historical viewings position;
When the instruction of " no " is got, then the original position for being loaded onto first webpage is browsed again.
3. the method that loading locating web-pages according to claim 1 and 2 browse position, it is characterised in that the webpage is clear
When device of looking at loads the first webpage, judge that historical viewings whether there is the first webpage of current loading in recording the step of includes:
When the web browser loads the first webpage, retrieval imposes a condition during interior browsing is recorded and whether there is current loading
First webpage;It is described impose a condition including current time before setting time and/or setting webpage record strip number.
4. the method that loading locating web-pages according to claim 1 and 2 browse position, it is characterised in that the webpage is clear
Include after the step of when device of looking at loads the first webpage:
Judge whether the number of pages of the content of pages occupancy web browser page of first webpage reaches preset value;If reaching,
Whether there is the first webpage of current loading in then judging the historical viewings record.
5. the method that loading locating web-pages according to claim 1 and 2 browse position, it is characterised in that the webpage is clear
When device of looking at loads the first webpage, judge to wrap before historical viewings whether there is the first webpage of current loading in recording the step of
Include:
During record preserves the web browser, browsing for webpage records and the corresponding historical viewings position of the webpage.
6. the method that loading locating web-pages according to claim 5 browse position, it is characterised in that the record preserves institute
State webpage in web browser the step of browsing record and the webpage corresponding historical viewings position after include:
The historical viewings position of webpage described in labelling.
7. a kind of loading locating web-pages browse the device of position, are applied to web browser, it is characterised in that include:
First judging unit, when loading the first webpage for web browser, whether there is in judging historical viewings record current
First webpage of loading;
Loading unit, according to judged result, loads the page browsing position of first webpage, and the loading unit includes first
Loading subelement and the second loading subelement, the first loading subelement are used for having described the during the historical viewings are recorded
During one webpage, then the historical viewings position of the first webpage preserved in obtaining historical viewings record, and by first net
The page browsing position of page is loaded onto the historical viewings position, and the second loading subelement is recorded for the historical viewings
In when there is no first webpage, then the original position for being loaded onto first webpage is browsed.
8. the device of position is browsed according to the loading locating web-pages that claim 7 is stated, it is characterised in that the loading unit bag
Include:
Dialogue subelement, during for there is first webpage in historical viewings record, pop-up dialogue box prompting whether from
The historical viewings position starts to browse;
When the first loading subelement gets the instruction of " being ", then the first net preserved in obtaining the historical viewings record
The historical viewings position of page, and the page browsing position of first webpage is loaded onto into the historical viewings position;Described
When two loading subelements get the instruction of " no ", then the original position for being loaded onto first webpage is browsed again.
9. the loading locating web-pages according to claim 7 or 8 browse the device of position, it is characterised in that described first sentences
Disconnected unit specifically for:
When the web browser loads the first webpage, retrieval imposes a condition during interior browsing is recorded and whether there is current loading
First webpage;It is described impose a condition including current time before setting time and/or setting webpage record strip number.
10. the loading locating web-pages according to claim 7 or 8 browse the device of position, it is characterised in that described device is also
Including:
Second judging unit, when loading the first webpage for web browser, judges that the content of pages of first webpage takes
Whether the number of pages of the web browser page reaches preset value;If reaching, whether there is in judging the historical viewings record and work as
First webpage of front loading.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610879779.8A CN106528627A (en) | 2016-10-01 | 2016-10-01 | Method and apparatus for loading and locating webpage browsing position |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610879779.8A CN106528627A (en) | 2016-10-01 | 2016-10-01 | Method and apparatus for loading and locating webpage browsing position |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106528627A true CN106528627A (en) | 2017-03-22 |
Family
ID=58331750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610879779.8A Pending CN106528627A (en) | 2016-10-01 | 2016-10-01 | Method and apparatus for loading and locating webpage browsing position |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106528627A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107341234A (en) * | 2017-06-30 | 2017-11-10 | 广州酷狗计算机科技有限公司 | Display methods, device and the computer-readable recording medium of the page |
CN109669819A (en) * | 2018-12-21 | 2019-04-23 | 努比亚技术有限公司 | Webpage open method, device, mobile terminal and computer readable storage medium |
CN109902255A (en) * | 2019-02-27 | 2019-06-18 | 百度在线网络技术(北京)有限公司 | Page mixing browsing record generation method, device, equipment and storage medium |
CN110020232A (en) * | 2017-07-28 | 2019-07-16 | 车伯乐(北京)信息科技有限公司 | A kind of content-browsing method, device, equipment and computer-readable medium |
CN111597488A (en) * | 2020-05-06 | 2020-08-28 | 五八有限公司 | Page loading method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102779177A (en) * | 2012-06-27 | 2012-11-14 | 优视科技有限公司 | Back-up method, restoring method and device of browse history of browser |
CN102982044A (en) * | 2011-09-07 | 2013-03-20 | 腾讯科技(深圳)有限公司 | Method and device for webpage browsing |
CN103106196A (en) * | 2011-11-09 | 2013-05-15 | 腾讯科技(深圳)有限公司 | Method and device for restoring browser webpage |
CN103559227A (en) * | 2013-10-22 | 2014-02-05 | 北京奇虎科技有限公司 | Webpage displaying method and browser |
-
2016
- 2016-10-01 CN CN201610879779.8A patent/CN106528627A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102982044A (en) * | 2011-09-07 | 2013-03-20 | 腾讯科技(深圳)有限公司 | Method and device for webpage browsing |
CN103106196A (en) * | 2011-11-09 | 2013-05-15 | 腾讯科技(深圳)有限公司 | Method and device for restoring browser webpage |
CN102779177A (en) * | 2012-06-27 | 2012-11-14 | 优视科技有限公司 | Back-up method, restoring method and device of browse history of browser |
CN103559227A (en) * | 2013-10-22 | 2014-02-05 | 北京奇虎科技有限公司 | Webpage displaying method and browser |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107341234A (en) * | 2017-06-30 | 2017-11-10 | 广州酷狗计算机科技有限公司 | Display methods, device and the computer-readable recording medium of the page |
CN107341234B (en) * | 2017-06-30 | 2021-04-13 | 广州酷狗计算机科技有限公司 | Page display method and device and computer readable storage medium |
CN110020232A (en) * | 2017-07-28 | 2019-07-16 | 车伯乐(北京)信息科技有限公司 | A kind of content-browsing method, device, equipment and computer-readable medium |
CN109669819A (en) * | 2018-12-21 | 2019-04-23 | 努比亚技术有限公司 | Webpage open method, device, mobile terminal and computer readable storage medium |
CN109669819B (en) * | 2018-12-21 | 2023-04-28 | 广东全通教育科技集团有限公司 | Webpage opening method and device, mobile terminal and computer readable storage medium |
CN109902255A (en) * | 2019-02-27 | 2019-06-18 | 百度在线网络技术(北京)有限公司 | Page mixing browsing record generation method, device, equipment and storage medium |
CN109902255B (en) * | 2019-02-27 | 2021-04-27 | 百度在线网络技术(北京)有限公司 | Page mixed browsing record generation method, device, equipment and storage medium |
CN111597488A (en) * | 2020-05-06 | 2020-08-28 | 五八有限公司 | Page loading method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106528627A (en) | Method and apparatus for loading and locating webpage browsing position | |
US10083694B2 (en) | Method for offering suggestion during conversation, electronic device using the same, and non-transitory storage medium | |
US20110289015A1 (en) | Mobile device recommendations | |
US9529924B2 (en) | User interface providing localized search capabilities | |
CN105068869A (en) | Method and device for pushing information in mobile terminal | |
CN104584118A (en) | Multi-pass vehicle voice recognition systems and methods | |
CN103037091B (en) | SMS processing, device and terminal equipment | |
JP2000316190A (en) | Handset | |
US20100223133A1 (en) | Communications system providing mobile wireless communications device predicted search query terms based upon groups of related advertising terms | |
CN106445549A (en) | Method and device for adjusting functional module layout in application program interface | |
CN101488138A (en) | Network file downloading server and method | |
US20070124493A1 (en) | System and Method for Ordering Content for User Review | |
CN105893498A (en) | Method and device for achieving screen capture and method and device for searching for images | |
CN105656663A (en) | Software update method and device | |
WO2019184236A1 (en) | Insurance product calculation model configuration method and apparatus, computer device, and storage medium | |
CN105354214A (en) | Memo information generation method and apparatus | |
CN107613342A (en) | Video self-adapting regulation method and device | |
CN108763500A (en) | Voice-based Web browser method, device, equipment and storage medium | |
CN105930537A (en) | Page storing method and electronic equipment | |
CN104219356B (en) | A kind of method of display search associated person information, device and mobile terminal | |
CN104378512A (en) | Mobile terminal and method for displaying communication information of mobile terminal | |
CN106528781A (en) | Link pushing device and method | |
CN105354318A (en) | File searching method and device | |
CN102411566A (en) | Positioning-information-based translation system and method | |
US20080312901A1 (en) | Character input assist method, character input assist system, character input assist program, user terminal, character conversion method and character conversion program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170322 |