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

File replacement method and device

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

Active Publication Date: 2021-04-27
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 device
  • File replacement method and device
  • File replacement method and device

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 invention discloses a file replacement method and device, belonging to the technical field of the Internet. The method includes: acquiring identification information of the file to be stored; determining a target replacement file from the file to be stored and the locally stored file according to the identification information of the file to be stored and the identification information of the locally stored file, and the target replacement file is the The file with the highest system sharing rate among the storage file and the locally stored file; if the target replacement file is any one of the locally stored files, delete the target replacement file and store the file to be stored. The present invention uses the file with the largest system sharing rate among the files to be stored and the files stored locally in the terminal as the target replacement file, and replaces the target replacement file with the file to be stored, on the premise of ensuring the download speed of the target replacement file by other terminals In this way, the download speed of other terminals to store files is improved, which is conducive to the optimization of the overall performance of the system.

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 Patents(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