CN103559227B - Webpage displaying method and browser - Google Patents

Webpage displaying method and browser Download PDF

Info

Publication number
CN103559227B
CN103559227B CN201310498735.7A CN201310498735A CN103559227B CN 103559227 B CN103559227 B CN 103559227B CN 201310498735 A CN201310498735 A CN 201310498735A CN 103559227 B CN103559227 B CN 103559227B
Authority
CN
China
Prior art keywords
webpage
location information
url
page location
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310498735.7A
Other languages
Chinese (zh)
Other versions
CN103559227A (en
Inventor
张毅
陈擎月
任寰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310498735.7A priority Critical patent/CN103559227B/en
Publication of CN103559227A publication Critical patent/CN103559227A/en
Application granted granted Critical
Publication of CN103559227B publication Critical patent/CN103559227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

The invention discloses a webpage displaying method and a browser. The webpage displaying method comprises presetting a webpage page location information table on a browser side locally; obtaining a URL (Uniform Resource Locator) of a current access request webpage; searching the URL in the webpage page location information table and reading page location information which is corresponding to the URL; opening the webpage which is corresponding to the URL and loading and displaying a loading display portion of the webpage according to the obtained page location information. According to the webpage displaying method and the browser, a user can obtain the URL of the webpage, search the URL in the webpage page location information table and read the page location information which is corresponding to the URL when browsing the webpage once again, the webpage is loaded and displayed according to the obtained page location information when the URL page is opened, the webpage display location is recovered to a last browsing position of the user, the user is convenient to browse the webpage once again, and user experience is improved.

Description

Show the method and browser of webpage
Technical field
The present invention relates to internet arena, and in particular to a kind of method and browser of display webpage.
Background technology
At present, the continuous development of browser brings abundant Internet resources to user, user can by browser come Webpage is browsed, so as to know web page contents.
Existing webpage includes bulk information mostly, and substantial amounts of information causes Webpage long, the nothing in same screen Method shows completely.User may be selected by drop-down pages such as mouse roller, progress bar or mouse gestures, to browse when browsing The follow-up content of webpage.
Most of network users can browse substantial amounts of webpage according to its hobby daily, but may be when browsing often It is interrupted.At this moment user may be selected for web page storage to enter collection, when there is the time, the website is found from collection and is beaten again Drive row into browse.
But, because the information content of current many webpages is all very big, cause the page long, user opens and is previously seen one During half webpage, it will usually forget where had been observed that webpage, position and drop-down progress bar can only be again found again Browsed to the position.
Therefore, when carrying out webpage opening using the existing webpage unfolding mode of browser, if the net that user has seen Stand, need the position for oneself looking for having seen that, it is cumbersome, user time is wasted, reduce Consumer's Experience.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome the problems referred to above or at least in part solve on State problem be suitable to show the method and correspondingly browser of webpage.
According to one aspect of the present invention, there is provided a kind of method of display webpage, including:
In the preset webpage page location information table in browser side, wherein the loaded and displayed part being marked with webpage Positional information;
Obtain the URL (Uniform Resource Locator, URL) of the webpage that current request is accessed;
URL is searched in webpage page location information table, page location information corresponding with URL is read;
Open corresponding with URL webpage, and it is aobvious according to the loading of the acquired page location information loaded and displayed webpage Show part.
Alternatively, the preset mode of webpage page location information table includes:
The record command that receive user is triggered in the webpage for currently browsing;
Obtain the page location information of the webpage when record command is triggered;
By the URL of webpage storages corresponding with acquired page location information to the Webpage position letter for pre-building In breath table.
Alternatively, the method also includes:
When receiving the webpage to having recorded and triggering record command again, net when this record command is triggered is obtained The page location information of page;
Former page location information corresponding with the URL of the webpage in webpage page location information table is updated to currently The page location information of acquisition.
Alternatively, the triggering mode of record command includes:
Recording mark in receive user webpage clicking is triggering record command;Or,
Receive user is clicked on and records shortcut to trigger record command;Or,
Collection of the receive user to webpage indicates to trigger record command;Or,
Receive user closes the instruction of webpage, and triggering obtains currently displaying Webpage position;Or,
Web page element in the current web page that receive user is selected, triggers the web page element as browser display area The center of scope.
Alternatively, record mark to be located in the toolbar of webpage, or in the content of pages of webpage.
Alternatively, the method triggers forward and backward recording mark and makes a distinction in following any one mode to record command: Amplify, change color, change shape.
Alternatively, URL is searched in webpage page location information table, page location information corresponding with URL, bag is read Include:
Webpage page location information table is searched, whether judgement wherein includes URL;
If comprising reading page location information corresponding with URL;
If not including, the corresponding webpages of URL are directly opened, and the webpage is carried out into acquiescence and show.
Alternatively, webpage page location information table includes:User record number mark and/or record time and/ Or webpage network address and/or current web page page location information.
Alternatively, the storage form of webpage page location information table includes:Be stored separately with local database file or Person is stored in database file.
Alternatively, page location information is marked in the form of the ticker position coordinate of webpage.
According to one aspect of the present invention, a kind of browser is also provided, including:
Information table preset module, is configured to webpage page location information table preset in browser side, wherein being marked with The positional information of the loaded and displayed part in webpage;
URL acquisition modules, are configured to obtain the URL of the webpage that current request is accessed;
Positional information read module, is configured to search URL in webpage page location information table, reads corresponding with URL Page location information;
Webpage load-on module, is configured to open webpage corresponding with URL, and loads according to acquired page location information Show the loaded and displayed part of the webpage.
Alternatively, information table preset module includes:
Instruction reception unit, is configured to the record command that receive user is triggered in the webpage for currently browsing;
Location information acquiring unit, is configured to obtain the page location information of the webpage when record command is triggered;
Memory cell, is configured to the URL of webpage storages corresponding with acquired page location information to pre-building Webpage page location information table in.
Alternatively, the webpage that instruction reception unit is additionally configured to receive to having recorded triggers again record command;
Correspondingly, location information acquiring unit is additionally configured to obtain the page location of webpage when this record command is triggered Information;
Memory cell is additionally configured to corresponding with the URL of the webpage former page position in webpage page location information table Confidence breath is updated to the page location information of current acquisition.
Alternatively, the triggering mode of the record command received by instruction reception unit includes:
Recording mark in receive user webpage clicking is triggering record command;Or,
Receive user is clicked on and records shortcut to trigger record command;Or,
Collection of the receive user to webpage indicates to trigger record command;Or,
Receive user closes the instruction of webpage, and triggering obtains currently displaying Webpage position;Or,
Web page element in the current web page that receive user is selected, triggers the web page element as browser display area The center of scope.
Alternatively, record mark to be located in the toolbar of webpage, or in the content of pages of webpage.
Alternatively, the browser triggers forward and backward recording mark and carries out area in following any one mode to record command Point:Amplify, change color, change shape.
Alternatively, positional information read module includes:
Judging unit is searched, is configured to search webpage page location information table, whether judgement wherein includes URL;
Reading unit, is configured to, when URL is included in webpage page location information table, read page position corresponding with URL Confidence ceases;
Webpage opening unit, is configured to when URL is not included in webpage page location information table, directly opens URL correspondences Webpage, and the webpage carried out into acquiescence show.
Alternatively, webpage page location information table includes:User record number mark and/or record time and/ Or webpage network address and/or current web page page location information.
Alternatively, the storage form of webpage page location information table includes:Be stored separately with local database file or Person is stored in database file.
Alternatively, page location information is marked in the form of the ticker position coordinate of webpage.
The invention provides a kind of method and browser for showing webpage, the embodiment of the present invention is by browser side Preset webpage page location information table is preserving the page location information of the browsed webpage of user so that when user browses again During the webpage, the URL of the webpage is obtained, and the URL is searched in webpage page location information table, read corresponding with the URL Page location information, when the page of the URL is opened, according to the page location information loaded and displayed of the acquisition webpage, can make The display location of webpage returns to rearmost position when user browsed last time, be easy to user again to the flow of webpage, can Lift Consumer's Experience, more hommization.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the specific embodiment of the present invention.
According to the detailed description below in conjunction with accompanying drawing to the specific embodiment of the invention, those skilled in the art will be brighter Above-mentioned and other purposes, the advantages and features of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred embodiment, various other advantages and benefit is common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred embodiment, and is not considered as to the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
Fig. 1 is a kind of method flow diagram for showing webpage according to an embodiment of the invention;
Fig. 2 is a kind of concrete grammar flow chart for showing webpage according to an embodiment of the invention;
Fig. 3 is that according to an embodiment of the invention increase on a web browser carries out Webpage position by recording mark Recording schematic diagram;
Fig. 4 is a kind of overall structure block diagram of browser according to an embodiment of the invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and the enforcement that should not be illustrated here Example is limited.On the contrary, there is provided these embodiments are able to thoroughly understand the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Embodiment one
A kind of method of display webpage is embodiments provided, wherein, the method can be by carrying out to browser Improve to realize.
Fig. 1 is a kind of method flow diagram of display webpage of one embodiment of the invention, and the method comprising the steps of S102 is extremely S108。
S102, in the preset webpage page location information table in browser side, wherein the loaded and displayed being marked with webpage Partial positional information.
S104, obtains the URL of the webpage that current request is accessed.
S106, searches the URL in the webpage page location information table, reads page position corresponding with the URL Confidence ceases.
S108, opens corresponding with URL webpage, and according to acquired page location information loaded and displayed webpage Loaded and displayed part.
A kind of method of display webpage is embodiments provided, by the preset Webpage position in browser side Put information table to preserve the page location information of the browsed webpage of user so that when user browses again the webpage, obtain The URL of the webpage, and the URL is searched in webpage page location information table, page location information corresponding with the URL is read, When the page of the URL is opened, according to the page location information loaded and displayed of the acquisition webpage, the display position of webpage can be caused Put and return to rearmost position when user browsed last time, be easy to user again to the flow of webpage, Consumer's Experience can be lifted, more Plus hommization.
Embodiment two
As another preferred embodiment of the present invention, a kind of method of display webpage is present embodiments provided.This reality The method that example is provided is applied, is the improvement of the method that embodiment one is provided, and can be realized by improving browser.
The method that the present embodiment two is provided can be supplied to recording function of the user to webpage, can preserve user's opening Webpage and current Webpage position.When the webpage once recorded is opened for user, user's last time is directly displayed The web placement for once browsing to.The present embodiment two is specifically recorded, and beat after closing with user to a Webpage Open and illustrated as a example by the webpage that this recorded.
Fig. 2 is a kind of concrete grammar flow chart of display webpage of one embodiment of the invention, and the method comprising the steps of S201 to S208, lower mask body introduces the method that the present embodiment is provided.
First, execution step S201, the record command that receive user is triggered in the webpage for currently browsing.
It should be noted that record command is used for the URL of the webpage for currently browsing user and current page position is protected Hold local.Alternatively, in the present embodiment, the triggering mode of record command is including but not limited to following several:
The first, the recording mark in receive user webpage clicking is triggering record command.
Mark of recording in the present embodiment may be located in the toolbar of webpage, it is also possible to positioned at the content of pages of webpage In.In order to more clearly from represent the first recording mode that the present embodiment is provided, the present embodiment additionally provides Fig. 3, shows Increasing on a web browser carries out the recording schematic diagram of Webpage position by recording mark.Wherein, the webpage shown in Fig. 3 The button (button under word " browser ") in the upper left corner of the page represents the position for recording current page.
In addition, in the present embodiment, know whether recording was carried out to current page for the ease of user, it is optional Ground, can mark the recording state for each webpage using the change of the color to recording mark.For example:If this page The ticker position in face was not recorded, and is recorded mark and is shown as black surround imprimatura;Click on this rolling of the mark to the page Bar position is recorded, and the current ticker position of the page can together be saved in locally with URL, and is recorded mark and be changed into yellow Color background color, represents this link of recorded mistake.
Likewise, in order to reach identical effect, the present embodiment can also be marked by being amplified to recording mark For the recording state of each webpage, it is also possible to mark the recording for each webpage with by changing the shape for recording mark State etc., the present embodiment be not specifically described.
Second, receive user is clicked on and records shortcut to trigger record command.
The method is similar with first method, in the present embodiment, can also replace the recording mark in first method Realize recording webpage to record shortcut.Alternatively, recording shortcut can be configured by user, it is also possible to by System carries out default setting.
The third, collection of the receive user to webpage indicates to trigger record command.
In the present embodiment, can also click on collection button to collect webpage, now, by the page of the page Position is preserved.
4th kind, receive user closes the instruction of webpage, and triggering obtains currently displaying Webpage position.
It should be noted that in this kind of mode, the recording operation of webpage is configured to automatic recording, when user closes net During page, you can triggering carries out the URL of webpage and the preservation of current page position.
Alternatively, in first to fourth kind of mode, the viewing area for obtaining current web page can be passed through, and by this The position calculation of the central element of viewing area obtains the coordinate of scrollposition (position of scroll bar) as webpage page Face position.
Fifth procedure is described below, the web page element in the current web page that receive user is selected is triggered the webpage unit Center of the element as browser display area scope.
In this kind of mode, user can manually select before webpage in web page element (from current DOM (Document Object Model, document dbject model) carry out obtaining the element that shows of center of webpage in tree), in being then with the element Calculating basis of the browser display area scope (ClientWidth*600pixel) of the heart as current Webpage position.
Wherein clientwidth and clientheight (namely size of browser window) can be obtained in the following way Take:
In the browser for not stating DOCTYPE, the size of browser window can pass through Document.body.offsetwidth/offseteight is obtained;
In the browser for stating DOCTYPE, document.documentElement.clientWidth/ can be used ClientHeighth obtains the size of browser window.For example:IE, Safari can be obtained by said method.
Or, user can also manually be configured the height of the central display area, pass through first Setscrollposition is arranged to the scrollposition for currently choosing element to be located, and this is when user is configured Need to obtain current scrollposition information and preserved, then and record the range data of viewing area.
After it have received record command, step S202 is continued executing with.In step S202, obtain when record command triggering When the webpage page location information.
Wherein, page location information can be the calculated ticker position in viewing area according to current page The coordinate of scrollposition, or the calculated ticker position of central element according to current page The coordinate of scrollposition.
Then, execution step S203, will the URL of the webpage corresponding with the page location information for obtaining store to building in advance In vertical webpage page location information table.
Wherein, the positional information of the loaded and displayed part being marked with the webpage page location information table in webpage, the page Face positional information is marked in the form of the ticker position coordinate of webpage.
It should be noted that being pre-established with a database file session, the database file in browser side For storing the last page location information closed or surprisingly malfunction the webpage closed of user.When browser is restarted or user removes During the shutoff operation of pin last time, browser reads pent webpage and the webpage in the session database files Page location information, and carry out recovery operation.
Specifically, webpage page location information table provided in an embodiment of the present invention can be stored in the session databases Between in, it is also possible to locally individually setting up database file for storing webpage page location information table.
Alternatively, following at least one information is also included in the webpage page location information table:The number mark that user records The time know, recorded and/or webpage network address, current web page page location information.Generally, in order that the Webpage position for preserving Put that information table is more comprehensive, number mark that webpage page location information table generally records user when being stored, The time of recording and/or webpage network address and current web page page location information are all marked as parameter.
As one kind preferred embodiment, webpage page location information table can use sqlite databases to the present embodiment Stored, the elementary field of webpage page location information table can include:
Id:The id of record, one, from field is increased, represents the webpage number of user's recording;
Createtime:The time of recording, if update recording, this value also changes accordingly;
url:Address field url, although have this table to have id, but the value is used for the retrieval of page location information;
position:The page location of the webpage that user records, for example, can be the coordinate of scroll bar;
common:Other comment sections.
It should be noted that webpage page location information table both can be preserved independently, it is also possible to be placed on database file In history.Separate storage is preferable for the performance and function isolation of system, in being placed on same database, the association of data Property is stronger, when being embodied as, can as needed consider and be selected.
In this step S203, the recording of the webpage browsed to user is completed, namely save the webpage that user browses URL and the corresponding page location informations of the URL.User can again carry out clear to the webpage in subsequent step S204 Look at, and carry out the positioning of display location.
When user browses to webpage, execution step S204 is triggered, that is, obtain the page that current request is accessed URL。
Afterwards, URL is searched in webpage page location information table by step S205, and is judged in the Webpage position Whether there is the URL in information table.If it does not exist, then execution step S206, if it does, execution step S207.
It should be noted that in embodiments of the present invention, browser need to be detected to the URL of all openings of user, such as Webpage page location information table in step S203, step S205 can be retrieved whether there is in table according to the URL of webpage and is somebody's turn to do URL。
S206, directly opens the corresponding webpages of the URL, and the webpage is carried out into acquiescence and show.
In this step S206, due to not finding the URL or the corresponding pages of the URL in webpage page location information table Face positional information, then illustrate that user has not visited the webpage, then directly open, the position without the need for repositioning scroll bar, But by the web displaying to default location.
In the present embodiment, if finding the URL in the webpage page location information table, illustrate to the webpage Recording was carried out, now, execution step S207 reads page location corresponding with the URL in webpage page location information table Information.
Read the corresponding position of the URL, namely webpage page location information.
After above-mentioned steps S207 have been performed, step S208 is continued executing with.In step S208, open and above-mentioned URL Corresponding webpage, and according to the loaded and displayed part of the acquired page location information loaded and displayed webpage.
Specifically, when the corresponding webpages of the URL are opened, can be according to the rolling stored in webpage page location information table The coordinate of the position of bar updates the scroll_offset positions of scroll bar, to reach the repositioning of the viewing area to webpage, So that the page is shown to into the shown page location for arriving when record command is triggered.
For example, user when news website is browsed, news website would generally all show each plate in full page Out, such as webpage is recorded when the user browses to the scientific and technological plate in Netease 163, then when being again turned on the news During website, news web page directly can be navigated to this position of scientific and technological plate by browser.
It should be noted that after the method provided by step S201 to S203 carried out recording to certain webpage, this Method can also include:
When receiving the webpage to having recorded and triggering record command again, net when this record command is triggered is obtained The page location information of page, and by the former page location information corresponding with the URL of the webpage in webpage page location information table It is updated to the page location information of current acquisition.
Wherein, the method recorded again is identical with the method for recording in step S201 to S203, simply by Webpage position Put page location information corresponding with the URL, recording time in information table to be updated, will not be described here.
A kind of method of display webpage is embodiments provided, by the preset Webpage position in browser side Put information table to preserve the page location information of the browsed webpage of user so that when user browses again the webpage, obtain The URL of the webpage, and the URL is searched in webpage page location information table, page location information corresponding with the URL is read, When the page of the URL is opened, according to the page location information loaded and displayed of the acquisition webpage, the display position of webpage can be caused Put and return to rearmost position when user browsed last time, be easy to user again to the flow of webpage, Consumer's Experience can be lifted, more Plus hommization.
Further, the method that user is provided using the present embodiment, can be customized to webpage, and for example user is each When opening predetermined website, the position of its recording can be jumped directly to.
Embodiment three
Fig. 4 is a kind of overall structure block diagram of browser according to an embodiment of the invention, and the browser 600 includes:
Information table preset module 610, is configured to webpage page location information table preset in browser side, wherein marking There is the positional information of the loaded and displayed part in webpage;
URL acquisition modules 620, are configured to obtain the URL of the webpage that current request is accessed;
Positional information read module 630, is configured to search URL in webpage page location information table, reads corresponding with URL Page location information;
Webpage load-on module 640, is configured to open webpage corresponding with URL, and according to acquired page location information The loaded and displayed part of the loaded and displayed webpage.
Alternatively, information table preset module 610 includes:
Instruction reception unit 611, is configured to the record command that receive user is triggered in the webpage for currently browsing;
Location information acquiring unit 612, is configured to obtain the page location information of the webpage when record command is triggered;
Memory cell 613, is configured to the URL of webpage storages corresponding with acquired page location information to building in advance In vertical webpage page location information table.
Alternatively, the webpage that instruction reception unit 611 is additionally configured to receive to having recorded triggers again record command;
Correspondingly,
Location information acquiring unit 612 is additionally configured to obtain the page location letter of webpage when this record command is triggered Breath;
Memory cell 613 is additionally configured to the former page corresponding with the URL of the webpage in webpage page location information table Updating location information is into the current page location information for obtaining.
Alternatively, the triggering mode of the record command received by instruction reception unit 611 includes:
Recording mark in receive user webpage clicking is triggering record command;Or,
Receive user is clicked on and records shortcut to trigger record command;Or,
Collection of the receive user to webpage indicates to trigger record command;Or,
Receive user closes the instruction of webpage, and triggering obtains currently displaying Webpage position;Or,
Web page element in the current web page that receive user is selected, triggers the web page element as browser display area The center of scope.
Alternatively, record mark to be located in the toolbar of webpage, or in the content of pages of webpage.
Alternatively, the browser triggers forward and backward recording mark and carries out area in following any one mode to record command Point:Amplify, change color, change shape.
Alternatively, positional information read module 630 includes:
Judging unit 631 is searched, is configured to search webpage page location information table, whether judgement wherein includes URL;
Reading unit 632, is configured to, when URL is included in webpage page location information table, read the page corresponding with URL Positional information;
Webpage opening unit 633, is configured to when URL is not included in webpage page location information table, directly opens URL pair The webpage answered, and the webpage is carried out into acquiescence show.
Alternatively, webpage page location information table includes:User record number mark and/or record time and/ Or webpage network address and/or current web page page location information.
Alternatively, the storage form of webpage page location information table includes:Be stored separately with local database file or Person is stored in database file.
Alternatively, page location information is marked in the form of the ticker position coordinate of webpage.
A kind of browser is embodiments provided, by the preset webpage page location information table in browser side To preserve the page location information of the browsed webpage of user so that when user browses again the webpage, obtain the webpage URL, and the URL is searched in webpage page location information table, page location information corresponding with the URL is read, should opening During the page of URL, according to the page location information loaded and displayed of the acquisition webpage, the display location that can cause webpage returns to Rearmost position when user browsed last time, is easy to user again to the flow of webpage, can lift Consumer's Experience, more human nature Change.
Further, the browser that user is provided using the present embodiment, can be customized to webpage, and for example user is every During secondary opening predetermined website, the position of its recording can be jumped directly to.
In specification mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The more features of feature that the application claims ratio of shield is expressly recited in each claim.More precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as the separate embodiments of the present invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can it is identical by offers, be equal to or the alternative features of similar purpose carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment required for protection one of arbitrarily Can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation Software module realize, or with combinations thereof realization.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) to realize browser according to embodiments of the present invention in it is some or all The some or all functions of part.The present invention be also implemented as the part for performing method as described herein or The equipment or program of device (for example, computer program and computer program) of whole.Such journey for realizing the present invention Sequence can be stored on a computer-readable medium, or can have the form of one or more signal.Such signal can Obtained with downloading from internet website, or provided on carrier signal, or provided in any other form.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability Field technique personnel can design without departing from the scope of the appended claims alternative embodiment.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame Claim.
So far, although those skilled in the art will appreciate that detailed herein illustrate and describe multiple showing for the present invention Example property embodiment, but, without departing from the spirit and scope of the present invention, still can be direct according to present disclosure It is determined that or deriving many other variations or modifications for meeting the principle of the invention.Therefore, the scope of the present invention is understood that and recognizes It is set to and covers all these other variations or modifications.
A1, a kind of method of display webpage are embodiments provided, including:In the preset webpage page in browser side Face positional information table, wherein the positional information of the loaded and displayed part being marked with webpage;Obtain the webpage that current request is accessed Uniform resource position mark URL;The URL is searched in the webpage page location information table, is read corresponding with the URL Page location information;Open corresponding with URL webpage, and according to acquired page location information loaded and displayed webpage Loaded and displayed part.A2, the method according to A1, wherein, the preset mode of the webpage page location information table includes: The record command that receive user is triggered in the webpage for currently browsing;Obtain the page of the webpage when the record command is triggered Positional information;By the URL of webpage storages corresponding with acquired page location information to the Webpage for pre-building In positional information table.A3, the method according to A2, wherein, also include:Trigger again when the webpage to having recorded is received During record command, the page location information of webpage when this record command is triggered is obtained;By the webpage page location information Former page location information corresponding with the URL of the webpage in table is updated to the page location information of current acquisition.A4, basis Method described in A2 or A3, wherein, the triggering mode of the record command includes:Recording mark in receive user webpage clicking To trigger the record command;Or, receive user is clicked on and records shortcut to trigger the record command;Or, receive and use Collection of the family to webpage indicates to trigger the record command;Or, receive user closes the instruction of webpage, and triggering obtains current The Webpage position of display;Or, the web page element in the current web page that receive user is selected is triggered and makees the web page element For the center of browser display area scope.A5, the method according to A4, wherein, the work for recording mark positioned at webpage In tool hurdle, or in the content of pages of webpage.A6, the method according to A4 or A5, wherein, methods described is appointing as follows A kind of mode of anticipating triggers forward and backward recording mark and makes a distinction to record command:Amplify, change color, change shape.A7, root According to the method described in any one of A1 to A6, wherein, the URL is searched in the webpage page location information table, read and institute The corresponding page location informations of URL are stated, including:The webpage page location information table is searched, is judged wherein whether comprising State URL;If comprising reading page location information corresponding with the URL;If not including, the URL correspondences are directly opened Webpage, and the webpage carried out into acquiescence show.A8, the method according to any one of A1 to A7, wherein, the Webpage Positional information table includes:Number mark and/or time and/or webpage network address and/or the current web page of recording that user records Page location information.A9, the method according to any one of A1 to A8, wherein, the storage of the webpage page location information table Form includes:It is stored separately or is stored in the database file with local database file.A10, according to A1 to A9 Method described in any one, wherein, the page location information is marked in the form of the ticker position coordinate of webpage.
B11, a kind of browser are embodiments provided, including:Information table preset module, is configured in browser side Local preset webpage page location information table, wherein the positional information of the loaded and displayed part being marked with webpage;Unified resource Finger URL URL acquisition modules, are configured to obtain the URL of the webpage that current request is accessed;Positional information read module, is configured to The URL is searched in the webpage page location information table, page location information corresponding with the URL is read;Webpage is loaded Module, is configured to open corresponding with URL webpage, and according to the acquired page location information loaded and displayed webpage Loaded and displayed part.B12, the browser according to B11, wherein, described information table preset module includes:Command reception list Unit, is configured to the record command that receive user is triggered in the webpage for currently browsing;Location information acquiring unit, is configured to obtain The page location information of the webpage when the record command is triggered;Memory cell, be configured to by the URL of the webpage with it is acquired Page location information correspondence storage in the webpage page location information table for pre-building.B13, according to B12 Browser, wherein, the webpage that the instruction reception unit is additionally configured to receive to having recorded triggers again record command;Phase Ying Di, the location information acquiring unit is additionally configured to obtain the page location information of webpage when this record command is triggered; The memory cell is additionally configured to corresponding with the URL of the webpage former page position in the webpage page location information table Confidence breath is updated to the page location information of current acquisition.B14, the browser according to B12 or B13, wherein, the instruction The triggering mode of the record command received by receiving unit includes:Recording mark in receive user webpage clicking is to trigger State record command;Or, receive user is clicked on and records shortcut to trigger the record command;Or, receive user is to webpage Collection indicate triggering the record command;Or, receive user closes the instruction of webpage, and triggering obtains currently displaying net Page page location;Or, the web page element in the current web page that receive user is selected is triggered the web page element as browser The center of viewing area scope.B15, the browser according to B14, wherein, the toolbar for recording mark positioned at webpage In, or in the content of pages of webpage.B16, the browser according to B14 or B15, wherein, the browser is with such as Lower any one mode triggers forward and backward recording mark and makes a distinction to record command:Amplify, change color, change shape. B17, the browser according to any one of B11 to B16, wherein, the positional information read module includes:Search and judge single Unit, is configured to search the webpage page location information table, and whether judgement wherein includes the URL;Reading unit, is configured to When the URL is included in the webpage page location information table, page location information corresponding with the URL is read;Webpage Opening unit, is configured to, when the URL is not included in the webpage page location information table, directly open the URL correspondences Webpage, and the webpage carried out into acquiescence show.B18, the browser according to any one of B11 to B17, wherein, the net Page page location information table includes:User record number mark and/or record time and/or webpage network address and/or work as Front webpage page location information.B19, the browser according to any one of B11 to B18, wherein, the Webpage position letter The storage form of breath table includes:It is stored separately or is stored in the database file with local database file.B20、 Browser according to any one of B11 to B19, wherein, the page location information is with the ticker position coordinate of webpage Form is marked.

Claims (20)

1. it is a kind of show webpage method, including:
In the preset webpage page location information table in browser side, wherein the position of the loaded and displayed part being marked with webpage Information;
Obtain the uniform resource position mark URL of the webpage that current request is accessed;
The URL is searched in the webpage page location information table, page location information corresponding with the URL is read;
Open corresponding with URL webpage, and the loading according to the acquired page location information loaded and displayed webpage shows Show part;
Wherein, the mode of the web placement information of marking of web pages includes:Web page element in the current web page that receive user is selected, Trigger using the web page element as browser display area scope center, and by the center of the browser display area scope As the calculating basis of the page location information of current web page.
2. method according to claim 1, wherein, the preset mode of the webpage page location information table includes:
The record command that receive user is triggered in the webpage for currently browsing;
Obtain the page location information of the webpage when the record command is triggered;
By the URL of webpage storages corresponding with acquired page location information to the Webpage position letter for pre-building In breath table.
3. method according to claim 2, wherein, also include:
When receiving the webpage to having recorded and triggering record command again, webpage when this record command is triggered is obtained Page location information;
Former page location information corresponding with the URL of the webpage in the webpage page location information table is updated to currently The page location information of acquisition.
4. according to the method in claim 2 or 3, wherein, the triggering mode of the record command includes:
Recording mark in receive user webpage clicking is triggering the record command;Or,
Receive user is clicked on and records shortcut to trigger the record command;Or,
Collection of the receive user to webpage indicates to trigger the record command;Or,
Receive user closes the instruction of webpage, and triggering obtains currently displaying Webpage position;Or,
Web page element in the current web page that receive user is selected, triggers the web page element as browser display area scope Center.
5. method according to claim 4, wherein, the mark of recording in the toolbar of webpage, or positioned at net In the content of pages of page.
6. method according to claim 4, wherein, methods described is triggered in following any one mode to record command Forward and backward recording mark makes a distinction:Amplify, change color, change shape.
7. method according to claim 1, wherein, the URL is searched in the webpage page location information table, read Page location information corresponding with the URL, including:The webpage page location information table is searched, whether judgement wherein includes There is the URL;If comprising reading page location information corresponding with the URL;If not including, the URL is directly opened Corresponding webpage, and the webpage is carried out into acquiescence show.
8. method according to claim 1, wherein, the webpage page location information table includes:It is individual that user records Number mark and/or the time recorded and/or webpage network address and/or current web page page location information.
9. method according to claim 1, wherein, the storage form of the webpage page location information table includes:With this The database file on ground is stored separately or is stored in the database file.
10. method according to claim 1, wherein, the page location information is with the ticker position coordinate of webpage Form is marked.
A kind of 11. browsers, including:
Information table preset module, is configured to webpage page location information table preset in browser side, wherein being marked with webpage In loaded and displayed part positional information;
Uniform resource position mark URL acquisition module, is configured to obtain the URL of the webpage that current request is accessed;
Positional information read module, is configured to search the URL in the webpage page location information table, read with it is described The corresponding page location informations of URL;
Webpage load-on module, is configured to open webpage corresponding with the URL, and loads according to acquired page location information Show the loaded and displayed part of the webpage;
Described information table preset module, the web page element being additionally configured in the current web page of receive user selection is triggered the net Page element as browser display area scope center, and using the center of the browser display area scope as current net The calculating basis of the page location information of page.
12. browsers according to claim 11, wherein, described information table preset module includes:
Instruction reception unit, is configured to the record command that receive user is triggered in the webpage for currently browsing;
Location information acquiring unit, is configured to obtain the page location information of the webpage when the record command is triggered;
Memory cell, is configured to the URL of webpage storages corresponding with acquired page location information to the institute for pre-building In stating webpage page location information table.
13. browsers according to claim 12, wherein, the instruction reception unit is additionally configured to receive to recording The webpage crossed triggers again record command;
Correspondingly,
The location information acquiring unit is additionally configured to obtain the page location information of webpage when this record command is triggered;
The memory cell is additionally configured to the former page corresponding with the URL of the webpage in the webpage page location information table Face updating location information is into the current page location information for obtaining.
14. browsers according to claim 12 or 13, wherein, the record command received by the instruction reception unit Triggering mode include:
Recording mark in receive user webpage clicking is triggering the record command;Or,
Receive user is clicked on and records shortcut to trigger the record command;Or,
Collection of the receive user to webpage indicates to trigger the record command;Or,
Receive user closes the instruction of webpage, and triggering obtains currently displaying Webpage position;Or,
Web page element in the current web page that receive user is selected, triggers the web page element as browser display area scope Center.
15. browsers according to claim 14, wherein, the mark of recording is located in the toolbar of webpage, Huo Zhewei In the content of pages of webpage.
16. browsers according to claim 14, wherein, the browser is in following any one mode to record command The forward and backward recording mark of triggering makes a distinction:Amplify, change color, change shape.
17. browsers according to claim 11, wherein, the positional information read module includes:Search judging unit, It is configured to search the webpage page location information table, whether judgement wherein includes the URL;Reading unit, is configured to work as When including the URL in the webpage page location information table, page location information corresponding with the URL is read;Webpage is beaten Unit is opened, is configured to, when the URL is not included in the webpage page location information table, directly open the URL corresponding Webpage, and the webpage is carried out into acquiescence show.
18. browsers according to claim 11, wherein, the webpage page location information table includes:User records Number mark and/or record time and/or webpage network address and/or current web page page location information.
19. browsers according to claim 11, wherein, the storage form of the webpage page location information table includes: It is stored separately or is stored in the database file with local database file.
20. browsers according to claim 11, wherein, the page location information is with the ticker position coordinate of webpage Form be marked.
CN201310498735.7A 2013-10-22 2013-10-22 Webpage displaying method and browser Active CN103559227B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310498735.7A CN103559227B (en) 2013-10-22 2013-10-22 Webpage displaying method and browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310498735.7A CN103559227B (en) 2013-10-22 2013-10-22 Webpage displaying method and browser

Publications (2)

Publication Number Publication Date
CN103559227A CN103559227A (en) 2014-02-05
CN103559227B true CN103559227B (en) 2017-04-12

Family

ID=50013474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310498735.7A Active CN103559227B (en) 2013-10-22 2013-10-22 Webpage displaying method and browser

Country Status (1)

Country Link
CN (1) CN103559227B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302846B (en) * 2014-08-01 2020-06-26 腾讯科技(北京)有限公司 Method and device for restoring webpage
CN104156421B (en) * 2014-08-06 2018-11-09 百度在线网络技术(北京)有限公司 The page shows method, apparatus and system
CN104317858A (en) * 2014-10-15 2015-01-28 天津云辰科技有限公司 Mobile intelligent equipment long picture browsing method
CN106648585B (en) * 2016-09-22 2020-10-09 北京小米移动软件有限公司 Method and device for setting transparency of webpage DOM (document object model) element
CN106354878A (en) * 2016-09-27 2017-01-25 北京小米移动软件有限公司 Page management method and device
CN106528627A (en) * 2016-10-01 2017-03-22 奇酷互联网络科技(深圳)有限公司 Method and apparatus for loading and locating webpage browsing position
CN106503179A (en) * 2016-10-31 2017-03-15 维沃移动通信有限公司 A kind of loading method of Webpage and mobile terminal
CN107133291B (en) * 2017-04-24 2019-11-19 武汉斗鱼网络科技有限公司 A kind of method and apparatus that content of pages is shown
CN110020235B (en) * 2017-08-23 2021-08-03 北京京东尚科信息技术有限公司 Web browser three-dimensional model positioning method, device, medium and electronic equipment
CN110209798B (en) * 2017-12-22 2024-05-10 北京奇虎科技有限公司 Data display method and device of redis database
CN109450972A (en) * 2018-09-29 2019-03-08 阿里巴巴集团控股有限公司 A kind of processing method of data, device and equipment
CN112650423B (en) * 2020-12-20 2022-09-20 苏州浪潮智能科技有限公司 Webpage display method, system and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815476A (en) * 2005-01-28 2006-08-09 京瓷株式会社 Display apparatus
CN101814078A (en) * 2009-12-31 2010-08-25 优视科技有限公司 Accurate webpage-positioning method for mobile communication equipment terminals

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2003117696A (en) * 2003-06-17 2004-12-27 Интрепид Маркетинг Ассошиэйтс Лимитед SYSTEM AND METHOD OF SELECTION AND Hiring OF PERSONNEL IN ON-LINE MODE (OPTIONS)

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815476A (en) * 2005-01-28 2006-08-09 京瓷株式会社 Display apparatus
CN101814078A (en) * 2009-12-31 2010-08-25 优视科技有限公司 Accurate webpage-positioning method for mobile communication equipment terminals

Also Published As

Publication number Publication date
CN103559227A (en) 2014-02-05

Similar Documents

Publication Publication Date Title
CN103559227B (en) Webpage displaying method and browser
CN104077387B (en) A kind of web page contents display methods and browser device
CN103744853B (en) The method and device of Research of Search Engine Website Snapshot System information is provided
CN103577229B (en) The loading method of a kind of web game and web browser
CN106372251A (en) Method and device for returning to page display position
CN102385613A (en) Web page positioning method and system
CN105868096B (en) For showing the method, device and equipment of web page test result in a browser
CN110209966B (en) Webpage refreshing method, webpage system and electronic equipment
CN103577477B (en) The methods of exhibiting of the browsing histories of browser and display systems
EP2987088A2 (en) Client side page processing
CN104050166B (en) A kind of data processing method and device
CN104182429B (en) Web page processing method and terminal
CN104866594A (en) Information pushing method and apparatus
CN111090797B (en) Data acquisition method, device, computer equipment and storage medium
CN102591916A (en) Webpage opening method and website system
CN106095917A (en) A kind of bookmark preservation, methods of exhibiting, device and browser
CN103870191B (en) The method and electronic equipment that webpage preserves
CN106326261A (en) Pre-reading method and device for webpage and intelligent terminal device
CN107341159A (en) Page key words methods of exhibiting and device
CN107368580A (en) A kind of Webpage display process and mobile terminal
CN108920342A (en) A kind of method and apparatus of data acquisition that realizing application
CN107016023B (en) Cumulative search processing method and device
US20100050068A1 (en) Information display device
CN109542553A (en) The information extraction method and device and storage medium of user interface UI element
CN108509189A (en) A kind of component of the H5 time gates based on DOM unifies implementation method

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220727

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right