CN104216736A - Method and device for incremental upgrading and terminal device - Google Patents

Method and device for incremental upgrading and terminal device Download PDF

Info

Publication number
CN104216736A
CN104216736A CN201410400253.8A CN201410400253A CN104216736A CN 104216736 A CN104216736 A CN 104216736A CN 201410400253 A CN201410400253 A CN 201410400253A CN 104216736 A CN104216736 A CN 104216736A
Authority
CN
China
Prior art keywords
file
installation kit
legacy version
version installation
verified
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
CN201410400253.8A
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410400253.8A priority Critical patent/CN104216736A/en
Publication of CN104216736A publication Critical patent/CN104216736A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and device for incremental upgrading and a terminal device. The method comprises the steps of obtaining an incremental upgrading package which corresponds to an older version installation package, wherein a to-be-checked file list is carried by the incremental upgrading package; checking files in the older version installation package according to the to-be-checked file list, and repairing the files having abnormal checking results; combining the incremental upgrading package with the repaired older version installation package, and obtaining a new version installation package, so as to complete the incremental upgrading. According to the scheme, successful proceeding of the incremental upgrading is ensured, and the situation in a related technology that the upgrading can be carried out just by using full-capacity upgrading as the incremental upgrading cannot be completed due to abnormal files in the older version installation package is avoided; since the repairing on the abnormal files can be carried out by the terminal device in a background, a repairing process cannot be felt by a user, and thus the user experience is increased.

Description

Method for updating increment, device and terminal device
Technical field
The disclosure relates to terminal device technical field, particularly relates to a kind of method for updating increment, device and terminal device.
Background technology
Along with the develop rapidly of terminal technology, the terminal devices such as mobile terminal, panel computer, network television-set top-set-box, intelligent television can be provided with operating system and application software, in order to make operating system and application software more perfect, handy, need regularly online upgrading is carried out to operating system and application software.
Two kinds of situations that online upgrading has full dose to upgrade and increment is upgraded: full dose upgrading refers to the covering upgrading of whole installation kit, the online upgrading of such as 50M, the redaction installation kit of 50M will be downloaded, then redaction installation kit is covered completely legacy version installation kit and realize upgrading; Increment upgrading refers to the difference section and increment AKU of downloading new and old edition installation kit, the online upgrading of such as 50M, perhaps only needs the increment AKU downloading 1M, then this increment AKU and legacy version installation kit is merged and realize upgrading.Visible, because increment AKU is less, increment is upgraded to possess and is taken the advantages such as Internet resources are few, update time is short, system overhead is little.
Owing to needing increment AKU and legacy version installation kit to be merged in increment escalation process, if the file in legacy version installation kit goes out active, the abnormal conditions such as damages or be modified, just cannot complete increment upgrading, the mode that full dose can only be used to upgrade is upgraded.Visible, need a kind of new method for updating increment at present badly, even if abnormal conditions appear in the file in legacy version installation kit, still can realize increment upgrading.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of method for updating increment, device and terminal device.
According to the first aspect of disclosure embodiment, a kind of method for updating increment is provided, comprises:
Obtain the increment AKU corresponding with legacy version installation kit, described increment AKU carries listed files to be verified;
According to described listed files to be tested, file in legacy version installation kit is verified, and be that abnormal file is repaired to check results;
Described increment AKU and the legacy version installation kit after repairing are merged, obtains redaction installation kit, complete increment upgrading.
In conjunction with first aspect, in the first possible implementation of first aspect, the step of the increment AKU that described acquisition is corresponding with legacy version installation kit comprises:
Send the increment AKU of carrying the identification information of described legacy version installation kit to server and obtain request, obtain the increment AKU corresponding with the identification information of described legacy version installation kit to make described server and send;
Receive described increment AKU.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, describedly according to described listed files to be tested, file in legacy version installation kit to be verified, and is that the step that abnormal file is repaired comprises to check results:
Obtain the identification information of i-th file to be verified of described listed files to be verified, i=1,2 ..., N, N be the sum of described identified in list information to be verified;
The file corresponding to the identification information of i-th file to be verified described in described legacy version installation kit verifies;
If check results is abnormal, then from the file that the identification information of described i-th file to be verified of described server acquisition is corresponding;
The file obtained from described server is used to cover corresponding file described legacy version installation kit.
In conjunction with first aspect, in the third possible implementation of first aspect, describedly according to described listed files to be tested, file in legacy version installation kit to be verified, and is that the step that abnormal file is repaired comprises to check results:
Obtain the identification information of the file to be verified that described listed files to be verified comprises;
Successively the file in described legacy version installation kit is verified according to the identification information of the file to be verified obtained;
Record check results is abnormal file;
Obtaining check results from described server is abnormal file;
The file obtained from described server is used to cover corresponding file described legacy version installation kit.
The implementation possible in conjunction with the second of the first possible implementation of first aspect, first aspect, first aspect or the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described by described increment AKU with repair after the legacy version installation kit step of carrying out merging comprise:
Legacy version installation kit after repairing is copied in buffer memory;
In described buffer memory, the legacy version installation kit after reparation and described increment AKU are merged.
According to the second aspect of disclosure embodiment, a kind of increment update device is provided, comprises:
Acquisition module, for obtaining the increment AKU corresponding with legacy version installation kit, described increment AKU carries listed files to be verified;
Module is repaired in verification, for verifying the file in legacy version installation kit according to described listed files to be tested, and is that abnormal file is repaired to check results;
Merging module, for described increment AKU and the legacy version installation kit after repairing being merged, obtaining redaction installation kit, complete increment upgrading.
In conjunction with second aspect, in the first possible implementation of second aspect, described acquisition module comprises:
Send submodule, obtain request for sending the increment AKU of carrying the identification information of described legacy version installation kit to server, obtain the increment AKU corresponding with the identification information of described legacy version installation kit to make described server and send;
Receive submodule, for receiving described increment AKU.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, described verification is repaired module and is comprised:
First obtain submodule, for obtaining the identification information of i-th file to be verified of described listed files to be verified, i=1,2 ..., N, N be the sum of described identified in list information to be verified;
First syndrome module, verifies for the file corresponding to the identification information of i-th file to be verified described in described legacy version installation kit;
Second obtains submodule, if be abnormal for check results, then from the file that the identification information of described i-th file to be verified of described server acquisition is corresponding;
First covers submodule, covers corresponding file described legacy version installation kit for using the file obtained from described server.
In conjunction with second aspect, in the third possible implementation of second aspect, described verification is repaired module and is comprised:
3rd obtains submodule, for obtaining the identification information of the file to be verified that described listed files to be verified comprises;
Second syndrome module, for verifying the file in described legacy version installation kit successively according to the identification information of the file to be verified obtained;
Record sub module is abnormal file for recording check results;
4th obtains submodule, is abnormal file for obtaining check results from described server;
Second covers submodule, covers corresponding file described legacy version installation kit for using the file obtained from described server.
In conjunction with in the implementation that the second of the first possible implementation of second aspect, second aspect, second aspect is possible or the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described merging module comprises:
Replicon module, for copying in buffer memory by the legacy version installation kit after reparation;
Merge submodule, for the legacy version installation kit after reparation and described increment AKU being merged in described buffer memory.
According to the third aspect of disclosure embodiment, a kind of terminal device is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the increment AKU corresponding with legacy version installation kit, described increment AKU carries listed files to be verified;
According to described listed files to be tested, file in legacy version installation kit is verified, and be that abnormal file is repaired to check results;
Described increment AKU and the legacy version installation kit after repairing are merged, obtains redaction installation kit, complete increment upgrading.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: terminal device obtains the increment AKU corresponding with legacy version installation kit, and described increment AKU carries listed files to be verified; According to described listed files to be tested, file in legacy version installation kit is verified, and be that abnormal file is repaired to check results; Described increment AKU and the legacy version installation kit after repairing are merged, obtains redaction installation kit, complete increment upgrading.In the program, terminal device verifies the file in legacy version installation kit according to list to be tested, abnormal file is had once check out in legacy version installation file, the file of exception is repaired at once, thus carrying out smoothly of ensure that increment upgrades, to avoid in correlation technique because the file in legacy version installation kit occurs abnormal, increment upgrading cannot be completed, the mode that full dose can only be used to upgrade carries out the situation of upgrading; Because terminal device can carry out the reparation of abnormal document on backstage, user's this repair process imperceptible, thus promote Consumer's Experience.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the process flow diagram of a kind of method for updating increment according to an exemplary embodiment.
Fig. 2 is a kind of process flow diagram carrying out verifying restorative procedure to the file in legacy version installation kit according to an exemplary embodiment.
Fig. 3 is another kind according to an exemplary embodiment carries out verifying restorative procedure process flow diagram to the file in legacy version installation kit.
Fig. 4 is the block diagram of a kind of increment update device according to an exemplary embodiment.
Fig. 5 is the block diagram of a kind of acquisition module according to an exemplary embodiment.
Fig. 6 is a kind of block diagram verifying reparation module according to an exemplary embodiment.
Fig. 7 is the block diagram of the another kind verification reparation module according to an exemplary embodiment.
Fig. 8 is a kind of block diagram merging module according to an exemplary embodiment.
Fig. 9 is the block diagram of a kind of terminal device according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 is the process flow diagram of a kind of method for updating increment according to an exemplary embodiment, and as shown in Figure 1, the method is used for, in terminal device, comprising the following steps.
In step s 11, the increment AKU corresponding with legacy version installation kit is obtained.
At present, when there is upgraded version in the operating system on terminal device or application software, all can reminding user, if user confirms upgrading, terminal device can obtain the increment AKU corresponding with legacy version installation kit.In increment escalation process, terminal device is without the need to obtaining redaction installation kit, as long as difference section, this difference section and the increment AKU of acquisition new and old edition installation kit.
Usually can carry listed files to be verified in increment AKU, what record in this listed files to be verified is need the file in the legacy version installation kit of verification.
In step s 12, according to listed files to be tested, file in legacy version installation kit is verified, and be that abnormal file is repaired to check results.
Terminal device can verify the file in legacy version installation kit according to this listed files to be verified, if when the file of testing occurs damaging, lose or be modified etc. abnormal conditions, check results is abnormal, terminal device can be initiatively that abnormal file is repaired to check results, thus carrying out smoothly of guaranteeing that increment upgrades.
In step s 13, increment AKU and the legacy version installation kit after repairing are merged, obtains redaction installation kit, complete increment upgrading.
In the program, terminal device verifies the file in legacy version installation kit according to list to be tested, abnormal file is had once check out in legacy version installation file, the file of exception is repaired at once, thus carrying out smoothly of ensure that increment upgrades, to avoid in correlation technique because the file in legacy version installation kit occurs abnormal, increment upgrading cannot be completed, the mode that full dose can only be used to upgrade carries out the situation of upgrading; Because terminal device can carry out the reparation of abnormal document on backstage, user's this repair process imperceptible, thus promote Consumer's Experience.
Optionally, the step of the increment AKU that the acquisition in S11 is corresponding with legacy version installation kit comprises:
Send the increment AKU of carrying the identification information of legacy version installation kit to server and obtain request, obtain the increment AKU corresponding with the identification information of legacy version installation kit to make server and send;
Receive increment AKU.
When terminal device obtains the increment AKU corresponding with legacy version installation kit, increment AKU can be sent to server and obtain request, and the identification information carrying legacy version installation kit in request is obtained in increment AKU, server can obtain increment AKU according to the identification information of this legacy version installation kit and send to terminal device.
The identification information of legacy version installation kit can comprise version information of the model of terminal device, operating system or application software etc.
Optionally, according to listed files to be tested, file in legacy version installation kit is verified in S12, and is that step that abnormal file is repaired comprises and can comprise following two kinds of modes to check results:
First kind of way, as described in Figure 2, the identification information for the file each to be verified in list to be verified performs this process, specifically comprises the steps:
In step S1211, obtain the identification information of i-th file to be verified of listed files to be verified, i=1,2 ..., N, N be the sum of identified in list information to be verified.
Can comprise the identification information of file to be verified in listed files to be verified, the identification information of file to be verified can comprise the version information of the model of terminal device, operating system or application software and the title of file to be verified etc.
In step S1212, the file corresponding to the identification information of i-th file to be verified in legacy version installation kit verifies.
If check results is abnormal, in step S1213, obtain file corresponding to the identification information of i-th file to be verified from server.
Because server can be preserved the All Files in legacy version installation kit, after therefore determining the file exception that the identification information of i-th file to be verified is corresponding, the file of this exception can be obtained from server.
In step S1214, use the file obtained from server to cover corresponding file legacy version installation kit, perform S1215.
Then the file that obtains from server to be covered on terminal device corresponding file in legacy version installation kit.
If check results is normal, in step S1215, determine whether i is less than N.
If i is less than N, in step S1216, obtain the identification information of the i-th+1 file to be verified of listed files to be verified, perform S1212.
If need verification file in listed files to be tested not verified, then can proceed verification.
If i equals N, in step S1217, flow process terminates.
If all files to be verified are verified in listed files to be tested, then can process ends.
The second way, as described in Figure 3, specifically comprises the steps:
In step S1221, obtain the identification information of the file to be verified that listed files to be verified comprises.
In step S1222, successively the file in legacy version installation kit is verified according to the identification information of the file to be verified obtained.
All can verify the file in legacy version installation kit according to listed files to be verified.
In step S1223, record check results is abnormal file.
In step S1224, obtaining check results from server is abnormal file.
Can obtain all check results from server is once abnormal file.
In step S1225, the file obtained from server is used to cover corresponding file legacy version installation kit.
Then corresponding file in legacy version installation kit on the file obtained from server covering terminal device can be realized School Affairs reparation.
Be enumerated above the method that two kinds of School Affairs are repaired, certainly also have other method, repeat no longer one by one here.After being repaired by School Affairs, can guarantee that the file in the legacy version installation kit after repairing is all normal, that guarantees that increment upgrades further carries out smoothly.
Optionally, the step that increment AKU and the legacy version installation kit after repairing carry out merging is comprised in S13:
Legacy version installation kit after repairing is copied in buffer memory;
In the buffer the legacy version installation kit after reparation and increment AKU are merged.
Can the legacy version installation kit after reparation and increment AKU be merged in the buffer, certainly also have other merging mode, be only enumerate a kind of mode to be described here, alternate manner here repeats no more.
After the step merged, just can obtain redaction installation kit, thus realize increment and upgrade, terminal device also can have been upgraded by reminding user, as long as user restarts terminal device just can use the operating system after upgrading or application software.
Fig. 4 is a kind of increment update device block diagram according to an exemplary embodiment.With reference to Fig. 4, this device comprises acquisition module 41, and verification is repaired module 42 and merged module 43.
This acquisition module 41 is configured to, and obtain the increment AKU corresponding with legacy version installation kit, increment AKU carries listed files to be verified.
This verification is repaired module 42 and is configured to, and verifies, and be that abnormal file is repaired to check results according to listed files to be tested to the file in legacy version installation kit.
This merging module 43 is configured to, and increment AKU and the legacy version installation kit after repairing is merged, obtains redaction installation kit, completes increment upgrading.
In the program, terminal device verifies the file in legacy version installation kit according to list to be tested, abnormal file is had once check out in legacy version installation file, the file of exception is repaired at once, thus carrying out smoothly of ensure that increment upgrades, to avoid in correlation technique because the file in legacy version installation kit occurs abnormal, increment upgrading cannot be completed, the mode that full dose can only be used to upgrade carries out the situation of upgrading; Because terminal device can carry out the reparation of abnormal document on backstage, user's this repair process imperceptible, thus promote Consumer's Experience.
Fig. 5 is a kind of acquisition module block diagram according to an exemplary embodiment.With reference to Fig. 5, this acquisition module 41 comprises transmission submodule 411 and receives submodule 412.
This transmission submodule 411 is configured to, and sends the increment AKU of carrying the identification information of legacy version installation kit and obtains request, obtain the increment AKU corresponding with the identification information of legacy version installation kit to make server and send to server.
This reception submodule 412 is configured to, and receives increment AKU.
Fig. 6 is that module frame chart is repaired in the one verification according to an exemplary embodiment.With reference to Fig. 6, this verification is repaired module 42 and is comprised the first acquisition submodule 421, first syndrome module 422, second acquisition submodule 423 and the first covering submodule 424.
This first obtain submodule 421 be configured to, obtain the identification information of i-th file to be verified of listed files to be verified, i=1,2 ..., N, N be the sum of identified in list information to be verified.
This first syndrome module 422 is configured to, and the file corresponding to the identification information of i-th file to be verified in legacy version installation kit verifies.
This second obtains submodule 423 and is configured to, if check results be exception, then obtains file corresponding to the identification information of i-th file to be verified from server.
This first covering submodule 424 is configured to, and uses the file obtained from server to cover corresponding file legacy version installation kit.
Fig. 7 is that module frame chart is repaired in the another kind verification according to an exemplary embodiment.With reference to Fig. 7, this verification is repaired module 42 and is comprised the 3rd acquisition submodule 425, second syndrome module 426, record sub module 427, and the 4th obtains submodule 428 and second covers submodule 429.
3rd obtains submodule 425 is configured to, and obtains the identification information of the file to be verified that listed files to be verified comprises.
This second syndrome module 426 is configured to, and verifies successively according to the identification information of the file to be verified obtained to the file in legacy version installation kit.
This record sub module 427 is configured to, and record check results is abnormal file.
4th obtains submodule 428 is configured to, and obtaining check results from server is abnormal file.
This second covering submodule 429 is configured to, and uses the file obtained from server to cover corresponding file legacy version installation kit.
Fig. 8 is that the one according to an exemplary embodiment merges module frame chart.With reference to Fig. 8, this merging module 43 comprises replicon module 431 and merges submodule 432.
This replicon module 431 is configured to, and is copied in buffer memory by the legacy version installation kit after repairing.
This merging submodule 432 is configured to, and the legacy version installation kit after reparation and increment AKU is merged in the buffer.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 9 is the block diagram of a kind of device 800 for increment upgrading according to an exemplary embodiment.Such as, device 800 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 800 can comprise following one or more assembly: processing components 802, storer 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor module 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing components 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Storer 804 is configured to store various types of data to be supported in the operation of device 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 806 is device 800 provide electric power.Power supply module 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When device 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loudspeaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 814 comprises one or more sensor, for providing the state estimation of various aspects for device 800.Such as, sensor module 814 can detect the opening/closing state of device 800, the relative positioning of assembly, such as described assembly is display and the keypad of device 800, the position of all right pick-up unit 800 of sensor module 814 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the temperature variation of device 800 orientation or acceleration/deceleration and device 800.Sensor module 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 800.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of method for updating increment, described method comprises:
Obtain the increment AKU corresponding with legacy version installation kit, described increment AKU carries listed files to be verified;
According to described listed files to be tested, file in legacy version installation kit is verified, and be that abnormal file is repaired to check results;
Described increment AKU and the legacy version installation kit after repairing are merged, obtains redaction installation kit, complete increment upgrading.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (11)

1. a method for updating increment, is characterized in that, comprising:
Obtain the increment AKU corresponding with legacy version installation kit, described increment AKU carries listed files to be verified;
According to described listed files to be tested, file in legacy version installation kit is verified, and be that abnormal file is repaired to check results;
Described increment AKU and the legacy version installation kit after repairing are merged, obtains redaction installation kit, complete increment upgrading.
2. method according to claim 1, is characterized in that, the step of the increment AKU that described acquisition is corresponding with legacy version installation kit comprises:
Send the increment AKU of carrying the identification information of described legacy version installation kit to server and obtain request, obtain the increment AKU corresponding with the identification information of described legacy version installation kit to make described server and send;
Receive described increment AKU.
3. method according to claim 1, is characterized in that, describedly verifies the file in legacy version installation kit according to described listed files to be tested, and is that the step that abnormal file is repaired comprises to check results:
Obtain the identification information of i-th file to be verified of described listed files to be verified, i=1,2 ..., N, N be the sum of described identified in list information to be verified;
The file corresponding to the identification information of i-th file to be verified described in described legacy version installation kit verifies;
If check results is abnormal, then from the file that the identification information of described i-th file to be verified of described server acquisition is corresponding;
The file obtained from described server is used to cover corresponding file described legacy version installation kit.
4. method according to claim 1, is characterized in that, describedly verifies the file in legacy version installation kit according to described listed files to be tested, and is that the step that abnormal file is repaired comprises to check results:
Obtain the identification information of the file to be verified that described listed files to be verified comprises;
Successively the file in described legacy version installation kit is verified according to the identification information of the file to be verified obtained;
Record check results is abnormal file;
Obtaining check results from described server is abnormal file;
The file obtained from described server is used to cover corresponding file described legacy version installation kit.
5., according to the arbitrary described method of claim 1-4, it is characterized in that, described by described increment AKU with repair after the legacy version installation kit step of carrying out merging comprise:
Legacy version installation kit after repairing is copied in buffer memory;
In described buffer memory, the legacy version installation kit after reparation and described increment AKU are merged.
6. an increment update device, is characterized in that, comprising:
Acquisition module, for obtaining the increment AKU corresponding with legacy version installation kit, described increment AKU carries listed files to be verified;
Module is repaired in verification, for verifying the file in legacy version installation kit according to described listed files to be tested, and is that abnormal file is repaired to check results;
Merging module, for described increment AKU and the legacy version installation kit after repairing being merged, obtaining redaction installation kit, complete increment upgrading.
7. device according to claim 6, is characterized in that, described acquisition module comprises:
Send submodule, obtain request for sending the increment AKU of carrying the identification information of described legacy version installation kit to server, obtain the increment AKU corresponding with the identification information of described legacy version installation kit to make described server and send;
Receive submodule, for receiving described increment AKU.
8. device according to claim 6, is characterized in that, described verification is repaired module and comprised:
First obtain submodule, for obtaining the identification information of i-th file to be verified of described listed files to be verified, i=1,2 ..., N, N be the sum of described identified in list information to be verified;
First syndrome module, verifies for the file corresponding to the identification information of i-th file to be verified described in described legacy version installation kit;
Second obtains submodule, if be abnormal for check results, then from the file that the identification information of described i-th file to be verified of described server acquisition is corresponding;
First covers submodule, covers corresponding file described legacy version installation kit for using the file obtained from described server.
9. device according to claim 6, is characterized in that, described verification is repaired module and comprised:
3rd obtains submodule, for obtaining the identification information of the file to be verified that described listed files to be verified comprises;
Second syndrome module, for verifying the file in described legacy version installation kit successively according to the identification information of the file to be verified obtained;
Record sub module is abnormal file for recording check results;
4th obtains submodule, is abnormal file for obtaining check results from described server;
Second covers submodule, covers corresponding file described legacy version installation kit for using the file obtained from described server.
10., according to the arbitrary described device of claim 6-9, it is characterized in that, described merging module comprises:
Replicon module, for copying in buffer memory by the legacy version installation kit after reparation;
Merge submodule, for the legacy version installation kit after reparation and described increment AKU being merged in described buffer memory.
11. 1 kinds of terminal devices, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the increment AKU corresponding with legacy version installation kit, described increment AKU carries listed files to be verified;
According to described listed files to be tested, file in legacy version installation kit is verified, and be that abnormal file is repaired to check results;
Described increment AKU and the legacy version installation kit after repairing are merged, obtains redaction installation kit, complete increment upgrading.
CN201410400253.8A 2014-08-14 2014-08-14 Method and device for incremental upgrading and terminal device Pending CN104216736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410400253.8A CN104216736A (en) 2014-08-14 2014-08-14 Method and device for incremental upgrading and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410400253.8A CN104216736A (en) 2014-08-14 2014-08-14 Method and device for incremental upgrading and terminal device

Publications (1)

Publication Number Publication Date
CN104216736A true CN104216736A (en) 2014-12-17

Family

ID=52098265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410400253.8A Pending CN104216736A (en) 2014-08-14 2014-08-14 Method and device for incremental upgrading and terminal device

Country Status (1)

Country Link
CN (1) CN104216736A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357308A (en) * 2015-11-18 2016-02-24 天脉聚源(北京)传媒科技有限公司 Data downloading method and apparatus
CN105389177A (en) * 2015-10-16 2016-03-09 Tcl集团股份有限公司 Software version confirmation method, device and system
CN105530130A (en) * 2015-12-17 2016-04-27 青岛海信电器股份有限公司 Method and device for upgrading Over-The-Air downloading technology
CN105550071A (en) * 2015-12-28 2016-05-04 迈普通信技术股份有限公司 System file upgrading and detecting method and communication device
CN105589718A (en) * 2015-12-18 2016-05-18 深圳市万普拉斯科技有限公司 System updating method and updating apparatus for intelligent device
CN105912926A (en) * 2016-04-28 2016-08-31 北京小米移动软件有限公司 Legal installation package acquisition method, device and system
CN106161336A (en) * 2015-03-25 2016-11-23 阿里巴巴集团控股有限公司 A kind of information updating method, Apparatus and system
WO2016192197A1 (en) * 2015-06-02 2016-12-08 中兴通讯股份有限公司 Software upgrade method, apparatus and system of terminal, and computer storage medium
WO2017016282A1 (en) * 2015-07-30 2017-02-02 中兴通讯股份有限公司 Software upgrading method and apparatus, and computer storage medium
CN108334771A (en) * 2017-01-17 2018-07-27 杭州海康威视数字技术股份有限公司 A kind of increment upgrade package generates, increment updating method and device
CN109474454A (en) * 2017-12-29 2019-03-15 北京安天网络安全技术有限公司 A kind of device management method and system
CN109658940A (en) * 2018-12-27 2019-04-19 苏州思必驰信息科技有限公司 Update the method and system of speech recognition resources
CN109672655A (en) * 2017-10-16 2019-04-23 华为终端(东莞)有限公司 A kind of method, apparatus and system of difference upgrading
WO2019085365A1 (en) * 2017-10-30 2019-05-09 厦门亿联网络技术股份有限公司 Increment upgrade method based on eigenvalue table look-up method
CN111078257A (en) * 2019-12-19 2020-04-28 杭州安恒信息技术股份有限公司 Loading method and related device of H5 application package
CN111782249A (en) * 2020-07-10 2020-10-16 上海淇毓信息科技有限公司 Method and device for upgrading service function of client and electronic equipment
CN112000347A (en) * 2020-07-27 2020-11-27 新华三大数据技术有限公司 Distributed file system and component version updating method thereof
CN112286548A (en) * 2020-10-16 2021-01-29 锐捷网络股份有限公司 Patch upgrading method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060195745A1 (en) * 2004-06-01 2006-08-31 The Trustees Of Columbia University In The City Of New York Methods and systems for repairing applications
CN1906574A (en) * 2003-11-19 2007-01-31 艾利森电话股份有限公司 Updating data in a mobile terminal
CN102479093A (en) * 2010-11-25 2012-05-30 英业达股份有限公司 Software installing system for providing verification and updating original file and register table and method thereof
CN102521081A (en) * 2010-12-01 2012-06-27 微软公司 Repairing corrupt software
CN103095838A (en) * 2013-01-16 2013-05-08 福州博远无线网络科技有限公司 Method for upgrading Android smartphone software through downloading incremental upgrade package
CN103473099A (en) * 2013-09-13 2013-12-25 惠州Tcl移动通信有限公司 Software upgrading method and system for mobile terminal
CN103647816A (en) * 2013-12-03 2014-03-19 北京奇虎科技有限公司 Method and device for upgrading application software
CN103853574A (en) * 2012-12-06 2014-06-11 腾讯科技(深圳)有限公司 Method and system for upgrading software

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1906574A (en) * 2003-11-19 2007-01-31 艾利森电话股份有限公司 Updating data in a mobile terminal
US20060195745A1 (en) * 2004-06-01 2006-08-31 The Trustees Of Columbia University In The City Of New York Methods and systems for repairing applications
CN102479093A (en) * 2010-11-25 2012-05-30 英业达股份有限公司 Software installing system for providing verification and updating original file and register table and method thereof
CN102521081A (en) * 2010-12-01 2012-06-27 微软公司 Repairing corrupt software
CN103853574A (en) * 2012-12-06 2014-06-11 腾讯科技(深圳)有限公司 Method and system for upgrading software
CN103095838A (en) * 2013-01-16 2013-05-08 福州博远无线网络科技有限公司 Method for upgrading Android smartphone software through downloading incremental upgrade package
CN103473099A (en) * 2013-09-13 2013-12-25 惠州Tcl移动通信有限公司 Software upgrading method and system for mobile terminal
CN103647816A (en) * 2013-12-03 2014-03-19 北京奇虎科技有限公司 Method and device for upgrading application software

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161336A (en) * 2015-03-25 2016-11-23 阿里巴巴集团控股有限公司 A kind of information updating method, Apparatus and system
WO2016192197A1 (en) * 2015-06-02 2016-12-08 中兴通讯股份有限公司 Software upgrade method, apparatus and system of terminal, and computer storage medium
CN106406922A (en) * 2015-07-30 2017-02-15 中兴通讯股份有限公司 Software upgrade method and device
WO2017016282A1 (en) * 2015-07-30 2017-02-02 中兴通讯股份有限公司 Software upgrading method and apparatus, and computer storage medium
CN105389177A (en) * 2015-10-16 2016-03-09 Tcl集团股份有限公司 Software version confirmation method, device and system
CN105357308A (en) * 2015-11-18 2016-02-24 天脉聚源(北京)传媒科技有限公司 Data downloading method and apparatus
CN105357308B (en) * 2015-11-18 2018-05-08 天脉聚源(北京)传媒科技有限公司 A kind of data download method and device
CN105530130A (en) * 2015-12-17 2016-04-27 青岛海信电器股份有限公司 Method and device for upgrading Over-The-Air downloading technology
CN105589718A (en) * 2015-12-18 2016-05-18 深圳市万普拉斯科技有限公司 System updating method and updating apparatus for intelligent device
CN105550071B (en) * 2015-12-28 2018-09-18 迈普通信技术股份有限公司 System file upgrades and detection method, communication equipment
CN105550071A (en) * 2015-12-28 2016-05-04 迈普通信技术股份有限公司 System file upgrading and detecting method and communication device
US10091236B2 (en) 2016-04-28 2018-10-02 Beijing Xiaomi Mobile Software Co., Ltd. Methods apparatuses, and storage mediums for acquiring legitimate installation packages
CN105912926A (en) * 2016-04-28 2016-08-31 北京小米移动软件有限公司 Legal installation package acquisition method, device and system
CN108334771A (en) * 2017-01-17 2018-07-27 杭州海康威视数字技术股份有限公司 A kind of increment upgrade package generates, increment updating method and device
CN109672655A (en) * 2017-10-16 2019-04-23 华为终端(东莞)有限公司 A kind of method, apparatus and system of difference upgrading
WO2019085365A1 (en) * 2017-10-30 2019-05-09 厦门亿联网络技术股份有限公司 Increment upgrade method based on eigenvalue table look-up method
CN109474454A (en) * 2017-12-29 2019-03-15 北京安天网络安全技术有限公司 A kind of device management method and system
CN109658940B (en) * 2018-12-27 2020-09-25 苏州思必驰信息科技有限公司 Method and system for updating voice recognition resources
CN109658940A (en) * 2018-12-27 2019-04-19 苏州思必驰信息科技有限公司 Update the method and system of speech recognition resources
CN111078257A (en) * 2019-12-19 2020-04-28 杭州安恒信息技术股份有限公司 Loading method and related device of H5 application package
CN111078257B (en) * 2019-12-19 2023-09-08 杭州安恒信息技术股份有限公司 H5 application package loading method and related device
CN111782249A (en) * 2020-07-10 2020-10-16 上海淇毓信息科技有限公司 Method and device for upgrading service function of client and electronic equipment
CN111782249B (en) * 2020-07-10 2024-03-29 上海淇毓信息科技有限公司 Method and device for upgrading service function of client and electronic equipment
CN112000347A (en) * 2020-07-27 2020-11-27 新华三大数据技术有限公司 Distributed file system and component version updating method thereof
CN112000347B (en) * 2020-07-27 2022-08-30 新华三大数据技术有限公司 Distributed file system and component version updating method thereof
CN112286548A (en) * 2020-10-16 2021-01-29 锐捷网络股份有限公司 Patch upgrading method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104216736A (en) Method and device for incremental upgrading and terminal device
CN104219092B (en) The compatibility method of a kind of router administration application and router firmware and device
EP3151507A1 (en) Methods and apparatuses for controlling device
CN104484200A (en) Method and device for updating firmware
CN104156236A (en) Storage space saving method and device
CN105094931A (en) Software upgrading method and device
CN103957103A (en) Safety authentication method and device and mobile terminal
CN104104514A (en) Method and device for identifying by using verification code
CN104301383A (en) Upgrading method, device and upgrading equipment
CN104468329A (en) Member adding method and device based on instant messaging
CN106454392A (en) Live broadcast processing method, device and terminal
CN105407098A (en) Identity verification method and device
CN104536891A (en) Method and device for testing system
CN105472771A (en) Wireless connection method and device
CN104618511A (en) Intelligent device detection method and device
CN104461666A (en) Firmware upgrading method and device for main processor of device
CN105553963A (en) Control method and device of positioning services
CN105100074A (en) Data operation processing method, device and terminal equipment
CN104536783A (en) Method and device for setting reserved space
CN105094904A (en) Application program installation method and device
CN104735670A (en) Network access method and device
CN105068848A (en) System upgrading method and apparatus
CN104811776A (en) Multimedia playing method and device
CN105631254A (en) Unlocking method and unlocking device
CN105094830A (en) Method and device for executing target functions

Legal Events

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

Application publication date: 20141217

RJ01 Rejection of invention patent application after publication