CN106648765A - Embedded device firmware service pack generating and firmware differential upgrading methods and device - Google Patents

Embedded device firmware service pack generating and firmware differential upgrading methods and device Download PDF

Info

Publication number
CN106648765A
CN106648765A CN201611118555.1A CN201611118555A CN106648765A CN 106648765 A CN106648765 A CN 106648765A CN 201611118555 A CN201611118555 A CN 201611118555A CN 106648765 A CN106648765 A CN 106648765A
Authority
CN
China
Prior art keywords
firmware
bag
information
patch
module
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201611118555.1A
Other languages
Chinese (zh)
Inventor
古金峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Systems China Ltd
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 Comba Telecom Systems China Ltd filed Critical Comba Telecom Systems China Ltd
Priority to CN201611118555.1A priority Critical patent/CN106648765A/en
Publication of CN106648765A publication Critical patent/CN106648765A/en
Pending legal-status Critical Current

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

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)
  • Stored Programmes (AREA)

Abstract

The invention provides an embedded device firmware service pack generating method and device. The method comprises the following steps that an uploaded firmware upgrading patch is received; the firmware upgrading patch is analyzed, and the legality of the firmware upgrading patch is verified; a firmware service pack is made based on the firmware upgrading patch verified successfully. The invention further provides an embedded device firmware differential upgrading method and system. According to the method, the making process of the service pack is improved, so that the minimum effective firmware upgrading service pack is automatically generated through a network management center; firmware is subjected to differential upgrading through the firmware upgrading service patch, therefore, the firmware updating efficiency and stability are improved, the manpower maintenance and broadband cost is reduced, and the user experience degree is enhanced.

Description

Embedded device firmware patch bag is generated and firmware difference upgrade method and device
Technical field
The present invention relates to the communications field, specifically, the present invention relates to a kind of embedded device firmware patch bag generation side Method and device, also relate to a kind of embedded device difference upgrade method and system.
Background technology
With the development of information technology, embedded device is more and more diversified, and application is also more and more extensive.Also it is more and more Equipment need centralized management, layout network management center system to carry out Centralized Monitoring, safeguard these equipment, such as honeycomb fashion micro-base station, The a series of equipment such as base station, router is required for network management center's system to monitor its ruuning situation and tie up its software version Shield.The often substantial amounts of equipment of network management center's system administration, and it has different firmware versions in operation, this when firmware liter The speed of level, efficiency and its stability just seem extremely important, if AKU is excessive and restrictions of network transfer speeds, meeting Cause update time elongated, update time is long to bring problems for device upgrade.Occurs burst thing during upgrading Part affects the situation of updating result to increase, such as link exception, device looses power etc..AKU is excessive, not only can take more Device resource, including the resource such as device memory and CPU, while expending the network bandwidth, expend network traffics, if user is logical Cross with the Channel improvement of charge on traffic, overhead can be increased again.
At this stage, traditional DFU has basic two kinds:A kind of whole bag upgrading mode, i.e., user is by webmaster liter The whole bag of level completes upgrading;One kind is that service packs upgrading mode, i.e. user are locally making service packs, then by network management upgrading Service packs completes upgrading.First kind of way shortcoming be whole bag than larger, remote transmission is slow, is particularly limited in network speed Under environment, the stability of network upgrade is directly affected;The second way has the disadvantage that online equipment version management needs user management, Because making service packs, the firmware version that equipment is currently running is needed, therefore user needs management to transport in net all devices Capable firmware version;Although so substantially increasing in firmware efficiency of transmission, but need extra manually to put into On net device version is safeguarded.It then becomes necessary to have new method, to solve the above problems.
The content of the invention
The purpose of the present invention is intended to carry out the difference upgrading of embedded device firmware using minimum effectively firmware patch bag, Save manpower to safeguard and broadband cost.
To achieve these goals, the present invention provides technical scheme below:
One embodiment of the invention provides a kind of embedded device firmware patch bag generation method, comprises the following steps:
Receive the firmware upgrade bag for uploading;
Parse the firmware upgrade bag and verify its legitimacy;
Make firmware patch bag based on verifying successful firmware upgrade and packing.
Further, also the record information of firmware in storehouse is updated the data including step.
Further, also the firmware patch bag for completing is downloaded into relevant device by remote interface including step.
Specifically, it is described that firmware patch bag is downloaded to relevant device, firmware in concrete foundation database by remote interface Record information perform download.
Wherein, the record information of the firmware includes:For characterize firmware patch pack work whether successful label information, For characterizing the label information for whether supporting firmware patch bag to upgrade, firmware patch bag path, former firmware bag path, current firmware AKU path.
Specifically, the step of making firmware patch bag includes:
Obtain former firmware bag routing information and version number information;
Filter out files different in firmware upgrade bag and former firmware bag;
Difference processing is carried out to the different files for filtering out using bsdiff instruments;
Generate the relative recording information of firmware patch bag;
Packing is compressed to the relative recording information of the file through difference processing and firmware patch bag, is generated solid Part service packs.
Wherein, the relative recording information of the firmware patch bag includes:Firmware patch bag version number, each file are in firmware The relative path of bag, for characterize whether label information that is newly-increased or deleting file, for characterizing the whether mark of same file Information, for whether characterizing through the label information of bsdiff instrument difference.
Another embodiment of the present invention provides a kind of embedded device firmware difference upgrade method, comprises the following steps:
The firmware patch bag generated using the method described in above-mentioned any one is obtained by remote interface;
The firmware patch bag obtained described in solution difference, reduction obtains the whole bag of firmware;
Upgrading is performed according to the whole bag upgrading flow process of firmware.
Specifically, in the step of reduction obtains firmware whole bag, the relative recording of firmware patch bag described in concrete foundation Information, reduction firmware patch bag obtains the whole bag of firmware.
Wherein, the relative recording information of the firmware patch bag includes:Firmware patch bag version number, each file are in firmware The relative path of bag, for characterize whether label information that is newly-increased or deleting file, for characterizing the whether mark of same file Information, for whether characterizing through the label information of bsdiff instrument difference.
Further embodiment of this invention provides a kind of embedded device firmware patch bag generating means, including:
Receiver module, for receiving the firmware upgrade bag for uploading;
Parsing correction verification module, for parsing the firmware upgrade bag of the receiver module reception and verifying its legitimacy;
Service packs makes module, and for being verified successful firmware upgrade and being packed based on the parsing correction verification module firmware benefit is made Fourth bag.
Further, also including update module, for updating the data storehouse in firmware record information.
Further, also including remote download module, for the service packs to be made into the firmware benefit that module making is completed Fourth bag downloads to relevant device by remote interface.
Specifically, the remote download module performs download according to the record information of firmware in database.
Wherein, the record information of the firmware includes:For characterize firmware patch pack work whether successful label information, For characterizing the label information for whether supporting firmware patch bag to upgrade, firmware patch bag path, former firmware bag path, current firmware AKU path.
Specifically, the service packs makes module and includes:
Acquisition module, for obtaining former firmware bag routing information and version number information;
Screening module, for file different in filtering out firmware upgrade bag and former firmware bag;
Difference block, for carrying out difference processing to the different files for filtering out using bsdiff instruments;
First generation module, for generating the relative recording information of firmware patch bag;
Second generation module, for entering to the relative recording information of the file through difference processing and firmware patch bag Row compression packing, generates firmware patch bag.
Wherein, the relative recording information of the firmware patch bag includes:Firmware patch bag version number, each file are in firmware The relative path of bag, for characterize whether label information that is newly-increased or deleting file, for characterizing the whether mark of same file Information, for whether characterizing through the label information of bsdiff instrument difference.
Yet another embodiment of the invention provides a kind of embedded device firmware difference upgrade-system, including:
Long-range acquisition module, for obtaining the firmware generated using the method described in above-mentioned any one by remote interface Service packs;
Recovery module, for solving the firmware patch bag that long-range acquisition module described in difference is obtained, reduction obtains the whole bag of firmware;
Upgraded module, for performing upgrading according to the whole bag upgrading flow process of firmware.
Specifically, the recovery module reduces firmware patch bag and obtains according to the relative recording information of the firmware patch bag To the whole bag of firmware.
Wherein, the relative recording information of the firmware patch bag includes:Firmware patch bag version number, each file are in firmware The relative path of bag, for characterize whether label information that is newly-increased or deleting file, for characterizing the whether mark of same file Information, for whether characterizing through the label information of bsdiff instrument difference.
Compared to existing technology, the solution of the present invention has advantages below:
The manufacturing process that the method for the invention passes through improvement service packs so that can be by network management center's system most short Minimum effectively firmware upgrade service packs is automatically generated in time, it is poor to firmware by the firmware upgrade service packs by equipment Decilitre level, so as to improve firmware upgrade efficiency and stability, while save manpower safeguarding and broadband cost, strengthens Consumer's Experience Degree.
The additional aspect of the present invention and advantage will be set forth in part in the description, and these will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Description of the drawings
The above-mentioned and/or additional advantage of the present invention will be apparent from from the following description of the accompanying drawings of embodiments and It is easy to understand, wherein:
Fig. 1 is embedded device firmware patch bag generation method schematic flow sheet of the present invention;
Fig. 2 is embedded device firmware difference upgrade method schematic flow sheet of the present invention;
Fig. 3 is embedded device firmware patch bag generating means structured flowchart of the present invention;
Fig. 4 is embedded device firmware difference upgrade-system structured flowchart of the present invention.
Specific embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from start to finish Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Fig. 1 is referred to, Fig. 1 is a kind of stream of embedded device firmware patch bag generation method described in one embodiment of the invention Journey schematic diagram, comprises the following steps:
Step 101, receive upload firmware upgrade bag;
User uploads firmware upgrade bag to network management center's system, and user uploads upgrading solid at the interface of local log-on webmaster Part, now firmware is whole bag, can be the compressed package of certain form, such as zip forms, XZ forms, and compressed package is used comprising upgrading A series of files, have in these files many be with equipment operation firmware be identical, during transmission these files be can Without transmission, directly to obtain from equipment.The firmware upgrade bag that network management center's system receive user is uploaded, comes to user Say, remain by traditional whole bag upgrading of firmware, service packs makes and the automatic management work of version is all by network management center's system It is automatically performed.
Step 102, the parsing firmware upgrade bag simultaneously verify its legitimacy;
Parsing and verification firmware upgrade bag, mainly network management center's system receives after firmware upgrade bag, it is solved Pressure and legitimacy verifies, whether verification is legal firmware upgrade bag, the version file if legal, from firmware upgrade bag Its firmware version number is read in number file.
Step 103, make firmware patch bag based on verifying successful firmware upgrade and pack;
Network management center's system performs service packs making automatically.Concrete manufacturing process is comprised the following steps:
step1:Obtain former firmware bag routing information and version number information;
After firmware version number is got, the record information of the firmware inquired about in database version table is obtained at present in net All firmware version numbers of equipment, and obtain the whole respective path wrapped in network management center's system of its firmware successively and decompress.
step2:Filter out files different in firmware upgrade bag and former firmware bag;
File in the firmware bag being currently running with equipment to the file in the firmware upgrade bag of upload is traveled through and entered Row size compares and compares with MD5 codes, judges whether have file to increase or delete between the whole APMB package folder of two firmwares, if having phase Same file, while filtering out different files.
step3:Difference processing is carried out to the different files for filtering out using bsdiff instruments;
Different files is compared with bsdiff instruments, the patch file of different files is drawn.If traversal firmware In run into compressed package, then decompressed again, decompression be reduced to not through compression concrete file, to file traversal, matching and Process must all be recorded and made in inventory file in patch, and manifest file format is as follows:
<PatchFilesversion=" xxxx_V12.02.01.01_0 ">
<Filepath=" my.db " md5=" e42f142b017e5a0c4b402331a6bf5ac0 " typeInfo=" 0"/>
<Filepath=" node.zip/app " md5=" 9846cbdbe5caaa336859b6ec41502208 " TypeInfo=" 2 "/>
</PatchFiles>
Wherein, version represents the version number of firmware bag;Path represents relative path of each file in compressed package; Md5 represents the md5 codes of each file, and during for sequential reduction file, whether verification reduces successfully;TypeInfo represents files classes Type, the type includes the file for increasing file, deleting file, processed with bsdiff instruments.
step4:Generate the relative recording information of firmware patch bag;
The relative recording information of the service packs includes:Firmware patch bag version number, each file are relative firmware bag Path, for characterizing whether label information that is newly-increased or deleting file, for characterize whether the label information of same file, be used for Whether characterize through the information such as label information of bsdiff instrument difference.During follow-up equipment reduction service packs, according to these information Carry out restoring operation.
step5:Packing is compressed to the relative recording information of the file through difference processing and firmware patch bag, Generate firmware patch bag.
Finally the firmware bag being currently running relative to equipment, belong to the file of increase and processed through bsdiff instruments File and inventory file pack together, generate firmware patch bag.
Further, embodiment of the present invention methods described also includes, the record of the firmware of network management center's system update database Information.Wherein, the record information of the firmware mainly include for characterize firmware patch pack work whether successful label information, For characterizing the label information for whether supporting firmware patch bag to upgrade, firmware patch bag path, former firmware bag path, current firmware The information such as AKU path.
It is exactly that current device is being recorded using database version table that the record information of firmware manages cardinal principle automatically The firmware routing information and network management center's system of operation itself can store the information of the whole bag of firmware that current device is currently running The characteristics of.When these information are changed, needs are upgraded in time, when long-range patch package file downloads to equipment, can be automatic These information are inquired about, while to not being that the whole bag of firmware that current device is currently running also will be deleted, to avoid long-time fortune After row, the not enough problem of the memory space of network management center's system is caused.
Further, methods described also includes that the firmware patch bag that will be completed is downloaded to accordingly by remote interface Equipment, by relevant device difference upgrading is performed.
Specifically, network management center's system performs remote download firmware patch automatically according to the record information of the firmware of database Bag, this step is exactly mainly to inquire about in database version table, if be currently running the firmware patch bag of firmware version with equipment, If firmware patch bag, then its firmware patch bag routing information is obtained, otherwise, obtain whole bag routing information;Then basis is obtained The routing information for taking, the whole bag of firmware patch bag or firmware equipment is downloaded to.
Refer to diagram 2, another embodiment of the present invention provides a kind of embedded device firmware difference upgrade method, including with Lower step:
Step 201, obtained using embedded device firmware patch Bao Sheng described in above-described embodiment by remote interface Into the firmware patch bag that method is generated;
Specifically, embedded device carries out firmware patch bag that firmware difference upgrading adopted by webmaster in the present embodiment Feel concerned about system to generate, and relevant device is downloaded to by remote interface.
The firmware patch bag obtained described in step 202, solution difference, reduction obtains the whole bag of firmware;
Equipment is obtained after firmware patch bag or the whole bag of firmware, the type of bag is parsed first, if firmware patch Bao Zegen Solution difference is carried out according to firmware patch bag inventory file, firmware patch bag is reduced.The process contrary by firmware patch bag is made, takes out The whole bag of firmware that equipment is currently running, the relative recording information of firmware patch bag described in concrete foundation is traveled through and recorded per bar, new After the file of increasing, the file deleted and different files are reduced, according to the routing information in record inventory file, replace just Respective file in operation firmware bag, finally restores the whole bag of firmware.Wherein, the relative recording information of the firmware patch bag Including:Whether firmware patch bag version number, each file increase or delete file newly in the relative path of firmware bag, for characterizing Label information, for characterizing the whether label information of same file, for whether characterizing through the mark of bsdiff instrument difference Information.
If it is the whole bag of firmware to parse, the whole bag upgrading flow process of follow-up firmware is directly carried out, equipment presses the whole bag of firmware Flow process, perform upgrading flow process.
Step 203, flow process of upgrading according to the whole bag of firmware perform upgrading.
The step after reduction obtains the whole bag of firmware, is performed by relevant device according to the upgrading flow process of the whole bag of corresponding firmware Upgrading, to complete the upgrading to corresponding firmware.
Diagram 3 is referred to, further embodiment of this invention provides a kind of embedded device firmware patch bag generating means, described Device includes:Receiver module 31, parsing correction verification module 32, service packs make module 33 and the renewal in other conversion embodiments Module 34, remote download module 35, wherein,
Receiver module is used to receive the firmware upgrade bag for uploading;Parsing correction verification module is used to parse the receiver module reception Firmware upgrade bag and verify its legitimacy;Service packs makes module for verifying successfully admittedly based on the parsing correction verification module Part AKU makes firmware patch bag.
The service packs makes module 33 includes five submodules, respectively acquisition module 330, screening module 331, difference Module 332, the first generation module 333, the second generation module 334.Acquisition module 330 be used for obtain former firmware bag routing information and Version number information, screening module 331 is used to filter out files different in firmware upgrade bag and former firmware bag, difference block 332 For the different files for filtering out to be carried out with difference processing using bsdiff instruments, the first generation module 333 is used to generate The relative recording information of firmware patch bag, the second generation module 334 is used to mend the file through difference processing and firmware The relative recording information of fourth bag is compressed packing and generates firmware patch bag.Wherein, what first generation module 333 was generated consolidates The relative recording information of part service packs includes:Firmware patch bag version number, each file are in the relative path of firmware bag, for table Levy whether label information that is newly-increased or deleting file, for characterize whether the label information of same file, for characterizing whether Jing Cross the label information of bsdiff instrument difference.
The update module 34 is used to update the data the record information of firmware in storehouse.The record information of the firmware includes: For characterize firmware patch pack make whether successful label information, for characterizing the mark for whether supporting that firmware patch bag is upgraded Information, firmware patch bag path, former firmware bag path, current firmware AKU path.
The remote download module 35 is used to pass through the firmware patch bag that service packs making module 33 completes Remote interface downloads to relevant device.Specifically, the remote download module 35 is held according to the record information of firmware in database Row is downloaded.
Diagram 4 is referred to, yet another embodiment of the invention provides a kind of embedded device firmware difference upgrade-system, the system System includes:Long-range acquisition module 41, for obtaining the embedded device firmware provided using above-described embodiment by remote interface The firmware patch bag that AKU generation method is generated;Recovery module 42, for solving consolidating for long-range acquisition module acquisition described in difference Part service packs, reduction obtains the whole bag of firmware;Upgraded module 43, for performing upgrading according to the whole bag upgrading flow process of firmware.
Specifically, the recovery module 42 reduces firmware patch bag according to the relative recording information of the firmware patch bag Obtain the whole bag of firmware.The relative recording information of the firmware patch bag includes:Firmware patch bag version number, each file are in firmware The relative path of bag, for characterize whether label information that is newly-increased or deleting file, for characterizing the whether mark of same file Information, for whether characterizing through the label information of bsdiff instrument difference.
In summary, embedded device firmware patch bag generating means of the present invention are by traditional network management centring system Middle addition service packs makes module, updates the data storehouse information module, and realize is carried out automatically in network management center's system to equipment The making of service packs and automated firmware record information are managed, and so as to solve, traditional firmware upgrade efficiency is low and labor management version Problem.Meanwhile, embedded device firmware difference upgrade-system of the present invention enables a device to the whole bag of automatic reduction firmware And upgrading is completed, realize that operationally user completes the firmware upgrade of equipment by only uploading the whole bag of firmware upgrade, thus carry High liter stage efficiency and stability, greatly save human cost again, enhance user experience.
The above is only some embodiments of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (20)

1. a kind of embedded device firmware patch bag generation method, it is characterised in that comprise the following steps:
Receive the firmware upgrade bag for uploading;
Parse the firmware upgrade bag and verify its legitimacy;
Make firmware patch bag based on verifying successful firmware upgrade and packing.
2. method according to claim 1, it is characterised in that also including step, updates the data the record letter of firmware in storehouse Breath.
3. method according to claim 2, it is characterised in that also including step, the firmware patch bag for completing is led to Cross remote interface and download to relevant device.
4. method according to claim 3, it is characterised in that described that firmware patch bag is downloaded to accordingly by remote interface Equipment, the record information of firmware performs download in concrete foundation database.
5. method according to claim 2, it is characterised in that the record information of the firmware includes:For characterizing firmware Service packs make whether successful label information, mend for characterizing the label information for whether supporting firmware patch bag to upgrade, firmware Ding Bao paths, former firmware bag path, current firmware AKU path.
6. method according to claim 1, it is characterised in that include the step of the making firmware patch bag:
Obtain former firmware bag routing information and version number information;
Filter out files different in firmware upgrade bag and former firmware bag;
Difference processing is carried out to the different files for filtering out using bsdiff instruments;
Generate the relative recording information of firmware patch bag;
Packing is compressed to the relative recording information of the file through difference processing and firmware patch bag, firmware is generated and is mended Fourth bag.
7. method according to claim 6, it is characterised in that the relative recording information of the firmware patch bag includes:Gu Part service packs version number, each file are believed in the relative path of firmware bag, for characterizing the mark for whether increasing or deleting file newly Breath, for characterizing the whether label information of same file, for whether characterizing through the label information of bsdiff instrument difference.
8. a kind of embedded device firmware difference upgrade method, it is characterised in that comprise the following steps:
The firmware patch bag generated using the method described in any one in claim 1-7 is obtained by remote interface;
The firmware patch bag obtained described in solution difference, reduction obtains the whole bag of firmware;
Upgrading is performed according to the whole bag upgrading flow process of firmware.
9. method according to claim 8, it is characterised in that in the step of reduction obtains firmware whole bag, specifically according to According to the relative recording information of the firmware patch bag, reduction firmware patch bag obtains the whole bag of firmware.
10. method according to claim 9, it is characterised in that the relative recording information of the firmware patch bag includes:Gu Part service packs version number, each file are believed in the relative path of firmware bag, for characterizing the mark for whether increasing or deleting file newly Breath, for characterizing the whether label information of same file, for whether characterizing through the label information of bsdiff instrument difference.
11. a kind of embedded device firmware patch bag generating means, it is characterised in that include:
Receiver module, for receiving the firmware upgrade bag for uploading;
Parsing correction verification module, for parsing the firmware upgrade bag of the receiver module reception and verifying its legitimacy;
Service packs makes module, and for being verified successful firmware upgrade and being packed based on the parsing correction verification module firmware patch is made Bag.
12. devices according to claim 11, it is characterised in that also including update module, for updating the data storehouse in it is solid The record information of part.
13. devices according to claim 12, it is characterised in that also including remote download module, for by the patch Pack the firmware patch bag completed as module making and relevant device is downloaded to by remote interface.
14. devices according to claim 13, it is characterised in that the remote download module is according to firmware in database Record information performs download.
15. devices according to claim 12, it is characterised in that the record information of the firmware includes:It is solid for characterizing Part service packs make whether successful label information, for characterizing label information, the firmware of whether supporting that firmware patch bag is upgraded Service packs path, former firmware bag path, current firmware AKU path.
16. devices according to claim 11, it is characterised in that the service packs makes module to be included:
Acquisition module, for obtaining former firmware bag routing information and version number information;
Screening module, for file different in filtering out firmware upgrade bag and former firmware bag;
Difference block, for carrying out difference processing to the different files for filtering out using bsdiff instruments;
First generation module, for generating the relative recording information of firmware patch bag;
Second generation module, for pressing the relative recording information of the file through difference processing and firmware patch bag Contracting packing, generates firmware patch bag.
17. devices according to claim 16, it is characterised in that the relative recording information of the firmware patch bag includes: Firmware patch bag version number, each file are in the relative path of firmware bag, for characterizing whether mark that is newly-increased or deleting file Information, for characterizing the whether label information of same file, for whether characterizing through the label information of bsdiff instrument difference.
18. a kind of embedded device firmware difference upgrade-systems, it is characterised in that include:
Long-range acquisition module, is generated for being obtained by remote interface using the method described in any one in claim 1-7 Firmware patch bag;
Recovery module, for solving the firmware patch bag that long-range acquisition module described in difference is obtained, reduction obtains the whole bag of firmware;
Upgraded module, for performing upgrading according to the whole bag upgrading flow process of firmware.
19. systems according to claim 18, it is characterised in that the recovery module according to the firmware patch bag phase Record information is closed, reduction firmware patch bag obtains the whole bag of firmware.
20. systems according to claim 19, it is characterised in that the relative recording information of the firmware patch bag includes: Firmware patch bag version number, each file are in the relative path of firmware bag, for characterizing whether mark that is newly-increased or deleting file Information, for characterizing the whether label information of same file, for whether characterizing through the label information of bsdiff instrument difference.
CN201611118555.1A 2016-12-07 2016-12-07 Embedded device firmware service pack generating and firmware differential upgrading methods and device Pending CN106648765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611118555.1A CN106648765A (en) 2016-12-07 2016-12-07 Embedded device firmware service pack generating and firmware differential upgrading methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611118555.1A CN106648765A (en) 2016-12-07 2016-12-07 Embedded device firmware service pack generating and firmware differential upgrading methods and device

Publications (1)

Publication Number Publication Date
CN106648765A true CN106648765A (en) 2017-05-10

Family

ID=58819089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611118555.1A Pending CN106648765A (en) 2016-12-07 2016-12-07 Embedded device firmware service pack generating and firmware differential upgrading methods and device

Country Status (1)

Country Link
CN (1) CN106648765A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203395A (en) * 2017-05-19 2017-09-26 北京京东尚科信息技术有限公司 Resource graded method, device and computer-readable recording medium and electronic equipment
CN108334367A (en) * 2017-08-31 2018-07-27 郑州云海信息技术有限公司 A kind of firmware remote update system and method towards BMC chip
CN111158738A (en) * 2019-12-30 2020-05-15 青岛歌尔智能传感器有限公司 Earphone firmware upgrading method and device and readable storage medium
CN111970161A (en) * 2020-09-21 2020-11-20 浙江大学 Internet of things application differential upgrading method based on address prediction
CN112068865A (en) * 2020-09-02 2020-12-11 上海飞奥燃气设备有限公司 Efficient intelligent gas meter differential firmware upgrading method
CN113568641A (en) * 2021-08-02 2021-10-29 成都长城开发科技有限公司 Wireless upgrade system
CN114020299A (en) * 2021-11-16 2022-02-08 四川长虹电器股份有限公司 Method for updating android device system file
TWI775616B (en) * 2021-08-30 2022-08-21 大陸商蘇州磐聯集成電路科技股份有限公司 Method and equipment for generating differential package, method for upgrade and embedded system
CN115442312A (en) * 2022-03-17 2022-12-06 北京车和家信息技术有限公司 Vehicle remote upgrading method, device, medium and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262544A (en) * 2010-05-24 2011-11-30 腾讯科技(深圳)有限公司 Method and device for upgrading software
CN103853574A (en) * 2012-12-06 2014-06-11 腾讯科技(深圳)有限公司 Method and system for upgrading software
CN104102501A (en) * 2013-04-03 2014-10-15 中兴通讯股份有限公司 Mobile terminal and upgrading method thereof
CN105893093A (en) * 2016-03-31 2016-08-24 北京奇艺世纪科技有限公司 Application program upgrading method and device
CN106095500A (en) * 2016-06-08 2016-11-09 江苏中威科技软件系统有限公司 A kind of method and system of automatic software updating

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262544A (en) * 2010-05-24 2011-11-30 腾讯科技(深圳)有限公司 Method and device for upgrading software
CN103853574A (en) * 2012-12-06 2014-06-11 腾讯科技(深圳)有限公司 Method and system for upgrading software
CN104102501A (en) * 2013-04-03 2014-10-15 中兴通讯股份有限公司 Mobile terminal and upgrading method thereof
CN105893093A (en) * 2016-03-31 2016-08-24 北京奇艺世纪科技有限公司 Application program upgrading method and device
CN106095500A (en) * 2016-06-08 2016-11-09 江苏中威科技软件系统有限公司 A kind of method and system of automatic software updating

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203395A (en) * 2017-05-19 2017-09-26 北京京东尚科信息技术有限公司 Resource graded method, device and computer-readable recording medium and electronic equipment
CN108334367A (en) * 2017-08-31 2018-07-27 郑州云海信息技术有限公司 A kind of firmware remote update system and method towards BMC chip
CN108334367B (en) * 2017-08-31 2021-03-30 郑州云海信息技术有限公司 Firmware remote upgrading method for BMC chip
CN111158738A (en) * 2019-12-30 2020-05-15 青岛歌尔智能传感器有限公司 Earphone firmware upgrading method and device and readable storage medium
CN111158738B (en) * 2019-12-30 2023-10-24 青岛歌尔智能传感器有限公司 Headset firmware upgrading method and device and readable storage medium
WO2022048511A1 (en) * 2020-09-02 2022-03-10 上海飞奥燃气设备有限公司 Differential upgrade method for intelligent gas meter firmware
CN112068865A (en) * 2020-09-02 2020-12-11 上海飞奥燃气设备有限公司 Efficient intelligent gas meter differential firmware upgrading method
CN111970161A (en) * 2020-09-21 2020-11-20 浙江大学 Internet of things application differential upgrading method based on address prediction
CN113568641A (en) * 2021-08-02 2021-10-29 成都长城开发科技有限公司 Wireless upgrade system
CN113568641B (en) * 2021-08-02 2024-02-23 成都长城开发科技股份有限公司 Wireless upgrade system
TWI775616B (en) * 2021-08-30 2022-08-21 大陸商蘇州磐聯集成電路科技股份有限公司 Method and equipment for generating differential package, method for upgrade and embedded system
CN114020299A (en) * 2021-11-16 2022-02-08 四川长虹电器股份有限公司 Method for updating android device system file
CN115442312A (en) * 2022-03-17 2022-12-06 北京车和家信息技术有限公司 Vehicle remote upgrading method, device, medium and equipment

Similar Documents

Publication Publication Date Title
CN106648765A (en) Embedded device firmware service pack generating and firmware differential upgrading methods and device
CN104714819B (en) File system upgrade package production method, upgrade method and device, terminal
CN104052818B (en) The version upgrading method and device of a kind of mobile terminal
CN101877723B (en) Wireless sensor network node remote update system, method and equipment
CN107301058B (en) Method for implementing OTA upgrade of television system based on version number segment control
CN107391143B (en) T-Box remote upgrading method
CN107589952A (en) Intelligent upgrade method, device and system
CN106648766B (en) Method and device for generating patch upgrade patch based on folder and differentially upgrading patch based on folder
CN106843957A (en) System firmware upgrade method and device
CN106899540A (en) The update method of user contracting data, management system, eUICC and terminal
CN103442026A (en) Application program processing method, device and system
CN106165321A (en) Broadcast singal dispensing device, broadcast receiver, broadcast singal sending method and broadcast signal received method
CN109391673A (en) A kind of method, system and the terminal device of management update file
CN107193917A (en) Whole station CONFIG.SYS lossless data update method based on IID
CN110442377A (en) Service packs generation method, using update method, device and electronic equipment
CN111372209A (en) Signaling data processing method, device, equipment and medium
CN113157651B (en) Method, system, equipment and medium for renaming resource files of android project in batches
CN107580040A (en) The method and apparatus that a kind of communication module in intelligent household terminal upgrades
WO2018076769A1 (en) Information processing method and apparatus
CN115421745A (en) Equipment remote upgrading method, device, terminal and storage medium
CN105468404B (en) A kind of bracket controller program method for remote updating and device
CN105934759A (en) Data updating method and device, terminal and server
CN105094907A (en) Upgrading and loading methods and upgrading and loading devices for navigation data
CN105122696A (en) System and method for recovering audio PDU transport elements in digital radio broadcast receiver
CN113114465B (en) Method and device for processing attribution authority, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication