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

Method and device for generating differential packet

A differential package and differential technology, applied in program control devices, program loading/starting, etc., can solve problems such as mismatch between data image files and differential resource packages, file content changes, file signature changes, etc.

Active Publication Date: 2015-01-07
QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In the process of generating the original version of the differential resource package, the inventor found the following problems in the prior art: the data file will not change after compiling according to the source code, and the files corresponding to the data file contained in the differential resource package are not changed after packaging, The file may change during the compression process, for example, the length of the file changes, or the content contained in the file changes, or the signature of the file changes, etc.
This will cause the data file to be different from the file corresponding to the data file in the differential resource pack, that is, the data image file after format conversion of the data file is different from the file corresponding to the data file in the differential resource pack, that is, the data image file Does not match differential resource bundle
If you continue to upgrade the mobile device to the original version based on the data image file, and generate a differential package based on the differential resource package and the differential resource package of the target version, then the mobile device may be affected by the difference in the process of upgrading to the target version based on the differential package. The package does not match the original version used by the mobile device, which eventually causes the differential upgrade of the mobile device to fail

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 and device for generating differential packet
  • Method and device for generating differential packet
  • Method and device for generating differential packet

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] 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 creative efforts fall within the protection scope of the present invention.

[0026] The embodiment of the present invention provides a method for generating differential packets, such as figure 1 shown, including:

[0027] 101. Acquire the original version of the differential resource package.

[0028] It should be noted that every time a developer releases a new version, they get all the files (ie data files) for making the T card upgrade package and all the files related to making the difference package (ie the difference resource packag...

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 method and a device for generating a differential packet, relates to the field of upgrading, and aims to reduce the probability of failure in upgrading of the differential packet of mobile equipment caused by mismatch of the differential packet caused by change of a differential resource packet of an original edition and the original edition used by the mobile equipment. The method comprises the following steps: acquiring the differential resource packet of the original edition and the differential resource packet of a target edition, and generating the differential packet by using the differential resource packet of the original edition and the differential resource packet of the target edition, wherein the step of acquiring the differential resource packet of the original edition comprises the sub-steps: compiling a source code of the original edition to generate a data file and the differential resource packet; determining whether a backup file in the data file is the same as a difference file in the differential resource packet; recompiling the data file generated and updated by the source code and the updated differential resource packet under the condition that the backup file is not the same as the difference file; or updating the difference file to be the same as the backup file to obtain the updated differential resource packet.

Description

technical field [0001] The invention relates to the field of software upgrades, in particular to a method and device for generating differential packets. Background technique [0002] When mobile device suppliers manufacture mobile devices, in addition to assembling the hardware of the mobile device, they also need to install system software and application software in the hardware before the mobile device can leave the factory and be sold. After the user purchases the mobile device, in order to solve the loopholes in the mobile device already used by the user or to improve the function of the mobile device, the mobile device supplier needs to upgrade the system software or application software in a timely, efficient and accurate manner. [0003] The software upgrade methods of mobile devices usually include T (T-Flash) card upgrade (mainly used for production and after-sales), all-inclusive upgrade and differential upgrade. Among them, the differential packet upgrade is wi...

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/445
Inventor 朱晓亮刘薇张景新
Owner QINGDAO HISENSE MOBILE COMM TECH 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