Method and apparatus for buffering data

A data caching and data technology, applied in the Internet field, can solve problems such as inability to guarantee shared resources, limited node service capabilities, reduce the performance and use value of P2P on-demand systems, and achieve the effect of large disk capacity and improved overall performance

Inactive Publication Date: 2008-10-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method achieves data sharing, but it also has the following disadvantages: First, due to the limitation of memory capacity, each node can only store a small part of data in memory, which means that the service capability of each node is limited, only Satisfy download requests for a small portion of data
Second, the existing data caching method using memory as the medium, due to the volatility and limited use o

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 apparatus for buffering data
  • Method and apparatus for buffering data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0023] The embodiment of the present invention mainly utilizes the disk of the user node as the cache medium, utilizes the characteristics of large capacity and non-volatility of the disk, and writes the data requested by the user into the disk for caching. When the disk capacity is sufficient, More data can be cached, so that more shared resources can be provided to other nodes, and the performance of the P2P on-demand system can be improved.

[0024] figure 1 It is a flow chart of a data caching method according to an embodiment of the present invention, and the process includes the following steps:

[0025] Step 101, determine the data that needs to be cached on the disk.

[0026] Step 102, writing the data into the disk according to a preset writi...

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 data caching method and a date caching device. The method includes steps: ensuring data required disc caching; writing the data into disc according with pre-set writing rule; establishing index for data wrote into disc, and realizing data caching by using disc. Because disc has characteristics of large capacity, nonvolatility also likes, node in P2P on-demand system can provide more sharing resource, is not limited to media resource being on-demand, consequently, whole property of P2P on-demand system is increased.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a data caching method and device. Background technique [0002] Interactive video-on-demand technology, referred to as on-demand technology, can play corresponding video programs according to the needs of users, which fundamentally changes the shortcomings of users passively watching videos in the past. Video on demand technology is mainly composed of three parts: server-side system, network system and system client-side system. [0003] The server-side system is mainly composed of storage devices, high-speed cache and control management unit. Its goal is to realize the compression and storage of media data, as well as the retrieval and transmission of media information according to the request. The network system is mainly responsible for the transmission of multimedia data. Is the key to affect the video on demand performance. The client system mainly handles multimedia...

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): H04L12/18G06F12/08G06F12/0877G06F12/0895
Inventor 王泽强
Owner TENCENT TECH (SHENZHEN) 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