CN106202179A - A kind of page loading method and device - Google Patents

A kind of page loading method and device Download PDF

Info

Publication number
CN106202179A
CN106202179A CN201610479899.9A CN201610479899A CN106202179A CN 106202179 A CN106202179 A CN 106202179A CN 201610479899 A CN201610479899 A CN 201610479899A CN 106202179 A CN106202179 A CN 106202179A
Authority
CN
China
Prior art keywords
content
browser
page
specified
locality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610479899.9A
Other languages
Chinese (zh)
Other versions
CN106202179B (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 CN201610479899.9A priority Critical patent/CN106202179B/en
Publication of CN106202179A publication Critical patent/CN106202179A/en
Application granted granted Critical
Publication of CN106202179B publication Critical patent/CN106202179B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

Landscapes

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

Abstract

The invention discloses a kind of page loading method and device.The method comprise the steps that when browser needs to load specified page, it is judged that whether browser this locality saves the content of the specified portions of this specified page;If this locality of browser saves described content, it may be judged whether need to content described in the server request of this specified page;When being judged as need not, the described content preserved browser this locality loads as the content of the specified portions of described specified page.This technical scheme need not again to the content of server request specified portions in the case of meeting condition, therefore saved and downloaded the time that the contents of the section carries out loading again, substantially increase page loading velocity, the Internet resources simultaneously saved can meet the download of other partial contents of the page to a greater degree, it is achieved thereby that completely, quickly load the technique effect of content of pages.

Description

A kind of page loading method and device
Technical field
The present invention relates to field of computer technology, particularly to a kind of page loading method and device.
Background technology
Along with the development of technology and increasing of people's demand, web page contents is more and more abundanter, and therefore the loading of the page is the most not Can become slowly with avoiding.And user is desirable to quickly, the web page contents that intactly browses to wish to check, therefore needs Want a kind of method that can quickly load content of pages.
Summary of the invention
In view of the above problems, it is proposed that the present invention in case provide one overcome the problems referred to above or at least in part solve on State page loading method and the device of problem.
According to one aspect of the present invention, it is provided that a kind of page loading method, including:
When browser needs to load specified page, it is judged that whether browser this locality saves the specifying part of this specified page The content divided;
If this locality of browser saves described content, it may be judged whether need the server request institute to this specified page State content;
When being judged as need not, the described content preserved browser this locality is as the specified portions of described specified page Content load.
Alternatively, the method farther includes:
If this locality of browser does not preserves described content, then to content described in the server request of this specified page;
By from described server request to content be loaded into the specified portions of described specified page, and will be from described service It is local that the content that device is asked is saved in browser.
Alternatively, the method farther includes:
When being judged as needing, to content described in the server request of this specified page;
By from described server request to content be loaded into the specified portions of described specified page, and with from described service The corresponding contents that the content update browser that device is asked is local.
Alternatively, judge whether described in need to include to content described in the server request of this specified page:
Mark and the version number of the described content preserved browser this locality are sent to described server, receive described service Device needs re-request notice according to what version number's comparative result returned or need not the notice of re-request.
Alternatively, judge whether described in need to include to content described in the server request of this specified page:
The mark of described content that browser this locality preserves is sent to described server, receive that server returns with institute State the latest edition number that mark is corresponding;
The version number of the described content described latest edition number preserved with browser this locality compares, according to comparing knot Fruit determines the need for content described in the server request of this specified page.
Alternatively, judge whether described in need to include to content described in the server request of this specified page:
Judge whether it the most before the deadline, is to be judged as need not to this according to the effect duration information that described content is corresponding Content described in the server request of specified page, is otherwise judged as needing to content described in the server request of this specified page;
Wherein, described effect duration information is configured in browser this locality when being and download described content to browser this locality , or described effect duration information is local downloaded into browser with described content.
Alternatively, the described content judging the local specified portions whether saving this specified page of browser includes:
Check the content of the specified portions that whether there is this specified page in the cookie of browser.
Alternatively, the method farther includes:
Only load the part being positioned at display window of described specified page;
Reload when display window slides and need the part of display in display window.
Alternatively, the shell script being included in described specified page above-mentioned step is performed.
According to another aspect of the present invention, it is provided that a kind of page charger, including:
Judging unit, is suitable to when browser needs to load specified page, it is judged that whether browser this locality saves this refers to Determine the content of the specified portions of the page;If this locality of browser saves described content, it may be judged whether need to this specific page Content described in the server request in face;
Loading processing unit, is suitable to when described judging unit is judged as need not, described in the preservation of browser this locality Content loads as the content of the specified portions of described specified page.
Alternatively, described loading processing unit, it is further adapted for judging this locality of browser not at described judging unit When preserving described content, to content described in the server request of this specified page;By from described server request to content add Be downloaded to the specified portions of described specified page, and by from described server request to content to be saved in browser local.
Alternatively, described loading processing unit, it is further adapted for when described judging unit is judged as needing, to this appointment Content described in the server request of the page;By from described server request to content be loaded into the specifying part of described specified page Point, and with from described server request to the local corresponding contents of content update browser.
Alternatively, described judging unit, the mark and the version number that are suitable to the described content by the preservation of browser this locality send To described server, receiving described server needs re-request notice according to what version number's comparative result returned or need not weight Newly requested notice.
Alternatively, described judging unit, the mark being suitable to the described content by the preservation of browser this locality is sent to described clothes Business device, receives the latest edition number corresponding with described mark that server returns;Described latest edition number is local with browser The version number of the described content preserved compares, and determining the need for according to comparative result please to the server of this specified page Seek described content.
Alternatively, described judging unit, be suitable to judge whether also effectively according to the effect duration information that described content is corresponding In phase, it is to be judged as need not to content described in the server request of this specified page, is otherwise judged as needing to this appointment Content described in the server request of the page;
Wherein, described effect duration information is configured in browser this locality when being and download described content to browser this locality , or described effect duration information is local downloaded into browser with described content.
Alternatively, described judging unit, be suitable to whether the cookie by checking browser exists this specified page The content of specified portions, judges whether browser this locality saves the content of the specified portions of this specified page.
Alternatively, described loading processing unit, it is further adapted for only loading the display window that is positioned at of described specified page Part;Reload when display window slides and need the part of display in display window.
From the foregoing, technical scheme, when browser wishes to load specified page, first judge page middle finger The content of fixed part preserves in browser this locality the most, if truly having preservation, further determines whether to need to ask to browser Seek the contents of the section, if need not just be loaded directly into the contents of the section of local preservation.This technical scheme is meeting condition In the case of need not again to the content of server request specified portions, therefore saved and downloaded what the contents of the section carried out loading again Time, substantially increasing page loading velocity, the Internet resources simultaneously saved can meet other parts of the page to a greater degree The download of content, it is achieved thereby that completely, quickly load the technique effect of content of pages.
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 description, and in order to allow above and other objects of the present invention, the feature and advantage can Become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 shows the flow chart of a kind of page loading method;
Fig. 2 shows the structural representation of a kind of page charger.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows the disclosure Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should be by embodiments set forth here Limited.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Fig. 1 shows the flow chart of a kind of page loading method, as it is shown in figure 1, should Method includes:
Step S110, when browser needs to load specified page, it is judged that whether browser this locality saves this specific page The content of the specified portions in face.
The content of specified portions can be the content infrequently changed in this specified page.Such as in webcast website, for carrying High user is the most interactive with main broadcaster, has provided the user present list, and user therefrom can select during main broadcaster is live Select present to give to main broadcaster.Wherein, this present list due to contain can interaction content, and in order to elegant in appearance, attract to use Family notes, the resource comprised is the most more, can expend more time when loading.And present list is at the subscriber policy of webcast website Generally can't change in the case of there is not bigger change, therefore, if load the specified page of webcast website every time Time, will need to consume ample resources beyond doubt to server request this partial content of present list, and every time accessed The contents of the section be again substantially identical, do not change.The most in the present embodiment, if the contents of the section is saved in clear Device of looking at is local, avoids the need for every time to server request, thus has saved ample resources.
Step S120, if this locality of browser saves content, it may be judged whether need the server to this specified page Request content.
In this step, preserved the contents of the section when determining this locality, then had only to the server to specified page Determine whether the contents of the section changes.Without changing, then need not ask the contents of the section, i.e. perform step S130。
Step S130, when being judged as need not, the content preserved browser this locality is as the specifying part of specified page The content divided loads.
Visible, the method shown in Fig. 1, when browser wishes to load specified page, first judge specified portions in the page Content preserves in browser this locality the most, if truly having preservation, further determines whether to need to this part of browse request Content, if need not just be loaded directly into the contents of the section of local preservation.This technical scheme in the case of meeting condition not Need, again to the content of server request specified portions, therefore to have saved and downloaded the time that the contents of the section carries out loading again, greatly Improve greatly page loading velocity, the Internet resources simultaneously saved can meet under other partial contents of the page to a greater degree Carry, it is achieved thereby that completely, quickly load the technique effect of content of pages.
In one embodiment of the invention, the method shown in Fig. 1 farther includes: if this locality of browser does not preserves Content, then to the server request content of this specified page;By from server request to content be loaded into the finger of specified page Determine part, and by from server request to content to be saved in browser local.
Accidentally remove the content of browser storage user, reinstall browser, for the first time access specified page etc. In the case of, this locality of browser may not preserve the content of the specified portions of specified page, now directly to this specific page The server request content in face, stores after getting this locality, it is simple to use when accessing specified page next time.
In one embodiment of the invention, the method shown in Fig. 1 farther includes: when being judged as needing, refer to this Determine the server request content of the page;By from server request to content be loaded into the specified portions of specified page, and with from The corresponding contents that the content update browser that server request arrives is local.
At the server end of specified page, if the content of specified portions changes, then browser end is accomplished by obtaining Take the content of the specified portions after renewal, and the corresponding contents that browser is local is updated.Such as, the in honour of Dragon Boat Festival, Having increased newly " rice tamale " in present list, if the present list to browser is local is not updated, user just cannot give rice-pudding Son gives main broadcaster.Therefore to guarantee the normal use of user, when being judged as needing, can refer to from the server request of specified page The what be new of fixed part.
In one embodiment of the invention, in the method shown in Fig. 1, it may be judged whether need the service to this specified page Device request content includes: mark and the version number of the content preserved browser this locality are sent to server, receive server root Need re-request notice according to what version number's comparative result returned or need not the notice of re-request.
Present embodiment illustrates a kind of side quickly judging whether to need the server request content to this specified page Method, it is not necessary to whether the content of intactly comparison specified portions changes.Specifically, server end is the content of specified portions Add mark and version number, such as, when starting setting up most the content of present this part of list, add mark LW_list for it, Version number 1.0.0.The version number of the present list of Dragon Boat Festival version is 1.1.0.Then save 1.0.0 version for one For the browser of present list, when hope loads specified page, mark LW_list and version number 1.0.0 is sent to clothes Business device, it is 1.1.0 that server inquires latest edition number by LW_list mark, and then sending needs re-request to notify.? After receiving this notice, to the present list of server request latest edition and load, and update local present row Table.
In another embodiment of the present invention, the operation of comparison version number can also perform in browser side, i.e. judgement is No needs include to the server request content of this specified page: the mark of the content preserved browser this locality is sent to service Device, receives the latest edition number corresponding with mark that server returns;The content that latest edition number is preserved with browser this locality Version number compare, determine the need for the server request content to this specified page according to comparative result.Such as will Mark LW_list is sent to server, and the version number receiving server return is 1.0.0, with the version of the content that this locality preserves This number identical, therefore need not the server request content to this specified page.
In one embodiment of the invention, in the method shown in Fig. 1, it may be judged whether need the service to this specified page Device request content includes: judge whether it the most before the deadline, is to be judged as need not according to the effect duration information that content is corresponding To the server request content of this specified page, otherwise it is judged as needing the server request content to this specified page;Wherein, It is configured in browser this locality when effect duration information downloads content to browser this locality, or effect duration information is with interior Hold downloaded into browser this locality.
Show another side judging whether to need the server request content to this specified page in the present embodiment Method.If the server of named web page is when issuing given content, issued the effect duration information of correspondence in the lump, then please in next time Judge that content is not out of date when seeking given content, then need not again to the server request content of this specified page;If it is interior Hold expired, then need again to the server request content of this specified page.And during for being not provided with effect phase information, also Such as the web page contents got can be analyzed in the effect duration information of the locally located given content of browser, determines It is also labeled by the given content seldom changed, only the most again obtains from server when the contents of the section is expired Take.
In one embodiment of the invention, in said method, it is judged that whether browser this locality saves this specified page The content of specified portions include: check the content of the specified portions that whether there is this specified page in the cookie of browser.
Cookie can store user and access the information of website, hence with the specified portions of cookie storage specified page Content more convenient, it is also possible to be combined in the log-on message of appointed website with user.
In one embodiment of the invention, said method farther includes: only load specified page is positioned at display window The part of mouth;Reload when display window slides and need the part of display in display window.
Such as, each main broadcaster room in webcast website is a lot, and user may can wish to be introduced into after accessing specified page Viewing number is more, the forward room that sorts is watched, and due to the restriction of page-size, will not by all main broadcaster rooms all Being presented on current page, user only just can be appreciated that this partial content, if therefore by all the elements when dragging the page Present to user after loading again and only can increase the waiting time of user, the most in the present embodiment, only load the position of specified page In the part of display window, if such user selects to enter a certain live room, the page will redirect, it is not necessary to reloads not The content of display part, has saved Internet resources and has calculated resource;The display window if user slides, reloads needs in display In window, the part of display, does not interferes with the viewing of user yet.
In one embodiment of the invention, in said method, the shell script being included in specified page perform The step stated.Browser only need to perform shell script can realize aforesaid operations.
Fig. 2 shows the structural representation of a kind of page charger, such as Fig. 2 institute Showing, page charger 200 includes:
Judging unit 210, is suitable to when browser needs to load specified page, it is judged that whether browser this locality saves this The content of the specified portions of specified page;If this locality of browser saves content, it may be judged whether need to this specified page Server request content.
Loading processing unit 220, is suitable to when judging unit is judged as need not, and the content preserved browser this locality is made Content for the specified portions of specified page loads.
Visible, the device shown in Fig. 2, cooperating by each unit, when browser wishes to load specified page, first Judging that in the page, the content of specified portions preserves in browser this locality the most, if truly having preservation, further determining whether to need Will be to browse request the contents of the section, if need not just be loaded directly into the contents of the section of local preservation.This technical scheme Need not, again to the content of server request specified portions, therefore save download the contents of the section in the case of meeting condition Carrying out the time loaded again, substantially increase page loading velocity, the Internet resources simultaneously saved can meet to a greater degree The download of other partial contents of the page, it is achieved thereby that completely, quickly load the technique effect of content of pages.
In one embodiment of the invention, in the device shown in Fig. 2, loading processing unit 220, it is further adapted for sentencing Disconnected unit judges goes out this locality of browser when not preserving content, to the server request content of this specified page;Will be from server The content asked is loaded into the specified portions of specified page, and by from server request to content be saved in browser this Ground.
In one embodiment of the invention, in the device shown in Fig. 2, loading processing unit 220, it is further adapted for when sentencing When disconnected unit judges is for needs, to the server request content of this specified page;By from server request to content be loaded into The specified portions of specified page, and with from server request to the local corresponding contents of content update browser.
In one embodiment of the invention, in the device shown in Fig. 2, it is judged that unit 210, be suitable to protect browser this locality The mark of the content deposited and version number are sent to server, receive needs that server returns according to version number's comparative result again Request notifies or need not the notice of re-request.
In one embodiment of the invention, in the device shown in Fig. 2, it is judged that unit 210, be suitable to protect browser this locality The mark of the content deposited is sent to server, receives the latest edition number corresponding with mark that server returns;By latest edition Number version number of content preserved with browser this locality compares, and determines the need for this specified page according to comparative result Server request content.
In one embodiment of the invention, in the device shown in Fig. 2, it is judged that unit 210, be suitable to according to content corresponding Effect duration information judges whether, is judged as need not the server request content to this specified page, Otherwise it is judged as needing the server request content to this specified page;Wherein, effect duration information is to download content to browser It is configured in browser this locality time local, or effect duration information is local downloaded into browser with content.
In one embodiment of the invention, in the device shown in Fig. 2, it is judged that unit 210, be suitable to by checking browser Cookie in whether there is the content of specified portions of this specified page, judge whether browser this locality saves this appointment The content of the specified portions of the page.
In one embodiment of the invention, in the device shown in Fig. 2, loading processing unit 220, it is further adapted for only adding Carry the part being positioned at display window of specified page;Reload when display window slides and need the portion of display in display window Point.
It should be noted that the detailed description of the invention of above-mentioned each device embodiment and aforementioned corresponding method embodiment is concrete Embodiment is identical, does not repeats them here.
In sum, technical scheme, when browser wishes to load specified page, first judge the page is specified The content of part preserves in browser this locality the most, if truly having preservation, further determines whether to need to browse request The contents of the section, if need not just be loaded directly into the contents of the section of local preservation, if needed just from the clothes of specified page Business device loads after obtaining content, and updates the content of local preservation.This technical scheme is not required in the case of meeting condition Therefore to have saved downloaded the time that the contents of the section carries out loading again, significantly again to the content of server request specified portions Improve page loading velocity, the Internet resources simultaneously saved can meet under other partial contents of the page to a greater degree Carry, it is achieved thereby that completely, quickly load the technique effect of content of pages.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.All Any modification, equivalent substitution and improvement etc. made within the spirit and principles in the present invention, are all contained in protection scope of the present invention In.
It should be understood that
Algorithm and display are not intrinsic to any certain computer, virtual bench or miscellaneous equipment relevant provided herein. Various fexible units can also be used together with based on teaching in this.As described above, construct required by this kind of device Structure be apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use various Programming language realizes the content of invention described herein, and the description done language-specific above is to disclose this Bright preferred forms.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case of not having these details.In some instances, it is not shown specifically known method, structure And technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that one or more in order to simplify that the disclosure helping understands 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.But, the method for the disclosure should not be construed to reflect an intention that i.e. required guarantor The application claims feature more more than the feature being expressly recited in each claim protected.More precisely, as following Claims reflected as, inventive aspect is all features less than single embodiment disclosed above.Therefore, The claims following detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each claim itself All as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment adaptively Change and they are arranged in one or more equipment different from this embodiment.Can be the module in embodiment or list Unit or assembly are combined into a module or unit or assembly, and can put them in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit excludes each other, can use any Combine all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint Where method or all processes of equipment or unit are combined.Unless expressly stated otherwise, this specification (includes adjoint power Profit requires, summary and accompanying drawing) disclosed in each feature can be carried out generation by providing identical, equivalent or the alternative features of similar purpose Replace.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include other embodiments Some feature included by rather than further feature, but the combination of the feature of different embodiment means to be in the present invention's Within the scope of and form different embodiments.Such as, in the following claims, embodiment required for protection appoint One of meaning can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or to run on one or more processor Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that and can use in practice Microprocessor or digital signal processor (DSP) realize some in page charger according to embodiments of the present invention or The some or all functions of the whole parts of person.The present invention is also implemented as performing method as described herein Point or whole equipment or device program (such as, computer program and computer program).Such realize this Bright program can store on a computer-readable medium, or can be to have the form of one or more signal.Such Signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of not Arrange element in the claims or step.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such Element.The present invention and can come real by means of including the hardware of some different elements by means of properly programmed computer Existing.If in the unit claim listing equipment for drying, several in these devices can be by same hardware branch Specifically embody.Word first, second and third use do not indicate that any order.These word explanations can be run after fame Claim.
Embodiment of the invention discloses that A1, a kind of page loading method, wherein, the method includes:
When browser needs to load specified page, it is judged that whether browser this locality saves the specifying part of this specified page The content divided;
If this locality of browser saves described content, it may be judged whether need the server request institute to this specified page State content;
When being judged as need not, the described content preserved browser this locality is as the specified portions of described specified page Content load.
A2, method as described in A1, wherein, the method farther includes:
If this locality of browser does not preserves described content, then to content described in the server request of this specified page;
By from described server request to content be loaded into the specified portions of described specified page, and will be from described service It is local that the content that device is asked is saved in browser.
A3, method as described in A1, wherein, the method farther includes:
When being judged as needing, to content described in the server request of this specified page;
By from described server request to content be loaded into the specified portions of described specified page, and with from described service The corresponding contents that the content update browser that device is asked is local.
A4, method as described in A1, wherein, described in judge whether to need in described in the server request of this specified page Appearance includes:
Mark and the version number of the described content preserved browser this locality are sent to described server, receive described service Device needs re-request notice according to what version number's comparative result returned or need not the notice of re-request.
A5, method as described in A1, wherein, described in judge whether to need in described in the server request of this specified page Appearance includes:
The mark of described content that browser this locality preserves is sent to described server, receive that server returns with institute State the latest edition number that mark is corresponding;
The version number of the described content described latest edition number preserved with browser this locality compares, according to comparing knot Fruit determines the need for content described in the server request of this specified page.
A6, method as described in A1, wherein, described in judge whether to need in described in the server request of this specified page Appearance includes:
Judge whether it the most before the deadline, is to be judged as need not to this according to the effect duration information that described content is corresponding Content described in the server request of specified page, is otherwise judged as needing to content described in the server request of this specified page;
Wherein, described effect duration information is configured in browser this locality when being and download described content to browser this locality , or described effect duration information is local downloaded into browser with described content.
A7, method as described in A1, wherein, the described specifying part judging whether browser this locality saves this specified page The content divided includes:
Check the content of the specified portions that whether there is this specified page in the cookie of browser.
A8, method as described in A1, wherein, the method farther includes:
Only load the part being positioned at display window of described specified page;
Reload when display window slides and need the part of display in display window.
A9, method as according to any one of A1-A8, wherein,
Above-mentioned step is performed by the shell script being included in described specified page.
Embodiments of the invention also disclose B10, a kind of page charger, and wherein, this device includes:
Judging unit, is suitable to when browser needs to load specified page, it is judged that whether browser this locality saves this refers to Determine the content of the specified portions of the page;If this locality of browser saves described content, it may be judged whether need to this specific page Content described in the server request in face;
Loading processing unit, is suitable to when described judging unit is judged as need not, described in the preservation of browser this locality Content loads as the content of the specified portions of described specified page.
B11, device as described in B10, wherein,
Described loading processing unit, is further adapted for judging that this locality of browser does not preserves at described judging unit described During content, to content described in the server request of this specified page;By from described server request to content be loaded into described The specified portions of specified page, and by from described server request to content to be saved in browser local.
B12, device as described in B10, wherein,
Described loading processing unit, is further adapted for when described judging unit is judged as needing, to this specified page Content described in server request;By from described server request to content be loaded into the specified portions of described specified page, and With from described server request to the local corresponding contents of content update browser.
B13, device as described in B10, wherein,
Described judging unit, the mark and the version number that are suitable to the described content by the preservation of browser this locality are sent to described clothes Business device, receiving described server needs re-request notice according to what version number's comparative result returned or need not re-request Notice.
B14, device as described in B10, wherein,
Described judging unit, the mark being suitable to the described content by the preservation of browser this locality is sent to described server, connects Receive the latest edition number corresponding with described mark that server returns;The institute that described latest edition number is preserved with browser this locality The version number stating content compares, and determines the need in described in the server request of this specified page according to comparative result Hold.
B15, device as described in B10, wherein,
Described judging unit, be suitable to judge whether according to the effect duration information that described content is corresponding the most before the deadline, be Then it is judged as need not to content described in the server request of this specified page, is otherwise judged as needing the clothes to this specified page Described content asked by business device;
Wherein, described effect duration information is configured in browser this locality when being and download described content to browser this locality , or described effect duration information is local downloaded into browser with described content.
B16, device as described in B10, wherein,
Described judging unit, is suitable to whether exist in the cookie by checking browser the specified portions of this specified page Content, judge whether browser this locality saves the content of specified portions of this specified page.
B17, device as described in B10, wherein,
Described loading processing unit, is further adapted for only loading the part being positioned at display window of described specified page;When Display window reloads when sliding needs the part of display in display window.

Claims (10)

1. a page loading method, wherein, the method includes:
When browser needs to load specified page, it is judged that whether browser this locality saves the specified portions of this specified page Content;
If this locality of browser saves described content, it may be judged whether need in described in the server request of this specified page Hold;
When being judged as need not, the described content preserved browser this locality is as in the specified portions of described specified page Hold and load.
The most the method for claim 1, wherein the method farther includes:
If this locality of browser does not preserves described content, then to content described in the server request of this specified page;
By from described server request to content be loaded into the specified portions of described specified page, and will please from described server It is local that the content asked is saved in browser.
The most the method for claim 1, wherein the method farther includes:
When being judged as needing, to content described in the server request of this specified page;
By from described server request to content be loaded into the specified portions of described specified page, and with please from described server The corresponding contents that the content update browser asked is local.
The most the method for claim 1, wherein judge whether described in need to described in the server request of this specified page Content includes:
Mark and the version number of the described content preserved browser this locality are sent to described server, receive described server root Need re-request notice according to what version number's comparative result returned or need not the notice of re-request.
The most the method for claim 1, wherein judge whether described in need to described in the server request of this specified page Content includes:
The mark of described content that browser this locality preserves is sent to described server, receives server that return with described mark Know corresponding latest edition number;
The version number of the described content described latest edition number preserved with browser this locality compares, true according to comparative result Fixed the need of to content described in the server request of this specified page.
The most the method for claim 1, wherein judge whether described in need to described in the server request of this specified page Content includes:
Judge whether it the most before the deadline, is to be judged as need not to this appointment according to the effect duration information that described content is corresponding Content described in the server request of the page, is otherwise judged as needing to content described in the server request of this specified page;
Wherein, described effect duration information is configured in browser this locality when downloading described content to browser this locality, or Effect duration information described in person and described content are local downloaded into browser.
The most described appointment judging whether browser this locality saves this specified page The content of part includes:
Check the content of the specified portions that whether there is this specified page in the cookie of browser.
The most the method for claim 1, wherein the method farther includes:
Only load the part being positioned at display window of described specified page;
Reload when display window slides and need the part of display in display window.
9. the method as according to any one of claim 1-8, wherein,
Above-mentioned step is performed by the shell script being included in described specified page.
10. a page charger, wherein, this device includes:
Judging unit, is suitable to when browser needs to load specified page, it is judged that whether browser this locality saves this specific page The content of the specified portions in face;If this locality of browser saves described content, it may be judged whether need to this specified page Content described in server request;
Loading processing unit, is suitable to when described judging unit is judged as need not, the described content preserved browser this locality Content as the specified portions of described specified page loads.
CN201610479899.9A 2016-06-27 2016-06-27 Page loading method and device Active CN106202179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610479899.9A CN106202179B (en) 2016-06-27 2016-06-27 Page loading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610479899.9A CN106202179B (en) 2016-06-27 2016-06-27 Page loading method and device

Publications (2)

Publication Number Publication Date
CN106202179A true CN106202179A (en) 2016-12-07
CN106202179B CN106202179B (en) 2020-02-11

Family

ID=57461238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610479899.9A Active CN106202179B (en) 2016-06-27 2016-06-27 Page loading method and device

Country Status (1)

Country Link
CN (1) CN106202179B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222753A (en) * 2017-05-25 2017-09-29 北京潘达互娱科技有限公司 Virtual present loading method and device
CN107357876A (en) * 2017-07-06 2017-11-17 校脸科技(北京)有限公司 A kind of web access methods and device
CN108062371A (en) * 2017-12-12 2018-05-22 华南理工大学 A kind of Android device web page data processing system and its data processing method
CN108241689A (en) * 2016-12-26 2018-07-03 广州市动景计算机科技有限公司 Page resource acquisition methods, device and client device
CN108874856A (en) * 2018-04-09 2018-11-23 厦门欣旅通科技有限公司 A kind of page generates system, method and server
CN109933261A (en) * 2017-12-18 2019-06-25 北京奇虎科技有限公司 Exchange method, device and computer readable storage medium in live streaming application
CN111414207A (en) * 2020-03-12 2020-07-14 支付宝(杭州)信息技术有限公司 Page construction method, device and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1434399A (en) * 2002-01-24 2003-08-06 英业达股份有限公司 System and method for rearrangement of web page table
CN102591963A (en) * 2011-12-30 2012-07-18 奇智软件(北京)有限公司 Method and device for controlling webpage content loading
CN103297476A (en) * 2012-03-02 2013-09-11 腾讯科技(深圳)有限公司 Method and device for loading webpage game
CN104731869A (en) * 2015-02-28 2015-06-24 百度在线网络技术(北京)有限公司 Page display method and device
US20150207691A1 (en) * 2013-03-08 2015-07-23 Google Inc. Preloading content based on network connection behavior
CN105095280A (en) * 2014-05-13 2015-11-25 腾讯科技(深圳)有限公司 Caching method and apparatus for browser

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1434399A (en) * 2002-01-24 2003-08-06 英业达股份有限公司 System and method for rearrangement of web page table
CN102591963A (en) * 2011-12-30 2012-07-18 奇智软件(北京)有限公司 Method and device for controlling webpage content loading
CN103297476A (en) * 2012-03-02 2013-09-11 腾讯科技(深圳)有限公司 Method and device for loading webpage game
US20150207691A1 (en) * 2013-03-08 2015-07-23 Google Inc. Preloading content based on network connection behavior
CN105095280A (en) * 2014-05-13 2015-11-25 腾讯科技(深圳)有限公司 Caching method and apparatus for browser
CN104731869A (en) * 2015-02-28 2015-06-24 百度在线网络技术(北京)有限公司 Page display method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108241689A (en) * 2016-12-26 2018-07-03 广州市动景计算机科技有限公司 Page resource acquisition methods, device and client device
CN107222753A (en) * 2017-05-25 2017-09-29 北京潘达互娱科技有限公司 Virtual present loading method and device
CN107357876A (en) * 2017-07-06 2017-11-17 校脸科技(北京)有限公司 A kind of web access methods and device
CN108062371A (en) * 2017-12-12 2018-05-22 华南理工大学 A kind of Android device web page data processing system and its data processing method
CN109933261A (en) * 2017-12-18 2019-06-25 北京奇虎科技有限公司 Exchange method, device and computer readable storage medium in live streaming application
CN108874856A (en) * 2018-04-09 2018-11-23 厦门欣旅通科技有限公司 A kind of page generates system, method and server
CN111414207A (en) * 2020-03-12 2020-07-14 支付宝(杭州)信息技术有限公司 Page construction method, device and equipment

Also Published As

Publication number Publication date
CN106202179B (en) 2020-02-11

Similar Documents

Publication Publication Date Title
CN106202179A (en) A kind of page loading method and device
US11120482B2 (en) Method and system for deploying arrangements of payloads based upon engagement of website visitors
US8813060B2 (en) Context aware application model for connected devices
US9348609B2 (en) Framework for ad-hoc process flexibility
US7720865B2 (en) Document management apparatus, document management method, and storage medium storing program
US8732663B2 (en) System, method and computer program product for providing automated testing by utilizing a preconfigured point of entry in a test or by converting a test to a predefined format
US20060212865A1 (en) Application programming interface for identifying, downloading and installing applicable software updates
US8825691B2 (en) Open search assist
US9667712B2 (en) Mechanism for facilitating spin mode-based dynamic updating of application servers in an on-demand services environment
US20130031562A1 (en) Mechanism for facilitating dynamic load balancing at application servers in an on-demand services environment
CN108399331B (en) Application process trial method and system
US8874587B2 (en) Tenant placement in multitenant cloud databases with one-to-many data sharing
US20120066672A1 (en) Systems and Methods for Implementing Upgradeable Subscriber-Controlled Managed Package Components in a Multi-Tenant Environment
CN105183890A (en) Webpage loading method based on browser and browser device
CN105630932B (en) A kind of file management method and device of intelligent terminal
CN105554085B (en) A kind of dynamic timeout treatment method and apparatus based on server connection
CN105260421A (en) Webpage loading method and apparatus
CN104572968A (en) Page updating method and device
US20150039686A1 (en) Mobile Web Adaptation Techniques
US11403354B2 (en) Managing search queries of a search service
US8595224B2 (en) Smart path finding for file operations
US20090282398A1 (en) On-the-fly addition of products to an existing installation
CN109299395A (en) Content recommendation method, electronic equipment and computer storage medium based on plug-in unit
CN111737609A (en) WEB system menu bar display method, terminal and storage medium
CN106878562A (en) Control the method and device of wifi functional switches

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240114

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

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