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

P2p (peer to peer) cache file management method and device

A technology for caching files and management methods, which is applied in the computer field and can solve problems such as a single cache file, achieve high disaster recovery performance, disperse reading and writing pressure, and avoid waste

Inactive Publication Date: 2015-01-21
ALIBABA (CHINA) CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The technical problem to be solved by the present invention is to solve the existing shortcomings based on a single cache file, and therefore, a p2p cache file management method and device are provided

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
  • P2p (peer to peer) cache file management method and device
  • P2p (peer to peer) cache file management method and device
  • P2p (peer to peer) cache file management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] The implementation of the present invention will be described in detail below in conjunction with the accompanying drawings and examples, so as to fully understand and implement the process of how to apply technical means to solve technical problems and achieve technical effects in the present invention. It should be noted that, as long as there is no conflict, each embodiment and each feature in each embodiment of the present invention can be combined with each other, and the formed technical solutions are all within the protection scope of the present invention.

[0061] In addition, the steps shown in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and, although a logical order is shown in the flow diagrams, in some cases, the sequence may be different. The steps shown or described are performed in the order herein.

[0062] In order to overcome the problem of using a single large file cache i...

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 p2p (peer to peer) cache file management method and device. The method comprises the following steps: when p2p software is started, inquiring whether a cache file exists from all disks of a user, wherein if no cache files exist in all disks, a disk with largest free space is selected, a cache file is created in the disk, the cache file is stored in a cache container, and cache data is stored in the cache file; and containing one cache container in one disk, and containing one or a plurality of cache files in one cache container. On the basis of a disk use situation of a user, the cache file is established in the disk with the largest free space, other operations of the user are affected, the distribution method does not cause a situation that the single area of the user disk is frequently read and written, so that read-write pressure is disperse, and the service life of the user disk is longer.

Description

technical field [0001] The invention belongs to the field of computers, and relates to a p2p cache file storage method and device. Background technique [0002] With the continuous development of modern network technology, p2p technology (Peer to Peer, p2p for short) has been more and more applied in various fields in the modern network. The most fundamental idea of ​​p2p technology, and also the most significant difference between it and C / S, is that a node (Peer) in a p2p network can not only obtain resources and services from other nodes, but also be a provider of resources and services. With the dual identity of Client and Server. The rights and obligations of each node in the p2p network are equal. [0003] Therefore, the storage and reading of cache files in each node is the cornerstone for nodes to obtain and provide resources and services. A good node cache file storage architecture can not only speed up the data exchange speed between nodes, reduce the hardware r...

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): G06F3/06
CPCG06F3/061G06F3/0643G06F16/172G06F16/1837
Inventor 黄治国张士波杨敬宇姚键潘柏宇卢述奇
Owner ALIBABA (CHINA) CO LTD
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