Method and device for reading webpage resources, and electronic equipment

A technology for webpage resources and resource caching, applied in the field of reading webpage resources, can solve problems such as reducing the utilization efficiency of network resources, increasing the time required for users to grab webpage resources, and consuming user network traffic

Active Publication Date: 2016-06-22
KINGSOFT
View PDF10 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the method of obtaining webpage resources from the currently loaded webpage needs to download and save the webpage resources to be captured to the local storage through the network again, resulting in repeate

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 reading webpage resources, and electronic equipment
  • Method and device for reading webpage resources, and electronic equipment
  • Method and device for reading webpage resources, and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0072] It should be clear that the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0073] figure 1 It is a schematic flowchart of a method for reading a webpage resource according to an embodiment of the present invention. see figure 1 , this method is applied to the network view control of the Android operating system version 4.0 to 4.3, including:

[0074] Step 11, receiving a webpage resource grabbing request, and obtaining the loading status of the webpage resource to be grabbed corresponding to the webpage grabbing request;

[0075] In this step, since the web view control parses out a webp...

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 embodiment of the invention discloses a method and a device for reading webpage resources, and electronic equipment. The method is applied to the webview controls of an Android operating system of 4.0 to 4.3 versions. The method comprises the following steps: if the loading state of webpage resources to be fetched is loading completion, obtaining the URL (Uniform Resource Locator) information of the webpage resources to be fetched, wherein the webpage resources to be fetched correspond to an obtained webpage fetching request; according to the package name of an application program which constructs the current webpage, obtaining a resource cache file path mapped by the package name; extracting a binary data file under the resource cache file path, and traversing the binary data file to obtain an information field matched with the URL information; and inquiring information before the matched information field, obtaining preset symbolic information, obtaining a webpage resource file corresponding to the URL information according to the information before the symbolic information and a filename calculation strategy, and reading the webpage resource file under the resource cache file path. The method and the device can be applied to improve web resource utilization efficiency.

Description

technical field [0001] The invention relates to computer network resource technology, in particular to a method, device and electronic equipment for reading web page resources. Background technique [0002] With computer communication and Internet technology, the application of electronic equipment is becoming more and more common. For example, smart mobile phones, personal digital assistants, handheld computers and desktop computers have been more and more widely used. There are also more and more application programs (APP, Application) and browser controls to meet the needs of users for business diversity. Among them, the browser control is an indispensable network tool for the browser installed in the electronic device, for example, the web browser control (Webbrowser) based on the Windows operating system browser, based on the Android (Android) operating system browser and Apple's mobile The web view control (Webview) of the operating system (iOS) browser, etc., the fun...

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
IPC IPC(8): G06F17/30
CPCG06F16/951G06F16/9574
Inventor 徐光圣
Owner KINGSOFT
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