Method and device for acquiring page resources

A technology of page resources and web resources, applied in the field of mobile Internet, can solve the problems of poor web browsing experience, low access efficiency, slow browser client access speed, etc., to improve access speed, increase web browsing experience, traffic and request The effect of reducing the number of times

Inactive Publication Date: 2011-09-14
GUANGZHOU UCWEB COMP TECH CO LTD
View PDF3 Cites 55 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] Whether the above two browsers are traditional browsers or browsers based on C / S architecture, the way to obtain network resources is to obtain resource files by establishing requests one by one, and will repeatedly upload the same HEADER information to the network side, resulting in slow browser client access, low access efficiency, and poor web browsing experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for acquiring page resources
  • Method and device for acquiring page resources
  • Method and device for acquiring page resources

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] This embodiment provides a method for obtaining page resources, including the following steps: figure 1 , figure 2 shown.

[0039] S100: The browser client 101 sends a webpage acquisition request to the webpage server 104 to obtain the basic file of the page;

[0040] The basic file of the page in this step is a file indicating the content of each part of the page, and the web page here can be a WEB page or a WAP page.

[0041] S200: The browser client 101 constructs a request for merging webpage resources according to the basic file of the page, and sends the request for merging webpage resources to the designated proxy server 102;

[0042] Here, a plurality of tags are set in the basic file of the page, and these tags record the address of the proxy server 102 and the url address table of the referenced web resource.

[0043] Before merging web page resource requests with this structure, the mobile terminal server will remove from the merging the content in the me...

Embodiment 2

[0053] The difference between this embodiment and Embodiment 1 is that, in step S300, before returning the obtained contents of the plurality of webpage resources to the browser client 101, the proxy server 102 obtains the contents of the plurality of webpage resources obtained from the resource server 105. Compress and package according to a predefined structure.

[0054] In step S300, returning the obtained multiple webpage resources to the browser client 101 is specifically, returning the obtained packaged multiple webpage resources to the browser client 101;

[0055] After returning the obtained packaged multiple webpage resources to the browser client 101, the browser client 101 will decompress and unpack the contents of the compressed and packaged multiple webpage resources, and then analyze them to complete Rendering of web pages.

[0056] In this embodiment, when the webpage resources are returned, the proxy server 102 packs and compresses all the content of multiple ...

Embodiment 3

[0060] The difference between this embodiment and Embodiment 2 is that before returning to the browser client 101 the step of obtaining multiple web resources, the proxy server 102 parses and then compresses the content of the multiple web resources obtained from the resource server 105, Finally, package according to the pre-defined structure;

[0061] In step S300, returning the obtained multiple webpage resources to the browser client 101 is specifically, returning the obtained packaged multiple webpage resources to the browser client 101;

[0062] After returning the obtained packaged webpage resources to the browser client 101, the browser client 101 will decompress and unpack the contents of the compressed and packaged webpage resources, and the browser client 101 will The content of multiple web resources populates the page.

[0063] In this embodiment, the parsing of network resources is completed by the proxy server 102. The proxy server 102 can compress webpage resou...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and device for acquiring page resources. The method comprises the following steps that: a browser client transmits a request for acquiring a basic document of a page to a webpage server to acquire the basic document of the page; the browser client analyzes the basic document of the page, constructs a request for merging webpage resources according to merge statement content in the analyzed basic document of the page, and transits the request of merging the webpage resources to a proxy server; and the proxy server analyzes the request of merging the webpage resources, transmits a request of acquiring the webpage resources to a resource server for storing webpage resources to acquire contents of a plurality of webpage resources and returns the plurality of acquired webpage resources to the browser client. In the invention, merged webpage resources are constructed by using the merge statement content, a primary request is merged and transmitted, and all contents are requested in parallel through the proxy server and are packed, compressed and then returned. Since flux and request frequency are reduced, access speed of the page is increased.

Description

technical field [0001] The present invention relates to the field of mobile Internet, and more specifically, to a method and device for acquiring page resources. Background technique [0002] There are mainly two kinds of mobile terminal browsers on the market at present. [0003] One is that the traditional mobile browser accesses the page resources of the network. It first requests the page content, then parses the page content, obtains resource elements such as CSS and pictures in the page, and then establishes connections one by one to request these resource elements. An independent If multiple resources are declared in the page, the traditional standard browser client needs to initiate multiple independent network requests to obtain the corresponding resources. At the same time, when requesting different web resources on a page, most of the HEADER information is the same, such as COOKIE, REFERER, HOST and other information. Send these shared HEADER contents, so the up...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30H04L29/06
CPCG06F17/30899G06F16/957
Inventor 梁捷黄添才
Owner GUANGZHOU UCWEB COMP TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products