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

Disk caching method for embedded browser

An embedded browser and disk cache technology, which is applied in the direction of instruments, special data processing applications, electrical digital data processing, etc., can solve the problem of small business volume and achieve the effect of avoiding decline

Inactive Publication Date: 2012-05-30
INST OF ACOUSTICS CHINESE ACAD OF SCI
View PDF3 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing patents on embedded browser caching are all based on memory caching, which is determined by the application scenario of small business volume and small hard disk capacity in the early stage of embedded browser application. With the integration of three networks, Internet TV set-top boxes have emerged. Embedded terminals with a large amount of business and large hard disk capacity, so the current embedded browser that only uses memory for network resource caching is far from meeting the new needs

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
  • Disk caching method for embedded browser
  • Disk caching method for embedded browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0020] In the implementation of the present invention, a hash algorithm is used to obtain the hash value of the resource URL, and a key-value pair composed of the resource URL and the hash value is inserted into the disk cache retrieval table to obtain the mapping relationship between the resource URL and the disk cache data. When calculating the hash value of the resource URL, a secondary hash is used to avoid hash collisions. Store the information of the disk cache retrieval table on the hard disk, and import it into the memory when the browser is running.

[0021] When accessing the resource URL, use the resource URL as the key value to search from the disk cache retrieval table. If a corresponding mapped value is found, the resource is stored on disk. Otherwise, download from the server.

[0022] The disk cache recently used record table adopts the least recently used strategy, and adjusts the position of the resource in the record table according to the time point of th...

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 disk caching method for an embedded browser. In the method, the embedded browser takes a caching medium as a disk. The method comprises the following steps of: storing webpage resources accessed by a user onto a disk medium; establishing a mapping relationship between a resource URL (uniform resource locator) and disk caching data, and recording and maintaining the mapping relationship between the resource URL and the disk caching data on the disk medium; accessing the webpage resources according to the recorded mapping relationship, and querying from the mapping relationship when the resource URL is accessed; if a corresponding mapping value is found, determining that resources are stored on the disk, and reading the webpage resource data from the disk medium; and otherwise, downloading required webpage resource data from a server. The step of establishing the mapping relationship comprises the following substeps of: obtaining a Hash value of the resource URL by adopting a Hash algorithm; and writing a key value pair formed by the resource URL and the Hash value into a disk caching retrieval table to establish the mapping relationship between the resource URL and the disk caching data.

Description

technical field [0001] The invention relates to the field of embedded technology, in particular to an embedded browser disk caching method. Background technique [0002] In an embedded system, especially in an Internet TV set-top box as a triple play terminal, the embedded browser may become the most important application software of the embedded operating system, and may even be the only application software that directly supports interaction with users. In this case, the access speed of the embedded browser directly affects the user experience. Caching is to store the information that the user has accessed locally, so as to improve the speed when the user accesses relevant information again. The existing patents on embedded browser caching are all based on memory caching, which is determined by the application scenario of small business volume and small hard disk capacity in the early stage of embedded browser application. With the integration of three networks, Internet ...

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
Inventor 胡琳琳段虎才孙鹏
Owner INST OF ACOUSTICS CHINESE ACAD OF SCI
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