Disk cache method of embedded browser

An embedded browser, disk cache technology, applied in instruments, special data processing applications, electrical digital data processing, etc., can solve problems such as affecting the user's online experience, blocking current user operations, etc., to enhance the online experience, avoid blocking, The effect of improving access speed

Inactive Publication Date: 2012-04-11
INST OF ACOUSTICS CHINESE ACAD OF SCI +1
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The disadvantage of the disk cache processing technology based on blocking user operations is that the current user operation will be blocked when processing the cache, thus affecting the user's online 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
  • Disk cache method of embedded browser
  • Disk cache method of embedded browser
  • Disk cache method of embedded browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

[0013] The present invention is a solution based on a disk-based embedded browser caching method, the core of which is: the storage medium of the embedded browser disk cache of the present invention is a disk; the browser runs the browser main thread and the disk cache storage thread, Among them, the browser main thread is used for downloading network resources, and the disk cache storage thread is used for disk cache storage processing; when the browser main thread downloads network resources, it will block the disk cache storage thread, and the disk cache storage thread will not be in the process of cache processing. User operations will be blocked; after a URL request from the main thread of the browser is successful, the response header information and response data of the URL will be combined into a disk cache even...

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 relates to a disk cache method of an embedded browser. The browser operates a first thread and a second thread, the first thread is used for initiating a network downloading request, and the second thread is used for storing and processing a disk cache. The method comprises the following steps of: operating the first thread, starting the second thread by the third thread, setting the second thread in a blockage state; obtaining network resource information by the first thread according to the network downloading request and then generating disk cache events and inserting into a disk cache event queue; and when the first thread is downloaded completely, setting the second thread in an operation state by the first thread, starting processing the disk cache events in the disk cache event queue by the second thread, and storing the network resource information to a disk. According to the invention, access speed of resources can be increased, user net play experiences are enhanced, and performance of the embedded browser is further improved.

Description

technical field [0001] The invention relates to the field of embedded technology, in particular to a method for disk caching of an embedded browser. 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 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. Browser cache, that is, locally stores information that users have accessed, and is used to improve the speed when users access relevant information again. [0003] Currently, embedded browser caching technologies include memory-based caching processing technology and disk caching processing technology based on blocking user operations. [0004] The memory-based cache processing technology is determined by the application scenario ...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products