File downloading method and apparatus and file uploading method and apparatus

一种文件、文件块的技术,应用在电气元件、传输系统等方向,能够解决浪费网络资源、传输的时间长等问题,达到减少资源的浪费、减少文件传输的时间的效果

Inactive Publication Date: 2017-06-13
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] This application provides a method and device for downloading files, a method and device for uploading files, so as to solve the problems in the prior art that the transmission time of files is relatively long and the network resources are wasted

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 downloading method and apparatus and file uploading method and apparatus
  • File downloading method and apparatus and file uploading method and apparatus
  • File downloading method and apparatus and file uploading method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0070] In the prior art, the entire file needs to be transmitted every time during file transmission, which will result in relatively long file transmission time and a great waste of network resources.

[0071] The present application provides a method for downloading files, which can only receive file blocks corresponding to inconsistent feature values ​​stored locally when downloading files, thereby reducing file transmission time and reducing resource waste....

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 provides a file downloading method and apparatus and a file uploading method and apparatus for solving the problems that the file transmission time is relatively long and that the network resources are seriously wasted in the prior art. The downloading method comprises the following steps: sending a file request to a server, wherein the file request comprises a name of a file requested to be downloaded; receiving file description information sent by the server, wherein the file description information comprises feature values of file blocks after the file requested to be downloaded are blocked; detecting whether the feature values of file blocks stored locally are consistent with the received feature values of the file blocks, adding the inconsistent feature values to detection information to be returned to the server; and receiving the file blocks corresponding to the inconsistent feature values sent by the server. By adoption of the downloading method provided by the invention, only the file blocks corresponding to the inconsistent feature values stored locally can be downloaded, thereby shortening the file transmission time and reducing the waste of resources.

Description

technical field [0001] The present application relates to data storage technology, in particular to a method and device for downloading files, and a method and device for uploading files. Background technique [0002] The development of the network allows users to share the same data resources in different places as long as they are connected to the network. Users can transfer files through the network, upload files stored locally to the network, and download files stored on the network to the local. [0003] However, in actual processing, when the file is transferred, sometimes the new version and the old version of the file will be replaced. For example, when the configuration files of some software are upgraded, the configuration files stored on the server can be downloaded to the local. For another example, when using an office computer and a home computer for office work, the user uses the home computer to continue modifying work files at home, and can upload the modi...

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/1097
Inventor 赵化强陈超王林胡庆华
Owner BEIJING QIHOO TECH 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