CN104793972A - Method and device for updating data packets - Google Patents

Method and device for updating data packets Download PDF

Info

Publication number
CN104793972A
CN104793972A CN201510184514.1A CN201510184514A CN104793972A CN 104793972 A CN104793972 A CN 104793972A CN 201510184514 A CN201510184514 A CN 201510184514A CN 104793972 A CN104793972 A CN 104793972A
Authority
CN
China
Prior art keywords
packet
legacy version
incremental update
prestored
redaction
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
CN201510184514.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.)
Peking University Shenzhen Graduate School
Original Assignee
Peking University Shenzhen Graduate School
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 Peking University Shenzhen Graduate School filed Critical Peking University Shenzhen Graduate School
Priority to CN201510184514.1A priority Critical patent/CN104793972A/en
Publication of CN104793972A publication Critical patent/CN104793972A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a method and device for updating data packets. The method includes the steps that an incremental updating packet is acquired according to the old version data packet and the new version data packet; an incremental updating packet corresponding to a downloading instruction is acquired according to the downloading instruction of a user; the prestored old version data packet is updated according to the prestored old version data packet and the downloaded incremental updating packet, and therefore the purpose of quickly updating the new data packet by the user is achieved.

Description

A kind of method of more new data packets and device
Technical field
The embodiment of the present invention relates to the technical field of mobile terminal, particularly relates to a kind of method and device of more new data packets.
Background technology
Cell phone software or game manufacturer substantially monthly all can push away and bring out a new edition and require that user upgrades, existing more new technological process usually needs again to download whole data software bag and to rerun replacement data bag program, but most data are all repetitions in the installation kit of each software upgrading, therefore, user repeatedly repeated downloads redundant content compare waste flow.
Summary of the invention
The object of the embodiment of the present invention is the method and the device that propose a kind of more new data packets, is intended to solve the problem of the packet how making the quick and convenient renewal of user new.
For reaching this object, the embodiment of the present invention by the following technical solutions:
A more method for new data packets, described method comprises:
Incremental update bag is obtained according to the packet of legacy version and the packet of redaction;
Download instruction according to user obtains the incremental update bag corresponding with described download instruction;
According to the packet of the legacy version prestored and the described incremental update bag after downloading, the packet of the legacy version prestored described in renewal.
Preferably, the packet of the described packet according to legacy version and redaction obtains incremental update bag, comprising:
Calculate the data difference between the packet of described legacy version and the packet of described redaction;
Obtain described data difference and described data difference is compressed into an incremental update bag.
Preferably, the packet of the legacy version that described basis prestores and the described incremental update bag after downloading, the packet of the legacy version prestored described in renewal, comprising:
This locality by the packet of the legacy version prestored and download after described incremental update inclusion and generate new installation kit;
According to described new installation kit, the packet of the described legacy version prestored is updated to the packet of redaction.
A more device for new data packets, described device comprises:
First acquiring unit, for obtaining incremental update bag according to the packet of legacy version and the packet of redaction;
Second acquisition unit, obtains the incremental update bag corresponding with described download instruction for the download instruction according to user;
Updating block, the packet of legacy version prestored for basis and the described incremental update bag after downloading, the packet of the legacy version prestored described in renewal.
Preferably, described first acquiring unit, for:
Calculate the data difference between the packet of described legacy version and the packet of described redaction;
Obtain described data difference and described data difference is compressed into an incremental update bag.
Preferably, described updating block, for:
This locality by the packet of the legacy version prestored and download after described incremental update inclusion and generate new installation kit;
According to described new installation kit, the packet of the described legacy version prestored is updated to the packet of redaction.
The embodiment of the present invention is by obtaining incremental update bag according to the packet of legacy version and the packet of redaction; Download instruction according to user obtains the incremental update bag corresponding with described download instruction; According to the packet of the legacy version prestored and the described incremental update bag after downloading, the packet of the legacy version prestored described in renewal, thus the object realizing that user upgrades new packet fast.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the present invention's more the first embodiment of the method for new data packets;
Fig. 2 is the structural representation of the present invention's more device of new data packets.
Embodiment
Below in conjunction with drawings and Examples, the embodiment of the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the embodiment of the present invention, but not the restriction to the embodiment of the present invention.It also should be noted that, for convenience of description, illustrate only the part relevant to the embodiment of the present invention in accompanying drawing but not entire infrastructure.
Embodiment one
With reference to the schematic flow sheet that figure 1, Fig. 1 is the present invention's more the first embodiment of the method for new data packets.
In a first embodiment, the method for described more new data packets comprises:
Step 101, obtains incremental update bag according to the packet of legacy version and the packet of redaction;
Concrete, suppose that the package identification of legacy version is A, the package identification of redaction is B, and incremental update bag can be designated A-B.
Step 102, the download instruction according to user obtains the incremental update bag corresponding with described download instruction;
Preferably, the packet of the described packet according to legacy version and redaction obtains incremental update bag, comprising:
Calculate the data difference between the packet of described legacy version and the packet of described redaction;
Obtain described data difference and described data difference is compressed into an incremental update bag.
Concrete, calculate the data difference between the packet A of legacy version and the packet B of redaction, this data difference is compressed into an incremental update bag C, the data of C are the variance data between the packet A of legacy version and the packet B of redaction.
Step 103, according to the packet of the legacy version prestored and the described incremental update bag after downloading, the packet of the legacy version prestored described in renewal.
Preferably, the packet of the legacy version that described basis prestores and the described incremental update bag after downloading, the packet of the legacy version prestored described in renewal, comprising:
This locality by the packet of the legacy version prestored and download after described incremental update inclusion and generate new installation kit;
According to described new installation kit, the packet of the described legacy version prestored is updated to the packet of redaction.
Concrete, local merging by the packet A of the legacy version prestored and the described incremental update bag C after downloading generates new installation kit B, and the packet A of the legacy version prestored this locality according to new installation kit C is updated to new installation kit.
The embodiment of the present invention is by obtaining incremental update bag according to the packet of legacy version and the packet of redaction; Download instruction according to user obtains the incremental update bag corresponding with described download instruction; According to the packet of the legacy version prestored and the described incremental update bag after downloading, the packet of the legacy version prestored described in renewal, thus the object realizing that user upgrades new packet fast.
Embodiment two
With reference to the structural representation that figure 2, Fig. 2 is the present invention's more device of new data packets.
In embodiment two, the device of described more new data packets comprises:
First acquiring unit 201, for obtaining incremental update bag according to the packet of legacy version and the packet of redaction;
Preferably, described first acquiring unit 201, for:
Calculate the data difference between the packet of described legacy version and the packet of described redaction;
Obtain described data difference and described data difference is compressed into an incremental update bag.
Concrete, suppose that the package identification of legacy version is A, the package identification of redaction is B, and incremental update bag can be designated A-B.
Second acquisition unit 202, obtains the incremental update bag corresponding with described download instruction for the download instruction according to user;
Concrete, calculate the data difference between the packet A of legacy version and the packet B of redaction, this data difference is compressed into an incremental update bag C, the data of C are the variance data between the packet A of legacy version and the packet B of redaction.
Updating block 203, the packet of legacy version prestored for basis and the described incremental update bag after downloading, the packet of the legacy version prestored described in renewal.
Preferably, described updating block 203, for:
This locality by the packet of the legacy version prestored and download after described incremental update inclusion and generate new installation kit;
According to described new installation kit, the packet of the described legacy version prestored is updated to the packet of redaction.
Concrete, local merging by the packet A of the legacy version prestored and the described incremental update bag C after downloading generates new installation kit B, and the packet A of the legacy version prestored this locality according to new installation kit C is updated to new installation kit.
The embodiment of the present invention is by obtaining incremental update bag according to the packet of legacy version and the packet of redaction; Download instruction according to user obtains the incremental update bag corresponding with described download instruction; According to the packet of the legacy version prestored and the described incremental update bag after downloading, the packet of the legacy version prestored described in renewal, thus the object realizing that user upgrades new packet fast.
Below the know-why of the embodiment of the present invention is described in conjunction with specific embodiments.These describe the principle just in order to explain the embodiment of the present invention, and can not be interpreted as the restriction to embodiment of the present invention protection domain by any way.Based on explanation herein, those skilled in the art does not need to pay other embodiment that performing creative labour can associate the embodiment of the present invention, these modes all by fall into the embodiment of the present invention protection domain within.

Claims (6)

1. a method for more new data packets, it is characterized in that, described method comprises:
Incremental update bag is obtained according to the packet of legacy version and the packet of redaction;
Download instruction according to user obtains the incremental update bag corresponding with described download instruction;
According to the packet of the legacy version prestored and the described incremental update bag after downloading, the packet of the legacy version prestored described in renewal.
2. method according to claim 1, is characterized in that, the packet of the described packet according to legacy version and redaction obtains incremental update bag, comprising:
Calculate the data difference between the packet of described legacy version and the packet of described redaction;
Obtain described data difference and described data difference is compressed into an incremental update bag.
3. method according to claim 1, is characterized in that, the packet of the legacy version that described basis prestores and the described incremental update bag after downloading, and the packet of the legacy version prestored described in renewal, comprising:
This locality by the packet of the legacy version prestored and download after described incremental update inclusion and generate new installation kit;
According to described new installation kit, the packet of the described legacy version prestored is updated to the packet of redaction.
4. a device for more new data packets, it is characterized in that, described device comprises:
First acquiring unit, for obtaining incremental update bag according to the packet of legacy version and the packet of redaction;
Second acquisition unit, obtains the incremental update bag corresponding with described download instruction for the download instruction according to user;
Updating block, the packet of legacy version prestored for basis and the described incremental update bag after downloading, the packet of the legacy version prestored described in renewal.
5. device according to claim 4, is characterized in that, described first acquiring unit, for:
Calculate the data difference between the packet of described legacy version and the packet of described redaction;
Obtain described data difference and described data difference is compressed into an incremental update bag.
6. device according to claim 4, is characterized in that, described updating block, for:
This locality by the packet of the legacy version prestored and download after described incremental update inclusion and generate new installation kit;
According to described new installation kit, the packet of the described legacy version prestored is updated to the packet of redaction.
CN201510184514.1A 2015-04-17 2015-04-17 Method and device for updating data packets Pending CN104793972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510184514.1A CN104793972A (en) 2015-04-17 2015-04-17 Method and device for updating data packets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510184514.1A CN104793972A (en) 2015-04-17 2015-04-17 Method and device for updating data packets

Publications (1)

Publication Number Publication Date
CN104793972A true CN104793972A (en) 2015-07-22

Family

ID=53558788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510184514.1A Pending CN104793972A (en) 2015-04-17 2015-04-17 Method and device for updating data packets

Country Status (1)

Country Link
CN (1) CN104793972A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341485A (en) * 2016-09-27 2017-01-18 珠海市魅族科技有限公司 Cloud storage method and device
CN107038039A (en) * 2016-02-04 2017-08-11 腾讯科技(深圳)有限公司 Data-updating method and device
CN107185238A (en) * 2017-06-15 2017-09-22 苏州乐米信息科技股份有限公司 Game resource update method and system
CN113988043A (en) * 2021-12-24 2022-01-28 深圳佑驾创新科技有限公司 Hardware bill of material management method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724308A (en) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 Software update method and software update system
CN103051723A (en) * 2012-12-27 2013-04-17 广州市动景计算机科技有限公司 Increment updating method as well as server and terminal
CN103095838A (en) * 2013-01-16 2013-05-08 福州博远无线网络科技有限公司 Method for upgrading Android smartphone software through downloading incremental upgrade package
CN103701930A (en) * 2014-01-07 2014-04-02 浙江大学 Mobile application program real-time updating method and system
CN103713928A (en) * 2013-12-31 2014-04-09 优视科技有限公司 Incremental file generating method, and application program installing file updating method and device
CN103955363A (en) * 2014-04-08 2014-07-30 国云科技股份有限公司 Manufacturing method of program upgrade and installation package

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724308A (en) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 Software update method and software update system
CN103051723A (en) * 2012-12-27 2013-04-17 广州市动景计算机科技有限公司 Increment updating method as well as server and terminal
CN103095838A (en) * 2013-01-16 2013-05-08 福州博远无线网络科技有限公司 Method for upgrading Android smartphone software through downloading incremental upgrade package
CN103713928A (en) * 2013-12-31 2014-04-09 优视科技有限公司 Incremental file generating method, and application program installing file updating method and device
CN103701930A (en) * 2014-01-07 2014-04-02 浙江大学 Mobile application program real-time updating method and system
CN103955363A (en) * 2014-04-08 2014-07-30 国云科技股份有限公司 Manufacturing method of program upgrade and installation package

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107038039A (en) * 2016-02-04 2017-08-11 腾讯科技(深圳)有限公司 Data-updating method and device
CN106341485A (en) * 2016-09-27 2017-01-18 珠海市魅族科技有限公司 Cloud storage method and device
CN107185238A (en) * 2017-06-15 2017-09-22 苏州乐米信息科技股份有限公司 Game resource update method and system
CN113988043A (en) * 2021-12-24 2022-01-28 深圳佑驾创新科技有限公司 Hardware bill of material management method and device, computer equipment and storage medium
CN113988043B (en) * 2021-12-24 2022-04-26 深圳佑驾创新科技有限公司 Hardware bill of material management method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103095838B (en) A kind of method of Android smartphone software of being upgraded by download increment AKU
CN102790961B (en) Update method of application program, mobile terminal and server
CN106658475B (en) Method and device for upgrading over-the-air technology
CN103699408A (en) Software updating method and equipment
CN104793972A (en) Method and device for updating data packets
US20140109066A1 (en) Testing framework for applications
CN103218242B (en) A kind of method of automatic renewal
CN105323269A (en) Method for updating APP in Android system, terminal and storage medium
KR101541112B1 (en) FOTA system and the method
CN102054045B (en) System and method for updating resources of electronic device
CN104915220A (en) Upgrading method and system of client side application program and client side
CN106126203A (en) A kind of OTA start accelerated method and system
CN102842264A (en) Incremental updating method and incremental updating system based on basic map data
CN102750176A (en) Software upgrading method and device for network TV
CN104572207A (en) Intelligent accessories based APP expanded application method and intelligent accessories
CN105100144A (en) Application updating method and device
CN104077161A (en) Client application updating method and device
TW201501035A (en) Software updating system and method
CN104102501A (en) Mobile terminal and upgrading method thereof
CN104951329A (en) Configuration and startup method of application templates and mobile terminal
HK1151657A1 (en) Updating routing and outage information in a communications network
CN104052769A (en) Method, apparatus and system for updating resources contained by mobile terminal application
CN104615464A (en) Updating method, device and system for wearable equipment
CN105389176A (en) Application based skin processing method and apparatus
CN104978222A (en) System update detection method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150722