Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Resource acquisition method and device

An acquisition method and an acquisition device technology, applied in the field of resource acquisition methods and devices, can solve problems such as untimely acquisition of resources, and achieve the effect of solving the problem of untimely acquisition of resources

Inactive Publication Date: 2016-08-24
LEMOBILE INFORMATION TECH BEIJING
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a resource acquisition method and device to solve the problem that the resources acquisition method in the prior art may lead to untimely acquisition of resources

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
  • Resource acquisition method and device
  • Resource acquisition method and device
  • Resource acquisition method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] Embodiment 1 provides a method for resource acquisition, which is used to solve the problem that resources may not be acquired in time by adopting the resource acquisition method in the prior art.

[0024] For the convenience of description, the method provided by the embodiment of the present invention will be introduced below by taking the execution subject of the method as a mobile phone browser as an example.

[0025] The implementation process of this method is as follows figure 1 As shown, it mainly includes the following steps:

[0026] Step 11, obtaining the main document of the web page;

[0027] The webpage master document refers to a document used to describe various resources required for rendering a webpage. A web master document can be composed of document parts. Different document parts are used to describe different resources that need to be obtained, such as main resources or sub-resources. For the convenience of description, in the embodiment of th...

Embodiment 2

[0048] In order to specifically illustrate the actual application process of the method provided in Embodiment 1, Embodiment 2 uses the mobile phone browser to acquire news webpages as an example to introduce a resource acquisition method for accelerating the display speed of webpages.

[0049] The implementation process of this method is as follows figure 2 As shown, it mainly includes the following steps:

[0050] Step 21, the browser of the mobile phone receives an instruction to obtain the news web page.

[0051] In step 22, the mobile phone browser acquires the main document of the news web page in response to the acquiring instruction.

[0052] The news web page master document refers to a document used to describe various resources required for rendering a news web page. A news web master document can be composed of document sections. The document part includes a news main resource document part and a news sub-resource document part. The part of the news main resou...

Embodiment 3

[0073] Embodiment 3 provides a device for acquiring resources, which can quickly display news webpages.

[0074] The specific structural diagram of the device is shown in image 3 As shown, it includes the following functional units:

[0075] A webpage master document acquiring unit 31, configured to acquire the webpage master document;

[0076] The resource acquisition unit 32 is configured to analyze the main webpage document according to the rule that the acquisition operation of the sub-resources does not cause the parsing of the main webpage document to be suspended, and acquire resources according to the analysis result.

[0077] The resource acquisition unit 32 is configured to parse the main webpage document, and when parsing to the document part contained in the main webpage document and used to describe the sub-resources to be obtained, without suspending parsing the main webpage document, Get the subresource.

[0078] The resource acquisition unit 32 is used to a...

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 provides a resource acquisition method and device. The method comprises the following steps: acquiring a webpage main document; analyzing the webpage main document according to a rule that the acquisition operation of the sub-resource cannot cause the pause of the analysis of the webpage main document, and acquiring the resource according to the analysis result. Through the adoption of the method provided by the invention, the problem that the resource acquisition method in the prior art cause the non-timely resource acquisition is solved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of the Internet, and in particular, to a resource acquisition method and device. Background technique [0002] In order to complete the rendering of a webpage, the browser needs to parse the main document of the webpage, and load the main resource and sub-resources into the memory according to the parsing result, and then render the webpage according to the loaded resources. [0003] The webpage master document refers to a document used to describe various resources required for rendering a webpage. A web master document can be composed of document parts. Different document parts are used to describe different resources that need to be obtained, such as main resources or sub-resources. [0004] The main resource generally refers to a resource used to render the basic structure of a web page (generally including a web page frame and text); the sub-resource generally includes cascad...

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/30
CPCG06F16/9574G06F16/958
Inventor 王璟瑶
Owner LEMOBILE INFORMATION TECH BEIJING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products