CN105608176B - Page access method and apparatus - Google Patents
Page access method and apparatus Download PDFInfo
- Publication number
- CN105608176B CN105608176B CN201510967810.9A CN201510967810A CN105608176B CN 105608176 B CN105608176 B CN 105608176B CN 201510967810 A CN201510967810 A CN 201510967810A CN 105608176 B CN105608176 B CN 105608176B
- Authority
- CN
- China
- Prior art keywords
- page
- resource
- current page
- current
- access
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
Abstract
The present invention proposes a kind of page access method and apparatus, the page access method includes: when user accesses current page, if the public basic resource of website belonging to the locally stored current page and the page resource of the current page, from the local page resource for obtaining the public basic resource and the current page;According to the page resource of the public basic resource and the current page, show the current page;During user accesses the current page, target pages are determined, and, in the local page resource without storing the target pages, the page resource of the target pages is loaded from server, and the page resource of the target pages is stored in local.This method can effectively promote the Whole Response efficiency of page access, promote user experience.
Description
Technical field
The present invention relates to network communication technology field more particularly to a kind of page access method and apparatus.
Background technique
It with the development of internet technology and becomes increasingly popular, memory space occupied by Internet resources is also increasing.This
So that needing to take a substantial amount of time cost to the access of Internet resources under the conditions of existing bandwidth and network transmission.
In order to improve the access efficiency of Internet resources, caching page history resource or pre-add can be passed through in the related technology
The mode of page resource is carried to promote the access efficiency of Internet resources.But the relevant technologies only consider single factors, to the page
The promotion of the Whole Response efficiency of access is limited.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, an object of the present invention is to provide a kind of page access method, this method can effectively promote the page
The Whole Response efficiency of access promotes user experience.
It is another object of the present invention to propose a kind of page access device.
In order to achieve the above objectives, the page access method that first aspect present invention embodiment proposes, comprising: accessed in user
When current page, if the public basic resource of website belonging to the locally stored current page and the current page
Page resource, then from the local page resource for obtaining the public basic resource and the current page;According to the public base
The page resource of plinth resource and the current page shows the current page;The process of the current page is accessed in user
In, determine target pages, and, in the local page resource without storing the target pages, described in server load
The page resource of target pages, and the page resource of the target pages is stored in local.
The page access method that first aspect present invention embodiment proposes can by the different disposal of user's different phase
To realize more strategy fusions, the Whole Response efficiency of page access is effectively increased, the user experience is improved.
In order to achieve the above objectives, the page access device that second aspect of the present invention embodiment proposes, comprising: module is obtained,
For user access current page when, if the public basic resource of website belonging to the locally stored current page and
The page resource of the current page, then from the local page resource for obtaining the public basic resource and the current page;
Display module shows the current page for the page resource according to the public basic resource and the current page;The
One loading module, for user access the current page during, determine target pages, and, locally do not deposit
When storing up the page resource of the target pages, the page resource of the target pages is loaded from server, and by the page object
The page resource in face is stored in local.
The page access device that second aspect of the present invention embodiment proposes can by the different disposal of user's different phase
To realize more strategy fusions, the Whole Response efficiency of page access is effectively increased, the user experience is improved.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram for the page access method that one embodiment of the invention proposes;
Fig. 2 is the flow diagram for the page access method that another embodiment of the present invention proposes;
Fig. 3 is that the corresponding flow diagram for preloading parameter of current page is updated in the embodiment of the present invention;
Fig. 4 is the flow diagram that target pages are determined in the embodiment of the present invention;
Fig. 5 is user's browsing pages topological structure schematic diagram in the embodiment of the present invention;
Fig. 6 is the structural schematic diagram for the page access device that another embodiment of the present invention proposes;
Fig. 7 is the structural schematic diagram for the page access device that another embodiment of the present invention proposes.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar module or module with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.On the contrary, this
The embodiment of invention includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal
Object.
Fig. 1 is the flow diagram for the page access method that one embodiment of the invention proposes, this method comprises:
S11: when user accesses current page, if the public base of website belonging to the locally stored current page
The page resource of plinth resource and the current page, then from the local page for obtaining the public basic resource and the current page
Face resource.
Wherein, locally refer to client local.
Public basic resource for example, website framework resources, the basic resources of webpage representation dependence and data etc..The page
Resource refers to specific data and resource of each page etc..Public basic resource and page resource can form the complete page.
S12: according to the page resource of the public basic resource and the current page, show the current page.
It, can be by public basic resource and current page after getting the page resource of public basic resource and current page
The page resource in face combines, and obtains current page, and show current page.
On the other hand, if the local page resource without storing public basic resource or current page, client can
To interact with the server of website, corresponding resource is loaded from server.
Referring to fig. 2, the process for showing current page can specifically include:
S201: user's Website login is determined.
For example, user passes through web site url Website login.
S202: otherwise the local public basic resource for whether being stored with the website of inquiry, executes if so, executing S203
S204。
S203: the public basic resource is obtained from local.
S204: public basic resource is loaded from the server of website.
S205: determine that user accesses the current page of the website.
For example, user clicks the links and accesses current page of current page.
S206: otherwise the local page resource for whether having stored the current page of inquiry, executes if so, executing S207
S208。
S207: from the local page resource for obtaining current page.
S208: from the page resource of server load current page.
S209: current page is showed according to the page resource of public basic resource and current page.
In the present embodiment, by the way that public basic resource and page resource is being locally stored, the acquisition speed of resource can be accelerated
Degree promotes the speed that user accesses current page to accelerate the speed that shows of current page.
On the other hand, when the locally public basic resource of no storage, public basis is preloaded in user's Website login
Resource just loads the mode of public basic resource when being equivalent to user to access pages, can also accelerate resource acquisition speed, improves
Webpage representation speed.
S13: during user accesses the current page, determining target pages, and, locally without storage institute
When stating the page resource of target pages, the page resource of the target pages is loaded from server, and by the target pages
Page resource is stored in local.
Referring to fig. 2, the process for loading the page resource of target pages may include:
S210: determine that user executes the access operation of current page.
For example, user browses current page.
S211: target pages are determined.
Determine that the detailed process of target pages may refer to subsequent associated description.
S212: otherwise the local resource for whether having stored target pages of inquiry, executes S214 if so, executing S213.
S213: judging whether the resource for needing to update the target pages being locally stored, if so, executing S214, otherwise, executes
S215。
Validity period can be set in public basic resource, page resource etc., after the time being more than validity period, demonstrates the need for more
Newly, when needing to update, not out of date respective resources can be loaded from server again.
S214: the resource of target pages is loaded from server and is stored in local.
S215: not operating, and keeps locally stored content constant.
It, can be with by loading the page resource of target pages during user accesses current page in the present embodiment
The preloading of target pages is realized, therefore, in follow-up process in the access target page, since target pages have been stored in this
Ground can accelerate the access speed of target pages.
In addition, when user terminates the access to the current page, if local without described in storage or needs update
The page resource of current page, then in the page resource that the not out of date current page is locally stored.Wherein it is possible to which page is arranged
The expired time of face resource and public basic resource reacquires not out of date resource from server after resource is expired.
When user logs off, if local do not store or need to update the public basic resource, in local
Store the not out of date public basic resource.
Specifically, referring to fig. 2, this method can also include:
S216: otherwise judging whether, which terminates current page access, executes S210 if so, executing S217.
S217: otherwise the local page resource for whether having stored current page of inquiry, executes if so, executing S218
S218: judging whether to need to update the page resource of current page, if so, executing S219, otherwise, executes S215.
S219: in the page resource that not out of date current page is locally stored.
S220: the corresponding preloading parameter of current page is updated.
The alternative set of the corresponding previous page for preloading parameter and including: current page of current page, current page
The load time delay of access times, current page in the nearest preset time period of history access times, current page.
For example, current page is b, b is to jump to come from page a, then the previous page of current page is page a, if
There is no page b in the alternative set of original page a, then can increase page b in the alternative set of page a.
Nearest preset time period is the period relative to history access closer to current time, for example, history access time
Number is nearest 10 days access times, and the access times of nearest preset time period are, for example, nearest 3 days access times.
It is average time spent by page loading procedure that the page, which loads time delay,.
Referring to Fig. 3, updating the corresponding process for preloading parameter of current page may include:
S31: the alternative set of the previous page of current page is updated;
S32: the history access times of current page are updated;
S33: the access times in the nearest preset time period of current page are updated;
S34: the load time delay of current page is updated.
Wherein, it can be updated since preset initial value when update, initial value is, for example, 0.
S221: judging whether user logs off, if so, executing S222, otherwise executes S205.
S222: whether inquiry is local has stored public basic resource, if so, executing S223, otherwise, executes S224.
S223: judging whether to need to update public basic resource, if so, executing S224, otherwise, executes S225.
S224: not out of date public basic resource is being locally stored.
S225: terminate.
It,, can in the page resource that current page is locally stored by the end of the access of current page in the present embodiment
The page resource of current page is obtained from local, to accelerate the visit of current page in the subsequent current page of access again
Ask speed.By the way that in the public basic resource that website is locally stored, the website can be accessed again subsequent when exiting website
When, public basic resource is obtained from local, accelerates page access speed.
It, can be with the preload target page when user accesses the process of current page in above-mentioned process.
Referring to fig. 4, the process for determining target pages may include:
S41: obtaining alternative set, includes at least one alternative target page in the alternative set.
Wherein it is possible to determine alternative set according to the historical information of record.
For example, the next-hop page of page a includes: page b, page c etc. in history, then it can be by page b and page c
Form the alternative set of page a.
In addition, can be selected to access most frequent preset according to access frequency when selecting the alternative set of current page
The alternative set of next-hop page composition of number, and/or, the next-hop page composition of access time nearest predetermined number is standby
Selected works conjunction etc..
S42: corresponding each alternative target page obtains the user behavior characteristics of the alternative target page.
User behavior characteristics include: the history access times of the page, the access times in the nearest preset time period of the page,
The load time delay of the page.
The process of prediction target pages will not only consider active user to the history access frequency of target pages, because of history
Access frequency is only a kind of estimated value for the average tendency made from the angle of probability statistics.History access frequency usually reflects
Not quick, poor in timeliness.And the conclusion based on user behavior credit analysis shows that the user behavior of actually nearest a period of time is special
It levies to judging and the behavior that may occur of prediction user's future is with more scientific.It is based on this principle, this implementation
Example introduces the influence factor of recent visit frequency.Page load delay refers to average time spent by page loading procedure.It is logical
In normal situation, page load delay time is longer, influences on the response efficiency of page access bigger.Therefore, this algorithm is same
Page load is paid the utmost attention under the conditions of sample postpones the big page as the preload target page.
S43: it according to the user behavior characteristics and the corresponding weight factor of each user behavior characteristics, is calculated every
The strategy value of a alternative target page.
For example, strategy value is indicated with W;
Weight factor indicates with α, β, λ respectively, α, β, λ ∈ [0,1], and alpha+beta+λ=1.The value of weight factor can root
It is adjusted according to the characteristics of application itself.For example, α, β, λ are respectively set to 0.5,0.3,0.2.By increasing the weight of α, so that
It preloads strategy and has more timeliness, by increasing β weight, then be suitble to have with page access and the overall trend jumped relatively steady
The considerations of qualitative features, comprehensive λ weight, makes the promotion effect for preloading bring page response more obvious.Different weights
What the factor embodied is comprehensively considered to a variety of possible influence factors, and calculated result is more standby credible.
Assuming that corresponding to an alternative target page, the access times in the nearest preset time period of the alternative target page are used
RecentRate (a) indicates that the history access times of the alternative target page are indicated with HistoryRate (a), the alternative target
DelayTime (a) expression is adopted when the load of the page, corresponding weight factor is indicated with α, β, λ respectively, then the alternative target page
The calculation formula of the strategy value W of face a is:
W=α * RecentRate+ β * HistoryRate (a)+λ * DelayTime (a).
Wherein, " * " indicates multiplication operation.
S44: the maximum alternative target page of strategy value is determined as target pages.
It, can be by the corresponding alternative target page of maximum W in calculating alternative set after the W of each alternative target page
Face is determined as target pages.
After determining target pages, the page resource of target pages can be loaded in the access process of current page
And it is stored in local, thus it is subsequent in the access target page, since the page resource of target pages has been preloaded and stored in
It is local, the access speed of target pages can be accelerated.
In order to more specifically illustrate that the algorithm for calculating target pages in the present embodiment realizes process, user's access is given below
Procedural formalism is abstract to be described with mathematical model.User's access process is abstracted into oriented weighted network topological diagram, such as Fig. 5 institute
Show, is user's browsing pages topological structure schematic diagram.Node representation page on figure, side representation page jump, the weight W table on side
Show preloading strategy value.
Shown in following matrix, when the page access provided for the describing mode based on weighted network topological diagram oriented in Fig. 5
It carves and preloads strategy matrix description.
Wherein, M indicates that user accesses and preloads strategy matrix.Wherein aijIt indicates when user is in page aiWhen access, target
Page ajPreloading strategy value, A={ a0,a1,a2,…,an-1Indicate the page set that active user accesses.
In the present embodiment, by the different disposal of user's different phase, more strategy fusions may be implemented, effectively increase page
The Whole Response efficiency that interview is asked, the user experience is improved.Further, by determining page object according to user behavior characteristics
Face effectively improves the cache hit rate and page response efficiency of target pages preloading.Specifically, passing through user's Website login
When preload public basic resource, user accesses the page resource of the preload target page during current page, terminates to work as
The page resource of current page is locally stored when the access of the preceding page, the public basis money of website is locally stored when logging off
The mode blended based on a variety of strategies may be implemented in source, effectively increases the Whole Response efficiency of page access, improves use
Family experience.In addition, by the history access frequency of the different weight comprehensive assessment target pages of setting, a period of time accesses recently
The influence factors such as frequency, load time delay, effectively improve the cache hit rate and page response efficiency of target pages preloading.
Fig. 6 is the structural schematic diagram for the page access device that another embodiment of the present invention proposes, which includes: acquisition mould
Block 61, display module 62 and the first loading module 63.
Module 61 is obtained, is used for when user accesses current page, if belonging to the locally stored current page
The public basic resource of website and the page resource of the current page, then from the local public basic resource and described of obtaining
The page resource of current page.
Wherein, locally refer to client local.
Public basic resource for example, website framework resources, the basic resources of webpage representation dependence and data etc..The page
Resource refers to specific data and resource of each page etc..Public basic resource and page resource can form the complete page.
On the other hand, if the local page resource without storing public basic resource or current page, client can
To interact with the server of website, corresponding resource is loaded from server.
In some embodiments, referring to Fig. 7, the device further include:
Second loading module 64 is used for when user logs in the website, if local without storing the public basis
Resource then loads the public basic resource from server.
Display module 62 shows described for the page resource according to the public basic resource and the current page
Current page.
It, can be by public basic resource and current page after getting the page resource of public basic resource and current page
The page resource in face combines, and obtains current page, and show current page.
First loading module 63, for user access the current page during, determine target pages, and,
In the local page resource without storing the target pages, the page resource of the target pages is loaded from server, and
The page resource of the target pages is stored in local.
Optionally, first loading module 63 is for determining target pages, comprising:
Alternative set is obtained, includes at least one alternative target page in the alternative set;
Corresponding each alternative target page, obtains the user behavior characteristics of the alternative target page;
According to the user behavior characteristics and the corresponding weight factor of each user behavior characteristics, it is calculated each standby
Select the strategy value of target pages;
The maximum alternative target page of strategy value is determined as target pages.
Optionally, the user behavior characteristics include:
The history access times of the page, the access times in the nearest preset time period of the page, the load time delay of the page.
Wherein it is possible to determine alternative set according to the historical information of record.
For example, the next-hop page of page a includes: page b, page c etc. in history, then it can be by page b and page c
Form the alternative set of page a.
In addition, can be selected to access most frequent preset according to access frequency when selecting the alternative set of current page
The alternative set of next-hop page composition of number, and/or, the next-hop page composition of access time nearest predetermined number is standby
Selected works conjunction etc..
User behavior characteristics include: the history access times of the page, the access times in the nearest preset time period of the page,
The load time delay of the page.
The process of prediction target pages will not only consider active user to the history access frequency of target pages, because of history
Access frequency is only a kind of estimated value for the average tendency made from the angle of probability statistics.History access frequency usually reflects
Not quick, poor in timeliness.And the conclusion based on user behavior credit analysis shows that the user behavior of actually nearest a period of time is special
It levies to judging and the behavior that may occur of prediction user's future is with more scientific.It is based on this principle, this implementation
Example introduces the influence factor of recent visit frequency.Page load delay refers to average time spent by page loading procedure.It is logical
In normal situation, page load delay time is longer, influences on the response efficiency of page access bigger.Therefore, this algorithm is same
Page load is paid the utmost attention under the conditions of sample postpones the big page as the preload target page.
For example, strategy value is indicated with W;
Weight factor indicates with α, β, λ respectively, α, β, λ ∈ [0,1], and alpha+beta+λ=1.The value of weight factor can root
It is adjusted according to the characteristics of application itself.For example, α, β, λ are respectively set to 0.5,0.3,0.2.By increasing the weight of α, so that
It preloads strategy and has more timeliness, by increasing β weight, then be suitble to have with page access and the overall trend jumped relatively steady
The considerations of qualitative features, comprehensive λ weight, makes the promotion effect for preloading bring page response more obvious.Different weights
What the factor embodied is comprehensively considered to a variety of possible influence factors, and calculated result is more standby credible.
Assuming that corresponding to an alternative target page, the access times in the nearest preset time period of the alternative target page are used
RecentRate (a) indicates that the history access times of the alternative target page are indicated with HistoryRate (a), the alternative target
DelayTime (a) expression is adopted when the load of the page, corresponding weight factor is indicated with α, β, λ respectively, then the alternative target page
The calculation formula of the strategy value W of face a is:
W=α * RecentRate+ β * HistoryRate (a)+λ * DelayTime (a).
Wherein, " * " indicates multiplication operation.
It, can be by the corresponding alternative target page of maximum W in calculating alternative set after the W of each alternative target page
Face is determined as target pages.
After determining target pages, the page resource of target pages can be loaded in the access process of current page
And it is stored in local, thus it is subsequent in the access target page, since the page resource of target pages has been preloaded and stored in
It is local, the access speed of target pages can be accelerated.
In some embodiments, referring to Fig. 7, the device further include:
First memory module 65, when terminating to access the current page for user, if local without storing or needing
The page resource of the current page is updated, then in the page resource that the not out of date current page is locally stored.
In some embodiments, referring to Fig. 7, the device further include:
Update module 66, for updating current page after the page resource that the not out of date current page is locally stored
The corresponding preloading parameter in face.
The alternative set of the corresponding previous page for preloading parameter and including: current page of current page, current page
The load time delay of access times, current page in the nearest preset time period of history access times, current page.
For example, current page is b, b is to jump to come from page a, then the previous page of current page is page a, if
There is no page b in the alternative set of original page a, then can increase page b in the alternative set of page a.
Nearest preset time period is the period relative to history access closer to current time, for example, history access time
Number is nearest 10 days access times, and the access times of nearest preset time period are, for example, nearest 3 days access times.
It is average time spent by page loading procedure that the page, which loads time delay,.
In some embodiments, referring to Fig. 7, the device further include:
Second memory module 67, for when user logs off, if local do not store or need to update the public affairs
With basic resource, then the not out of date public basic resource is being locally stored.
Wherein it is possible to which the expired time of page resource and public basic resource is arranged, after resource is expired, think highly of from service
Newly obtain not out of date resource.
Particular content in the present embodiment may refer to the associated description in embodiment of the method, and details are not described herein.
In the present embodiment, by the different disposal of user's different phase, more strategy fusions may be implemented, effectively increase page
The Whole Response efficiency that interview is asked, the user experience is improved.Further, by determining page object according to user behavior characteristics
Face effectively improves the cache hit rate and page response efficiency of target pages preloading.Specifically, passing through user's Website login
When preload public basic resource, user accesses the page resource of the preload target page during current page, terminates to work as
The page resource of current page is locally stored when the access of the preceding page, the public basis money of website is locally stored when logging off
The mode blended based on a variety of strategies may be implemented in source, effectively increases the Whole Response efficiency of page access, improves use
Family experience.In addition, by the history access frequency of the different weight comprehensive assessment target pages of setting, a period of time accesses recently
The influence factors such as frequency, load time delay, effectively improve the cache hit rate and page response efficiency of target pages preloading.
It should be noted that in the description of the present invention, term " first ", " second " etc. are used for description purposes only, without
It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple "
Refer at least two.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (10)
1. a kind of page access method characterized by comprising
User access current page when, if the public basic resource of website belonging to the locally stored current page and
The page resource of the current page, then from the local page resource for obtaining the public basic resource and the current page;
According to the page resource of the public basic resource and the current page, show the current page;
During user accesses the current page, target pages are determined, and, locally without storing the page object
When the page resource in face, the page resource of the target pages is loaded from server, and by the page resource of the target pages
It is stored in local;Wherein, the target pages are determined from alternative set, and the alternative set is according to the current page history
On the next-hop page determine, alternatively, being determined according to the access frequency of the next-hop page and/or access time.
2. the method according to claim 1, wherein the determining target pages, comprising:
Alternative set is obtained, includes at least one alternative target page in the alternative set;
Corresponding each alternative target page, obtains the user behavior characteristics of the alternative target page;
According to the user behavior characteristics and the corresponding weight factor of each user behavior characteristics, each alternative mesh is calculated
Mark the strategy value of the page;
The maximum alternative target page of strategy value is determined as target pages.
3. according to the method described in claim 2, it is characterized in that, the user behavior characteristics include:
The history access times of the page, the access times in the nearest preset time period of the page, the load time delay of the page.
4. method according to claim 1-3, which is characterized in that further include:
When user logs in the website, if local without storing the public basic resource, described in server load
Public basic resource.
5. method according to claim 1-3, which is characterized in that further include:
When user terminates to access the current page, if the local page not stored or need to update the current page
Resource, then in the page resource that the not out of date current page is locally stored.
6. according to the method described in claim 5, it is characterized by further comprising:
After the page resource that the not out of date current page is locally stored, the corresponding preloading parameter of current page is updated.
7. method according to claim 1-3, which is characterized in that further include:
When user logs off, if local do not store or need to update the public basic resource, it is being locally stored
The not out of date public basic resource.
8. a kind of page access device characterized by comprising
Module is obtained, is used for when user accesses current page, if website belonging to the locally stored current page
The page resource of public basic resource and the current page then obtains the public basic resource and the current page from local
The page resource in face;
Display module shows the current page for the page resource according to the public basic resource and the current page
Face;
First loading module, for user access the current page during, determine target pages, and, in local
When not storing the page resource of the target pages, the page resource of the target pages is loaded from server, and will be described
The page resource of target pages is stored in local;Wherein, the target pages are determined from alternative set, the alternative set root
It is determined according to the historical next-hop page of the current page, alternatively, when according to the access frequency and/or access of the next-hop page
Between determine.
9. device according to claim 8, which is characterized in that first loading module is wrapped for determining target pages
It includes:
Alternative set is obtained, includes at least one alternative target page in the alternative set;
Corresponding each alternative target page, obtains the user behavior characteristics of the alternative target page;
According to the user behavior characteristics and the corresponding weight factor of each user behavior characteristics, each alternative mesh is calculated
Mark the strategy value of the page;
The maximum alternative target page of strategy value is determined as target pages.
10. device according to claim 8 or claim 9, which is characterized in that further include:
Update module, for it is corresponding to update current page after the page resource that the not out of date current page is locally stored
Preloading parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510967810.9A CN105608176B (en) | 2015-12-18 | 2015-12-18 | Page access method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510967810.9A CN105608176B (en) | 2015-12-18 | 2015-12-18 | Page access method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105608176A CN105608176A (en) | 2016-05-25 |
CN105608176B true CN105608176B (en) | 2019-03-26 |
Family
ID=55988115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510967810.9A Active CN105608176B (en) | 2015-12-18 | 2015-12-18 | Page access method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105608176B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107704605B (en) * | 2017-10-13 | 2021-04-09 | 北京中教在线科技有限公司 | User behavior recording method based on local storage |
CN108255556B (en) * | 2017-12-29 | 2023-10-27 | 北京拉近众博科技有限公司 | Interface sharing method and device for multiple interfaces |
CN109033147B (en) * | 2018-06-12 | 2021-10-22 | 网宿科技股份有限公司 | Data display method, terminal and computer storage medium |
CN110889059A (en) * | 2018-09-11 | 2020-03-17 | 优视科技有限公司 | Method, client, server and system for presetting page resources |
CN111274516B (en) * | 2018-12-04 | 2024-04-05 | 阿里巴巴新加坡控股有限公司 | Page display method, page configuration method and device |
CN109753615B (en) * | 2018-12-24 | 2020-07-03 | 北京三快在线科技有限公司 | Method and device for preloading webpage, storage medium and electronic equipment |
CN109819033A (en) * | 2019-01-25 | 2019-05-28 | 杭州迪普科技股份有限公司 | A kind of resource file loading method and system |
CN115828007B (en) * | 2022-11-21 | 2023-08-04 | 上海秉匠信息科技有限公司 | Page display method, device and system, electronic equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102479249A (en) * | 2010-11-26 | 2012-05-30 | 中国科学院声学研究所 | Method for eliminating cache data of memory of embedded browser |
CN102867007A (en) * | 2011-07-08 | 2013-01-09 | 腾讯科技(深圳)有限公司 | Webpage browsing method and device |
CN102902805A (en) * | 2012-10-15 | 2013-01-30 | 东软集团股份有限公司 | Page access method and device |
CN104142966A (en) * | 2013-09-26 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Web page displaying method and client |
CN104731974A (en) * | 2015-04-13 | 2015-06-24 | 上海新炬网络信息技术有限公司 | Dynamic page loading method based on big data stream type calculation |
CN104850434A (en) * | 2015-04-30 | 2015-08-19 | 腾讯科技(深圳)有限公司 | Method and apparatus for downloading multimedia resources |
CN104871141A (en) * | 2012-12-28 | 2015-08-26 | 华为技术有限公司 | Predictive caching in a distributed communication system |
-
2015
- 2015-12-18 CN CN201510967810.9A patent/CN105608176B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102479249A (en) * | 2010-11-26 | 2012-05-30 | 中国科学院声学研究所 | Method for eliminating cache data of memory of embedded browser |
CN102867007A (en) * | 2011-07-08 | 2013-01-09 | 腾讯科技(深圳)有限公司 | Webpage browsing method and device |
CN102902805A (en) * | 2012-10-15 | 2013-01-30 | 东软集团股份有限公司 | Page access method and device |
CN104871141A (en) * | 2012-12-28 | 2015-08-26 | 华为技术有限公司 | Predictive caching in a distributed communication system |
CN104142966A (en) * | 2013-09-26 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Web page displaying method and client |
CN104731974A (en) * | 2015-04-13 | 2015-06-24 | 上海新炬网络信息技术有限公司 | Dynamic page loading method based on big data stream type calculation |
CN104850434A (en) * | 2015-04-30 | 2015-08-19 | 腾讯科技(深圳)有限公司 | Method and apparatus for downloading multimedia resources |
Also Published As
Publication number | Publication date |
---|---|
CN105608176A (en) | 2016-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105608176B (en) | Page access method and apparatus | |
US10013502B1 (en) | Preloading resources of a web page | |
EP3117341B1 (en) | Prefetching application data for periods of disconnectivity | |
CN104468807B (en) | Carry out processing method, high in the clouds device, local device and the system of web cache | |
US7979520B2 (en) | Prescriptive architecture recommendations | |
US20180285470A1 (en) | A Mobile Web Cache Optimization Method Based on HTML5 Application Caching | |
US11163811B2 (en) | Ranking of documents based on their semantic richness | |
CN103312733B (en) | Information processing method and device | |
EP2488958A2 (en) | Pre-fetching content items based on social distance | |
CN102656570B (en) | For method and the server of buffer memory | |
CN103329151A (en) | Recommendations based on topic clusters | |
CN105453042A (en) | Pre-fetching content for service-connected applications | |
CN1234086C (en) | System and method for high speed buffer storage file information | |
US20200319954A1 (en) | Webpage loading method, webpage loading system and server | |
CN109981659A (en) | Internet resources forecasting method and system based on data deduplication technology | |
US9722851B1 (en) | Optimized retrieval of network resources | |
US20170118277A1 (en) | Determining and assigning a default value to a current server response if the current server response is not received from the server within a time-limit | |
US20080301541A1 (en) | Online internet navigation system and method | |
EP3956796A1 (en) | Cross-site semi-anonymous tracking | |
CN112131507A (en) | Website content processing method, device, server and computer-readable storage medium | |
WO2020014087A1 (en) | System and method for taxonomic analysis of a website | |
CN108062352B (en) | Webpage page caching processing method, mobile terminal equipment and medium product | |
US20160283480A1 (en) | Assigning content objects to delivery networks | |
CN110362776A (en) | Browser front-end data storage method, device, equipment and readable storage medium storing program for executing | |
CN103442000B (en) | WEB caching replacement method and device, http proxy server |
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 |