CN103955495B - The method for down loading and device of page child resource - Google Patents
The method for down loading and device of page child resource Download PDFInfo
- Publication number
- CN103955495B CN103955495B CN201410158249.5A CN201410158249A CN103955495B CN 103955495 B CN103955495 B CN 103955495B CN 201410158249 A CN201410158249 A CN 201410158249A CN 103955495 B CN103955495 B CN 103955495B
- Authority
- CN
- China
- Prior art keywords
- page
- identification information
- resource
- sub
- downloading
- 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
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000001419 dependent effect Effects 0.000 abstract 1
- 238000004458 analytical method Methods 0.000 description 8
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
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
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 present invention provides a kind of method for down loading and device of page child resource.The embodiment of the present invention is by obtaining the page identification information of the page to be downloaded, and then according to the page identification information, obtain the identification information of at least one page child resource corresponding with the page identification information, make it possible to the identification information according at least one page child resource, download at least one page child resource, since the download of these page child resources is no longer dependent on the download and parsing of page primary resource, make it possible to avoid the problem that the speed of download of the page resource caused by needing just to start to download page child resource until being resolved to the URL of page child resource during parsing primary resource in the prior art is slower, so as to improve the speed of download of page resource.
Description
[ technical field ] A method for producing a semiconductor device
The invention relates to a World Wide Web (Web) page processing technology, in particular to a method and a device for downloading page sub-resources.
[ background of the invention ]
A client, such as a browser, first downloads a page resource to load a World Wide Web (Web) page. The current page resources include a page main resource and a page sub resource. The page main resource is a page source code, and the page sub-resource is other resources except the page main resource in the Web page, for example, a picture, a streaming media, a JavaScript script file, a Cascading Style Sheets (CSS) resource, and the like.
Currently, when a client downloads a Web page, a page main resource needs to be downloaded first, and then the page main resource needs to be analyzed. Downloading of a page sub-Resource is started only when a Uniform Resource Locator (URL) of the page sub-Resource is resolved. This results in a slower download of page resources.
[ summary of the invention ]
Aspects of the present invention provide a method and an apparatus for downloading a page sub-resource, so as to improve a downloading speed of a page resource.
One aspect of the present invention provides a method for downloading a page sub-resource, including:
acquiring page identification information of a page to be downloaded;
acquiring identification information of at least one page sub-resource corresponding to the page identification information according to the page identification information;
and downloading the at least one page sub-resource according to the identification information of the at least one page sub-resource and the priority of the at least one page sub-resource in the preloading list and the high-low order of the priority.
As to the above-mentioned aspect and any possible implementation manner, there is further provided an implementation manner, before obtaining, according to the page identification information, identification information of at least one page sub-resource corresponding to the page identification information, the method further includes:
receiving the page identification information and the identification information of the at least one page sub-resource sent by a server;
and configuring the corresponding relation between the page identification information and the identification information of the at least one page sub-resource according to the page identification information and the identification information of the at least one page sub-resource, so as to obtain the identification information of the at least one page sub-resource corresponding to the page identification information according to the corresponding relation between the page identification information and the identification information of the at least one page sub-resource and the page identification information of the page.
The above-described aspects and any possible implementations further provide an implementation, and the method further includes:
and updating the corresponding relation between the page identification information and the identification information of the at least one page sub-resource.
The above aspect and any possible implementation manner further provide an implementation manner, where the updating the correspondence between the page identification information and the identification information of the at least one page sub-resource includes:
and updating the configured corresponding relation between the page identification information and the identification information of the at least one page sub-resource according to the page browsing operation information of the user and/or the re-received page identification information and the identification information of the at least one page sub-resource sent by the server.
The above aspect and any possible implementation manner further provide an implementation manner, where after downloading the at least one page sub-resource according to the identification information of the at least one page sub-resource, the method further includes:
and downloading other page sub-resources of the page according to the page main resource of the page and the downloaded at least one page sub-resource.
In another aspect of the present invention, an apparatus for downloading a page sub-resource is provided, including:
the device comprises an obtaining unit, a downloading unit and a processing unit, wherein the obtaining unit is used for obtaining page identification information of a page to be downloaded;
the matching unit is used for acquiring the identification information of at least one page sub-resource corresponding to the page identification information according to the page identification information;
and the downloading unit is used for downloading the at least one page sub-resource according to the identification information of the at least one page sub-resource and the priority of the at least one page sub-resource in the preloading list and the high-low order of the priority.
The above-mentioned aspects and any possible implementation further provide an implementation, and the apparatus further includes a configuration unit configured to configure the apparatus to perform the method according to the above-mentioned aspect
Receiving the page identification information and the identification information of the at least one page sub-resource sent by a server; and
and configuring the corresponding relation between the page identification information and the identification information of the at least one page sub-resource according to the page identification information and the identification information of the at least one page sub-resource, so that the matching unit can obtain the identification information of the at least one page sub-resource corresponding to the page identification information according to the corresponding relation between the page identification information and the identification information of the at least one page sub-resource and the page identification information of the page.
The above-mentioned aspects and any possible implementation further provide an implementation, and the configuration unit is further configured to
And updating the corresponding relation between the page identification information and the identification information of the at least one page sub-resource.
The above-mentioned aspects and any possible implementation further provide an implementation, and the configuration unit is specifically configured to
And updating the configured corresponding relation between the page identification information and the identification information of the at least one page sub-resource according to the page browsing operation information of the user and/or the re-received page identification information and the identification information of the at least one page sub-resource sent by the server.
The foregoing aspects and any possible implementations further provide an implementation, where the downloading unit is further configured to
And downloading other page sub-resources of the page according to the page main resource of the page and the downloaded at least one page sub-resource.
According to the technical scheme, the page identification information of the page to be downloaded is obtained, and the identification information of the at least one page sub-resource corresponding to the page identification information is further obtained according to the page identification information, so that the at least one page sub-resource can be downloaded according to the identification information of the at least one page sub-resource.
In addition, by adopting the technical scheme provided by the invention, the downloading of the page sub-resources does not depend on the downloading and analysis of the page main resources any more, so that the page main resources and the page sub-resources can be downloaded simultaneously, and the network utilization rate can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the downloading of the page sub-resources does not depend on the downloading and analysis of the page main resource any more, so that the downloading speed of the page resources is improved, and the real-time property of page display can be effectively improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the embodiments or the prior art descriptions will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without inventive labor.
Fig. 1 is a schematic flowchart of a method for downloading a page sub-resource according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a device for downloading page sub-resources according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a device for downloading page sub-resources according to another embodiment of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It is understood that the Page according to the present invention may be a Web Page (Web Page) written based on hypertext markup Language (HTML), and may also be referred to as a Web Page.
It should be noted that the terminal according to the embodiment of the present invention may include, but is not limited to, a mobile phone, a Personal Digital Assistant (PDA), a wireless handheld device, a wireless netbook, a Personal Computer, a portable Computer, a Personal Computer (PC), an MP3 player, an MP4 player, and the like.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Fig. 1 is a flowchart illustrating a method for downloading a page sub-resource according to an embodiment of the present invention, as shown in fig. 1.
101. And acquiring page identification information of the page to be downloaded.
Specifically, the page identification information of the page, that is, the identification information of the page main resource, may be a URL of the page, that is, a URL of the page main resource, may be an absolute URL, or may also be a relative URL, which is not particularly limited in this embodiment.
102. And acquiring the identification information of at least one page sub-resource corresponding to the page identification information according to the page identification information.
Specifically, the identification information of the page sub-resource may be a URL of the page sub-resource, may be an absolute URL, or may also be a relative URL, which is not particularly limited in this embodiment.
103. And downloading the at least one page sub-resource according to the identification information of the at least one page sub-resource.
The execution main bodies of 101 to 103 may be downloading devices, and may be located in a local client for online downloading.
It is understood that the client may be an application installed on the terminal, for example, a browser, as long as the client can implement downloading of page resources to provide an objective existence form of page presentation, and this embodiment is not particularly limited thereto.
Therefore, by obtaining the page identification information of the page to be downloaded and then obtaining the identification information of at least one page sub-resource corresponding to the page identification information according to the page identification information, the at least one page sub-resource can be downloaded according to the identification information of the at least one page sub-resource, and since the downloading of the page sub-resources does not depend on the downloading and the analysis of the page main resource any more, the problem that the downloading speed of the page resource is slow because the downloading of the page sub-resource is started when the URL of the page sub-resource is analyzed in the process of analyzing the main resource in the prior art can be avoided, and the downloading speed of the page resource is improved.
Optionally, in a possible implementation manner of this embodiment, in 101, the downloading device may specifically obtain the page identification information of the page to be downloaded according to a user operation of the client.
For example, the user may input a URL in an address bar of the browser, and the downloading device may determine that the page to be downloaded is a page corresponding to the URL, and further obtain page identification information of the page to be downloaded, that is, the URL.
Or, for another example, the user may click a client icon on the terminal to operate the client, and the downloading device may determine that the page to be downloaded is the home page of the client or the stop page that stops before the client is closed last time, and further obtain the page identification information of the page to be downloaded, that is, the URL of the home page or the URL of the stop page.
Or, for another example, the user may click a page hyperlink on the current page, and the downloading device may determine that the page to be downloaded is a page corresponding to the page hyperlink, and further obtain page identification information of the page to be downloaded, that is, the page hyperlink.
Optionally, in a possible implementation manner of this embodiment, before 102, the downloading device may further receive the page identification information and the identification information of the at least one page sub-resource, which are sent by the server. Then, the downloading device may configure, according to the page identification information and the identification information of the at least one page sub-resource, a corresponding relationship between the page identification information and the identification information of the at least one page sub-resource, so that the downloading device executes 102, that is, according to the corresponding relationship between the page identification information and the identification information of the at least one page sub-resource and the page identification information of the page, the identification information of the at least one page sub-resource corresponding to the page identification information is obtained.
Further optionally, the downloading device may further update the configured correspondence between the page identification information and the identification information of the at least one page sub-resource.
Specifically, the downloading device may update the configured corresponding relationship between the page identifier information and the identifier information of the at least one page sub-resource according to page browsing operation information of the user, and/or re-received page identifier information and identifier information of the at least one page sub-resource sent by the server.
It can be understood that the server may be specifically located on a network side, and the server may specifically obtain a pre-loading list of the page according to at least one of characteristics of a page main resource of the page, characteristics of page sub-resources of the page, and a user operation log of the page, where the pre-loading list may include identification information of at least one page sub-resource, and the page sub-resources may be downloaded in advance without waiting until a URL of the page sub-resource is resolved in a process of resolving the main resource. The server maintains and manages the preloaded list and may issue it to the downloading device periodically.
Specifically, the server may further determine the priority of the at least one page sub-resource included in the preloading list according to the relationship between the page main resource and the page sub-resources, and the relationship between each page sub-resource, that is, the size of the contribution of the page sub-resource to the page main resource. And the identification information of the page sub-resources with high priority is arranged at the front position of the preloading list and is downloaded preferentially.
It can be understood that, since the downloading of the page sub-resources corresponding to the identification information of the page sub-resources obtained by the execution 102 no longer depends on the downloading and parsing of the page main resource, the downloading device may further download the page main resource after 101 and before, simultaneously with, or after the execution 102. Furthermore, the downloading device can analyze the downloaded page main resource. The method for analyzing the page main resource may refer to related descriptions in the prior art, and details are not repeated here.
Optionally, in a possible implementation manner of this embodiment, after 103, the downloading device may further download other page sub-resources of the page according to the page main resource of the page and the at least one downloaded (i.e., pre-downloaded) page sub-resource.
In this way, the at least one page sub-resource can be downloaded in advance without depending on the downloading of the page main resource, so that the at least one page sub-resource does not need to be downloaded when the identification information of the page sub-resources is analyzed in the process of analyzing the page main resource, and therefore, the downloading speed of the page resource can be effectively improved.
In this embodiment, by obtaining the page identification information of the page to be downloaded, and then obtaining the identification information of the at least one page sub-resource corresponding to the page identification information according to the page identification information, the at least one page sub-resource can be downloaded according to the identification information of the at least one page sub-resource, and since the downloading of the page sub-resources does not depend on the downloading and parsing of the page main resource, the problem that the downloading speed of the page resource is slow because the downloading of the page sub-resource is started when the URL of the page sub-resource is parsed in the process of parsing the main resource in the prior art can be avoided, thereby improving the downloading speed of the page resource.
In addition, by adopting the technical scheme provided by the invention, the downloading of the page sub-resources does not depend on the downloading and analysis of the page main resources any more, so that the page main resources and the page sub-resources can be downloaded simultaneously, and the network utilization rate can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the downloading of the page sub-resources does not depend on the downloading and analysis of the page main resource any more, so that the downloading speed of the page resources is improved, and the real-time property of page display can be effectively improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
Fig. 2 is a schematic structural diagram of a device for downloading page sub-resources according to another embodiment of the present invention, as shown in fig. 2. The downloading device of the page sub-resource of the present embodiment may include an obtaining unit 21, a matching unit 22, and a downloading unit 23. Wherein,
an obtaining unit 21, configured to obtain page identification information of a page to be downloaded.
Specifically, the page identification information of the page, that is, the identification information of the page main resource, may be a URL of the page, that is, a URL of the page main resource, may be an absolute URL, or may also be a relative URL, which is not particularly limited in this embodiment.
And the matching unit 22 is configured to obtain, according to the page identification information, identification information of at least one page sub-resource corresponding to the page identification information.
Specifically, the identification information of the page sub-resource may be a URL of the page sub-resource, may be an absolute URL, or may also be a relative URL, which is not particularly limited in this embodiment.
The downloading unit 23 is configured to download the at least one page sub-resource according to the identification information of the at least one page sub-resource.
It should be noted that the device for downloading the page sub-resource provided in this embodiment may be located in a local client to perform online downloading.
It is understood that the client may be an application installed on the terminal, for example, a browser, as long as the client can implement downloading of page resources to provide an objective existence form of page presentation, and this embodiment is not particularly limited thereto.
Therefore, the page identification information of the page to be downloaded is obtained through the obtaining unit, the identification information of at least one page sub-resource corresponding to the page identification information is obtained through the matching unit according to the page identification information, the downloading unit can download the at least one page sub-resource according to the identification information of the at least one page sub-resource, and the problem that the downloading speed of the page resource is low due to the fact that the downloading of the page sub-resources does not depend on the downloading and the analysis of the page main resource any more when the URL of the page sub-resource is analyzed in the process of analyzing the main resource in the prior art can be solved, and the downloading speed of the page resource is improved.
Optionally, in a possible implementation manner of this embodiment, the obtaining unit 21 may specifically obtain the page identification information of the page to be downloaded according to a user operation of the client.
For example, the user may input a URL in an address bar of the browser, and the obtaining unit 21 may determine that the page to be downloaded is a page corresponding to the URL, and further obtain the page identification information of the page to be downloaded, that is, the URL.
Or, for another example, the user may click a client icon on the terminal to operate the client, and the obtaining unit 21 may determine that the page to be downloaded is a home page of the client or a stop page that stops before the client is closed last time, and further obtain page identification information of the page to be downloaded, that is, a URL of the home page or a URL of the stop page.
Or, for another example, the user may click a page hyperlink on the current page, and the obtaining unit 21 may determine that the page to be downloaded is a page corresponding to the page hyperlink, and further obtain page identification information of the page to be downloaded, that is, the page hyperlink.
Optionally, in a possible implementation manner of this embodiment, as shown in fig. 3, the device for downloading a page sub-resource provided in this embodiment may further include a configuration unit 31, configured to receive the page identification information and the identification information of the at least one page sub-resource, which are sent by the server; and configuring a corresponding relationship between the page identification information and the identification information of the at least one page sub-resource according to the page identification information and the identification information of the at least one page sub-resource, so that the matching unit 22 obtains the identification information of the at least one page sub-resource corresponding to the page identification information according to the corresponding relationship between the page identification information and the identification information of the at least one page sub-resource and the page identification information of the page.
Further optionally, the configuration unit 31 may be further configured to update a corresponding relationship between the page identification information and the identification information of the at least one page sub-resource.
Specifically, the configuration unit 31 may specifically update the configured correspondence between the page identifier information and the identifier information of the at least one page sub-resource according to page browsing operation information of the user, and/or re-received page identifier information and identifier information of the at least one page sub-resource sent by the server.
It can be understood that the server may be specifically located on a network side, and the server may specifically obtain a pre-loading list of the page according to at least one of characteristics of a page main resource of the page, characteristics of page sub-resources of the page, and a user operation log of the page, where the pre-loading list may include identification information of at least one page sub-resource, and the page sub-resources may be downloaded in advance without waiting until a URL of the page sub-resource is resolved in a process of resolving the main resource. The server maintains and manages the preloaded list and may issue it to the downloading device periodically.
Specifically, the server may further determine the priority of the at least one page sub-resource included in the preloading list according to the relationship between the page main resource and the page sub-resources, and the relationship between each page sub-resource, that is, the size of the contribution of the page sub-resource to the page main resource. And the identification information of the page sub-resources with high priority is arranged at the front position of the preloading list and is downloaded preferentially.
It can be understood that, since the downloading of the page sub-resources corresponding to the identification information of the page sub-resources obtained by the obtaining unit 21 through performing the corresponding operation no longer depends on the downloading and parsing of the page main resource, the downloading unit 23 may be further configured to download the page main resource according to the identification information of the page main resource before, at the same time as, or after the matching unit 22 performs the corresponding operation. Furthermore, the downloading unit 23 may analyze the downloaded page master resource. The method for analyzing the page main resource may refer to related descriptions in the prior art, and details are not repeated here.
Optionally, in a possible implementation manner of this embodiment, the downloading unit 23 may be further configured to download other page sub-resources of the page according to the page main resource of the page and the at least one downloaded (i.e., pre-downloaded) page sub-resource.
In this way, the at least one page sub-resource can be downloaded in advance without depending on the downloading of the page main resource, so that the downloading unit does not need to wait for the downloading unit to download the page main resource when the identification information of the page sub-resources is analyzed in the process of analyzing the page main resource, and therefore, the downloading speed of the page resource can be effectively improved.
In this embodiment, the obtaining unit obtains the page identifier information of the page to be downloaded, and the matching unit obtains the identifier information of the at least one page sub-resource corresponding to the page identifier information according to the page identifier information, so that the downloading unit can download the at least one page sub-resource according to the identifier information of the at least one page sub-resource, and since the downloading of the page sub-resources does not depend on the downloading and parsing of the page main resource, the problem of slow downloading speed of the page resource caused by waiting until the URL of the page sub-resource is parsed in the process of parsing the main resource in the prior art can be avoided, thereby improving the downloading speed of the page resource.
In addition, by adopting the technical scheme provided by the invention, the downloading of the page sub-resources does not depend on the downloading and analysis of the page main resources any more, so that the page main resources and the page sub-resources can be downloaded simultaneously, and the network utilization rate can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the downloading of the page sub-resources does not depend on the downloading and analysis of the page main resource any more, so that the downloading speed of the page resources is improved, and the real-time property of page display can be effectively improved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for downloading page sub-resources is characterized by comprising the following steps:
acquiring page identification information of a page to be downloaded;
acquiring identification information of at least one page sub-resource corresponding to the page identification information according to the page identification information;
downloading the at least one page sub-resource according to the identification information of the at least one page sub-resource and the priority of the at least one page sub-resource in the preloading list and the high-low order of the priority;
obtaining, according to the page identification information, identification information of at least one page sub-resource corresponding to the page identification information, which specifically includes:
and acquiring the identification information of the at least one page sub-resource corresponding to the page identification information according to the corresponding relation between the page identification information and the pre-configured page identification information and the identification information of the at least one page sub-resource.
2. The method according to claim 1, wherein before obtaining the identification information of at least one page sub-resource corresponding to the page identification information according to the page identification information, the method further comprises:
receiving the page identification information and the identification information of the at least one page sub-resource sent by a server;
and configuring the corresponding relation between the page identification information and the identification information of the at least one page sub-resource according to the page identification information and the identification information of the at least one page sub-resource, so as to obtain the identification information of the at least one page sub-resource corresponding to the page identification information according to the corresponding relation between the page identification information and the identification information of the at least one page sub-resource and the page identification information of the page.
3. The method of claim 2, further comprising:
and updating the corresponding relation between the page identification information and the identification information of the at least one page sub-resource.
4. The method according to claim 3, wherein said updating the correspondence between the page identification information and the identification information of the at least one page sub-resource comprises:
and updating the configured corresponding relation between the page identification information and the identification information of the at least one page sub-resource according to the page browsing operation information of the user and/or the re-received page identification information and the identification information of the at least one page sub-resource sent by the server.
5. The method according to any one of claims 1 to 4, wherein after downloading the at least one page sub-resource in the order of priority according to the priority of the identification information of the at least one page sub-resource in the preloading list, the method further comprises:
and downloading other page sub-resources of the page according to the page main resource of the page and the downloaded at least one page sub-resource.
6. An apparatus for downloading page sub-resources, comprising:
the device comprises an obtaining unit, a downloading unit and a processing unit, wherein the obtaining unit is used for obtaining page identification information of a page to be downloaded;
the matching unit is used for acquiring the identification information of at least one page sub-resource corresponding to the page identification information according to the page identification information;
the downloading unit is used for downloading the at least one page sub-resource according to the identification information of the at least one page sub-resource and the priority of the at least one page sub-resource in the preloading list and the high-low order of the priority;
the matching unit is specifically configured to obtain the identification information of the at least one page sub-resource corresponding to the page identification information according to the correspondence between the page identification information and the pre-configured page identification information and the identification information of the at least one page sub-resource.
7. The device according to claim 6, characterized in that the device further comprises a configuration unit for
Receiving the page identification information and the identification information of the at least one page sub-resource sent by a server; and
and configuring the corresponding relation between the page identification information and the identification information of the at least one page sub-resource according to the page identification information and the identification information of the at least one page sub-resource, so that the matching unit can obtain the identification information of the at least one page sub-resource corresponding to the page identification information according to the corresponding relation between the page identification information and the identification information of the at least one page sub-resource and the page identification information of the page.
8. The apparatus of claim 7, wherein the configuration unit is further configured to
And updating the corresponding relation between the page identification information and the identification information of the at least one page sub-resource.
9. The apparatus according to claim 8, wherein the configuration unit is specifically configured to update the configured correspondence between the page identifier information and the identifier information of the at least one page sub-resource according to page browsing operation information of a user, and/or re-received page identifier information and identifier information of the at least one page sub-resource sent by the server.
10. The apparatus according to any one of claims 6 to 9, wherein the download unit is further configured to download the content from the server
And downloading other page sub-resources of the page according to the page main resource of the page and the downloaded at least one page sub-resource.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410158249.5A CN103955495B (en) | 2014-04-18 | 2014-04-18 | The method for down loading and device of page child resource |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410158249.5A CN103955495B (en) | 2014-04-18 | 2014-04-18 | The method for down loading and device of page child resource |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103955495A CN103955495A (en) | 2014-07-30 |
CN103955495B true CN103955495B (en) | 2018-05-04 |
Family
ID=51332770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410158249.5A Active CN103955495B (en) | 2014-04-18 | 2014-04-18 | The method for down loading and device of page child resource |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103955495B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572843B (en) * | 2014-12-12 | 2018-06-08 | 百度在线网络技术(北京)有限公司 | The loading method and device of a kind of page |
CN108476244A (en) * | 2016-01-13 | 2018-08-31 | 三星电子株式会社 | Shorten the method and system of page load time by using network delay |
CN107241372A (en) * | 2016-03-29 | 2017-10-10 | 阿里巴巴集团控股有限公司 | Configuration information generation, sending method and resource loading method and apparatus and system |
CN107656934B (en) * | 2016-07-25 | 2021-09-07 | 腾讯科技(深圳)有限公司 | Preloading method, device and equipment |
CN106775830B (en) * | 2016-11-25 | 2017-12-26 | 魏熙柠 | A kind of web application page script resource automatic update method and system |
CN108170723B (en) * | 2017-12-07 | 2020-09-29 | 维沃移动通信有限公司 | Webpage resource acquisition method, terminal equipment, server and system |
CN109857959A (en) * | 2019-01-04 | 2019-06-07 | 北京字节跳动网络技术有限公司 | Third party's webpage accessibility superior and inferior evaluating method, apparatus and electronic equipment |
CN111966936B (en) * | 2020-08-13 | 2023-01-06 | 苏州浪潮智能科技有限公司 | Page preloading method and equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101201827B (en) * | 2006-12-14 | 2013-02-20 | 阿里巴巴集团控股有限公司 | Method and system for displaying web page |
CN103546505A (en) * | 2012-07-12 | 2014-01-29 | 百度在线网络技术(北京)有限公司 | Method, system and device for displaying page blocks in priority order |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8972374B2 (en) * | 2008-02-12 | 2015-03-03 | International Business Machines Corporation | Content acquisition system and method of implementation |
CN102236665A (en) * | 2010-04-27 | 2011-11-09 | 华为技术有限公司 | Page loading method and page loading device |
CN101984429B (en) * | 2010-11-04 | 2012-03-14 | 北京百度网讯科技有限公司 | Method and device for acquiring destination page, search engine and browser |
CN102591877A (en) * | 2011-01-14 | 2012-07-18 | 深圳市同洲电子股份有限公司 | Webpage resource request method for embedded browser and browsing device |
CN102185915B (en) * | 2011-04-27 | 2014-11-05 | 惠州Tcl移动通信有限公司 | Mobile device and webpage loading method thereof |
-
2014
- 2014-04-18 CN CN201410158249.5A patent/CN103955495B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101201827B (en) * | 2006-12-14 | 2013-02-20 | 阿里巴巴集团控股有限公司 | Method and system for displaying web page |
CN103546505A (en) * | 2012-07-12 | 2014-01-29 | 百度在线网络技术(北京)有限公司 | Method, system and device for displaying page blocks in priority order |
Also Published As
Publication number | Publication date |
---|---|
CN103955495A (en) | 2014-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103955495B (en) | The method for down loading and device of page child resource | |
EP3465467B1 (en) | Web page accelerations for web application hosted in native mobile application | |
CN110708346B (en) | Information processing system and method | |
CN104572843B (en) | The loading method and device of a kind of page | |
CN109766082B (en) | Method and device for application program page jump | |
CN107844324B (en) | Client page jump processing method and device | |
CN103268319A (en) | Cloud browser based on webpages | |
CN110020329B (en) | Method, device and system for generating webpage | |
CN105159999A (en) | Dynamic page displaying method and dynamic page displaying device | |
CN107330087B (en) | Page file generation method and device | |
US20140095579A1 (en) | System and method for increasing web site serving performance | |
CN107305528B (en) | Application testing method and device | |
WO2017096967A1 (en) | Method and device for self-adaptively displaying web page | |
CN104881273A (en) | Webpage rendering analysis method and terminal device | |
CN104598570A (en) | Resource fetching method and device | |
US20150324479A1 (en) | Identifying a browser for rendering an electronic document | |
CN104156421B (en) | The page shows method, apparatus and system | |
CN104932910A (en) | Method and system for application program interface extension | |
CN103488735A (en) | Method and terminal for refreshing and displaying pages of terminal browser | |
CN105095289A (en) | Webpage access method and device | |
US8396920B1 (en) | Clean URLs in web applications | |
US20170169042A1 (en) | Webpage display method, mobile terminal, intelligent terminal, computer program and storage medium | |
US10095791B2 (en) | Information search method and apparatus | |
US9875316B2 (en) | Identifying user selection using coordinates and snapshots of webpages | |
CN103488508A (en) | Browser working method, browser and terminal equipment |
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 |