Method for remote file upgrade based on bisection method and MD5 checking

A technology of remote upgrade and dichotomy, which is applied in the field of remote file upgrade based on dichotomy and MD5 verification, and can solve problems such as poor applicability, long download time, waste of resources, etc.

Active Publication Date: 2016-08-17
XIAMEN YAXON NETWORKS CO LTD
View PDF9 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0001] Most of the traditional remote upgrade methods use the method of downloading complete files. For large files of hundreds of megabytes or even several gigabytes, due to the large amount of file transmission data and

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 for remote file upgrade based on bisection method and MD5 checking
  • Method for remote file upgrade based on bisection method and MD5 checking
  • Method for remote file upgrade based on bisection method and MD5 checking

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] To further illustrate the various embodiments, the present invention is provided with accompanying drawings. These drawings are a part of the disclosure of the present invention, which are mainly used to illustrate the embodiments, and can be combined with related descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, those skilled in the art should understand other possible implementations and advantages of the present invention. The present invention will be further described in conjunction with the accompanying drawings and specific embodiments.

[0039] This embodiment includes the step of generating an upgrade attribute file and the step of upgrading the file for the upgrade file,

[0040] The steps for generating an upgrade property file for the file to be upgraded on the upgrade server include:

[0041] 1), Divide the file into blocks according to a fixed size:

[0042] Assuming that the size...

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 relates to a method for remote file upgrade based on a bisection method and MD5 checking. Files on an upgrade server are partitioned according to a fixed size to generate a main block composed of equally divided even-number parts and a tail block composed of remaining parts, each file block data in the main block sequentially generates MD5 check values, the MD5 check values of every two adjacent blocks are spliced in pairs to form a character string and then generate an MD5 check value of a last level, the rest can be analogized sequentially until a final MD5 check value of the main block is generated, the MD5 check value generated in the whole process reversely generates an MD5 check tree of the main block, and finally the tail block part independently generates an MD5 check value. During the upgrade, the MD5 check tree of the main block and the MD5 check value of the tail block are sent to a client, and the client generates a main block MD5 check tree of local files and a tail block MD5 check value according to the same mode, performs a quick comparison sequentially according to the bisection method and downloads and upgrades file blocks with unequal MD5 check values.

Description

Background technique [0001] Most of the traditional remote upgrade methods use the method of downloading complete files. For large files of hundreds of M or even several G, due to the large amount of file transmission data and long download time, the traditional method is not applicable. Especially for some files with the same size but only correcting part of the wrong data, downloading the complete file is a waste of resources and takes a lot of time and effort. [0002] The present invention is a file remote upgrade method based on dichotomy and MD5 verification, by dividing local files and remote files into file blocks of fixed size and generating MD5 verification tree, and then quickly comparing based on dichotomy to achieve rapid upgrade judgment And the purpose of local file upgrade, in some cases can significantly reduce the amount of data transmission and upgrade waiting time. This method is especially suitable for upgrading those large files whose size is unchanged b...

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): G06F9/44G06F9/445H04L29/08
CPCG06F8/65G06F8/73G06F8/658H04L67/06
Inventor 王国清刘志芳崔跃
Owner XIAMEN YAXON NETWORKS 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