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

File replacement method and apparatus

A file and storage file technology, applied in the Internet field, can solve the problems of reducing file download speed and low overall system performance, and achieve the effect of improving download speed and optimizing overall performance.

Active Publication Date: 2017-05-03
TENCENT TECH (BEIJING) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Since only the information such as the storage time of the locally stored files on the terminal is considered to determine the target replacement file, however, for the entire system, deleting this file may reduce the download speed of the file by other terminals in the system, resulting in low overall system performance

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
  • File replacement method and apparatus
  • File replacement method and apparatus
  • File replacement method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0029] With the development of Internet technology, P2P has become a commonly used networking method on the Internet due to its advantages such as low network cost, simple network configuration, and easy maintenance. In the P2P system, each terminal has the same function and status, and each terminal can download resources from other terminals in the P2P system, and can also provide resources for other terminals.

[0030] In order to improve the video quality and playback fluency on the Internet, the P2P networking mode is applied to the sharing process of Internet video data. see figure 1 , which shows a structure diagram of a data sharing system, the data sharing system is composed of a server 101 and a plurality of terminals 102 . ...

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 present invention discloses a file replacement method and apparatus, belonging to the technical field of internet. The method comprises the steps of acquiring identification information of a to-be-stored file; according to the identification information of the to-be-stored file and identification information of local stored files, determining a target replacement file in the to-be-stored file and the local stored files, wherein the target replacement file is a file with a highest system sharing rate in the to-be-stored file and the local stored files; and if the target replacement file is any file of the local stored files, deleting the target replacement file, and storing the to-be-stored file. According to the method, the file with the highest system sharing rate in the to-be-stored file and the local stored files of a terminal is used as the target replacement file, and the target replacement file is replaced with the to-be-stored file, so that the speed of downloading the target replacement file by other terminals is ensured, further, the speed of downloading the to-be-stored file by other terminals is improved, and the overall performance of the system is optimized.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a file replacement method and device. Background technique [0002] With the development of Internet technology, more and more users watch videos on the Internet. At the same time, users have higher requirements for the video quality on the Internet. Limited by limited network bandwidth, the download speed of video data is slow, and the picture quality is poor and not smooth when users watch videos. [0003] In order to improve the download speed on the network server and save network bandwidth at the same time, P2P (Peer-to-Peer, peer-to-peer network) has been widely used in the download process of video data on the Internet because it allows each terminal to transmit data to each other. . Since the local storage space of each terminal is limited, when the remaining storage space is insufficient, in order to ensure the smooth storage of the file to be stored, the terminal...

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): H04L29/08
CPCH04L67/06H04L67/1078
Inventor 朱子荣吴己强
Owner TENCENT TECH (BEIJING) 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