Differential package manufacturing method and device

A differential package, the only technology, applied in the field of data processing, can solve the problems of increasing the number of differential package files, affecting the time occupied by the upgrade process, and not belonging to the upgrade content, so as to shorten the differential upgrade process, speed up the upgrade speed, reduce effect of size

Inactive Publication Date: 2016-05-11
HISENSE VISUAL TECH CO LTD
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the inventors of the present application found that the current system differential package production scheme in the prior art mainly focuses on how to quickly complete the package production, which is reflected in the comparison of differences, that is, the comparison of the differences between the upgrade file and the source file , however, in the process of making a differential package, since the source file and the target file are essentially compressed files made using a compression algorithm, various current compression algorithms will inevitably introduce some unnecessary redundant information, this redundancy Information does not belong to the actual upgrade content, such as file modification time changes, different compilation time points and other packaging information, etc. Such information will be added to the differential package when compressed with a compression tool. In actual use, the real software upgrade The code part may not change, that is to say, the differential upgrade package produced by the existing technology usually makes such redundant information into the package, which increases the number of files in the differential package and further affects the upgrade process. time

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
  • Differential package manufacturing method and device
  • Differential package manufacturing method and device
  • Differential package manufacturing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Specific embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0025] The inventor noticed during the invention that:

[0026] The way to upgrade the differential package is to download the differential package on the device, add and delete files according to the upgrade script, and write the difference patch between the files into the device to modify the target file into the source file. In this process, in order to ensure the integrity of the upgrade, the check value of the target file and the check value of the source file will be saved in the difference package. The check value is the unique representation of the file. Only when the check value matches , to start the upgrade. For example, suppose the patch is the difference from file A to B. When upgrading, first confirm that the current file is A. When confirming A, it can be determined by calculating the check value of A file, such as calculating the hash v...

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 differential package manufacturing method and device. The differential package manufacturing method comprises the following steps: determining target files in a new version file package and source files in an old version file package; respectively determining unique identifiers of the target files and the source files before decompression; decompressing the target files and the source files with different unique identifiers; determining whether the decompressed target files and the decompressed source files are the same; and if so, eliminating the target files the same as the source files, and manufacturing the target files different from the source files into a differential package. By adopting the differential package manufacturing method and device disclosed by the invention, files requiring no processing can be eliminated, thereby reducing the size of an upgrading package and accelerating the upgrading speed.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and device for making a differential packet. Background technique [0002] figure 1 It is a schematic diagram of OTA upgrade types. As shown in the figure, there are two types of OTA (Over-the-Air Technology, over-the-air technology) upgrades, and each type has corresponding uses and advantages. The two types are: IncrementOTA (incremental / differential) and FullOTA (whole package). [0003] The biggest difference between the two types of OTA lies in the "starting point" for the creation of two different upgrade packages. The old (original) package is not needed when creating the whole package, and the base (basic) package can be directly used for upgrading. Usually, the size of the whole package is closer to the image of the entire firmware. There are no specific restrictions on the differential packet, which can be as large as the entire packet, or only a few...

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): G06F9/445
CPCG06F8/658
Inventor 李鑫夏章抓吴超
Owner HISENSE VISUAL 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