CN107402938B - Page display method and device and client equipment - Google Patents

Page display method and device and client equipment Download PDF

Info

Publication number
CN107402938B
CN107402938B CN201610343577.1A CN201610343577A CN107402938B CN 107402938 B CN107402938 B CN 107402938B CN 201610343577 A CN201610343577 A CN 201610343577A CN 107402938 B CN107402938 B CN 107402938B
Authority
CN
China
Prior art keywords
page
loading
key
information
relevant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610343577.1A
Other languages
Chinese (zh)
Other versions
CN107402938A (en
Inventor
陈汝龙
陈浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Youshi Technology (China) Co., Ltd
Original Assignee
Alibaba China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN201610343577.1A priority Critical patent/CN107402938B/en
Priority to PCT/CN2017/085129 priority patent/WO2017202255A1/en
Publication of CN107402938A publication Critical patent/CN107402938A/en
Application granted granted Critical
Publication of CN107402938B publication Critical patent/CN107402938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a page display method and device and corresponding client equipment. The page display method comprises the following steps: sending a page loading request; in response to sending the page loading request, searching relevant loading information of key resources of the page, wherein the key resources are resources which can block the display of the page; under the condition that the relevant loading information is found, loading the key resources of the page by using the relevant loading information; receiving page data of the page returned according to the page loading request; and analyzing the page data based on the loading result of the key resources. By preloading the key resources which can cause blocking independently of page parsing, the problem of page blocking can be fundamentally solved, page display is accelerated, and user browsing experience is improved accordingly.

Description

Page display method and device and client equipment
Technical Field
The present application relates to page display, and in particular, to a page display method and apparatus, and a client device.
Background
With the increasing popularity of network technology and various clients, people increasingly rely on browsing web pages to obtain information, so that the web pages are displayed as quickly as possible to facilitate browsing of users, and the web pages are a common pursuit target of various manufacturers.
The factors affecting the page display speed are various, but as far as the page itself is concerned, some key resources can block the page resolution process. For web pages written using the HTML language (e.g., HTML5) today, it is necessary to use Cascading Style Sheets (CSS) and Javascript (JS) to control the display characteristics of the web page, but CSS and JS have the characteristic of blocking page parsing. For example, the page parsing process needs to wait until the JS script is loaded from the network and the parsing is completed. Such blocking can greatly affect the display performance of the web page.
For such cases, most browser solutions pre-scan the sub-resources of the rest of the page for pre-loading while waiting for the JS or CSS to load. This can speed up the presentation of the page to some extent. However, this solution does not fundamentally solve the problem, as JS and CSS still block the parsing of the page. In other words, the restoration of page resolution still needs to wait for the completion of the loading of the above-mentioned critical resources.
Therefore, in order to fundamentally solve the above problems, a method and an apparatus for displaying a page and a corresponding client device are needed.
Disclosure of Invention
In order to solve at least one of the above problems, the present invention provides a page display method, an apparatus and a corresponding client device, which implement quick page display by preloading key resources that may hinder page display.
According to one aspect of the invention, a page display method is provided, which comprises the following steps: sending a page loading request; in response to sending the page loading request, searching relevant loading information of key resources of the page, wherein the key resources are resources which can block the display of the page; under the condition that the relevant loading information is found, loading the key resources of the page by using the relevant loading information; receiving page data of the page returned according to the page loading request; and analyzing the page data based on the loading result of the key resources.
Therefore, by storing the loading information related to the key resource analyzed by the blocked page in advance, the page can be requested to be loaded and the key resource can be immediately and preliminarily loaded according to the related information. Therefore, when the page data is received and the analysis is started, the key resources which would block the analysis are likely to be loaded completely (or at least are already in the process of loading), thereby fundamentally solving the problem of slow page display caused by the key resources blocking the page analysis.
Preferably, finding the relevant loading information of the key resource of the page comprises: looking for the relevant loading information in a local memory; and/or looking for the relevant loading information over a network.
Therefore, the acquisition mode of the related information can be reasonably selected according to the actual situation, and the rapid display of the page is further promoted.
Preferably, in the process of parsing the page data, relevant loading information related to key resources loading the page is collected, and the relevant loading information is stored or updated in the local memory and/or on a network.
Therefore, the relevant loading information can be known or updated in time, so that the accurate preloading of the key resources is optimized, and the rapid display of the page is further promoted.
Preferably, the relevant loading information of the page is stored in association with the URL of the page and includes the URL and the type of the key resource.
Therefore, the key resources can be quickly identified and loaded, and smooth analysis and quick display of the page are promoted.
Preferably, the relevant loading information of the key resource further includes at least one of a priority, a resource hit rate, and a confidence of the key resource.
In this way, the nature of the key resource can be more accurately judged, so that the key resource can be more appropriately loaded to promote the rapid resolution of the page.
Preferably, the key resources include at least one of: CSS information in the page data; and non-asynchronous external JavaScript information in the page data.
Thereby further defining the blocking objects in the prior art to facilitate preloading of critical resources and further speed up page presentation.
Preferably, the key resources may include only resources that would prevent presentation of the first screen content of the page.
Therefore, the key resources are limited to the first screen, the preloading process is further optimized, and the loading efficiency is improved.
According to another aspect of the present invention, there is provided a page displaying apparatus including: a page loading request sending unit, configured to send a page loading request; a related loading information searching unit, configured to search, in response to sending the page loading request, related loading information of a key resource of the page, where the key resource is a resource that may hinder display of the page; the key information loading unit is used for loading the key resources of the page by using the related loading information under the condition that the related loading information is found; the page data receiving unit is used for receiving the page data of the page returned according to the page loading request; and a page data parsing unit for parsing the page data based on a loading result of the key resource.
Preferably, the related loading information finding unit may find the related loading information in a local memory and/or through a network.
Preferably, the page displaying apparatus may further include: and the related loading information collecting unit is used for collecting related loading information related to key resources for loading the page in the process of analyzing the page data, and storing or updating the related loading information in the local memory and/or on the network.
According to still another aspect of the present invention, there is provided a client apparatus including: a communication module; a memory; a display; and a processor connected to the communication module, the memory, and the display, the processor to: sending a page loading request; in response to a page loading request sent by the communication module, searching relevant loading information of key resources of the page, wherein the key resources are resources which can block the display of the page; in the case that the relevant loading information is found, storing the relevant loading information in a memory and loading the key resources of the page by using the relevant loading information; receiving, via the communication module, page data of the page returned according to the page loading request; and parsing the page data for presentation on the display based on a result of the loading of the key resource.
Preferably, the finding, by the processor, relevant loading information of the key resource of the page may include: looking for the relevant load information in the memory; and/or looking for the relevant loading information over a network via the communication unit.
Preferably, the processor may be further configured to: in the process of analyzing the page data, relevant loading information related to key resources for loading the page is collected, and the relevant loading information is stored or updated in the memory and/or on the network via the communication module.
By utilizing the page display method, the page display device and the client equipment, resources which can slow down page display can be pre-loaded, and the problem of blockage caused by loading of key resources is fundamentally solved, so that the page display speed is increased, and the browsing experience of a user is improved.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in greater detail exemplary embodiments thereof with reference to the attached drawings, in which like reference numerals generally represent like parts throughout.
FIG. 1 is a block diagram of a client device according to one embodiment of the present invention.
FIG. 2 is a flow diagram of a page presentation method according to one embodiment of the invention.
Fig. 3 is a schematic diagram of the inventive principle of the present invention.
FIG. 4 is an exemplary piece of code for page data.
FIG. 5 is a schematic view of a page presentation apparatus according to one embodiment of the present invention.
Detailed Description
Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
With the development of network technology and the popularization of mobile clients, people spend more and more time on browsing web pages. How to display the web page as fast as possible under the existing condition constraint becomes a large goal pursued by each large browser provider. In the present case, most web pages are written using HTML. HTML parsing can only occur in the main thread, and the parsing process of HTML cannot be resumed until the JavaScript script is loaded from the network and the parsing is completed. In addition, although the CSS is only used for decorating DOM nodes in a visual sense, if the JavaScript script accesses the CSS file which is not loaded and analyzed completely, the wrong webpage layout and layout can be directly caused, and therefore, the CSS resources can also block the analysis of the HTML document.
Since the blocking process greatly affects the performance of web page display, the currently popular browser kernel (e.g., WebKit kernel) optimizes the above process. The main thread still downloads and analyzes the JavaScript script, and the other thread scans the resources of the rest part of the page and carries out preloading when the main thread is blocked. This can speed up page exposure to some extent, but JS and CSS still block page resolution. Unlike the prior art, which can only preload other resources when the main thread is blocked, the present application can preload the resource itself that would block the page resolution. Therefore, the problems can be fundamentally solved and the rapid presentation of the web page can be realized.
Prior to the detailed description of the technical solutions of the present invention, technical terms related to the present invention will be described. "Key resource" herein refers to a resource that may hinder the presentation of a page. For existing web pages, "critical resources" may refer to resources that may block page resolution, e.g., JS and CSS resources that may actually block main thread resolution. It will be apparent, however, that the principles of the present invention are also applicable to future technology developments and other situations that can readily occur to those skilled in the art, and thus "critical resources" herein refer not only to resources that would block page resolution, but also to other resources that would, to a greater extent, hinder page presentation.
Fig. 1 is a block diagram of a client device 10 according to one embodiment of the present invention. The components of the client device include, but are not limited to, one or more processors 110, memory 120, display 130, and communication module 140. The processor 110 is connected to the memory 120, the display 130, and the communication module 140. In one embodiment, the above components may also be connected to each other, for example by a bus. The client device 10 may be implemented in the form of a general purpose computing device such as a personal computer, tablet computer, smart mobile phone, etc., and may also include other components for implementing the general purpose computing device functionality described above, such as an input device through which a user may make inputs. It should be understood that the block diagram of the architecture depicted in FIG. 1 is for purposes of illustration only and is not intended to limit the scope of the present invention. In some cases, certain devices may be added or subtracted as the case may be.
The communication module 140 may send and receive various information and instructions via a network, for example, the memory 120 may store various information accordingly, and the display 130 may display pages. The above components perform various actions under the control of the processor 110, and the page display method of the present invention can be implemented.
FIG. 2 is a flow diagram of a page presentation method according to one embodiment of the invention. The page presentation method may be performed by the client device 10 shown in fig. 1, and in particular the processor 110 therein. For example, instructions and information may be stored on the memory 120 and, when executed by the processor 110, may implement the page presentation method of the present invention.
In step S210, a page load request is sent. For example, the browser may implement the sending of the page load request by clicking on a link or entering a URL in an address bar.
In step S220, in response to sending the page loading request, searching for relevant loading information of a key resource of the page, where the key resource is a resource that may obstruct page display, and preferably, the key resource may be a resource that blocks page parsing, and more preferably, a resource that blocks page parsing of a complete display first screen. The sending of a page load request may immediately trigger an attempt to load the page's key resources.
In step S230, in case that the relevant loading information is found, the key resource of the page is loaded using the relevant loading information.
In step S240, page data returned according to the page load request is received.
In step S250, the page data is parsed based on the loading result of the key resource. When the page resolution encounters a key resource, the page resolution can be accelerated based on the loading of the key resource since the loading of the key resource has already started independently. In general, the time period from sending a page load request to page resolution to the key resource is sufficient to complete the loading of the key resource. That is, the load result is that the critical resource load is complete. Thus, when a page resolves to a key resource, the key resource has completed loading and is stored, for example, in a memory cache for direct use by the page resolution. Even in the worst case, that is, when the page resolves to the key resource, the complete loading of the key resource is not completed, the loading result of the key resource (for example, the steps of DNS resolution, TCP connection, etc. have been completed) may be directly used to accelerate the page resolving process.
Returning to fig. 1, to implement the page presentation method of the present invention, the processor 110 of the client device 10 may first send a page load request via the communication module 140, and in response to sending the page load request, find relevant load information of the key resource of the page. In the event that the dependent load information is found, the processor 110 may store the dependent load information in the memory 120 and load the critical resource using the dependent load information. Subsequently, the processor 110 may receive page data of the page returned according to the page load request via the communication module 140 and parse the page data based on the load of the key resource. The parsed page may be displayed on display 130.
Depending on the actual situation, the relevant loading information of the key resource may be stored in a local memory or in a specific location of the network, or in other suitable locations as will occur to those of ordinary skill in the art. For example, the storage is performed locally in the case of wonderful local storage capacity, on the network in the case of limited local storage capacity but excellent network conditions, or in the case of frequent changes in conditions, the storage location is flexibly selected. Thus, finding the relevant load information for the key resource of the page may include finding the relevant load information in a local memory (e.g., memory 120 of FIG. 1), may also include finding the relevant load information over a network (e.g., via communication module 140 of FIG. 1), or may be found both on the network and locally, as the case may be.
Preferably, the page presentation method of fig. 2 may further include step S260. In step S260, in the process of parsing the page data, relevant loading information related to the key resource loading the page is collected, and the relevant loading information is stored or updated in the local memory and/or on the network. When a web page is first accessed, the collected information about the key resources may be processed and stored as associated load information to a specific location, either locally or on the network. If the relevant loading information is already stored locally or on the network, this step can be omitted or the previously stored data can be updated and optimized according to certain rules. Likewise, the above step S260 may be executed by, for example, the processor 110 in fig. 1, and the collected related loading information may also be stored in, for example, the memory 120 in fig. 1.
Information related to the loading of the key resource of a particular page (i.e., related loading information in the present invention) may be stored in association with the URL of the particular page and include the URL and type of the key resource. In one embodiment, the key resource of the page may be CSS information in the page data, or non-asynchronous external JS information in the page data (asynchronous JS information typically does not block page parsing). Therefore, the relevant load information may include, in addition to being stored in association with the URL of the page, the URL of the above-described CSS and JS information, and resource type information indicating whether the resource is JS or CSS.
In one embodiment, the relevant loading information of a key resource may further include at least one of a priority, a resource hit rate, and a confidence of the key resource. Such information is particularly useful for displaying pages whose content varies from time to time, and since the accuracy of resource hit rate and confidence typically requires historical data of multiple web page visits as a support, where relevant load information includes such content, it is preferable to collect information for each page resolution to iteratively update, for example, resource hit rate and/or confidence for a particular key resource.
For example, whether to load critical data ahead of time may be determined according to the priority of the critical data on a particular page. If the confidence of a resource is lower than a threshold (for example, the URL or the content of a JS resource changes frequently), it indicates that the resource is less likely to appear on the page, and therefore, the resource may not be loaded in advance, so as to avoid wasting traffic and bandwidth.
In addition, for client devices with limited traffic and bandwidth, the preloading of critical resources may only load resources that would prevent the first screen content presentation of the page. Therefore, unnecessary occupation of the flow or the bandwidth is avoided as much as possible while the smooth display of the first screen is ensured. For an intelligent terminal with known screen resolution, the display position of each element can be determined in advance according to page layout, and therefore, only the content capable of being displayed on the first screen of the intelligent terminal is selected to be preloaded.
The page presentation method and the client device capable of implementing the method according to the embodiment of the present invention are described above with reference to fig. 1 and 2. The inventive principle of the invention will be exemplarily explained below with reference to fig. 3 and 4.
Fig. 3 is a schematic diagram of the inventive principle of the present invention. As shown, the client device is at t1The moment sends a page loading request to a certain site by clicking a link, and then immediately tries to search relevant loading information of the key resource stored in association with the URL according to the URL of the link and loads the key resource according to the information. At t2At the moment, the client device receives the site basis t1And page data returned by the page loading request sent at any moment is immediately analyzed. At t3At this point, the page resolves to a key resource that would otherwise block the page resolution. But from t due to attempts to load critical resources1The time is started, so that the page resolution at this time can be directly used (t)3-t1) And (4) key resource loading results in a time period. If the critical resource is already in the (t)3-t1) After the loading is finished in the time interval, the page is solvedThe parsing process can directly use the key resource to smoothly parse the page. Even if the key resource is at t3And in the loading process, the page analysis process can directly continue to load the key resources, so that the analysis of the page is fundamentally accelerated. In addition, it is obvious that the above key resources may be multiple resources encountered in the page parsing process, and therefore, for key resources located at different positions of the page, t is t of the key resources3May be t2At different times after the moment of time, but they all benefit from the time t1The load attempt that starts at a time can be completed by a faster load.
FIG. 4 is an exemplary piece of code for page data. As shown in fig. 4, the CSS resource marked 1 and the JS resource marked 2 therein may block the parsing of the page, and thus they may be considered as key resources of the page. The JS resource labeled 3 is not a critical resource since it is asynchronous and does not block the parsing of the page. When the page resolver encounters the key resources, the page resolver stops resolving until the key resource loading is completed. However, if the method of the present invention is used, the resources can be loaded in advance before the page is resolved into the resources 1 and 2, thereby increasing the page display speed. In conjunction with the timing sequence of FIG. 3, if the page display method of the present invention is used, it is possible to display the page at t1The moment begins to attempt loading of resources 1 and 2. And at t3When the time is resolved to resource 1 or 2, it is likely that resource 1 and resource 2 are already preloaded and stored in the memory cache. The parsing of the page can proceed without hindrance by taking resources 1 and 2 out of the cache directly, thereby fundamentally increasing the parsing speed.
The page display method according to the embodiment of the invention can be implemented by a corresponding page display device. FIG. 5 is a schematic view of a page presentation apparatus 50 according to one embodiment of the present invention. The page presentation apparatus 50 may include a page loading request transmission unit 510, a related loading information finding unit 520, a key information loading unit 530, a page data receiving unit 540, and a page data parsing unit 550.
In one embodiment, the page load request sending unit 510 may send the page load request to a target site, for example. The related loading information finding unit 520 may find related loading information of the key resource of the page in response to sending the page loading request. The key resource is a resource that may obstruct the presentation of the page, preferably, a resource that may block the page resolution, and more preferably, a resource that may block the page resolution of the full display first screen. The key information loading unit 530 may load the key resource of the page using the relevant loading information in case that the relevant loading information is found. Subsequently, the page data receiving unit 540 may receive the page data of the page returned according to the page loading request, and the page data parsing unit 550 may parse the page data based on the loading result of the key resource.
Preferably, the related loading information finding unit 520 may find the related loading information in a local memory and/or through a network.
In one embodiment, the page presenting apparatus 50 may further optionally include a related loading information collecting unit 560, which may collect related loading information related to the key resource loading the page during the process of parsing the page data, and store or update the related loading information in the local memory and/or on the network.
The page presentation method, apparatus and client device according to the present invention have been described in detail above with reference to the accompanying drawings.
Furthermore, the method according to the invention may also be implemented as a computer program comprising computer program code instructions for carrying out the above-mentioned steps defined in the above-mentioned method of the invention. Alternatively, the method according to the present invention may also be implemented as a computer program product comprising a computer readable medium having stored thereon a computer program for executing the above-mentioned functions defined in the above-mentioned method of the present invention. Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems and methods according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (13)

1. A page display method realized by a client comprises the following steps:
sending a page loading request;
in response to sending the page loading request, searching relevant loading information of key resources of the page, wherein the key resources are resources which can block the display of the page;
under the condition that the relevant loading information is found, loading the key resources of the page by using the relevant loading information;
receiving page data of the page returned according to the page loading request; and
parsing the page data based on a result of the loading of the key resource,
wherein, in response to sending the page loading request, finding relevant loading information of the key resource of the page comprises:
searching relevant loading information of the key resource stored in association with the URL according to the URL of the page, and loading the key resource according to the URL of the key resource included in the relevant loading information.
2. The method of claim 1, wherein finding relevant loading information for key resources of the page comprises:
looking for the relevant loading information in a local memory; and/or
And searching the related loading information through a network.
3. The method of claim 2, further comprising:
and in the process of analyzing the page data, collecting related loading information related to key resources for loading the page, and storing or updating the related loading information in the local memory and/or on the network.
4. The method of claim 1, wherein the relevant loading information for a key resource of the page further comprises a type of the key resource.
5. The method of claim 4, wherein the relevant loading information further comprises at least one of a priority, a resource hit rate, and a confidence of the critical resource.
6. The method of claim 1, wherein the key resource comprises at least one of:
cascading Style Sheet (CSS) information in the page data; and
non-asynchronous external JavaScript information in the page data.
7. The method of claim 1, wherein the key resources comprise only resources that would obstruct presentation of the first screen content of the page.
8. A client-implemented page display device, comprising:
a page loading request sending unit, configured to send a page loading request;
a related loading information searching unit, configured to search, in response to sending the page loading request, related loading information of a key resource of the page, where the key resource is a resource that may hinder display of the page;
the key information loading unit is used for loading the key resources of the page by using the related loading information under the condition that the related loading information is found;
the page data receiving unit is used for receiving the page data of the page returned according to the page loading request; and
a page data parsing unit for parsing the page data based on a result of loading the key resource,
wherein the related loading information searching unit is configured to:
searching relevant loading information of the key resource stored in association with the URL according to the URL of the page, and loading the key resource according to the URL of the key resource included in the relevant loading information.
9. The apparatus of claim 8, wherein the related loading information finding unit finds the related loading information in a local memory and/or through a network.
10. The apparatus of claim 9, further comprising:
and the related loading information collecting unit is used for collecting related loading information related to key resources for loading the page in the process of analyzing the page data, and storing or updating the related loading information in the local memory and/or on the network.
11. A client device, comprising:
a communication module;
a memory;
a display; and
a processor coupled to the communication module, the memory, and the display, the processor to:
sending a page load request via the communication module;
in response to sending the page loading request, searching relevant loading information of key resources of the page, wherein the key resources are resources which can block the display of the page;
in the case that the relevant loading information is found, storing the relevant loading information in a memory and loading the key resources of the page by using the relevant loading information;
receiving, via the communication module, page data of the page returned according to the page loading request; and
parsing the page data for presentation on the display based on loading results for the key resources,
wherein, in response to sending the page loading request, finding relevant loading information of the key resource of the page comprises:
searching relevant loading information of the key resource stored in association with the URL according to the URL of the page, and loading the key resource according to the URL of the key resource included in the relevant loading information.
12. The client device of claim 11, wherein the processor finding relevant loading information for key resources of the page comprises:
looking for the relevant load information in the memory; and/or
Finding the relevant loading information over a network via the communication unit.
13. The client device of claim 12, wherein the processor is further to:
in the process of analyzing the page data, relevant loading information related to key resources for loading the page is collected, and the relevant loading information is stored or updated in the memory and/or on the network via the communication module.
CN201610343577.1A 2016-05-22 2016-05-22 Page display method and device and client equipment Active CN107402938B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610343577.1A CN107402938B (en) 2016-05-22 2016-05-22 Page display method and device and client equipment
PCT/CN2017/085129 WO2017202255A1 (en) 2016-05-22 2017-05-19 Page display method and apparatus, and client device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610343577.1A CN107402938B (en) 2016-05-22 2016-05-22 Page display method and device and client equipment

Publications (2)

Publication Number Publication Date
CN107402938A CN107402938A (en) 2017-11-28
CN107402938B true CN107402938B (en) 2021-07-13

Family

ID=60389098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610343577.1A Active CN107402938B (en) 2016-05-22 2016-05-22 Page display method and device and client equipment

Country Status (2)

Country Link
CN (1) CN107402938B (en)
WO (1) WO2017202255A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020304A (en) * 2017-11-29 2019-07-16 北京京东尚科信息技术有限公司 A kind of method and apparatus of loading page
CN108280125A (en) * 2017-12-12 2018-07-13 腾讯科技(深圳)有限公司 Method, apparatus, storage medium and the electronic device that the page is shown
CN108710631B (en) * 2018-04-02 2021-12-24 创新先进技术有限公司 Data acquisition method, device and equipment
CN108804514A (en) * 2018-04-25 2018-11-13 网宿科技股份有限公司 A kind of webpage loading method, server and webpage loading system
CN111382344B (en) * 2018-12-27 2023-04-28 阿里巴巴集团控股有限公司 Method, device and client for providing page loading service for object
CN109948091A (en) * 2019-03-20 2019-06-28 网宿科技股份有限公司 A kind of web page processing method and client device
CN110134485B (en) * 2019-05-22 2023-05-23 维沃移动通信有限公司 Application content viewing method and mobile terminal
CN113282295B (en) * 2021-05-25 2024-02-23 青岛海尔科技有限公司 Blocking processing method and device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573025A (en) * 2015-01-12 2015-04-29 北京京东尚科信息技术有限公司 Method and system for increasing page loading rate
CN104796439A (en) * 2014-01-16 2015-07-22 腾讯科技(深圳)有限公司 Webpage pushing method, webpage pushing client, webpage pushing server and webpage pushing system
CN104965717A (en) * 2014-06-05 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for loading page

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012181693A (en) * 2011-03-01 2012-09-20 Jvc Kenwood Corp Web page display control device and scroll control method
CN103546498B (en) * 2012-07-09 2018-11-13 百度在线网络技术(北京)有限公司 It is a kind of that the method and apparatus accessing webpage is provided for mobile terminal
CN104133884B (en) * 2014-07-28 2017-12-26 百度在线网络技术(北京)有限公司 Show the method and device of webpage

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796439A (en) * 2014-01-16 2015-07-22 腾讯科技(深圳)有限公司 Webpage pushing method, webpage pushing client, webpage pushing server and webpage pushing system
CN104965717A (en) * 2014-06-05 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for loading page
CN104573025A (en) * 2015-01-12 2015-04-29 北京京东尚科信息技术有限公司 Method and system for increasing page loading rate

Also Published As

Publication number Publication date
CN107402938A (en) 2017-11-28
WO2017202255A1 (en) 2017-11-30

Similar Documents

Publication Publication Date Title
CN107402938B (en) Page display method and device and client equipment
CN106294648B (en) Processing method and device for page access path
US10325009B2 (en) Method and apparatus for using custom component parsing engine to parse tag of custom component
CN108228282B (en) Method and device for loading website page
CN105095280B (en) Browser caching method and device
US8219633B2 (en) Acceleration of web pages access using next page optimization, caching and pre-fetching
KR101651524B1 (en) New tab pages and bookmark toolbars in a browser
US8935798B1 (en) Automatically enabling private browsing of a web page, and applications thereof
EP2732380A1 (en) Mobile web browser for pre-loading web pages
US10440140B2 (en) Browser cache management
US8972486B2 (en) Terminal apparatus, processing system, processing method, and program
US20170300459A1 (en) Card-type desktop implementation method and apparatus
CN105740330B (en) Method and device for displaying data in paging mode
US20120331376A1 (en) Inserting content in association with a web page that is transmitted to a computing device
WO2015062416A1 (en) Method and device for loading webpages based onuiwebview components
CN112637361A (en) Page proxy method, device, electronic equipment and storage medium
CN104915404A (en) Method and device for accessing invalid website
US10095791B2 (en) Information search method and apparatus
US9875316B2 (en) Identifying user selection using coordinates and snapshots of webpages
US20140331117A1 (en) Application-based dependency graph
CN112905920A (en) Page display method and device
CN113961298A (en) Page switching method, device, equipment and medium
CN111090515B (en) Access control method, device, terminal equipment and storage medium
US9223758B1 (en) Determining a language encoding data setting for a web page, and applications thereof
CN112214697A (en) Webpage processing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200714

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio square 14 storey tower

Applicant before: Guangzhou Dongjing Computer Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211111

Address after: 510665 Room 302, Room 301, No. 38, Gaopu Road, Tianhe District, Guangzhou, Guangdong

Patentee after: Youshi Technology (China) Co., Ltd

Address before: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou, Zhejiang

Patentee before: Alibaba (China) Co., Ltd

TR01 Transfer of patent right