CN103473099A - Software upgrading method and system for mobile terminal - Google Patents
Software upgrading method and system for mobile terminal Download PDFInfo
- Publication number
- CN103473099A CN103473099A CN201310417037XA CN201310417037A CN103473099A CN 103473099 A CN103473099 A CN 103473099A CN 201310417037X A CN201310417037X A CN 201310417037XA CN 201310417037 A CN201310417037 A CN 201310417037A CN 103473099 A CN103473099 A CN 103473099A
- Authority
- CN
- China
- Prior art keywords
- backup
- mobile terminal
- file
- subregion
- partition table
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
- G06F3/0607—Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0644—Management of space entities, e.g. partitions, extents, pools
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/654—Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
- H04W8/245—Transfer of terminal data from a network towards a terminal
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a software upgrading method and system for a mobile terminal. The method includes the steps: respectively finding partition tables of new version software and old version software to generate corresponding backup lists; scanning all files of the new version software to generate a differential upgrading package comprising the partition table of the new version software and the backup lists; storing backup data needing backup in the mobile terminal into an SD (secure digital) card according to the backup lists, re-partitioning a storage of the mobile terminal according to the partition table of the new version software of the differential upgrading package, and correspondingly writing the backup data on the SD card into partitions; uncompressing the differential upgrading package to obtain corresponding differential files, generating corresponding new version files according to the differential files and old version files in the mobile terminal, and writing the corresponding new version files into the mobile terminal. Therefore, upgrading is completed, the software can be upgraded when the partition tables of the storage of the mobile terminal need to be changed, and great convenience is brought for users.
Description
Technical field
The present invention relates to field of mobile terminals, in particular a kind of method for upgrading software of mobile terminal and system.
Background technology
Existing smart mobile phone, for example adopt the mobile phone of Android system, often has the demand of software upgrading.Generally, all can use FOTA upgrading (Firmware Over-The-Air downloads software upgrading in the air).The FOTA upgrading is a kind of simple and friendly upgrade method, needs hardly the user to do what operation, just can make mobile phones software upgrading arrive latest edition.But, under the situation of smart mobile phone fast development at present, tend to occur because software release upgrade (or software requirement change) needs to revise the situation of Mobile phone internal storage partition table.And existing FOTA mechanism can't be processed this class situation.
Specifically, in field of mobile terminals and whole built-in field, take mobile phone as example, storage medium generally has two large classes, and the one, the Mobile phone internal storage, be generally NAND or EMMC, and it is the core memory space of mobile phone; The 2nd, extended memory, be generally the SD card.Mobile phone memory subregion (following said subregion, refer in particular to Mobile phone internal storage subregion, and said partition table refers in particular to Mobile phone internal storage partition table) has two types.A kind of is raw data (raw data) type, and the mode according to original data stream reads and writes data, and the subregion of this class has bootloader, kernel etc.Another type is file system (filesystem) type.The file of herein saying, computer documents, refer to the set of some data.A file has just represented a piece of data.In this class subregion the inside, can dispose a file system (as EXT4 or FAT) and manage each file.If we need to read and write some files, will observe the read-write mode of file system and read and write.On typical cell phone apparatus, system partitioning (system) and user data subregion (userdata) all belong to this type.Figuratively, the file system type subregion similarly is a book that catalogue is arranged, these catalogues be exactly subregion the inside about listed files, file attribute, the metadata of file size (META data).And the original data type subregion is just as a book that there is no catalogue.Actual conditions according to mobile phone (embedded) field can simply be summarized as: the original data type subregion can be stored a file, and the file system type subregion can be stored a plurality of files.As mentioned above, each subregion type that custom becomes of all having an agreement, so divisional type generally can not change.
But under the situation of smart mobile phone fast development at present, tend to occur because software release upgrade (or software requirement change) needs to revise the situation of Mobile phone internal storage partition table, the change that the change of partition table comprises the subregion start address and big or small change, the change of this subregion start address and big or small change are fatal for the file system type subregion, because this change very likely destroys metadata.Once metadata is destroyed, certain some file of subregion the inside can not be read and write.Although original data type subregion the inside does not have metadata, this change still likely destroys the data in subregion.And FOTA mechanism is based on file differencing algorithm, its operation is all file operation.In the situation that file corruption, the FOTA operation is certain to failure.And existing FOTA mechanism does not have the related measure for " change of new and old edition software machine internal storage partition table ", so existing FOTA mechanism can't be processed this class situation.Because existing FOTA upgrade method can't be processed this situation, if the partition table before defending to the last can cause development difficulty to increase like this, and the user can not get up-to-date best user experience.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, provides a kind of method for upgrading software and system of mobile terminal, is intended to solve the problem of software upgrading inconvenience in prior art.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A kind of method for upgrading software of mobile terminal wherein, comprises the following steps:
A, according to new version software and legacy version software, find out respectively the partition table of new version software and legacy version software, the difference of contrast separation of old and new towns table, generate corresponding backup list;
The All Files of B, scanning new version software, generate the difference AKU that comprises described new version software partition table and backup list;
C, according to the backup list in described difference AKU, detect the Backup Data total amount that needs backup in mobile terminal, the remaining space of the SD card of described Backup Data total amount and mobile terminal is contrasted, when described Backup Data total amount is less than the remaining space of SD card of mobile terminal, enter step D;
D, according to described backup list, to in mobile terminal, need the backup data store of backup in the SD card, and according to the new version software partition table of described difference AKU by mobile terminal memory subregion again, the sense partitions type, write subregion by the Backup Data correspondence on the SD card;
E, the described difference AKU that decompresses, obtain corresponding difference file, according to the legacy version file in described difference file and mobile terminal, generates corresponding redaction file, and write mobile terminal and complete upgrading.
The method for upgrading software of described mobile terminal, wherein, described steps A specifically comprises:
A1, according to new version software and legacy version software, obtain respectively the partition table of new version software and legacy version software;
A2, traversal redaction partition table, if do not complete traversal, enter steps A 3; If complete traversal, finish;
A3, in new partition table, take out one, and search the subregion whether same name is arranged in old partition table, if enter steps A 4; If not, skip to steps A 2;
Whether the size of A4, inspection separation of old and new towns is all consistent with start address, if, skip to steps A 2, if not, enter steps A 5;
The type of A5, inspection subregion increases a description entry in backup list, describes name and the type of this subregion, returns to steps A 2.
The method for upgrading software of described mobile terminal, wherein, described step B specifically comprises:
The All Files of B1, scanning redaction and legacy version software package, obtain respectively corresponding listed files;
B2, traversal redaction partition table, if do not complete traversal, enter step B3; If complete traversal, the redaction partition table is added to the difference AKU, and finish;
B3, take out one in the redaction listed files, and search the file that whether has filename identical in the legacy version listed files, if nothing is used word for word mode that the redaction file is added to the difference AKU, and skipped to step B2; If have, continue step B4;
B4, in difference bag compare tool, using the file of new and old edition as input, generate difference file, and increase corresponding description entry in difference file, return to step B2.
The method for upgrading software of described mobile terminal, wherein, described step C specifically comprises:
Whether C1, inspection mobile terminal have the SD card, if, enter step C2, if not, reporting errors, finish;
C2, from the difference AKU, obtain backup list, read existing partition table from mobile terminal memory, the traversal backup list, if do not complete traversal, enter step C3; If complete traversal, enter step C4;
C3, take out one in backup list, and find corresponding subregion in existing partition table, check divisional type, if the original data type subregion is added to the Backup Data total amount by partition size; If the file system type subregion is added to the Backup Data total amount by the total size of All Files in subregion; Return to step C2 until complete traversal;
The SD card remaining space size of C4, inspection mobile terminal, if larger than Backup Data total amount, enter step D; Otherwise reporting errors, and finish.
The method for upgrading software of described mobile terminal, wherein, described step D specifically comprises:
D1, from the difference AKU, obtain backup list, read existing partition table from mobile terminal memory, the traversal backup list, if do not complete traversal, enter step D2; If complete traversal, enter step D3;
D2, take out one in backup list, and find corresponding subregion in existing partition table, check divisional type, if the original data type subregion, the data of reading whole subregion, be stored as a file on the SD card to these data; If the file system type subregion is used the TAR file layout that the file of subregion the inside is packaged into to a file, and this file is stored on the SD card; Return to step D1 until complete traversal;
D3, obtain new partition table from the difference AKU, according to new partition table, by mobile terminal memory subregion again, the traversal backup list, if do not complete traversal, enter step D4; If complete traversal, finish;
D4, take out one in backup list, and find corresponding subregion in new partition table, check divisional type, if the original data type subregion, the respective file by backup on the SD card writes subregion; If the file system type subregion, the corresponding TAR file of decompress(ion) backup on the SD card, write subregion by each file in the TAR file, returns to step D3 until complete traversal.
The method for upgrading software of described mobile terminal, wherein, described step e specifically comprises:
E1, decompression difference AKU, obtain corresponding difference file and difference file list, and the list of traversal difference file, if do not complete traversal, enter step e 2; If complete traversal, finish;
E2, take out one in the difference file list, according to the legacy version file in described difference file and mobile terminal, generate corresponding redaction file, and write mobile terminal, return to step e 1 until complete traversal.
A kind of software update system of mobile terminal wherein, comprising:
The backup list generation module, for according to new version software and legacy version software, find out respectively the partition table of new version software and legacy version software, and the difference of contrast separation of old and new towns table, generate corresponding backup list;
Difference AKU generation module, for scanning the All Files of new version software, generate the difference AKU that comprises described new version software partition table and backup list;
The capacity check module, for the backup list according in described difference AKU, detect the Backup Data total amount that needs backup in mobile terminal, and the remaining space of the SD card of described Backup Data total amount and mobile terminal is contrasted;
Data backup and recovery module, be used for according to described backup list, to in mobile terminal, need the backup data store of backup in the SD card, and according to the new version software partition table of described difference AKU by mobile terminal memory subregion again, the sense partitions type, write subregion by the Backup Data correspondence on the SD card;
The upgrading module, for the described difference AKU that decompresses, obtain corresponding difference file, according to the legacy version file in described difference file and mobile terminal, generates corresponding redaction file, and write mobile terminal and complete upgrading.
The software update system of described mobile terminal, wherein, described backup list generation module specifically comprises:
The partition table acquiring unit, for according to new version software and legacy version software, obtain respectively the partition table of new version software and legacy version software;
Partition table traversal unit, for traveling through the redaction partition table;
The subregion whether same name is arranged at new partition table, taking out one, and is searched in name contrast unit in old partition table;
Size and start address contrast unit, whether all consistent with start address for the size that checks separation of old and new towns;
Backup sheet is revised unit, for checking the type of subregion, increases a description entry in backup list, describes name and the type of this subregion.
The software update system of described mobile terminal, wherein, described capacity check module specifically comprises:
Whether SD card detecting unit, have the SD card for checking mobile terminal;
Existing partition table for from the difference AKU, obtaining backup list, is read, the traversal backup list in the first backup list traversal unit from mobile terminal memory;
The Backup Data total amount calculating unit at backup list, taking out one, and finds corresponding subregion in existing partition table, checks divisional type, if the original data type subregion is added to the Backup Data total amount by partition size; If the file system type subregion is added to the Backup Data total amount by the total size of All Files in subregion;
The capacity comparison unit, for checking the SD card remaining space size of mobile terminal, and contrasted the remaining space of the SD card of described Backup Data total amount and mobile terminal.
The software update system of described mobile terminal, wherein, described data backup and recovery module specifically comprise:
Existing partition table for from the difference AKU, obtaining backup list, is read, the traversal backup list in the second backup list traversal unit from mobile terminal memory;
The data backup unit at backup list, taking out one, and finds corresponding subregion in existing partition table, checks divisional type, if the original data type subregion, the data of reading whole subregion, be stored as a file on the SD card to these data; If the file system type subregion is used the TAR file layout that the file of subregion the inside is packaged into to a file, and this file is stored on the SD card;
The 3rd backup list traversal unit, for obtain new partition table from the difference AKU, by mobile terminal memory subregion again, travel through backup list according to new partition table;
Data recovery unit at backup list, taking out one, and finds corresponding subregion in new partition table, checks divisional type, if the original data type subregion, the respective file by backup on the SD card writes subregion; If the file system type subregion, the corresponding TAR file of decompress(ion) backup on the SD card, write subregion by each file in the TAR file.
The method for upgrading software of mobile terminal provided by the present invention and system, thereby effectively solved, existing FOTA mechanism can't be processed because the problem that software release upgrade or software requirement change need the situation of modification mobile terminal internal storage partition table to cause software to upgrade, its method is passed through according to new version software and legacy version software, find out respectively the partition table of new version software and legacy version software, the difference of contrast separation of old and new towns table, generate corresponding backup list; The All Files of scanning new version software, generate the difference AKU that comprises described new version software partition table and backup list; According to the backup list in described difference AKU, detect the Backup Data total amount that needs backup in mobile terminal, the remaining space of the SD card of described Backup Data total amount and mobile terminal is contrasted, when described Backup Data total amount is less than the remaining space of SD card of mobile terminal, according to described backup list, to in mobile terminal, need the backup data store of backup in the SD card, and according to the new version software partition table of described difference AKU by mobile terminal memory subregion again, the sense partitions type, write subregion by the Backup Data correspondence on the SD card; Described difference AKU decompresses, obtain corresponding difference file, according to the legacy version file in described difference file and mobile terminal, generate corresponding redaction file, and write mobile terminal and complete upgrading, thereby make mobile terminal in the situation that need to change the memory partition table during software upgrading, also can upgrade, its implementation is simple, by software, realizes, cost is lower.
The accompanying drawing explanation
The process flow diagram of the method for upgrading software preferred embodiment that Fig. 1 is mobile terminal provided by the invention.
Generate the process flow diagram of the Application Example of backup list in the method for upgrading software that Fig. 2 is mobile terminal provided by the invention.
Generate the process flow diagram of the Application Example of difference AKU in the method for upgrading software that Fig. 3 is mobile terminal provided by the invention.
Detect the process flow diagram of the Application Example of SD card space in the method for upgrading software that Fig. 4 is mobile terminal provided by the invention.
The process flow diagram of Backup Data and the Application Example that writes in the method for upgrading software that Fig. 5 is mobile terminal provided by the invention.
The process flow diagram of the Application Example of application difference AKU in the method for upgrading software that Fig. 6 is mobile terminal provided by the invention.
The structured flowchart of the software update system preferred embodiment that Fig. 7 is mobile terminal provided by the invention.
Embodiment
The invention provides a kind of method for upgrading software and system of mobile terminal, clearer, clear and definite for making purpose of the present invention, technical scheme and advantage, referring to accompanying drawing, developing simultaneously, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Refer to Fig. 1, the process flow diagram of the method for upgrading software preferred embodiment that Fig. 1 is mobile terminal provided by the invention, as shown in Figure 1, the method for upgrading software of mobile terminal provided by the invention comprises the following steps:
Step S100, according to new version software and legacy version software, find out respectively the partition table of new version software and legacy version software, the difference of contrast separation of old and new towns table, generate corresponding backup list;
The All Files of step S200, scanning new version software, generate the difference AKU that comprises described new version software partition table and backup list;
Step S300, according to the backup list in described difference AKU, detect the Backup Data total amount that needs backup in mobile terminal, the remaining space of the SD card of described Backup Data total amount and mobile terminal is contrasted, when described Backup Data total amount is less than the remaining space of SD card of mobile terminal, enter step S400;
Step S400, according to described backup list, to in mobile terminal, need the backup data store of backup in the SD card, and according to the new version software partition table of described difference AKU by mobile terminal memory subregion again, the sense partitions type, write subregion by the Backup Data correspondence on the SD card;
Step S500, the described difference AKU that decompresses, obtain corresponding difference file, according to the legacy version file in described difference file and mobile terminal, generates corresponding redaction file, and write mobile terminal and complete upgrading.
Below take mobile terminal as mobile phone is example, and in conjunction with specific embodiments above-mentioned steps is described in detail.
In practical application, be, step S100 and S200 complete at PC end (namely server), and step S300 to S500 completes in mobile phone.In simple terms, be exactly that the PC end generates corresponding difference AKU, be sent to mobile phone or mobile phone-downloaded, and then carry out software upgrading in mobile phone.
In step S100, PC holds according to new version software and legacy version software, finds out respectively the partition table of new version software and legacy version software, and the difference of contrast separation of old and new towns table, generate corresponding backup list.Specifically, PC holds according to new version software and legacy version software, obtains respectively the separation of old and new towns table.Described partition table has two kinds of forms of expression: at the PC end, partition table exists with the form of " partition table description document ", has comprised the subregion name, partition size, subregion start address and divisional type; At mobile phone terminal, partition table exists with the form of " partition table data in storer header data and storer ", has comprised equally the subregion name, partition size, subregion start address and divisional type.Then the difference of PC end contrast separation of old and new towns table, generate corresponding backup list.Described backup list is the list generated at the PC end, and it has been described: which subregion needs backup.The mobile phone terminal program will, according to this list, complete backup actions.
When practical application, described step S100 specifically comprises: S110, obtain respectively the partition table of new version software and legacy version software; S120, traversal redaction partition table, if do not complete traversal, enter step S130; If complete traversal, finish; S130, in new partition table, take out one, and search the subregion whether same name is arranged in old partition table, if enter step S140; If not, skip to step S120; Whether the size of S140, inspection separation of old and new towns is all consistent with start address, if, skip to step S120, if not, enter step S150; The type of S150, inspection subregion increases a description entry in backup list, describes name and the type of this subregion, returns to step S120.
Specifically, refer to Fig. 2, generate the process flow diagram of the Application Example of backup list in the method for upgrading software that Fig. 2 is mobile terminal provided by the invention, the process flow diagram of the Application Example of step S100 in the method for upgrading software of mobile terminal provided by the invention namely, as shown in Figure 2, the PC end first obtains respectively the partition table of new and old edition software according to new and old edition software, then travel through the redaction partition table, take out one in new partition table, and search the subregion whether same name is arranged in old partition table, if, enter next step size that checks separation of old and new towns whether all consistent with start address, if not, continue traversal.Whether the size that checks separation of old and new towns is all consistent with start address, if, continue traversal, if not, continue to check the type of subregion, increase a description entry in backup list, name and the type of subregion described.Continue traversal after increasing description entry, until, by whole taking-ups of redaction partition table, namely complete traversal, just finish.
In step S200, the All Files of PC end scanning new version software, generate the difference AKU that comprises described new version software partition table and backup list.When practical application, described step S200 specifically comprises: the All Files of S210, scanning redaction and legacy version software package obtains respectively corresponding listed files; S220, traversal redaction partition table, if do not complete traversal, enter step S230; If complete traversal, the redaction partition table is added to the difference AKU, and finish; S230, take out one in the redaction listed files, and search the file that whether has filename identical in the legacy version listed files, if nothing is used word for word mode that the redaction file is added to the difference AKU, and skipped to step S220; If have, continue step S240; S240, in difference bag compare tool, using the file of new and old edition as input, generate difference file, and increase corresponding description entry in difference file, return to step S220.
Specifically, refer to Fig. 3, generate the process flow diagram of the Application Example of difference AKU in the method for upgrading software that Fig. 3 is mobile terminal provided by the invention, the process flow diagram of the Application Example of the step S200 of the method for upgrading software of mobile terminal provided by the invention namely, as shown in Figure 3, the All Files of PC end scanning redaction and legacy version, generate corresponding listed files.Then travel through the redaction listed files, if the redaction listed files has not traveled through, in the redaction listed files, take out one, if the redaction listed files has traveled through, finish.Search the file identical with the filename of the file taken out in the redaction listed files in legacy version, if nothing, use word for word mode that the redaction file is added to the difference AKU, upgrade the difference AKU and continue traversal, if having, using bsdiff (difference bag compare tool) as instrument, using the file of new and old edition as input, generate difference file, and write corresponding information in the difference file list, as filename and check code etc.Continue traversal, until complete traversal redaction listed files, then the redaction listed files is added to the difference AKU.
In step S300, mobile terminal is according to the backup list in described difference AKU, detect the Backup Data total amount that needs backup in mobile terminal, the remaining space of the SD card of described Backup Data total amount and mobile terminal is contrasted, when described Backup Data total amount is less than the remaining space of SD card of mobile terminal, enter step S400.When practical application, described step S300 specifically comprises: whether S310, inspection mobile terminal have the SD card, if, enter step S320, if not, reporting errors, finish; S320, from the difference AKU, obtain backup list, read existing partition table from mobile terminal memory, the traversal backup list, if do not complete traversal, enter step S330; If complete traversal, enter step S340; S330, take out one in backup list, and find corresponding subregion in existing partition table, check divisional type, if the original data type subregion is added to the Backup Data total amount by partition size; If the file system type subregion is added to the Backup Data total amount by the total size of All Files in subregion; Return to step S320 until complete traversal; The SD card remaining space size of S340, inspection mobile terminal, if larger than Backup Data total amount, enter step S400; Otherwise reporting errors, and finish.
Specifically, refer to Fig. 4, detect the process flow diagram of the Application Example of SD card space in the method for upgrading software that Fig. 4 is mobile terminal provided by the invention, the process flow diagram of the Application Example of the step S300 of the method for upgrading software of mobile terminal provided by the invention namely, as shown in the figure, mobile terminal first checks that whether the SD card space is enough.When practical application, whether mobile terminal check has the SD card, if, continue, if not, reporting errors, and finish.Then obtain backup list from the difference AKU, read existing partition table from mobile phone memory, initializing variable " Backup Data total amount ".Then travel through backup list, in backup list, take out one, if do not traveled through, enter next step; If all taking-ups, namely traveled through, check SD card remaining space size.Then according to one that takes out at backup list, find corresponding subregion in existing partition table, and check divisional type, if the original data type subregion is added to the Backup Data total amount by partition size; If the file system type subregion is added to the Backup Data total amount by the total size of All Files in subregion, until complete traversal, obtain the Backup Data total amount that mobile terminal need to back up.Then check SD card remaining space size, if larger than Backup Data total amount, enter step S400, upgraded; Otherwise reporting errors, finish.For the size of data computing method of original data type subregion, because the original data type subregion does not have metadata, we can't learn size of data in subregion.So we think that the interior size of data of subregion is partition size.For the size of data computing method of file system type subregion, in the statistics subregion, the size of All Files, add up as size of data in subregion.
In step S400, mobile terminal is according to described backup list, to in mobile terminal, need the backup data store of backup in the SD card, and according to the new version software partition table of described difference AKU by mobile terminal memory subregion again, the sense partitions type, write subregion by the Backup Data correspondence on the SD card.When practical application, described step S400 specifically comprises: S410, from the difference AKU, obtain backup list, read existing partition table from mobile terminal memory, the traversal backup list, if do not complete traversal, enter step S420; If complete traversal, enter step S430; S420, take out one in backup list, and find corresponding subregion in existing partition table, check divisional type, if the original data type subregion, the data of reading whole subregion, be stored as a file on the SD card to these data; If the file system type subregion is used the TAR file layout that the file of subregion the inside is packaged into to a file, and this file is stored on the SD card; Return to step S410 until complete traversal; S430, obtain new partition table from the difference AKU, according to new partition table, by mobile terminal memory subregion again, the traversal backup list, if do not complete traversal, enter step S440; If complete traversal, finish; S440, take out one in backup list, and find corresponding subregion in new partition table, check divisional type, if the original data type subregion, the respective file by backup on the SD card writes subregion; If the file system type subregion, the corresponding TAR file of decompress(ion) backup on the SD card, write subregion by each file in the TAR file; Namely the Backup Data on the SD card is returned to corresponding subregion, then return to step S430 until complete traversal.
Specifically, refer to Fig. 5, the process flow diagram of Backup Data and the Application Example that writes in the method for upgrading software that Fig. 5 is mobile terminal provided by the invention, the process flow diagram of the Application Example of the step S400 of the method for upgrading software of mobile terminal provided by the invention namely, as shown in the figure, in inferior step S400, the mobile phone Backup Data also recovers.Mobile phone obtains backup list from the difference AKU, reads existing partition table from mobile phone memory.Then travel through backup list, in backup list, take out one, in existing partition table, find corresponding subregion, check divisional type, if the original data type subregion, the data of reading whole subregion, be stored as a file on the SD card to these data; If the file system type subregion is used the TAR file layout that the file of subregion the inside is packaged into to a file, then this file is stored on the SD card; Until, by whole taking-ups in backup list, namely traveled through, thereby the data that mobile phone need to be backed up all backup on the SD card.Then, obtain new partition table from the difference AKU, according to new partition table by mobile phone memory subregion again, and traversal backup list, take out one in backup list, find corresponding subregion in new partition table, check divisional type, if the original data type subregion, the respective file by backup on the SD card writes subregion; If file system type subregion, the corresponding TAR file of decompress(ion) backup on the SD card, write subregion by each file in the TAR file, until by whole taking-ups in backup list, namely traveled through, thereby the Backup Data in the SD card has been write in new subregion again.For the backup method of original data type subregion, as mentioned above, only need read according to the mode of original data stream the data of whole subregion, the file that these data are stored as on the SD card gets final product.For the backup method of file system type subregion, by the TAR file layout, complete.The TAR file layout is a kind of file packing form of the GPL of following licence.We use TAR that the All Files of subregion the inside is packaged into to a file, then this file are stored on the SD card.
In step S500, the mobile terminal described difference AKU that decompresses, obtain corresponding difference file, according to the legacy version file in described difference file and mobile terminal, generates corresponding redaction file, and write mobile terminal and complete upgrading.Specifically, described step S500 specifically comprises: S510, decompression difference AKU, obtain corresponding difference file and difference file list, and the list of traversal difference file, if do not complete traversal, enter step S520; If complete traversal, finish; S520, take out one in the difference file list, according to the legacy version file in described difference file and mobile terminal, generate corresponding redaction file, and write mobile terminal, return to step S510 until complete traversal.
Specifically, refer to Fig. 6, the process flow diagram of the Application Example of application difference AKU in the method for upgrading software that Fig. 6 is mobile terminal provided by the invention, the process flow diagram of the Application Example of the step S500 of the method for upgrading software of mobile terminal provided by the invention namely, as shown in the figure, mobile phone terminal decompression difference AKU, obtain corresponding difference file and difference file list, then travel through the difference file list, take out one in the difference file list, according to existing file in mobile phone and difference file, generate the redaction file, and the redaction file is write to mobile phone, until complete traversal.Like this, completed the software upgrading of mobile phone.
The method for upgrading software of mobile terminal provided by the invention, it is the optimization method to existing FOTA upgrade method, effectively overcome the problem that causes software to upgrade because of the change of Mobile phone internal storage partition table, avoid can't processing this situation because of existing FOTA upgrade method, the development difficulty that can only defend previous partition table to the last and can cause increases and the user can not get the problem that up-to-date best user experiences, make mobile terminal in the situation that need to change the memory partition table during software upgrading, also can upgrade, its implementation is simple, by software, realize, cost is lower.
Method for upgrading software based on above-mentioned mobile terminal, the present invention also provides a kind of software update system of mobile terminal, refers to Fig. 7, the structured flowchart of the software update system preferred embodiment that Fig. 7 is mobile terminal provided by the invention, as shown in Figure 7, described system comprises:
Backup list generation module 10, for according to new version software and legacy version software, find out respectively the partition table of new version software and legacy version software, and the difference of contrast separation of old and new towns table, generate corresponding backup list; Specifically as described in step S100.
Difference AKU generation module 20, for scanning the All Files of new version software, generate the difference AKU that comprises described new version software partition table and backup list; Specifically as described in step S200.
Data backup and recovery module 40, be used for according to described backup list, to in mobile terminal, need the backup data store of backup in the SD card, and according to the new version software partition table of described difference AKU by mobile terminal memory subregion again, the sense partitions type, write subregion by the Backup Data correspondence on the SD card; Specifically as described in step S400.
Upgrading module 50, for the described difference AKU that decompresses, obtain corresponding difference file, according to the legacy version file in described difference file and mobile terminal, generates corresponding redaction file, and write mobile terminal and complete upgrading; Specifically as described in step S500.
Specifically, described backup list generation module 10, according to new version software and legacy version software, is found out respectively the partition table of new version software and legacy version software, and the difference of contrast separation of old and new towns table, generate corresponding backup list.The All Files of described difference AKU generation module 20 scanning new version softwares, generate the difference AKU that comprises described new version software partition table and backup list.Described capacity check module 30 is according to the backup list in described difference AKU, detect the Backup Data total amount that needs backup in mobile terminal, the remaining space of the SD card of described Backup Data total amount and mobile terminal is contrasted, when described Backup Data total amount is less than the remaining space of SD card of mobile terminal, described data backup and recovery module 40 are according to described backup list, to in mobile terminal, need the backup data store of backup in the SD card, and according to the new version software partition table of described difference AKU by mobile terminal memory subregion again, the sense partitions type, Backup Data correspondence on the SD card is write to subregion.Then the described upgrading module 50 described difference AKU that decompresses, obtain corresponding difference file, according to the legacy version file in described difference file and mobile terminal, generates corresponding redaction file, and write mobile terminal and complete upgrading.In practical application, be that described backup list generation module 10 and difference AKU generation module 20 are arranged on PC end, namely server end.Described capacity check module 30, data backup and recovery module 40 and upgrading module 50 are arranged on mobile terminal, for receiving the difference AKU of PC end, and carry out corresponding software upgrading.
Specifically, described backup list generation module 10 specifically comprises:
The partition table acquiring unit, for according to new version software and legacy version software, obtain respectively the partition table of new version software and legacy version software;
Partition table traversal unit, for traveling through the redaction partition table;
The subregion whether same name is arranged at new partition table, taking out one, and is searched in name contrast unit in old partition table;
Size and start address contrast unit, whether all consistent with start address for the size that checks separation of old and new towns;
Backup sheet is revised unit, for checking the type of subregion, increases a description entry in backup list, describes name and the type of this subregion.
Described capacity check module 30 specifically comprises:
Whether SD card detecting unit, have the SD card for checking mobile terminal;
Existing partition table for from the difference AKU, obtaining backup list, is read, the traversal backup list in the first backup list traversal unit from mobile terminal memory;
The Backup Data total amount calculating unit at backup list, taking out one, and finds corresponding subregion in existing partition table, checks divisional type, if the original data type subregion is added to the Backup Data total amount by partition size; If the file system type subregion is added to the Backup Data total amount by the total size of All Files in subregion;
The capacity comparison unit, for checking the SD card remaining space size of mobile terminal, and contrasted the remaining space of the SD card of described Backup Data total amount and mobile terminal.
Described data backup and recovery module 40 specifically comprise:
Existing partition table for from the difference AKU, obtaining backup list, is read, the traversal backup list in the second backup list traversal unit from mobile terminal memory;
The data backup unit at backup list, taking out one, and finds corresponding subregion in existing partition table, checks divisional type, if the original data type subregion, the data of reading whole subregion, be stored as a file on the SD card to these data; If the file system type subregion is used the TAR file layout that the file of subregion the inside is packaged into to a file, and this file is stored on the SD card;
The 3rd backup list traversal unit, for obtain new partition table from the difference AKU, by mobile terminal memory subregion again, travel through backup list according to new partition table;
Data recovery unit at backup list, taking out one, and finds corresponding subregion in new partition table, checks divisional type, if the original data type subregion, the respective file by backup on the SD card writes subregion; If the file system type subregion, the corresponding TAR file of decompress(ion) backup on the SD card, write subregion by each file in the TAR file.
Because described difference AKU generation module 20 is consistent with existing FOTA method with described upgrading module 50, be not described in detail herein.
In sum, the method for upgrading software of a kind of mobile terminal provided by the invention and system, described method, according to new version software and legacy version software, is found out respectively the partition table of new version software and legacy version software, the difference of contrast separation of old and new towns table, generate corresponding backup list; Scan again the All Files of new version software, generate the difference AKU that comprises described new version software partition table and backup list; According to the backup list in described difference AKU, detect the Backup Data total amount that needs backup in mobile terminal, the remaining space of the SD card of described Backup Data total amount and mobile terminal is contrasted, when described Backup Data total amount is less than the remaining space of SD card of mobile terminal, according to described backup list, to in mobile terminal, need the backup data store of backup in the SD card, and according to the new version software partition table of described difference AKU by mobile terminal memory subregion again, the sense partitions type, write subregion by the Backup Data correspondence on the SD card; Described difference AKU decompresses, obtain corresponding difference file, according to the legacy version file in described difference file and mobile terminal, generate corresponding redaction file, and write mobile terminal, thereby complete upgrading, make mobile terminal in the situation that need to change the memory partition table during software upgrading and also can upgrade, its implementation is simple, by software, realizes, cost is lower, for the user brings greatly, facilitates.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.
Claims (10)
1. the method for upgrading software of a mobile terminal, is characterized in that, comprises the following steps:
A, according to new version software and legacy version software, find out respectively the partition table of new version software and legacy version software, the difference of contrast separation of old and new towns table, generate corresponding backup list;
The All Files of B, scanning new version software, generate the difference AKU that comprises described new version software partition table and backup list;
C, according to the backup list in described difference AKU, detect the Backup Data total amount that needs backup in mobile terminal, the remaining space of the SD card of described Backup Data total amount and mobile terminal is contrasted, when described Backup Data total amount is less than the remaining space of SD card of mobile terminal, enter step D;
D, according to described backup list, to in mobile terminal, need the backup data store of backup in the SD card, and according to the new version software partition table of described difference AKU by mobile terminal memory subregion again, the sense partitions type, write subregion by the Backup Data correspondence on the SD card;
E, the described difference AKU that decompresses, obtain corresponding difference file, according to the legacy version file in described difference file and mobile terminal, generates corresponding redaction file, and write mobile terminal and complete upgrading.
2. the method for upgrading software of mobile terminal according to claim 1, is characterized in that, described steps A specifically comprises:
A1, according to new version software and legacy version software, obtain respectively the partition table of new version software and legacy version software;
A2, traversal redaction partition table, if do not complete traversal, enter steps A 3; If complete traversal, finish;
A3, in new partition table, take out one, and search the subregion whether same name is arranged in old partition table, if enter steps A 4; If not, skip to steps A 2;
Whether the size of A4, inspection separation of old and new towns is all consistent with start address, if, skip to steps A 2, if not, enter steps A 5;
The type of A5, inspection subregion increases a description entry in backup list, describes name and the type of this subregion, returns to steps A 2.
3. the method for upgrading software of mobile terminal according to claim 1, is characterized in that, described step B specifically comprises:
The All Files of B1, scanning redaction and legacy version software package, obtain respectively corresponding listed files;
B2, traversal redaction partition table, if do not complete traversal, enter step B3; If complete traversal, the redaction partition table is added to the difference AKU, and finish;
B3, take out one in the redaction listed files, and search the file that whether has filename identical in the legacy version listed files, if nothing is used word for word mode that the redaction file is added to the difference AKU, and skipped to step B2; If have, continue step B4;
B4, in difference bag compare tool, using the file of new and old edition as input, generate difference file, and increase corresponding description entry in difference file, return to step B2.
4. the method for upgrading software of mobile terminal according to claim 1, is characterized in that, described step C specifically comprises:
Whether C1, inspection mobile terminal have the SD card, if, enter step C2, if not, reporting errors, finish;
C2, from the difference AKU, obtain backup list, read existing partition table from mobile terminal memory, the traversal backup list, if do not complete traversal, enter step C3; If complete traversal, enter step C4;
C3, take out one in backup list, and find corresponding subregion in existing partition table, check divisional type, if the original data type subregion is added to the Backup Data total amount by partition size; If the file system type subregion is added to the Backup Data total amount by the total size of All Files in subregion; Return to step C2 until complete traversal;
The SD card remaining space size of C4, inspection mobile terminal, if larger than Backup Data total amount, enter step D; Otherwise reporting errors, and finish.
5. the method for upgrading software of mobile terminal according to claim 1, is characterized in that, described step D specifically comprises:
D1, from the difference AKU, obtain backup list, read existing partition table from mobile terminal memory, the traversal backup list, if do not complete traversal, enter step D2; If complete traversal, enter step D3;
D2, take out one in backup list, and find corresponding subregion in existing partition table, check divisional type, if the original data type subregion, the data of reading whole subregion, be stored as a file on the SD card to these data; If the file system type subregion is used the TAR file layout that the file of subregion the inside is packaged into to a file, and this file is stored on the SD card; Return to step D1 until complete traversal;
D3, obtain new partition table from the difference AKU, according to new partition table, by mobile terminal memory subregion again, the traversal backup list, if do not complete traversal, enter step D4; If complete traversal, finish;
D4, take out one in backup list, and find corresponding subregion in new partition table, check divisional type, if the original data type subregion, the respective file by backup on the SD card writes subregion; If the file system type subregion, the corresponding TAR file of decompress(ion) backup on the SD card, write subregion by each file in the TAR file, returns to step D3 until complete traversal.
6. the method for upgrading software of mobile terminal according to claim 1, is characterized in that, described step e specifically comprises:
E1, decompression difference AKU, obtain corresponding difference file and difference file list, and the list of traversal difference file, if do not complete traversal, enter step e 2; If complete traversal, finish;
E2, take out one in the difference file list, according to the legacy version file in described difference file and mobile terminal, generate corresponding redaction file, and write mobile terminal, return to step e 1 until complete traversal.
7. the software update system of a mobile terminal, is characterized in that, comprising:
The backup list generation module, for according to new version software and legacy version software, find out respectively the partition table of new version software and legacy version software, and the difference of contrast separation of old and new towns table, generate corresponding backup list;
Difference AKU generation module, for scanning the All Files of new version software, generate the difference AKU that comprises described new version software partition table and backup list;
The capacity check module, for the backup list according in described difference AKU, detect the Backup Data total amount that needs backup in mobile terminal, and the remaining space of the SD card of described Backup Data total amount and mobile terminal is contrasted;
Data backup and recovery module, be used for according to described backup list, to in mobile terminal, need the backup data store of backup in the SD card, and according to the new version software partition table of described difference AKU by mobile terminal memory subregion again, the sense partitions type, write subregion by the Backup Data correspondence on the SD card;
The upgrading module, for the described difference AKU that decompresses, obtain corresponding difference file, according to the legacy version file in described difference file and mobile terminal, generates corresponding redaction file, and write mobile terminal and complete upgrading.
8. the software update system of mobile terminal according to claim 7, is characterized in that, described backup list generation module specifically comprises:
The partition table acquiring unit, for according to new version software and legacy version software, obtain respectively the partition table of new version software and legacy version software;
Partition table traversal unit, for traveling through the redaction partition table;
The subregion whether same name is arranged at new partition table, taking out one, and is searched in name contrast unit in old partition table;
Size and start address contrast unit, whether all consistent with start address for the size that checks separation of old and new towns;
Backup sheet is revised unit, for checking the type of subregion, increases a description entry in backup list, describes name and the type of this subregion.
9. the software update system of mobile terminal according to claim 7, is characterized in that, described capacity check module specifically comprises:
Whether SD card detecting unit, have the SD card for checking mobile terminal;
Existing partition table for from the difference AKU, obtaining backup list, is read, the traversal backup list in the first backup list traversal unit from mobile terminal memory;
The Backup Data total amount calculating unit at backup list, taking out one, and finds corresponding subregion in existing partition table, checks divisional type, if the original data type subregion is added to the Backup Data total amount by partition size; If the file system type subregion is added to the Backup Data total amount by the total size of All Files in subregion;
The capacity comparison unit, for checking the SD card remaining space size of mobile terminal, and contrasted the remaining space of the SD card of described Backup Data total amount and mobile terminal.
10. the software update system of mobile terminal according to claim 7, is characterized in that, described data backup and recovery module specifically comprise:
Existing partition table for from the difference AKU, obtaining backup list, is read, the traversal backup list in the second backup list traversal unit from mobile terminal memory;
The data backup unit at backup list, taking out one, and finds corresponding subregion in existing partition table, checks divisional type, if the original data type subregion, the data of reading whole subregion, be stored as a file on the SD card to these data; If the file system type subregion is used the TAR file layout that the file of subregion the inside is packaged into to a file, and this file is stored on the SD card;
The 3rd backup list traversal unit, for obtain new partition table from the difference AKU, by mobile terminal memory subregion again, travel through backup list according to new partition table;
Data recovery unit at backup list, taking out one, and finds corresponding subregion in new partition table, checks divisional type, if the original data type subregion, the respective file by backup on the SD card writes subregion; If the file system type subregion, the corresponding TAR file of decompress(ion) backup on the SD card, write subregion by each file in the TAR file.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310417037.XA CN103473099B (en) | 2013-09-13 | 2013-09-13 | Software upgrading method and system for mobile terminal |
PCT/CN2014/075652 WO2015035777A1 (en) | 2013-09-13 | 2014-04-18 | Software upgrade method and system for mobile terminal |
EP14844633.9A EP3046026A4 (en) | 2013-09-13 | 2014-04-18 | Software upgrade method and system for mobile terminal |
US14/439,185 US9710256B2 (en) | 2013-09-13 | 2014-04-18 | Software upgrade method and system for mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310417037.XA CN103473099B (en) | 2013-09-13 | 2013-09-13 | Software upgrading method and system for mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103473099A true CN103473099A (en) | 2013-12-25 |
CN103473099B CN103473099B (en) | 2017-02-01 |
Family
ID=49797968
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310417037.XA Active CN103473099B (en) | 2013-09-13 | 2013-09-13 | Software upgrading method and system for mobile terminal |
Country Status (4)
Country | Link |
---|---|
US (1) | US9710256B2 (en) |
EP (1) | EP3046026A4 (en) |
CN (1) | CN103473099B (en) |
WO (1) | WO2015035777A1 (en) |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677940A (en) * | 2013-12-27 | 2014-03-26 | 上海斐讯数据通信技术有限公司 | Method and system for updating operating system of T cards in trans-partition mode |
CN104216736A (en) * | 2014-08-14 | 2014-12-17 | 小米科技有限责任公司 | Method and device for incremental upgrading and terminal device |
WO2015035777A1 (en) * | 2013-09-13 | 2015-03-19 | 惠州Tcl移动通信有限公司 | Software upgrade method and system for mobile terminal |
WO2015127730A1 (en) * | 2014-02-27 | 2015-09-03 | 中兴通讯股份有限公司 | Method and apparatus for running version file |
CN104991796A (en) * | 2015-06-19 | 2015-10-21 | 青岛海信移动通信技术股份有限公司 | Method and apparatus for continuous upgrade |
CN105183525A (en) * | 2015-10-09 | 2015-12-23 | 深圳市网心科技有限公司 | Upgrading method of system software and electronic equipment for implementing upgrading method |
CN105357031A (en) * | 2015-09-30 | 2016-02-24 | 青岛海信移动通信技术股份有限公司 | OTA (over the air) upgrade method and device |
CN105589706A (en) * | 2014-10-29 | 2016-05-18 | Tcl集团股份有限公司 | Upgrade package generation method and device |
CN105740009A (en) * | 2016-01-26 | 2016-07-06 | 青岛海信移动通信技术股份有限公司 | Version upgrading method and terminal equipment |
CN105955851A (en) * | 2016-05-25 | 2016-09-21 | 广东欧珀移动通信有限公司 | System file burning method and device applied to mobile terminal |
WO2016183951A1 (en) * | 2015-05-15 | 2016-11-24 | 中兴通讯股份有限公司 | System upgrade method and terminal |
CN106462430A (en) * | 2016-08-29 | 2017-02-22 | 北京小米移动软件有限公司 | Method and device for obtaining application upgrade packages |
WO2017067448A1 (en) * | 2015-10-22 | 2017-04-27 | 深圳市中兴微电子技术有限公司 | Firmware-over-the-air upgrade method, system and computer storage medium |
CN107436783A (en) * | 2017-07-14 | 2017-12-05 | 惠州Tcl移动通信有限公司 | A kind of difference upgrade method, storage medium and mobile terminal for mobile terminal |
CN107728562A (en) * | 2016-08-12 | 2018-02-23 | 欧姆龙株式会社 | Programable display, renewal processing device and its method and recording medium |
CN109032649A (en) * | 2018-07-23 | 2018-12-18 | 青岛海信移动通信技术股份有限公司 | OTA upgrade method, device, equipment and storage medium |
CN109298873A (en) * | 2017-07-18 | 2019-02-01 | 中兴通讯股份有限公司 | A kind of method for upgrading system and device |
CN109491683A (en) * | 2018-10-25 | 2019-03-19 | 陕西航空电气有限责任公司 | One kind being used for aviation power system engine controller software on-line loaded method |
CN111506269A (en) * | 2020-04-22 | 2020-08-07 | 腾讯科技(深圳)有限公司 | Disk storage space allocation method, device, equipment and storage medium |
US20210124573A1 (en) * | 2018-10-25 | 2021-04-29 | Huawei Technologies Co., Ltd. | Firmware upgrade method and apparatus, and terminal |
CN113094077A (en) * | 2019-12-23 | 2021-07-09 | 深圳Tcl数字技术有限公司 | System differential upgrading method and device, intelligent terminal and storage medium |
CN113900699A (en) * | 2021-05-26 | 2022-01-07 | 荣耀终端有限公司 | System upgrading method and electronic equipment |
CN114661322A (en) * | 2022-03-11 | 2022-06-24 | 荣耀终端有限公司 | Upgrading method of operating system, electronic equipment and storage medium |
CN114860293A (en) * | 2021-02-04 | 2022-08-05 | 华为技术有限公司 | Electronic device, system upgrade method and medium thereof |
CN117270902A (en) * | 2023-08-09 | 2023-12-22 | 大拓(山东)物联网科技有限公司 | OTA upgrade package generation method and device, OTA upgrade method and device |
Families Citing this family (37)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105893084B (en) * | 2016-03-29 | 2019-04-30 | 青岛海信移动通信技术股份有限公司 | Version upgrading method and terminal device |
CN106445737B (en) * | 2016-09-12 | 2023-03-10 | 恒为科技(上海)股份有限公司 | Multi-backup starting method |
JP6852148B2 (en) * | 2016-09-14 | 2021-03-31 | ユー−ブロックス、アクチエンゲゼルシャフトu−blox AG | How to update software update system, firmware over the air update system, and client devices |
CN108574588B (en) * | 2017-03-10 | 2023-09-15 | 中兴通讯股份有限公司 | Client, server and differentiated upgrading method |
CN107484003B (en) * | 2017-07-01 | 2019-11-15 | 武汉斗鱼网络科技有限公司 | Television listing data Local hydrodynamic unit method, storage medium, electronic equipment and system |
CN107301078B (en) * | 2017-07-25 | 2023-08-01 | 欣旺达电动汽车电池有限公司 | Method and device for automatically updating parameters of energy storage system |
CN109308163A (en) * | 2017-07-26 | 2019-02-05 | 英业达科技有限公司 | Non-volatility memory magnetic region planing method |
CN109189435A (en) * | 2018-09-21 | 2019-01-11 | 英业达科技有限公司 | The firmware update of Complex Programmable Logic Devices |
CN109710286B (en) * | 2018-11-30 | 2022-11-15 | 歌尔光学科技有限公司 | System upgrading method, device, equipment and storage medium |
CN111367557B (en) * | 2018-12-25 | 2023-09-19 | 深圳Tcl新技术有限公司 | Verification method, device and storage medium based on block mode increment upgrade package |
KR102088164B1 (en) * | 2019-08-27 | 2020-03-12 | 루나 주식회사 | Method and apparatus for generating difference between old and new version of data for updating software |
KR102088167B1 (en) * | 2019-08-27 | 2020-03-12 | 루나 주식회사 | Apparatus for updating software as an agent and patch method thereof |
CN112463199A (en) * | 2019-09-09 | 2021-03-09 | 青岛海信移动通信技术股份有限公司 | System upgrading method and terminal |
CN110750465B (en) * | 2019-09-30 | 2023-11-03 | 华为终端有限公司 | System upgrading method, data processing method, device and equipment |
US11256816B2 (en) * | 2019-10-04 | 2022-02-22 | Zettaset, Inc. | Dynamic provisioning of encrypted container storage |
US11340797B2 (en) * | 2019-10-04 | 2022-05-24 | Zettaset, Inc. | Dedicated encrypted container storage |
US11079944B2 (en) * | 2019-10-04 | 2021-08-03 | Zettaset, Inc. | Dynamic provisioning of container storage |
CN111176665B (en) * | 2019-12-26 | 2024-02-09 | 晶晨半导体(深圳)有限公司 | High-capacity emmc mirror image manufacturing method and device |
CN111158719B (en) * | 2019-12-26 | 2023-06-16 | 湖南快乐阳光互动娱乐传媒有限公司 | Application software upgrading method and device |
CN111209141B (en) * | 2019-12-30 | 2023-10-20 | 晶晨半导体(深圳)有限公司 | Dual-system switching method and device applied to system iteration |
CN113495806A (en) * | 2020-03-20 | 2021-10-12 | 宇龙计算机通信科技(深圳)有限公司 | Method, device, storage medium and terminal for recovering user data |
CN111679848A (en) * | 2020-04-16 | 2020-09-18 | 福建星网物联信息系统有限公司 | Software updating method and terminal |
CN113741221A (en) * | 2020-05-27 | 2021-12-03 | 广州汽车集团股份有限公司 | Method for parameterizing complete vehicle function configuration and computer readable storage medium |
CN112579350B (en) * | 2020-11-10 | 2024-07-19 | 银捷尼科(福建)科技有限公司 | Method and system for supporting backup and restoration of NV parameters |
CN112328287B (en) * | 2020-11-24 | 2024-05-03 | 杭州海康威视数字技术股份有限公司 | Method, device, equipment and storage medium for updating embedded equipment system |
CN112559012B (en) * | 2020-12-23 | 2024-05-10 | 平安银行股份有限公司 | System upgrading and testing method and device, computer equipment and readable storage medium |
CN112799698A (en) * | 2021-01-14 | 2021-05-14 | 陕西建工安装集团(河南)有限公司 | SD card based automatic upgrading method under U-boot |
CN112988204B (en) * | 2021-05-19 | 2021-08-31 | 西安羚控电子科技有限公司 | Method for remotely upgrading and rolling back software of unmanned aerial vehicle |
CN113419771B (en) * | 2021-05-31 | 2023-01-24 | 济南浪潮数据技术有限公司 | Method and system for making upgrade package of application software and method and system for upgrading |
CN113495746B (en) * | 2021-05-31 | 2024-02-02 | 杭州华橙软件技术有限公司 | Program upgrading method, device, medium and electronic equipment |
KR20230113066A (en) * | 2022-01-21 | 2023-07-28 | 엘지전자 주식회사 | Upgradable electronic device, and a method that upgrades electronic devices |
JP2023124089A (en) * | 2022-02-25 | 2023-09-06 | キヤノン株式会社 | Information processor |
CN114675866B (en) * | 2022-03-11 | 2023-05-12 | 无锡蓝天电子股份有限公司 | Remote upgrading method |
CN114780120B (en) * | 2022-04-02 | 2023-06-09 | 荣耀终端有限公司 | Upgrade method, device and storage medium |
CN115037825B (en) * | 2022-06-21 | 2024-09-10 | 众格智能科技(上海)有限公司 | Method and test system for producing and writing numbers by intelligent terminal |
CN117707565A (en) * | 2023-07-12 | 2024-03-15 | 荣耀终端有限公司 | Terminal equipment and upgrading method thereof |
CN117806684B (en) * | 2024-01-11 | 2024-05-31 | 深圳创元智能软件科技有限公司 | Android version updating method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009015568A1 (en) * | 2007-07-30 | 2009-02-05 | Huawei Technologies Co., Ltd. | A software upgrade system, main-board, backup-board, and software upgrade method |
CN101695162A (en) * | 2009-10-22 | 2010-04-14 | 中兴通讯股份有限公司 | Method and device for upgrading aerial firmware on mobile terminal |
CN101923473A (en) * | 2009-06-11 | 2010-12-22 | 英华达(南京)科技有限公司 | Embedded electronic device and method for updating firmware thereof |
CN102693135A (en) * | 2011-03-21 | 2012-09-26 | 国基电子(上海)有限公司 | Computer having function of transmitting system upgrade files, and method of transmitting system upgrade files |
CN103176824A (en) * | 2013-03-15 | 2013-06-26 | 青岛海信移动通信技术股份有限公司 | System upgrade method and system upgrade device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7698698B2 (en) * | 2004-09-30 | 2010-04-13 | Smith Micro Software, Inc. | Method for over-the-air firmware update of NAND flash memory based mobile devices |
US8225134B2 (en) | 2007-04-06 | 2012-07-17 | Cisco Technology, Inc. | Logical partitioning of a physical device |
JP2013517565A (en) * | 2010-01-12 | 2013-05-16 | グーグル インコーポレイテッド | Operating system automatic update procedure |
CN102207878A (en) * | 2011-05-24 | 2011-10-05 | 康佳集团股份有限公司 | Method for upgrading internetwork television difference |
US8612967B1 (en) * | 2011-05-31 | 2013-12-17 | Sprint Communications Company L.P. | Loading branded media outside system partition |
CN102880495A (en) * | 2012-10-15 | 2013-01-16 | 华为终端有限公司 | Mobile terminal and software upgrading method for same |
CN103473099B (en) | 2013-09-13 | 2017-02-01 | 惠州Tcl移动通信有限公司 | Software upgrading method and system for mobile terminal |
-
2013
- 2013-09-13 CN CN201310417037.XA patent/CN103473099B/en active Active
-
2014
- 2014-04-18 US US14/439,185 patent/US9710256B2/en active Active
- 2014-04-18 EP EP14844633.9A patent/EP3046026A4/en not_active Ceased
- 2014-04-18 WO PCT/CN2014/075652 patent/WO2015035777A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009015568A1 (en) * | 2007-07-30 | 2009-02-05 | Huawei Technologies Co., Ltd. | A software upgrade system, main-board, backup-board, and software upgrade method |
CN101923473A (en) * | 2009-06-11 | 2010-12-22 | 英华达(南京)科技有限公司 | Embedded electronic device and method for updating firmware thereof |
CN101695162A (en) * | 2009-10-22 | 2010-04-14 | 中兴通讯股份有限公司 | Method and device for upgrading aerial firmware on mobile terminal |
CN102693135A (en) * | 2011-03-21 | 2012-09-26 | 国基电子(上海)有限公司 | Computer having function of transmitting system upgrade files, and method of transmitting system upgrade files |
CN103176824A (en) * | 2013-03-15 | 2013-06-26 | 青岛海信移动通信技术股份有限公司 | System upgrade method and system upgrade device |
Cited By (36)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015035777A1 (en) * | 2013-09-13 | 2015-03-19 | 惠州Tcl移动通信有限公司 | Software upgrade method and system for mobile terminal |
US9710256B2 (en) | 2013-09-13 | 2017-07-18 | Huizhou Tcl Mobile Communication Co., Ltd. | Software upgrade method and system for mobile terminal |
CN103677940B (en) * | 2013-12-27 | 2018-02-13 | 上海斐讯数据通信技术有限公司 | Method and system of the T cards across subregion upgrading operation system |
CN103677940A (en) * | 2013-12-27 | 2014-03-26 | 上海斐讯数据通信技术有限公司 | Method and system for updating operating system of T cards in trans-partition mode |
WO2015127730A1 (en) * | 2014-02-27 | 2015-09-03 | 中兴通讯股份有限公司 | Method and apparatus for running version file |
CN104216736A (en) * | 2014-08-14 | 2014-12-17 | 小米科技有限责任公司 | Method and device for incremental upgrading and terminal device |
CN105589706B (en) * | 2014-10-29 | 2019-04-16 | Tcl集团股份有限公司 | A kind of upgrade package generation method and device |
CN105589706A (en) * | 2014-10-29 | 2016-05-18 | Tcl集团股份有限公司 | Upgrade package generation method and device |
WO2016183951A1 (en) * | 2015-05-15 | 2016-11-24 | 中兴通讯股份有限公司 | System upgrade method and terminal |
CN104991796A (en) * | 2015-06-19 | 2015-10-21 | 青岛海信移动通信技术股份有限公司 | Method and apparatus for continuous upgrade |
CN104991796B (en) * | 2015-06-19 | 2018-05-25 | 青岛海信移动通信技术股份有限公司 | A kind of method and device continuously upgraded |
CN105357031A (en) * | 2015-09-30 | 2016-02-24 | 青岛海信移动通信技术股份有限公司 | OTA (over the air) upgrade method and device |
CN105183525A (en) * | 2015-10-09 | 2015-12-23 | 深圳市网心科技有限公司 | Upgrading method of system software and electronic equipment for implementing upgrading method |
WO2017067448A1 (en) * | 2015-10-22 | 2017-04-27 | 深圳市中兴微电子技术有限公司 | Firmware-over-the-air upgrade method, system and computer storage medium |
CN105740009A (en) * | 2016-01-26 | 2016-07-06 | 青岛海信移动通信技术股份有限公司 | Version upgrading method and terminal equipment |
CN105955851B (en) * | 2016-05-25 | 2018-11-27 | 广东欧珀移动通信有限公司 | System file method for burn-recording and device applied to mobile terminal |
CN105955851A (en) * | 2016-05-25 | 2016-09-21 | 广东欧珀移动通信有限公司 | System file burning method and device applied to mobile terminal |
CN107728562A (en) * | 2016-08-12 | 2018-02-23 | 欧姆龙株式会社 | Programable display, renewal processing device and its method and recording medium |
CN106462430A (en) * | 2016-08-29 | 2017-02-22 | 北京小米移动软件有限公司 | Method and device for obtaining application upgrade packages |
CN107436783B (en) * | 2017-07-14 | 2021-04-20 | 惠州Tcl移动通信有限公司 | Differential upgrading method for mobile terminal, storage medium and mobile terminal |
CN107436783A (en) * | 2017-07-14 | 2017-12-05 | 惠州Tcl移动通信有限公司 | A kind of difference upgrade method, storage medium and mobile terminal for mobile terminal |
CN109298873A (en) * | 2017-07-18 | 2019-02-01 | 中兴通讯股份有限公司 | A kind of method for upgrading system and device |
CN109298873B (en) * | 2017-07-18 | 2023-05-09 | 中兴通讯股份有限公司 | System upgrading method and device |
CN109032649A (en) * | 2018-07-23 | 2018-12-18 | 青岛海信移动通信技术股份有限公司 | OTA upgrade method, device, equipment and storage medium |
US11531535B2 (en) * | 2018-10-25 | 2022-12-20 | Huawei Technologies Co., Ltd. | Firmware upgrade method and apparatus, and terminal |
US20210124573A1 (en) * | 2018-10-25 | 2021-04-29 | Huawei Technologies Co., Ltd. | Firmware upgrade method and apparatus, and terminal |
CN109491683A (en) * | 2018-10-25 | 2019-03-19 | 陕西航空电气有限责任公司 | One kind being used for aviation power system engine controller software on-line loaded method |
CN113094077A (en) * | 2019-12-23 | 2021-07-09 | 深圳Tcl数字技术有限公司 | System differential upgrading method and device, intelligent terminal and storage medium |
CN111506269B (en) * | 2020-04-22 | 2021-09-07 | 腾讯科技(深圳)有限公司 | Disk storage space allocation method, device, equipment and storage medium |
CN111506269A (en) * | 2020-04-22 | 2020-08-07 | 腾讯科技(深圳)有限公司 | Disk storage space allocation method, device, equipment and storage medium |
CN114860293A (en) * | 2021-02-04 | 2022-08-05 | 华为技术有限公司 | Electronic device, system upgrade method and medium thereof |
CN113900699A (en) * | 2021-05-26 | 2022-01-07 | 荣耀终端有限公司 | System upgrading method and electronic equipment |
CN114661322A (en) * | 2022-03-11 | 2022-06-24 | 荣耀终端有限公司 | Upgrading method of operating system, electronic equipment and storage medium |
CN114661322B (en) * | 2022-03-11 | 2023-05-23 | 荣耀终端有限公司 | Upgrade method of operating system, electronic equipment and storage medium |
CN117270902A (en) * | 2023-08-09 | 2023-12-22 | 大拓(山东)物联网科技有限公司 | OTA upgrade package generation method and device, OTA upgrade method and device |
CN117270902B (en) * | 2023-08-09 | 2024-05-10 | 大拓(山东)物联网科技有限公司 | OTA upgrade package generation method and device, OTA upgrade method and device |
Also Published As
Publication number | Publication date |
---|---|
EP3046026A4 (en) | 2017-05-17 |
CN103473099B (en) | 2017-02-01 |
EP3046026A1 (en) | 2016-07-20 |
US9710256B2 (en) | 2017-07-18 |
WO2015035777A1 (en) | 2015-03-19 |
US20150277897A1 (en) | 2015-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103473099A (en) | Software upgrading method and system for mobile terminal | |
US8972967B2 (en) | Application packages using block maps | |
CN105511911B (en) | The generation method and device of system firmware upgrade package | |
CN108090168B (en) | Universal F2FS file system parsing method, terminal device and storage medium | |
US8756458B2 (en) | Mount-time reconciliation of data availability | |
CN107247603A (en) | Support the remote upgrade method and system of firmware auto restore facility | |
CN108536745B (en) | Shell-based data table extraction method, terminal, equipment and storage medium | |
CN102378969A (en) | Deduplication of data stored in a copy volume | |
CN106648569B (en) | Target serialization realization method and device | |
CN104572920A (en) | Data arrangement method and data arrangement device | |
US20160203203A1 (en) | Metadata peering with improved inodes | |
CN110162429A (en) | System repair, server and storage medium | |
CN104951482A (en) | Method and device for operating Sparse-format mirror image document | |
CN107992354A (en) | For reducing the method and device of memory load | |
CN110633261A (en) | Picture storage method, picture query method and device | |
CN107784055A (en) | Transaction methods and device based on non-relational database | |
US8572048B2 (en) | Supporting internal consistency checking with consistency coded journal file entries | |
CN104951244A (en) | Data access method and data access equipment | |
CN108958814A (en) | A kind of starting of embedded operation system method of multi-mode redundant | |
CN103677940A (en) | Method and system for updating operating system of T cards in trans-partition mode | |
CN101382961A (en) | Method for making update file and updating data | |
CN105659214A (en) | Checkpointing a collection of data units | |
Sun et al. | Breaking apart the {VFS} for managing file systems | |
CN117539837B (en) | Model file storage method and device, electronic equipment and readable storage medium | |
CN105095015B (en) | The method for building up and device of a kind of disk snapshot |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |