WO2014176985A1 - Method and device for fabricating differential upgrade package - Google Patents

Method and device for fabricating differential upgrade package Download PDF

Info

Publication number
WO2014176985A1
WO2014176985A1 PCT/CN2014/075631 CN2014075631W WO2014176985A1 WO 2014176985 A1 WO2014176985 A1 WO 2014176985A1 CN 2014075631 W CN2014075631 W CN 2014075631W WO 2014176985 A1 WO2014176985 A1 WO 2014176985A1
Authority
WO
WIPO (PCT)
Prior art keywords
differential
upgrade package
file
intermediate file
differential upgrade
Prior art date
Application number
PCT/CN2014/075631
Other languages
French (fr)
Chinese (zh)
Inventor
张翀
双建平
陈禧
唐沁洋
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014176985A1 publication Critical patent/WO2014176985A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates

Definitions

  • the present invention relates to the field of differential upgrade technology, and in particular, to a method and apparatus for fabricating a differential upgrade package. Background technique
  • the terminal device needs to perform the corresponding firmware upgrade.
  • the storage space of the device it cannot accommodate a complete new version of the data for upgrading. Therefore, according to the difference between the firmware of the two new and old versions, Make a differential upgrade package and upgrade the firmware of the old version based on the differential upgrade package to reduce storage space overhead.
  • the purpose of the embodiments of the present invention is to provide a method and device for manufacturing a differential upgrade package.
  • a method for fabricating a differential upgrade package comprising:
  • the source version and the target version are differentiated according to the intermediate file to construct a differential upgrade package.
  • the header file of the intermediate file is encapsulated with all metadata in the metadata set.
  • a whole message is encapsulated with all metadata in the metadata set.
  • the method further includes:
  • the integrity check is performed on the intermediate file. If the verification is successful, the obtained check value is used as the file name of the intermediate file.
  • the file integrity check value of the source version is first calculated, and the intermediate file corresponding to the file integrity check value is searched according to the calculated file integrity check value. If the search cannot be performed, the intermediate execution is performed once.
  • the step of performing differential analysis on the source version and the target version according to the intermediate file to construct the differential upgrade package comprises:
  • a manufacturing device for a differential upgrade package comprising:
  • the metadata processing module is configured to: obtain binary data of the source version, and perform mathematical transformation and sorting to obtain a metadata set, where the metadata refers to the attribute data of the set minimum basic unit;
  • An intermediate file building module configured to: serialize data in the metadata set into an intermediate file
  • the difference module is set to: When a differential upgrade package needs to be created, the source version and the target version are differentiated according to the intermediate file to construct a differential upgrade package.
  • the intermediate file construction module in the header file of the intermediate file encapsulates an overall information of all metadata in the metadata collection.
  • the device for fabricating the differential upgrade package further includes:
  • the verification module is set to: Perform integrity check on the intermediate file. If the verification is successful, the obtained verification value is used as the file name of the intermediate file.
  • the difference module comprises
  • Matching module set to: Calculate the source version of the file when you need to make a differential upgrade package
  • the parity check value is searched for the intermediate file corresponding to the calculated file integrity check value. If the search fails, the command for creating the intermediate file is sent to the metadata processing module.
  • the difference module further includes:
  • the deserialization module is set to: deserialize the intermediate file and read the resulting data into the memory of the device;
  • the differentiated analysis module is configured to: use the obtained data to analyze the difference information of the binary data between the source version and the target version, and construct a differential upgrade package based on the difference information.
  • the embodiment of the present invention can be used to create a differential upgrade package by using an intermediate file, which improves the efficiency of manufacturing the differential packet and shortens the time for making the differential packet.
  • the cache optimization mechanism shortens the processing process of the longest step of the differential packet tool to make the differential packet, further improves the work efficiency, saves the labor cost, and enables the differential upgrade technology to be further promoted and applied.
  • FIG. 2 is a schematic diagram of a process of generating an intermediate file according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of optimization of a differential packet efficiency according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a device for fabricating a differential upgrade package according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a differential module according to a preferred embodiment of the present invention.
  • an embodiment of the present invention provides a method for fabricating a differential upgrade package. It first obtains the binary files of the two versions (source version and target version), and then processes the binary data of the source version to generate an intermediate temporary data for analyzing the difference information of the original version and the target version, and finally generating a differential upgrade.
  • the package specifically, includes the following steps:
  • the source version data A is processed, that is, through the source version of the binary data, mathematical transformation and sorting are performed to calculate one.
  • a collection of metadata (meta data i), where the so-called metadata refers to the attribute data of the smallest basic unit set during the package process.
  • This collection of metadata is called temporary data.
  • the data (A,) performs a differential analysis on the source version A and the target version B to construct a differential upgrade package.
  • Step 1 Read N binary data from source version A, binary data l (binary datal error! Reference source not found.), binary data 2 (binary data2 error! Reference source not found.), ... .. . , Binary data N (binary dataN error! Reference source not found.).
  • Step 2 Set the minimum processing unit to get the relevant attribute information of each unit i, including the offset position of the unit in the version file (pos k error! Reference source not found.), specific data (val k error! The reference source was not found.) and so on, it is encapsulated into a metadata (meta data i) object by the processing of the algorithm, which can be expressed as:
  • ten represents a certain operation, which may be addition, subtraction, multiplication, and division.
  • the above expression indicates that the transformation result of the entire original version data is a superposition of the transformation results of the respective attributes. If the processing fails, go to step 5;
  • Step 3 The meta-data-set of the resulting metadata collection is wrong! The reference source was not found. After sorting by the self-research algorithm, an adjusted metadata combination meta_data_set' is obtained. If the processing fails, go to step 5.
  • Step 4 Make the memory data meta-data-set' error! The reference source was not found. Serialize into a file and enclose a whole piece of all metadata in the file header, which we call an intermediate file.
  • Step 5 Perform an integrity check on the intermediate file. If the verification is successful, save the file with the check value as the file name. If the verification fails, the intermediate step is incorrect, the data is not retained, and the exception is processed and exited.
  • next intermediate data can be obtained by directly deserializing the intermediate file IntermediateFile A when the differential package of the A to C, D, E, and F target versions is next produced.
  • the difference analysis between the source version A and the target version is directly performed, as shown in FIG. 3, thereby improving the efficiency of the differential package creation and greatly saving the differential package creation time.
  • Step 1 From the source version and the target version, select two files with the same file name but different binary data into pairs in a differential set. If there are a pair of files with the same file name but the same binary data in both versions, then The two files of this pair are not differentiated and need to be placed in a collection of common files.
  • Step 2 Select one of the files in the difference set to perform the difference. First, calculate the file integrity check value in the source version, and find the corresponding serialization file according to the calculated check value. If it is checked that there is no serialization file named with the signature value, go to step 3. If it is checked that there is a corresponding serialization file, proceed to step 4.
  • Step 3 If it is checked that there is no serialization file named with the signature value, it proves that the source file of the source version has not been made into a differential package, so it is necessary to perform data processing on this file, and The resulting temporary data results are serialized into a file, which is here, we introduce a cache optimization mechanism for differential package creation. And this serialized file, we also call it "intermediate file”, which is named after the version integrity check value, to ensure The uniqueness of the file name. Go to step 5.
  • Step 4 Check the intermediate serialization file of the source file corresponding to the source version, and directly read the data content of the serialization file, and proceed to step 5.
  • Step 5 Read the data of the intermediate file into the memory of the package device, and use the obtained data to analyze the difference information of the binary data of the source version and the target version, and generate the file name from the source version to the target version.
  • a differential upgrade package for files is
  • the above five steps describe how to use the cache intermediate processing result data to make a differential upgrade package, optimize the differential packet creation process, and improve the efficiency of the differential package creation.
  • the header file of the intermediate file is encapsulated with one piece of overall information of all metadata in the metadata set.
  • the method further includes:
  • the integrity check is performed on the intermediate file. If the verification is successful, the obtained check value is used as the file name of the intermediate file.
  • the "intermediate temporary" data generated in the middle of the differential package creation process is stored in the file, and the file name is unique, that is, the embodiment of the present invention serializes the data so as to facilitate The next time you make a differential package, if it is the same source version, you can deserialize the data directly from these unique files and use it to skip the process of generating intermediate temporary data to reduce the differential package production. The time required to improve the production efficiency of the differential upgrade package.
  • the file integrity check value of the source version is first calculated, and the intermediate file corresponding to the file integrity check value is searched according to the calculated file integrity check value. Perform an intermediate file creation step; otherwise, perform a differential analysis on the source version and the target version based on the intermediate file to construct a differential upgrade package.
  • binary data of two versions is first acquired.
  • the intermediate file then directly deserializes the matched intermediate file, reads its data content into the memory of the packet device, and starts to construct differential information, thereby generating As a differential upgrade package; if the intermediate file is not checked, it proves that the source version has never been made into a differential upgrade package, and an intermediate file needs to be processed and serialized into a file.
  • the file is named using the signature obtained from the integrity check, and then the data in this file is used to analyze the difference information of the two versions, and finally a differential upgrade package is generated. .
  • the step of performing differential analysis on the source version and the target version according to the intermediate file to construct the differential upgrade package includes:
  • an embodiment of the present invention further provides a device for fabricating a differential upgrade package, including:
  • the metadata processing module 10 is configured to obtain binary data of the source version, and perform mathematical transformation and sorting to obtain a metadata set, where the metadata refers to the attribute data of the set minimum basic unit;
  • An intermediate file building module 20 configured to serialize data in the metadata set into an intermediate file
  • the difference module 30 is configured to perform differential analysis on the source version and the target version according to the intermediate file when the differential upgrade package needs to be created, to construct a differential upgrade package.
  • the intermediate file construction module in the header file of the intermediate file encapsulates an overall information of all metadata in the metadata set.
  • the apparatus for fabricating the differential upgrade package further includes: a verification module 40, configured to perform integrity verification on the intermediate file, and if the verification is successful, obtain the obtained The check value is used as the file name of the intermediate file.
  • the difference module 30 includes:
  • the matching module 301 is configured to calculate a file integrity check value of the source version when the differential upgrade package needs to be created, and search for an intermediate file corresponding to the calculated file integrity check value, if not,
  • the metadata processing module sends a command to make an intermediate file.
  • the difference module 30 further includes: The deserialization module 302 is configured to deserialize the intermediate file and read the obtained data into the memory of the device;
  • the difference analysis module 303 is configured to use the obtained data to analyze the difference information of the binary data between the source version and the target version, and construct a differential upgrade package according to the difference information.
  • the embodiment of the present invention introduces a cache optimization mechanism, which shortens the processing process in which the differential packet tool takes the longest time to manufacture the differential packet, improves the work efficiency, saves the labor cost, and enables the differential upgrade technology to be popularized and applied. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

A method and device for fabricating a differential upgrade package. The method comprises: acquiring binary data of a source version, and conducting mathematical transformation and ranking on the binary data to obtain a metadata set, wherein the metadata means attribute data of a set minimum basic unit; serializing the data in the metadata set into an intermediate file; and when it is required to fabricate the differential upgrade package, conducting a differentiation analysis on the source version and a target version according to the intermediate file, so as to build the differential upgrade package. In the embodiments of the present invention, the intermediate file is used for fabricating the differential upgrade package, thereby improving the fabrication efficiency of the differential package and shortening the fabrication time of the differential package. In addition, because a cache optimization mechanism is introduced into the embodiments of the present invention, and the processing procedure of the step where the time consumed by a differential package tool to fabricate the differential package is the longest is shortened, the working efficiency is improved and the human cost is saved, enabling the differential upgrade technology to be popularized and applied.

Description

差分升级包的制作方法及装置  Method and device for manufacturing differential upgrade package
技术领域 Technical field
本发明涉及差分升级技术领域, 具体而言, 涉及一种差分升级包的制作 方法及其装置。 背景技术  The present invention relates to the field of differential upgrade technology, and in particular, to a method and apparatus for fabricating a differential upgrade package. Background technique
通常, 终端设备在经过一段时间之后需要进行相应的固件升级, 但是由 于设备存储空间的限制导致不能容纳一个完整的新版本数据以进行升级, 因 此需要根据两个新旧版本固件之间的差异性, 制作差分升级包, 并依据该差 分升级包来对旧版本的固件进行升级, 以减少存储空间的开销。  Usually, after a period of time, the terminal device needs to perform the corresponding firmware upgrade. However, due to the limitation of the storage space of the device, it cannot accommodate a complete new version of the data for upgrading. Therefore, according to the difference between the firmware of the two new and old versions, Make a differential upgrade package and upgrade the firmware of the old version based on the differential upgrade package to reduce storage space overhead.
通过相关技术制作一个差分包所需要的时间开销主要取决于两个新旧版 本固件的大小以及具体差异程度, 其产分包的制作效率较低。 另外, 目前在 一些公开文献中提出了一些差分技术, 此类差分技术会由自身算法计算出来 一个中间临时的转换文件, 但是现有技术中并没有提出任何的利用这一类中 间文件来制作差分升级包以提高差分包的制作效率的技术。 发明内容  The time required to make a differential package by related technology depends mainly on the size and specific degree of difference between the two new and old versions of the firmware, and the production of the sub-package is inefficient. In addition, some differential techniques are currently proposed in some public documents. Such differential techniques will calculate an intermediate temporary conversion file by their own algorithms, but the prior art does not propose any use of this type of intermediate file to make the difference. A technology to upgrade packages to increase the efficiency of differential package production. Summary of the invention
为了提高差分升级包的制作效率, 本发明实施例的目的在于提供一种差 分升级包的制作方法及其装置。  In order to improve the efficiency of the differential upgrade package, the purpose of the embodiments of the present invention is to provide a method and device for manufacturing a differential upgrade package.
为了达到本发明的目的, 本发明釆用以下技术方案实现:  In order to achieve the object of the present invention, the present invention is achieved by the following technical solutions:
一种差分升级包的制作方法, 其包括:  A method for fabricating a differential upgrade package, comprising:
获取源版本的二进制数据, 并对此进行数学变换和排序获得元一数据集 合, 所述元数据是指设定的最小的基础单位的属性数据;  Obtaining the binary data of the source version, and performing mathematical transformation and sorting to obtain a meta-data set, where the metadata refers to the attribute data of the set minimum basic unit;
将所述元数据集合中的数据序列化进一中间文件;  Serializing the data in the metadata set into an intermediate file;
在需要制作差分升级包时, 依据所述中间文件对源版本和目标版本进行 差异化分析, 以构建差分升级包。  When a differential upgrade package needs to be created, the source version and the target version are differentiated according to the intermediate file to construct a differential upgrade package.
优选地, 所述中间文件的头文件中被封入了元数据集合中所有元数据的 一个整体信息。 Preferably, the header file of the intermediate file is encapsulated with all metadata in the metadata set. A whole message.
优选地, 在将所述元数据集合中的数据序列化进中间文件之后, 所述方 法还包括:  Preferably, after serializing the data in the metadata set into the intermediate file, the method further includes:
对中间文件进行完整性校验, 如果校验成功, 则以得到的校验值作为该 中间文件的文件名。  The integrity check is performed on the intermediate file. If the verification is successful, the obtained check value is used as the file name of the intermediate file.
优选地, 在需要制作差分升级包时, 首先计算源版本的文件完整性校验 值, 并根据算出的文件完整性校验值搜索与之对应的中间文件, 如果搜索不 到, 则执行一次中间文件的制作步骤; 否则, 依据所述中间文件对源版本和 目标版本进行差异化分析, 以构建差分升级包。  Preferably, when the differential upgrade package needs to be created, the file integrity check value of the source version is first calculated, and the intermediate file corresponding to the file integrity check value is searched according to the calculated file integrity check value. If the search cannot be performed, the intermediate execution is performed once. The file creation step; otherwise, the source version and the target version are differentially analyzed according to the intermediate file to construct a differential upgrade package.
优选地, 依据所述中间文件对源版本和目标版本进行差异化分析以构建 差分升级包的步骤包括:  Preferably, the step of performing differential analysis on the source version and the target version according to the intermediate file to construct the differential upgrade package comprises:
反序列化该中间文件, 并将得到的数据读入设备的内存;  Deserializing the intermediate file and reading the resulting data into the memory of the device;
使用得到的这些数据分析源版本与目标版本之间的二进制数据的差异性 信息, 并 4艮据这些差异性信息构建差分升级包。  Use the obtained data to analyze the difference information of the binary data between the source version and the target version, and build a differential upgrade package based on the difference information.
一种差分升级包的制作装置, 其包括:  A manufacturing device for a differential upgrade package, comprising:
元数据处理模块, 设置为: 获取源版本的二进制数据, 并对此进行数学 变换和排序获得一元数据集合, 所述元数据是指设定的最小的基础单位的属 性数据;  The metadata processing module is configured to: obtain binary data of the source version, and perform mathematical transformation and sorting to obtain a metadata set, where the metadata refers to the attribute data of the set minimum basic unit;
中间文件构建模块, 设置为: 将所述元数据集合中的数据序列化进一中 间文件;  An intermediate file building module, configured to: serialize data in the metadata set into an intermediate file;
差分模块, 设置为: 在需要制作差分升级包时, 依据所述中间文件对源 版本和目标版本进行差异化分析, 以构建差分升级包。  The difference module is set to: When a differential upgrade package needs to be created, the source version and the target version are differentiated according to the intermediate file to construct a differential upgrade package.
优选地, 所述中间文件的头文件中被中间文件构建模块封入了元数据集 合中所有元数据的一个整体信息。  Preferably, the intermediate file construction module in the header file of the intermediate file encapsulates an overall information of all metadata in the metadata collection.
优选地, 所述差分升级包的制作装置还包括:  Preferably, the device for fabricating the differential upgrade package further includes:
校验模块, 设置为: 对中间文件进行完整性校验, 如果校验成功, 则以 得到的校验值作为该中间文件的文件名。  The verification module is set to: Perform integrity check on the intermediate file. If the verification is successful, the obtained verification value is used as the file name of the intermediate file.
优选地, 所述差分模块包括  Preferably, the difference module comprises
匹配模块, 设置为: 在需要制作差分升级包时, 计算源版本的文件完整 性校验值, 并根据算出的文件完整性校验值搜索与之对应的中间文件, 如果 搜索不到, 则向元数据处理模块发送制作中间文件的命令。 Matching module, set to: Calculate the source version of the file when you need to make a differential upgrade package The parity check value is searched for the intermediate file corresponding to the calculated file integrity check value. If the search fails, the command for creating the intermediate file is sent to the metadata processing module.
优选地, 所述差分模块还包括:  Preferably, the difference module further includes:
反序列化模块, 设置为: 反序列化中间文件, 并将得到的数据读入设备 的内存;  The deserialization module is set to: deserialize the intermediate file and read the resulting data into the memory of the device;
差异化分析模块, 设置为: 使用得到的这些数据分析源版本与目标版本 之间的二进制数据的差异性信息, 并根据这些差异性信息构建差分升级包。  The differentiated analysis module is configured to: use the obtained data to analyze the difference information of the binary data between the source version and the target version, and construct a differential upgrade package based on the difference information.
通过上述本发明实施例的技术方案可以看出, 本发明实施例利用中间文 件来制作差分升级包, 提高了差分包的制作效率, 缩短了差分包制作时间, 另外, 因为本发明实施例引入了緩存优化机制, 缩短了差分包工具制作差分 包耗时最长的那一步的处理过程,进一步提升了工作效率,节约了人力成本, 使得差分升级技术可以得到进一步推广和应用。  The embodiment of the present invention can be used to create a differential upgrade package by using an intermediate file, which improves the efficiency of manufacturing the differential packet and shortens the time for making the differential packet. In addition, since the embodiment of the present invention introduces The cache optimization mechanism shortens the processing process of the longest step of the differential packet tool to make the differential packet, further improves the work efficiency, saves the labor cost, and enables the differential upgrade technology to be further promoted and applied.
附图概述 BRIEF abstract
图 2是本发明实施例提供的中间文件的生成过程示意图; 2 is a schematic diagram of a process of generating an intermediate file according to an embodiment of the present invention;
图 3是本发明实施例提供的差分包效率优化示意图;  FIG. 3 is a schematic diagram of optimization of a differential packet efficiency according to an embodiment of the present invention; FIG.
图 4是本发明实施例提供的差分升级包的制作装置结构示意图;  4 is a schematic structural diagram of a device for fabricating a differential upgrade package according to an embodiment of the present invention;
图 6是本发明优选实施例提供的差分模块结构示意图。 FIG. 6 is a schematic structural diagram of a differential module according to a preferred embodiment of the present invention.
本发明目的的实现、 功能特点及优异效果, 下面将结合具体实施例以及 附图做进一步的说明。  The implementation, functional features and advantageous effects of the object of the present invention will be further described below in conjunction with the specific embodiments and the accompanying drawings.
本发明的较佳实施方式 Preferred embodiment of the invention
下面结合附图和具体实施例对本发明所述技术方案作进一步的详细描 述, 以使本领域的技术人员可以更好的理解本发明并能予以实施, 但所举实 施例不作为对本发明的限定。  The technical solutions of the present invention are further described in detail below with reference to the accompanying drawings and specific embodiments to enable those skilled in the art to understand the invention. .
如图 1所示,本发明实施例提供了一种差分升级包的制作方法,简单而言, 其首先获取两个版本(源版本以及目标版本) 的二进制文件, 然后对源版本 的二进制数据进行处理, 产生一个中间临时数据, 用于分析原版本和目标版 本的差异性信息, 最后生成差分升级包, 具体地, 其包括如下步骤: As shown in FIG. 1 , an embodiment of the present invention provides a method for fabricating a differential upgrade package. It first obtains the binary files of the two versions (source version and target version), and then processes the binary data of the source version to generate an intermediate temporary data for analyzing the difference information of the original version and the target version, and finally generating a differential upgrade. The package, specifically, includes the following steps:
S10、 获取源版本的二进制数据, 并对此进行数学变换和排序获得元一 数据集合, 所述元数据是指设定的最小的基础单位的属性数据;  S10. Obtain binary data of the source version, and perform mathematical transformation and sorting to obtain a meta-data set, where the metadata refers to the attribute data of the set minimum basic unit;
S20、 将所述元数据集合中的数据序列化进一中间文件;  S20. Serialize the data in the metadata set into an intermediate file.
S30、 在需要制作差分升级包时, 依据所述中间文件对源版本和目标版 本进行差异化分析, 以构建差分升级包。  S30. When a differential upgrade package needs to be created, perform differential analysis on the source version and the target version according to the intermediate file to construct a differential upgrade package.
例如, 在制作源版本 A到目标版本 B 的差分升级包的过程中, 如图 2 所示, 对源版本数据 A进行处理, 也就是通过源版本的二进制数据, 经过 数学变换和排序计算出一个元数据 (meta data i)的集合, 其中, 所谓元数据, 就是指在做包过程中, 设定的最小的基础单位的属性数据。 这一元数据的集 合称之为临时数据 (temporary data), 本发明实施例中, 会将这一临时数据序 列化到一个中间文件 (IntermediateFile A)中, 然后^ =艮据这个 "中间文件 " 中的 数据 (A,)对源版本 A和目标版本 B进行差异性分析, 构建差分升级包。  For example, in the process of making a differential upgrade package from source version A to target version B, as shown in FIG. 2, the source version data A is processed, that is, through the source version of the binary data, mathematical transformation and sorting are performed to calculate one. A collection of metadata (meta data i), where the so-called metadata refers to the attribute data of the smallest basic unit set during the package process. This collection of metadata is called temporary data. In the embodiment of the present invention, this temporary data is serialized into an intermediate file (IntermediateFile A), and then ^ = according to this "intermediate file" The data (A,) performs a differential analysis on the source version A and the target version B to construct a differential upgrade package.
参考图 2 , 其详细描述了中间文件的生成过程, 具体地:  Referring to FIG. 2, the detailed process of generating an intermediate file is specifically described, specifically:
步骤 1 : 从源版本 A 中读取 N个二进制数据, 二进制数据 l(binarydatal 错误!未找到引用源。),二进制数据 2(binarydata2错误!未找到引用源。 ), ... ... , 二进制数据 N(binarydataN错误! 未找到引用源。 )。 Step 1: Read N binary data from source version A, binary data l (binary datal error! Reference source not found.), binary data 2 (binary data2 error! Reference source not found.), ... .. . , Binary data N (binary dataN error! Reference source not found.).
步骤 2: 设定最小处理单元, 获取每个单元 i 的相关属性信息, 其中包 括该单元在版本文件中的偏移位置 (posk错误!未找到引用源。),具体数据 (valk 错误! 未找到引用源。 )等等, 经过算法的处理将其封装进一个元数据 (meta data i)对象中, 可以表示为: Step 2: Set the minimum processing unit to get the relevant attribute information of each unit i, including the offset position of the unit in the version file (pos k error! Reference source not found.), specific data (val k error! The reference source was not found.) and so on, it is encapsulated into a metadata (meta data i) object by the processing of the algorithm, which can be expressed as:
F(binary— data)错误! 未找到引用源。 =Fi(binarydatal)© ... © Fk(binarydataK) Θ... Θ FN(binarydataN); F(binary-data) error! The reference source was not found. =Fi(binary datal )© ... © F k (binary dataK ) Θ... Θ F N (binary dataN );
错误! 未找到引用源。 其中,每一项式子有:  error! The reference source was not found. Among them, each formula has:
Fk(binarydataK)=f(posk, valk)= f(posk) Θ f(valk). F k (binary dataK )=f(pos k , val k )= f(pos k ) Θ f(val k ).
其中,㊉表示某种运算, 可以是加、 减、 乘、 除, 上式表示了原版本数据 整体的变换结果是各属性变换结果的叠加。 如果处理失败, 转入步骤 5; Wherein, ten represents a certain operation, which may be addition, subtraction, multiplication, and division. The above expression indicates that the transformation result of the entire original version data is a superposition of the transformation results of the respective attributes. If the processing fails, go to step 5;
步骤 3: 将所得元数据的集合 meta— data— set错误! 未找到引用源。 经过自 研算法排序, 得到一个调整后的元数据组合 meta— data— set'。 如果处理失败, 转入步骤 5。  Step 3: The meta-data-set of the resulting metadata collection is wrong! The reference source was not found. After sorting by the self-research algorithm, an adjusted metadata combination meta_data_set' is obtained. If the processing fails, go to step 5.
步骤 4: 将内存数据 meta— data— set'错误! 未找到引用源。 序列化入文件, 并在文件头部封入所有元数据的一个整体信息,该文件我们称之为中间文件。  Step 4: Make the memory data meta-data-set' error! The reference source was not found. Serialize into a file and enclose a whole piece of all metadata in the file header, which we call an intermediate file.
步骤 5: 对中间文件做完整性校验, 如果校验成功, 则以校验值作为文件 名保存文件, 。 如果校验失败, 说明中间步骤出错, 不予保留所得数据, 异 常处理后退出。  Step 5: Perform an integrity check on the intermediate file. If the verification is successful, save the file with the check value as the file name. If the verification fails, the intermediate step is incorrect, the data is not retained, and the exception is processed and exited.
上述 5步骤描述了如何从源版本 A 的数据出发得到 A版本的中间文件。 经过这样序列化的操作以后, 在下一次制作 A到 C、 D、 E、 F 目标版 本的差分包时, 都可以通过直接反序列化中间文件 IntermediateFile A获取所 需的中间数据 (A,), 从而直接进行源版本 A到目标版本的差异性分析, 如图 3 所示, 从而提升差分包制作效率, 大大节省差分包制作时间。  The above 5 steps describe how to get the intermediate file of the A version from the data of the source version A. After such a serialization operation, the next intermediate data (A,) can be obtained by directly deserializing the intermediate file IntermediateFile A when the differential package of the A to C, D, E, and F target versions is next produced. The difference analysis between the source version A and the target version is directly performed, as shown in FIG. 3, thereby improving the efficiency of the differential package creation and greatly saving the differential package creation time.
下面详细描述本发明实施例所涉及的带有緩存优化机制的差分升级包制 作方法的流程:  The flow of the differential upgrade package manufacturing method with the cache optimization mechanism involved in the embodiment of the present invention is described in detail below:
步骤 1 :从源版本和目标版本中,选取文件名相同但是二进制数据不同的 两个文件成对放入差分集合中, 如果两个版本中存在文件名相同但是二进制 数据相同的一对文件, 那么对这一对的两个文件不进行差分, 需要将它们放 入共同文件的集合中。  Step 1: From the source version and the target version, select two files with the same file name but different binary data into pairs in a differential set. If there are a pair of files with the same file name but the same binary data in both versions, then The two files of this pair are not differentiated and need to be placed in a collection of common files.
步骤 2:选取差分集合中的其中一对文件进行差分,首先计算出源版本中 的文件完整性校验值, 根据算出的校验值寻找对应的序列化文件。 如果检查 到不存在以该签名值命名的序列化文件,进入步骤 3。如果检查到存在对应的 序列化文件, 那么进入步骤 4。  Step 2: Select one of the files in the difference set to perform the difference. First, calculate the file integrity check value in the source version, and find the corresponding serialization file according to the calculated check value. If it is checked that there is no serialization file named with the signature value, go to step 3. If it is checked that there is a corresponding serialization file, proceed to step 4.
步骤 3:如果检查到不存在以该签名值命名的序列化文件,那么证明从没 有对该源版本的源文件进行过差分包的制作, 所以需要对这个文件进行一次 数据处理, 并且还要将产生的临时数据结果序列化入一个文件中, 也就是在 这里, 我们引入了一个差分包制作的緩存优化机制。 而这一序列化的文件, 我们也称之为 "中间文件" , 该文件以版本的完整性校验值来命名, 要保证 文件名称的唯一性。 进入步骤 5。 Step 3: If it is checked that there is no serialization file named with the signature value, it proves that the source file of the source version has not been made into a differential package, so it is necessary to perform data processing on this file, and The resulting temporary data results are serialized into a file, which is here, we introduce a cache optimization mechanism for differential package creation. And this serialized file, we also call it "intermediate file", which is named after the version integrity check value, to ensure The uniqueness of the file name. Go to step 5.
步骤 4:检查到存在对应源版本的这一源文件的中间序列化文件,直接读 取该序列化文件的数据内容, 进入步骤 5。  Step 4: Check the intermediate serialization file of the source file corresponding to the source version, and directly read the data content of the serialization file, and proceed to step 5.
步骤 5 : 将中间文件的数据读入到做包设备的内存中,使用得到的这些数 据分析源版本和目标版本的二进制数据的差异性信息, 生成从源版本到目标 版本的这一文件名的文件的差分升级包。  Step 5: Read the data of the intermediate file into the memory of the package device, and use the obtained data to analyze the difference information of the binary data of the source version and the target version, and generate the file name from the source version to the target version. A differential upgrade package for files.
上述 5步骤描述了如何利用緩存中间处理结果数据来进行差分升级包的 制作, 使差分包制作流程得以优化, 提高了差分包制作效率。  The above five steps describe how to use the cache intermediate processing result data to make a differential upgrade package, optimize the differential packet creation process, and improve the efficiency of the differential package creation.
本实施例中, 所述中间文件的头文件中被封入了元数据集合中所有元数 据的一个整体信息。  In this embodiment, the header file of the intermediate file is encapsulated with one piece of overall information of all metadata in the metadata set.
优选地, 在将所述元数据集合中的数据序列化进中间文件之后, 所述方 法还包括:  Preferably, after serializing the data in the metadata set into the intermediate file, the method further includes:
对中间文件进行完整性校验, 如果校验成功, 则以得到的校验值作为该 中间文件的文件名。  The integrity check is performed on the intermediate file. If the verification is successful, the obtained check value is used as the file name of the intermediate file.
在本实施例中, 会将差分包制作过程中, 中间所产生的 "中间临时" 数 据存储到文件中, 文件名要具有唯一性, 也就是说本发明实施例会将这些数 据序列化, 以便于下次进行差分包制作时, 如果是相同的源版本, 那么就可 以直接从这些唯一的文件中反序列化出来这些数据加以使用, 从而略过产生 中间临时数据这一过程以减少差分包制作所需的时间, 提高差分升级包的制 作效率。  In this embodiment, the "intermediate temporary" data generated in the middle of the differential package creation process is stored in the file, and the file name is unique, that is, the embodiment of the present invention serializes the data so as to facilitate The next time you make a differential package, if it is the same source version, you can deserialize the data directly from these unique files and use it to skip the process of generating intermediate temporary data to reduce the differential package production. The time required to improve the production efficiency of the differential upgrade package.
在本实施例中, 在需要制作差分升级包时, 首先计算源版本的文件完整 性校验值, 并根据算出的文件完整性校验值搜索与之对应的中间文件, 如果 搜索不到, 则执行一次中间文件的制作步骤; 否则, 依据所述中间文件对源 版本和目标版本进行差异化分析, 以构建差分升级包。  In this embodiment, when a differential upgrade package needs to be created, the file integrity check value of the source version is first calculated, and the intermediate file corresponding to the file integrity check value is searched according to the calculated file integrity check value. Perform an intermediate file creation step; otherwise, perform a differential analysis on the source version and the target version based on the intermediate file to construct a differential upgrade package.
例如, 一种实施方式中, 首先获取两个版本(源版本和目标版本) 的二 进制数据。 制作差分包时, 首先根据源版本的数据计算出版本的完整性校验 值, 并以此作为其签名, 并利用该签名值检查该版本有无序列化的中间文件 可以使用, 如果检查到存在中间文件, 那么直接反序列化该匹配到的中间文 件, 将它的数据内容读入做包设备的内存中, 并开始构建差分信息, 从而生 成差分升级包; 如果没有检查到该中间文件, 那么证明该源版本从未对其进 行过差分升级包的制作, 需要对其进行一次中间文件的制作处理, 并将处理 结果序列化入一个文件中, 因为要保证文件名称的唯一性, 所以该文件使用 完整性校验得出的签名来命名, 然后再利用这一文件中的数据分析这两个版 本的差异性信息, 最终生成差分升级包。 For example, in one embodiment, binary data of two versions (source version and target version) is first acquired. When making a differential package, first calculate the integrity check value of the version according to the data of the source version, and use this as its signature, and use the signature value to check whether the intermediate file with serialization of the version can be used, if the check exists. The intermediate file, then directly deserializes the matched intermediate file, reads its data content into the memory of the packet device, and starts to construct differential information, thereby generating As a differential upgrade package; if the intermediate file is not checked, it proves that the source version has never been made into a differential upgrade package, and an intermediate file needs to be processed and serialized into a file. In order to ensure the uniqueness of the file name, the file is named using the signature obtained from the integrity check, and then the data in this file is used to analyze the difference information of the two versions, and finally a differential upgrade package is generated. .
在本实施例中, 依据所述中间文件对源版本和目标版本进行差异化分析 以构建差分升级包的步骤包括:  In this embodiment, the step of performing differential analysis on the source version and the target version according to the intermediate file to construct the differential upgrade package includes:
反序列化该中间文件, 并将得到的数据读入设备的内存;  Deserializing the intermediate file and reading the resulting data into the memory of the device;
使用得到的这些数据分析源版本与目标版本之间的二进制数据的差异性 信息, 并 4艮据这些差异性信息构建差分升级包。  Use the obtained data to analyze the difference information of the binary data between the source version and the target version, and build a differential upgrade package based on the difference information.
相应地,如图 4所示,本发明实施例还提供了一种差分升级包的制作装置, 其包括:  Correspondingly, as shown in FIG. 4, an embodiment of the present invention further provides a device for fabricating a differential upgrade package, including:
元数据处理模块 10, 用于获取源版本的二进制数据, 并对此进行数学变 换和排序获得一元数据集合, 所述元数据是指设定的最小的基础单位的属性 数据;  The metadata processing module 10 is configured to obtain binary data of the source version, and perform mathematical transformation and sorting to obtain a metadata set, where the metadata refers to the attribute data of the set minimum basic unit;
中间文件构建模块 20, 用于将所述元数据集合中的数据序列化进一中间 文件;  An intermediate file building module 20, configured to serialize data in the metadata set into an intermediate file;
差分模块 30, 用于在需要制作差分升级包时, 依据所述中间文件对源版 本和目标版本进行差异化分析, 以构建差分升级包。  The difference module 30 is configured to perform differential analysis on the source version and the target version according to the intermediate file when the differential upgrade package needs to be created, to construct a differential upgrade package.
本发明实施例中, 所述中间文件的头文件中被中间文件构建模块封入了 元数据集合中所有元数据的一个整体信息。  In the embodiment of the present invention, the intermediate file construction module in the header file of the intermediate file encapsulates an overall information of all metadata in the metadata set.
本发明的优选实施例中,如图 5所示,所述差分升级包的制作装置还包括: 校验模块 40, 用于对中间文件进行完整性校验, 如果校验成功, 则以得 到的校验值作为该中间文件的文件名。  In a preferred embodiment of the present invention, as shown in FIG. 5, the apparatus for fabricating the differential upgrade package further includes: a verification module 40, configured to perform integrity verification on the intermediate file, and if the verification is successful, obtain the obtained The check value is used as the file name of the intermediate file.
本发明实施例中, 如图 6所示, 所述差分模块 30包括:  In the embodiment of the present invention, as shown in FIG. 6, the difference module 30 includes:
匹配模块 301 ,用于在需要制作差分升级包时,计算源版本的文件完整性 校验值, 并根据算出的文件完整性校验值搜索与之对应的中间文件, 如果搜 索不到, 则向元数据处理模块发送制作中间文件的命令。  The matching module 301 is configured to calculate a file integrity check value of the source version when the differential upgrade package needs to be created, and search for an intermediate file corresponding to the calculated file integrity check value, if not, The metadata processing module sends a command to make an intermediate file.
本发明实施例中, 继续参考图 6 , 所述差分模块 30还包括: 反序列化模块 302 ,用于反序列化中间文件,并将得到的数据读入设备的 内存; In the embodiment of the present invention, with reference to FIG. 6, the difference module 30 further includes: The deserialization module 302 is configured to deserialize the intermediate file and read the obtained data into the memory of the device;
差异化分析模块 303 ,用于使用得到的这些数据分析源版本与目标版本之 间的二进制数据的差异性信息, 并根据这些差异性信息构建差分升级包。  The difference analysis module 303 is configured to use the obtained data to analyze the difference information of the binary data between the source version and the target version, and construct a differential upgrade package according to the difference information.
以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接 或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。  The above description is only the preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent flow transformation made by the specification and the drawings of the present invention may be directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of the present invention.
工业实用性 Industrial applicability
率, 缩短了差分包制作时间。 另外, 本发明实施例引入了緩存优化机制, 缩 短了差分包工具制作差分包耗时最长的那一步的处理过程,提升了工作效率, 节约了人力成本, 使得差分升级技术可以得到推广和应用。 Rate, shortening the time of differential package creation. In addition, the embodiment of the present invention introduces a cache optimization mechanism, which shortens the processing process in which the differential packet tool takes the longest time to manufacture the differential packet, improves the work efficiency, saves the labor cost, and enables the differential upgrade technology to be popularized and applied. .

Claims

权 利 要 求 书 claims
1、 一种差分升级包的制作方法, 包括: 1. A method for making a differential upgrade package, including:
获取源版本的二进制数据, 并对此进行数学变换和排序获得元一数据集 合, 所述元数据是指设定的最小的基础单位的属性数据; Obtain the binary data of the source version, and perform mathematical transformation and sorting on it to obtain a metadata set. The metadata refers to the attribute data of the smallest basic unit set;
将所述元数据集合中的数据序列化进一中间文件; Serialize the data in the metadata collection into an intermediate file;
在需要制作差分升级包时, 依据所述中间文件对源版本和目标版本进行 差异化分析, 以构建差分升级包。 When a differential upgrade package needs to be produced, a differential analysis is performed on the source version and the target version based on the intermediate file to build a differential upgrade package.
2、 如权利要求 1所述的差分升级包的制作方法, 其中, 所述中间文件的 头文件中被封入了元数据集合中所有元数据的一个整体信息。 2. The method of making a differential upgrade package as claimed in claim 1, wherein the header file of the intermediate file contains a whole set of information of all metadata in the metadata set.
3、 如权利要求 1所述的差分升级包的制作方法, 其中, 在将所述元数据 集合中的数据序列化进中间文件之后, 所述方法还包括: 3. The method for producing a differential upgrade package as claimed in claim 1, wherein, after serializing the data in the metadata set into an intermediate file, the method further includes:
对中间文件进行完整性校验, 如果校验成功, 则以得到的校验值作为该 中间文件的文件名。 Integrity verification is performed on the intermediate file. If the verification is successful, the obtained verification value is used as the file name of the intermediate file.
4、 如权利要求 1所述的差分升级包的制作方法, 其中, 在需要制作差分 升级包时, 首先计算源版本的文件完整性校验值, 并根据算出的文件完整性 校验值搜索与之对应的中间文件, 如果搜索不到, 则执行一次中间文件的制 作步骤; 否则, 依据所述中间文件对源版本和目标版本进行差异化分析, 以 构建差分升级包。 4. The method for producing a differential upgrade package as claimed in claim 1, wherein when it is necessary to produce a differential upgrade package, the file integrity check value of the source version is first calculated, and the file integrity check value is searched based on the calculated file integrity check value. If the corresponding intermediate file cannot be searched, the intermediate file production step is performed once; otherwise, a differential analysis is performed on the source version and the target version based on the intermediate file to build a differential upgrade package.
5、如权利要求 1或 4所述的差分升级包的制作方法, 其中,依据所述中间 文件对源版本和目标版本进行差异化分析以构建差分升级包的步骤包括: 反序列化该中间文件, 并将得到的数据读入设备的内存; 5. The method for producing a differential upgrade package according to claim 1 or 4, wherein the step of performing differential analysis on the source version and the target version based on the intermediate file to construct a differential upgrade package includes: deserializing the intermediate file , and read the obtained data into the device's memory;
使用得到的这些数据分析源版本与目标版本之间的二进制数据的差异性 信息, 并 4艮据这些差异性信息构建差分升级包。 Use the obtained data to analyze the difference information of the binary data between the source version and the target version, and build a differential upgrade package based on the difference information.
6、 一种差分升级包的制作装置, 包括: 6. A device for making differential upgrade packages, including:
元数据处理模块, 设置为: 获取源版本的二进制数据, 并对此进行数学 变换和排序获得一元数据集合, 所述元数据是指设定的最小的基础单位的属 性数据; Metadata processing module, set to: Get source version of binary data and do math on it Transform and sort to obtain a metadata set, where the metadata refers to the set attribute data of the smallest basic unit;
中间文件构建模块, 设置为: 将所述元数据集合中的数据序列化进一中 间文件; The intermediate file building module is configured to: serialize the data in the metadata collection into an intermediate file;
差分模块, 设置为: 在需要制作差分升级包时, 依据所述中间文件对源 版本和目标版本进行差异化分析, 以构建差分升级包。 The differential module is configured to: when a differential upgrade package needs to be produced, perform differential analysis on the source version and the target version based on the intermediate file to build a differential upgrade package.
7、 如权利要求 6所述的差分升级包的制作装置, 其中, 所述中间文件的 头文件中被中间文件构建模块封入了元数据集合中所有元数据的一个整体信 息。 7. The device for producing a differential upgrade package as claimed in claim 6, wherein the header file of the intermediate file contains a whole set of information of all metadata in the metadata set sealed by the intermediate file construction module.
8、 如权利要求 6所述的差分升级包的制作装置, 其中, 还包括: 校验模块, 设置为: 对中间文件进行完整性校验, 如果校验成功, 则以 得到的校验值作为该中间文件的文件名。 8. The device for producing a differential upgrade package as claimed in claim 6, further comprising: a verification module, configured to: perform integrity verification on the intermediate file, and if the verification is successful, use the obtained verification value as The file name of this intermediate file.
9、 如权利要求 6所述的差分升级包的制作装置, 其中, 所述差分模块包 括: 9. The device for making a differential upgrade package as claimed in claim 6, wherein the differential module includes:
匹配模块, 设置为: 在需要制作差分升级包时, 计算源版本的文件完整 性校验值, 并根据算出的文件完整性校验值搜索与之对应的中间文件, 如果 搜索不到, 则向元数据处理模块发送制作中间文件的命令。 The matching module is set to: When a differential upgrade package needs to be produced, calculate the file integrity check value of the source version, and search for the corresponding intermediate file based on the calculated file integrity check value. If the search cannot be found, search for The metadata processing module sends commands for making intermediate files.
10、如权利要求 6所述的差分升级包的制作装置, 其中, 所述差分模块还 包括: 10. The device for producing a differential upgrade package as claimed in claim 6, wherein the differential module further includes:
反序列化模块, 设置为: 反序列化中间文件, 并将得到的数据读入设备 的内存; The deserialization module is set to: deserialize the intermediate file and read the obtained data into the device's memory;
差异化分析模块, 设置为: 使用得到的这些数据分析源版本与目标版本 之间的二进制数据的差异性信息, 并根据这些差异性信息构建差分升级包。 The difference analysis module is set to: use the obtained data to analyze the difference information of the binary data between the source version and the target version, and build a differential upgrade package based on the difference information.
PCT/CN2014/075631 2013-09-18 2014-04-17 Method and device for fabricating differential upgrade package WO2014176985A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310430797.4A CN104461593A (en) 2013-09-18 2013-09-18 Differential upgrade patch manufacturing method and device
CN201310430797.4 2013-09-18

Publications (1)

Publication Number Publication Date
WO2014176985A1 true WO2014176985A1 (en) 2014-11-06

Family

ID=51843118

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/075631 WO2014176985A1 (en) 2013-09-18 2014-04-17 Method and device for fabricating differential upgrade package

Country Status (2)

Country Link
CN (1) CN104461593A (en)
WO (1) WO2014176985A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089259A (en) * 2018-08-03 2018-12-25 上海艾拉比智能科技有限公司 A kind of online difference upgrade-system
CN111800782A (en) * 2020-07-03 2020-10-20 上海移远通信技术股份有限公司 Method, system, device and medium for generating differential packet on line

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293793A (en) * 2015-06-02 2017-01-04 西安中兴新软件有限责任公司 The method for upgrading software of a kind of terminal, device and system
CN106484454A (en) * 2015-09-02 2017-03-08 中兴通讯股份有限公司 The processing method and processing device of difference AKU, upgrade method, system and device
CN105700926B (en) * 2016-01-14 2019-09-20 青岛海信电器股份有限公司 Difference upgrade package production method and device, system difference upgrade and device
CN105740016B (en) * 2016-01-28 2020-08-25 腾讯科技(深圳)有限公司 Increment issuing method and device, upgrading method and device of application program
CN105786563B (en) * 2016-02-19 2018-11-09 联州(上海)信息科技有限公司 Realize the devices, systems, and methods of software online updating
CN107436756A (en) * 2016-05-26 2017-12-05 高德信息技术有限公司 One kind applies update method, server, terminal and system
CN111258620B (en) * 2018-11-30 2022-02-22 中兴通讯股份有限公司 Method, device and equipment for generating differential upgrade package
CN112286564A (en) * 2020-10-22 2021-01-29 上海艾拉比智能科技有限公司 Differential upgrade algorithm for binary system files of IOT (input/output) equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008095577A1 (en) * 2007-02-09 2008-08-14 Telefonaktiebolaget L M Ericsson (Publ) Generating delta updates for a processing device
US7555750B1 (en) * 2002-08-22 2009-06-30 Hewlett-Packard Development Company, L.P. Update package generator employing partial predictive mapping techniques for generating update packages for mobile handsets
CN102081536A (en) * 2010-12-30 2011-06-01 华为终端有限公司 Method for updating increment, and server
CN103123588A (en) * 2013-02-05 2013-05-29 东莞宇龙通信科技有限公司 Method and system for obtaining difference upgrade patch

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7890464B2 (en) * 2003-06-20 2011-02-15 Innopath Software, Inc. Processing software images and generating difference files

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7555750B1 (en) * 2002-08-22 2009-06-30 Hewlett-Packard Development Company, L.P. Update package generator employing partial predictive mapping techniques for generating update packages for mobile handsets
WO2008095577A1 (en) * 2007-02-09 2008-08-14 Telefonaktiebolaget L M Ericsson (Publ) Generating delta updates for a processing device
CN102081536A (en) * 2010-12-30 2011-06-01 华为终端有限公司 Method for updating increment, and server
CN103123588A (en) * 2013-02-05 2013-05-29 东莞宇龙通信科技有限公司 Method and system for obtaining difference upgrade patch

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089259A (en) * 2018-08-03 2018-12-25 上海艾拉比智能科技有限公司 A kind of online difference upgrade-system
CN111800782A (en) * 2020-07-03 2020-10-20 上海移远通信技术股份有限公司 Method, system, device and medium for generating differential packet on line

Also Published As

Publication number Publication date
CN104461593A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
WO2014176985A1 (en) Method and device for fabricating differential upgrade package
US11327792B2 (en) Hashing data-processing steps in workflow environments
CN111078672B (en) Data comparison method and device for database
WO2017036228A1 (en) Method and apparatus for implementing system upgrading
CN110209652A (en) Tables of data moving method, device, computer equipment and storage medium
CN108491326B (en) Test behavior a recombination process apparatus and storage medium
CN102741811A (en) Improving performance of template based JavaScript widgets
CN108108260B (en) Resource file verification method and device
WO2018149395A1 (en) Routing configuration method for view file, and storage medium, terminal device and apparatus
CN110647531A (en) Data synchronization method, device, equipment and computer readable storage medium
KR20180133375A (en) Data analysis and processing methods, devices, computer devices and storage media
WO2013083067A1 (en) Method and device for acquiring structured information in layout file
JP2017504129A5 (en)
CN111400346A (en) Method, equipment, device and medium for improving execution efficiency of database all-in-one machine
US10394763B2 (en) Method and device for generating pileup file from compressed genomic data
US10997966B2 (en) Voice recognition method, device and computer storage medium
JP6329552B2 (en) Reference data segmentation from single table to multiple tables
WO2016177075A1 (en) Method of checking associative relationship of service data, device and readable storage medium utilizing same
US10678505B2 (en) Subset encoding method: increasing pattern density for finite automata
CN111026736A (en) Data blood margin management method and device and data blood margin analysis method and device
CN104049949A (en) Peephole optimization method based on BSWAP instruction
CN106775802B (en) Method and system for quickly updating mass small files
WO2013037221A1 (en) Mml-based large volume data configuration method, server and system
CN115982422A (en) Data storage method and data storage device for character string data
JP6516343B2 (en) Application user interface automatic test method, electronic device, system and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14791047

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14791047

Country of ref document: EP

Kind code of ref document: A1